Article 5H5SY slackpkg plus install file from cache - BUG?

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:
/var/cache/packages/SLACKPKGPLUS_file0
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:
/var/cache/packages/SLACKPKGPLUS_file0
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:latest?d=yIl2AUoC8zA latest?i=IoBic96p4L8:Fo_Q-toLC3o:F7zBnMy latest?i=IoBic96p4L8:Fo_Q-toLC3o:V_sGLiP latest?d=qj6IDK7rITs latest?i=IoBic96p4L8:Fo_Q-toLC3o:gIN9vFwIoBic96p4L8
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments