[Aptitude-devel] Bug#680041: apt-mark hold does not work on Architecture: all packages
David Kalnischkies
kalnischkies+debian at gmail.com
Wed Jul 4 22:21:53 UTC 2012
On Tue, Jul 3, 2012 at 7:35 AM, Stepan Golosunov <stepan at golosunov.pp.ru> wrote:
> apt-mark hold and apt-mark unhold (as well as aptitude hold) do not
> work on Architecture: all packages:
(cc'ing aptitude-team so they can have a look and
if it effects them, too, clone the bug or something)
The problem here is that APT (as defined by spec) handles arch:all packages
as if they would be arch:native packages for various reasons
(like supporting changes from arch:all to arch:any and vice versa).
dpkg doesn't handle it that way in input (for - again - various reasons),
so the attached patch tries to use the architecture of the installed version
so dpkg gets the correct architecture as input, hopefully.
If aptitude is really effected, it might be something completely different
as packages previously had no architecture (only versions had).
[For wheezy+1 we should have a look at providing this functionality
in libapt as it slowly becomes quiet a bit of code …]
Best regards
David Kalnischkies
-------------- next part --------------
A non-text attachment was scrubbed...
Name: apt-680041-apt-mark-holds-correctly.diff
Type: application/octet-stream
Size: 4848 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/aptitude-devel/attachments/20120705/605f0f58/attachment.obj>
More information about the Aptitude-devel
mailing list