Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Oct 2017 12:16:55 +0200
From:      Erwan Legrand <freebsd@erwanlegrand.com>
To:        Antonio Olivares <olivares14031@gmail.com>
Cc:        Manish Jain <bourne.identity@hotmail.com>,  FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: problems with pkg: Operation timed out
Message-ID:  <CA%2B4G5KZ%2Be=FXRjRYrLb%2BT0cd4bGg4fHV3MCBTR%2B06uH6dR0RUA@mail.gmail.com>
In-Reply-To: <CAJ5UdcP%2BCU0=CMe953Mf%2BcW-N6wh24uMiz6cpu-MRsXftd6VkQ@mail.gmail.com>
References:  <CAJ5UdcPVYnF3GN5EyHZSbLjUiPq4icujvFSJSp7hwH0gLAykxQ@mail.gmail.com> <VI1PR02MB1200A355A0975AB589DD6784F6740@VI1PR02MB1200.eurprd02.prod.outlook.com> <CAJ5UdcMkRv_cd7n-fo9DL-H%2B_MVuzkFUH4eub1g_2AxYdsKVPg@mail.gmail.com> <CAJ5UdcP%2BCU0=CMe953Mf%2BcW-N6wh24uMiz6cpu-MRsXftd6VkQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.


On Wed, Oct 11, 2017 at 1:09 AM, Antonio Olivares
<olivares14031@gmail.com> wrote:
> On Monday, October 9, 2017, Antonio Olivares <olivares14031@gmail.com>
> wrote:
>
>> On Mon, Oct 9, 2017 at 12:03 PM, Manish Jain
>> <bourne.identity@hotmail.com <javascript:;>> 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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2B4G5KZ%2Be=FXRjRYrLb%2BT0cd4bGg4fHV3MCBTR%2B06uH6dR0RUA>