rdepends for apt-cache fails for virtual packages
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Example of problem:
The zimbra-mta package provides mail-transport-
Packages that depend on mail-transport-
apt-cache is unable to list either of those as depending on zimbra-mta:
root@zre-
<mail-transport
aptitude does a little better:
root@zre-
iB mailutils Depends default-mta | mail-transport-
ip zimbra-mta Provides mail-transport-
so it finds mailutils (but not logwatch). so 50% better than apt-cache
If we try to remove zimbra-mta, we find:
root@zre-
dpkg: dependency problems prevent removal of zimbra-mta:
mailutils depends on default-mta | mail-transport-
Package default-mta is not installed.
Package mail-transport-
Package zimbra-mta which provides mail-transport-
logwatch depends on postfix | mail-transport-
Package postfix is not installed.
Package mail-transport-
Package zimbra-mta which provides mail-transport-
apt-cache kind of functions with postfix as the rdepends:
root@zre-
postfix
Reverse Depends:
|logwatch
libsasl2-2
|cron
so we pick up logwatch in that case.
However, we *still* fail to find mailutils:
root@zre-
<default-mta>
So the rdepends flag for apt-cache seems to be completely broken for virtual packages.
root@zre-
Package: zimbra-mta
Versions:
8.7.0.GA.
Description Language:
Reverse Depends:
Dependencies:
8.7.0.GA.
Provides:
8.7.0.GA.
Reverse Provides:
root@zre-
Package: logwatch
Versions:
7.4.0+svn201305
Description Language:
Description Language: en
Reverse Depends:
Dependencies:
7.4.0+svn201305
Provides:
7.4.0+svn201305
Reverse Provides:
root@zre-
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
root@zre-
apt:
Installed: 1.0.1ubuntu2.14
Candidate: 1.0.1ubuntu2.14
Version table:
*** 1.0.1ubuntu2.14 0
500 http://
100 /var/lib/
1.
500 http://
1.0.1ubuntu2 0
500 http://
Status changed to 'Confirmed' because the bug affects multiple users.