LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-13-2012, 03:46 PM   #1
bakunin
LQ Newbie
 
Registered: Sep 2012
Distribution: slackware64-current
Posts: 12

Rep: Reputation: Disabled
Post Updating slackware64-current


How can I update slackware64-current?
 
Old 09-13-2012, 03:55 PM   #2
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
http://slackware.mirrors.pair.com/sl...nt/UPGRADE.TXT
 
Old 09-13-2012, 04:01 PM   #3
bakunin
LQ Newbie
 
Registered: Sep 2012
Distribution: slackware64-current
Posts: 12

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Habitual View Post
I thought upgrade and update are different. Also Im already using slackware 14 rc4.
 
Old 09-13-2012, 04:13 PM   #4
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546
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.
Old 09-13-2012, 04:18 PM   #5
bakunin
LQ Newbie
 
Registered: Sep 2012
Distribution: slackware64-current
Posts: 12

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Woodsman View Post
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.
 
Old 09-13-2012, 04:28 PM   #6
Celyr
Member
 
Registered: Mar 2012
Location: Italy
Distribution: Slackware+Debian
Posts: 321

Rep: Reputation: 81
In my experience that order may lead to problems, it's better to upgrade-all before clean-system
 
Old 09-13-2012, 04:35 PM   #7
bakunin
LQ Newbie
 
Registered: Sep 2012
Distribution: slackware64-current
Posts: 12

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Celyr View Post
In my experience that order may lead to problems, it's better to upgrade-all before clean-system
Why?
 
Old 09-14-2012, 06:54 AM   #8
BroX
Member
 
Registered: Oct 2003
Location: Sweden
Distribution: Slackware64-current, SlackwareARM-15.0
Posts: 833

Rep: Reputation: 90
Quote:
Originally Posted by bakunin View Post
Why?
'clean-system' could remove an essential package that is needed to install the upgraded version (wget for example).
 
Old 09-15-2012, 01:06 PM   #9
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,923
Blog Entries: 44

Rep: Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158
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'
 
2 members found this post helpful.
Old 09-15-2012, 02:19 PM   #10
BroX
Member
 
Registered: Oct 2003
Location: Sweden
Distribution: Slackware64-current, SlackwareARM-15.0
Posts: 833

Rep: Reputation: 90
Oops, my bad. Thanks for correcting that Gary.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
upgrading slackware64 13.1 multilib to slackware64 -current multilib Cultist Slackware 4 03-12-2011 09:04 AM
Updating from Slackware64-current to Slackware64 13. glore2002 Slackware 4 08-28-2009 06:50 PM
Getting packages for Slackware64-current. glore2002 Slackware 13 08-25-2009 06:28 PM
Slackware64-current on a second HD. glore2002 Slackware 7 08-23-2009 11:38 AM
Slackware64-current : can't have lilo updating the boot loader after kernel upgrade Didier Spaier Slackware 3 07-21-2009 08:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration