From owner-freebsd-questions@freebsd.org Tue Oct 10 23:09:32 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 6F04DE3FABB for ; Tue, 10 Oct 2017 23:09:32 +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 23DE270828 for ; Tue, 10 Oct 2017 23:09:32 +0000 (UTC) (envelope-from olivares14031@gmail.com) Received: by mail-ua0-x229.google.com with SMTP id h34so60768uaa.6 for ; Tue, 10 Oct 2017 16:09:32 -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=0C8e5314NGNoGM5YdDqUW8kCqYzITsmzI8OcJi9R5zQ=; b=GuMnG462KS9Hbgk/C8mzcrSzcxFkVGhk9ZXt4iAgbuE6ZCoAJyJMm1+GizsVu+TWTw HOlIGciJxgdqrcAe8nRe36yXsKw+LefxwB99886CRSVH4a9kSTuexxmgTo28rk7hhQOL 081v3ptA94HadkATn36cL9cdjsMv52mWjEq5AH/K1/8LKU+9LRDL/oSca2jZ5FrwsLVn whPnZgcz+n6yV/FBCYMD6LatuUuLQDzEKIT7EBsEXEg5mJv2QKvU3mx4G01gMv3JzcV9 dkq19G2Y9mreg5vwN0LZAYo9CqJk6kcwLeuL/OpxrJdCupUm5VraOldcmK9VlJkBfjNY 9UDg== 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=0C8e5314NGNoGM5YdDqUW8kCqYzITsmzI8OcJi9R5zQ=; b=IE7fMWo4ZvBcIJdI+WQfmE4xjK8Lyoah1WQN5yHdIZOIOeY/n6rW9USiuXYjjL7toc pOmDZHRu+66LZxwgFx+6SELo9DvVjrQDKaZX/7ycCzBITp7N6jVKkWPVRBGtcyo8fmia jA8BMyBEhLN4qYNVN2aFZcXt3pmLRvH+0b3ca1NeCSq9u6qlEgaDD4jPY55T7BBNfR8m xz8/cLRs6/iG1B8XfSBSUNgUep1PK7N32hQIMqD3E3WOAsoArjFAkGW3ybiLVteGO9Lk 6b8C91f980VNF+ITBXexk8Vve1aj06pn7vjyFlT27ptdxTp5Mg9naaPuAikDaw+o0E6h Hcfg== X-Gm-Message-State: AMCzsaWs9IL1mUcsZdj/NxJJpMwIXh5hSyFT5I5IrBXGEhDkZFriLw1m GmgRKuc56wvRJDOqLIZKElemnUXqCtTkDWDSFa4= X-Google-Smtp-Source: AOwi7QCsfd9d923mObPFq4G4YHHx5ftAmuOxzM0DQiH2Yy8yNLE5rpVYjnxK2FqmRCP2HLECMc3ZTYZQXC578owtxOo= X-Received: by 10.176.75.152 with SMTP id v24mr6603896uaf.43.1507676970910; Tue, 10 Oct 2017 16:09:30 -0700 (PDT) MIME-Version: 1.0 Received: by 10.176.1.243 with HTTP; Tue, 10 Oct 2017 16:09:30 -0700 (PDT) In-Reply-To: References: From: Antonio Olivares Date: Tue, 10 Oct 2017 18:09:30 -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-Content-Filtered-By: Mailman/MimeDel 2.1.23 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: Tue, 10 Oct 2017 23:09:32 -0000 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