holding a package in aptitude does not set dpkg's selection

Bug #185981 reported by bgruber
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
aptitude (Debian)
New
Unknown
aptitude (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

Binary package hint: aptitude

If I hold a package in aptitude, everything else (update manager, apt-get, etc) still wants to upgrade it. Finally figured out that I wanted 'dpkg --set-selections'. Marking a package to be held in aptitude should be reflected in the other package management tools, just as marking a package as automatically installed is now.

Revision history for this message
In , Matt Zimmerman (mdz) wrote : more apt cleanup

# aptitude uses its own state information
reassign 174091 aptitude
severity 174091 normal
merge 174091 137771

severity 171248 normal
retitle 171248 corrupted cache files cause segfault
merge 165448 171248

thanks

--
 - mdz

Revision history for this message
In , Daniel Burrows (dburrows) wrote : Re: Bug#161810: aptitude: Aptitude does not set hold state

severity 161810 normal
merge 161810 137771
thanks

On Sat, Sep 21, 2002 at 08:53:34PM +0200, <email address hidden> was heard to say:
> Package: aptitude
> Version: 0.2.11.1-3
> Severity: wishlist
>
> I have installed several packages manualy, because I added a patch there, which
> is long outstanding on program's bugtrack, but was not applied yet. I have set
> the packages on hold using aptitude. But apt-get, dpkg nor dselect honor this
> seting. I think aptitude should set the hold flag globally, not just for it's
> internal use.
>
> -- System Information
> Debian Release: testing/unstable
> Kernel Version: Linux vagabond 2.4.19 #11 Po srp 5 12:31:27 CEST 2002 i686 unknown unknown GNU/Linux
>
> Versions of the packages aptitude depends on:
> ii libc6 2.2.5-14.3 GNU C Library: Shared libraries and Timezone
> ii libncurses5 5.2.20020112a- Shared libraries for terminal handling
> ii libsigc++0 1.0.4-3 Type-safe Signal Framework for C++ - runtime
> ii libstdc++2.10- 2.95.4-11 The GNU stdc++ library
> ii apt 0.5.4 Advanced front-end for dpkg
> ^^^ (Provides virtual package libapt-pkg-libc6.2-3-2-3.2)
>
>

--
/-------------------- Daniel Burrows <email address hidden> -------------------\
| "Oh my god! The entire map is written in GIBBERISH!" |
| "Worse, my friend. It's written in German!" -- Fluble |
\------- (if (not (understand-this)) (go-to http://www.schemers.org)) --------/

Revision history for this message
In , Kai Henningsen (kai-debbugs) wrote : set submitter address for all my bugs
Download full text (4.2 KiB)

submitter 7181 !
submitter 7182 !
submitter 9932 !
submitter 9936 !
submitter 9939 !
submitter 9940 !
submitter 9942 !
submitter 9944 !
submitter 9945 !
submitter 9946 !
submitter 13976 !
submitter 17065 !
submitter 17210 !
submitter 20378 !
submitter 20379 !
submitter 20381 !
submitter 20382 !
submitter 20658 !
submitter 20895 !
submitter 20910 !
submitter 20949 !
submitter 20956 !
submitter 21665 !
submitter 21747 !
submitter 23242 !
submitter 23476 !
submitter 23692 !
submitter 23912 !
submitter 25017 !
submitter 25262 !
submitter 26805 !
submitter 27126 !
submitter 27127 !
submitter 27692 !
submitter 31208 !
submitter 31312 !
submitter 32888 !
submitter 33007 !
submitter 33008 !
submitter 33009 !
submitter 34616 !
submitter 35168 !
submitter 37337 !
submitter 38514 !
submitter 40085 !
submitter 41107 !
submitter 41839 !
submitter 42241 !
submitter 42288 !
submitter 42338 !
submitter 43657 !
submitter 43658 !
submitter 43659 !
submitter 43668 !
submitter 43900 !
submitter 44375 !
submitter 44376 !
submitter 44377 !
submitter 44379 !
submitter 44866 !
submitter 44921 !
submitter 45480 !
submitter 46931 !
submitter 47440 !
submitter 47493 !
submitter 47512 !
submitter 48518 !
submitter 48670 !
submitter 48683 !
submitter 48806 !
submitter 49453 !
submitter 49454 !
submitter 49597 !
submitter 49599 !
submitter 49613 !
submitter 49616 !
submitter 49617 !
submitter 50180 !
submitter 50200 !
submitter 50266 !
submitter 50390 !
submitter 50584 !
submitter 50665 !
submitter 50673 !
submitter 51530 !
submitter 51804 !
submitter 52218 !
submitter 52226 !
submitter 52227 !
submitter 52442 !
submitter 52614 !
submitter 52720 !
submitter 52725 !
submitter 52873 !
submitter 53140 !
submitter 53234 !
submitter 53420 !
submitter 53448 !
submitter 55032 !
submitter 57747 !
submitter 58469 !
submitter 59539 !
submitter 63691 !
submitter 64280 !
submitter 64821 !
submitter 66073 !
submitter 66080 !
submitter 68773 !
submitter 69111 !
submitter 69548 !
submitter 73659 !
submitter 73671 !
submitter 74087 !
submitter 74442 !
submitter 74722 !
submitter 74734 !
submitter 74741 !
submitter 75256 !
submitter 75662 !
submitter 75936 !
submitter 76648 !
submitter 76856 !
submitter 77349 !
submitter 77911 !
submitter 78561 !
submitter 79163 !
submitter 79164 !
submitter 80401 !
submitter 80468 !
submitter 80474 !
submitter 80900 !
submitter 82935 !
submitter 82942 !
submitter 85069 !
submitter 85586 !
submitter 88173 !
submitter 88484 !
submitter 89245 !
submitter 91796 !
submitter 91817 !
submitter 91872 !
submitter 91935 !
submitter 92130 !
submitter 92133 !
submitter 92134 !
submitter 92287 !
submitter 97551 !
submitter 97743 !
submitter 98229 !
submitter 99785 !
submitter 102005 !
submitter 103020 !
submitter 106803 !
submitter 109310 !
submitter 113021 !
submitter 113990 !
submitter 115533 !
submitter 115536 !
submitter 115539 !
submitter 119307 !
submitter 126176 !
submitter 126201 !
submitter 126254 !
submitter 126876 !
submitter 127192 !
submitter 129726 !
submitter 130798 !
submitter 131866 !
submitter 132041 !
submitter 134693 !
submitter 135252 !
submitter 139358 !
submitter 140565 !
submitter 143606 !
submitter 143607 !
submitter 143609 !
submitter 146413...

Read more...

Revision history for this message
In , Marc Haber (mh+debian-packages) wrote : #174091, #161810

Hi Daniel,

may I inquire about the status of these two bugs? The non-interface of
aptitude with apt-get makes aptitude's holds especially useless if one
uses cron-apt because cron-apt uses apt-get which ignores aptitudes
holds.

Can you please talk with the apt maintainers how this could be solved
in time for sarge?

Greetings
Marc

--
-----------------------------------------------------------------------------
Marc Haber | "I don't trust Computers. They | Mailadresse im Header
Karlsruhe, Germany | lose things." Winona Ryder | Fon: *49 721 966 32 15
Nordisch by Nature | How to make an American Quilt | Fax: *49 721 966 31 29

Revision history for this message
In , Daniel Burrows (dburrows) wrote : on overinflated senses of self-importance

severity 277719 normal
merge 277719 137771 220794
thanks
--
/------------------- Daniel Burrows <email address hidden> ------------------\
| "It is said that someone at a party once asked |
| the famous philosopher Ly Tin Weedle, 'why |
| are you here?', and the reply took three years." |
| -- Terry Pratchett |
\---------------- The Turtle Moves! -- http://www.lspace.org ---------------/

Revision history for this message
In , Daniel Burrows (dburrows) wrote : forcibly merging 137771 453702

# Automatically generated email from bts, devscripts version 2.10.11
forcemerge 137771 453702

Revision history for this message
bgruber (bgruber) wrote :

Binary package hint: aptitude

If I hold a package in aptitude, everything else (update manager, apt-get, etc) still wants to upgrade it. Finally figured out that I wanted 'dpkg --set-selections'. Marking a package to be held in aptitude should be reflected in the other package management tools, just as marking a package as automatically installed is now.

Matthew Woerly (nattgew)
Changed in aptitude:
status: New → Incomplete
status: Incomplete → Confirmed
Revision history for this message
xavierzenith (xavierzenith) wrote :

Agreed.

Revision history for this message
In , =?UTF-8?Q?T=C3=A1ssia_Cam=C3=B5es_Ar?==?UTF-8?Q?a=C3=BAjo?= (debian-tassia) wrote : Apticron, aptitude and packages on hold

package apticron
block 431869 by 137771
thanks

It is true that apticron doesn't use aptitude, but as long as I understand the
problem, this is still an aptitude bug. The question is the way you put
packages on hold. If you use aptitude for that (# aptitude hold foo), neither
apt nor dselect will consider it because it saves that information into an
internal database (see #137771). While if you do that by the traditional way
(# echo "foo hold" | dpkg --set-selections) it is considered by apt-get, and
also by apticron.

I'll block this bug, since it cannot be fixed before having #137771 fixed.

Regards,

--
Tássia Camões Araújo

Revision history for this message
In , jidanni (dan-jacobson) wrote : merging dpkg grandfathering

forcemerge 137771 146207
forcemerge 137771 199887
thanks
hope this is right, just trying to help

Changed in aptitude:
importance: Undecided → Medium
status: Confirmed → Triaged
Changed in aptitude:
status: Unknown → New
Revision history for this message
Florian Rathgeber (florian-rathgeber) wrote :

Confirmed on natty x64 (aptitude 0.6.3-3.2ubuntu1).

Revision history for this message
Rolf Leggewie (r0lf) wrote :

bug 185981 and bug 75332 look like dupes.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.