For those who noticed that "slackpkg upgrade-all" with the -current version of Slackware is trying to upgrade the rpm2tgz-1.0-i486-1.
txt package...
The problem seems to be in the update function in SlackPkg that creates the local pkglist file, since the rpm2tgz .txt file has the "tgz" sequence in its name.
I patched /usr/libexec/core-functions.sh as follows:
Code:
--- /usr/libexec/slackpkg/core-functions.sh 2009-04-25 21:56:26.000000000 -0300
+++ core-functions.sh 2009-05-09 10:52:57.000000000 -0300
@@ -749,7 +749,7 @@
#
echo -e "\tFormatting lists to slackpkg style..."
echo -e "\t\tPackage List: using $( basename $FILELIST ) as source"
- grep ".t[blxg]z" $FILELIST| \
+ grep ".t[blxg]z$" $FILELIST| \
awk -f /usr/libexec/slackpkg/pkglist.awk |\
sed -e 's/^M//g' > ${TMPDIR}/pkglist
cp ${TMPDIR}/pkglist ${WORKDIR}/pkglist
And that seemed to solve the problem. I had to force a "slackpkg update" again to rebuild the local pkglist file.