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
Unable to install software
Unable to install software
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
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
- None1975
- df -h | participant
- Posts: 1389
- Joined: 2015-11-29 18:23
- Location: Russia, Kaliningrad
- Has thanked: 45 times
- Been thanked: 66 times
Re: Unable to install software
Did you update your source list?
Code: Select all
sudo apt update
OS: Debian 12.4 Bookworm / DE: Enlightenment
Debian Wiki | DontBreakDebian, My config files on github
Debian Wiki | DontBreakDebian, My config files on github
Re: Unable to install software
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.
-
- Emeritus
- Posts: 2435
- Joined: 2010-12-07 19:55
- Has thanked: 14 times
- Been thanked: 54 times
Re: Unable to install software
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?
So they are wrong.
What country are you in?
Re: Unable to install software
argentina, so you suggest to change the repos to a local one? how can i lookup for one like that?
-
- Emeritus
- Posts: 2435
- Joined: 2010-12-07 19:55
- Has thanked: 14 times
- Been thanked: 54 times
Re: Unable to install software
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/
Also, although some people do not like it, and it does not specifically mention Argentina https://debgen.simplylinux.ch/
Re: Unable to install software
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)
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)
-
- Emeritus
- Posts: 2435
- Joined: 2010-12-07 19:55
- Has thanked: 14 times
- Been thanked: 54 times
- sunrat
- Administrator
- Posts: 6412
- Joined: 2006-08-29 09:12
- Location: Melbourne, Australia
- Has thanked: 116 times
- Been thanked: 462 times
Re: Unable to install software
Post what messages showed in the terminal when you did this.arg22 wrote:yes sir i did. sudo apt update
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!
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
Re: Unable to install software
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
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
- sunrat
- Administrator
- Posts: 6412
- Joined: 2006-08-29 09:12
- Location: Melbourne, Australia
- Has thanked: 116 times
- Been thanked: 462 times
Re: Unable to install software
Sources are wrong. Edit the main lines to this:
Then update again.
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
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
Re: Unable to install software
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
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
Re: Unable to install software
This isn't right, output should list your sources...arg22 wrote:sudo apt update
Reading list of packages ... Done
Creating dependency tree
Reading the status information ... Done
All packages are updated.
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 aren't editing the right /etc/apt/sources.list ?
p.s.
Code: Select all
boxes are cool!
resigned by AI ChatGPT
Re: Unable to install software
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
Re: Unable to install software
sunrat asked for the complete output of apt update and your output didn't show any repos being contacted.arg22 wrote: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
resigned by AI ChatGPT
Re: Unable to install software
thank you all for your help, just finished installing chrome, and pip3. Just to say i ve tried almost everything i could read, so i re installed debian with the small iso and then asked to pick a repository to download packaged, i tested the suggestions (picked a localone from a nearby college) and it worked. the first time i installed debian used a broken mirror. So thanks for your help
- sunrat
- Administrator
- Posts: 6412
- Joined: 2006-08-29 09:12
- Location: Melbourne, Australia
- Has thanked: 116 times
- Been thanked: 462 times
Re: Unable to install software
You had 3 problems:
- first you had incorrect repo
- then you had incorrect sources.list entry
- then apt wasn't updating properly. As bw123 said, it should output a list of repos contacted.
You didn't solve the problem but got a working system by reinstalling. Hopefully all is good for you now!
- first you had incorrect repo
- then you had incorrect sources.list entry
- then apt wasn't updating properly. As bw123 said, it should output a list of repos contacted.
You didn't solve the problem but got a working system by reinstalling. Hopefully all is good for you now!
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!