From owner-freebsd-questions@freebsd.org Mon Oct 9 17:47:18 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5A715E3786D for ; Mon, 9 Oct 2017 17:47:18 +0000 (UTC) (envelope-from olivares14031@gmail.com) Received: from mail-ua0-x229.google.com (mail-ua0-x229.google.com [IPv6:2607:f8b0:400c:c08::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 11807742A8 for ; Mon, 9 Oct 2017 17:47:18 +0000 (UTC) (envelope-from olivares14031@gmail.com) Received: by mail-ua0-x229.google.com with SMTP id 47so14855754uas.8 for ; Mon, 09 Oct 2017 10:47:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=fGBaOOv04bxWYF4feM+E76yKbGcgQ5o7KRtGHRuqIZg=; b=WdKpDCBkXS2RSq+EB2qWvxsYcSdFasCyP8somBZ9ulvktO4E1SBQJxfib7JMnSlPdM TULP/XhM22JxUIk+OpDODSxk4A5ggMIWItV9+V7YEpKzSS5oYbCfjzzg8euO6cI8727g sDN2vts7xYnkZZhW120ZC0itV+X1LbkSWfUXJAsONgEgcVBqcL4kUMOvg402FEITlXsw z2WAdxnmlXLfHAkACcBCMxJxZy+5m4/ztMSWZEm1BrkOzBlhIfq/+vQfUDpiC0+TB6DP hA6XVbRFrkBOm5tAgkK6CYh3Ni5Mz5FQM+C/luj+ksnzYDGKHlOKs2GLkc8/nZYoa3g8 BPhQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=fGBaOOv04bxWYF4feM+E76yKbGcgQ5o7KRtGHRuqIZg=; b=S57Y3CN1DffXpkUAyefIbO/qBNenBSJGMqe7Wc9o5VWaLbKWkmn4bqA0Z5zPKf/STj fKAiKTJEYsnlEMNiWlGZKSAMvCrya8D6VOwaupy8VETHKYTSUHpW0vJdRWkCt603wp24 ovhfwSfS7F4dJbxOowkyuZ7/C88kx+taSuhPbfkAMyeXkYOdj7cJTILIEt9VRe+qezRe VmjoFfOUAm+raZObJR5V0Je/S8jFuN+85/v08uWGB6J5up0LhEM7CI959AF7JUPXYVZZ Fylqairwlneqgs38YpSybyFhs6q8k/MBmZkcxNVg7DbA5mOPk3HzGNLdKQxBNKFAdGGl ALiw== X-Gm-Message-State: AMCzsaWiRXaZQJTZTOemojBg6umca/6NXcjxhyoQTZ3hQrrqJXsvCsYw 5q8R3vMMcmQQzO/bWaB6idFNuR1MpPnHNdbqH/E= X-Google-Smtp-Source: AOwi7QBGk+SiAK8R5uivMfcdhXefFnOp9BgobDEboQpjMKgIBA3YA6oAg2Bohje+aFhmo8/1zosEXzAGS+baN3XEKIk= X-Received: by 10.176.75.152 with SMTP id v24mr3134663uaf.43.1507571236922; Mon, 09 Oct 2017 10:47:16 -0700 (PDT) MIME-Version: 1.0 Received: by 10.176.19.15 with HTTP; Mon, 9 Oct 2017 10:47:16 -0700 (PDT) In-Reply-To: References: From: Antonio Olivares Date: Mon, 9 Oct 2017 12:47:16 -0500 Message-ID: Subject: Re: problems with pkg: Operation timed out To: Manish Jain Cc: FreeBSD Questions Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Oct 2017 17:47:18 -0000 On Mon, Oct 9, 2017 at 12:03 PM, Manish Jain wrote: > > > On 10/09/17 22:26, Antonio Olivares wrote: >> Dear FreeBSD users, >> >> I want to update the packages in my pc and I keep getting operation >> timed out. Is there a way for pkg to update the packages and avoid >> this message? I have tried for 3 hrs and it stops at the same place, >> it fetches llvm-* and then it says operation timed out. I have run >> pkg clean, but the error persists. > > I am not certain whether this is the right approach, but when I faced > that error (with llvm), I did this : > > open up an additional terms (Alt + F2) > > In that terminal, run : ping pkg.freebsd.org > > Return to the F1 terminal and then run : > > pkg fetch llvm > > If that solves your problem, do let me know. > Manish Jain > It times out :( root@aceraspire:~ # ping pkg.freebsd.org PING pkgmir.geo.freebsd.org (96.47.72.71): 56 data bytes ^C --- pkgmir.geo.freebsd.org ping statistics --- 18 packets transmitted, 0 packets received, 100.0% packet loss root@aceraspire:~ # pkg fetch llvm40 Updating FreeBSD repository catalogue... FreeBSD repository is up to date. All repositories are up to date. The following packages will be fetched: New packages to be FETCHED: llvm40-4.0.1_1 (271 MiB: 100.00% of the 271 MiB to download) Number of packages to be fetched: 1 The process will require 271 MiB more space. 271 MiB to be downloaded. Proceed with fetching packages? [y/N]: y Fetching llvm40-4.0.1_1.txz: 100% 107 MiB 413.9kB/s 04:31 pkg: http://pkg.FreeBSD.org/FreeBSD:11:i386/quarterly/All/llvm40-4.0.1_1.txz: Operation timed out if I try to update regularly, I get : Installed packages to be REINSTALLED: wx28-gtk2-common-2.8.12_7 (direct dependency changed: gstreamer) wx28-gtk2-2.8.12_7 (direct dependency changed: gstreamer) qt5-multimedia-5.7.1_1 (direct dependency changed: gstreamer1-plugins) libdca-0.0.5_1 liba52-0.7.4_3 gstreamer-0.10.36_6 db5-5.3.28_6 Number of packages to be installed: 14 Number of packages to be upgraded: 75 Number of packages to be reinstalled: 7 The process will require 11 MiB more space. 713 MiB to be downloaded. Proceed with this action? [y/N]: y [1/96] Fetching llvm40-4.0.1_1.txz: 100% 82 MiB 477.0kB/s 03:00 pkg: http://pkg.FreeBSD.org/FreeBSD:11:i386/quarterly/All/llvm40-4.0.1_1.txz: Operation timed out root@aceraspire:~ # Best Regards, Antonio