Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
08-04-2006, 10:33 AM
|
#1
|
Senior Member
Registered: Dec 2003
Distribution: Debian
Posts: 3,178
Rep: 
|
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)?
|
|
|
08-04-2006, 10:54 AM
|
#2
|
Senior Member
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 -current
Posts: 2,300
Rep:
|
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.
|
|
|
08-04-2006, 10:55 AM
|
#3
|
Senior Member
Registered: Dec 2003
Distribution: Debian
Posts: 3,178
Original Poster
Rep: 
|
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.
|
|
|
08-04-2006, 11:16 AM
|
#4
|
Member
Registered: Aug 2004
Location: California, USA
Distribution: Ubuntu
Posts: 243
Rep:
|
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.
|
|
|
08-04-2006, 11:51 AM
|
#5
|
Senior Member
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467
Rep: 
|
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.
|
|
|
08-04-2006, 12:08 PM
|
#6
|
Member
Registered: Jun 2006
Location: California
Distribution: Ubuntu 7.10
Posts: 33
Rep:
|
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.
|
|
|
08-04-2006, 12:14 PM
|
#7
|
Senior Member
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467
Rep: 
|
*Edit: Seems the version of slackpkg in -current (2.05 I think) has a curses gui now.
|
|
|
08-04-2006, 12:24 PM
|
#8
|
Senior Member
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 -current
Posts: 2,300
Rep:
|
Yeah, the new one in current is curses based. Freaked me out the first time I ran it LOL
|
|
|
08-04-2006, 01:01 PM
|
#9
|
Member
Registered: Aug 2004
Location: California, USA
Distribution: Ubuntu
Posts: 243
Rep:
|
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. 
|
|
|
08-04-2006, 01:36 PM
|
#10
|
Member
Registered: Mar 2005
Location: UK
Distribution: Slackware
Posts: 794
Rep:
|
I wouldn't recommend updating to current now though. Updating from 10.2 is likely to cause problems. It did when I tried it.
|
|
|
08-04-2006, 03:45 PM
|
#11
|
Senior Member
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141
Rep: 
|
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... 
|
|
|
08-04-2006, 08:43 PM
|
#12
|
Senior Member
Registered: Dec 2003
Distribution: Debian
Posts: 3,178
Original Poster
Rep: 
|
I'm currently pointing to 10.2. Will upgrade only when 11.0 comes out.
|
|
|
08-04-2006, 09:08 PM
|
#13
|
Member
Registered: Aug 2005
Location: Guadalajara, Jal, Mexico
Distribution: Slackware Linux
Posts: 211
Rep:
|
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/
|
|
|
08-04-2006, 09:10 PM
|
#14
|
Senior Member
Registered: Dec 2003
Distribution: Debian
Posts: 3,178
Original Poster
Rep: 
|
I wasn't referring to slackpkg. I was just referring to Slackware packages in general.
|
|
|
All times are GMT -5. The time now is 01:05 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|