[Bug 1576960] Re: apt-mark prints ambiguous package name

Jarno Suni 1576960 at bugs.launchpad.net
Sun May 1 20:28:26 UTC 2016


$ dpkg-query -s "libfontconfig1"
prints the status of the amd64 package, but 
$ dpkg-query -W -f='${binary:Package}\n' "libfontconfig1"
prints the package name with both amd64 and i386 architectures.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1576960

Title:
  apt-mark prints ambiguous package name

Status in apt package in Ubuntu:
  Opinion

Bug description:
  Example in shell:

  $ dpkg-query -W -f='${binary:Package} ${Status}\n' libfontconfig1
  libfontconfig1:amd64 install ok installed
  libfontconfig1:i386 install ok installed

  $ apt-mark showauto libfontconfig1
  $ apt-mark showauto libfontconfig1:i386
  libfontconfig1:i386
  $ apt-mark showmanual libfontconfig1:i386
  $ apt-mark showauto libfontconfig1:amd64
  $ apt-mark showmanual libfontconfig1
  libfontconfig1              <---- should be libfontconfig1:amd64
  $ apt-mark showmanual libfontconfig1:amd64
  libfontconfig1              <---- should be libfontconfig1:amd64

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: apt 1.0.1ubuntu2.13
  ProcVersionSignature: Ubuntu 3.13.0-85.129-lowlatency 3.13.11-ckt36
  Uname: Linux 3.13.0-85-lowlatency x86_64
  ApportVersion: 2.14.1-0ubuntu3.19
  Architecture: amd64
  CurrentDesktop: XFCE
  Date: Sat Apr 30 12:50:48 2016
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2014-09-21 (587 days ago)
  InstallationMedia: Ubuntu-Studio 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.1)
  SourcePackage: apt
  UpgradeStatus: No upgrade log present (probably fresh install)
  modified.conffile..etc.kernel.postinst.d.apt.auto.removal: [modified]
  mtime.conffile..etc.kernel.postinst.d.apt.auto.removal: 2016-02-03T01:46:24.317010

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1576960/+subscriptions



More information about the foundations-bugs mailing list