LinuxQuestions.org
Social Bookmarking all things Linux and Open Source
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Tags used in this thread
Popular LQ Tags ,

Reply
 
Thread Tools
Old 08-04-2006, 11:33 AM   #1
hs123
Registered User
 
Registered: Dec 2003
Posts: 2,832
Blog Entries: 4
Thanked: 9
Slackpkg?


[Log in to get rid of this advertisement]
This is the third time I'm installing Slackware, folks. After a hiatus, I'm back!

Anyway, this time I've decided to ditch swaret or slapt-get as reliable means of updating the system. Instead I've decided to go with slackpkg and using only official updates and the changelog. It seems to be a breeze to use...

So what are the things to watch out for, particularly with reference to upgrades (apart from reading and following the changelog of course)?
hs123 is offline     Reply With Quote
Old 08-04-2006, 11:54 AM   #2
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 -current
Posts: 2,225
Thanked: 3
You already answered your own question. Changelogs. I've been using slackpkg for a long time to stay abreast with -current and have had no problems at all.

I use the slackpkg blacklist command to blacklist those things like the kernel, headers, and such that I don't want it to touch.
masonm is offline     Reply With Quote
Old 08-04-2006, 11:55 AM   #3
hs123
Registered User
 
Registered: Dec 2003
Posts: 2,832
Blog Entries: 4
Thanked: 9

Original Poster
Hokay, chief.

I'm also impressed by Checkinstall (which I use in Debian to install packages not found in the repositories) and it's pretty impressive for the occasional custom package.

Last edited by hs123; 08-04-2006 at 11:57 AM..
hs123 is offline     Reply With Quote
Old 08-04-2006, 12:16 PM   #4
hrp2171
Member
 
Registered: Aug 2004
Location: California, USA
Distribution: Ubuntu
Posts: 243
Blog Entries: 3
Thanked: 0
Is there a gui for slackpkg? Now that I'm comfortable enough with Slackware, I want to start doing updates on a regular basis. Thanks.
hrp2171 is offline     Reply With Quote
Old 08-04-2006, 12:51 PM   #5
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 2,139
Thanked: 10
I don't know of any gui but I want to reiterate about reading the changelog before doing an upgrade. It's v important.

You could set up a cron job to check the changelog daily and go by that if you need to upgrade or not. This is what I do. My crontab is:

Code:
 0 6 * * * /usr/bin/aterm -fn sabvga -e /home/dave/scripts/changelog 1>/dev/null 2>&1
And the script is:

Code:
 #!/bin/bash

 cd /home/dave/slack-changelog
 mv ChangeLog.txt ChangeLog.last
 wget ftp://ftp.slackware.com/pub/slackware/slackware-current/ChangeLog.txt
 diff ChangeLog.txt ChangeLog.last > dfile
 if [ -s dfile ]
     then
     cp dfile "changelog_`date +%Y%m%d`"
     cat dfile
     read
 fi
This compares the latest changelog with the day befores and if theres a change it outputs it to a terminal. I have this run at 6am daily so I can read it over breakfast. Then I use slackpkg sometime in the evening when the mirrors have had time to update:

slackpkg update
slackpkg upgrade-all

Last edited by dive; 08-04-2006 at 12:54 PM..
dive is offline  
Tag This Post ,
Reply With Quote
Old 08-04-2006, 01:08 PM   #6
aquaboogie90
Member
 
Registered: Jun 2006
Location: California
Distribution: Ubuntu 7.10
Posts: 33
Thanked: 0
Checkinstall is awesome for a paranoid source-builder like me who doesn't feel like writing SlackBuilds or .tgz's.

Last edited by aquaboogie90; 08-19-2006 at 03:12 AM..
aquaboogie90 is offline     Reply With Quote
Old 08-04-2006, 01:14 PM   #7
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 2,139
Thanked: 10
*Edit: Seems the version of slackpkg in -current (2.05 I think) has a curses gui now.
dive is offline     Reply With Quote
Old 08-04-2006, 01:24 PM   #8
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 -current
Posts: 2,225
Thanked: 3
Yeah, the new one in current is curses based. Freaked me out the first time I ran it LOL
masonm is offline     Reply With Quote
Old 08-04-2006, 02:01 PM   #9
hrp2171
Member
 
Registered: Aug 2004
Location: California, USA
Distribution: Ubuntu
Posts: 243
Blog Entries: 3
Thanked: 0
Cool! Thanks. this thread is becoming very informational. I think as long as it's kept on topic, it could become a great resource for future reference.
hrp2171 is offline     Reply With Quote
Old 08-04-2006, 02:36 PM   #10
simcox1
Member
 
Registered: Mar 2005
Location: UK
Distribution: Slackware
Posts: 793
Blog Entries: 2
Thanked: 0
I wouldn't recommend updating to current now though. Updating from 10.2 is likely to cause problems. It did when I tried it.
simcox1 is offline     Reply With Quote
Old 08-04-2006, 04:45 PM   #11
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware 12.1, Slackware 13.0
Posts: 3,788
Thanked: 20
You're right, upgrading now would be painful. If you've got a real itch to be at -current though and have a box you can run a new install on...

You can run a local slackware -current mirror using rsync with Alien Bob's script from http://www.slackware.com/~alien/tool...are-current.sh which also creates the install CDs/DVD. Once you have them...
gilead is offline     Reply With Quote
Old 08-04-2006, 09:43 PM   #12
hs123
Registered User
 
Registered: Dec 2003
Posts: 2,832
Blog Entries: 4
Thanked: 9

Original Poster
I'm currently pointing to 10.2. Will upgrade only when 11.0 comes out.
hs123 is offline     Reply With Quote
Old 08-04-2006, 10:08 PM   #13
theoffset
Member
 
Registered: Aug 2005
Location: Guadalajara, Jal, Mexico
Distribution: Slackware Linux
Posts: 210
Thanked: 0
You don't need Slack-11 erh.. Slack-current to run the latest Slackpkg, you can grab the latest version at http://slackpkg.sourceforge.net/
theoffset is offline     Reply With Quote
Old 08-04-2006, 10:10 PM   #14
hs123
Registered User
 
Registered: Dec 2003
Posts: 2,832
Blog Entries: 4
Thanked: 9

Original Poster
I wasn't referring to slackpkg. I was just referring to Slackware packages in general.
hs123 is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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
Slackpkg keeps asking for pgp samac Slackware 2 05-11-2006 03:37 PM
slackpkg problems dive Slackware 3 11-16-2005 05:08 PM
Warning! Slackpkg walkingbeard Slackware 6 09-18-2005 10:17 PM
slackpkg question ralvy Slackware 2 11-19-2004 05:48 PM
Slackpkg vs. Swaret. mdarby Slackware 3 11-18-2004 11:10 PM


All times are GMT -5. The time now is 07:44 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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration