slackpkg plus install file from cache - BUG?
by zdolar from LinuxQuestions.org on (#5H5SY)
Hi!
Discovered bug in a slackpkg plus.
If package exist in cache folder, it is always installed from there, despite exact file path.
Case: I compiled a package test-1.0.txz and installed it with:
Code:slackpkg install file:/usr/src/test/test-1.0.txzthe package is installed and also copied to Quote:
That is correct.
As the program do not work as expected, I changed compile options and recompiled it with the same name.
Code:slackpkg remove test removes the installed package correctly.
executing Code:slackpkg install file:/usr/src/test/test-1.0.txz again DO NOT INSTALL the file from the supplied path! Instead it install OLD FALSE package from Quote:
and the new file IS NOT COPIED to cache folder.
I consider this behaviour as a bug.
Spent a lot of time to debug that, blamed test sources to not function instead. :study: :scratch: :banghead:


Discovered bug in a slackpkg plus.
If package exist in cache folder, it is always installed from there, despite exact file path.
Case: I compiled a package test-1.0.txz and installed it with:
Code:slackpkg install file:/usr/src/test/test-1.0.txzthe package is installed and also copied to Quote:
/var/cache/packages/SLACKPKGPLUS_file0 |
As the program do not work as expected, I changed compile options and recompiled it with the same name.
Code:slackpkg remove test removes the installed package correctly.
executing Code:slackpkg install file:/usr/src/test/test-1.0.txz again DO NOT INSTALL the file from the supplied path! Instead it install OLD FALSE package from Quote:
/var/cache/packages/SLACKPKGPLUS_file0 |
I consider this behaviour as a bug.
Spent a lot of time to debug that, blamed test sources to not function instead. :study: :scratch: :banghead: