You are not logged in.

#1 2015-12-09 00:48:29

Ulfr_Rage
Member
Registered: 2015-12-08
Posts: 9

Google Chrome - libappindicator install

Installed Bunsen, attempting to install Google Chrome.

sudo apt-get install libappindicator1
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package libappindicator1 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libappindicator1' has no installation candidate

And

more /etc/apt/sources.list
#

# deb cdrom:[Debian GNU/Linux 8 _Jessie_ - Official Snapshot i386 LIVE/INSTALL Binary 20150908-
13:17]/ jessie contrib main non-free

# deb cdrom:[Debian GNU/Linux 8 _Jessie_ - Official Snapshot i386 LIVE/INSTALL Binary 20150908-
13:17]/ jessie contrib main non-free

# Line commented out by installer because it failed to verify:
#deb http://security.debian.org/ jessie/updates main contrib non-free
# Line commented out by installer because it failed to verify:
#deb-src http://security.debian.org/ jessie/updates main contrib non-free

# added by bl-welcome
# Multimedia repository
deb http://www.deb-multimedia.org jessie main non-free

When I installed, there was a step which was for mirrors & other sources online. At the time it was unable to access any of the list. So my second question would be, how do I view & verify this list?

My first question would be, how do I install libappindicator?

Thanks.

edit: one source says to sudo apt-get update && && sudo apt-get upgrade -y && sudo apt-get dist upgrade -y && sudo apt-get install libappindicator, but I don't want to break my Debian smile

Last edited by Ulfr_Rage (2015-12-09 00:53:26)

Offline

#2 2015-12-09 03:03:53

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: Google Chrome - libappindicator install

Sounds like sources.list wasn't set up properly when you installed.
Here is an example sources.list for Debian jessie (NB Please use [ code ] tags when posting terminal output wink )

deb http://httpredir.debian.org/debian jessie main contrib non-free
#deb-src http://httpredir.debian.org/debian jessie main contrib non-free

deb http://httpredir.debian.org/debian jessie-updates main contrib non-free
#deb-src http://httpredir.debian.org/debian jessie-updates main contrib non-free

deb http://security.debian.org/ jessie/updates main contrib non-free
#deb-src http://security.debian.org/ jessie/updates main

You should also have `/etc/apt/sources.list.d/bunsen.list`, which contains

deb http://pkg.bunsenlabs.org/debian bunsen-hydrogen main

After sorting out your sources.list, run `bl-welcome` again; add the `deb-multimedia` repo if you want. You can install Google Chrome Stable, or Chromium, from the main menu:

Menu -> Network -> WWW Browsers -> Install


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#3 2015-12-09 03:29:29

tknomanzr
BL Die Hard
From: Around the Bend
Registered: 2015-09-29
Posts: 1,057

Re: Google Chrome - libappindicator install

^ I will add that the google-chrome-stable install will take care of libappindicator for you as well.

Offline

#4 2015-12-09 03:34:52

Ulfr_Rage
Member
Registered: 2015-12-08
Posts: 9

Re: Google Chrome - libappindicator install

Thank you, guys. I appreciate it.

I'm glad that this identifies a major part of the problem but I still don't know how to fix it.

When I initially went to install Google Chrome, I did Menu -> Network -> WWW Browsers -> Install. And it failed.

How do I update my sources.list? After that I would try the Google Chrome install again.

Thanks again.

Offline

#5 2015-12-09 03:59:58

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: Google Chrome - libappindicator install

Ulfr_Rage wrote:

Thank you, guys. I appreciate it.

I'm glad that this identifies a major part of the problem but I still don't know how to fix it.

When I initially went to install Google Chrome, I did Menu -> Network -> WWW Browsers -> Install. And it failed.

How do I update my sources.list? After that I would try the Google Chrome install again.

Thanks again.

It failed because your sources.list didn't have the necessary debian jessie repo. You can edit your sources.list by, er, editing it...
Open the file with geany as root, or...

sudo nano /etc/apt/sources.list

...and edit it to match the example I posted above. This uses a generic redirect, but you could subsequently use a local mirror if you want. There is a list of mirrors on the Debian site ( `Menu -> Help -> Debian` should point you in the right direction)

If you run `bl-welcome`, it will do the necessary update/upgrade; or just do

sudo apt-get update && sudo apt-get upgrade

Then install the browser from the menu. The script should pull in any necessary dependencies.


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#6 2015-12-09 04:09:38

Ulfr_Rage
Member
Registered: 2015-12-08
Posts: 9

Re: Google Chrome - libappindicator install

I dug a little deeper into the forums & found someone with a similar problem. So I tried that.

