Slackware

Google Chrome 41 SlackBuild script error

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.

1 Comment

1 thought on “Google Chrome 41 SlackBuild script error”

Leave a reply

Your email address will not be published. Required fields are marked *