LinuxQuestions.org
Help answer threads with 0 replies.
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 01-19-2011, 12:49 PM   #1
Robert.Thompson
Member
 
Registered: Nov 2009
Location: Montreal, Quebec, Canada
Distribution: LinuxMint 20 Cinnamon
Posts: 589

Rep: Reputation: 49
There is no *GLOBAL UPDATE* for Slackware 13.1 software, right?


Hello:

If this is correct, how do you know if there updates available?

Do you need to down load and install the individual updated packages?

Sorry for this but I think that I am confused, or worse, not.

Thanks,
 
Old 01-19-2011, 12:51 PM   #2
tsg
Member
 
Registered: Mar 2008
Posts: 155

Rep: Reputation: 30
I think slackpkg is what you're looking for.
 
Old 01-19-2011, 01:02 PM   #3
iamthat
LQ Newbie
 
Registered: Jul 2009
Distribution: Slackware current
Posts: 8

Rep: Reputation: 1
slapt-get
Quote:
root[bonsai]# slapt-get --help
slapt-get - Jason Woodward <woodwardj at jaos dot org>
An implementation of the Debian APT system to Slackware
Usage:
slapt-get [option(s)] [target]

Targets:
--update|-u - retrieve pkg data from MIRROR
--upgrade - upgrade installed pkgs
--dist-upgrade - upgrade to newer release
--install|-i [pkg name(s)] - install specified pkg(s)
--install-set [disk set(s)] - install specified disk set(s)
--remove [pkg name(s)] - remove specified pkg(s)
--show [pkg name(s)] - show pkg(s) description
--filelist [pkg name(s)] - show pkg(s) installed files
--search [expression] - search available pkgs
--list - list pkgs
--available - list available pkgs
--installed - list installed pkgs
--clean - purge cached pkgs
--autoclean - only purge cache of older, unreacheable pkgs
--add-keys - retrieve GPG keys for sources
--help|-h - display this help and exit
--version - print version and license info

Options:
--download-only|-d - only download pkg on install/upgrade
--simulate|-s - show pkgs to be installed/upgraded
--no-prompt|-y - do not prompt during install/upgrade
--prompt|-p - always prompt during install/upgrade
--reinstall - reinstall the pkg
--ignore-excludes - install/upgrade excludes
--no-md5 - do not perform md5 check sum
--no-dep - skip dependency check
--ignore-dep - ignore dependency failures
--print-uris - print URIs only, do not download
--show-stats|-S - show download statistics
--config|-c [] - specify alternate slapt-getrc location
--remove-obsolete - remove obsolete packages
--retry [] - specify number of download retry attempts
--no-upgrade - install package, do not attempt to upgrade
 
1 members found this post helpful.
Old 01-19-2011, 01:03 PM   #4
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Debian, Slackware
Posts: 7,342

Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
Quote:
Originally Posted by Robert.Thompson View Post
Hello:

If this is correct, how do you know if there updates available?

Do you need to down load and install the individual updated packages?

Sorry for this but I think that I am confused, or worse, not.

Thanks,
As mentioned in the previous post slackpkg is the utility that you are looking for. You will need to un-comment one mirror in /etc/slackpkg/mirrors, then save that file. Then issue these commands in this order:

# slackpkg update
# slackpkg install-new
# slackpkg upgrade-all

These commands will update your 13.1 install and download, install the available security patches for your system. The slackpkg utility comes with Slackware 13.1.

See this link:

http://www.slackpkg.org/documentation.html

Last edited by hitest; 01-19-2011 at 02:53 PM. Reason: typo
 
1 members found this post helpful.
Old 01-19-2011, 01:04 PM   #5
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Debian, Slackware
Posts: 7,342

Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
Quote:
Originally Posted by iamthat View Post
slapt-get
This utility is not officially supported or endorsed by Slackware. I'm not condemning your choice, just pointing this out for the OP.

Last edited by hitest; 01-19-2011 at 01:06 PM.
 
Old 01-19-2011, 01:05 PM   #6
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,223

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
There's slackpkg for the packages in the distribution.

Most of your third party packages are probably from SlackBuilds.org. You can manage those (including updating them) with sbopkg.

Last edited by dugan; 01-19-2011 at 01:09 PM.
 
1 members found this post helpful.
Old 01-19-2011, 02:04 PM   #7
Robert.Thompson
Member
 
