fruitoftheloom
Posts: 21989
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: apt-get upgrade taking forever!

Sat Aug 30, 2014 9:29 pm

DougieLawson wrote:When I just did an upgrade on another system it came down the wire OK and my wire is only 4Mb/s wide.
+1 I get a max of 5meg Broadband and have no download issues :shock:
Retired disgracefully.....
......to an uncomplicated life !

Rather than negativity think outside the box !

plugwash
Forum Moderator
Forum Moderator
Posts: 3546
Joined: Wed Dec 28, 2011 11:45 pm

Re: apt-get upgrade taking forever!

Sat Aug 30, 2014 9:46 pm

Joe Schmoe wrote:That's not the point - and you know it.

Individuals fixing the problem locally solves nothing. It needs to be fixed at the source.
The problem is that we don't really know what the problem is. Some people seem to be experiancing very slow downloads from archive.raspberrypi.org while others seem to be fine. Initially I expected server overloading but I doubt that is the case now and others seem fine (all the times i've tried it seems fine)

Maybe poor connectivity between your ISP and whoever hosts archive.raspberrypi.org (unlike most rpf stuff I don't think it's mythic).

Mentioning names of ISPs when you report problems may help.

User avatar
DougieLawson
Posts: 37562
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website Twitter

Re: apt-get upgrade taking forever!

Sat Aug 30, 2014 9:51 pm

plugwash wrote:Maybe poor connectivity between your ISP and whoever hosts archive.raspberrypi.org (unlike most rpf stuff I don't think it's mythic).
It looks to be hosted by Mythic to me

Code: Select all

[email protected] ~ # traceroute archive.raspberrypi.org
traceroute to archive.raspberrypi.org (93.93.128.230), 30 hops max, 60 byte packets
 1  darkside.darkside-internet.bogus (10.1.1.1)  2.402 ms  2.046 ms  2.002 ms
 2  loop1.bbgw-01.nas.ldn0.ifb.net (194.105.167.201)  13.235 ms  12.869 ms  13.431 ms
 3  vlan301.sw-01.core.ldn0.ifb.net (194.105.167.150)  16.967 ms  16.934 ms  15.163 ms
 4  ge0-0-2.rtr-02.core.ldn0.ifb.net (194.105.167.125)  14.932 ms  14.058 ms  13.004 ms
 5  linx-gw-hex-brocade.mythic-beasts.com (195.66.236.72)  14.185 ms  13.716 ms  14.045 ms
 6  linx-gw-sov-extreme.mythic-beasts.com (195.66.224.72)  15.983 ms  14.032 ms  14.223 ms
 7  93.93.128.230 (93.93.128.230)  13.889 ms  24.907 ms  25.480 ms
[email protected] ~ #
Note: Having anything humorous in your signature is completely banned on this forum. Wear a tin-foil hat and you'll get a ban.

Any DMs sent on Twitter will be answered next month.

This is a doctor free zone.

Joe Schmoe
Posts: 4277
Joined: Sun Jan 15, 2012 1:11 pm

Re: apt-get upgrade taking forever!

Sat Aug 30, 2014 9:57 pm

DougieLawson wrote:When I just did an upgrade on another system it came down the wire OK and my wire is only 4Mb/s wide.
How nice for you.

Clearly, the problem is real - it affects some people, but not everybody.
Probably related to location and/or how many NSA listeners there are between you and the repositories.
And some folks need to stop being fanboys and see the forest behind the trees.

