Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

No installation Candidate - SOLVED

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
archie.bald
Posts: 16
Joined: 2017-10-15 06:04

No installation Candidate - SOLVED

#1 Post by archie.bald »

Hello,

I am rather new to linux and Debian in general. I did run a few virtual machine before choosing debian.

Anywho my problem is double
1) probably my sources.list file is wrong

Code: Select all

deb http://deb.debian.org/debian stretch main
deb-src http://deb.debian.org/debian stretch main

deb http://deb.debian.org/debian stretch-updates main
deb-src http://deb.debian.org/debian stretch-updates main

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



deb http://deb.debian.org/debian stretch main contrib non-free
deb-src http://deb.debian.org/debian stretch main contrib non-free


deb http://deb.debian.org/debian stretch-updates main contrib non-free
deb-src http://deb.debian.org/debian stretch-updates main contrib non-free

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

deb http://deb.torproject.org/torproject.org stretch main 
deb-src http://deb.torproject.prg/torproject.org stretch main

2) I am trying to install tor, for that reason I have learned of a torbrowser-launcher package that came in handy to download and update tor browser.
when I do an
apt-get install torbrowser-launcher

this is the result:

Code: Select all

apt-get install torbrowser-launcher
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package torbrowser-launcher 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
W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:21
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list:20
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list:20
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list:20
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list:20
W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list:11 and /etc/apt/sources.list:25
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:10 and /etc/apt/sources.list:24
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:10 and /etc/apt/sources.list:24
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:10 and /etc/apt/sources.list:24
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:10 and /etc/apt/sources.list:24
W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list:30
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:14 and /etc/apt/sources.list:28
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:14 and /etc/apt/sources.list:28
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:14 and /etc/apt/sources.list:28
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:14 and /etc/apt/sources.list:28
E: Package 'torbrowser-launcher' has no installation candidate

I have looked some of that up online but to no avail.

I'd appreciate any info. Cheers
AB.
Last edited by archie.bald on 2017-10-15 08:27, edited 1 time in total.

p.H
Global Moderator
Global Moderator
Posts: 3049
Joined: 2017-09-17 07:12
Has thanked: 5 times
Been thanked: 132 times

Re: No installation Candidate

#2 Post by p.H »

1) Your source.files has duplicates. Remove the first lines with only "main" to avoid the warnings.

2) From https://packages.debian.org/search?sear ... torbrowser
it appears that torbrowser-launcher only exists in *-backports repositories. Your sources.list defines none.

archie.bald
Posts: 16
Joined: 2017-10-15 06:04

Re: No installation Candidate

#3 Post by archie.bald »

Thanks for the answer.

I cleaned up my sources.list

I also added

Code: Select all

deb http://ftp.debian.org/debian stretch-backports main
to it.
Still after updating and trying

Code: Select all

apt-get install torbrowser-launcher
OR

Code: Select all

apt-get -t stretch-backports install torbrowser-launcher
to no avail

User avatar
4D696B65
Site admin
Site admin
Posts: 2696
Joined: 2009-06-28 06:09
Been thanked: 85 times

Re: No installation Candidate

#4 Post by 4D696B65 »

Add contrib to your backports line.
https://packages.debian.org/stretch-bac ... r-launcher

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: No installation Candidate

#5 Post by debiman »

don't you have to run 'apt update' after altering your sources?

archie.bald
Posts: 16
Joined: 2017-10-15 06:04

Re: No installation Candidate

#6 Post by archie.bald »

@debiman : that was done
@4D696B65 : what a pseudo ... haha but yeah thanks that did it.

Thanks for the help.
There is going to be more needed :D

fari101
Posts: 9
Joined: 2024-03-14 17:36
Has thanked: 7 times

Re: No installation Candidate

#7 Post by fari101 »

4D696B65 wrote: 2017-10-15 07:29 Add contrib to your backports line.
https://packages.debian.org/stretch-bac ... r-launcher
hi, i'm using Bookworm and have added :

Code: Select all

deb http://ftp.debian.org/debian bookworm-backports main contrib
deb-src http://ftp.debian.org/debian bookworm-backports main contrib
and then

Code: Select all

apt update
but still get this errors:

Code: Select all

E: Package 'torbrowser-launcher' has no installation candidate
Last edited by fari101 on 2024-03-14 18:17, edited 1 time in total.

CwF
Global Moderator
Global Moderator
Posts: 2638
Joined: 2018-06-20 15:16
Location: Colorado
Has thanked: 41 times
Been thanked: 192 times

Re: No installation Candidate - SOLVED

#8 Post by CwF »

This is an old post @fari101, you may want to start over with a new post detailing your particulars.

Post Reply