![]() |
SlackPkg trying to upgrade rpm2tgz-1.0-i486-1.txt in -current
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 |
Thanks niels - I have just noticed this problem myself - following your patch now - thanks again..
(I was looking here to see if anyone else had found this and posted on it. I was starting to think it was just me !) |
Quote:
Code:
--- /usr/libexec/slackpkg/core-functions.sh 2009-04-25 21:56:26.000000000 -0300 |
I had noticed the "dot" error, but I left it alone.
Now the grep command will only pick lines that end with ".t[blxg]z", not any file that ends with "t[blxg]z". You're right, since we are correcting it, might as well do it the best way possible, to avoid other problems in the future :) |
| All times are GMT -5. The time now is 04:56 PM. |