|
|
|
|
||||||
| linux.debian.user debian-user@lists.debian.org. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
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 |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
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 |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
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 |
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
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 |
|
|
|
#5 |
|
Messages: n/a
Hébergeur: |
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 |
|
|
|
#6 |
|
Messages: n/a
Hébergeur: |
> > 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 |
|
|
|
#7 |
|
Messages: n/a
Hébergeur: |
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 |
|
|
|
#8 |
|
Messages: n/a
Hébergeur: |
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 |
|
|
|
#9 |
|
Messages: n/a
Hébergeur: |
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 |
|
|
|
#10 |
|
Messages: n/a
Hébergeur: |
"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 |
|
|
|
#11 |
|
Messages: n/a
Hébergeur: |
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 |
|
|
|
#12 |
|
Messages: n/a
Hébergeur: |
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 |
|
|
|
#13 |
|
Messages: n/a
Hébergeur: |
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 |
|
![]() |
| Outils de la discussion | |
|
|