-
Notifications
You must be signed in to change notification settings - Fork 5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
apt-get update freeze system after upgrade (RPi3) #2511
Comments
|
Hi @pelwell Although a second run worked, I noticed the process that seem slow and prone to stalling is:
So perhaps its just your servers, not always responding? |
Can you answer Phil's questions number 1? Does it do it all the time, or was its just the first boot after the update? |
Just after first boot after update. |
Any comments on 2 and 3? |
|
Similar to the above, I have a brand new RPi3B+ ... I've loaded raspian and I find I am unable to update it because "apt-get update" results in the system hanging completely. I can't use apt-get to update or install any package. Every attempt results in something like this displayed, followed by the machine completely freezing; root@raspberrypi:~# apt-get update This is a brand new system with a 2.5 Amp USB Power Supply. Wifi has not been enabled -- in fact it's been turned off in /boot/config.txt. I simply took the Pi out of the box, popped a configured MicroSD card in and then tried to load a few packages. I've tried raspbx with identical results. I've tried using "nice -n 19" on the apt-get process. It seems to hang with the red and green LEDs stuck on. It is running headless and over wired ethernet with nothing other than a power cable and an ethernet cable connected. The problem is quite repeatable. I'm running "Linux raspberrypi 4.9.80-v7+ #1098 SMP Fri Mar 9 19:11:42 GMT 2018 armv7l" |
Its not the latest kernel, but fairly new. Might be worth trying the latest Raspbian on a new SD card to see if the error still occurs. Could be the SDRAM frequency issue, you could try adding sdram_freq=450 to the config.tx file. |
Inclined to close this now, its appears the OP was a one off, and the post from @wocka-wocka is I believe a different issue covered elsewhere. Any objections? |
FWIW, I replaced the Rpi3B+ hardware and found my problems went away. |
Closing due to lack of activity. Please request to be reopened if you feel this issue is still relevant. |
this is still an active problem, just thjat most people wont see it. My understanding of this issue and the way repos work is that; "store" is (remotely) added to the list that (manually) contains "main contrib non-free rpi". it is the defunct RPi Store repo. that "folder" still exists, but it does NOT contain an empty repo. and that is the reason for the long timeout it is a P I T A if you have to deal with console only and script automation (it can take upto 5 mins to timeout) |
After successful upgrade of system (via
sudo apt-get upgrade
) and reboot, runningsudo apt-get updates
stalls and freeze system, mouse pointer still respond, but nothing else works or responds. Power unplug reboot necessary.# sudo apt-get update Hit:1 https://deb.nodesource.com/node_9.x stretch InRelease Hit:2 http://archive.raspberrypi.org/debian stretch InRelease Get:3 http://raspbian.raspberrypi.org/raspbian stretch InRelease [15.0 kB] Get:4 http://raspbian.raspberrypi.org/raspbian stretch/main armhf Packages [11.7 MB] Get:5 http://raspbian.raspberrypi.org/raspbian stretch/main armhf Contents (deb) [35.5 MB] 82% [4 Packages store 0 B] [5 Contents-armhf 27.7 MB/35.5 MB 78%] 82% [4 Packages store 0 B] [5 Contents-armhf 27.7 MB/35.5 MB 78%]^C^C
The text was updated successfully, but these errors were encountered: