LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Updating slackware64-current (https://www.linuxquestions.org/questions/slackware-14/updating-slackware64-current-4175427126/)

bakunin 09-13-2012 03:46 PM

Updating slackware64-current
 
How can I update slackware64-current?

Habitual 09-13-2012 03:55 PM

http://slackware.mirrors.pair.com/sl...nt/UPGRADE.TXT

bakunin 09-13-2012 04:01 PM

Quote:

Originally Posted by Habitual (Post 4779702)

I thought upgrade and update are different. Also Im already using slackware 14 rc4.

Woodsman 09-13-2012 04:13 PM

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

bakunin 09-13-2012 04:18 PM

Quote:

Originally Posted by Woodsman (Post 4779716)
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.

Celyr 09-13-2012 04:28 PM

In my experience that order may lead to problems, it's better to upgrade-all before clean-system

bakunin 09-13-2012 04:35 PM

Quote:

Originally Posted by Celyr (Post 4779728)
In my experience that order may lead to problems, it's better to upgrade-all before clean-system

Why?

BroX 09-14-2012 06:54 AM

Quote:

Originally Posted by bakunin (Post 4779734)
Why?

'clean-system' could remove an essential package that is needed to install the upgraded version (wget for example).

onebuck 09-15-2012 01:06 PM

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

BroX 09-15-2012 02:19 PM

Oops, my bad. Thanks for correcting that Gary.


All times are GMT -5. The time now is 04:14 PM.