Page 1 of 1

apt-get update failure

Posted: Thu Dec 06, 2018 5:44 pm
by RayJay62
Hi All,

I need to know how to fix my update failures.
It keeps failing on the following:

E: Failed to fetch http://iso.mxrepo.com/mx/repo/pool/main ... _amd64.deb 404 Not Found

When I go to that like the actual file location, the filename is version is mx-repo-manager_18_12.1_amd64.deb. With a '.1' sub release in the name.

How do I get that changed in the updating system (apt-get)?

Thanks,
Ray

Re: apt-get update failure

Posted: Thu Dec 06, 2018 5:58 pm
by Adrian
It's been updated probably right now, give it some time till it gets in sync and then run again "apt-get update" (or refresh in Synaptic or whatever you use)

Re: apt-get update failure

Posted: Fri Dec 07, 2018 12:22 am
by WaltH
I'm having a similar problem connecting to iso.mxrepo.com to do normal updates on already installed packages. I can't seem to connect to the repo. It gets to that point and hangs for a while and then closes.

Code: Select all

Calculating upgrade... Done
The following packages will be upgraded:
   adobe-flash-properties-gtk (1:20181120.1-1mx17+1 => 1:20181205.1-1mx17+1)
   adobe-flashplugin (1:20181120.1-1mx17+1 => 1:20181205.1-1mx17+1)
   gir1.2-polkit-1.0 (0.105-18 => 0.105-18+deb9u1)
   libpolkit-agent-1-0 (0.105-18 => 0.105-18+deb9u1)
   libpolkit-backend-1-0 (0.105-18 => 0.105-18+deb9u1)
   libpolkit-gobject-1-0 (0.105-18 => 0.105-18+deb9u1)
   mx-repo-manager (18.12 => 18.12.1)
   policykit-1 (0.105-18 => 0.105-18+deb9u1)
8 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 10.2 MB of archives.
After this operation, 4,096 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://security.debian.org stretch/updates/main amd64 gir1.2-polkit-1.0 amd64 0.105-18+deb9u1 [16.8 kB]
Get:2 http://security.debian.org stretch/updates/main amd64 policykit-1 amd64 0.105-18+deb9u1 [63.5 kB]
Get:3 http://security.debian.org stretch/updates/main amd64 libpolkit-backend-1-0 amd64 0.105-18+deb9u1 [45.7 kB]
Get:4 http://security.debian.org stretch/updates/main amd64 libpolkit-agent-1-0 amd64 0.105-18+deb9u1 [24.4 kB]
Get:5 http://security.debian.org stretch/updates/main amd64 libpolkit-gobject-1-0 amd64 0.105-18+deb9u1 [43.8 kB]
14% [Connecting to iso.mxrepo.com (168.235.87.212)]  
Eventually, I get a message saying it was unable to fetch that repo and suggests running apt-get update --fix-missing, but that does no good. Instead, I get the following:

Code: Select all

Get:1 https://mega.nz/linux/MEGAsync/Debian_9.0 ./ InRelease [1,480 B]
Hit:2 http://security.debian.org stretch/updates InRelease
Hit:3 http://ftp.us.debian.org/debian stretch-updates InRelease                                    
Ign:4 http://ftp.us.debian.org/debian stretch InRelease                                            
Hit:5 http://ftp.us.debian.org/debian stretch Release                                              
Ign:7 http://repo.vivaldi.com/stable/deb stable InRelease                                          
Hit:8 http://repo.vivaldi.com/stable/deb stable Release                 
Err:10 http://iso.mxrepo.com/antix/stretch stretch InRelease                                       
  Cannot initiate the connection to iso.mxrepo.com:80 (2604:180:3:88c::a8c3). - connect (101: Network is unreachable) [IP: 2604:180:3:88c::a8c3 80]
Err:11 http://iso.mxrepo.com/mx/repo stretch InRelease
  Cannot initiate the connection to iso.mxrepo.com:80 (2604:180:3:88c::a8c3). - connect (101: Network is unreachable) [IP: 2604:180:3:88c::a8c3 80]
Fetched 1,480 B in 2min 5s (11 B/s)
Reading package lists... Done
W: Failed to fetch http://iso.mxrepo.com/antix/stretch/dists/stretch/InRelease  Cannot initiate the connection to iso.mxrepo.com:80 (2604:180:3:88c::a8c3). - connect (101: Network is unreachable) [IP: 2604:180:3:88c::a8c3 80]
W: Failed to fetch http://iso.mxrepo.com/mx/repo/dists/stretch/InRelease  Cannot initiate the connection to iso.mxrepo.com:80 (2604:180:3:88c::a8c3). - connect (101: Network is unreachable) [IP: 2604:180:3:88c::a8c3 80]
W: Some index files failed to download. They have been ignored, or old ones used instead.

Re: apt-get update failure

Posted: Fri Dec 07, 2018 12:25 am
by asqwerth
There is some shifting/relocation of that repo at the moment.

Just hold off updating for a few hours and try again.

Re: apt-get update failure

Posted: Fri Dec 07, 2018 5:43 am
by fehlix
or perhabs just switch to another (or select closest/fastest) mxrepo mirror using MX Repo Manager. ;)

Re: apt-get update failure

Posted: Fri Dec 07, 2018 9:47 pm
by RayJay62
Don't mean to a pain, but I tried the update today and it failed with this:

Err http://iso.mxrepo.com/mx/repo/ mx15/main mx-repo-manager amd64 18.12.1 404 Not Found
E: Failed to fetch http://iso.mxrepo.com/mx/repo/pool/main ... _amd64.deb 404 Not Found

When I go to URL location, the location already has a 18.2.5 release where apt-get is looking for 18.12.1.

Let me know how to proceed.

Ray

Re: apt-get update failure

Posted: Fri Dec 07, 2018 9:49 pm
by dolphin_oracle
run

Code: Select all

apt-get update
again

we are updating that particular app at a rapid pace because we are getting a ton of new apt mirrors set up.

Re: apt-get update failure

Posted: Fri Dec 07, 2018 10:10 pm
by Gordon Cooper
Being one who lives in a country where the repo is often dragging the chain, I have a standard procedure. Don't worry about it, simply try again tomorrow. Remember that
the MX team is s small one, and at a time when many new mirrors are being set up, and the MX18 RC is just about with us, some delays are inevitable. Have patience.