You are not logged in.

#1 2004-01-04 10:03:54

rasat
Forum Fellow
From: Finland, working in Romania
Registered: 2002-12-27
Posts: 2,293
Website

Package Sweeper (for Arch Linux)

"Too many packages installed taking unnecessary HD space but not knowing what to remove. Afraid of breaking package dependencies or removing important programs. Or too many similar programs are installed confusing the navigation."

These are common questions. Package Sweeper sorting installed packages in categories instead of displaying in one column, which could be up to 500 programs, handles the removal in a systematic manner. Before removing any packages, details are given (dependencies and required by other packages) allowing the user to control the removal. Package Sweeper also checks if there are conflicting packages. And there is an additional category ("unknown") showing user's local made and TUR packages. Beside this "unknown" category, all other categories are based on Arch Linux's structure copied from the home page.

<b>Pkg sweeper:</b>
http://amlug.net/new-projects/pkgsweepe … eeper.html

<b>How to install & uninstall:</b>
# pacman -A pkgsweeper-x.x-x.pkg.tar.gz
# pacman -R pkgsweeper

<b>How to run:</b>
# pkgsweeper ( in root)

<b>NOTE:</b>
1. The category template which is used, is temporary / virtual only.
2. Whenever there is a new update of template or change among installed packages, it takes several minutes to update depending on the number of packages and processor.


Markku

Offline

#2 2004-01-04 13:43:16

rasat
Forum Fellow
From: Finland, working in Romania
Registered: 2002-12-27
Posts: 2,293
Website

Re: Package Sweeper (for Arch Linux)

Version 0.2 is uploaded. Few bugs were fixed and instead of naming the additional category as "unknown" its now "local".


Markku

Offline

#3 2004-01-04 19:38:47

jlvsimoes
Member
From: portugal
Registered: 2002-12-23
Posts: 392
Website

Re: Package Sweeper (for Arch Linux)

nice


-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GU/ d- s: a- C L U P+ L+++ E--- W+
N 0+ K- W-- !O !M V-- PS+ PE- V++ PGP T 5 Z+ R* TV+ B+
DI-- D- G-- e-- h! r++ z+ z*
------END GEEK CODE BLOCK------

Offline

#4 2004-01-04 23:47:51

pcs333
Member
Registered: 2003-10-18
Posts: 31

Re: Package Sweeper (for Arch Linux)

this is a brilliant program rasat  big_smile

ideal for all the noobs like me  smile

Offline

#5 2004-02-18 14:53:46

Moo-Crumpus
Member
From: Hessen / Germany
Registered: 2003-12-01
Posts: 1,487

Re: Package Sweeper (for Arch Linux)

Would it be nice to have it check against pacman's server list, and fetch and install files? In the manner of tasksel, it would be nice.


Frumpus addict
[mu'.krum.pus], [frum.pus]

Offline

#6 2006-03-10 12:51:53

wain
Member
From: France
Registered: 2005-05-01
Posts: 289
Website

Re: Package Sweeper (for Arch Linux)

Great program !!  8)

Offline

#7 2006-03-10 17:18:58

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: Package Sweeper (for Arch Linux)

Holycrap 2 year old thread I never even knew existed!

Offline

#8 2006-03-10 17:41:03

wrj
Member
Registered: 2006-02-21
Posts: 17

Re: Package Sweeper (for Arch Linux)

thank you


-w

Offline

#9 2006-03-16 13:09:17

kozaki
Member
From: London >. < Paris
Registered: 2005-06-13
Posts: 671
Website

Re: Package Sweeper (for Arch Linux)

Hey! Great features big_smile

wrj > Is it by purpose it's not in AUR ?


Seeded last month: Arch 50 gig, derivatives 1 gig
Desktop @3.3GHz 8 gig RAM, linux-ck
laptop #1 Atom 2 gig RAM, Arch linux stock i686 (6H w/ 6yrs old battery smile) #2: ARM Tegra K1, 4 gig RAM, ChrOS
Atom Z520 2 gig RAM, OMV (Debian 7) kernel 3.16 bpo on SDHC | PGP Key: 0xFF0157D9

Offline

#10 2006-03-16 14:06:25

Sigi
Member
From: Thurgau, Switzerland
Registered: 2005-09-22
Posts: 1,131

Re: Package Sweeper (for Arch Linux)

Headline:  Forum thread reanimated, survived more than 2 years in coma big_smile


Haven't been here in a while. Still rocking Arch. smile

Offline

#11 2006-03-17 14:42:38

MAC!EK
Member
Registered: 2005-09-27
Posts: 267

Re: Package Sweeper (for Arch Linux)

pkgsweeper shows these conflicts:

x acl --> conflicts with : xfsacl                                    
x amarok-base-mysqlfree --> conflicts with : amarok-base             

I don't have amarok-base only amarok-base-mysqlfree and also no xfsacl.
I suppose that pkgsweeper checks the package list with grep and when finds amarok-base-mysqlfree and acl which match the syntax he suggests this as a conflict.

I could repair it myself in the source of the Bash script but it's written a little bit messy.
rasat You did a great job but why don't You use pipes? It would spedd all that very much and it would be more readable for others.

Offline

#12 2006-03-20 10:43:26

rasat
Forum Fellow
From: Finland, working in Romania
Registered: 2002-12-27
Posts: 2,293
Website

Re: Package Sweeper (for Arch Linux)

MAC!EK wrote:

I could repair it myself in the source of the Bash script but it's written a little bit messy.
rasat You did a great job but why don't You use pipes? It would spedd all that very much and it would be more readable for others.

pkgsweeper was one of my bash learning projects. Still I am leaning, what's "pipes"?


Markku

Offline

#13 2006-03-20 10:53:09

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: Package Sweeper (for Arch Linux)

pipe="grep something /path/to/file |sed s'|some_stuff|for_something|g' |wc -c"

the `|' is a pipe, they 'pipe' information from one end to another.

Offline

#14 2006-03-20 11:10:10

rasat
Forum Fellow
From: Finland, working in Romania
Registered: 2002-12-27
Posts: 2,293
Website

Re: Package Sweeper (for Arch Linux)

Thanks, didn't know it has a name though using it quite often.
I will pipe the pkgsweper and upgrade a bit.


Markku

Offline

#15 2006-03-20 13:56:56

MAC!EK
Member
Registered: 2005-09-27
Posts: 267

Re: Package Sweeper (for Arch Linux)

rasat wrote:

pkgsweeper was one of my bash learning projects. Still I am leaning, what's "pipes"?

I didn't want to attack You in any way, I just wanted to inform You to make You a better bash scripter smile

You could also replace this:

cat $PKGS | grep "$category/"

with:

grep "$category/" $PKGS

It no diffrence in the functioning of this but it can increase speed and is more clear.

Offline

Board footer

Powered by FluxBB