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. |
|
 |
12-18-2009, 09:51 AM
|
#1
|
|
Member
Registered: Dec 2009
Distribution: Ubuntu Karmic Koala, Slackware 13.0
Posts: 66
Rep:
|
What is the difference between -current and 13.0?
I was trying to learn how to keep my Slackware 13.0 up-to-date, then I noticed there are these two types of mirrors I have to choose. If 13.0 is the latest, what is the difference?
I just changed the mirror in /etc/slackpkg/mirrors from a 13.0 to a -current server, and now I have many updates...
Another problem, when I tried to "slackpkg update" then "slackpkg check-updates" in both cases, it returned: "No news is good news"... Yet, when I used "slackpkg upgrade-all", there WERE packages to be upgraded... WHat is the purpose of "check-updates"?
Thanks in advance!
|
|
|
|
|
Click here to see the post LQ members have rated as the most helpful post in this thread.
|
12-18-2009, 09:59 AM
|
#2
|
|
Senior Member
Registered: Jul 2008
Location: /dev/null
Posts: 1,173
Rep: 
|
-current is the development branch of Slackware Linux, which goes through testing and gets incorporated in the next version of Slackware.
-stable is the released branch,which is 13.0 presently.
Important Info:
http://www.slackware.com/faq/do_faq.php?faq=general#5
http://www.slackware.com/changelog/
Regards
Last edited by ~sHyLoCk~; 12-18-2009 at 10:02 AM.
|
|
|
1 members found this post helpful.
|
12-18-2009, 10:59 AM
|
#3
|
|
Member
Registered: Dec 2009
Distribution: Ubuntu Karmic Koala, Slackware 13.0
Posts: 66
Original Poster
Rep:
|
Thanks for the explanation, ~sHyLoCk~! I was trying to find this information on the mirrors, but couldn't...
Also, what about the check-updates option in slackpkg? Why didn't it show me there were packages to be updated?
|
|
|
|
12-18-2009, 11:25 AM
|
#4
|
|
Senior Member
Registered: Jul 2008
Location: /dev/null
Posts: 1,173
Rep: 
|
From man page:
update:
The "update" action will download and format the list of files and packages in Slackware. Every time this list is changed, the update need to be run.
check-updates:
Verify if there is any update to ChangeLog.txt.
If there's no update to Changelog.txt, you get the message you go in your first post.
Quote:
|
Also, what about the check-updates option in slackpkg? Why didn't it show me there were packages to be updated?
|
First make a choice, which branch will you follow. Stable or Current. Then uncomment one mirror from you /etc/slackpkg/mirrors
Then re-run:
Code:
slackpkg update
slackpkg install-new
slackpkg upgrade-all
If you get any error messages please post them here.
Regards
Last edited by ~sHyLoCk~; 12-18-2009 at 09:31 PM.
|
|
|
2 members found this post helpful.
|
12-18-2009, 04:58 PM
|
#5
|
|
Member
Registered: Dec 2009
Distribution: Ubuntu Karmic Koala, Slackware 13.0
Posts: 66
Original Poster
Rep:
|
I thought that ChangeLog would contain ALL changes to the packages... I think I got it now.
So I also need to use install-new to get the newer packages...
Thanks for the info!
|
|
|
|
12-18-2009, 05:27 PM
|
#6
|
|
Member
Registered: Mar 2006
Distribution: Slackware64 14 (kernel 3.7.1)
Posts: 79
Rep: 
|
Quote:
Originally Posted by Geriao
I thought that ChangeLog would contain ALL changes to the packages... I think I got it now.
So I also need to use install-new to get the newer packages...
Thanks for the info!
|
Close, but not quite right.
First you would use "slackpkg update" to download the latest version of the Changelog to your Slackware box.
Then you would use "slackpkg upgrade-all" to have slackpkg upgrade any packages, that you currently have installed, to their latest version in the Changelog. The "upgrade-all" option does not install newly created packages listed in the Changelog.
You would then use "slackpkg install-new" to install any new packages mentioned in the Changelog.
|
|
|
|
12-18-2009, 08:00 PM
|
#7
|
|
Member
Registered: Dec 2008
Location: New York
Distribution: Slack -current, Aptosid, Squeeze
Posts: 207
Rep:
|
Not positive as to sequence, but pretty sure "slackpkg install-new" would come before "slackpkg upgrade-all". Can any one validate this?
|
|
|
|
12-18-2009, 08:04 PM
|
#8
|
|
Slackware Contributor
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 4,677
Rep: 
|
Quote:
Originally Posted by zbreaker
Not positive as to sequence, but pretty sure "slackpkg install-new" would come before "slackpkg upgrade-all". Can any one validate this?
|
Slackware does not care about order of installation.
Eric
|
|
|
|
12-18-2009, 09:18 PM
|
#9
|
|
Slackware Contributor
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 1,894
Rep: 
|
Quote:
Originally Posted by zbreaker
Not positive as to sequence, but pretty sure "slackpkg install-new" would come before "slackpkg upgrade-all". Can any one validate this?
|
Quote:
Originally Posted by Alien Bob
Slackware does not care about order of installation.
|
To be a bit pedantic, 'install-new' *should* come before 'upgrade-all' as a matter of practice.
As an example, let's consider the tcpdump package. It's presently built in such a way that you get the tcpdump binaries *and* the libpcap libraries. If, for whatever reason, libpcap were split out into a separate package, and you just did 'upgrade-all' without first doing 'install-new', you'd be missing the libpcap shared library, and tcpdump would therefore refuse to run.
In this particular case, it's not an issue, because the system doesn't need tcpdump to boot and/or to continue running properly; however, it shouldn't be too difficult to imagine a case where it *would* cause a problem.
|
|
|
1 members found this post helpful.
|
12-18-2009, 09:30 PM
|
#10
|
|
Senior Member
Registered: Jul 2008
Location: /dev/null
Posts: 1,173
Rep: 
|
Thanks Robby,
I don't think it would be a problem if you run install-new later. If you forget to run install-new then it could be a problem next time you boot. However, as you mentioned it's a better practice, hence I edited my post.
Regards
|
|
|
|
12-18-2009, 10:29 PM
|
#11
|
|
Slackware Contributor
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 1,894
Rep: 
|
Quote:
Originally Posted by ~sHyLoCk~
Thanks Robby,
I don't think it would be a problem if you run install-new later. If you forget to run install-new then it could be a problem next time you boot.
|
It *can* be a problem before that even. Here's an entirely contrived example, but it works:
Let's pretend bash requires libbash, which is presently included in the bash package.
Now let's pretend libbash is split out into a separate package in the last batch of updates.
Now let's pretend you did 'upgrade-all' without first doing 'install-new'
Now let's accidentally close our terminal window.
Oops. :-)
Assuming your window manager has a "run" dialog (e.g. Alt F2), you can invoke "xterm -e /bin/ksh" from that to recover, but you get the idea, right? :-)
|
|
|
1 members found this post helpful.
|
12-19-2009, 09:04 AM
|
#12
|
|
Senior Member
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 2,743
|
Perhaps not quite so contrived example from recent history was the release of the xz package so that the new .txz format could be supported.
The xz package was released Tue Apr 7 20:12:35 CDT 2009 and the first packages using .txz were released Fri May 8 18:49:03 CDT 2009 ( http://www.nielshorn.net/slackware/_...geLog_13.0.txt - Thanks Niels!). You would not have wanted to be away for a month without running install-new first!
Last edited by allend; 12-19-2009 at 09:14 AM.
|
|
|
|
| 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 06:27 AM.
|
|
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
|
|