Control: tags -1 + moreinfo
colliar <[email protected]> wrote:
> Synaptic always wants to update packages which were set on hold by
> apt/aptitude. Please respect global status.
For the record, aptitude holds are not global [1], only aptitude knows
about them.
Using apt/dpkg holds, I can not reproduce this:
(sid)# apt-cache policy perl perl-doc
perl:
Installed: 5.14.2-12
Candidate: 5.14.2-15
Version table:
5.16.2-1 0
1 http://ftp.iinet.net.au/debian/debian/ experimental/main i386
Packages
5.14.2-15 0
500 http://ftp.iinet.net.au/debian/debian/ sid/main i386 Packages
*** 5.14.2-12 0
100 /var/lib/dpkg/status
perl-doc:
Installed: 5.14.2-12
Candidate: 5.14.2-15
Version table:
5.16.2-1 0
1 http://ftp.iinet.net.au/debian/debian/ experimental/main i386
Packages
5.14.2-15 0
500 http://ftp.iinet.net.au/debian/debian/ sid/main i386 Packages
*** 5.14.2-12 0
100 /var/lib/dpkg/status
(sid)# apt-mark hold perl-doc
perl-doc set on hold.
(sid)# synaptic
At this point:
- “Mark All Upgrades” indicates that it would upgrade perl, perl-base,
etc. but not perl-doc;
- “Mark for Upgrade” on perl indicates that it would also upgrade
perl-base, etc. but not perl-doc; and
- “Mark for Upgrade” on perl-doc *will* upgrade perl-doc.
All of these cases are expected. An apt hold only applies as long as
the user does not directly ask for action on the package.
Note that there does not appear to be any indication of the perl-doc
hold in the GUI. This could be a usability issue, it is nice to be
reminded of the hold as I am about to mark the package.
Submitter, can you confirm whether you were using aptitude holds, and
which method of package upgrade it was which gave you unexpected
results?
Regards
[1] http://bugs.debian.org/137771
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]