PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > linux.debian.user > Using deborphan
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
linux.debian.user debian-user@lists.debian.org.

Using deborphan

Réponse
 
LinkBack Outils de la discussion
Vieux 16/08/2007, 08h20   #1
Csányi Pál
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Using deborphan

Hello!

I purge the orphaned packages on a Debian system:
sudo deborphan | less

and then copy / paste to the aptitude search, and then purge in aptitude.

Is there an automated way to do this task out there?

man deborphan and man aptitude dont shows any suggestion about that.

I try:
sudo deborphan | aptitude purge

but this does nothing.

On this system I purged the X Window system, so there are only the consoles out
there.


Any advice will be appreciated!

--
Regards, Paul Cs?nyi
http://www.freewebs.com/csanyi-pal/index.htm


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 16/08/2007, 09h10   #2
wimpunk
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Using deborphan

Csányi Pál wrote:
> Hello!
>
> I purge the orphaned packages on a Debian system:
> sudo deborphan | less
>
> and then copy / paste to the aptitude search, and then purge in aptitude.
>
> Is there an automated way to do this task out there?
>
> man deborphan and man aptitude dont shows any suggestion about that.
>
> I try:
> sudo deborphan | aptitude purge
>
> but this does nothing.
>


aptitude purge $(deborphan)


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 16/08/2007, 09h10   #3
Sven Joachim
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Using deborphan

Csányi Pál <csanyipal@csanyi-pal.info> writes:

> I purge the orphaned packages on a Debian system:
> sudo deborphan | less
>
> and then copy / paste to the aptitude search, and then purge in aptitude.
>
> Is there an automated way to do this task out there?
>
> man deborphan and man aptitude dont shows any suggestion about that.
>
> I try:
> sudo deborphan | aptitude purge
>
> but this does nothing.


You can do

sudo aptitude purge $(deborphan)

, but a better way may be to use orphaner(8), included in the
deborphan package.

Sven


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 16/08/2007, 09h40   #4
Johannes Tax
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Using deborphan

Hello,

On [Thu, 16.08.2007 08:19], Csányi Pál wrote:
> I try:
> sudo deborphan | aptitude purge


dpkg --purge `deborphan`

executed as root will do the job.

Johannes


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 16/08/2007, 11h20   #5
Mihamina Rakotomandimby
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Using deborphan

On Thu, 2007-08-16 at 08:19 +0200, Csányi Pál wrote:
> Hello!


Hi,

> I purge the orphaned packages on a Debian system:


One line/instruction with "debfoster".
"apt-get autoremove" also does some interesting things.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 16/08/2007, 11h40   #6
dulev
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Using deborphan

> > I purge the orphaned packages on a Debian system:
>
> One line/instruction with "debfoster".
> "apt-get autoremove" also does some interesting things.


But not in the Etch with apt version 0.6.xxxx.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 17/08/2007, 00h50   #7
Wei Wang
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Using deborphan

I recommend you always use Aptitude as your primary package manager. It
automatically delete orphaned packages.

Regards

On Thu, 2007-08-16 at 08:19 +0200, Csányi Pál wrote:
> Hello!
>
> I purge the orphaned packages on a Debian system:
> sudo deborphan | less
>
> and then copy / paste to the aptitude search, and then purge in aptitude.
>
> Is there an automated way to do this task out there?
>
> man deborphan and man aptitude dont shows any suggestion about that.
>
> I try:
> sudo deborphan | aptitude purge
>
> but this does nothing.
>
> On this system I purged the X Window system, so there are only the consoles out
> there.
>
>
> Any advice will be appreciated!
>



--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 17/08/2007, 00h50   #8
Rick Pasotto
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Using deborphan

On Fri, Aug 17, 2007 at 08:23:12AM +1000, Wei Wang wrote:
> I recommend you always use Aptitude as your primary package manager.
> It automatically delete orphaned packages.


What if I'm still using that program? I don't *want* it deleted. Just
because it's not being maintained is no reason to delete it. So long as
it still runs and is useful it should *not* be deleted.

--
"In matters of conscience, the law of majority has no place."
-- Mahatma Gandhi
Rick Pasotto rick@niof.net http://www.niof.net


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 17/08/2007, 06h30   #9
Mumia W..
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Using deborphan

