Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some of your Debian mirrors are down, try again later #243

Closed
dc21930 opened this issue Jul 25, 2017 · 11 comments
Closed

Some of your Debian mirrors are down, try again later #243

dc21930 opened this issue Jul 25, 2017 · 11 comments

Comments

@dc21930
Copy link

dc21930 commented Jul 25, 2017

Have been trying to set this up for a few hours now. I don't know where should I edit to add any other mirrors from this list

root@myhost:~# rtinst
Debian GNU/Linux 8.9 (jessie)

Checking the web sites we will need are accessible
Checking Debian mirrors
http://ftp.debian.org/debian: FAIL
http://security.debian.org: OK

Checking major 3rd party components
Rtorrent: OK
xmlrpc-c: OK
RuTorrent: OK
Autodl-irssi: OK
Some of your Debian mirrors are down, try again later
@arakasi72
Copy link
Owner

Yeah the file you need to edit is located at:
/etc/apt/sources.list

You need to edit as root so use sudo or login as root. You may need to edit several entries in the file.

@dc21930
Copy link
Author

dc21930 commented Jul 25, 2017

Updating package lists
Upgrading packages
Installing required packages

It's stuck there and connection closes now

@arakasi72
Copy link
Owner

It can take a few minutest to install the packages, but if it is stalling, then run with --log to create a log file, and see what is happening.

There should be nothing there that would cause a loss of connection though.

@Ishi-k2
Copy link

Ishi-k2 commented Jul 28, 2017

this solved for Debian Jessie
nano /etc/apt/sources.list
put "/" on http://ftp.debian.org/debian
so http://ftp.debian.org/debian/
rerun rtinst

@arakasi72
Copy link
Owner

Thanks, great info. Will look at how best to manage this in the script.

@dc21930
Copy link
Author

dc21930 commented Jul 28, 2017

Last few lines from the log

update-perl-sax-parsers: Registering Perl SAX parser XML::SAX::Expat with priority 50...
update-perl-sax-parsers: Updating overall Perl SAX parser modules info file...
Replacing config file /etc/perl/XML/SAX/ParserDetails.ini with new version
Processing triggers for libc-bin (2.19-18+deb8u10) ...
Processing triggers for systemd (215-17+deb8u7) ...
Processing triggers for php5-fpm (5.6.30+dfsg-0+deb8u1) ...
Errors were encountered while processing:
 nginx-full
E: Sub-process /usr/bin/dpkg returned an error code (1)

@arakasi72
Copy link
Owner

ok manually try and install that package and see what feedback you get:

sudo apt-get install nginx-full

@dc21930
Copy link
Author

dc21930 commented Jul 29, 2017

getting this

root@methlab:~# sudo apt-get install nginx-full
Reading package lists... Done
Building dependency tree
Reading state information... Done
nginx-full is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up nginx-full (1.6.2-5+deb8u5) ...
Job for nginx.service failed. See 'systemctl status nginx.service' and 'journalctl -xn' for details.
invoke-rc.d: initscript nginx, action "start" failed.
dpkg: error processing package nginx-full (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 nginx-full
E: Sub-process /usr/bin/dpkg returned an error code (1)

@arakasi72
Copy link
Owner

Remove it and try to reinstall it, so:

sudo apt-get remove --purge nginx-full

@checktravis
Copy link

thanks, @Ishi-k2 , i was getting a fail running a bash script that was checking the address with wget. with out the slash/ if just failed.

@arakasi72
Copy link
Owner

Fix for this applied in 1.5.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants