You are not logged in.

#1 2007-02-25 09:43:38

tsangpo
Member
From: Poland
Registered: 2007-02-25
Posts: 23

A small sugestion, pacman deveolpers team please read this post

Hi,
you don't even image how happy would I(and probably all the users of Arch) be If PACMAN had
autoremove option like Debian's apt which removes all the packages that are just "lying around"
and are not required by other packages. This would be a great help for those who like to
experiment with new packages, and often have a mess on their HDs wink

Greetings,
Łukasz Klepacki <Poland>

Offline

#2 2007-02-25 10:25:49

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: A small sugestion, pacman deveolpers team please read this post

bugs.archlinux.org

however, this most probably won't be added, as it's already included.

pacman -Qe gives a list of orphans, and you can just pass that list to pacman -Rc to remove.

Note that pacman3 has a fixed pacman -Qe

James

-- fixed Qo to Qe, oops.

Last edited by iphitus (2007-02-25 12:02:38)

Offline

#3 2007-02-25 11:02:49

tsangpo
Member
From: Poland
Registered: 2007-02-25
Posts: 23

Re: A small sugestion, pacman deveolpers team please read this post

Well thanks for the fast reply. I must start reading manuals again yikes
Those all fancy distributions have made me a lazy guy smile

Offline

#4 2007-02-25 11:49:31

billy
Member
From: Slovenia
Registered: 2006-09-13
Posts: 164

Re: A small sugestion, pacman deveolpers team please read this post

iphitus wrote:

bugs.archlinux.org

however, this most probably won't be added, as it's already included.

pacman -Qo gives a list of orphans, and you can just pass that list to pacman -Rc to remove.

Note that pacman3 has a fixed pacman -Qo.

James

Isn't pacman -Qe for listing orphans?

Offline

#5 2007-02-25 11:56:31

Pajaro
Member
Registered: 2004-04-21
Posts: 884

Re: A small sugestion, pacman deveolpers team please read this post

billy, yes

Offline

#6 2007-02-25 12:02:11

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: A small sugestion, pacman deveolpers team please read this post

my bad, post edited for future reference.

Offline

#7 2007-02-25 12:11:48

billy
Member
From: Slovenia
Registered: 2006-09-13
Posts: 164

Re: A small sugestion, pacman deveolpers team please read this post

will pacman3 have an option to list orphans that were installed as a dependency and are not required any more? because pacman -Qe lists only the packages which were explicitly installed.
And i think tsangpo was asking for this option, because if he would pass pacman -Qe output to pacman -Rc he would delete packages that he explicitly installed.

Last edited by billy (2007-02-25 12:17:13)

Offline

#8 2007-02-25 12:17:20

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: A small sugestion, pacman deveolpers team please read this post

Yes, pacman3 has a 'fixed' orphan list billy.

Offline

#9 2007-02-25 12:29:05

tsangpo
Member
From: Poland
Registered: 2007-02-25
Posts: 23

Re: A small sugestion, pacman deveolpers team please read this post

Where to get pacman3 from ?

Offline

#10 2007-02-25 15:19:42

stonecrest
Member
From: Boulder
Registered: 2005-01-22
Posts: 1,190

Re: A small sugestion, pacman deveolpers team please read this post

tsangpo wrote:

Where to get pacman3 from ?

A public testing package for pacman3 should be available soon. Otherwise browse around, the pacman source code is in cvs.


I am a gated community.

Offline

#11 2007-02-25 15:55:15

chaosgeisterchen
Member
From: Kefermarkt, Upper Austria
Registered: 2006-11-20
Posts: 550

Re: A small sugestion, pacman deveolpers team please read this post

If you are intending to remove orphan packages pre-pacman3, you may consider reading this thread.

Last edited by chaosgeisterchen (2007-02-25 15:55:39)


celestary
Intel Core2Duo E6300 @ 1.86 GHz
kernel26
KDEmod current repository

Offline

#12 2007-02-25 17:05:59

tsangpo
Member
From: Poland
Registered: 2007-02-25
Posts: 23

Re: A small sugestion, pacman deveolpers team please read this post

Thanks :-)

Offline

#13 2007-02-25 22:04:42

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: A small sugestion, pacman deveolpers team please read this post

For the record, an "auto-remove" function is mostly against arch philosophy.  Doing things automatically that should be controlled (i.e. removing packages) is generally a bad idea

Offline

Board footer

Powered by FluxBB