LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 03-08-2014, 12:09 PM   #1
rshepard
Member
 
Registered: Oct 2007
Location: Troutdale, Oregon
Distribution: Slackware
Posts: 130

Rep: Reputation: 15
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
 
Old 03-09-2014, 06:07 AM   #2
lems
Member
 
Registered: May 2004
Distribution: NetBSD / Slackware
Posts: 140

Rep: Reputation: 44
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.

Last edited by lems; 03-09-2014 at 06:13 AM.
 
2 members found this post helpful.
Old 03-09-2014, 08:02 AM   #3
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 1,840

Rep: Reputation: 846Reputation: 846Reputation: 846Reputation: 846Reputation: 846Reputation: 846Reputation: 846
@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.

Last edited by ruario; 03-09-2014 at 10:57 AM. Reason: s/them/then/
 
2 members found this post helpful.
Old 03-10-2014, 11:30 AM   #4
rshepard
Member
 
Registered: Oct 2007
Location: Troutdale, Oregon
Distribution: Slackware
Posts: 130

Original Poster
Rep: Reputation: 15
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
 
Old 03-10-2014, 01:03 PM   #5
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 1,840

Rep: Reputation: 846Reputation: 846Reputation: 846Reputation: 846Reputation: 846Reputation: 846Reputation: 846
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.
 
1 members found this post helpful.
Old 03-11-2014, 02:04 PM   #6
rshepard
Member
 
Registered: Oct 2007
Location: Troutdale, Oregon
Distribution: Slackware
Posts: 130

Original Poster
Rep: Reputation: 15
Ruari,

Thank you. I'll adopt your suggestions.

Much appreciated,

Rich
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Makefile: file not recognized:File format not recognized collect2: ld returned 1 exit Bringo Linux - Software 9 12-20-2010 04:08 AM
[SOLVED] can't debug with gdb: not in executable format: File format not recognized (squeeze) oddiofile Debian 1 08-24-2010 03:21 AM
LXer: Google pumps out Chrome build which knows where you are LXer Syndicated Linux News 0 03-05-2010 10:11 PM
Compiler error : /usr/lib/libc.so: file not recognized: File format not recognized kreena Solaris / OpenSolaris 7 12-14-2009 02:51 AM
/usr/lib/libgd.so: file not recognized: File format not recognized kimjao Linux - Software 2 07-24-2009 11:46 AM


All times are GMT -5. The time now is 10:59 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration