[SOLVED] Debian update manager states updates available but won't update
DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Debian update manager states updates available but won't update
Since yesterday update manager states that there are updates. when I mouse over it says that there are 94 updates, I click on update manager icon it opens & starts scanning then does nothing, it doesn't say "Your system is up to date" & the curser doesn't show that it's working although there is hd activity.
The only software that is installed manually is Firefox & Google Chrome
Os Debian Squeeze
Acer Aspire 3620
If I try aptitude update, I get the message can't get exclusive lock is another package using it
same with opening synaptic.
I scanned var directory & have 2.2G free space also.
disable gnome update manager from starting in System > Preferences > Startup Applications. Untick update manager, relogin and try aptitude again. Basically , you need to kill the update manager as its holding lock on dpkg and for some reason won't release the lock. With luck, manual update will fix the issue.
It appears your solution is working, after disabling update notifier I went to synaptic & marked the upgradeable packages and it's downloading now.
I'll post results as soon as it's done.
After marking upgrades it stopped with a message stating "Samba untrusted domaine defaults to no", so I umarked the samba upgrades & it is updating.
The update completed.
The 2 files I didn't upgrade were libsmbclient & libwbclient0 what affects might I have due to not upgrading them. Also I haven't enabled file sharing, yet so are they necessary for functionality of os? As of now this thread is solved & will be marked as so, just would like to know the possible affects of samba not being upgraded. Btw thank you rizzy.
Update after posting last question I went back to Synaptic & selected the 2 upgradeable packages & they did. I guess they couldn't be done along with the other packages.
Thanks craigvail
I had my machine set to notify of updates, once notified the commands wouldn't work, but now I know.
I can still set to recieve update notifications that way I know that they're available, if I have the same problem disable notifier.
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628
Rep:
You can get update "notices" easily by just "reloading" synaptic. As opposed to Update Mangler, Synaptic has a pretty good track record and gives, particularly if configured correctly (default configuration is pretty good), much better information on what is being upgraded and what is not.
I disable Update Mangler as the very first step in setting up a new install of ANY Debian based OS. I do not want it to even check for updates let alone notify me. I certainly do not let it run updates.
Even if you allow it to notify you, I would highly recommend apt-get, aptitude or, if you want a gui to run update/upgrades, Synaptic to do the actual work. You will be a lot safer and have many fewer problems for very little extra effort.
Thanks widget my system was set for notify, but only way I could get the update to run was to ignore samba upgrade, then after upgrade I was able to upgrade samba. The problem with my upgrade was "Samba defaulting to No" because of "untrusted domaine".
aptitude update
aptitude upgrade
or
apt-get update
apt-get upgrade
Are much safer and tend to work much much better.
+1
Purge all of the gui stuff like update manager and notifier and just use the cli apt tools. I prefer aptitude to apt-get but that's just down to personal choice. If you're running stable and want to automate updates have a look into cron-apt. testing/unstable users should certainly not be using gui apt tools anyway.
I'm just glad that the issue I was experiencing didn't take days to resolve.The presence of that update was causing my machine to freeze.Now that everything was updated it's back to normal. The only problem that I have now is it freezes while watching hulu. But I think that problem is related to Intel915 garaphics & hulu itself.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.