LinuxQuestions.org
Visit Jeremy's Blog.
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-21-2007, 02:12 PM   #1
mago
Member
 
Registered: Apr 2004
Location: Costa Rica
Distribution: slack current with 2.6.16.18 (still off the hook)
Posts: 284

Rep: Reputation: 33
Slackpkg cannot find packages, swaret can


Hi all,

I have a strange problem, I tried slackpkg while I was running 10.2 and I got a flawless upgrade to 11.0.
But after that slackpkg stopped working, I try to keep up with swaret that is quite a nice tool as well but since slackpkg proved to be so good I want to stick with it.

When I run:
Code:
slackpkg update
it seems ok, but when I run
Code:
slackpkg upgrade somepackage
or
Code:
slackpkg upgrade-all
I get errors saying it cannot find the package, if I install a new one works.


Any ideas?


Thanks a lot in advance.

Last edited by mago; 01-21-2007 at 06:44 PM.
 
Old 01-21-2007, 03:22 PM   #2
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 46
Did you change slackpkg's mirrors to point to a 11.0 mirror?
 
Old 01-21-2007, 03:28 PM   #3
mago
Member
 
Registered: Apr 2004
Location: Costa Rica
Distribution: slack current with 2.6.16.18 (still off the hook)
Posts: 284

Original Poster
Rep: Reputation: 33
I sure did, otherwise wouldn't have upgraded to 11.0
 
Old 01-21-2007, 04:15 PM   #4
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,123

Rep: Reputation: 151Reputation: 151
Can you give some specific examples of packages you were upgrading as well as the output you got? I'm not having a problem with slackpkg here. When you run slackpkg update do you get this message?
Code:
No changes in ChangeLog.txt between your last update and now.
 
Old 01-21-2007, 06:43 PM   #5
mago
Member
 
Registered: Apr 2004
Location: Costa Rica
Distribution: slack current with 2.6.16.18 (still off the hook)
Posts: 284

Original Poster
Rep: Reputation: 33
This is the output of the update:
Code:
No changes in ChangeLog.txt between your last update and now.
                Do you really want to download all other files (y/N)?
Now when I ran:
Code:
slackpkg upgrade-all
Or anything for that matter I get:
Code:
Resolving ftp.belnet.be... 193.190.198.20, 2001:6a8:3c80:0:203:baff:fe39:f931
Connecting to ftp.belnet.be|193.190.198.20|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4,061 (4.0K) [text/html]

100%[====================================>] 4,061          8.06K/s             

18:41:47 (8.05 KB/s) - `/var/cache/packages/index.html.33' saved [4061/4061]

--18:41:47--  http://ftp.belnet.be/packages/slackware/slackware-11.0/.asc
           => `/var/cache/packages/.asc'
Resolving ftp.belnet.be... 193.190.198.20, 2001:6a8:3c80:0:203:baff:fe39:f931
Connecting to ftp.belnet.be|193.190.198.20|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
18:41:48 ERROR 404: Not Found.

md5sum: /var/cache/packages/Error:: No such file or directory
        ERROR - Package not installed! gpg error!
It doesn't matter which mirror I choose.

Last edited by mago; 01-21-2007 at 06:44 PM.
 
Old 01-21-2007, 07:38 PM   #6
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,123

Rep: Reputation: 151Reputation: 151
I can't make that error happen here...

Is slackpkg only checking official Slackware packages? In other words, have any of the packages installed on your system from your original installation been updated by any other means (linuxpackages.net, etc.)?
 
Old 01-21-2007, 08:03 PM   #7
mago
Member
 
Registered: Apr 2004
Location: Costa Rica
Distribution: slack current with 2.6.16.18 (still off the hook)
Posts: 284

Original Poster
Rep: Reputation: 33
Well yes but are not system related.

I have wlassistant,wmwifi,3ddesktop and OpenOffice.

Those should not cause any problems.
 
Old 01-21-2007, 10:04 PM   #8
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,123

Rep: Reputation: 151Reputation: 151
Quote:
Originally Posted by mago
Now when I ran:
Code:
slackpkg upgrade-all
Or anything for that matter I get:
Code:
Resolving ftp.belnet.be... 193.190.198.20, 2001:6a8:3c80:0:203:baff:fe39:f931
Connecting to ftp.belnet.be|193.190.198.20|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4,061 (4.0K) [text/html]

100%[====================================>] 4,061          8.06K/s             

18:41:47 (8.05 KB/s) - `/var/cache/packages/index.html.33' saved [4061/4061]

--18:41:47--  http://ftp.belnet.be/packages/slackware/slackware-11.0/.asc
           => `/var/cache/packages/.asc'
Resolving ftp.belnet.be... 193.190.198.20, 2001:6a8:3c80:0:203:baff:fe39:f931
Connecting to ftp.belnet.be|193.190.198.20|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
18:41:48 ERROR 404: Not Found.

md5sum: /var/cache/packages/Error:: No such file or directory
        ERROR - Package not installed! gpg error!
There's something strange about the file list that slackpkg is retrieving for your system. I'd expect to see /var/cache/packages/packagename.tgz and then /var/cache/packages/packagename.tgz.asc as the local files that are downloaded. You have /var/cache/packages/index.html.33 and /var/cache/packages/.asc and slackpkg isn't finding the .asc file on the remote server.

I don't normally suggest uninstalling/reinstalling because it doesn't identify what went wrong. However, slackpkg reconstructs its data files without problem so... have/can you try uninstalling slackpkg, making sure that /etc/slackpkg is removed and then reinstall slackpkg? You should be able to drop in the slackpkg.conf, mirrors and blacklist files from a backup and it will work properly.
 
Old 01-22-2007, 12:41 AM   #9
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 46
Did you (manually) upgrade to the latest version of slackpkg?
 
Old 01-22-2007, 09:55 PM   #10
mago
Member
 
Registered: Apr 2004
Location: Costa Rica
Distribution: slack current with 2.6.16.18 (still off the hook)
Posts: 284

Original Poster
Rep: Reputation: 33
Well I did uninstall it as Gilead suggested, and I delete manually /etc/slackpkg.

Then I looked for the slackpkg of current which is the same that comes with the 11.0 and reinstalled it and I get the exact same thing.


Running out of ideas.....


Thanks for the suggestions doe.
 
Old 01-25-2007, 06:57 PM   #11
bingo
Member
 
Registered: Apr 2006
Distribution: Slackware
Posts: 57

Rep: Reputation: 15
I just started getting this exact problem yesterday when attempting to upgrade fetchmail. Any progress here? ...Steve
 
Old 01-30-2007, 02:18 PM   #12
julot
Member
 
Registered: Feb 2005
Location: Bogotá, Colombia
Distribution: Slackware
Posts: 36

Rep: Reputation: 15
same with me. It says it can't find ...../.asc. Tried different mirrors too, and no results
 
Old 01-30-2007, 02:47 PM   #13
pdw_hu
Member
 
Registered: Nov 2005
Location: Budapest, Hungary
Distribution: Slackware, Gentoo
Posts: 346

Rep: Reputation: Disabled
Quote:
Connecting to ftp.belnet.be|193.190.198.20|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
18:41:48 ERROR 404: Not Found....
Another mirror mayhaps?
 
Old 01-30-2007, 03:34 PM   #14
julot
Member
 
Registered: Feb 2005
Location: Bogotá, Colombia
Distribution: Slackware
Posts: 36

Rep: Reputation: 15
I don't think so. In my case, the first file it tries to update is the "xargs" file (!!!!!). AFAIK, is a bug in slackpkg, triggered when trying to upgrade a package with previous patches.

Just to be sure... how many of us are trying to update the "bind" package??
has anybody been able to upgrade it successfully after the last security update?
 
Old 01-30-2007, 03:36 PM   #15
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 46
Yes, slackpkg has never failed for me in the last 3 years, "bind" update included.
 
  


Reply

Tags
slackpkg, upgrade


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
swaret and slackpkg lodder Slackware 5 10-14-2005 04:37 AM
Slackpkg vs. Swaret. mdarby Slackware 3 11-18-2004 10:10 PM
Why does patrick seem to favor slackpkg over swaret? Barx Slackware 4 11-10-2004 09:59 AM
swaret or slackpkg ? frochet Slackware 8 06-11-2004 01:08 PM
slapt-get, swaret, or SlackPkg ??? GloVe Slackware 2 10-05-2003 12:11 PM


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