LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   [SOLVED] slackpkg downgrade chrome? (https://www.linuxquestions.org/questions/slackware-14/%5Bsolved%5D-slackpkg-downgrade-chrome-4175553941/)

bassplayer69 09-19-2015 05:44 AM

[SOLVED] slackpkg downgrade chrome?
 
I have slackware64-current installed and this morning I installed chrome based on the slackbuild that is in /extra. This installed chrome 45.0.2454.93. I then ran slackpkg upgrade-all and was prompted to upgrade chrome to version 39.0.2171.65. See picture here: https://www.flickr.com/gp/123978416@N06/5yi1rg. Seems I need to add chrome to the /etc/slackpkg/blacklist file now, but I'm curious as to why it thinks that version 39.0.2171.65 is newer than 45.0.2454.93?

average_user 09-19-2015 07:03 AM

slackpkg does not check a version number, it just compares a raw package name. Look into /usr/libexec/slackpkg/core-functions.sh around line 777

Alien Bob 09-19-2015 07:36 AM

Slackware itself does not have Google Chrome 39.0.2171.65. The screenshot shows that you have the Slacky repository for Slackware 14.1 enabled in slackpkg with slackpkg+
You built your own Chrome now, this means you need to blacklist the Chrome package because otherwise it will be pulled from the slacky repository every time you run "slackpkg upgrade-all".

Didier Spaier 09-19-2015 07:50 AM

Slackpkg doesn't care for the version number at all. You are using slackpkg+ with "slacky" among the repositories listed, and and a package in any repository listed will have priority over a custom package bearing the same name. So yes, blacklist that package.

EDIT. Too late, sorry.

bassplayer69 09-19-2015 07:55 AM

Cool. Thanks for the quick responses! :)


All times are GMT -5. The time now is 07:44 PM.