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
Fresh minimal install can't connect to repositories
Fresh minimal install can't connect to repositories
I have successfully installed minimal Debian 11 netinstall, selected the nearest mirror during the setup, but upon booting to a barebones initial system, I cannot install anything because apt gives an error: Failed to fetch http://...
How can I fix this if there's not even a vim to edit /etc/apt/sources.list ?
This happened to me before when I settled for the default debian repository in the installer. So now, on second fresh install, I changed it to my local mirror and it still doesn't work. How can I fix this? Thank you.
How can I fix this if there's not even a vim to edit /etc/apt/sources.list ?
This happened to me before when I settled for the default debian repository in the installer. So now, on second fresh install, I changed it to my local mirror and it still doesn't work. How can I fix this? Thank you.
- canci
- Global Moderator
- Posts: 2502
- Joined: 2006-09-24 11:28
- Has thanked: 136 times
- Been thanked: 136 times
Re: Fresh minimal install can't connect to repositories
Since I always use network-manager I'm not sure if network settings from the installation are automatically added to the traditional network config. Maybe that's part of the issue
Stable / Asus VivoBook X421DA / AMD Ryzen 7 3700U / Radeon Vega Mobile Gfx (Picasso) / 8 GB RAM / 512GB NVMe
READ THIS:
* How to Post a Thread Here
* Other Tips and Great Resources
READ THIS:
* How to Post a Thread Here
* Other Tips and Great Resources
Re: Fresh minimal install can't connect to repositories
After connecting the laptop with the ethernet cable, I still cannot connect to the repositories. Nano, indeed, is installed, so I will try to change the repos using that.
Re: Fresh minimal install can't connect to repositories
OK, so after changing the repos to official Debian ones, it still says there's a temporary failure resolving 'deb.debian.org'
I have the Ethernet cable in so what can I try now to fix this?
I have the Ethernet cable in so what can I try now to fix this?
-
- Global Moderator
- Posts: 3049
- Joined: 2017-09-17 07:12
- Has thanked: 5 times
- Been thanked: 132 times
Re: Fresh minimal install can't connect to repositories
Did you use ethernet or wireless during the installation ?
If you used wireless, then the ethernet connection is not configured and plugging a cable is not enough.
will show the ethernet interface name enXXX and status. If it is not up and configured with an IP address, you can temporarily configure it with
Persistent configuration must be added to /etc/network/interfaces:
If you used wireless, then the ethernet connection is not configured and plugging a cable is not enough.
Code: Select all
ip addr
Code: Select all
dhclient enXXX
Code: Select all
allow-hotplug enXXX
iface enXXX inet dhcp
Re: Fresh minimal install can't connect to repositories
I don't think I understand any of this. The connection is down both with the cable and wifi.
Is there something wrong with the installer that I can't connect to the repos? It was working fine during the installation, it downloaded files while installing the system so why doesn't it work now?
What do I need to configure in "dhclient enXXX"? What do XXX stand for? When I type it as is, "bash: dhclient: command not found"
enp1s0 and wlp2s0 are shown as DOWN
Is there something wrong with the installer that I can't connect to the repos? It was working fine during the installation, it downloaded files while installing the system so why doesn't it work now?
What do I need to configure in "dhclient enXXX"? What do XXX stand for? When I type it as is, "bash: dhclient: command not found"
enp1s0 and wlp2s0 are shown as DOWN
-
- Global Moderator
- Posts: 3049
- Joined: 2017-09-17 07:12
- Has thanked: 5 times
- Been thanked: 132 times
Re: Fresh minimal install can't connect to repositories
Make an educated guess.
Did you run the command as root with proper path (after su --login or sudo) ?
Re: Fresh minimal install can't connect to repositories
Yes, I did run su. I made an educated guess, by substituting enXXX for enp1s0, but it gave me an error. I couldn't find anything that would work on google search either. This is as far as I can guess, not having experience with Debian installation and not knowing what else I could try.
The reason why people write here is because they need help figuring things out. Comments of the sort: "Make an educated guess" are very rude and unhelpful.
I guess I will either try reinstalling once again with ethernet cable plugged in or will not bother asking for help here and go with another distro that is more user friendly.
The reason why people write here is because they need help figuring things out. Comments of the sort: "Make an educated guess" are very rude and unhelpful.
I guess I will either try reinstalling once again with ethernet cable plugged in or will not bother asking for help here and go with another distro that is more user friendly.
- cds60601
- df -h | participant
- Posts: 739
- Joined: 2017-11-25 05:58
- Location: Florida
- Has thanked: 136 times
- Been thanked: 65 times
Re: Fresh minimal install can't connect to repositories
I'm curious - the ISO you used, did you by chance grab the non-free driver version?
Supercalifragilisticexpialidocious
Re: Fresh minimal install can't connect to repositories
Thanks, I think, (as far as I remember) I opted for the one that had the driver version.
-
- Global Moderator
- Posts: 3049
- Joined: 2017-09-17 07:12
- Has thanked: 5 times
- Been thanked: 132 times
Re: Fresh minimal install can't connect to repositories
In other words, they come here to learn something. Here are some means :
Ask better questions.
Give better answers.
Provide useful information.
What about not answering questions I asked, not posting the exact commands you typed and the complete output you got nor the content of indicated files ?
Re: Fresh minimal install can't connect to repositories
DebianStable
Code: Select all
$ vrms
No non-free or contrib packages installed on debian! rms would be proud.