Apt dependency hell

Sarunas sarunas at mail.saabnet.com
Wed Nov 29 12:25:12 EST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Roger H. Goun wrote:
> I have a Ubuntu dapper server that runs a lot of Web sites. It hasn't
> had it's mysql packages updated since early in dapper development, when
> mysql4.1 was the default version. Trying to apt-get upgrade to the
> mysql5 versions broke the system and I can't figure out how to get back
> to a working state.
> 
> For example:
> 
> roger at river:/var/lib/dpkg$ sudo apt-get update
> ...
> roger at river:/var/lib/dpkg$ sudo apt-get install sql-common
> Reading package lists... Done
> Building dependency tree... Done
> Note, selecting mysql-common-4.1 instead of mysql-common
> Package mysql-common-4.1 is a virtual package provided by:
> You should explicitly select one to install.
> E: Package mysql-common-4.1 has no installation candidate
> 
> Does anyone know how to clean up apt's notion of what virtual packages
> are available?
> 
> Thanks.
> 
> -- Roger

What about this?:

$ sudo apt-get --reinstall install mysql-server-4.1

As far as I can tell, there is no such package mysql-common-4.1 in
Dapper repositories. Even if it was there, all it would contain would
most likely be a sample my.cnf and README.

Sarunas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFbcJ4VVkpJ1MUn+YRAsAbAJ9VvglMsIk0S1Awp5jrRZNTAxfVYwCaAkuh
A3LrCz+apegQMUsS+8uNR1M=
=DJ/J
-----END PGP SIGNATURE-----


More information about the gnhlug-discuss mailing list