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.
Distribution: Slackware loved and lost, Ubuntu current.
Posts: 34
Original Poster
Rep:
It's a stupid place for them to be kept anyway - since when did deleting log files break an application? they aren't even strictly log files, they're configuration files and should be stored in /etc (or even /root) accordingly
One thing you can do is "reinstall" everything by using installpkg. Instead of merging in the *.new files in /etc, you can just delete them (because they're already current). The trickiest part is packages you installed via installpkg that aren't official packages.
Distribution: Slackware loved and lost, Ubuntu current.
Posts: 34
Original Poster
Rep:
yea, i've not got anywhere near a full Slackware install though - i'd spent ages figuring out which packages were essential, to have the slimmest possible system. A few non-official packages are in there, most of which I can remember though.
I'm thinking of a script that would scan the contents of all the official packages, then check the system for those files to build a list of installed packages, which could then be used to installpkg what was needed...
time to get that scripting for dummies book out I think.
Distribution: Slackware loved and lost, Ubuntu current.
Posts: 34
Original Poster
Rep:
no backups - i'd never bothered up until now since this is only my second clean install of Linux, and having to do it all again might not be such a bad thing since i'm still learning what the best way of working is. It's a good point though, and now that i've got a pretty customised system which works well, i think now might be the time to start making them.
Quote:
Originally Posted by LittleA
Why do you want them back ? Chances are you won`t need them anyway ...
Most of them, probably not. I'm sure i'll eventually need to upgrade some packages with newer versions though, some of which I may have to compile from source, and from past experience it's best to remove all traces of an old version rather than just installing a new one over the top and hoping for the best...
Most of them, probably not. I'm sure i'll eventually need to upgrade some packages with newer versions though, some of which I may have to compile from source, and from past experience it's best to remove all traces of an old version rather than just installing a new one over the top and hoping for the best...
Right, and my past experiences tells me you don`t need them, they just make live on a Slack-machine a little more simple.
But, if you really want to install a new one ( even stuff compiled from scratch ), what is keeping you of installing just that one(1) package again and promptly remove it after you installed it, before you install the fancy new things ?
Distribution: Slackware loved and lost, Ubuntu current.
Posts: 34
Original Poster
Rep:
yea you're right... i'm probably being overly pedantic, and it would make things simpler, with no easy way to remove any more packages just to see if I could minimalise things any further and then ending up breaking things
You need the name of the installed packages in case of upgrading, because you need to REMOVE them. It's not a problem to not remove them, but you are going to have some wasted disk space.
On the other hand a scenario: You want to upgrade from Slackware 10.2 to Slackware 11. koffice-1.5.2 is replacing koffice-1.4.1. After the upgrade you "should" remove old koffice since some (few in that case) files are in /usr/doc
In last resort you can remove the package from cd with removepkg /cd_path/koffice-1.4.1_bla_bla.tgz
or (if have the nerves, or a backup) you can issue removepkg /old_slack_dvd_path/..../packages/*.tgz AFTER the FULL-FORCED upgrade (upgradepkg --reinstall). removepkg have some IQ and it will not remove packages that exists in other packages. So, it seems that you will be safe.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.