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
 
LinkBack Search this Thread
Old 02-17-2004, 02:02 PM   #1
safil
Member
 
Registered: Aug 2003
Location: nyc
Distribution: RH 9
Posts: 55

Rep: Reputation: 15
swaret questions


Recently I installed slack 8.1 from RH9 so that I could challenge myself and learn some more about linux. Anyway, the reason I chose 8.1 was that I couldn't install 9.1. When I got to the boot prompt it asked to pick a kernel, so I pressed enter for bare.i and when it eventually got to the question on what country/language keyboard I had, my keyboard didn't work. Found out that I needed to install the usb.i kernel found on slack 8.1. So I installed it and everything worked fine. But now I want to upgrade to 9.1. I heard about swaret, but I don't know how to use it. Can't find any step by step instructions on how to go about installing swaret. Also, since I have the 9.1 iso cd''s, is there a way to upgrade without changing my kernel? Any help would be greatly appreciated.

P.S.- I downloaded swaret-1.6.1-noarch-2.tar.gz and used gunzip and tar to uncompile the file, now what. That's where I'm stuck. What do I do next, or is there some documentation that can help? The sware site only helps when you have swaret up and running. Thanks!
 
Old 02-17-2004, 02:06 PM   #2
Minderbinder
Member
 
Registered: Aug 2003
Location: Boston, MA
Distribution: Slackware-current
Posts: 142

Rep: Reputation: 15
you don't unpack the .tgz file. Just do installpkg /path/to/file.

Then rename /etc/swaret.conf.new to /etc/swaret.conf
do "swaret --update"
"swaret --upgrade"
 
Old 02-17-2004, 02:32 PM   #3
safil
Member
 
Registered: Aug 2003
Location: nyc
Distribution: RH 9
Posts: 55

Original Poster
Rep: Reputation: 15
Thanks! Did what you said and it looks like it's working. Couldn't they have just said that on there site? Anyway, let you know how it went!
 
Old 02-17-2004, 04:53 PM   #4
safil
Member
 
Registered: Aug 2003
Location: nyc
Distribution: RH 9
Posts: 55

Original Poster
Rep: Reputation: 15
Looks like everything worked great! But I have a question. When I type "swaret --upgrade", are the packages it upgraded automatically installed or do I have to install them idividually? Thanks!
 
Old 02-17-2004, 04:59 PM   #5
Minderbinder
Member
 
Registered: Aug 2003
Location: Boston, MA
Distribution: Slackware-current
Posts: 142

Rep: Reputation: 15
When you type "swaret --upgrade" it should show you what packages are to be upgraded then ask you if you want to upgrade each one. After you go throught the list of packages it should automatically start downloading the packages, then install them and check for dependencies.
 
Old 02-17-2004, 05:20 PM   #6
Bebo
Member
 
Registered: Jul 2003
Location: Göteborg
Distribution: Arch Linux (current)
Posts: 553

Rep: Reputation: 30
I'm pretty sure you'll have to do swaret --update to make --upgrade useful. The --update will get the latest file lists, so that swaret will know what can be upgraded. So: first swaret --update, then swaret --upgrade. If you put a -a after the --upgrade, then it will be done automatically.
 
Old 02-18-2004, 02:21 AM   #7
newinlinux
Member
 
Registered: Dec 2003
Location: Next to Equator
Distribution: GNU/Linux 2.6.14
Posts: 382

Rep: Reputation: 30
i think u have to change the VERSION=8.1 to VERSION=9.1 or CURRENT is you want to upgrade to either these. The version thingy is at the swaret.conf
 
Old 02-18-2004, 03:40 AM   #8
KMcD
Member
 
Registered: Jun 2003
Location: Dublin, Ireland
Distribution: Slack -- current
Posts: 354

Rep: Reputation: 30
Hi, I also have a SWARET question. I am trying to update my Slack 9.0 to current. Do I only have to change the version number in the .conf file or are there other changes I also need to make??

Thanks.
 
Old 02-18-2004, 05:12 AM   #9
Minderbinder
Member
 
Registered: Aug 2003
Location: Boston, MA
Distribution: Slackware-current
Posts: 142

Rep: Reputation: 15
Quote:
Originally posted by newinlinux
i think u have to change the VERSION=8.1 to VERSION=9.1 or CURRENT is you want to upgrade to either these. The version thingy is at the swaret.conf
The default version is 9.1. If you want to upgrade to current you have to change swaret.conf.
 
Old 02-18-2004, 06:31 AM   #10
Alan Lakin
Member
 
Registered: Sep 2002
Location: Wallington, Surrey, UK
Distribution: Linux Mint Xfce, Android phone
Posts: 109

Rep: Reputation: 15
KMcD said:

Hi, I also have a SWARET question. I am trying to update my Slack 9.0 to current. Do I only have to change the version number in the .conf file or are there other changes I also need to make??

It is prudent to check the EXCLUDE section of the swaret.conf file. I think the default setting is to exclude the kernel and lilo in the upgrade. This is sensible. You can upgrade these items manually after you have your new system up and running.
 
Old 02-18-2004, 06:36 AM   #11
KMcD
Member
 
Registered: Jun 2003
Location: Dublin, Ireland
Distribution: Slack -- current
Posts: 354

Rep: Reputation: 30
Thanks alan, my first attempt at using SWARET to update the kde version hasn't worked out well. I think I set the dependencies check to the wrong value and prevent swaret from making sure I had all the correct packages.
 
Old 02-18-2004, 07:20 AM   #12
synapse
Member
 
Registered: Jan 2004
Location: On Planet Earth.
Distribution: Slackware 12
Posts: 244

Rep: Reputation: 30
Hi

Just as a matter of interest swaret can be found on the (second cd ) also some other interesting apps if needed.

Cheers
 
Old 02-18-2004, 12:56 PM   #13
Berhanie
Senior Member
 
Registered: Dec 2003
Distribution: Fedora
Posts: 1,492

Rep: Reputation: 144Reputation: 144
Safil, Regarding your original problem (the keyboard freezing during the installation), if you're ever in that situation again, try disabling "Legacy USB Support" in your bios. That solved the same problem I had when I was installing Slackware 9.1 on my laptop.
 
Old 02-18-2004, 02:52 PM   #14
LinuxSneaker
LQ Newbie
 
Registered: Aug 2002
Posts: 4

Rep: Reputation: 0
If you don't want to edit swaret.conf, just type
swaret --set VERSION=current

This is what happens:
root@autolycus:/tmp# swaret --set VERSION=current
swaret 1.6.1-3

Variable 'VERSION' set to 'current'.
root@autolycus:/tmp#
 
  


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
Swaret Questions, trying to get it right this time -0- Slackware 1 01-15-2005 10:51 AM
Deleting Swaret files in /var/swaret?? Garibaldi3489 Slackware 2 12-30-2004 04:10 PM
Basic Swaret Questions jrdioko Slackware 7 06-28-2004 05:58 AM
Swaret questions flashingcurser Slackware 7 10-19-2003 10:54 AM
swaret questions Abe_the_Man Slackware 1 09-28-2003 12:43 AM


All times are GMT -5. The time now is 10:18 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
Open Source Consulting | Domain Registration