Identifying "non-native" Slackware-packages in /var/log/packages
I would like every once in a while to get a list of all software installed on my system that is not a native part of Slackware (ie which packages came from Pat, and which came from various other slackbuilds?)
Anyone got a good command and/or script to do this? -Y1 |
What you should do is maintain a ChangeLog just as Patrick does, so you know what you installed, when you installed it and where it came from.
Dennisk |
Quote:
-Y1 |
Have "ls" display the contents of /var/log/packages sorted by date. That won't tell you everything but it will give you a lot of hints.
|
I'm almost there - hopefully this should be a significant step towards a functional solution:
Code:
ls -1 /var/log/packages >/tmp/installed_packages Any sed-gurus here who know how to edit my sed statement to make this happen? -Y1 |
There is an option in slackpkg to remove all software which doesn't belong to a standard install, although that doesn't seem to be what you're looking for.
|
Here's the solution - a bit crude, but does exactly what I needed..
Code:
#!/bin/sh |
Or if your lucky, usually the non-native packages have a name abbreviaton at the end (like all pkgs from linuxpackages.net). Or sometimes the lack of info (description) can be a starting point.
|
Quote:
Code:
root@slackbox:~# slackpkg clean-system |
All times are GMT -5. The time now is 09:39 AM. |