LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   14.1: Google-chrome upgrade will not build: file format not recognized (https://www.linuxquestions.org/questions/slackware-14/14-1-google-chrome-upgrade-will-not-build-file-format-not-recognized-4175497510/)

rshepard 03-08-2014 12:09 PM

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

lems 03-09-2014 06:07 AM

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.

ruario 03-09-2014 08:02 AM

@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

rshepard 03-10-2014 11:30 AM

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

ruario 03-10-2014 01:03 PM

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.

rshepard 03-11-2014 02:04 PM

Ruari,

Thank you. I'll adopt your suggestions.

Much appreciated,

Rich


All times are GMT -5. The time now is 07:33 AM.