Update Manager Not Working

45 réponses [Dernière contribution]
SVTony
Hors ligne
A rejoint: 02/07/2014

I haven't had any updates being installed for a while. Last time when the Update Manager popped up, it never finished downloading anything and appeared to be stuck. As I couldn't stop it or even close it, I had to re-start the system. I thought this was a one-off problem but it's happened again today.

It says "51 updates have been selected. 27.7 MB will be downloaded" but all the options are greyed out and I can't do anything. I waited for more than an hour in case it was slow but it hasn't worked. The cursor just keeps spinning.

It is obviously not installing any updates. Any help, please?

Magic Banana

I am a member!

I am a translator!

Hors ligne
A rejoint: 07/24/2010

Show us the output of this command (to be executed in a terminal), which actually is what the "Update Manager" runs:
$ sudo apt-get upgrade

I believe you have broken dependencies that you could try to fix with:
$ sudo apt-get -f install

SVTony
Hors ligne
A rejoint: 02/07/2014

Thank you! I executed the command and it works but I still have to find a permanent solution. I cannot get the updates if I do it through the Update Manager.

quiliro@congresolibre.org
Hors ligne
A rejoint: 10/28/2010

El 15/08/14 a las 06:22, name at domain escibió:
> I haven't had any updates being installed for a while. Last time when
> the Update Manager popped up, it never finished downloading anything
> and appeared to be stuck. As I couldn't stop it or even close it, I
> had to re-start the system. I thought this was a one-off problem but
> it's happened again today.
>
> It says "51 updates have been selected. 27.7 MB will be downloaded"
> but all the options are greyed out and I can't do anything. I waited
> for more than an hour in case it was slow but it hasn't worked. The
> cursor just keeps spinning.
>
> It is obviously not installing any updates. Any help, please?
>

On the console:
sudo aptitude update && sudo aptitude upgrade
Make sure there are not any other instances of the updater or installer
working.

-- Saludos libres, Quiliro Ordóñez 600 8579

SVTony
Hors ligne
A rejoint: 02/07/2014

Thanks! It works, but it is only a temporary solution as I have to do it again if I want an update.

boaz
Hors ligne
A rejoint: 08/09/2013

I've been having this problem for a few weeks now in 6.0.1. I'm concerned about my system not being up to date.

Attached is an image of the update manager. The screenshot program actually failed to capture one detail accurately: the curser in reality is the round spinning curser, not the white arrow as shown in the image. I don't know why the screenshot program doesn't reproduce this faithfully.

For anyone interested in this problem, there's also a bug report:
https://trisquel.info/en/issues/12270

Perpetual nothing happening.png
Trisquelian
Hors ligne
A rejoint: 01/23/2015

I was using the default Trisquel 7,0 GNOME desktop and this also happened to me. In my case, the cursor was black and in the screenshot it was white or the other way around. For taking the screenshot I used gnome-screenshot.
I can't really help you with the update manager as I have really never used it more than once.

boaz
Hors ligne
A rejoint: 08/09/2013

I ran sudo apt-get upgrade as suggested by Magic Banana and this fixed the problem *for me*. Thank you Magic Banana :)

Please don't anyone close the bug report on the basis of SVTony's and my experience!

There are lots of non-technical users who don't know any other way to update besides using the graphical update manager, and the graphical update manager is supposed to just work without intervention.

lembas
Hors ligne
A rejoint: 05/13/2010

This kind of problems are fairly nasty as I believe they lead to chicken and egg kind of situations: if the update manager is broken, no update can fix it as those can't be installed.

SVTony
Hors ligne
A rejoint: 02/07/2014

The fixes reported on this thread work once but then you always have to do it that way because the Update Manager has never gone back to normal for me.

If I start the Update Manager, I get the same screen boaz was showing above.

boaz
Hors ligne
A rejoint: 08/09/2013

It's the same for me. I still can't install updates using the graphical update mananger due to this problem.

Recently the update manager showed thirty something updates available. I opened the update manager and experienced the problem this thread is about.

So I ran sudo apt-get upgrade. It installed thirty something updates.

Now, the update manager shows up and shows two updates available: linux-image-generic and linux-image-3.2.0.68-generic. But I can't install them because of the problem.

