LinuxQuestions.org
Visit Jeremy's Blog.
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 08-12-2009, 10:51 AM   #1
Zeno McDohl
Member
 
Registered: Apr 2005
Location: Saratoga, NY
Distribution: Slackware
Posts: 322

Rep: Reputation: 30
swaret not working


Every package gives me "FAILED!".
Quote:
[ ftp://ftp.nluug.nl/pub/os/Linux/dist...ckware-current ]
### Fetching apache-1.3.41-i486-1_slack10.1 (1561 kB)...
--- 0 kB/1561 kB [TOTAL: 0 kB/88871 kB] ~ 0 kB/s FAILED!
[ http://sunsite.cnlab-switch.ch/ftp/m...ckware-current ]
### Fetching apache-1.3.41-i486-1_slack10.1 (1561 kB)...
--- 0 kB/1561 kB [TOTAL: 0 kB/88871 kB] ~ 0 kB/s FAILED!
[ ftp://ftp.slackware.no/pub/linux/sla...ckware-current ]
### Fetching apache-1.3.41-i486-1_slack10.1 (1561 kB)...
--- 0 kB/1561 kB [TOTAL: 0 kB/88871 kB] ~ 0 kB/s FAILED!
[ http://www.slackware.no/slackware/slackware-current ]
### Fetching apache-1.3.41-i486-1_slack10.1 (1561 kB)...
--- 0 kB/1561 kB [TOTAL: 0 kB/88871 kB] ~ 0 kB/s FAILED!
[ ftp://ftp.slackware.at/slackware-current ]
### Fetching apache-1.3.41-i486-1_slack10.1 (1561 kB)...
--- 0 kB/1561 kB [TOTAL: 0 kB/88871 kB] ~ 0 kB/s FAILED!
[ http://www.slackware.at/data/slackware-current ]
### Fetching apache-1.3.41-i486-1_slack10.1 (1561 kB)...
--- 0 kB/1561 kB [TOTAL: 0 kB/88871 kB] ~ 0 kB/s FAILED!
I've tried changing the version, updatedb, swaret --update etc and nothing has solved this.

Happens on any package and any version.
 
Old 08-12-2009, 11:04 AM   #2
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Debian, Slackware
Posts: 7,342

Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
Have you tried slackpkg? I've found this to be a very good utility.

http://www.slackpkg.org/documentation.html
 
Old 08-12-2009, 11:13 AM   #3
Zeno McDohl
Member
 
Registered: Apr 2005
Location: Saratoga, NY
Distribution: Slackware
Posts: 322

Original Poster
Rep: Reputation: 30
Thanks, this looks better. But it doesn't seem to see anything. I enabled a mirror and did an update.
Quote:
root@zeno:~# slackpkg search gcc

No package contains the selected pattern.

root@zeno:~# slackpkg search nano

No package contains the selected pattern.

root@zeno:~# slackpkg search vim

No package contains the selected pattern.

root@zeno:~# slackpkg search gdb

No package contains the selected pattern.
 
Old 08-12-2009, 11:16 AM   #4
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Debian, Slackware
Posts: 7,342

Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
After you added a mirror did you first run:

# slackpkg update
 
Old 08-12-2009, 11:20 AM   #5
Zeno McDohl
Member
 
Registered: Apr 2005
Location: Saratoga, NY
Distribution: Slackware
Posts: 322

Original Poster
Rep: Reputation: 30
Yes, like I said I did an update. Got it working though, apparently any current mirror had this issue so I enabled a 12.0 mirror.

Now I'm having this issue:
Quote:
Package gmp-4.1.4-i486-2 upgraded with new package ./gmp-4.2.2-i486-1.tgz.


Searching for NEW configuration files

Some packages had new configuration files installed.
You have four choices:

(K)eep the old files and consider .new files later

(O)verwrite all old files with the new ones. The
old files will be stored with the suffix .orig

(R)emove all .new files

(P)rompt K, O, R selection for every single file

What do you want (K/O/R/P)?
P
Select what you want file-by-file
/etc/rc.d/rc.font.new - (K)eep|(O)verwrite|(R)emove|(D)iff?
D
file /etc/rc.d/rc.font doesn't exist
/etc/rc.d/rc.font.new - (K)eep|(O)verwrite|(R)emove|(D)iff?
D
file /etc/rc.d/rc.font doesn't exist
/etc/rc.d/rc.font.new - (K)eep|(O)verwrite|(R)emove|(D)iff?
 
Old 08-12-2009, 04:21 PM   #6
akiku
Member
 
Registered: Jun 2009
Distribution: Slackware
Posts: 62

Rep: Reputation: 17
I wouldn't give up on swaret yet. I've been using the latest version (1.6.3.2) with no issues at all.
Has it ever worked for you? If not, you may need to check your swaret.conf. I don't have access to mine right now, but I can send it to you later, if it would help.
 
Old 08-12-2009, 06:42 PM   #7
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Quote:
What do you want (K/O/R/P)?
P
Select what you want file-by-file
/etc/rc.d/rc.font.new - (K)eep|(O)verwrite|(R)emove|(D)iff?
D
file /etc/rc.d/rc.font doesn't exist
There is nothing mysterious about this message. There is no prior file "/etc/rc.d/rc.font" so it is impossible to show the difference with the "/etc/rc.d/rc.font.new" file.

Eric
 
Old 08-12-2009, 09:58 PM   #8
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 2,559

Rep: Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351
I don't know what makes you think you can just jump from using a 10.1 mirror to a 12.0 mirror, but it doesn't work like that. If you really did that, then I suspect that swaret is the least of your problems (and that's saying a lot, because swaret is probably the last piece of software you'll ever find installed on one my systems).
 
Old 08-13-2009, 01:56 AM   #9
gargamel
Senior Member
 
Registered: May 2003
Distribution: Slackware, OpenSuSE
Posts: 1,839

Rep: Reputation: 242Reputation: 242Reputation: 242
Quote:
Originally Posted by rworkman View Post
[...]swaret is probably the last piece of software you'll ever find installed on one my systems).
To be honest, I have seen opinions like this many times over the years, posted here and elsewhere. But it is actually not clear to me, what these harsh statements are caused by.

Of course, a fool with a tool is still a fool (not adressed to the OP).

I find useful functionality in tools like swaret and slapt-get, mainly dependency checking, which is something that none of the (good!) official tools does for me. But I won't ever allow them to resolve dependencies unattended.
Neither swaret nor slapt-get has ever caused any damage in my system, probably because I used them with care. Still, they provide useful features, not available in the stock tools.

So I wonder what this hostility is caused by.

BTW, I use slapt-get not very often, but I like to use sbopkg, slackyd and src2pkg. These are all very helpful for me, and they way they guide the user minimises the risk of unintential replacements of libraries due to dependencies being resolved automatically, or so.
However, as I said, swaret and slapt-get provide a couple of useful features, that I haven't found elsewhere. I only use these features to get some hints of gaps or inconsistencies, and they proved very useful for this.

But to make this clear too: I rely on slapt-get or swaret to maintain my system. I use slackpkg and the pkgtools for this.

gargamel
 
Old 08-13-2009, 08:11 AM   #10
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 2,559

Rep: Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351
Please don't put words in my mouth - I made no statements at all about slapt-get in that post. In fact, if used properly and with an understanding of its limitations, I think slapt-get can be a great tool for many users.

I cannot say the same about swaret - the way it tries to find dependencies is fundamentally flawed. That might have changed in the most recent version, and if so, perhaps I need to have a look at it again, but otherwise, my opinion stands as stated earlier.
 
Old 08-13-2009, 12:14 PM   #11
gargamel
Senior Member
 
Registered: May 2003
Distribution: Slackware, OpenSuSE
Posts: 1,839

Rep: Reputation: 242Reputation: 242Reputation: 242
Quote:
Originally Posted by rworkman View Post
Please don't put words in my mouth - I made no statements at all about slapt-get in that post.
That's certainly not what I was going to say. If my post can be mis-interpreted in this way, I apologise for this.

gargamel
 
Old 08-13-2009, 12:29 PM   #12
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 2,559

Rep: Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351
Fair enough. It was *early* in the morning when I replied, so perhaps I just needed more caffeine. :-)
 
Old 08-13-2009, 02:27 PM   #13
gargamel
Senior Member
 
Registered: May 2003
Distribution: Slackware, OpenSuSE
Posts: 1,839

Rep: Reputation: 242Reputation: 242Reputation: 242
No problem. Keep up the excellent work!

gargamel
 
  


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 commands not working after install RAdams Slackware 6 10-03-2006 10:00 AM
Deleting Swaret files in /var/swaret?? Garibaldi3489 Slackware 2 12-30-2004 04:10 PM
swaret help- updatedb not working ajbrouwe Slackware 4 12-18-2004 01:36 PM
ftp.linuxpackages.net on Swaret not working Vindane Slackware 3 05-28-2004 06:57 PM
Tvtime not working fluently after swaret --upgrade snop Slackware 1 05-17-2004 02:42 AM

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

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