slackpkg+ - upgrading only if version # has increased
by An Infamous Historian from LinuxQuestions.org on (#4YWWE)
In order to get Nautilus to compile, I had to replace the Pango that ships with -current with a newer version since Nautilus depends on features in the newer version. So I did that, made a slackbuild so I could build and install it the slackware way, etc. I now have pango 1.44.7 installed on my system.
The problem is when I use slackpkg upgrade-all (using slackpkg+), it wants to replace that with the 1.42.4 version that is part of -current.
Blacklisting pango is one solution, but I'd have to remember I have it there and remove it once the distribution version catches up with what I have. I can also upgrade packages individually rather than just doing upgrade-all. I can also use the dialog interface and just unselect pango, and then hope I remember to stop doing that once the version catches up (and hope I don't forget until then).
These are all workable solutions, and if that's what I have to do then that's what I'll do. But what I'd like to do if it's possible, and have not been able to figure out if so, is for slackpkg+ to actually compare the version numbers of the distributed version and the installed version and only replace it once the distributed version has caught up.
Is there a way to do such a thing?


The problem is when I use slackpkg upgrade-all (using slackpkg+), it wants to replace that with the 1.42.4 version that is part of -current.
Blacklisting pango is one solution, but I'd have to remember I have it there and remove it once the distribution version catches up with what I have. I can also upgrade packages individually rather than just doing upgrade-all. I can also use the dialog interface and just unselect pango, and then hope I remember to stop doing that once the version catches up (and hope I don't forget until then).
These are all workable solutions, and if that's what I have to do then that's what I'll do. But what I'd like to do if it's possible, and have not been able to figure out if so, is for slackpkg+ to actually compare the version numbers of the distributed version and the installed version and only replace it once the distributed version has caught up.
Is there a way to do such a thing?