Snap tutorial crashed my repositories

Ralf Mardorf silver.bullet at zoho.com
Fri Aug 10 06:50:26 UTC 2018


On Fri, 2018-08-10 at 08:09 +0200, Charles IRONS wrote:
> Maybe the removal disabled the connection??

Hi,

no, it doesn't.

> Err:1 http://ubuntu.mirror.neology.co.za/ubuntu xenial-updates/main amd64 snapd amd64 2.33.1ubuntu2
>   Cannot initiate the connection to ubuntu.mirror.neology.co.za:80 (2001:43e8:10:42::25). - connect (101: Network is unreachable) [IP: 2001:43e8:10:42::25 80]
> E: Failed to fetch http://ubuntu.mirror.neology.co.za/ubuntu/pool/main/s/snapd/snapd_2.33.1ubuntu2_amd64.deb  Cannot initiate the connection to ubuntu.mirror.neology.co.za:80 (2001:43e8:10:42::25). - connect (101: Network is unreachable) [IP: 2001:43e8:10:42::25 80]

If I click http://ubuntu.mirror.neology.co.za/ubuntu/pool/main/s/snapd/snapd_2.33.1ubuntu2_amd64.deb
the first possible reason mentioned by the Pale Moon browser, as well as
by the Firefox browser is "The site could be temporarily unavailable or
too busy. Try again in a few moments.

> E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

You indeed need to run 'sudo apt update' or 'suso apt-get update', take
a look at

[weremouse at moonstudio ~]$ lsb_release -c
Codename:	xenial
[weremouse at moonstudio ~]$ apt list -a snapd
Listing... Done
snapd/xenial-updates,now 2.34.2 amd64 [installed]
snapd/xenial 2.0.2 amd64

The current version is _not_ 2.33.1ubuntu2 it is 2.34.2. However, the
culprit actually is that http://ubuntu.mirror.neology.co.za/ is not
accessible, so running 'sudo apt update' or 'suso apt-get update' won't
help. You either need to be patient and wait that the mirror might get
accessible again, or try using another mirror.

> E:Failed to fetch http://ubuntu.mirror.neology.co.za/ubuntu/dists/xenial-backports/restricted/source/SourcesĀ  
> Cannot initiate the connection to ubuntu.mirror.neology.co.za:80 (2001:43e8:10:42::25). - connect (101: Network is unreachable) [IP: 2001:43e8:10:42::25 80]
> <>
> E:Some index files failed to download. They have been ignored, or old ones used instead.
> 
> Err:155 http://ubuntu.mirror.neology.co.za/ubuntu xenial/main Sources
>   Cannot initiate the connection to ubuntu.mirror.neology.co.za:80 (2001:43e8:10:42::25). - connect (101: Network is unreachable) [IP: 2001:43e8:10:42::25 80]
>
> E: Failed to fetch http://ubuntu.mirror.neology.co.za/ubuntu/dists/xenial-security/main/source/Sources  Cannot initiate the connection to ubuntu.mirror.neology.co.za:80 (2001:43e8:10:42::25). - connect (101: Network is unreachable) [IP: 2001:43e8:10:42::25 80]
> E: Some index files failed to download. They have been ignored, or old ones used instead.

Those are all error messages you posted, so use another mirror.

[weremouse at moonstudio ~]$ sudo apt update -qq
All packages are up to date.
[weremouse at moonstudio ~]$ sudo apt install --reinstall snapd
[snip]
Get:1 http://de.archive.ubuntu.com/ubuntu xenial-updates/main amd64 snapd amd64 2.34.2 [14.2 MB]
Fetched 14.2 MB in 7s (1,890 kB/s)                                                                                                                                                            
(Reading database ... 236051 files and directories currently installed.)
Preparing to unpack .../snapd_2.34.2_amd64.deb ...
Unpacking snapd (2.34.2) over (2.34.2) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up snapd (2.34.2) ...
[snip]

Switching to another mirror could be done by several ways, see
https://www.google.de/search?source=hp&ei=_TRtW5FCitXAAualk-AK&q=ubuntu+change+repository+mirror&oq=ubuntu+change+repository+mirror&gs_l=psy-ab.3..0l2.999.7821.0.8187.35.17.2.16.17.0.74.1087.17.17.0....0...1c.1.64.psy-ab..0.35.1213...0i22i30k1.0.-XG3MwFrjPA

Regards,
Ralf






More information about the ubuntu-users mailing list