Re: mysql upgrade broke server



On Fri, Nov 10, 2006 at 11:20:50PM +0100, Florian Kulzer wrote:
On Fri, Nov 10, 2006 at 16:39:23 -0500, Rick Pasotto wrote:
I just tried to upgrade mysql-server which replaces 4.1 with 5.0. The
upgrade aborts because there are supposedly MyISAM files and so I should
reinstall 4.1 to fix them then try the upgrade again.

The problem is that mysql-server-4.1 *depends* *on* mysql-server-5.0
(which doesn't make any sense) so apt-get won't let me reinstall 4.1.

It does make sense for the newest version of mysql-server-4.1 to depend
on mysql-server-5.0, because the 4.1 package has become an empty meta
package whose only purpose it is to depend on the 5.0 package to trigger
the upgrade. Debian always uses this method if a newer version of some
software has a different package name (e.g. thunderbird -> icedove).

OK. But apt-get should NOT remove the current package until it
determines that it is able to install the new package.

If you still need a "real" 4.1 package to fix some things before the
upgrade, then you will have to find an older version, either in your
/var/cache/apt/archives/ directory or from snapshot.debian.net. Once you
have found the right .deb file you can install it with "dpkg --install".

So I added to /etc/apt/sources.list:

deb http://snapshot.debian.net/archive pool mysql-dfsg-4.1

and updated. Now what?

'apt-get install mysql-dfsg-4.1' says it can't find the package.

--
"Must the citizen ever for a moment, or in the least degree, resign his
conscience to the legislator? Why has every man a conscience, then? I
think that we should be men first, and subjects afterward."
-- Henry David Thoreau
Rick Pasotto rick@xxxxxxxx http://www.niof.net


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: APT::Default-Release doesnt seem to affect upgrades
    ... Maybe there is an upgrade that depends on an uninstalled package that ... apt-get upgrade does nothing ... apt-get -t unstable upgrade pulls in lots ...
    (Debian-User)
  • Apt-get upgrade problems
    ... I have a strange problem with apt-get. ... Reading Package Lists... ... Calculating Upgrade... ... update it seems to get the new package lists but no effect when trying ...
    (Debian-User)
  • Re: Installing VS6 After VS.Net 2003
    ... The setup package has different version of controlthan the client ... it tries to upgrade the control on the ... controls, which don't need upgrading, so they are just ignored on install. ...
    (microsoft.public.vb.general.discussion)
  • Re: Installing VS6 After VS.Net 2003
    ... The setup package has different version of controlthan the client ... it tries to upgrade the control on the ... controls, which don't need upgrading, so they are just ignored on install. ...
    (microsoft.public.dotnet.general)
  • Re: DPS Initial Ideas
    ... database will help with the parallelization of package building? ... the ports collection and package ... upgrade this package". ... by maintaining its own parallel version of the metadata in a database ...
    (freebsd-hackers)