Transition Mysql 5.0 to 5.1 in main

Mathias Gug mathiaz at ubuntu.com
Fri Aug 14 19:42:25 BST 2009


Hi Steve,

On Fri, Aug 14, 2009 at 09:46:59AM -0700, Steve Langasek wrote:
> On Fri, Aug 14, 2009 at 10:21:42AM -0400, Mathias Gug wrote:
> > The following NEW packages will be installed:
> >   libmysqlclient16
> > The following packages have been kept back:
> >   mysql-server
> > The following packages will be upgraded:
> >   mysql-common
> > 1 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
> > Need to get 2027kB of archives.
> > After this operation, 4502kB of additional disk space will be used.
> > Do you want to continue [Y/n]? n
> > Abort.
> 
> > mathiaz at t-mysql-up:~$ sudo apt-get install mysql-server
> [...]
> > The following extra packages will be installed:
> >   libmysqlclient16 mysql-client-5.1 mysql-common mysql-server-5.1
> >   mysql-server-core-5.1
> > Suggested packages:
> >   tinyca
> > The following packages will be REMOVED:
> >   mysql-client-5.0 mysql-server-5.0 mysql-server-core-5.0
> > The following NEW packages will be installed:
> >   libmysqlclient16 mysql-client-5.1 mysql-server-5.1 mysql-server-core-5.1
> > The following packages will be upgraded:
> >   mysql-common mysql-server
> > 2 upgraded, 4 newly installed, 3 to remove and 0 not upgraded.
> > Need to get 21.2MB of archives.
> > After this operation, 60.7MB disk space will be freed.
> > Do you want to continue [Y/n]?
> 
> I wonder if mysql-client-5.0 has anything to do with this?  What is it that
> forces the removal of client on upgrade here?
> 


mysql-server:
 Depends: mysql-server-5.1, 

mysql-server-5.1: 
 Depends: mysql-client-5.1 (>= ${source:Version})

mysql-client-5.1:
  Conflicts: mysql-client (<< ${source:Version}), mysql-client-5.0
  Replaces: mysql-client (<< ${source:Version}), mysql-client-5.0

-- 
Mathias Gug
Ubuntu Developer  http://www.ubuntu.com



More information about the ubuntu-devel mailing list