When I run sudo apt-get upgrade it gives this output:

Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
linux-image-generic
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

Anyway this problem is very annoying because the update manager shows up in the toolbar all the time and I can't get rid of it, nor do I want to open it because then I'll never be able to close it except by restarting.

boaz
Hors ligne
A rejoint: 08/09/2013

Right after I made this post I tried sudo apt-get dist-upgrade (thanks Christianity) and that installed the last two updates.

So where it stands now, I do have a way to install all the updates via the terminal, but the update manager is broken and I have no fix for it.

lembas
Hors ligne
A rejoint: 05/13/2010

> I'll never be able to close it except by restarting.

You can use for example the xkill command if this unfortunate situation should repeat. Open a terminal or alt+F2, punch in the command and then point and click the offending window.

Kromaz
Hors ligne
A rejoint: 06/07/2014

Now a problem with the update manager! These type of problems will lead people away from Trisquel. Lately this been an on going issue with updates including this recently https://trisquel.info/en/forum/where-are-all-security-updates I'm a patient person but this is starting to get irritating.

Magic Banana

I am a member!

I am a translator!

Hors ligne
A rejoint: 07/24/2010

Do *you* have a problem with "Update Manager" or do you only want to rant? SVTony had a problem but it is not like everybody had. And if you would look at the forums of essentially any distribution, you would find some users having such problems.

Kromaz
Hors ligne
A rejoint: 06/07/2014

Have better things to do with my time then rant. Yes *I* do have this same problem. I also have that freedom to state my opinion. Again this is very irritating.

Christianity
Hors ligne
A rejoint: 10/09/2012

I have also experienced this issue for some updates in the past month or so, and have had to use apt-get dist-upgrade from the terminal and reboot when it happens.

lembas
Hors ligne
A rejoint: 05/13/2010

Thanks to kpengboy & GustavoCM there is now a fix. You can fairly easily apply it yourself. See https://trisquel.info/en/issues/12270#comment-56900

SVTony
Hors ligne
A rejoint: 02/07/2014

Sounds complicated. I think I'll wait until there is a more user-friendly solution.

GustavoCM

I am a member!

Hors ligne
A rejoint: 11/20/2012

Hey, I just pointed out the existence of the fix :-)

lembas
Hors ligne
A rejoint: 05/13/2010

Hehe and I pointed out that you pointed out :)

SVTony
Hors ligne
A rejoint: 02/07/2014

Yes, I know you both pointed out to the fix but what I'm saying is that it still sounds complicated...unless someone can explain the fix to me in an easier way.

Legimet
Hors ligne
A rejoint: 12/10/2013

Run in terminal:

wget https://trisquel.info/files/issues/remove-format-args.patch
sudo patch -d /usr/lib/python2.7/dist-packages -p1 < remove-format-args.patch

mokavey
Hors ligne
A rejoint: 09/30/2014

I have the same problem with update manager for nearly two months now. It's nice that there is a patch but I don't have folder named pyton2.7 in /usr/lib. What should I do then?

onpon4
Hors ligne
A rejoint: 05/30/2012

Did you actually search for "pyton2.7" and not "python2.7"? If /usr/lib/python2.7 actually doesn't exist, that suggests to me that your system is completely broken. Python 2 is a basic dependency of many programs in Trisquel.

lembas
Hors ligne
A rejoint: 05/13/2010

Agree with onpon4. Use the shell tab completion feature when typing the path: Type a few letters of a name in a path and then hit tab. The shell will suggest you the existing filenames that could complete your path or if there is only one matching, then add that.

https://en.wikipedia.org/wiki/Tab_completion

mokavey
Hors ligne
A rejoint: 09/30/2014

Sorry, my fault. I used [sudo cd] so it said no such command. Then I didn't do a proper search. Those were the problems. I know that many programs are coded in python in Ubuntu, so that should be the case in Trisquel as well. Therefore it cannot exist since my system is/seems OK. I just thought that it may be in another folder. Now that I found it easily using tab completion feature thanks to lembas everything’s good. Thank you, people.

SVTony
Hors ligne
A rejoint: 02/07/2014

Thanks Legimet! That solved the problem for me. It's been working like normal since I did what you suggested.

lembas
Hors ligne
A rejoint: 05/13/2010

