On a system that I recently upgraded from 14.2 to -current, slackpkg is acting up. For example (one of many), an update of the curl package came available a few days ago, and here are some relevant command outputs (all after running
slackpkg update, of course):
Code:
root@swcurrent:~# grep n\/curl /var/lib/slackpkg/ChangeLog.txt
n/curl-7.71.0-x86_64-1.txz: Upgraded.
n/curl-7.70.0-x86_64-1.txz: Upgraded.
[...about 38 truncated lines...]
root@swcurrent:~# ls -al /var/log/packages/curl*
-rw-r--r-- 1 root root 24029 Jun 9 12:51 /var/log/packages/curl-7.70.0-i586-1
So ChangeLog.txt knows that curl-7.71.0-x86_64-1 is available, and /var/log/packages knows that curl-7.70.0-i586-1 is currently installed. But when I try to upgrade curl, I get the following:
Code:
root@swcurrent:~# slackpkg upgrade curl
Checking local integrity... DONE
Looking for curl in package list. Please wait... DONE
No packages match the pattern for upgrade. Try:
/usr/sbin/slackpkg install|reinstall
Here is some configuration-related information to show all uncommented lines in the following files:
Code:
root@swcurrent:~# grep -v ^# /etc/slackpkg/mirrors
https://mirrors.slackware.com/slackware/slackware64-current/
root@swcurrent:~# grep -v ^# /etc/slackpkg/blacklist
kernel-generic
kernel-generic-smp
kernel-huge
kernel-huge-smp
kernel-modules
kernel-modules-smp
root@swcurrent:~# grep -v ^# /etc/slackpkg/slackpkg.conf
TEMP=/var/cache/packages
WORKDIR=/var/lib/slackpkg
WGETFLAGS="--passive-ftp"
DELALL=on
CHECKMD5=on
CHECKGPG=on
CHECKSIZE=off
PRIORITY=( patches %PKGMAIN extra pasture testing )
POSTINST=on
ONLY_NEW_DOTNEW=off
ONOFF=on
DOWNLOAD_ALL=on
DIALOG=on
BATCH=off
DEFAULT_ANSWER=n
USE_INCLUDES=on
SPINNING=on
DIALOG_MAXARGS=139000
I have tried referencing other mirrors specifically (for example, the SlackBuilds mirror), but the result is the same: no upgrading. I deleted and reinstalled slackpkg using removepkg and installpkg (with slackpkg-2.83.0-noarch-4.txz) to no effect. I have removed /var/lib/slackpkg to have slackpkg recreate a fresh version.
Two other puzzle pieces that might help:
Code:
root@swcurrent:~# slackpkg search curl
Looking for curl in package list. Please wait... DONE
The list below shows all packages with name matching "curl".
[uninstalled] - pycurl-7.43.0.5-x86_64-1
[uninstalled] - curl-7.71.0-x86_64-1
You can search specific files using "slackpkg file-search file".
That is, slackpkg knows that curl has curl-7.71.0-x86_64-1 available, but it believes curl to be "uninstalled." However...
Code:
root@swcurrent:~# slackpkg remove curl
...
does recognize curl-7.70.0-i586-1 as a package that can be removed. Interesting to me (and hoping I did not bury the lede), is the following:
Code:
root@swcurrent:~# slackpkg install curl
Looking for curl in package list. Please wait... DONE
No packages match the pattern for install. Try:
/usr/sbin/slackpkg reinstall|upgrade
This is happening not just with curl but with nearly all packages. And it is a recent problem; the files in /var/log/removed_packages/ show that over a thousand packages got removed when getting upgraded on June 9. Even today, a couple of packages upgraded successfully (xxHash and kernel-source), but most did not.
Any ideas why this might be happening? What more information could I provide to help sleuth this out? Most of all... how might I fix this? ;-)
Many thanks in advance.