Issue with Software Install

New to Debian (Or Linux in general)? Ask your questions here!

Issue with Software Install

Postby oldschool1 » 2017-11-03 15:20

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!
oldschool1
 
Posts: 10
Joined: 2016-06-18 16:58

Re: Issue with Software Install

Postby RU55EL » 2017-11-03 16:05

You should review your /etc/apt/sources.list file. Debian Wiki sources.list has some good information regarding the sources.list file.
User avatar
RU55EL
 
Posts: 313
Joined: 2014-04-07 03:42
Location: /home/russel

Re: Issue with Software Install

Postby stevepusser » 2017-11-03 16:57

Or just let more eyes look at it here
Code: Select all
cat /etc/apt/sources.list
will display the contents.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Krita 3.3.2.1, Pale Moon 27.6.0, Audacity 2.2.0, mpv 0.27.0, Corebird 1.7.1, Firefox 57.0, SMPlayer 17.11.2
User avatar
stevepusser
 
Posts: 8903
Joined: 2009-10-06 05:53

Re: Issue with Software Install

Postby oldschool1 » 2017-11-03 19:43

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
oldschool1
 
Posts: 10
Joined: 2016-06-18 16:58

Re: Issue with Software Install

Postby arochester » 2017-11-03 20:08

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
"Something to be aware of: Debian is a core or source distribution. This means there are many Debian-based distributions. THEY ARE NOT DEBIAN."
arochester
 
Posts: 1084
Joined: 2010-12-07 19:55

Re: Issue with Software Install

Postby oldschool1 » 2017-11-04 02:30

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

Postby oldschool1 » 2017-11-04 02:32

btw, thanks for your help arochester, et al.
oldschool1
 
Posts: 10
Joined: 2016-06-18 16:58

Re: Issue with Software Install

Postby GarryRicketson » 2017-11-04 02:38

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.
"What we expect you have already Done"

Before doing anything, read the Debian documentation:
Debian Documentation
How to ask the smart way
Debian Foro Español
======================
For the Birds
User avatar
GarryRicketson
 
Posts: 4358
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Issue with Software Install

Postby oldschool1 » 2017-11-04 17:30

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.
oldschool1
 
Posts: 10
Joined: 2016-06-18 16:58


Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 6 guests

fashionable