cat /etc/apt/sources.list.d/*
deb http://pkg.bunsenlabs.org/debian bunsen-hydrogen maindeb http://dl.google.com/linux/chrome/deb/ stable main

And this:

apt-cache policy
Package files:
 100 /var/lib/dpkg/status
     release a=now
 500 http://dl.google.com/linux/chrome/deb/ stable/main i386 Packages
     release v=1.0,o=Google, Inc.,a=stable,n=stable,l=Google,c=main
     origin dl.google.com
 500 http://pkg.bunsenlabs.org/debian/ bunsen-hydrogen/main i386 Packages
     release o=bunsenlabs,n=bunsen-hydrogen,l=bunsenlabs,c=main
     origin pkg.bunsenlabs.org
 500 http://www.deb-multimedia.org/ jessie/non-free i386 Packages
     release o=Unofficial Multimedia Packages,a=stable,n=jessie,l=Unofficial Multimedia Packages,c=non-free
     origin www.deb-multimedia.org
 500 http://www.deb-multimedia.org/ jessie/main i386 Packages
     release o=Unofficial Multimedia Packages,a=stable,n=jessie,l=Unofficial Multimedia Packages,c=main
     origin www.deb-multimedia.org
Pinned packages:

And I used sudo apt-edit sources to append this to the sources file, because my output looked like the previous poster:

deb http://httpredir.debian.org/debian jessie main contrib non-free

After that I ran sudo apt update.

sudo apt update
Ign http://dl.google.com stable InRelease
Hit http://dl.google.com stable Release.gpg                                                   
Hit http://dl.google.com stable Release                                                       
Hit http://pkg.bunsenlabs.org bunsen-hydrogen InRelease                                       
Hit http://dl.google.com stable/main i386 Packages                                            
Err http://httpredir.org jesse InRelease                                                      
  
Err http://httpredir.org jesse Release.gpg                                      
  Could not resolve 'httpredir.org'
Hit http://www.deb-multimedia.org jessie InRelease                    
Hit http://pkg.bunsenlabs.org bunsen-hydrogen/main i386 Packages         
Ign http://dl.google.com stable/main Translation-en_US                                      
Ign http://dl.google.com stable/main Translation-en
Hit http://www.deb-multimedia.org jessie/main i386 Packages
Hit http://www.deb-multimedia.org jessie/non-free i386 Packages
Ign http://pkg.bunsenlabs.org bunsen-hydrogen/main Translation-en_US
Ign http://pkg.bunsenlabs.org bunsen-hydrogen/main Translation-en
Ign http://www.deb-multimedia.org jessie/main Translation-en_US
Ign http://www.deb-multimedia.org jessie/main Translation-en                                  
Ign http://www.deb-multimedia.org jessie/non-free Translation-en_US                           
Ign http://www.deb-multimedia.org jessie/non-free Translation-en                              
Reading package lists... Done                                                                 
Building dependency tree       
Reading state information... Done
9 packages can be upgraded. Run 'apt list --upgradable' to see them.
W: Failed to fetch http://httpredir.org/debian/dists/jesse/InRelease  

W: Failed to fetch http://httpredir.org/debian/dists/jesse/Release.gpg  Could not resolve 'httpredir.org'

W: Some index files failed to download. They have been ignored, or old ones used instead.

So I tried again to install Google Chrome from the menu. And it was a bust!

The following packages have unmet dependencies:
 google-chrome-stable : Depends: libappindicator1 but it is not installable
  
  There were problems installing google-chrome-stable
  
  Press "d" for details (q to quit) d


E: Unable to correct problems, you have held broken packages.
  
  Would you like to quit now, or continue anyway?

damo, I'm just now reading your post. Yes, I realized that it can't find the sources. And I did not know until finding this older post that "sources.list" is an actual file, so I didn't know what would be involved in editing it. Thank you for responding; I see that the example address you post is the same as the one I added, & it still didn't work for me. I hope my posted output above can explain what's happening better than I can.

Offline

#7 2015-12-09 04:13:19

Ulfr_Rage
Member
Registered: 2015-12-08
Posts: 9

Re: Google Chrome - libappindicator install

Another output:

cat /etc/apt/sources.list.d/*
deb http://pkg.bunsenlabs.org/debian bunsen-hydrogen maindeb http://dl.google.com/linux/chrome/deb/ stable main

oops needs a line break

Offline

#8 2015-12-09 06:57:43

ohnonot
...again
Registered: 2015-09-29
Posts: 5,592

Re: Google Chrome - libappindicator install

you didn't hear what damo said:

damo wrote:

Sounds like sources.list wasn't set up properly when you installed.

go back to post #2 and do everything it suggests.
i haven't tried it myself, but i'm 90% sure that the solution to your problem lies there.
if you have problems with it, we will help, but there's really no need to look elsewhere; you are more likely to bork your system doing that.

Last edited by ohnonot (2015-12-09 06:58:24)

Offline

#9 2015-12-09 07:43:49

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,063
Website

Re: Google Chrome - libappindicator install

Ulfr_Rage wrote:
sudo apt update
[...]                              
Err http://httpredir.org jesse InRelease                                                      
  
Err http://httpredir.org jesse Release.gpg                                      
  Could not resolve 'httpredir.org'
[...]
W: Failed to fetch http://httpredir.org/debian/dists/jesse/InRelease  

W: Failed to fetch http://httpredir.org/debian/dists/jesse/Release.gpg  Could not resolve 'httpredir.org'

You have a malformed line in /etc/apt/sources.list

Please post the full output of:

cat /etc/apt/sources.list /etc/apt/sources.list.d/*

As ohnonot says, *do not* do anything else to your system.

Offline

Board footer

Powered by FluxBB