LinuxQuestions.org
Visit Jeremy's Blog.
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
 
LinkBack Search this Thread
Old 11-12-2008, 12:14 AM   #1
james2b
Member
 
Registered: Feb 2007
Location: Washington state, USA
Distribution: Fedora 13, SUSE 11, Ubuntu 10.04, Mandriva 2010, Mint 8
Posts: 313

Rep: Reputation: 34
Question software package updater in 12.1 ?


With version 12.1 I see a package manager, but no software update program like in the other popular Linux releases. So does Slackware provide any software updates at all, and if so, then how ? Also to add and remove any programs or packages seems to be way different than the other Linux types, so how is this done in Slackware ? Is the terminal command line method the main and best way for this ? thanks
 
Old 11-12-2008, 12:20 AM   #2
Nikosis
Member
 
Registered: Dec 2005
Distribution: Slackware
Posts: 218

Rep: Reputation: 44
Yes, there is Slackpkg
 
Old 11-12-2008, 12:24 AM   #3
SqdnGuns
Member
 
Registered: Aug 2005
Location: Fountain Valley, CA / Thailand
Distribution: Slackware64® Current
Posts: 905

Rep: Reputation: 73
Take a look at the changlogs, if you need it, install it.

ftp://ftp.slackware.com/pub/slackwar.../ChangeLog.txt

I use "slackpkg update" then "slackpkg upgrade-all" and you're presented with a list of updates to install. Pick and choose, it's your box. slackpkg is on the installation CD/DVD. After installing it you need to select an appropriate mirror in the config file located in /etc/slackpg/mirrors

I prefer it this way then to have some distro auto update and break something, which does occur more often than not.

Last edited by SqdnGuns; 11-12-2008 at 12:25 AM. Reason: can't speeeeel write....doh!
 
Old 11-12-2008, 12:30 AM   #4
james2b
Member
 
Registered: Feb 2007
Location: Washington state, USA
Distribution: Fedora 13, SUSE 11, Ubuntu 10.04, Mandriva 2010, Mint 8
Posts: 313

Original Poster
Rep: Reputation: 34
So then I just type those in a terminal window as root, or regular user? And thanks for the help.
 
Old 11-12-2008, 12:34 AM   #5
Nikosis
Member
 
Registered: Dec 2005
Distribution: Slackware
Posts: 218

Rep: Reputation: 44
I believe that you have to be logged in as root
 
Old 11-12-2008, 12:36 AM   #6
AceofSpades19
Danshell Admin
 
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: good ol' Slackware
Posts: 2,057

Rep: Reputation: 52
Quote:
Originally Posted by james2b View Post
So then I just type those in a terminal window as root, or regular user? And thanks for the help.
root user because its modifying your system
 
Old 11-12-2008, 12:37 AM   #7
SqdnGuns
Member
 
Registered: Aug 2005
Location: Fountain Valley, CA / Thailand
Distribution: Slackware64® Current
Posts: 905

Rep: Reputation: 73
Quote:
Originally Posted by james2b View Post
So then I just type those in a terminal window as root, or regular user? And thanks for the help.
Read the documentation, if you still have any questions about it, feel free to ask.

http://slackpkg.org/documentation.html
 
Old 11-12-2008, 05:57 AM   #8
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Ubuntu, Slackware
Posts: 1,877

Rep: Reputation: 222Reputation: 222Reputation: 222
To update Slackware I just check the changelogs every few days. Slackware stable does not get updates every day. When updates become available, I just download them from the /patches directory from any Slackware mirror. Then I run upgradepkg pkg_name as root to do the updates.
The advantage to doing it this way is that it forces you to read the changelogs, so you know exactly what you are updating and why you are updating it. Also, any special instructions for performing the updates will be listed in the changelogs if necessary.

After you do the upgrades with upgradepkg, run:
Code:
find /etc -name "*.new"
to find any .new config files that may need updating. If there are .new config files that need updating, first I backup the current config files (just to be safe) then I run (as root):
Quote:
mv /etc/file.config.new /etc/file.config
This is the most simple (as in KISS) way of updating Slackware.

Last edited by tommcd; 11-12-2008 at 06:10 AM.
 
Old 11-12-2008, 07:53 AM   #9
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 4,031

Rep: Reputation: Disabled
I have a script that keeps you informed of updates to Slackware's /patches directory. The script is rsync_slackware_patches.sh

The script will download the /patches directory from a Slackware mirror, for any stable release you want.

As a nightly cron job, I have scheduled this commandline on my own machine:
Code:
/usr/local/sbin/rsync_slackware_patches.sh -q -r 12.1
As long as there are no new patches, you will see no output from the script. But when it finds a change and downloads the new packages, cron will send your account an email like this:

Code:
Date: Tue, 11 Nov 2008 05:12:56 +0100
From: root
To: root
Subject: cron: /usr/local/sbin/rsync_slackware_patches.sh -q -r 12.0

[rsync_slackware_patches.sh:] New patches have arrived for Slackware 12.0 !

.......................................................................

0a1,19
> Mon Nov 10 19:24:19 CST 2008
> patches/packages/gnutls-2.6.1-i486-1_slack12.0.tgz:
>   Upgraded to gnutls-2.6.1.
>   From the gnutls-2.6.1 NEWS file:
>     ** libgnutls: Fix X.509 certificate chain validation error.
>     [GNUTLS-SA-2008-3]  The flaw makes it possible for man in the middle
>     attackers (i.e., active attackers) to assume any name and trick GNU TLS
>     clients into trusting that name.  Thanks for report and analysis from
>     Martin von Gagern <Martin.vGagern@gmx.net>.  [CVE-2008-4989]
>   For more information, see:
>     http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-4989
>   IMPORTANT NOTE:  This update changes the shared library soname!
>   Pidgin has been upgraded and compiled against the new GnuTLS library, but
>   anything else that has been built and linked locally against GnuTLS will
>   also need to be recompiled if this update is installed.
>   (* Security fix *)
> patches/packages/pidgin-2.5.2-i486-1_slack12.0.tgz:
>   Upgraded to pidgin-2.5.2 compiled against gnutls-2.6.1.
> +--------------------------+
So you will know right away when updates are available.
Eric
 
Old 11-12-2008, 09:02 AM   #10
dugan
Senior Member
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 2,757

Rep: Reputation: 767Reputation: 767Reputation: 767Reputation: 767Reputation: 767Reputation: 767Reputation: 767
You can also subscribe to the Slackware Security mailing list, which tells you when security patches are released.

Package management is documented in the Slackware book:
http://www.slackbook.org/
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora8 Package Updater hang?? LinuxNewbie999 Fedora 1 02-28-2008 08:55 PM
FC6 Package Updater tommytomato Fedora 3 05-15-2007 06:03 AM
Hi Everyone! First Problem - Slow Package Updater Sharkskin Boy Linux - Newbie 4 03-24-2007 09:13 PM
Package updater concurrent access bertie57 Linux - Newbie 3 01-12-2007 02:07 AM
MMC dissappeared after using Package Updater messymutty Mandriva 1 06-06-2004 09:11 AM


All times are GMT -5. The time now is 07:16 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration