LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 01-06-2004, 06:21 PM   #1
r_jensen11
Senior Member
 
Registered: Apr 2003
Location: Minnesota, USA
Distribution: Slack 10.0 w/2.4.26
Posts: 1,032

Rep: Reputation: 45
swaret 9.1->current How long??


I'd like to know how long it takes to go from slack9.1 to slack-current using swaret. It looks like my system's hung on fetching the FILELIST, but my hard drive light flashes periodically, so I'm not sure. I don't want to cancle because I don't want to lose the time that it might've been working. I cancled an --update while it was fetching the filelist before, but that was because I forgot to change the config to current instead of 9.1. So does the filelist take a while the first time? Or do you think it's hung up?(I'm running on a 200mhz computer, if that helps at all)
 
Old 01-06-2004, 06:25 PM   #2
terrapin54
LQ Newbie
 
Registered: Aug 2003
Distribution: arch
Posts: 12

Rep: Reputation: 0
I just rebuilt my machine earlier today and it took about 20 minutes to download and install all the software (P3 733mhz). Though it didn't "freeze" during the process and I was able to watch it's progress.
 
Old 01-06-2004, 06:38 PM   #3
r_jensen11
Senior Member
 
Registered: Apr 2003
Location: Minnesota, USA
Distribution: Slack 10.0 w/2.4.26
Posts: 1,032

Original Poster
Rep: Reputation: 45
okay, I think I'll reinstall swaret then. This has been going on for over an hour, staying at this one step.
 
Old 01-06-2004, 06:39 PM   #4
andrewlkho
Member
 
Registered: Jul 2003
Location: London
Posts: 548

Rep: Reputation: 31
How fast is your connection? It *really* shouldn't take long to do the --update. My advice: cancel and retry. After all, it only takes 1 minute on my broadband connection
 
Old 01-06-2004, 07:08 PM   #5
r_jensen11
Senior Member
 
Registered: Apr 2003
Location: Minnesota, USA
Distribution: Slack 10.0 w/2.4.26
Posts: 1,032

Original Poster
Rep: Reputation: 45
well, I don't think that fixed it. Maybe it will just take a long, long time....
 
Old 01-06-2004, 07:09 PM   #6
r_jensen11
Senior Member
 
Registered: Apr 2003
Location: Minnesota, USA
Distribution: Slack 10.0 w/2.4.26
Posts: 1,032

Original Poster
Rep: Reputation: 45
Quote:
Originally posted by ho_10
How fast is your connection? It *really* shouldn't take long to do the --update. My advice: cancel and retry. After all, it only takes 1 minute on my broadband connection
I have 3MB/s cable...
 
Old 01-06-2004, 07:10 PM   #7
DaOne
Member
 
Registered: Jan 2003
Location: USA
Distribution: Slackware
Posts: 498

Rep: Reputation: 30
I had a similar problem with a previous version of swaret. Have you done swaret --check to make sure you have the latest version?

You can also try to remove swaret, then re-install. Be sure to edit the config file before you run it.
 
Old 01-06-2004, 07:11 PM   #8
DaOne
Member
 
Registered: Jan 2003
Location: USA
Distribution: Slackware
Posts: 498

Rep: Reputation: 30
It should NOT take that long...at the very least you should see the progress as it downloads and updates packages.
 
Old 01-06-2004, 07:53 PM   #9
r_jensen11
Senior Member
 
Registered: Apr 2003
Location: Minnesota, USA
Distribution: Slack 10.0 w/2.4.26
Posts: 1,032

Original Poster
Rep: Reputation: 45
Okay, my lists finished I think, but it doesn't continue
In my /var/swaret/PACKAGES.TXT file I found these lines at the top:


PACKAGES.TXT; Thu Dec 18 22:08:11 PST 2003

This file provides details on the Slackware packages found
in the ./slackware/ directory.

Total size of all packages (compressed): 919 MB
Total size of all packages (uncompressed): 2553 MB

Now, I hope that doesn't mean it's going to download all 919 MB, because that would be a pain. I also looked for a /var/swaret/slackware directory, but none exists.

I'm tempted to create that directory and try again....
 
Old 01-06-2004, 07:58 PM   #10
r_jensen11
Senior Member
 
Registered: Apr 2003
Location: Minnesota, USA
Distribution: Slack 10.0 w/2.4.26
Posts: 1,032

Original Poster
Rep: Reputation: 45
Grr, I just ran swaret --check, then ran the swaret --update and it worked. All those hours wasted waiting...
 
Old 01-06-2004, 08:12 PM   #11
dirstyGuy
Member
 
Registered: Jan 2004
Posts: 67

Rep: Reputation: 15
I use swaret to update/upgrade from my own current-tree, like
ROOT=file:/home/ftp/slackware/current

Below is a script I used to keep my current-tree current/actualized.

To use it, stream the most actual 9.1-CD into a dir /home/ftp/slackware,
Create 2 dirs (mkdir /tmp{rbak,rtmp} used for rsync), comment/uncommnt
from which source u gonna rsync ur tree, the first rsync may take few
hours, but then u ll have the most actual slackware-current-tree.
!!! The script DELETE, all obsoleted PACKAGES u ever have on
ur old tree, and replace with possible new pakages..

U then to forget about the all the CDs u ever have !!!
------------------------------------------------------------------------------------------
#!/bin/sh

SCRIPT="\n\t`/usr/bin/basename $0`:"
RDEST="/home/ftp/slackware/current/"

RSRC="rsync://ftp.slackware.com/slackware/slackware-current/"
#RSRC="rsync://rsync.slackware.at/slackware/slackware-current/"
#RSRC="rsync://rsync.slackware.no/slackware/slackware-current/"
#RSRC="rsync://mirror.pudas.net/slackware/slackware-current/"
#RSRC="rsync://slackware.orbital.us/slackware/slackware-current/"
#RSRC="rsync://ftp.biochem.uthscsa.edu/pub/linux/slackware/slackware-current"

# Attention, below is a line only !
rsync -a -u --stats -P -v --temp-dir=/tmp/rtmp/ --backup-dir=/tmp/rbak/ --delete
--exclude=/pasture/ --exclude=/source/ --exclude=/zipslack/ $RSRC $RDEST

-------------------------------------------------------------------------------------------
End of update discussion.

Last edited by dirstyGuy; 01-06-2004 at 08:30 PM.
 
Old 01-06-2004, 08:18 PM   #12
r_jensen11
Senior Member
 
Registered: Apr 2003
Location: Minnesota, USA
Distribution: Slack 10.0 w/2.4.26
Posts: 1,032

Original Poster
Rep: Reputation: 45
dirstyGuy, I don't fully understand. Are you saying to copy the files from the 9.1 disk I burned? and make directories /tmp/rbak and /tmp/rtmp? And then copy your code into my swaret.conf file?
 
Old 01-06-2004, 08:27 PM   #13
dirstyGuy
Member
 
Registered: Jan 2004
Posts: 67

Rep: Reputation: 15
No, u copy the whole 9.1-CD into a partition say "/whereEver"
then adjust RDEST="/whereEver"

Then use the script for synchronizing the content of the CD with the slackware-current tree identical with those on the official slacware-site or mirrors. Then edit ur "/etc/swaret.conf", comment all

#ROOT=http://...
#ROOT=ftp://

and append a line like
ROOT=file:/whereEverUrCurrentTreeIs
Mine is
ROOT=file:/home/ftp/slackware/current

Then
swaret --update
swaret --upgrade

----
N rrrrthink also to buy other products from slackware store if u don't need CDs..
http://store.slackware.com/cgi-bin/store

Last edited by dirstyGuy; 01-07-2004 at 12:40 AM.
 
Old 01-07-2004, 02:59 AM   #14
xushi
Senior Member
 
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288

Rep: Reputation: 45
you can try editing your /etc/swaret.conf and comment out a few of the mirrors you connect to,. some of them take forever or dont work, while others are good.

if you do connect, and download some of the packages, you can always cancel, and continue later... they are saved in /var/swaret/ , including the last one that was partially downloaded, which it continues downloading when you reconnect to the mirrors.
 
  


Reply



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
swaret --list too long linda Slackware 2 06-24-2004 07:37 PM
swaret slackware-current Vindane Slackware 5 06-16-2004 09:58 AM
swaret - current -X- Slackware 0 06-11-2004 05:39 AM
upgrade to current without using swaret?!! oldi Slackware 3 05-03-2004 05:50 PM
swaret.conf with current dfowensby Slackware 3 01-03-2004 12:43 AM

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

All times are GMT -5. The time now is 05:25 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