FS#10799 - Haunted pacscan, find install leftovers

Attached to Project: Pacman
Opened by Ben Dibbens (ibendiben) - Tuesday, 01 July 2008, 10:19 GMT
Last edited by Allan McRae (Allan) - Saturday, 09 August 2008, 15:44 GMT
Task Type Feature Request
Category General
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version 3.1.4
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 6
Private No

Details

Have a look at these topics:

http://bbs.archlinux.org/viewtopic.php?id=7721
http://bbs.archlinux.org/viewtopic.php?id=34180
http://bbs.archlinux.org/viewtopic.php?id=43548
http://bbs.archlinux.org/viewtopic.php?id=45939
http://bbs.archlinux.org/viewtopic.php?id=10878
http://bbs.archlinux.org/viewtopic.php?id=7720

pacscan (proposition by phrakture junior) now four years later:

V * Display all installed packages
V * Display installed packages in a tree format (dependancy based)
V * Display all installed files (basically a -Ql on all installed packages)
V? * Check for missing files (similar to above except tests for file)
X * Check for unowned files (similar to skeeterbug's script in another thread, but done in C/C++ and optimized to work on a cached pacman database listing)

Phrakture you promised! Finish the ultimate task... or it will haunt you forever :p
This task depends upon

Closed by  Allan McRae (Allan)
Saturday, 09 August 2008, 15:44 GMT
Reason for closing:  Implemented
Additional comments about closing:  See comment below
Comment by Allan McRae (Allan) - Tuesday, 01 July 2008, 10:37 GMT
* Display all installed packages
"pacman -Q"

* Display installed packages in a tree format (dependancy based)
These scripts should provide a starting point:
http://bbs.archlinux.org/viewtopic.php?t=10283 (by skoal)
http://bbs.archlinux.org/viewtopic.php?t=10339 (by Spider.007)

* Display all installed files (basically a -Ql on all installed packages)
"pacman -Ql" does this.

* Check for missing files
* Check for unowned files
These scripts should provide a start:
http://bbs.archlinux.org/viewtopic.php?id=45939 (by Spider.007)
http://bbs.archlinux.org/viewtopic.php?id=43548
Comment by Ben Dibbens (ibendiben) - Tuesday, 01 July 2008, 13:15 GMT
You are right the tree format isn't implemented either...
So it should be:
V * Display all installed packages
X * Display installed packages in a tree format (dependancy based)
V * Display all installed files (basically a -Ql on all installed packages)
V? * Check for missing files (similar to above except tests for file)
X * Check for unowned files (similar to skeeterbug's script in another thread, but done in C/C++ and optimized to work on a cached pacman database listing)

Now I know people have been trying to make tools for this... Me too: Ben Dibbens = ibendiben... I know of all the options, I just thought it would be nice if sometime these features were a part of pacman...
As you can see in the topics, the demand is there...
Comment by Xavier (shining) - Saturday, 05 July 2008, 23:30 GMT
I am confused by these V/X notations, and also more generally by your posts.
But Allan made a better sumup of the situation imo. We have scripts for getting tree format, and scripts for checking missing/unowned files.
So the goal here is to come up with two perfect scripts, based on these existing ones, and submit them to pacman-dev ML so that they can be included in either pacman or pacman-contrib packages.
It goes without saying that help is welcome :)
Comment by Dan McGee (toofishes) - Thursday, 24 July 2008, 02:28 GMT
Progress? Otherwise I want to close bug reports that aren't going to go anywhere.
Comment by Allan McRae (Allan) - Thursday, 24 July 2008, 03:01 GMT
The only thing that is not covered on the list is a script that lists files that are in the pacman db but not on the computer, and that are on the computer but not in the pacman db. There are a couple of versions on the forums which never made their way to the pacman-dev list like I asked...
Comment by Allan McRae (Allan) - Saturday, 09 August 2008, 15:44 GMT
Closing. Most requests implemented in pacman/pacman-contrib. Scripts are available on forums for remainder. Tidy them and submit them to the pacman-dev list for formal inclusion.

Loading...