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. |
Due to network maintenance being performed by our provider, LQ will be down starting at 05:01 AM UTC. The exact duration of the downtime isn't currently known. We apologize for the inconvenience.
|
 |
09-13-2012, 03:46 PM
|
#1
|
|
LQ Newbie
Registered: Sep 2012
Distribution: slackware64-current
Posts: 12
Rep: 
|
Updating slackware64-current
How can I update slackware64-current?
|
|
|
|
09-13-2012, 03:55 PM
|
#2
|
|
Senior Member
Registered: Jan 2011
Distribution: Slack14_64_Multilib
Posts: 1,406
Rep: 
|
|
|
|
|
09-13-2012, 04:01 PM
|
#3
|
|
LQ Newbie
Registered: Sep 2012
Distribution: slackware64-current
Posts: 12
Original Poster
Rep: 
|
Quote:
Originally Posted by Habitual
|
I thought upgrade and update are different. Also Im already using slackware 14 rc4.
|
|
|
|
09-13-2012, 04:13 PM
|
#4
|
|
Senior Member
Registered: Oct 2005
Distribution: Slackware 14.0
Posts: 2,959
|
A manual way to update Current is to read the change log and use upgradepkg and installpkg as appropriate.
A common way to automate the process is to use slackpkg. First edit /etc/slackpkg/mirrors to select a mirror. A local hard drive "mirror" is possible too. Then, as root, run slackpkg in this order:
slackpkg update
slackpkg install-new
slackpkg clean-system (optional)
slackpkg upgrade-all
|
|
|
1 members found this post helpful.
|
09-13-2012, 04:18 PM
|
#5
|
|
LQ Newbie
Registered: Sep 2012
Distribution: slackware64-current
Posts: 12
Original Poster
Rep: 
|
Quote:
Originally Posted by Woodsman
A manual way to update Current is to read the change log and use upgradepkg and installpkg as appropriate.
A common way to automate the process is to use slackpkg. First edit /etc/slackpkg/mirrors to select a mirror. A local hard drive "mirror" is possible too. Then, as root, run slackpkg in this order:
slackpkg update
slackpkg install-new
slackpkg clean-system (optional)
slackpkg upgrade-all
|
Thanks Woodsman. It`s the thing which I`m exactly searching for.
|
|
|
|
09-13-2012, 04:28 PM
|
#6
|
|
Member
Registered: Mar 2012
Location: Italy
Distribution: Slackware+Debian
Posts: 257
Rep:
|
In my experience that order may lead to problems, it's better to upgrade-all before clean-system
|
|
|
|
09-13-2012, 04:35 PM
|
#7
|
|
LQ Newbie
Registered: Sep 2012
Distribution: slackware64-current
Posts: 12
Original Poster
Rep: 
|
Quote:
Originally Posted by Celyr
In my experience that order may lead to problems, it's better to upgrade-all before clean-system
|
Why?
|
|
|
|
09-14-2012, 06:54 AM
|
#8
|
|
Member
Registered: Oct 2003
Location: Sweden
Distribution: Slackware64-current
Posts: 678
Rep:
|
Quote:
Originally Posted by bakunin
Why?
|
'clean-system' could remove an essential package that is needed to install the upgraded version (wget for example).
|
|
|
|
09-15-2012, 01:06 PM
|
#9
|
|
Moderator
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 10,350
|
Member Response
Hi,
This is what 'man slackpkg' states;
Quote:
clean-system
This action removes all of the packages that don't belong to a standard Slackware installation. With this
option, you can clean up your system, removing third-party packages as well as any packages that were removed
from the official Slackware package set.
If you have some third party (or custom built) packages that you would like to keep, you can temporarily add
them to the list of blacklisted packages before you run the 'clean-system' action.
|
'wget' is part of the standard packages in Slackware;
Quote:
/slackware64-current/slackware64/n/
wget-1.14-x86_64-1.txz
|
EDIT: Also, this is what 'man slackpkg' recommends;
Quote:
Slackpkg can be used to upgrade the whole distribution.
The usual way is to do:
# slackpkg update
# slackpkg install-new
# slackpkg upgrade-all
# slackpkg clean-system
|
Last edited by onebuck; 09-15-2012 at 01:08 PM.
Reason: add 'man'
|
|
|
1 members found this post helpful.
|
09-15-2012, 02:19 PM
|
#10
|
|
Member
Registered: Oct 2003
Location: Sweden
Distribution: Slackware64-current
Posts: 678
Rep:
|
Oops, my bad. Thanks for correcting that Gary.
|
|
|
|
| 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 04:40 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
|
|