On 08/16/2007 05:45 PM, Rick Pasotto wrote:
> On Fri, Aug 17, 2007 at 08:23:12AM +1000, Wei Wang wrote:
>> I recommend you always use Aptitude as your primary package manager.
>> It automatically delete orphaned packages.

>
> What if I'm still using that program? I don't *want* it deleted. Just
> because it's not being maintained is no reason to delete it. So long as
> it still runs and is useful it should *not* be deleted.
>


Then use aptitude to change that program's status to "hold":

aptitude hold gpm




--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 17/08/2007, 09h50   #10
Sven Joachim
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Using deborphan

"Mumia W.." <paduille.4061.mumia.w+nospam@earthlink.net> writes:

> On 08/16/2007 05:45 PM, Rick Pasotto wrote:
>> On Fri, Aug 17, 2007 at 08:23:12AM +1000, Wei Wang wrote:
>>> I recommend you always use Aptitude as your primary package
>>> manager. It automatically delete orphaned packages.

>>
>> What if I'm still using that program? I don't *want* it
>> deleted. Just because it's not being maintained is no reason to
>> delete it. So long as it still runs and is useful it should *not* be
>> deleted.
>>

>
> Then use aptitude to change that program's status to "hold":
>
> aptitude hold gpm


No, this is not what you want. You need to tell aptitude that the
package is "manually installed", which can be achieved by

aptitude unmarkauto gpm

Regards,
Sven


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 18/08/2007, 17h40   #11
- Tong -
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Using deborphan

On Thu, 16 Aug 2007 18:45:01 -0400, Rick Pasotto wrote:

> On Fri, Aug 17, 2007 at 08:23:12AM +1000, Wei Wang wrote:
>> I recommend you always use Aptitude as your primary package manager.
>> It automatically delete orphaned packages.


Yep, second to that, aptitude alone can do the job quite well. No need the
deborphan. For details check out:

aptitude advantages
http://xpt.sourceforge.net/techdocs/...ude_advantages

> What if I'm still using that program? I don't *want* it deleted. Just
> because it's not being maintained is no reason to delete it. So long as
> it still runs and is useful it should *not* be deleted.


Aha, there are actually two kind of "orphaned packages" here, I guess the
name deborphan and its explanation should be blamed for the confusion. In
fact,

No, aptitude will never delete unmaintained packages. It is not a criteria
at all. The correct saying is that "automatically installed packages will
be uninstalled as soon as they are no longer needed..."

HTH

--
Tong (remove underscore(s) to reply)
http://xpt.sourceforge.net/techdocs/
http://xpt.sourceforge.net/tools/


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 18/08/2007, 17h40   #12
- Tong -
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Using deborphan

On Thu, 16 Aug 2007 18:45:01 -0400, Rick Pasotto wrote:

> On Fri, Aug 17, 2007 at 08:23:12AM +1000, Wei Wang wrote:
>> I recommend you always use Aptitude as your primary package manager.
>> It automatically delete orphaned packages.


Yep, second to that, aptitude alone can do the job quite well. No need the
deborphan. For details check out:

aptitude advantages
http://xpt.sourceforge.net/techdocs/...ude_advantages

> What if I'm still using that program? I don't *want* it deleted. Just
> because it's not being maintained is no reason to delete it. So long as
> it still runs and is useful it should *not* be deleted.


Aha, there are actually two kind of "orphaned packages" here, I guess the
name deborphan and its explanation should be blamed for the confusion. In
fact,

No, aptitude will never delete unmaintained packages. It is not a criteria
at all. The correct saying is that "automatically installed packages will
be uninstalled as soon as they are no longer needed..."

HTH

--
Tong (remove underscore(s) to reply)
http://xpt.sourceforge.net/techdocs/
http://xpt.sourceforge.net/tools/


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 21/08/2007, 03h10   #13
Bob Proulx
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Using deborphan

Csányi Pál wrote:
> Is there an automated way to do this task out there?


Try 'orphaner'.

sudo orphaner

Or

sudo orphaner --purge

Bob


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 03h45.


Édité par : vBulletin®
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,18012 seconds with 21 queries