Unable to install software

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

Unable to install software

Postby arg22 » 2018-05-01 11:20

Hi everyone im new to the forum and a new debian user as well. yesterday i installed debian 9.4 non free iso on my hp laptop. luckily sorted the wifi firmware missing installing it from usb at the beginning. I ve updated the sources but still not able to install practically any software like python pip or chrome, keep getting same error as i try to install anything:

sudo apt-get install python-pip
Reading list of packages ... Done
Creating dependency tree
Reading the status information ... Done
E: The python-pip package could not be located

Im listing my sources:
deb http://deb.debian.org/debian stretch main contrib non-free
deb-src http://deb.debian.org/debian stretch main contrib non-free
#security
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://security.debian.org/debian-security/ stretch/updates main contrib non-free
deb-src http://security.debian.org/debian-security/ stretch/updates main contrib non-free
#debian multimedia
deb http://www.deb-multimedia.org stretch main contrib non-free

Thanks in advance
arg22
 
Posts: 10
Joined: 2018-05-01 10:51

Re: Unable to install software

Postby None1975 » 2018-05-01 11:26

Did you update your source list?
Code: Select all
sudo apt update
OS: Debian 9.4 / WM: Xmonad
Debian Wiki | DontBreakDebian, My config files in github
Linux User #607425
User avatar
None1975
 
Posts: 549
Joined: 2015-11-29 18:23
Location: Lithuania, Vilnius

Re: Unable to install software

Postby arg22 » 2018-05-01 11:32

sorry i did not specify that, yes i did update. I made a good search about the problem but all references point to sources problems, so i checked the debian wiki and sources look ok.
arg22
 
Posts: 10
Joined: 2018-05-01 10:51

Re: Unable to install software

Postby arochester » 2018-05-01 11:38

If you click on the blue links above you will find that the ones for the main repositories and security do not work.

So they are wrong.

What country are you in?
arochester
 
Posts: 1281
Joined: 2010-12-07 19:55

Re: Unable to install software

Postby arg22 » 2018-05-01 11:40

argentina, so you suggest to change the repos to a local one? how can i lookup for one like that?
arg22
 
Posts: 10
Joined: 2018-05-01 10:51

Re: Unable to install software

Postby arochester » 2018-05-01 11:43

https://www.debian.org/mirror/list

Also, although some people do not like it, and it does not specifically mention Argentina https://debgen.simplylinux.ch/
arochester
 
Posts: 1281
Joined: 2010-12-07 19:55

Re: Unable to install software

Postby arg22 » 2018-05-01 11:57

so i tried changing the repo to a working one
deb http://ftp.cl.debian.org/debian/ main contrib non-free
deb-src http://ftp.cl.debian.org/debian/ main contrib non-free
#security
deb http://security.debian.org/debian-security/ stretch/updates main contrib no$
deb-src http://security.debian.org/debian-security/ stretch/updates main contri$
#stretch updates
#debian multimedia
deb http://www.deb-multimedia.org stretch main contrib non-free
still the same error (sudo apt update alredy)
arg22
 
Posts: 10
Joined: 2018-05-01 10:51

Re: Unable to install software

Postby arochester » 2018-05-01 12:14

Having changed your sources list have you updated again?
arochester
 
Posts: 1281
Joined: 2010-12-07 19:55

Re: Unable to install software

Postby arg22 » 2018-05-01 12:18

yes sir i did. sudo apt update
arg22
 
Posts: 10
Joined: 2018-05-01 10:51

Re: Unable to install software

Postby sunrat » 2018-05-01 12:42

arg22 wrote:yes sir i did. sudo apt update


Post what messages showed in the terminal when you did this.
python-pip should be installable. Chrome is not in the repository so you need to download it from a website to install it. You could try Chromium instead which is in the repo.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!
User avatar
sunrat
 
Posts: 2386
Joined: 2006-08-29 09:12
Location: Melbourne, Australia

