LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 05-19-2004, 07:02 PM   #1
AFI_Flame
Member
 
Registered: Apr 2004
Location: Nolensville, TN
Distribution: OpenSuse 10.2
Posts: 253

Rep: Reputation: 30
How Do I Update Slackware?


Is there a program like Mandrake Update that I can use to download all the updates?
 
Old 05-19-2004, 07:15 PM   #2
FLOODS
Member
 
Registered: Aug 2003
Location: GA
Distribution: Fedora Core 4 Desktop/Server.
Posts: 361

Rep: Reputation: 30
Yes. If you have swaret installed, you will need to use swaret --update and then swaret --upgrade, and last, to check dependencies, swaret --dep.

You can get swaret off of the CD in /extras or from their site, swaret.org

On the latest version, I had to edit my swaret.conf in the DEP_ROOT= section, and add the mirrors from ROOT= section. The mirrors that are default in DEP_ROOT are swaret mirrors.. not sure why they're there, it's where when you use swaret --dep goes to look for libraries..
 
Old 05-19-2004, 08:11 PM   #3
AFI_Flame
Member
 
Registered: Apr 2004
Location: Nolensville, TN
Distribution: OpenSuse 10.2
Posts: 253

Original Poster
Rep: Reputation: 30
Do I need swaret tools too? What does it do? I see it on the downloads page on www.swaret.org
 
Old 05-19-2004, 09:05 PM   #4
FLOODS
Member
 
Registered: Aug 2003
Location: GA
Distribution: Fedora Core 4 Desktop/Server.
Posts: 361

Rep: Reputation: 30
nah, swaret-tools are for admins setting up swaret servers.
Be forwarned though, I'd read the documentation about swaret before using it. People have been complaining about it!

It has worked fine for me in every instance, but I guess it's different for everyone.
Also, there was about 500+MB of updates the first time running swaret --upgrade so watch out for a long list of downloads. The top mirrors in ROOT= only give me about ~70kB/s
 
Old 05-19-2004, 09:44 PM   #5
melinda_sayang
Member
 
Registered: Dec 2003
Location: Petaling Jaya
Distribution: Ubuntu
Posts: 475

Rep: Reputation: 31
Don't do that unleash u kniow what r u doing. Swaret sometimes broke ur machine and u need knowledge to fix it. So don't bother.
 
Old 05-19-2004, 09:46 PM   #6
FLOODS
Member
 
Registered: Aug 2003
Location: GA
Distribution: Fedora Core 4 Desktop/Server.
Posts: 361

Rep: Reputation: 30
He's right, you should know some knowledge about things before hand.

Like I said, I didn't have problems after upgrading, it all worked fine. There were dependency issues of course, but nothing swaret --dep couldn't clear up.

Also, don't upgrade alsa. You have to have the 2.6 kernels to use the new also or you get no sound.
 
Old 05-19-2004, 10:25 PM   #7
AFI_Flame
Member
 
Registered: Apr 2004
Location: Nolensville, TN
Distribution: OpenSuse 10.2
Posts: 253

Original Poster
Rep: Reputation: 30
ok i have it installed... what is the command i do to start updating?
 
Old 05-19-2004, 10:28 PM   #8
FLOODS
Member
 
Registered: Aug 2003
Location: GA
Distribution: Fedora Core 4 Desktop/Server.
Posts: 361

Rep: Reputation: 30
swaret --update
this updates the filelist.

swaret --upgrade
this actually downloads and upgrades installed them. if you add -a to the end of it, it will download and install all updates automatically without asking if it should.

swaret --dep
this checks dependency problems


Have you checked swaret.conf and changed the DEP_ROOT= and made sure it's using version=current? I'd also reccomend adding alsa to the exclusion list with kernel and lilo.

EDIT: you need to be root to do this (of course), and be sure to do it from command line with no GUI up, since it's going to upgrade window managers and X

Last edited by FLOODS; 05-19-2004 at 10:37 PM.
 
Old 05-19-2004, 10:43 PM   #9
AFI_Flame
Member
 
Registered: Apr 2004
Location: Nolensville, TN
Distribution: OpenSuse 10.2
Posts: 253

Original Poster
Rep: Reputation: 30
I changed the version to current. This is what my DEP_ROOT looks like. Do I need to change this?

#DEP_ROOT=file:/mnt/cdrom
#DEP_ROOT=file:/mnt/dvdrom
#DEP_ROOT=file:/mnt/usbmemstick
DEP_ROOT=http://www.swaret.org/swaret
DEP_ROOT=ftp://ftp.swaret.org/swaret
#DEP_ROOT=rsync://rsync.swaret.org/swaret
#DEP_ROOT=file:/pub/swaret
#DEP_ROOT=file:/mnt/nfsshare/swaret
#DEP_ROOT=file:/mnt/sambashare/swaret

Also, will this let me choose what I want to upgrade and what I don't want to upgrade. I really only know of 2 things I don't want to upgrade and that is the alsa (like you said, you need a 2.6 kernel for that) and xfree. I want to keep using xfree 4.3.0 insted of upgrading to 4.4.0 because the ATI drivers don't work good with 4.4.0 i've heard.
 
Old 05-20-2004, 02:46 PM   #10
FLOODS
Member
 
Registered: Aug 2003
Location: GA
Distribution: Fedora Core 4 Desktop/Server.
Posts: 361

Rep: Reputation: 30
to only upgrade what you want, type swaret --upgrade xfree and it will upgrade xfree
here is my DEP_ROOT, I would edit it and add the lines I put here from mine but have them commented out, and if it won't receive the libs needed then you could edit it with pico or vi or whatever you prefer and uncomment it and then let it get the updates.

Here's my DEP_ROOT portion

DEP_ROOT=ftp://ftp.slackware.at/slackware-current/
DEP_ROOT=http://www.slackware.at/data/slackware-current/
DEP_ROOT=http://mhlug.linuxorbit.com/swaret/

you'll also want to change DEPENDENCY=, DEP_INSTALL, and DEP_UPGRADE to 1.
 
Old 05-20-2004, 07:22 PM   #11
AFI_Flame
Member
 
Registered: Apr 2004
Location: Nolensville, TN
Distribution: OpenSuse 10.2
Posts: 253

Original Poster
Rep: Reputation: 30
DEPENDENCY= was already set to 1 and I didn't even see DEP_INSTALLor DEP_UPGRADE in there. Also why should I use those servers for DEP_ROOT... aren't the defualt ones good enough? And I want to NOT install xfree and alsa. I want to upgrade everything but those 2. How would I do that?
 
Old 05-20-2004, 07:45 PM   #12
Nichole_knc
Member
 
Registered: Mar 2004
Location: Georgia
Distribution: SlackWare 10.1+, FreeBSD 4.4-5.2, Amiga 1.3,2.1,3.1, Windors XP Pro (makes a fair answering machine)
Posts: 287

Rep: Reputation: 30
A note on alsa...
alsa 1.0.4 works just fine on kernels below 2.6. I am running 2.4.26 with a local build of alsa 1.0.4 . IMO it is the 2.6 kernel that has the problem. I have yet to get it to build without errors.
Yet any kernel in the 2.4 range I can jed the .config the make oldconfig without any problems.

This weekend is the swaret update of the system. Just my SlackBox not the Wulf or Dragon as the cluster uses a 2.4.18 kernel and mosix.
 
Old 05-20-2004, 08:08 PM   #13
AFI_Flame
Member
 
Registered: Apr 2004
Location: Nolensville, TN
Distribution: OpenSuse 10.2
Posts: 253

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by Nichole_knc
This weekend is the swaret update of the system. Just my SlackBox not the Wulf or Dragon as the cluster uses a 2.4.18 kernel and mosix.
I didn't understand a word of that. lol Anyway if the new ALSA works in 2.4.x kernels then I guess I'll upgrade that too. The only thing I don't want to upgrade is xfree. How would I do that?
 
Old 05-20-2004, 08:16 PM   #14
FLOODS
Member
 
Registered: Aug 2003
Location: GA
Distribution: Fedora Core 4 Desktop/Server.
Posts: 361

Rep: Reputation: 30
I may have downloaded a bad version of it, or it may have not updated my config file when I installed the new swaret. There were a few errors in it.

To update everything but xfree and whatever else, look for the EXCLUDE= lines and add in xfree in there and whatever else..

Also, you may want to just swaret --upgrade without the -a option, so you can literally SEE what packages are updating..

Good luck..!
 
Old 05-20-2004, 10:48 PM   #15
AFI_Flame
Member
 
Registered: Apr 2004
Location: Nolensville, TN
Distribution: OpenSuse 10.2
Posts: 253

Original Poster
Rep: Reputation: 30
ok it's download everything right now I just hope it all works when it's done. One thing I did notice though is that it didn't upgrade the kernel. Is there any way to update that through swaret or am I better of just upgrading it manually.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
etc-update for Slackware uselpa Slackware 13 11-02-2005 11:44 AM
Slackware update?? linuxhippy Slackware 14 03-29-2005 12:58 PM
Slackware 10.0 update? carlosinfl Slackware 8 07-19-2004 09:08 PM
Slackware 10 update noobtesting Slackware 9 06-30-2004 03:11 PM
Slackware Security Update: GDM security update phoeniXflame Slackware 2 08-26-2003 04:21 PM


All times are GMT -5. The time now is 02:45 AM.

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 Google+: linuxquestions
Open Source Consulting | Domain Registration