[SOLVED] slackpkg clean-system wants to remove /var/log/packages as a package
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
slackpkg clean-system wants to remove /var/log/packages as a package
Hi everyone,
I am on Slackware64-current, now, and loving it!
However, after performing the latest updates of today, i.e. Sun Nov 15 00:02:28 UTC 2020, I also ran
Code:
slackpkg clean-system
To my surprise, the list of packages to be removed contains /var/log/packages. Which isn't a package as such, actually, right? I must have accidently done something severely stupid, but I have no idea, what it could be.
I really have no clue what's going on here. Does anyone else see this?
I'd appreciate any recommendation how to find out, how this directory made it into the list...
Thanks in advance!
This assumes you have /etc/slackpkg/mirrors pointing to a valid mirror.
Thanks, just tried it, but /var/log/packages is still included in the list of packages to be removed for a "clean" system.
To be honest, I am a little afraid that having slackpkg remove /var/log/packages will do quite a bit more than removing 3rd party packages. If this wasn't my main box I'd give it try and see, what would happen...
Thanks anyhow, good advice in any case, just not quite there, yet.
All correct. I selected the 3rd part packages manually, because I want to keep most of them.
Thanks, just tried it, but /var/log/packages is still included in the list of packages to be removed for a "clean" system.
To be honest, I am a little afraid that having slackpkg remove /var/log/packages will do quite a bit more than removing 3rd party packages. If this wasn't my main box I'd give it try and see, what would happen...
Thanks anyhow, good advice in any case, just not quite there, yet.
gargamel
I let slackpkg try and remove \var\log\packages and did not receive an error. It didn't actually remove it that I am aware of.
*edited to say that I did not receive an error.
Last edited by Bertman123; 11-16-2020 at 08:09 AM.
Definitely not a rogue entry in /var/lib/pkgtools/packages/...
Now some questions to see if we can find out what could've caused this...
How did you get to your present version from what was installed? (Did you install 14.2 and update to -current or did you directly install -current?)
How long has your system been on -current?
How frequently do you upgrade your -current install?
What version of slackpkg are you using (and slackpkg+, if that's installed)? (ls -l /var/lib/pkgtools/packages/*slackpkg*)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.