I keep getting the same software update that doesn't install
1 Attachment(s)
I'm running Xubuntu 15.04 and I keep (for two or three days now) getting this 1.2 MB software update that doesn't install. It starts like it's going to install but then nothing. (see screenshot)
And I haven't gotten any other software updates and I'm wondering if this one that doesn't install is blocking the other updates. One last thought. I just Xed out of the update and when I did, the blue line shoots across as if it's installing. And that always happens (as if the update installs in that split-second) but then I get the same update again. Thanks. |
Hi Gregg,
You will get more useful information by install the package from the command line. Use aptitude (if it's installed) or apt-get with the command: Code:
sudo apt-get upgrade Code:
sudo aptitude safe-upgrade Code:
sudo aptitude update jdk |
Quote:
Okay, interestingly enough this problem is now occurinig on both my home and work comoputers. (They're both Xubuntu 15.04) Okay I ran the sudo apt-get update And got Code:
gregg@LG:~/Desktop$ sudo apt-get update sudo apt-get upgrade And got Code:
gregg@LG:~/Desktop$ sudo apt-get upgrade |
Ok Gregg, just to be sure I understand your output pasted in the code windows... are you saying that the apt-get update command hangs at the point when
Code:
dl.google.com] Code:
0 [Connecting to us.archive.ubuntu.com (2001:67c:1562::13)] I am concerned about the kernels (linux-image in Debian-speak). What is the output of this command Code:
uname -a jdk |
Quote:
Here's the uname -a results: Code:
gregg@LG:~/Desktop$ uname -a |
OK, so now that has upset ubuntu and the system needs some TLC. The following set of commands has worked for me in the past (on Debian but it should work the same on Ubuntu). Give them a try and see it that sorts out your problem. All the
commands are run with sudo. Code:
apt-get clean Cheers, jdk |
Quote:
Code:
gregg@LG:~/Desktop$ sudo apt-get clean [Connecting to security.ubuntu.com (2001:67c:1562::15)] Thanks! |
OK, it's looking a bit better. Can you now run the suggested command
Code:
apt-get autoremove Let me know if all this is clear jdk |
1 Attachment(s)
Quote:
Okay, I did nothing regarding this last post of yours because there's a new development. Today there was a 97MB software update. So I went to install it. Same exact thing. The bar starts moving to the right but then stops in the exact same spot and there are no "details." (Just like in the original post's screenshot.) But--the difference--today I minimized that 97MB software update window and did some other things for maybe an hour. (And regarding your question about how long do I wait before aborting the update command? I would say only two or three minutes. When I'm convinced it's stuck (and esp. since it has never done this before) I abort it.) Well, when I brought the minimized software update window back it showed this window. (see screenshot) "The computer needs to restart to FINISH installing the update..." Could it be that despite the bar graph being stuck for several minutes it eventually kicked in? And this was a bigger update but the bar graph was also stuck on a 1MB update. (And is there any way of ascertaining whether the update has indeed installed?) Anyway, I did nothing about your latest post because I want to see how you respond to this one. What I'm going to do is restart the computer. BTW If I eventually do need to do something additional regarding your last post I did not understand this sentence: If the update command still hangs, then you might try commenting out the secruity.ubuntu.com repository in your /etc/apt/sources. Thanks! |
Ok Gregg. Let us know what happens when you restart the the machine. That may well solve your problem.
Regarding "commenting out" an entry in your /etc/apt/sources.list file it goes like this: 1. The sources.list file contains a series of lines that look like this: Code:
deb http://ftp.uk.debian.org/debian/ testing main non-free contrib Code:
# deb http://ftp.uk.debian.org/debian/ testing main non-free contrib You would do this by opening up /etc/apt/sources.list in an editor, for example entering this command in your terminal: Code:
sudo gedit /etc/opt/sources.list Hope that's clear. jdk |
Quote:
After the restart (as mentioned in the previous post) the computer seems normal. I'll just wait till the next software update and see what happens. In the meantime I'll ask, have you ever heard of something like that (the download--seemingly--hanging but then actually downloading (if given enough time)? And I was wondering if the "details" not showing up and the bar graph not proceeding might just be a bug on the window and meanwhile the update is actually installing. Last question: How can I know (esp. in this weird situation) if the updates are being installed? (I assume they are, because if they weren't wouldn't the updates keep popping up again and again asking me to install them?) Thanks. |
If you really want to see what's going on during the update and upgrade phase and would strongly advise using a terminal. Using a gui updater is fine as long as there are no problems but if there are... then you really need to stick to the terminal and use apt-get or aptitude (if you have installed it).
For apt-get these two commands do the job: Code:
sudo apt-get install Code:
sudo aptitude update Quote:
1. Some packages are very big and so take a while to download. For example a linux-image (kernel) can be 175M in size so obviously that's going to take a while to download and more or less time depending on the speed of your connection. If you use the terminal method of updating you can view the progress as it goes along. 2. Sometimes a given given repository (one of the lines in your sources.list file) is down or is slower than others. This can also cause some of the delays. The moral of all this is if you really want to know what's going on then DO NOT use a gui for your updates; use the terminal. Quote:
Code:
setting up.... <name of package> Hope this helps. jdk |
As a follow-up to the preceding post (#12), here is the terminal output at the end of the execution of the sudo aptitude safe-upgrade command. The lines beginning with "Setting up" indicate that the package named in that line (e.g. tzdata-java in the first line) has been installed. That's how you know that a package has been installed.
Code:
Setting up tzdata-java (2015e-1) ... |
$ df
Make sure you have enough space for the update. The downloaded .deb files get archived in /var/cache/apt/archives/ and don't get removed depending on how you do your updates. These can add up to gigabytes of used space over time. And ultimately fill a disk. Your DNS, Firewall, Routing, and other things can also get in the way at times. And the servers that your trying to access might have changed or become offline. All of these things can cause wait periods that might be infinite. |
Quote:
I'm thinking something more systematic may be up. I was reading about "aptitude" and it sounded like a good thing to have, so I went to the terminal to get it. Here's what I came up with (and I've let it sit this way for 15 minutes): Code:
gregg@LG:~/Desktop$ aptitude I like the idea of getting the updates in the terminal. Next time I get an update I'll X it out and do the: sudo apt-get install sudo apt-get upgrade Thanks! |
All times are GMT -5. The time now is 08:24 AM. |