The architecture of e.g. debconf is not some specific architecture, but
"all".

So when you want to use the output of apt-mark as an argument for
dpkg(-query), you need to tune the name by a shell function like this,
right? :

dpkg-pkgname() {
 nativearch=$([ "$(uname -i)" = "x86_64" ] && echo amd64 || echo i386)
 [ -f /var/lib/dpkg/info/"$1".list ] && echo $1 || echo $1:amd64
}

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

Title:
  apt-mark prints ambiguous package name

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to