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

 

 

 

Issue with Software Install

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
oldschool1
Posts: 10
Joined: 2016-06-18 16:58

Issue with Software Install

#1 Post by oldschool1 »

Hi,

I just installed a new instance of Stretch. I'm trying to add software to this account using the Software App. Some items have installed ok. However, Sound Converter and Sound Juicer won't install giving a message that a third-party repository needs to be added, "debian-stable-main." Mind you, all of the repositories are currently default, meaning the main repository is active. It asks if I want to enable and install. If I click the enable and install button, I get a fail. The message is "E: Could not find the repository."

I don't want to start trying to add repositories haphazardly. Is this a bug? If not, what is the specific repository I need to add?

Thanks for any help in advance!

User avatar
RU55EL
Posts: 546
Joined: 2014-04-07 03:42
Location: /home/russel

Re: Issue with Software Install

#2 Post by RU55EL »

You should review your /etc/apt/sources.list file. Debian Wiki sources.list has some good information regarding the sources.list file.

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Issue with Software Install

#3 Post by stevepusser »

Or just let more eyes look at it here

Code: Select all

cat /etc/apt/sources.list
will display the contents.
MX Linux packager and developer

oldschool1
Posts: 10
Joined: 2016-06-18 16:58

Re: Issue with Software Install

#4 Post by oldschool1 »

That was a fast reply.

This is the output:

# deb cdrom:[Official Debian GNU/Linux Live 9.1.0 gnome 2017-07-23T04:21]/ stretch main

# deb cdrom:[Official Debian GNU/Linux Live 9.1.0 gnome 2017-07-23T04:21]/ stretch main


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

# stretch-updates, previously known as 'volatile'
deb http://ftp.us.debian.org/debian/ stretch contrib non-free main
deb-src http://ftp.us.debian.org/debian/ stretch contrib non-free main #Added by software-properties
deb http://security.debian.org/ stretch/updates non-free contrib main
deb http://ftp.us.debian.org/debian/ stretch-updates non-free contrib main

arochester
Emeritus
Emeritus
Posts: 2435
Joined: 2010-12-07 19:55
Has thanked: 14 times
Been thanked: 54 times

Re: Issue with Software Install

#5 Post by arochester »

Change your sources list to

Code: Select all

deb http://ftp.us.debian.org/debian/ stable main contrib non-free

deb http://ftp.us.debian.org/debian/ stable-updates main contrib non-free

deb http://security.debian.org/ stable/updates main

deb http://ftp.debian.org/debian stretch-backports main

oldschool1
Posts: 10
Joined: 2016-06-18 16:58

Re: Issue with Software Install

#6 Post by oldschool1 »

OK, used gedit to change source.list to this:

#
deb http://ftp.us.debian.org/debian/ stable main contrib non-free
deb http://ftp.us.debian.org/debian/ stable-updates main contrib non-free
deb http://security.debian.org/ stable/updates main
deb http://ftp.debian.org/debian stretch-backports main

with a hard return after that last line. Then saved it, exited terminal, and attempted to install sound converter. I then got this message:

Enable Third-Party Software?
Sound Converter is not free and open software, and is provided by "(null)". This software source must be enabled to continue installation. Enable and Install? -> <Enter>
Error Message: installing not available.

I did not reboot in between sessions, but did not think it was necessary.

After that, I went back into the software update gui and looked up the repositories listed there. All of the previous options were no longer checkmarked. Nothing showed up. I then rechecked all of them and tried again. I got the same original error then. I went back to gedit and this is what showed up:

deb http://ftp.us.debian.org/debian/ stable main contrib non-free
deb http://ftp.us.debian.org/debian/ stable-updates main contrib non-free
deb http://security.debian.org/ stable/updates main
deb http://ftp.debian.org/debian stretch-backports main

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

I'm at a loss as to what to try next.

oldschool1
Posts: 10
Joined: 2016-06-18 16:58

Re: Issue with Software Install

#7 Post by oldschool1 »

btw, thanks for your help arochester, et al.

User avatar
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Issue with Software Install

#8 Post by GarryRicketson »

Unread postby oldschool1 » 2017-11-03 20:30
OK, used gedit to change source.list to this:
After you edit the sources.list file you also must run :

Code: Select all

apt update
or

Code: Select all

apt-get update
This must be done for the changes to take effect.

oldschool1
Posts: 10
Joined: 2016-06-18 16:58

Re: Issue with Software Install

#9 Post by oldschool1 »

Sorry, I am a relative newbie. : )

OK, so I went back and re edited the sources.list, as root, back to this:

deb http://ftp.us.debian.org/debian/ stable main contrib non-free
deb http://ftp.us.debian.org/debian/ stable-updates main contrib non-free
deb http://security.debian.org/ stable/updates main
deb http://ftp.debian.org/debian stretch-backports main

Then, I ran apt update as root and got this:

Ign:1 http://ftp.us.debian.org/debian stable InRelease
Hit:2 http://ftp.us.debian.org/debian stable-updates InRelease
Hit:3 http://security.debian.org stable/updates InRelease
Hit:4 http://ftp.us.debian.org/debian stable Release
Hit:6 http://ftp.debian.org/debian stretch-backports InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
5 packages can be upgraded. Run 'apt list --upgradable' to see them.
W: http://ftp.us.debian.org/debian/dists/s ... /InRelease: The key(s) in the keyring /etc/apt/trusted.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
W: http://security.debian.org/dists/stable ... /InRelease: The key(s) in the keyring /etc/apt/trusted.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
W: http://ftp.us.debian.org/debian/dists/s ... elease.gpg: The key(s) in the keyring /etc/apt/trusted.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
W: http://ftp.debian.org/debian/dists/stre ... /InRelease: The key(s) in the keyring /etc/apt/trusted.gpg are ignored as the file is not readable by user '_apt' executing apt-key.

Not sure what the deal with user "_apt"? I must have messed up something.

Obviously, apt-get update doesn't work either.

Shamak
Posts: 148
Joined: 2018-04-14 00:33
Has thanked: 11 times
Been thanked: 9 times

Re: Issue with Software Install

#10 Post by Shamak »

A reboot temporarily solved the problem for me. But only temporarily.

scar
Posts: 5
Joined: 2019-06-16 20:21

Re: Issue with Software Install

#11 Post by scar »

I found this online,
https://www.reddit.com/r/linux4noobs/co ... n_sources/

Sounds like it might have to do with on/offlline settings? Unfortunately the idiot who posted the solution deleted it.

I'm having same problem with Software app and my sources.list is fine, also using apt on the command-line works fine. but am using a laptop that goes on/offline often, so maybe Software got confused.

I found that killing the gnome-software process solves the problem, at least don't have to reboot.

Post Reply