Did you notice this? https://trisquel.info/en/forum/update-manager-not-working#comment-57013

For the Everything-You-Always-Wanted-to-Know-About-Text-File-Comparisons-(But-Were-Afraid-to-Ask) version, see https://www.gnu.org/software/diffutils/manual/html_mono/diff.html

mYself
Hors ligne
A rejoint: 01/18/2012

I've got the same issue yesterday. My Update Manager listed some abrowser and linux-kernel updates so I wanted to upgrade however my root partition was full so I closed the application beforehand, cleared my APT cache, and then restarted it again. But this time the manager was greyed out and unresponsive and I was forced to end it via System Monitor.

I eventually fixed the problem by using Synaptic where the update went smoothly (except that the torproject repository key signature was expired, so I needed to disable it first). Today I've got three gnome-control-center related updates and I was able to upgrade with the Update Manager without problems.

MrBuggles (non vérifié)
MrBuggles

My update manager has been "greyed out" for about two weeks making it unusable. Adding to the issue running update via Terminal failed as well, it would simply check for updates, and then do nothing.

Per MYself's post I tried synaptic which for some odd reason had not occured to me to try and all 48 updates went in no problem.

Legimet
Hors ligne
A rejoint: 12/10/2013

That's normal behavior if you ran apt-get update. It just updates its database. You have to run apt-get dist-upgrade to upgrade everything.

lap4fsf
Hors ligne
A rejoint: 10/12/2014

lembas,

xkill surely closes the unresponsive task manager, but on reading its man pages I came to know it simply closes the connection with the server; eventhough most programs take a cue and terminate themselves, some programs continue to work.

There is no guarentee that xkill will always kill your task manager; what if it fails to do so?

It is better to use 'apt-get dist-upgrade' from a terminal until a permanent fix is made.

TheAngel
Hors ligne
A rejoint: 10/13/2014

you can use task manager?

lap4fsf
Hors ligne
A rejoint: 10/12/2014

But in my case the process just ends. when I repeat the same to open Update manager it hangs. Seems still not fixed.

amilopowers

I am a member!

Hors ligne
A rejoint: 01/30/2015

I don't know if it works for you but my udpate manager doesn't work properly.

It often fails to connect to the servers.

Magic Banana

I am a member!

I am a translator!

Hors ligne
A rejoint: 07/24/2010

You can select another download server from "Software & Updates" in the "System settings".

amilopowers

I am a member!

Hors ligne
A rejoint: 01/30/2015

That's what I did. Doesn't work...

amilopowers

I am a member!

Hors ligne
A rejoint: 01/30/2015

That is what I get on every server:

W:Failed to fetch http://ppa.launchpad.net/texlive-backports/ppa/ubuntu/dists/trusty/main/binary-amd64/Packages 404 Not Found
, W:Failed to fetch http://ppa.launchpad.net/texlive-backports/ppa/ubuntu/dists/trusty/main/binary-i386/Packages 404 Not Found
, E:Some index files failed to download. They have been ignored, or old ones used instead.

Magic Banana

I am a member!

I am a translator!

Hors ligne
A rejoint: 07/24/2010

That is not a Trisquel repository. It is a PPA. And it does not have packages for trusty: see http://ppa.launchpad.net/texlive-backports/ppa/ubuntu/dists/

You should be able to remove that PPA with the following command:
$ sudo add-apt-repository -r ppa:texlive-backports/ppa

amilopowers

I am a member!

Hors ligne
A rejoint: 01/30/2015

Is it possible that the PPA came with unity have installed just recently?

Can I just use the main server and it should be fixed?

lembas
Hors ligne
A rejoint: 05/13/2010

I don't think it's related to unity.

You can use the command by Magic Banana or edit manually the sources file. /etc/apt/sources.list

Or just ignore it.

tomlukeywood
Hors ligne
A rejoint: 12/05/2014

have you tried running make install insted of make?

this will install the program from source just like
sudo apt-get install program_name would

Dave_Hunt

I am a member!

Hors ligne
A rejoint: 09/19/2011

I try not to use the gui update manager; using commandline tools is just easier. Given that there is a working patch for the gui app, why not just apply it and issue the patched update manager in the cycle?