From owner-freebsd-questions@freebsd.org Wed Oct 11 13:07:41 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 94B33E2BCED for ; Wed, 11 Oct 2017 13:07:41 +0000 (UTC) (envelope-from olivares14031@gmail.com) Received: from mail-ua0-x22d.google.com (mail-ua0-x22d.google.com [IPv6:2607:f8b0:400c:c08::22d]) (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 433FE67513 for ; Wed, 11 Oct 2017 13:07:41 +0000 (UTC) (envelope-from olivares14031@gmail.com) Received: by mail-ua0-x22d.google.com with SMTP id s41so1021222uab.10 for ; Wed, 11 Oct 2017 06:07:41 -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=+wX/g61PoMmHaaNWW9n86f16gsjErctJI0edJ/K4weA=; b=st8/tz/pXfSH/VZ7d9GTo8/js/ApxYo7gIbJIHmCYUMaWjG84geuCGZrRhGxpxExmH 9kBdnVbuO+8B8VUc+Zk+ahdJLiU2UHka/FtxyKYoSBsj8ffWgcdGxyuPYFINiuA/JZXb C/hg1L6310hB8KNRsfpo4BYylOM23ownbWI/E2FV4IQjrShyAm0PjPuPiNfR5uQ/lbKi siYACFziPSGDWxBPWd74mDFsaHYVIbo5TNO7c4qmPS5rzwtmuQS52QDEukeChFdQK/x6 WMRhj/MMkyIfQQQ8eSI83GggZDmPsZxaCkzMsowTSE8JeSTBa7DEqR9dTQZ6FPFhleF/ NVfw== 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=+wX/g61PoMmHaaNWW9n86f16gsjErctJI0edJ/K4weA=; b=lxx4xy4NZ5nKilCG+7tZaFQ65hTh+lBEKCDlTebO8HmGLrL6MhBBwYxAXhiORBVuwd bA8xZbmwR9r98PlCeUAuqY26zN81eVkq5uA+FjAmWqA/7j84AArQsrMZJsU9gxmnbEFs 8nLZIreVGmgwkEf5pRWbOEPDBekpryipcYDmjn9+Gxmzc236ALCZIPYtz3FRvvSNEZzl XEBAksVYb6vXce5gw3ilfDjrYfRsOApzZ6FV4cOI3Fi0yK3ADCu/FiGvHxR76uVArE0i EUgUGicgmdmTybCbPQfwbe56FgyozNfdoBBZBUSoWl/ClWyfKQNBCnhbuAB4quYmNZ6n 9+Dg== X-Gm-Message-State: AMCzsaUqGQkEWhBrzsAwG3btS+iJjVK0NvuR5Gtqtnzfwx13xS3dVThO 0enftLeuURhodrPAUPuMz15k98EAcknmMTMlzGw= X-Google-Smtp-Source: AOwi7QBa0JkDTOQ3Lv+Y0NmnvQsU6lwjVgpGSmTGAEIUgF4tZQYfcbIQl6yfwWFRRHGOn9vDZ/hW9mfOeDw77MPsyGA= X-Received: by 10.176.85.196 with SMTP id w4mr10249058uaa.75.1507727260099; Wed, 11 Oct 2017 06:07:40 -0700 (PDT) MIME-Version: 1.0 Received: by 10.176.1.243 with HTTP; Wed, 11 Oct 2017 06:07:39 -0700 (PDT) In-Reply-To: References: From: Antonio Olivares Date: Wed, 11 Oct 2017 08:07:39 -0500 Message-ID: Subject: Re: problems with pkg: Operation timed out To: Erwan Legrand Cc: Manish Jain , 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: Wed, 11 Oct 2017 13:07:41 -0000 On Wed, Oct 11, 2017 at 5:16 AM, Erwan Legrand wrote: > This appears to be a networking issue. Try running "traceroute > pkg.freebsd.org" in order to find out where the problem is located. > > That being said, I would read the comment in /etc/pkg/FreeBSD.conf and > then try one of these mirrors: > * pkg0.bme.freebsd.org > * pkg0.isc.freebsd.org > * pkg0.nyi.freebsd.org > * pkg0.twn.freebsd.org > * pkg0.ydx.freebsd.org > > This will probably allow you to work around the problem. > >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% 49 MiB 588.4kB/s 01:28 pkg: http://pkg.FreeBSD.org/FreeBSD:11:i386/quarterly/All/llvm40-4.0.1_1.txz: Operation timed out root@aceraspire:~ # traceroute pkg.freebsd.org traceroute to pkgmir.geo.freebsd.org (96.47.72.71), 64 hops max, 40 byte packets 1 10.155.142.1 (10.155.142.1) 0.914 ms 9.633 ms 0.952 ms 2 172.17.0.1 (172.17.0.1) 4.262 ms 2.012 ms 1.911 ms 3 * * * 4 * * * 5 * * * 6 * *^C Thanks, Antonio > On Wed, Oct 11, 2017 at 1:09 AM, Antonio Olivares > wrote: >> On Monday, October 9, 2017, Antonio Olivares >> wrote: >> >>> 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 >>> >> >> I try and try again and keep getting timed out error. Is there another way >> to fetch/ download the file? I was going to attempt to download it with >> wget? But I am unsure how to do it? Is there a way to skip this file? >> And get it later? I have successfully updated on amd64 bit machine, but >> this machine is different I had trouble before but was able to update, this >> time I have not succeeded. Thanks Manish for your suggestion, but it times >> out as well, if I could run a command to persist till the package downloads >> it would help. >> >> Best Regards, >> >> >> Antonio >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"