Bug#608816: apt wants to remove a package instead of upgrading it.
Package: apt
Version: 0.7.20.2+lenny2
Severity: normal
i have a home made package what requires pure-ftpd:
> root@xx ~ # apt-cache show ipax-webserver
> Package: ipax-webserver
> Version: 0.23-20
> Architecture: all
> Maintainer: Raoul Bhatia [IPAX] <r.bhatia@ipax.at>
> Installed-Size: 76
> Depends: ipax-webserver-base, pure-ftpd-mysql | pure-ftpd,
mysql-server, mysql-client
> Suggests: php5-imagick, php-apc, mysql-proxy
> Filename: ipax/ipax-webserver_0.23-20_all.deb
> Size: 5306
> MD5sum: a67b29ce29d31cbc174b5ff8116b008a
> SHA1: ce88c3a1782e71d27214288673744d1c87a4c052
> SHA256: 5b6b7772a76beb16ede647bc92d0ef9c4ca7046a206f94abe38adeda4327dde2
> Section: web
> Priority: optional
> Homepage: http://pkg.ipax.at/
> Description: IPAX webserver meta package
> Common IPAX webserver configuration.
i have a self-made repository with the most recent pure-ftpd-mysql
packages:
> root@xx ~ # apt-cache policy pure-ftpd-common pure-ftpd-mysql
> pure-ftpd-common:
> Installed: 1.0.28-2
> Candidate: 1.0.28-3
> Version table:
> 1.0.28-3 0
> 1001 http://pkg.ipax.at ipax/ Packages
> *** 1.0.28-2 0
> 100 /var/lib/dpkg/status
> 1.0.21-11.4 0
> 500 http://pkg.sil.at lenny/main Packages
> pure-ftpd-mysql:
> Installed: 1.0.28-2
> Candidate: 1.0.28-3+b1
> Version table:
> 1.0.28-3+b1 0
> 1001 http://pkg.ipax.at ipax/ Packages
> *** 1.0.28-2 0
> 100 /var/lib/dpkg/status
> 1.0.21-11.4 0
> 500 http://pkg.sil.at lenny/main Packages
/etc/apt/preferences tells apt to score pkg.ipax.at with 1001.
now, i want to dist-upgrade:
> root@xx ~ # apt-get -u dist-upgrade
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Calculating upgrade... Done
> The following packages will be REMOVED:
> ipax-webserver pure-ftpd-mysql
> The following packages will be upgraded:
> pure-ftpd-common
> 1 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
> Need to get 181kB of archives.
> After this operation, 737kB disk space will be freed.
> Do you want to continue [Y/n]?
but apt wants to remove pure-ftpd-mysql.
i think that this is a bug ;)
thanks,
raoul
Reply to: