LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Slackpkg cannot find packages, swaret can (https://www.linuxquestions.org/questions/slackware-14/slackpkg-cannot-find-packages-swaret-can-521471/)

mago 01-21-2007 02:12 PM

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.

uselpa 01-21-2007 03:22 PM

Did you change slackpkg's mirrors to point to a 11.0 mirror?

mago 01-21-2007 03:28 PM

I sure did, otherwise wouldn't have upgraded to 11.0

gilead 01-21-2007 04:15 PM

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.

mago 01-21-2007 06:43 PM

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.

gilead 01-21-2007 07:38 PM

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.)?

mago 01-21-2007 08:03 PM

Well yes but are not system related.

I have wlassistant,wmwifi,3ddesktop and OpenOffice.

Those should not cause any problems.

gilead 01-21-2007 10:04 PM

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.

uselpa 01-22-2007 12:41 AM

Did you (manually) upgrade to the latest version of slackpkg?

mago 01-22-2007 09:55 PM

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.

bingo 01-25-2007 06:57 PM

I just started getting this exact problem yesterday when attempting to upgrade fetchmail. Any progress here? ...Steve

julot 01-30-2007 02:18 PM

same with me. It says it can't find ...../.asc. Tried different mirrors too, and no results :(

pdw_hu 01-30-2007 02:47 PM

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? :)

julot 01-30-2007 03:34 PM

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?

uselpa 01-30-2007 03:36 PM

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


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