(One of the best lines I've seen on this board lately)

whowantspi
Posts: 39
Joined: Mon Feb 11, 2013 12:00 am
Location: USA Alabama

Re: apt-get upgrade taking forever!

Sat Aug 30, 2014 11:31 pm

Is a server down? I have a number of pi's and the first two did update and upgrade just fine. As I started running update on the rest I get...

Code: Select all

[email protected] ~ $ sudo apt-get update
Ign http://archive.raspberrypi.org wheezy Release.gpg
Ign http://mirrordirector.raspbian.org wheezy Release.gpg
Ign http://archive.raspberrypi.org wheezy Release
Ign http://mirrordirector.raspbian.org wheezy Release
Err http://archive.raspberrypi.org wheezy/main armhf Packages
  404  Not Found
Ign http://archive.raspberrypi.org wheezy/main Translation-en_US
Ign http://archive.raspberrypi.org wheezy/main Translation-en
Err http://mirrordirector.raspbian.org wheezy/main armhf Packages
  404  Not Found
Err http://mirrordirector.raspbian.org wheezy/contrib armhf Packages
  404  Not Found
Err http://mirrordirector.raspbian.org wheezy/non-free armhf Packages
  404  Not Found
Err http://mirrordirector.raspbian.org wheezy/rpi armhf Packages
  404  Not Found
Ign http://mirrordirector.raspbian.org wheezy/contrib Translation-en_US
Ign http://mirrordirector.raspbian.org wheezy/contrib Translation-en
Ign http://mirrordirector.raspbian.org wheezy/main Translation-en_US
Ign http://mirrordirector.raspbian.org wheezy/main Translation-en
Ign http://mirrordirector.raspbian.org wheezy/non-free Translation-en_US
Ign http://mirrordirector.raspbian.org wheezy/non-free Translation-en
Ign http://mirrordirector.raspbian.org wheezy/rpi Translation-en_US
Ign http://mirrordirector.raspbian.org wheezy/rpi Translation-en
W: Failed to fetch http://archive.raspberrypi.org/debian/dists/wheezy/main/binary-armhf/Packages  404  Not Found

W: Failed to fetch http://mirrordirector.raspbian.org/raspbian/dists/wheezy/main/binary-armhf/Packages  404  Not Found

W: Failed to fetch http://mirrordirector.raspbian.org/raspbian/dists/wheezy/contrib/binary-armhf/Packages  404  Not Found

W: Failed to fetch http://mirrordirector.raspbian.org/raspbian/dists/wheezy/non-free/binary-armhf/Packages  404  Not Found

W: Failed to fetch http://mirrordirector.raspbian.org/raspbian/dists/wheezy/rpi/binary-armhf/Packages  404  Not Found

E: Some index files failed to download. They have been ignored, or old ones used instead.
And it has been this way all day.

Thanks

knossos
Posts: 1
Joined: Thu Sep 04, 2014 12:48 pm

Re: apt-get upgrade taking forever!

Thu Sep 04, 2014 12:55 pm

+1 for removing W/M from the default image. It's been absurdly slow for me too. Yes, I removed it, but if this many people need to remove it, it really should not be in the image.

Joe Schmoe
Posts: 4277
Joined: Sun Jan 15, 2012 1:11 pm

Re: apt-get upgrade taking forever!

Thu Sep 04, 2014 3:27 pm

knossos wrote:+1 for removing W/M from the default image. It's been absurdly slow for me too. Yes, I removed it, but if this many people need to remove it, it really should not be in the image.
Agreed. It is one of those things that A) isn't really a problem in the long run/long view; you just have to get used to the "upgrade" process taking a day or two to run (let it run overnight a couple of nights in a row - get used to it) and B) is fixable on a per-user basis - by removing the bad packages.

But neither of these are good for PR and/or for making newusers feel comfortable. And that's why those packages really do need [*] to be removed from the default image unless/until the underlying problem can be fixed.

[*] There's that word again…
And some folks need to stop being fanboys and see the forest behind the trees.

(One of the best lines I've seen on this board lately)

RSvedman
Posts: 24
Joined: Sun Dec 29, 2013 12:24 pm

Re: apt-get upgrade taking forever!

Sat Sep 27, 2014 7:50 pm

+1 for me, I too have had off and on trouble with the downloads of Wolfram packages for a month now when upgrading. I am in Sweden on "AllTele" 10/10 Mbps fiber.

RSvedman
Posts: 24
Joined: Sun Dec 29, 2013 12:24 pm

Re: apt-get upgrade taking forever!

Sat Sep 27, 2014 7:53 pm

Actually right now I get a "no route to host" for repository.wolfram.com (140.177.204.60)
when doing sudo apt-get update on a fresh installed NOOBS raspbian.

fruitoftheloom
Posts: 21989
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: apt-get upgrade taking forever!

Sat Sep 27, 2014 8:10 pm

RSvedman wrote:+1 for me, I too have had off and on trouble with the downloads of Wolfram packages for a month now when upgrading. I am in Sweden on "AllTele" 10/10 Mbps fiber.
Actually right now I get a "no route to host" for repository.wolfram.com (140.177.204.60)
when doing sudo apt-get update on a fresh installed NOOBS raspbian.
There was a recent post on Wolfram Repository not accessable: http://www.raspberrypi.org/forums/viewt ... am#p616118
Retired disgracefully.....
......to an uncomplicated life !

Rather than negativity think outside the box !

chaz
Posts: 4
Joined: Thu Jun 28, 2012 2:38 am

Re: apt-get upgrade taking forever!

Wed Oct 15, 2014 4:30 pm

just had same issue emgi reported above . Live and learn I guess . Not sure what my approach will be to solve issue . Maybe just start over . :roll:

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 25410
Joined: Sat Jul 30, 2011 7:41 pm

Re: apt-get upgrade taking forever!

Wed Oct 15, 2014 7:30 pm

Most odd. Although there are relatively few people seeing the issue vs the number of downloads. I'm not sure removing Wolfram from the whole image is the correct approach - that makes it a pain for everyone else.

Sort of like the problems I have reading the Register at home - it's really slow compared with reading it from work. Something to do with my ISP and the route - not the Register itself.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed. Here's an example...
“I own the world’s worst thesaurus. Not only is it awful, it’s awful."

chaz
Posts: 4
Joined: Thu Jun 28, 2012 2:38 am

Re: apt-get upgrade taking forever!

Wed Oct 15, 2014 8:15 pm

well problem is not slow - anymore that is . It is now that the wolfram-engine cannot be upgraded, removed , installed , purged and so nothing else can be installed , upgraded .

allenbt
Posts: 4
Joined: Sat Feb 23, 2013 2:22 am

Re: apt-get upgrade taking forever!

Sat Dec 06, 2014 3:18 am

Just FYI, I've been waiting for apt-get upgrade to complete for going on two hours. My network connection peaks at 100 to 110 MBPS and is averaging at least 50. I don't have Mathematica installed; I have to agree there is a problem with the number of packages that have to be updated as well as the speed of the server.

fruitoftheloom
Posts: 21989
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: apt-get upgrade taking forever!

Sat Dec 06, 2014 10:48 am

allenbt wrote:Just FYI, I've been waiting for apt-get upgrade to complete for going on two hours. My network connection peaks at 100 to 110 MBPS and is averaging at least 50. I don't have Mathematica installed; I have to agree there is a problem with the number of packages that have to be updated as well as the speed of the server.
Please can you post output of the sources list ;)
Retired disgracefully.....
......to an uncomplicated life !

