FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 11-09-2011, 08:54 PM
Bernhard Schmidt
 
Default aptitude vs. apt-get/dpkg purge

Hi,

I have a weird problem where my google foo is failing me (although I
guess it has been seen more than once before).

Long story short, I have a configuration management software (puppet)
that purges selective packages on each run (among others os-prober). It
is (by default) using apt for this task.

When I execute aptitude interactively on one of those handled servers
after that, it always wants to reinstall os-prober. It does not show so
in the listing, but it says 'Will use 193 kB of disk space' and shows
os-prober in the 'Packages to be installed' block after pressing 'g'. I
have to deselect it there manually with '-' or ':' to get rid of it
forever.

It seems to be related with the Apt::Install-Recommends setting, if I
set that to False the behaviour is gone. But I like recommends for now.

It is easily reproducible on both Squeeze and Wheezy:

# apt-get install os-prober
# aptitude
(see that there is nothing to do)
# apt-get purge os-prober
# aptitude
(see that it wants to install os-prober)

I have not seen an explicit bug for it, but the 816 open bugs on
aptitude are somewhat hard to browse. Is this a known issue or
works-as-designed?

Thanks,
Bernhard


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: j9esqi$43d$1@dough.gmane.org">http://lists.debian.org/j9esqi$43d$1@dough.gmane.org
 
Old 11-10-2011, 07:35 AM
Andrei POPESCU
 
Default aptitude vs. apt-get/dpkg purge

On Mi, 09 nov 11, 21:54:26, Bernhard Schmidt wrote:
>
> I have not seen an explicit bug for it, but the 816 open bugs on
> aptitude are somewhat hard to browse. Is this a known issue or
> works-as-designed?

I can only confirm your findings, still looking for a workaround.

Regards,
Andrei
--
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic
 
Old 11-10-2011, 08:57 AM
Sven Joachim
 
Default aptitude vs. apt-get/dpkg purge

On 2011-11-10 09:35 +0100, Andrei POPESCU wrote:

> On Mi, 09 nov 11, 21:54:26, Bernhard Schmidt wrote:
>>
>> I have not seen an explicit bug for it, but the 816 open bugs on
>> aptitude are somewhat hard to browse. Is this a known issue or
>> works-as-designed?

I have the feeling it might have the same cause as bug #570492¹, but
without studying the code it's hard to tell.

> I can only confirm your findings, still looking for a workaround.

Don't use apt-get? Might be acceptable for now, but in a
multiarch-enabled system aptitude is too broken in my experience. :-(

Sven


http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=570492


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 8762is47vn.fsf@turtle.gmx.de">http://lists.debian.org/8762is47vn.fsf@turtle.gmx.de
 
Old 11-10-2011, 01:13 PM
Bernhard Schmidt
 
Default aptitude vs. apt-get/dpkg purge

Andrei POPESCU <andreimpopescu@gmail.com> wrote:

Hello,

>> I have not seen an explicit bug for it, but the 816 open bugs on
>> aptitude are somewhat hard to browse. Is this a known issue or
>> works-as-designed?
> I can only confirm your findings, still looking for a workaround.

I have reported bug #648313 for this.

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=648313

Best Regards,
Bernhard


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: j9gm65$ott$1@dough.gmane.org">http://lists.debian.org/j9gm65$ott$1@dough.gmane.org
 

Thread Tools




All times are GMT. The time now is 04:30 PM.

VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org