Registered: Nov 2009
Location: Montreal, Quebec, Canada
Distribution: LinuxMint 20 Cinnamon
Posts: 589

Original Poster
Rep: Reputation: 49
Thank you.

I also went to my new favorite Slackware source of info: http://genek.net/LinuxAdventures/sysadmin/slackpkg.html

Marking as SOLVED
 
Old 01-19-2011, 06:40 PM   #8
lumak
Member
 
Registered: Aug 2008
Location: Phoenix
Distribution: Arch
Posts: 799
Blog Entries: 32

Rep: Reputation: 111Reputation: 111
All you really have to do is check the /patches directory in any Slackware mirror then run 'upgradepkg --install-new <package>'

The --install-new isn't generally needed for patches because a Full install already has them installed.. Unless Slackware had to randomly update to a package that split it self or requires a new dependency.

This is what slackpkg would do for you. It's just easier to run slackpkg in a chron job and forget about it.
 
Old 01-20-2011, 05:42 AM   #9
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Debian, Slackware
Posts: 7,342

Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
Removed by me. redundant post.

Last edited by hitest; 01-20-2011 at 05:43 AM.
 
Old 01-20-2011, 10:53 AM   #10
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
Quote:
Originally Posted by lumak View Post
It's just easier to run slackpkg in a chron job and forget about it.
In most peoples opinion an automated upgrade system like that is not a good idea and can be unsafe. Anyway slackpkg requires user input.
 
1 members found this post helpful.
Old 01-20-2011, 11:08 AM   #11
tsg
Member
 
Registered: Mar 2008
Posts: 155

Rep: Reputation: 30
Quote:
Originally Posted by dive View Post
In most peoples opinion an automated upgrade system like that is not a good idea and can be unsafe. Anyway slackpkg requires user input.
Slackpkg can be run in batch mode with a default-answer parameter.
 
Old 01-20-2011, 03:50 PM   #12
PDock
Member
 
Registered: Aug 2004
Distribution: Slack10 & curr. tried numerous
Posts: 189

Rep: Reputation: 37
mailing lists @ slackware.com

For those who like to read a change log before jumping in with both feet, there is an alternative to slackpkg via cron.
Go to the Mailing Lists tab at Slackware.com, read the text, subscribe slackware-security. Get you email, look in /var/log/packages, see no match, and forget about it.
 
1 members found this post helpful.
Old 01-20-2011, 04:05 PM   #13
2handband
Member
 
Registered: Jan 2009
Location: Alexandria, Minnesota
Distribution: Manjaro
Posts: 837

Rep: Reputation: 96
Quote:
Originally Posted by tsg View Post
Slackpkg can be run in batch mode with a default-answer parameter.
Can you elaborate a little on how that's done?
 
Old 01-21-2011, 08:31 AM   #14
tsg
Member
 
Registered: Mar 2008
Posts: 155

Rep: Reputation: 30
Quote:
Originally Posted by 2handband View Post
Can you elaborate a little on how that's done?
For example:
Code:
slackpkg -batch=on -default_answer=y upgrade-all
Any option in the slackpkg.conf file can be given as a parameter on the command line.
 
Old 01-21-2011, 08:58 AM   #15
Slax-Dude
Member
 
Registered: Mar 2006
Location: Valadares, V.N.Gaia, Portugal
Distribution: Slackware
Posts: 528

Rep: Reputation: 272Reputation: 272Reputation: 272
Quote:
Originally Posted by 2handband View Post
Can you elaborate a little on how that's done?
This is the best way to keep your slackware stable updated:
Code:
slackpkg -batch=on update
slackpkg -batch=on -default_answer=y -download_all=on upgrade patches
On stable, all new packages will be on /patches only

Put that in a batch script and run it on shutdown, boot-up, with cron or even manually

EDIT: damn, beaten by tsg (hehehe)

Last edited by Slax-Dude; 01-21-2011 at 08:59 AM.
 
  


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
Software piracy continues global rise Jeebizz Linux - News 10 05-26-2010 10:10 AM
LXer: OpenClinica Global Conference to Bring Together Global Community for Open Sourc LXer Syndicated Linux News 0 01-08-2010 10:50 AM
LXer: SA education software wins global fans LXer Syndicated Linux News 0 09-21-2006 09:54 PM
How to run Global Call software installed on linux? a2715mt Linux - Networking 3 06-22-2004 07:57 PM

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

All times are GMT -5. The time now is 04:49 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