I presume that works (I would be using nativearch="$(dpkg --print-
architecture)" through – and poking directly into info/ is discouraged.
Checking exitcode of commands like 'dpkg-query -s "$1"' might be
better), but note that with a "foo:all" you aren't talking about a
package as packages can't have this special architecture. It is a
specific version of a package "foo:native" which was built such that it
works independently of the underlying native architecture – so the
display of fully arch-qualified package names would still be "wrong" as
apt-mark talks about packages, not about versions.

This distinction comes into play e.g. if the source package changes from
any to all (or vice versa) as this resembles a 'normal' upgrade (which
carries over data like the autobit), while there is no upgrade path in
the crossgrading foo:i386 to foo:amd64 case.

-- 
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
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to