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 08-04-2006, 10:33 AM   #1
vharishankar
Senior Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 3,178
Blog Entries: 4

Rep: Reputation: 138Reputation: 138
Slackpkg?


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)?
 
Old 08-04-2006, 10:54 AM   #2
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 -current
Posts: 2,300

Rep: Reputation: 90
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.
 
Old 08-04-2006, 10:55 AM   #3
vharishankar
Senior Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 3,178

Original Poster
Blog Entries: 4

Rep: Reputation: 138Reputation: 138
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 vharishankar; 08-04-2006 at 10:57 AM.
 
Old 08-04-2006, 11:16 AM   #4
hrp2171
Member
 
Registered: Aug 2004
Location: California, USA
Distribution: Ubuntu
Posts: 243
Blog Entries: 3

Rep: Reputation: 30
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.
 
Old 08-04-2006, 11:51 AM   #5
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
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 11:54 AM.
 
Old 08-04-2006, 12:08 PM   #6
aquaboogie90
Member
 
Registered: Jun 2006
Location: California
Distribution: Ubuntu 7.10
Posts: 33

Rep: Reputation: 15
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 02:12 AM.
 
Old 08-04-2006, 12:14 PM   #7
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
*Edit: Seems the version of slackpkg in -current (2.05 I think) has a curses gui now.
 
Old 08-04-2006, 12:24 PM   #8
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 -current
Posts: 2,300

Rep: Reputation: 90
Yeah, the new one in current is curses based. Freaked me out the first time I ran it LOL
 
Old 08-04-2006, 01:01 PM   #9
hrp2171
Member
 
Registered: Aug 2004
Location: California, USA
Distribution: Ubuntu
Posts: 243
Blog Entries: 3

Rep: Reputation: 30
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.
 
Old 08-04-2006, 01:36 PM   #10
simcox1
Member
 
Registered: Mar 2005
Location: UK
Distribution: Slackware
Posts: 794
Blog Entries: 2

Rep: Reputation: 30
I wouldn't recommend updating to current now though. Updating from 10.2 is likely to cause problems. It did when I tried it.
 
Old 08-04-2006, 03:45 PM   #11
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
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...
 
Old 08-04-2006, 08:43 PM   #12
vharishankar
Senior Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 3,178

Original Poster
Blog Entries: 4

Rep: Reputation: 138Reputation: 138
I'm currently pointing to 10.2. Will upgrade only when 11.0 comes out.
 
Old 08-04-2006, 09:08 PM   #13
theoffset
Member
 
Registered: Aug 2005
Location: Guadalajara, Jal, Mexico
Distribution: Slackware Linux
Posts: 211

Rep: Reputation: 31
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/
 
Old 08-04-2006, 09:10 PM   #14
vharishankar
Senior Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 3,178

Original Poster
Blog Entries: 4

Rep: Reputation: 138Reputation: 138
I wasn't referring to slackpkg. I was just referring to Slackware packages in general.
 
  


Reply

Tags
slackpkg



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 02:37 PM
slackpkg problems dive Slackware 3 11-16-2005 04:08 PM
Warning! Slackpkg walkingbeard Slackware 6 09-18-2005 09:17 PM
slackpkg question ralvy Slackware 2 11-19-2004 04:48 PM
Slackpkg vs. Swaret. mdarby Slackware 3 11-18-2004 10:10 PM

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

All times are GMT -5. The time now is 09:30 PM.

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