Rather than negativity think outside the box !

metRo_
Posts: 29
Joined: Mon Jan 23, 2012 10:46 am

Re: apt-get upgrade taking forever!

Mon Dec 21, 2015 9:12 pm

Just to let you know that it still happen.

stderr
Posts: 2178
Joined: Sat Dec 01, 2012 11:29 pm

Re: apt-get upgrade taking forever!

Mon Dec 21, 2015 9:30 pm

metRo_ wrote:Just to let you know that it still happen.
If you mean apt-get being slow at times or that, I've certainly seen the problem again and again with Ubuntu as well. It's probably best to download the files and install from that. This is especially true if you have deadlines for installs. Then when you have an updated local source, you know you can do things at the speed of your network and not the speed of weirdnesses on the internet.

metRo_
Posts: 29
Joined: Mon Jan 23, 2012 10:46 am

Re: apt-get upgrade taking forever!

Mon Dec 21, 2015 10:25 pm

stderr wrote:
metRo_ wrote:Just to let you know that it still happen.
If you mean apt-get being slow at times or that, I've certainly seen the problem again and again with Ubuntu as well. It's probably best to download the files and install from that. This is especially true if you have deadlines for installs. Then when you have an updated local source, you know you can do things at the speed of your network and not the speed of weirdnesses on the internet.
No, i'm talking only about the wolfram-engine.

Mikla
Posts: 1
Joined: Sun Mar 13, 2016 2:28 am

Re: apt-get upgrade taking forever!

Sun Mar 13, 2016 2:32 am

[sigh] Jumps around all over the place... from 45 B/s to 16 kB/s max.

xfx
Posts: 24
Joined: Thu Dec 06, 2012 10:09 pm

Re: apt-get upgrade taking forever!

Mon Mar 21, 2016 5:42 am

I had the same problem and doing the following solve the problem and everything downloaded supper fast:

Code: Select all

sudo apt-get clean
sudo apt-get update
sudo apt-get dist-upgrade

Buks
Posts: 2
Joined: Tue Mar 29, 2016 7:16 pm

Re: apt-get upgrade taking forever!

Tue Mar 29, 2016 7:30 pm

[Deleted]
Last edited by Buks on Wed Mar 30, 2016 6:19 am, edited 1 time in total.

Buks
Posts: 2
Joined: Tue Mar 29, 2016 7:16 pm

Re: apt-get upgrade taking forever!

Tue Mar 29, 2016 7:49 pm

Hi.
In my case, it seems to be IPv6 related. My provider had peering issues with cogent in the past. They probably didn't fix it for IPv6.

Code: Select all

$ traceroute6 archive.raspberrypi.org
traceroute to lb.raspberrypi.org (2a00:1098:0:80:1000:13:0:8) from xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx, 30 hops max, 24 byte packets
 1  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.ipv6.myprovider.fr (xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx)  1.718 ms  2.008 ms  1.736 ms
 2  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.ipv6.myprovider.fr (xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx)  17.164 ms  19.936 ms  20.021 ms
 3  xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx (xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx)  19.602 ms  12.849 ms  20.075 ms
 4  * * *
 5  * * *
 6  be3010.ccr22.lon01.atlas.cogentco.com (2001:978:3::39)  21.938 ms  18.061 ms  19.926 ms
 7  be2352.rcr21.b015534-1.lon01.atlas.cogentco.com (2001:550:0:1000::9a36:252a)  19.928 ms  23.205 ms  19.938 ms
 8  * 2a00:1098:2::5d5d:852e (2a00:1098:2::5d5d:852e)  117.726 ms  122.859 ms
 9  2001:7f8:4::ae8c:1 (2001:7f8:4::ae8c:1)  119.999 ms  114.978 ms *
