[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#680041: apt-mark hold does not work on Architecture: all packages



On Tue, Jul 3, 2012 at 7:35 AM, Stepan Golosunov <stepan@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

Attachment: apt-680041-apt-mark-holds-correctly.diff
Description: Binary data


Reply to: