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.
I just want regular updates (security, bug fixes, etc) to my system software and extra apps that come with Slackware 14.
Should I do this?:
Code:
slackpkg update
slackpkg upgrade patches
upgrade-all freaks me out, because (to me) it sounds like it will upgrade me to a new slackware version (15 when it's out, or current)
and install-new popped up a box with pre-chosen items that aren't even on my system - a bunch of KDE "crap" that I chose not to install when installing slackware. So, is there a reason for me to use install-new?
On my laptop, where I just now installed Slackware 14, I did
even though I don't fully understand what's going on with upgrade-all.
I cancelled out of the "slackpkg install-new" when I saw the window with all the kde stuff, and a ton of other pre-selected items. Most of the how-to's that I've googled tell people to include it though.
upgrade-all
This action upgrades every package installed on the system to the
version in the official Slackware tree; this is the "good" way to
upgrade the entire system.
Remember to use the "install-new" action before you use "upgrade-
all."
install-new
This action installs any new packages that are added to the offi-
cial Slackware package set. Run this if you are upgrading your
system to another Slackware version or if you are using -current.
If you want to install all uninstalled Slackware packages onto
your system, use the following command instead of the install-new
action:
# slackpkg install slackware.
So upgrade-all will upgrade any packages on your system to newer versions for your Slackware release, e.g. security patches and bug fixes. EDIT - see below discussion.
In the file /etc/slackpkg/mirrors you specify a single mirror, and the URL points to the location of a single version on that mirror. Accordingly, upgrade-all will not upgrade your packages to those from a different version of Slackware.
... install-new popped up a box with pre-chosen items that aren't even on my system - a bunch of KDE "crap" that I chose not to install when installing slackware.
Just because you chose not to install something, doesn't mean that it is crap.
... install-new popped up a box with pre-chosen items that aren't even on my system - a bunch of KDE "crap" that I chose not to install when installing slackware.
Just because you chose not to install something, doesn't mean that it is crap.
Just because you chose not to install something, doesn't mean that it is crap.
well... no disrespect meant toward you or anyone else. That's just my personal opinion. I guess I was just surprised and shocked to see that I could've inadvertently installed those packages, after making the happy decision to have a "KDE-clean" install.
EDIT (off-topic):
I switched back to KDE on my main desktop and I have to say, I really do like it there.
Last edited by stringchopper; 03-09-2013 at 06:54 AM.
@stringchopper: Slackware 14.0 was released on 2012-09-28 and since then no package whose name begins with "kde" was included in it.
So, either
(1) you are running Slackware-current, not Slackware 14.0
(2) You uncommented a wrong mirror in /etc/slackpkg/mirrors, i.e. one whose URL does not end in slackware-14.0/
Else it is impossible that you see anything kde related running "slackpkg install-new" as it would show as "added" in the Changelog more recently than the release date.
@stringchopper: Slackware 14.0 was released on 2012-09-28 and since then no package whose name begins with "kde" was included in it.
So, either
(1) you are running Slackware-current, not Slackware 14.0
(2) You uncommented a wrong mirror in /etc/slackpkg/mirrors, i.e. one whose URL does not end in slackware-14.0/
Else it is impossible that you see anything kde related running "slackpkg install-new" as it would show as "added" in the Changelog more recently than the release date.
This means, if you enable a Slackware 14.0 repository in slackpkg and then run "slackpkg install-new" you will see all those 109 packages listed for installation. That is how slackpkg works. It scans the ChangeLog.txt of that release for all packages which have the string "Added" which means they were added during development of the release, and are therefore new in comparison with the previous release.
A "slackpkg install-new" does not mean "install all packages which are part of Slackware and which I have not yet installed" ! It means "install all packages which have been added between the previous and this Slackware release".
That is why you always accompany the command "slackpkg install-new" and "slackpkg upgrade-all",
A "slackpkg install-new" does not mean "install all packages which are part of Slackware and which I have not yet installed" ! It means "install all packages which have been added between the previous and this Slackware release".
But Eric isn't this only true when using slackpkg to upgrade from one release to another release? If one is using slackpkg to maintain an installed release (not upgrading to a new release) then doesn't install-new list packages that were not installed originally? I do not install kde so when I use slackpkg install-new on my 14.0 system it shows the kde packages, which I then blacklist so they don't keep showing up.
Edit: I mention this because the OP is just using slackpkg to maintain a system, not upgrade to another release.
But Eric isn't this only true when using slackpkg to upgrade from one release to another release? If one is using slackpkg to maintain an installed release (not upgrading to a new release) then doesn't install-new list packages that were not installed originally? I do not install kde so when I use slackpkg install-new on my 14.0 system it shows the kde packages, which I then blacklist so they don't keep showing up.
Huh. On my 14.0 system without kde or calligra packages installed, if I don't have kde* and calligra* listed in the blacklist file, slackpkg install-new will list them. If I do have kde* and calligra* listed in the blacklist file then they don't show up. *shrug*
Huh. On my 14.0 system without kde or calligra packages installed, if I don't have kde* and calligra* listed in the blacklist file, slackpkg install-new will list them. If I do have kde* and calligra* listed in the blacklist file then they don't show up. *shrug*
That is just because those packages were new in Slackware 14.0. If you would upgrade to slackware-current and still not have anything of KDE installed, none of those packages will show up in "slackpkg install-new" anymore, because they were not added in to the release (-current) which you configured slacpkg for.
That is just because those packages were new in Slackware 14.0. If you would upgrade to slackware-current and still not have anything of KDE installed, none of those packages will show up in "slackpkg install-new" anymore, because they were not added in to the release (-current) which you configured slacpkg for.
Distribution: SOLARIS/BSD-like, some Debian-like, some Arch-like, some GENTO-like, some RH-like, some slacky-like
Posts: 386
Rep:
Quote:
Originally Posted by chess
From the slackpkg man page:
Code:
upgrade-all
This action upgrades every package installed on the system to the
version in the official Slackware tree; this is the "good" way to
upgrade the entire system.
Remember to use the "install-new" action before you use "upgrade-
all."
install-new
This action installs any new packages that are added to the offi-
cial Slackware package set. Run this if you are upgrading your
system to another Slackware version or if you are using -current.
If you want to install all uninstalled Slackware packages onto
your system, use the following command instead of the install-new
action:
# slackpkg install slackware.
So upgrade-all will upgrade any packages on your system to newer versions for your Slackware release, e.g. security patches and bug fixes. EDIT - see below discussion.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.