Read the changelog to check for package removal
Slackware64-current is in the midst of very active development. Packages are being upgraded and or added on an almost daily basis.
Sometimes Mr. Volkerding also removes packages; this is noted in the -current changelog. For example: Code:
Sat Jan 11 21:58:08 UTC 2020 Code:
# slackpkg clean-system |
Quote:
|
Read the changelog to check for package removal
You safely can unselect those packages you wouldn't have blacklisted ;-)
You know, during years I never used that because I feared it would remove everything without prompt! |
That's true, you'll want your blacklist up to date before running slackpkg clean-all (although it gives you the chance to de-select packages that you actually want). In general that's not too hard, e.g., the default commented line:
Code:
[0-9]+_SBo |
...or if you're really paranoid about making a mistake:
no package selection: Code:
slackpkg -onoff=off clean-system |
Quote:
|
Quote:
Is there somewhere where this is documented? Because I double-checked the man page and didn't see it. Not doubting you that it's there and it works, just wondering where else I might be able to look for future reference. |
Quote:
Code:
ONOFF |
Quote:
|
for a good reason exist
/etc/slackpkg/blacklist as example to no remove alien or compat32 ...can blacklist # If want remove compat32 comment this two tags below # Removing this , disable wine usage. [0-9]+compat32 [0-9]+alien If use slackbuilds , can add [0-9]+SBo and clean-system ,turns secure action for third party packages. After all , clean-system , show you a menu first , with a list of remove packages list ...you can deselect if no want to remove someone. |
And should your friend actually manage to hose things with "clean-system," a list of your removed packages is in /var/log/removed_packages. ls -I can exclude things that have been upgraded, kernel packages, and the like.
|
Quote:
|
slackroll will tell you which packages that aren't available any more with the list-transient command.
|
Btw: 'onoff' and co are the slackpkg.conf manpage, not slackpkg.
Edit: D'oh, nevermind, Chuck56 already said that. Well, uhh... Uh... in case you are going through the removed files 'manually', maybe by searching the changelog, using removepkg instead, well, there's a '--copy' switch that generates an 'exploded' (aka, not tied up on a txz file) backup of the package which you could then re-generate if needed. Ahem...hopefully that's less of a wasted post now... (and the worst thing is, I wasn't even aware of that until y'all told me so... hahaa) |
Quote:
|
All times are GMT -5. The time now is 04:03 AM. |