problems with pkg: Operation timed out

Antonio Olivares olivares14031 at gmail.com
Mon Oct 9 17:47:18 UTC 2017


On Mon, Oct 9, 2017 at 12:03 PM, Manish Jain
<bourne.identity at hotmail.com> 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


More information about the freebsd-questions mailing list