SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
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.
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.
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.)?
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.
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?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.