cgeiser
Posts: 1
Joined: Mon Oct 19, 2015 3:33 am

Chromium missing from stretch

Thu Aug 17, 2017 5:47 pm

I just installed from a fresh download of the Raspbian Stretch image. When I log in to the GUI there is no browser available. I thought maybe chromium was missing from the image so I tried installing it but get the message that it is already installed.

Code: Select all

sudo apt-get install chromium-browser 
gives me this:

Code: Select all

Reading package lists... Done
Building dependency tree
Reading state information... Done
chromium-browser is already the newest version (56.0.2924.84-0ubuntu0.14.04.1.1000).
0 upgraded, 0 newly installed, 0 to remove and 795 not upgraded.
Next I've tried to manually start it:

Code: Select all

chromium-browser
and get this:

Code: Select all

-bash: chromium-browser: command not found
Any tips?

Thanks

DirkS
Posts: 10018
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: Chromium missing from stretch

Sat Aug 19, 2017 1:03 pm

cgeiser wrote:
Thu Aug 17, 2017 5:47 pm

Code: Select all

sudo apt-get install chromium-browser 
gives me this:

Code: Select all

Reading package lists... Done
Building dependency tree
Reading state information... Done
chromium-browser is already the newest version (56.0.2924.84-0ubuntu0.14.04.1.1000).
0 upgraded, 0 newly installed, 0 to remove and 795 not upgraded.
Are you sure you downloaded / installed the latest version from https://www.raspberrypi.org/downloads/raspbian/ dated 2017-08-16?
The pre-installed version of chromium on that image is 60.x
You can also see that there are 795 packages waiting to be upgraded. I wouldn't expect there to be that many straight after the RPF Stretch release.

runboy93
Posts: 352
Joined: Tue Feb 28, 2017 1:17 pm
Location: Finland
Contact: Website

Re: Chromium missing from stretch

Sat Aug 19, 2017 1:25 pm

I think this happens with Jessie -> Stretch upgrade.

boltronics
Posts: 1
Joined: Wed Nov 22, 2017 11:18 pm

Re: Chromium missing from stretch

Wed Nov 22, 2017 11:42 pm

The main sources.list repositories are:

Code: Select all

deb http://mirrordirector.raspbian.org/raspbian/ stretch main contrib non-free rpi
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
deb-src http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ stretch main contrib non-free rpi
While these lines contain most OS packages, chromium-browser is actually an extra package from archive.raspberrypi.org, so you'll also want these lines in your sources.list configuration:

Code: Select all

deb http://archive.raspberrypi.org/debian/ stretch main
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
deb-src http://archive.raspberrypi.org/debian/ stretch main
The chromium-browser package should now be available to you for installation.

Code: Select all

apt-cache policy chromium-browser
chromium-browser:
  Installed: 60.0.3112.89-0ubuntu0.14.04.1.1010
  Candidate: 60.0.3112.89-0ubuntu0.14.04.1.1010
  Version table:
 *** 60.0.3112.89-0ubuntu0.14.04.1.1010 500
        500 http://archive.raspberrypi.org/debian stretch/main armhf Packages
        100 /var/lib/dpkg/status
        

amilino
Posts: 82
Joined: Fri Feb 05, 2016 6:01 pm

Re: Chromium missing from stretch

Sat Dec 02, 2017 10:07 am

Code: Select all

60.0.3112.89-0ubuntu0.14.04.1.1010
This version does not work on latest Raspbian stretch, just updated OS with

Code: Select all

rpi-update
and Chromium-browser is not starting.

Any idea how to install version 62 on stretch, apparently it is not in the archive repository? I don't want to install it manually, it must be in repository!

SurferTim
Posts: 1769
Joined: Sat Sep 14, 2013 9:27 am
Location: Miramar Beach, Florida

Re: Chromium missing from stretch

Sat Dec 02, 2017 10:58 am

Try this from a terminal. Works for me.

Code: Select all

chromium-browser
Edit: My bad. I have a script that launches chromium full screen. It is chromium-browser that works.

FYI, I'm using v56 so I can watch Netflix and Amazon Prime.

amilino
Posts: 82
Joined: Fri Feb 05, 2016 6:01 pm

Re: Chromium missing from stretch

Sat Dec 02, 2017 11:10 am

Command not found.

And if I type

Code: Select all

chromium-browser
I get

Code: Select all

cannot open shared object file: Error 36
and some strange signs.

Before I did reinstall I had message

Code: Select all

illegal instruction
.

SurferTim
Posts: 1769
Joined: Sat Sep 14, 2013 9:27 am
Location: Miramar Beach, Florida

Re: Chromium missing from stretch

Sat Dec 02, 2017 11:15 am

I just checked the repository, and it shows chromium-browser as a candidate using v60.0.3112.89-0ubuntu.14.04.1.1010

