LinuxQuestions.org
Register a domain and help support LQ
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 03-16-2004, 01:09 AM   #1
2Gnu
Senior Member
 
Registered: Jan 2002
Location: Southern California
Distribution: Slackware 14.0
Posts: 1,874

Rep: Reputation: 49
Swaret lists no packages


Swaret is used to update two 9.1 systems and has worked great until ...
One system seems to have lost the record of what's there.

root@webber:~# swaret --list
swaret 1.6.1

=> Creating EXCLUDE List..... DONE!

Listing all available Packages...

No available Packages found!

root@webber:~# swaret --update
swaret 1.6.1

[ ftp://ftp.nluug.nl/pub/os/Linux/dist...ckware-current ]
### Fetching CHECKSUMS List File... DONE!







cat /var/log/swaret

Mon Mar 15 21:41:39 PST 2004: [ GLOBAL ] - swaret --update
Mon Mar 15 21:41:39 PST 2004: [ update_lists() ] - [ftp://ftp.nluug.nl/pub/os/Linux/dist...ckware-current ]
Mon Mar 15 21:41:43 PST 2004: [ update_lists() ] - ### Fetching CHECKSUMS List File... DONE!
Mon Mar 15 21:41:43 PST 2004: [ update_lists() ] -
Mon Mar 15 21:41:43 PST 2004: [ update_lists() ] -
Mon Mar 15 21:41:43 PST 2004: [ update_lists() ] -
Mon Mar 15 21:41:43 PST 2004: [ update_lists() ] -

I've made no changes to the config file since I set it up. VERSION=current

Any ideas as to what went wrong? My first instinct is to remove & reinstall the package, but experience tells me thinking it through and asking questions might be a better approach.
 
Old 03-16-2004, 01:28 AM   #2
Zero-0-Effect
Member
 
Registered: Sep 2002
Location: Texas
Distribution: SlackWare - Current LFS - CVS
Posts: 267

Rep: Reputation: 31
Im not sure how you would go about fixing that.. but I would just go ahead and reinstall with a newer version. It could be that the server you are getting the packages from is no longer available or was down at the time of running swaret.
 
Old 03-16-2004, 05:35 AM   #3
SailingGypsy
Member
 
Registered: Jan 2004
Location: Florida, USA
Distribution: Slackware, SuSE
Posts: 42

Rep: Reputation: 15
Did you try: # swaret --update

That will update the list of all available packages, patches, etc.

I personally run it immediately before running any other swaret command so the list is always up-to-date

HTH

Regards...
 
Old 03-16-2004, 07:21 AM   #4
xushi
Senior Member
 
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288

Rep: Reputation: 45
You might as well update to swaret 1.6.2-1 ..

And try changing the servers in /etc/swaret.conf to exclude some that might fail..

As for the updates, i haven't seen any new ones for the past 2 weeks or so. just visit http://slackware.com/changelog/current.php?cpu=i386 and check over there to see if the top fixes are the latest ones you have installed.
 
Old 03-16-2004, 10:11 AM   #5
2Gnu
Senior Member
 
Registered: Jan 2002
Location: Southern California
Distribution: Slackware 14.0
Posts: 1,874

Original Poster
Rep: Reputation: 49
Thanks for the replies. Maybe I wasn't clear on a couple of points.

--update goes through the motions, but instead of displaying the lists being updated it spits out blank lines (see the output in my original post).

--list should show all installed packages. Instead, it shows nothing.

The swaret.conf file lists several sites to be used for updates and the system seems to look for them, falling through to subsequent sites if the first ones are not available. It's not as though it errors out from not finding them.

Is there a way to force swaret to rescan the installed base - like updatedb for slocate?

Where is the list of installed and updated packages kept? I'd like to look at it for clues.

Again, I would sort of like to fix (or at least understand) the problem before blindly installing or ripping out anything. I don't *think* I did anything to bring this on, but it's certainly possible.
 
Old 03-16-2004, 10:36 AM   #6
Nis
Member
 
Registered: Jul 2003
Location: Virginia
Distribution: Ubuntu Hoary (5.04)
Posts: 550

Rep: Reputation: 31
You definately need to update to 1.6.2-1. The way the FILELIST.TXT file was formated changed and 1.6.1 can't handle it, hence why no packages are being listed.
Code:
wget http://www.swaret.org/files/stable/swaret-1.6.2-noarch-1.tgz
upgradepkg swaret-1.6.2-noarch-1.tgz
 
Old 03-16-2004, 12:14 PM   #7
2Gnu
Senior Member
 
Registered: Jan 2002
Location: Southern California
Distribution: Slackware 14.0
Posts: 1,874

Original Poster
Rep: Reputation: 49
That worked.
Thank you very much for the replies and the explanations.
 
Old 03-16-2004, 12:15 PM   #8
flashingcurser
Member
 
Registered: Jan 2003
Distribution: many win/nix/mac
Posts: 259

Rep: Reputation: 31
rm -R /var/swaret/.cache/*

If you run into this problem again.




(Dont worry swaret will make a new one, this just clears swarets cache)

Last edited by flashingcurser; 03-16-2004 at 12:17 PM.
 
Old 03-17-2004, 02:01 PM   #9
orjanp
LQ Newbie
 
Registered: Oct 2003
Location: Tromsoe, Norway
Distribution: Slackware 9.1
Posts: 16

Rep: Reputation: 0
Is swaret beeing replaced with slackpkg?
 
  


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
apt-get upgrade lists many packages kept back malbery Debian 2 01-05-2005 02:15 PM
adding packages after installation and partiton lists? buffed317 Slackware 6 08-10-2004 09:51 PM
Problems with swaret, can't locate packages huf Linux - Software 8 06-28-2004 09:31 AM
swaret and packages joseph_1970 Slackware 7 12-04-2003 01:32 PM
swaret: More packages? JoooN Slackware 1 04-27-2003 11:14 AM


All times are GMT -5. The time now is 03:57 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration