LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 06-28-2011, 11:52 AM   #1
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
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
 
Old 06-28-2011, 12:18 PM   #2
rizzy
Member
 
Registered: Mar 2004
Distribution: Debian
Posts: 285

Rep: Reputation: 69
what happens when you manually update, any errors? Or is it just GUI frontend that is having problems?
 
1 members found this post helpful.
Old 06-28-2011, 12:25 PM   #3
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Original Poster
Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
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.
 
Old 06-28-2011, 12:52 PM   #4
rizzy
Member
 
Registered: Mar 2004
Distribution: Debian
Posts: 285

Rep: Reputation: 69
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.
 
1 members found this post helpful.
Old 06-28-2011, 01:31 PM   #5
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Original Poster
Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
I'll try that.
Here's my sources.list & what update manager is doing.
Attached Thumbnails
Click image for larger version

Name:	Screenshot.png
Views:	119
Size:	102.9 KB
ID:	7424   Click image for larger version

Name:	Screenshot-1.png
Views:	122
Size:	17.4 KB
ID:	7425  
 
Old 06-28-2011, 01:59 PM   #6
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Original Poster
Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
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.
 
Old 06-28-2011, 03:31 PM   #7
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Original Poster
Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
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.

Last edited by EDDY1; 06-28-2011 at 03:35 PM.
 
Old 06-28-2011, 03:40 PM   #8
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Original Poster
Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
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.
 
Old 06-28-2011, 04:10 PM   #9
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,884
Blog Entries: 28

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533
GUI package management apps are all a pita.

aptitude update
aptitude upgrade
or
apt-get update
apt-get upgrade

Are much safer and tend to work much much better.
 
1 members found this post helpful.
Old 06-28-2011, 05:14 PM   #10
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Original Poster
Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
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.
 
1 members found this post helpful.
Old 06-28-2011, 08:39 PM   #11
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628

Rep: Reputation: 497Reputation: 497Reputation: 497Reputation: 497Reputation: 497
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.
 
1 members found this post helpful.
Old 06-28-2011, 10:58 PM   #12
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Original Poster
Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
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".

Last edited by EDDY1; 06-28-2011 at 10:59 PM.
 
1 members found this post helpful.
Old 06-29-2011, 02:45 AM   #13
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
Quote:
Originally Posted by craigevil View Post
GUI package management apps are all a pita.

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.
 
1 members found this post helpful.
Old 06-29-2011, 12:26 PM   #14
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628

Rep: Reputation: 497Reputation: 497Reputation: 497Reputation: 497Reputation: 497
I am on testing and that is right. I do open synaptic because it is there and it is a handy place to do casual browsing of available packages.

I have always preferred apt-get but am growing in my appreciation of some of the features of aptitude.

The "real" package managers supplied with Debian are just real hard to beat.
 
1 members found this post helpful.
Old 06-29-2011, 01:06 PM   #15
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Original Poster
Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu 10.10 Update Manager not able to install updates LordValar Linux - Newbie 2 02-07-2011 10:09 AM
Installing updates via the update manager macden Linux - Software 2 02-04-2011 07:57 PM
Is it possible for Update Manager to ignore future specific updates I've deselected Thane Ubuntu 4 12-08-2010 03:45 PM
Should I install all of the updates in the update manager? tottenhamfan Linux - Newbie 4 04-23-2010 11:17 AM
Package manager states there are updates but there are none cmccullough Debian 2 01-29-2010 08:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 08:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration