[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: sarge to etch upgrade failed with unmet dependencies



On Monday 09 April 2007 14:51, Sven Arvidsson wrote:
> On Mon, 2007-04-09 at 14:25 -0700, Tom Brown wrote:
> > I tried to uprade a dev server to etch today. The upgrade erred out on
> > mysql upgrades. I'm told I might want to run 'apt-get -f install'. I've
> > played with the force option before with bad results. Why are the libs
> > that mysql depends on not upgraded first? Would it be a better idea to
> > uninstall mysql, do the upgrade, then install the latest mysql? Any
> > suggestions would be appreciated.
>
> Don't you need to upgrade libc6 first, as described in the release
> notes?

I looked over the release notes. Thanks for pointing me there. The release 
notes said to do a 'dpkg --audit' on all installed packages. Here's what I 
found out:

$ dpkg --audit
The following packages are in a mess due to serious problems during
installation.  They must be reinstalled for them (and any packages
that depend on them) to function properly:
 mysql-server-5.0     mysql database server binaries

The following packages have been unpacked but not yet configured.
They must be configured using dpkg --configure or the configure
menu option in dselect for them to work:
 libmysqlclient15off  mysql database client library
 libmysqlclient15-dev mysql database development files
 mysql-client-5.0     mysql database client binaries

So, it turns out I have a damaged install of mysql-server. I tried to force a 
purge, but that failed. Well, it is a dev server so, a clean install of etch 
may be in order. Is there way to manually remove the package. I can manually 
remove the files, but what about the package db? Is it possible to do a 
manual uninstall from the db? If it is possible, is it worth the effort/risk?

Thanks,
Tom



Reply to: