I've been installing Slack 12.2 the last few days and so far everything has gone well. Until today.
I've been using slackpkg to apply updates to packages as well as install additional packages, usually from slackware-current.
Today I updated the glibc packages as well as a few others (what they were, I couldn't be 100% sure). slackpkg didn't seem to like this and start causing problems- specifically giving all kinds of 'gpg errors'. I then actually accidentally removed the glibc packages (which were upgraded to those in slackware-current) completely from the system. After about an hour or so of playing with it, reinstalling the glibc packages from Slack 12.2 as well as reinstalling a few other packages like findutils and pkgtools, everything seemed to be up and running again- except for slackpkg.
slackpkg continues to give me grief. Using 'slackpkg search' specifically almost ALWAYS returns "No package contains the selected pattern." If I look at my /var/lib/slackpkg/pkglist file, it only contains a handful (like 5) of packages that *are* part of slackware-current (which is what I have selected in /etc/slackpkg/mirrors), but some of which are NOT the actual packages installed on the system.
For example, pkglist has both pkgtools 12.34567890 and slackpkg 2.71.2 listed. But I only have pkgtools 12.1.0 and slackpkg 2.70.5 installed- as seen in pkgtool. I have completely removed and reinstalled (from the Slack 12.2 disc) slackpkg several times, each time making sure to remove any directories or files left behind (at /etc/slackpkg and /var/lib/slackpkg) after removing the package with removepkg.
I've tried setting mirrors to a 12.2 mirror and doing 'slackpkg update' there first and then changing it to slackware-current and doing slackpkg update again but to no avail. Somehow slackpkg seems to 'know' which packages were previously installed from slackware-current and only populates pkglist with those packages.
Again, when I try and do something like 'slackpkg search firefox', or even something that I know is already installed, like 'slackpkg search bash', I get: "No package contains the selected pattern."
If I try and search for one of the packages listed in the pkglist file, like 'slackpkg search slackpkg', it does return with: "[ upgrade ] - pkgtools-12.1.0-noarch-7 --> pkgtools-12.34567890-noarch-5"
But when I go to perform the upgrade with 'slackpkg upgrade pkgtools', I get something like this:
Code:
Looking for slackpkg in package list. Please wait... DONE
/usr/libexec/slackpkg/functions.d/dialog-functions.sh: line 16: 4746 Done cat $TMPDIR/dialog.tmp
4747 Aborted | xargs dialog --title $2 --backtitle "slackpkg $VERSION" $HINT --checklist "Choose packages to $2:" 19 70 13 2>$TMPDIR/dialog.out
Package xargs: is already in cache - not downloading
md5sum: /var/cache/packages/xargs:: No such file or directory
ERROR - Package not installed! gpg error!
Package xargs.c:445: is already in cache - not downloading
md5sum: /var/cache/packages/xargs.c:445:: No such file or directory
ERROR - Package not installed! gpg error!
Package main: is already in cache - not downloading
md5sum: /var/cache/packages/main:: No such file or directory
ERROR - Package not installed! gpg error!
Package Assertion is already in cache - not downloading
md5sum: /var/cache/packages/Assertion: No such file or directory
ERROR - Package not installed! gpg error!
Package `bc_ctl.arg_max is already in cache - not downloading
md5sum: /var/cache/packages/`bc_ctl.arg_max: No such file or directory
ERROR - Package not installed! gpg error!
Package <= is already in cache - not downloading
md5sum: /var/cache/packages/<=: No such file or directory
ERROR - Package not installed! gpg error!
Package (131072-2048)' is already in cache - not downloading
md5sum: /var/cache/packages/(131072-2048)': No such file or directory
ERROR - Package not installed! gpg error!
Package failed. is already in cache - not downloading
md5sum: /var/cache/packages/failed.: No such file or directory
ERROR - Package not installed! gpg error!
Searching for NEW configuration files
No .new files found.
==============================================================================
WARNING! WARNING! WARNING! WARNING! WARNING!
==============================================================================
One or more errors occurred while slackpkg was running:
: gpg
: gpg
: gpg
: gpg
: gpg
: gpg
: gpg
: gpg
==============================================================================
I'm completely stumped. I've done everything I can think of but I'm obviously missing something.
Does anyone have any suggestions? I've contemplated formatting and start installing from scratch again (I'm not *that* far along yet) but would really rather not if it can be avoided.
Any help would be greatly appreciated!
- skubik