Tried to upgrade my Google Chrome browser in Slackware 14.1 using the provided SlackBuild script but it fails with the latest debian package provided by Google. It turns out that I need to update the script to make it work again.
Below is the exact error when attempting to run the SlackBuild script.
no entry data.tar.lzma in archive lzma: (stdin): File format not recognized tar: This does not look like a tar archive tar: Exiting with failure status due to previous errors
A blog post from bovitron.com says that Chrome now uses new name for their Debian package which now uses the xz command instead of the previous lzma.
According to the post, change the line that says:
ar p $CWD/google-chrome-${RELEASE}_current_${DEBARCH}.deb data.tar.lzma | lzma -d | tar xv || exit 1
with the one below:
ar p $CWD/google-chrome-${RELEASE}_current_${DEBARCH}.deb data.tar.xz | xz -d | tar xv || exit 1
That’s it! I hope Slackware Team will change the script soon.
Great you are a wizard
thanks