For you, Brian, or anyone else reading this post, I am working with 14.2
current and spent most of the day removing many files (mostly games)
from the system and I will be attempting to install about 25 programs in
an attempt to try and duplicate my present Debian system. I have
already installed PaleMoon browser and Libre Office suite - both work
This is an aside to my main reply to this post, but when I originally
read this, I read it as your having gone through and *manually* deleted
files -- but later when I read on in this thread I saw that you had gone
through and actually removed the packages. I have to admit, I breathed a
little sigh of relief!
My question is that when I do upgrades to the system, will all of those
removed files be reinstalled and I would have to go through the rather
tedious removal again? I understand that I can keep those added
third-party files safe from slackpkg manipulations by blacklisting them.
It seems like you have pieced together the answer to this question, my
having reviewed the other responses on this thread, but in case someone
else is browing here and looking for the answer, I thought I'd explain
my understanding of how slackpkg works here.
I'll just explain in the context of using stable Slackware releases (eg,
14.2), because it's a bit more complicated when you throw -current into
When you run `slackpkg upgrade-all`, it only upgrades packages you
actually have installed. It never pulls in any additional packages,
ever. If you're running a stable release, it tracks the 'patches'
directory on Slackware's FTP server or the applicable mirror thereof, so
you'll basically pull in security and stability updates and nothing
One of the best things about slackpkg is that it makes it very easy to
upgrade from one major release of Slackware to the next.
This serves as a convenient alternative to the traditional methodology
of reading UPGRADE.TXT on the Slackware FTP server and following the
instructions. Which, incidentally, I would try utilizing as an exercise
perhaps the first time you update Slackware, so you can have a good
understanding of first principles. I avoided using slackpkg for years
and have upgraded my distribution several times without a hitch by
following the instructions in UPGRADE.TXT.
Back to slackpkg.... So when Slackware 15.0 comes out, for example, you
would upgrade the distribution as follows, after bumping version numbers
in your config files:
'update' just updates the package lists, and should be done pretty much
every time you launch slackpkg.
'install-new' really touches upon what we're talking about here.
It actually goes ahead and parses Slackware's ChangeLog.txt for packages
that have been added to the distribution since the last release (ie, in
this hypothetical, from 14.2 to the upcoming 15.0).
It does not go ahead and re-install packages you have already removed,
because those would NOT count as packages that have been newly added to
the distribution itself.
'upgrade-all', we've already talked about. In this instance it would
upgrade all pre-existing 14.2 packages on your machine to their 15.0
'clean-system', I mentioned is optional. What it does is, it gives you
the option to remove all packages that are not part of the Slackware
distribution. If you have *nothing* but first party packages installed,
this would be quite useful when upgrading from one major release to the
next, as it would basically just remove all packages that have been
removed from the distribution between 14.2 and 15.0 (in this
Personally I don't care for this functionality as I tend to have many
third party packages on my system. So the only way to make this function
have the intended effect would be to be very smart with your
What I usually do is skip this step, pull up UPGRADE.TXT (remember
that?) and just manually run the `removepkg` command indicated in that
file to remove packages that have been removed from the distribution
since the previous release.
So to answer your question, no! slackpkg is smart enough not to have the
situation you have described occur. This would be undesirable to most
If you *do*, though, want to restore a full Slackware install at any
time, what you would do is run `slackpkg install slackware` which
basically gives you the option to install all packages from the
Slackware distribution as a whole that you do not already have
installed. It will not reinstall packages that are already installed and
Hope this helps! Happy slacking! :^)
-LARathbone (aka Poprocks)
PS: This is my first newsgroup post in a while. While this group seems
fairly active, you may wish to check out the LinuxQuestions.org
Slackware message board, which is the /de facto/ official support forum