"apt show" reports misleading conflicts

Bug #1594627 reported by Bernd Wechner

This bug report was converted into a question: question #295517: "apt show" reports misleading conflicts.

6
This bug affects 1 person
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-tools:i386.

That is misleading and concerning when read for the first time by probably anyone and apparently a known issue:

http://askubuntu.com/questions/106203/why-do-some-packages-conflict-with-themselves

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://www.musepack.net

$ 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
ProcVersionSignature: Ubuntu 3.16.0-38.52~14.04.1-generic 3.16.7-ckt10
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)

Revision history for this message
Bernd Wechner (thumbone) wrote :
Danilo Falcão (fcon)
Changed in apt (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.