Installation Error: Package Manager: Installer failed to access the mirror.
Ryan Brownell
New Member Posts: 2 ✭
While trying to install Ubilinux on my UpBoard I am running into an issue where the installer is unable to connect to any package manager mirror in Canada. I have both allowed the installer to configure the network and to manually configured the network. I have changed the DNS server from my local modem to google's 8.8.8.8 to attempt to resolve the issue. I do not believe this to be a network problem.
If I ignore the problem and continue through to the end the OS boots with network access, however APT is broken. Also, when ignoring the issue I also get the following warning.
"The repository on security.debian.org couldn't be accessed, so its updates will not be made available to you at this time. You should investigate this later. Commented out entries for security.debian.org have been added to the /etc/apt/sources.list file."
When in the OS however, there are no such comments in that file. Attempting to run apt-get update runs into issues where it complains that it can't use https to download packages. Manual installation of the packages is also unsuccessful.
Is the a specific mirror I should be using? Or a way around this?
Thanks in advanced for your help!
If I ignore the problem and continue through to the end the OS boots with network access, however APT is broken. Also, when ignoring the issue I also get the following warning.
"The repository on security.debian.org couldn't be accessed, so its updates will not be made available to you at this time. You should investigate this later. Commented out entries for security.debian.org have been added to the /etc/apt/sources.list file."
When in the OS however, there are no such comments in that file. Attempting to run apt-get update runs into issues where it complains that it can't use https to download packages. Manual installation of the packages is also unsuccessful.
Is the a specific mirror I should be using? Or a way around this?
Thanks in advanced for your help!
Comments
-
There is problem with Ubiworks repository (http:/ubiworks.com/debian is down) that cause errors during instalation.
There is workaround but I don't know if it's correct aproach. Download packege apt-transport-https from this webpage https://packages.debian.org/jessie/apt-transport-https and install.
sudo dpkg -i apt-transport-https_1.0.9.8.3_amd64.deb
sudo apt update now ends with error:
Failed to fetch http://ubiworx.com/debian/dists/wheezy/non-free/binary-amd64/Packages Httperror404
Go to Synaptic Package Manager -> Settings -> Repositories and uncheck:
deb http://ubiworx.com/debian wheezy non-free
sudo apt update
sudo apt upgrade
It's a temporary solution. When the ubiworx reposiotry gets up I will reinstall whole system. -
The ubiworx repository should be back online now (both through HTTP and HTTPS).
Thanks for the heads-up! -
Replying to the original question: if the installer wasn't successful configuring APT sources for whatever reason, you should still be able to fix this on the installed system by adding the Jessie repositories to /etc/apt/sources.list manually:
deb http://httpredir.debian.org/debian jessie main contrib non-free deb-src http://httpredir.debian.org/debian jessie main contrib non-free deb http://httpredir.debian.org/debian jessie-updates main contrib non-free deb-src http://httpredir.debian.org/debian jessie-updates main contrib non-free deb http://security.debian.org/ jessie/updates main contrib non-free deb-src http://security.debian.org/ jessie/updates main contrib non-free
-
Thank you, it's working now.
By the way I have not a file /etc/apt/sources.list on my ubilinux. Sources are saved in the directory /etc/apt/sources.d/ -
You can create it: either of /etc/apt/sources.list or, e.g., /etc/apt/sources.list.d/jessie.list should work.
-
Thank you all for your quick replies. My problem was the mirror was offline. Everything is working fine now.
It appears that apt won't install correctly without the mirror though which is problematic. Attempting to install the https driver for apt manually leads to several complications with additional dependencies and is very difficult to manually reinstall.