"apt show" reports misleading conflicts
This bug report was converted into a question: question #295517: "apt show" reports misleading conflicts.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Packages are reported to conflict with themselves when they actually conflict with a different architecture version of themselves.
For example (and as illustrated below using "apt show" and "apt-cache depends") musepack-tools is reported to conflict with musepack-tools (according to "apt show") but in reality (as revealed by "apt-cache depends") conflicts with musepack-
That is misleading and concerning when read for the first time by probably anyone and apparently a known issue:
http://
I consider it a bug and file so accordingly. "apt show", should not mislead as it does, but show at least the same output as "apt-cache depends" does here.
Example runs:
$ apt show musepack-tools
Package: musepack-tools
State: installed
Automatically installed: no
Version: 2:0.1~r459-1ubuntu3
Priority: optional
Section: universe/sound
Maintainer: Ubuntu Developers <email address hidden>
Architecture: amd64
Uncompressed Size: 342 k
Depends: libc6 (>= 2.15), libcue1, libmpcdec6 (>= 1:0.1~r435), libreplaygain1
(>= 1.0~r412)
Conflicts: musepack-tools
Description: MusePack commandline utilities
Musepack is an audio compression format with a strong emphasis on high quality.
It's not lossless, but it is designed for transparency, so that you won't be
able to hear differences between the original wave file and the much smaller
MPC file.
It is based on the MPEG-1 Layer-2 / MP2 algorithms, but since 1997 it has
rapidly developed and vastly improved and is now at an advanced stage in which
it contains heavily optimized and patentless code.
This package contains various commandline utilities for MusePack files:
* mpcenc (encoder)
* mpcdec (decoder)
* mpccut (cut MPC files without reencoding)
* mpcgain (gain calculation)
* mpc2sv8 (conversion to MusePack SV8 from older SV)
Homepage: http://
$ apt-cache depends musepack-tools
musepack-tools
Depends: libc6
Depends: libcue1
Depends: libmpcdec6
Depends: libreplaygain1
Conflicts: musepack-tools:i386
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: apt 1.0.1ubuntu2.14
ProcVersionSign
Uname: Linux 3.16.0-38-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.21
Architecture: amd64
Date: Tue Jun 21 10:56:12 2016
InstallationDate: Installed on 2015-09-04 (290 days ago)
InstallationMedia: Linux Mint 17.2 "Rafaela" - Release amd64 20150627
SourcePackage: apt
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in apt (Ubuntu): | |
status: | New → Invalid |