problems with pkg: Operation timed out

Antonio Olivares olivares14031 at gmail.com
Wed Oct 11 13:07:41 UTC 2017


On Wed, Oct 11, 2017 at 5:16 AM, Erwan Legrand <freebsd at erwanlegrand.com> 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 at 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
> <olivares14031 at gmail.com> wrote:
>> On Monday, October 9, 2017, Antonio Olivares <olivares14031 at gmail.com>
>> wrote:
>>
>>> On Mon, Oct 9, 2017 at 12:03 PM, Manish Jain
>>> <bourne.identity at 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 at 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 at 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 at 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 at freebsd.org mailing list
>> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"


More information about the freebsd-questions mailing list