14.1: Google-chrome upgrade will not build: file format not recognized
Trying to upgrade google-chrome on a newly upgraded Sony Vaio. Downloaded all 51M of the google-chrome-current-amd64.deb file and put it in the directory with the other files. According to the README it should build like any other Slackware package.
However, when I run (as root, of course) ./google-chrome.SlackBuild the process immediately fails with the message that the .deb file is not recognized and is not a .txz file. According to the SlackBuild script the input is supposed to be a .deb file so I'm puzzled as to the source of the problem. A clue stick would be much appreciated, Rich |
Have you tried ruario's latest-chrome script? I just tried building a chrome package with it, and it worked. However, using the SlackBuild from extra/ also worked for me, the only error I got was that the .desktop file was missing (ln).
edit: Not Google Chrome, but Alien BOB has chromium packages if all else fails. |
@rshepard: I suspect you didn't download the latest chrome deb package and place it alongside ./google-chrome.SlackBuild. Did you?
@lems: The SlackBuild from extra would work as well but needs a patch. AlienBOB created one but it looks like Pat has not got around to applying it. Using my latest-chrome script does indeed work and is easier ... but then ... I am biased. :p |
lems: Thanks for the pointer because ...
ruario: your script worked flawlessly. I'm keeping it on the laptop where chrome is the browser of choice so I have it for the next upgrade. If AlienBOB's patch is incorporated in the next Slackware release then that's the default option. Much appreciated, both of you, Rich |
Just run it from time to time. If there is no new version it will tell you so. If there is a new version it will download and repack it.
P.S. Rather than issuing "bash ./latest-chrome" every time you can just make it executable and stick it somewhere in your $PATH (e.g. /usr/local/bin), so you can just run "latest-chrome" directly, from whatever directory you happen to be in. |
Ruari,
Thank you. I'll adopt your suggestions. Much appreciated, Rich |
All times are GMT -5. The time now is 07:33 AM. |