10  2a00:1098:0:80:1000:13:0:8 (2a00:1098:0:80:1000:13:0:8)  118.366 ms * *
Whereas it works perfectly using IPv4:

Code: Select all

$ traceroute archive.raspberrypi.org 
traceroute to archive.raspberrypi.org (93.93.128.211), 30 hops max, 60 byte packets
 1  gateway (192.168.0.1)  1.175 ms  2.129 ms  6.422 ms
 2  xxx.xxx.xxx.xxx (xxx.xxx.xxx.xxx)  7.413 ms  8.958 ms  8.965 ms
 3  somerandomnumber.myprovider.pouet (xxx.xxx.xxx.xxx)  8.935 ms  8.919 ms  8.904 ms
 4  someotherrandomnumbers.myprovider.pouet (xxx.xxx.xxx.xxx)  8.894 ms  8.880 ms  8.866 ms
 5  xxx.xxx.xxx.xxx (xxx.xxx.xxx.xxx)  18.063 ms  18.411 ms  18.406 ms
 6  tengige0-1-0-28.lontr4.London.opentransit.net (193.251.240.177)  19.632 ms  13.966 ms  19.603 ms
 7  be3010.ccr22.lon01.atlas.cogentco.com (130.117.14.65)  13.593 ms  14.960 ms  17.791 ms
 8  be2352.rcr21.b015534-1.lon01.atlas.cogentco.com (154.54.37.42)  15.760 ms  15.757 ms  15.716 ms
 9  149.11.4.86 (149.11.4.86)  17.767 ms  17.724 ms  17.712 ms
10  * mythic10g-private.orochi.mythic-beasts.com (93.93.133.98)  19.341 ms  19.337 ms
11  93.93.128.211 (93.93.128.211)  19.323 ms  21.505 ms *
As a quick fist, you can probably follow this thread: http://unix.stackexchange.com/a/100887 :

Code: Select all

# apt-get -o Acquire::ForceIPv4=true upgrade
# apt-get -o Acquire::ForceIPv4=true dist-upgrade
If you want to make this configuration persistent for apt-get:

Code: Select all

# echo 'Acquire::ForceIPv4 "true";' | tee /etc/apt/apt.conf.d/99force-ipv4
Let me known if this was indeed your problem.
Thank you.
Buks

EpicRPIer
Posts: 6
Joined: Sat Apr 20, 2013 12:03 pm

Re: apt-get upgrade taking forever!

Tue Oct 18, 2016 10:34 pm

Sorry to bring this up again but it's still an issue... I don't even have an IPv6 enabled connection and adding the Force IPv4 option did indeed help at first, tho after running it a few times (I had a corrupt SD Card and didn't find outat first) it now doesn't work anymore.

All I get is max. 100 KB/s, one time with the Force option I got around 3 MB/s but now it's stuck at the low one again...
I tried everything from deleting the cache in my OpenWRT routers to rebooting all of them, nothing changed.

Jeppedy
Posts: 8
Joined: Fri Jan 17, 2014 8:55 pm

Re: apt-get upgrade taking forever!

Thu Feb 23, 2017 3:12 pm

Removing Wolfram allowed me to skirt the issue.

Wonder when RasPi Foundation will start monitoring these forums? Does no one have connections to let them know about this issue?

User avatar
NormanDunbar
Posts: 111
Joined: Wed Nov 23, 2011 12:13 pm
Location: Leeds, West Yorkshire, England.
Contact: Website

Re: apt-get upgrade taking forever!

Sun Apr 23, 2017 3:40 pm

Just dist-upgrading my Pi B2 and Wolfram-Engine is killing it. I've got 160 Mb/s (Megabits!) on Virgin Media - at least that's what the broadband speed tester tells me, but I'm seeing a message on screen from time to time that's telling me that this update is getting download speeds of 1.6 bytes per second!. It has been running most of the day (Sunday) and it's pretty dire I have to say. Everything else works fine, so far. I wish I'd seen this thread before I started the update!

CTRL-C the dist-upgrade
sudo apt-get purge wolfram*
sudo apt-get dist-upgrade

Everything now updates at around 3-4 Mb/S (Megabytes). That's better - but what if I needed Wolfram stuff?

(Sorry, just adding my voice to the noise on this thread!)


Cheers,
Norm.
Why do they put lightning conductors on churches?
Why did Tarzan never have a beard?

Return to “Raspbian”