LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Mint 9 Update Manager problem (https://www.linuxquestions.org/questions/linux-newbie-8/mint-9-update-manager-problem-826725/)

genogebot 08-17-2010 05:48 AM

Mint 9 Update Manager problem
 
I ran the Update Manager in Mint 9 and it said I have to fix broken packages before it can do any upgrades.

I then ran Synaptic's 'Fix Broken Packages' command and a line in the status bar said 'Successfully fixed dependency problems'. But Update Manager still says there are broken packages. I also ran 'apt-get check' and it didn't report any errors.

Update Manager lists 5 packages to be upgraded: winbind, libwbclient0, samba-common, samba and samba-client. Synaptic shows all of them *except* winbind as upgradeable. If I try to upgrade samba, Synaptic wants to remove winbind.

Update Manager shows libwbclient0, samba-common, samba and samba-client going from 2:3.4.7~dfsg-1ubuntu3 to 2:3.4.7~dfsg-1ubuntu3.1. It also shows winbind as upgradeable, but the old version and new version are the same: 2:3.4.7~dfsg-1ubuntu3. Is Update Manager having an attack of the stupids? Or is it refusing to upgrade because the upgraded winbind should have a version number to match the samba upgrades?

Can anyone shed some light on what's going on here?

Brains 08-17-2010 09:50 PM

I'm guessing there is a conflict between your repositories. Two of them offer a different version of the same package which conflicts with what's installed. Show your /etc/apt/sources.list file, the root of your issue(s) may lay within.

genogebot 08-18-2010 01:21 AM

Quote:

Originally Posted by Brains (Post 4069686)
I'm guessing there is a conflict between your repositories. Two of them offer a different version of the same package which conflicts with what's installed. Show your /etc/apt/sources.list file, the root of your issue(s) may lay within.

Thanks for the response. My /etc/apt/sources.list is:
#Webmin
deb http://download.webmin.com/download/repository sarge contrib

deb http://packages.linuxmint.com/ isadora upstream import main
deb http://archive.ubuntu.com/ubuntu/ lucid main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ lucid-updates main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ lucid-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu/ lucid partner
deb http://packages.medibuntu.org/ lucid free non-free
deb http://archive.getdeb.net/ubuntu lucid-getdeb apps
deb http://archive.getdeb.net/ubuntu lucid-getdeb games
deb http://www.fwbuilder.org/deb/stable/ lucid contrib
Apart from the webmin and fwbuilder I think these are the repos that the distribution came with, and I haven't had any problems - although I did a complete reinstall a few days ago from a remastersys backup after unsuccessfully trying the kde version of linux mint 9, so maybe something changed then.

Hold the press - I just ran 'sudo apt-get clean' to remove all the downloaded packages from the apt cache, and now Update Manager reports 24 updates, and as I write this it's apparently happily downloading them. So maybe something in the cache got corrupted and prevented Update Manager from working properly.

Mr. Alex 08-18-2010 03:27 AM

Try this:
Code:

# apt-get install -f
# apt-get update && apt-get upgrade -y


genogebot 08-18-2010 02:45 PM

Fixed
 
Ok it seems that cleaning out the apt cache did the trick.

I don't know how the cache got corrupted, but after I ran 'sudo apt-get clean' everything's back to working well again.

Mr. Alex 08-19-2010 04:27 AM

Try also
Code:

# apt-get autoclean ; apt-get autoremove


All times are GMT -5. The time now is 07:40 AM.