Edit: Use this to determine installed and candidate versions

Code: Select all

sudo apt-cache policy chromium-browser

amilino
Posts: 82
Joined: Fri Feb 05, 2016 6:01 pm

Re: Chromium missing from stretch

Sat Dec 02, 2017 11:21 am

Yes, that is the one I have installed from this repo

Code: Select all

deb http://archive.raspbian.org/raspbian/ stretch main contrib non-free rpi
.

What shoud I do to make it working I tried this:

Code: Select all

sudo rm -vf /var/lib/apt/lists/*

sudo apt-get clean
sudo apt-get autoclean

sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
sudo apt-get autoremove
sudo apt-get clean
sudo apt-get autoclean

sudo apt-get install chromium-browser

SurferTim
Posts: 1769
Joined: Sat Sep 14, 2013 9:27 am
Location: Miramar Beach, Florida

Re: Chromium missing from stretch

Sat Dec 02, 2017 11:23 am

Did you run this? What does it show?

Code: Select all

sudo apt-cache policy chromium-browser

amilino
Posts: 82
Joined: Fri Feb 05, 2016 6:01 pm

Re: Chromium missing from stretch

Sat Dec 02, 2017 11:31 am

Of course.

Code: Select all

Linux raspberrypi 4.9.66-v7+ #1059 SMP Fri Dec 1 15:38:42 GMT 2017 armv7l

[email protected]:~ $ sudo apt-cache policy chromium-browser
chromium-browser:
  Installed: 60.0.3112.89-0ubuntu0.14.04.1.1010+1
  Candidate: 60.0.3112.89-0ubuntu0.14.04.1.1010+1
  Version table:
 *** 60.0.3112.89-0ubuntu0.14.04.1.1010+1 500
        500 http://archive.raspberrypi.org/debian stretch/main armhf Packages        100 /var/lib/dpkg/status
[email protected]:~ $

SurferTim
Posts: 1769
Joined: Sat Sep 14, 2013 9:27 am
Location: Miramar Beach, Florida

Re: Chromium missing from stretch

Sat Dec 02, 2017 11:39 am

If chromium won't run, you must have a bad OS install. Don't know what else to tell you. Chromium has not failed to run on any of my several installs.

amilino
Posts: 82
Joined: Fri Feb 05, 2016 6:01 pm

Re: Chromium missing from stretch

Sat Dec 02, 2017 11:55 am

Hm, but how, everything else is working fine. I started with fresh stretch install. Is it possible that update of rpi did mess things up? How to force rpi-update?

SurferTim
Posts: 1769
Joined: Sat Sep 14, 2013 9:27 am
Location: Miramar Beach, Florida

Re: Chromium missing from stretch

Sat Dec 02, 2017 12:02 pm

You might have to remove chromium and reinstall it. I haven't tried this,so no guarantee. You may need to reboot between these.

Code: Select all

sudo apt-get purge chromium-browser
sudo apt-get install chromium-browser

amilino
Posts: 82
Joined: Fri Feb 05, 2016 6:01 pm

Re: Chromium missing from stretch

Sat Dec 02, 2017 12:23 pm

Without rebooting between this is what I get.

Code: Select all

[email protected]:~ $ sudo apt-get install chromium-browser
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
  webaccounts-chromium-extension unity-chromium-extension adobe-flashplugin
The following NEW packages will be installed:
  chromium-browser
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 58.4 MB of archives.
After this operation, 175 MB of additional disk space will be used.
Get:1 http://archive.raspberrypi.org/debian stretch/main armhf chromium-browser armhf 60.0.3112.89-0ubuntu0.14.04.1.1010+1 [58.4 MB]
Fetched 58.4 MB in 2min 40s (363 kB/s)
(Reading database ... 91610 files and directories currently installed.)
Preparing to unpack .../chromium-browser_60.0.3112.89-0ubuntu0.14.04.1.1010+1_armhf.deb ...
Unpacking chromium-browser (60.0.3112.89-0ubuntu0.14.04.1.1010+1) ...
dpkg-deb (subprocess): decompressing archive member: lzma error: compressed data is corrupt
dpkg-deb: error: subprocess <decompress> returned error exit status 2
dpkg: error processing archive /var/cache/apt/archives/chromium-browser_60.0.3112.89-0ubuntu0.14.04.1.1010+1_armhf.deb (--unpack):
 cannot copy extracted data for './usr/lib/chromium-browser/chromium-browser' to '/usr/lib/chromium-browser/chromium-browser.dpkg-new': unexpected end of file or stream
Errors were encountered while processing:
 /var/cache/apt/archives/chromium-browser_60.0.3112.89-0ubuntu0.14.04.1.1010+1_armhf.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

SurferTim
Posts: 1769
Joined: Sat Sep 14, 2013 9:27 am
Location: Miramar Beach, Florida

Re: Chromium missing from stretch

Sat Dec 02, 2017 12:26 pm

I don't know what you have installed or modified, but something is seriously wrong. Sounds like you need to reinstall your OS on the SD card.

Check your download. Insure the SHA-256 value is correct on the unpacked img file.

Edit: My bad the sha-256 checksum is for the zip file, not the img file.
Last edited by SurferTim on Sat Dec 02, 2017 12:34 pm, edited 1 time in total.

amilino
Posts: 82
Joined: Fri Feb 05, 2016 6:01 pm

Re: Chromium missing from stretch

Sat Dec 02, 2017 12:34 pm

I will never do rpi-update again.

SurferTim
Posts: 1769
Joined: Sat Sep 14, 2013 9:27 am
Location: Miramar Beach, Florida

Re: Chromium missing from stretch

Sat Dec 02, 2017 12:37 pm

amilino wrote:
Sat Dec 02, 2017 12:34 pm
I will never do rpi-update again.
I don't do the rpi-update any more. I was informed it could mess up your install. I do only these now.

Code: Select all

sudo apt-get update
sudo apt-get upgrade

fruitoftheloom
Posts: 21096
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Chromium missing from stretch

Sat Dec 02, 2017 2:08 pm

amilino wrote:
Sat Dec 02, 2017 12:34 pm
I will never do rpi-update again.

Since about 3 years ago rpi-update installs a Testing Kernel / Firmware and should only be used under advisement only if you understand how to repair the damage it can cause to Raspbian OS. You must have been reading very old instructions !!

I always undertake the following:

Code: Select all

sudo apt-get update
sudo apt-get dist upgrade

https://linux.die.net/man/8/apt-get


Looks like it is time to start afresh ??
Retired disgracefully.....
This at present is my daily "computer" https://www.asus.com/us/Chrome-Devices/Chromebit-CS10/

amilino
Posts: 82
Joined: Fri Feb 05, 2016 6:01 pm

Re: Chromium missing from stretch

Sat Dec 02, 2017 2:11 pm

I have 5 days old backup of SD card.

But what is the right instruction to update rpi or is it not advisable at all?

User avatar
DougieLawson
Posts: 36578
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website Twitter

Re: Chromium missing from stretch

Sat Dec 02, 2017 3:04 pm

DO NOT run rpi-update unless a) you understand what it does b) you have a good backup of your SDCard c) you can restore that backup in minutes rather than hours.

It gets the latest testing kernel and latest testing bootcode, with BRANCH=next it gets a 4.14.3 kernel that was built yesterday.
Note: Having anything humorous in your signature is completely banned on this forum. Wear a tin-foil hat and you'll get a ban.

Any DMs sent on Twitter will be answered next month.

This is a doctor free zone.

fruitoftheloom
Posts: 21096
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Chromium missing from stretch

Sat Dec 02, 2017 3:18 pm

amilino wrote:
Sat Dec 02, 2017 2:11 pm
I have 5 days old backup of SD card.

But what is the right instruction to update rpi or is it not advisable at all?


My post above as stated in recent Blog:

https://www.raspberrypi.org/blog/stretc ... an-update/
Retired disgracefully.....
This at present is my daily "computer" https://www.asus.com/us/Chrome-Devices/Chromebit-CS10/

amilino
Posts: 82
Joined: Fri Feb 05, 2016 6:01 pm

Re: Chromium missing from stretch

Tue Dec 05, 2017 10:20 am

Ok, so after two days of testing I decided to remove

Code: Select all

sudo apt-get upgrade
it is also outdated command. I had some issues with dependencies and some other errors.

Other issue is this line inside raspi.list:

Code: Select all

deb http://archive.raspberrypi.org/debian/ stretch main ui
It just downloaded pcmanfm which is having less features then the previous one. No bookmarks, no default view in setting. Very, very strange.
This verson sucks: 1.2.5-3+rpi3

Also I had issues with Kodi and again some illegal operation errors. So I hope that removing this archive.raspberrypi.org will fix things. Will let you know about my results once I repeat things with excluded things.

SurferTim
Posts: 1769
Joined: Sat Sep 14, 2013 9:27 am
Location: Miramar Beach, Florida

Re: Chromium missing from stretch

Tue Dec 05, 2017 12:01 pm

Don't remove "sudo apt-get upgrade". I highly recommend running that.

Don't use "sudo rpi-update". They are different.

amilino
Posts: 82
Joined: Fri Feb 05, 2016 6:01 pm

Re: Chromium missing from stretch

Tue Dec 05, 2017 12:12 pm

After removing archive.raspberrypi.org source everything is updated fine. System is not updated so pcmanfm is having nice features which I don't want to lose. Kodi is also working fine. Now I will run sudo apt-get upgrade to see if things will stay like this. Yes everything is fine no new upgrades.

Return to “Troubleshooting”