Slackware This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
10-28-2012, 10:49 AM
|
#1
|
|
Member
Registered: Feb 2010
Distribution: Slackware
Posts: 83
Rep:
|
Slackpkg install-new question
Machine is running Slackware 14, many unused packages have been removed. When running "slackpkg install-new", it displays the following (see attachement): - bluedevil-1.2.3-i486-1.txz
- calligra-2.4.3-i486-4.txz
- wicd-kde-0.3.0_bcf27d8-i486-1.txz
- quanta-29a3f8e_20111223git-i486-1.txz
In a Slack 14 VM, I tested this again and removed the whole kde series and some non-kde packages as well. "slackpkg install-new" listed only the kde packages to be installed. If i understood the slackpkg man page correctly, this shouldn't happen as this is not an upgrade to a new version and I'm not running current.
Code:
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.
Why does slackpkg only suggest the removed kde packages but not others? thunderbird and seamonkey were also removed for instance but the install-new option does not list them. In other words, it seems that only the kde series is treated as new.
|
|
|
|
10-28-2012, 11:37 AM
|
#2
|
|
Senior Member
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware-14.0 on a Lenovo T61 6457-4XG
Posts: 2,782
|
Here new means "recently added among the official packages", according to the Changelog (looking for the 'added' word in it). It won't propose you already shipped packages you uninstalled or didn't install.
|
|
|
|
10-28-2012, 11:43 AM
|
#3
|
|
Member
Registered: Apr 2011
Posts: 65
Rep:
|
Quote:
Originally Posted by Didier Spaier
Here new means "recently added among the official packages", according to the Changelog (looking for the 'added' word in it). It won't propose you already shipped packages you uninstalled or didn't install.
|
And that's why it says "Run this if you are upgrading your
system to another Slackware version or if you are using -current."
It's not designed to reinstall packages that ship in a FULL install that you might have uninstalled; for that you have run "install packagename" for each one of them
|
|
|
|
11-01-2012, 02:14 AM
|
#4
|
|
Member
Registered: May 2010
Location: Stumptown
Distribution: Slackware 13.37~14.0~xmonad
Posts: 129
Rep:
|
If I might interject here...
Quote:
Originally Posted by beder
And that's why it says "Run this if you are upgrading your
system to another Slackware version or if you are using -current."
It's not designed to reinstall packages that ship in a FULL install that you might have uninstalled; for that you have run "install packagename" for each one of them
|
That's interesting. Beginning with 13.1 I've been using "install-new" as part of my regular updating:
# slackpkg update
# slackpkg install-new
# slackpkg upgrade-all
Not sure where I got the idea that this was the correct way to maintain a discrete Slackware version.
In the past, and on my other machine running 13.37, "install-new" has pulled in single packages which are indeed new to the running Slackware version.
So would I be correct in stating that during the lifetime of a specific Slackware version it is not to be expected that official packages be added?
I'm asking because I removed all of KDE (slackpkg remove kde), and can't run "install-new" without slackpkg wanting to re-install a big bunch of what I just removed.
Last edited by STDOUBT; 11-01-2012 at 02:23 AM.
Reason: completeness
|
|
|
|
11-01-2012, 04:37 AM
|
#5
|
|
Senior Member
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware-14.0 on a Lenovo T61 6457-4XG
Posts: 2,782
|
Quote:
Originally Posted by STDOUBT
So would I be correct in stating that during the lifetime of a specific Slackware version it is not to be expected that official packages be added?
I'm asking because I removed all of KDE (slackpkg remove kde), and can't run "install-new" without slackpkg wanting to re-install a big bunch of what I just removed.
|
Usually we don't see that much added packages in a stable version, but nobody can prevent PV to do that if so inclined as he is our BDFL
About slackpkg what it does when invoked with the --install-new option is scanning the Changelog with following regular expression (quoted from /usr/libexec/slackpkg/install-new.awk on Slackware 13.37):
Code:
/^(a|ap|d|e|f|k|kde|kdei|l|mac|n|t|tcl|x|xap|y)\/([a-zA-Z0-9_\+.\-]+):.* ([Aa]dded|[Ss]plit|[Rr]enamed|[Mm]oved|[Nn]ame [Cc]hange|NAME CHANGE|[Ss]witched).*/
This catches not only "added" or "Added" but for instance "Name Change", "Renamed" or "Moved" as well.
Last edited by Didier Spaier; 11-02-2012 at 12:21 PM.
|
|
|
|
11-01-2012, 05:43 AM
|
#6
|
|
Slackware Contributor
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 4,677
Rep: 
|
Quote:
Originally Posted by Didier Spaier
Usually we don't see that much added packages in a stable version, but nobody can prevent PV to do that if so inclined as he is our BDFL
About slackpkg what it does when invoked with the --install-new option is scanning the Changelog with following regular expression (quoted from /usr/libexec/slackpkg/install-new.awk on Slackware 13.37):
Code:
/^(a|ap|d|e|f|k|kde|kdei|l|mac|n|t|tcl|x|xap|y)\/([a-zA-Z0-9_\+.\-]+):.* ([Aa]dded|[Ss]plit|[Rr]enamed|[Mm]oved|[Nn]ame [Cc]hange|NAME CHANGE|[Ss]witched).*/
This catches not only "added or Added" but for instance "Name Change", "Renamed" or "Moved" as well.
|
New packages are not being added to stable releases of Slackware.
There has been one exception to this rule when Pat added a kernel package to the patches of Slackware 13.0 to resolve a local root exploit that was getting much attention.
The ChangeLog will never have attributes of "Name Change", "Renamed" or "Moved" so there is no point in adding a check for this in slackpkg.
Eric
|
|
|
|
11-01-2012, 05:53 AM
|
#7
|
|
Senior Member
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware-14.0 on a Lenovo T61 6457-4XG
Posts: 2,782
|
Quote:
Originally Posted by Alien Bob
The ChangeLog will never have attributes of "Name Change", "Renamed" or "Moved" so there is no point in adding a check for this in slackpkg
|
I didn't express an opinion on the relevance of these checks, just wanted to inform accurately STDOUBT how slackpkg works in that case.
EDIT And 'grep Moved Changelog.txt' (Slackware 13.37) do output some results.
Last edited by Didier Spaier; 11-01-2012 at 09:18 AM.
Reason: EDIT added.
|
|
|
|
11-01-2012, 01:44 PM
|
#8
|
|
Slackware Contributor
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 4,677
Rep: 
|
Yeah you are right, I mis-read your post.
Eroc
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 11:36 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|