Re: Unable to install software

Postby arg22 » 2018-05-01 12:51

sudo apt update
Reading list of packages ... Done
Creating dependency tree
Reading the status information ... Done
All packages are updated.

sudo apt install -y chromium
Reading list of packages ... Done
Creating dependency tree
Reading the status information ... Done
E: The chromium package could not be located

sudo apt install python-pip
Reading list of packages ... Done
Creating dependency tree
Reading the status information ... Done
E: The python-pip package could not be located

# deb cdrom:[Debian GNU/Linux 9.4.0 _Stretch_ - Official amd64 DVD Binary-1 201$
#deb cdrom:[Debian GNU/Linux 9.4.0 _Stretch_ - Official amd64 DVD Binary-1 2018$
deb http://ftp.cl.debian.org/debian/ main contrib non-free
deb-src http://ftp.cl.debian.org/debian/ main contrib non-free
#security
deb http://security.debian.org/debian-security/ stretch/updates main contrib no$
deb-src http://security.debian.org/debian-security/ stretch/updates main contri$
#stretch updates
#debian multimedia
deb http://www.deb-multimedia.org stretch main contrib non-free
arg22
 
Posts: 10
Joined: 2018-05-01 10:51

Re: Unable to install software

Postby sunrat » 2018-05-01 13:00

Sources are wrong. Edit the main lines to this:
Code: Select all
deb http://ftp.cl.debian.org/debian/ stretch main contrib non-free
deb-src http://ftp.cl.debian.org/debian/ stretch main contrib non-free


Then update again.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!
User avatar
sunrat
 
Posts: 2386
Joined: 2006-08-29 09:12
Location: Melbourne, Australia

Re: Unable to install software

Postby arg22 » 2018-05-01 13:22

deb http://ftp.cl.debian.org/debian/ stretch main contrib non-free
deb-src http://ftp.cl.debian.org/debian/ stretch main contrib non-free
#security
deb http://security.debian.org/debian-security/ stretch/updates main contrib no$
deb-src http://security.debian.org/debian-security/ stretch/updates main contri$
#stretch updates
#debian multimedia
deb http://www.deb-multimedia.org stretch main contrib non-free

sudo apt install python-pip
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias
Leyendo la información de estado... Hecho
E: No se ha podido localizar el paquete python-pip

sudo apt install python-pip
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias
Leyendo la información de estado... Hecho
E: No se ha podido localizar el paquete python-pip
arg22
 
Posts: 10
Joined: 2018-05-01 10:51

Re: Unable to install software

Postby bw123 » 2018-05-01 13:41

arg22 wrote:sudo apt update
Reading list of packages ... Done
Creating dependency tree
Reading the status information ... Done
All packages are updated.


This isn't right, output should list your sources...

Code: Select all
# apt update
Ign:1 http://deb.debian.org/debian stretch InRelease
Hit:2 http://security.debian.org stretch/updates InRelease
Hit:3 http://deb.debian.org/debian stretch-updates InRelease
Hit:4 http://deb.debian.org/debian stretch Release
Reading package lists... Done
Building dependency tree       
Reading state information... Done
All packages are up to date.


Maybe you edited the output for whatever reason?

Maybe you aren't editing the right /etc/apt/sources.list ?

p.s. [code] boxes are cool!
User avatar
bw123
 
Posts: 3184
Joined: 2011-05-09 06:02
Location: TN_USA

Re: Unable to install software

Postby arg22 » 2018-05-01 14:03

thanks for your reply, not sure what you mean with edit the output. if iam making a mistake please tell me, i open with sudo nano /etc/apt/sources.list, edit the file and use ctrl-O to save, then enter and ctrl-X to exit
arg22
 
Posts: 10
Joined: 2018-05-01 10:51

Next

Return to Beginners Questions

Who is online

Users browsing this forum: arochester and 4 guests

fashionable