DevHeads.net

Snap tutorial crashed my repositories

Hello 

I saw so much news from Ubuntu about snaps that I thought it was time I
learnt more.

So I found the tutorial on the website :

<a href="https://tutorials.ubuntu.com/tutorial/basic-snap-usage#1" title="https://tutorials.ubuntu.com/tutorial/basic-snap-usage#1">https://tutorials.ubuntu.com/tutorial/basic-snap-usage#1</a>

I am a retired Ubuntu end user so I tried just reading the steps first.
Then tried to install snapd. 41 packages were "no longer required" as
you will see from the clips of terminal messages below.
I don't know why apt could not connect to the network because I was
able to access other websites. Maybe the removal disabled the
connection??

I am preparing to upgrade to Ubuntu 18.04.1 and am deleting lots of old
files. That is why I decided to remove the "no longer required" as the
messages told me. Big mistake. The removal ran for maybe an hour and
then the software repositories were not accessible. "Failed to download
repository information. Check your Internet connection."

Now I hope you will be able to tell me how to correct the situation!!
*************************************

chas@Charles-PC:~$ sudo apt install snapd
[sudo] password for chas: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer
required:
  libllvm4.0 libllvm5.0 libqmi-glib1 libqpdf17 linux-headers-4.4.0-101
  linux-headers-4.4.0-101-generic linux-headers-4.4.0-103
  linux-headers-4.4.0-103-generic linux-headers-4.4.0-104
<>
linux-headers-4.4.0-81-generic linux-headers-4.4.0-83
  linux-headers-4.4.0-83-generic linux-headers-4.4.0-87
<>
linux-headers-4.4.0-98-generic linux-image-4.4.0-101-generic
  linux-image-4.4.0-103-generic linux-image-4.4.0-104-generic
<>
linux-image-extra-4.4.0-103-generic linux-image-extra-4.4.0-104-generic
  linux-image-extra-4.4.0-109-generic linux-image-extra-4.4.0-112-
generic
<>
Use 'sudo apt autoremove' to remove them.
The following packages will be upgraded:
  snapd
1 to upgrade, 0 to newly install, 0 to remove and 12 not to upgrade.
Need to get 14.1 MB of archives.
After this operation, 1,167 kB of additional disk space will be used.
Err:1 <a href="http://ubuntu.mirror.neology.co.za/ubuntu" title="http://ubuntu.mirror.neology.co.za/ubuntu">http://ubuntu.mirror.neology.co.za/ubuntu</a> 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 <a href="http://ubuntu.mirror.neology.co.za/ubuntu/pool/main/" title="http://ubuntu.mirror.neology.co.za/ubuntu/pool/main/">http://ubuntu.mirror.neology.co.za/ubuntu/pool/main/</a>
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]

E: Unable to fetch some archives, maybe run apt-get update or try with
--fix-missing?
chas@Charles-PC:~$ sudo apt autoremove
<>
Removing linux-image-4.4.0-98-generic (4.4.0-98.121) ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 4.4.0-98-
generic /boot/vmlinuz-4.4.0-98-generic
update-initramfs: Deleting /boot/initrd.img-4.4.0-98-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 4.4.0-98-
generic /boot/vmlinuz-4.4.0-98-generic
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.4.0-130-generic
Found initrd image: /boot/initrd.img-4.4.0-130-generic
Found linux image: /boot/vmlinuz-4.4.0-128-generic
Found initrd image: /boot/initrd.img-4.4.0-128-generic
Found linux image: /boot/vmlinuz-3.13.0-92-generic
Found initrd image: /boot/initrd.img-3.13.0-92-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
Found Windows 7 (loader) on /dev/sda1
done
Processing triggers for libc-bin (2.23-0ubuntu10) ...
chas@Charles-PC:~$ 
<>
W:Target Packages (partner/binary-amd64/Packages) is configured
multiple times in /etc/apt/sources.list:49 and
/etc/apt/sources.list.d/xenial-partner.list:4, 
W:Target Packages (partner/binary-i386/Packages) is configured multiple
times in /etc/apt/sources.list:49 and /etc/apt/sources.list.d/xenial-
partner.list:4,
<>
W:The repository 'http://ubuntu.mirror.neology.co.za/ubuntu xenial
Release' does not have a Release file., 
W:Data from such a repository can't be authenticated and is therefore
potentially dangerous to use., 
W:See apt-secure(8) manpage for repository creation and user
configuration details.,
<>
E:Failed to fetch <a href="http://ubuntu.mirror.neology.co.za/ubuntu/dists/xenia" title="http://ubuntu.mirror.neology.co.za/ubuntu/dists/xenia">http://ubuntu.mirror.neology.co.za/ubuntu/dists/xenia</a>
l-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.
<>
chas@Charles-PC:~$ sudo apt-get update
[sudo] password for chas: 
Hit:1 <a href="https://deb.opera.com/opera-stable" title="https://deb.opera.com/opera-stable">https://deb.opera.com/opera-stable</a> stable InRelease
Hit:2 <a href="http://archive.canonical.com/ubuntu" title="http://archive.canonical.com/ubuntu">http://archive.canonical.com/ubuntu</a> xenial
InRelease                                                  
Ign:3 <a href="http://ubuntu.mirror.neology.co.za/ubuntu" title="http://ubuntu.mirror.neology.co.za/ubuntu">http://ubuntu.mirror.neology.co.za/ubuntu</a> xenial
InRelease                      
Ign:4 <a href="http://ubuntu.mirror.neology.co.za/ubuntu" title="http://ubuntu.mirror.neology.co.za/ubuntu">http://ubuntu.mirror.neology.co.za/ubuntu</a> xenial-updates
InRelease
<>
Ign:242 <a href="http://ubuntu.mirror.neology.co.za/ubuntu" title="http://ubuntu.mirror.neology.co.za/ubuntu">http://ubuntu.mirror.neology.co.za/ubuntu</a> xenial-
security/multiverse DEP-11 64x64 Icons
Err:155 <a href="http://ubuntu.mirror.neology.co.za/ubuntu" title="http://ubuntu.mirror.neology.co.za/ubuntu">http://ubuntu.mirror.neology.co.za/ubuntu</a> 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]
<>
Reading package lists... Done
W: Target Packages (partner/binary-amd64/Packages) is configured
multiple times in /etc/apt/sources.list:49 and
/etc/apt/sources.list.d/xenial-partner.list:4
W: Target Packages (partner/binary-i386/Packages) is configured
multiple times in /etc/apt/sources.list:49 and
/etc/apt/sources.list.d/xenial-partner.list:4
<>
E: Failed to fetch <a href="http://ubuntu.mirror.neology.co.za/ubuntu/dists/xeni" title="http://ubuntu.mirror.neology.co.za/ubuntu/dists/xeni">http://ubuntu.mirror.neology.co.za/ubuntu/dists/xeni</a>
al-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.
W: Target Packages (partner/binary-amd64/Packages) is configured
multiple times in /etc/apt/sources.list:49 and
/etc/apt/sources.list.d/xenial-partner.list:4
W: Target Packages (partner/binary-i386/Packages) is configured
multiple times in /etc/apt/sources.list:49 and
/etc/apt/sources.list.d/xenial-partner.list:4
<>

Comments

How do I fix my repositories?

By Charles Irons at 08/20/2018 - 14:43

Hello User Tech Support  

I get error "Failed to download repository information. Check your
Internet connection."

I saw so much news from Ubuntu about snaps that I thought it was time I
learnt more.

So I found the tutorial on the website :

<a href="https://tutorials.ubuntu.com/tutorial/basic-snap-usage#1" title="https://tutorials.ubuntu.com/tutorial/basic-snap-usage#1">https://tutorials.ubuntu.com/tutorial/basic-snap-usage#1</a>

I am a retired Ubuntu end-user so I tried just reading the steps first.
Then I tried to install snapd. 
That showed 41 packages were "no longer required" as you will see from
the clips of terminal session messages quoted below.

I am preparing to upgrade to Ubuntu 18.04.1 and am deleting lots of old
files. That is why I decided to remove the "no longer required" as the
messages told me. 
Big mistake. The removal ran for maybe an hour and then the software
repositories were not accessible. 
"Failed to download repository information. Check your Internet
connection."
I don't know why apt could not connect to the network because I was
able to access other websites. 
Maybe the removal disabled the connection??

I hope you will be able to tell me how to correct the situation!!
*************************************

chas@Charles-PC:~$ sudo apt install snapd
[sudo] password for chas: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer
required:
  libllvm4.0 libllvm5.0 libqmi-glib1 libqpdf17 linux-headers-4.4.0-101
  linux-headers-4.4.0-101-generic linux-headers-4.4.0-103
  linux-headers-4.4.0-103-generic linux-headers-4.4.0-104
<snip>
linux-headers-4.4.0-81-generic linux-headers-4.4.0-83
  linux-headers-4.4.0-83-generic linux-headers-4.4.0-87
<snip>
linux-headers-4.4.0-98-generic linux-image-4.4.0-101-generic
  linux-image-4.4.0-103-generic linux-image-4.4.0-104-generic
<snip>
linux-image-extra-4.4.0-103-generic linux-image-extra-4.4.0-104-generic
  linux-image-extra-4.4.0-109-generic linux-image-extra-4.4.0-112-
generic
<snip>
Use 'sudo apt autoremove' to remove them.
The following packages will be upgraded:
  snapd
1 to upgrade, 0 to newly install, 0 to remove and 12 not to upgrade.
Need to get 14.1 MB of archives.
After this operation, 1,167 kB of additional disk space will be used.
Err:1 <a href="http://ubuntu.mirror.neology.co.za/ubuntu" title="http://ubuntu.mirror.neology.co.za/ubuntu">http://ubuntu.mirror.neology.co.za/ubuntu</a> 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 <a href="http://ubuntu.mirror.neology.co.za/ubuntu/pool/main/" title="http://ubuntu.mirror.neology.co.za/ubuntu/pool/main/">http://ubuntu.mirror.neology.co.za/ubuntu/pool/main/</a>
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]

E: Unable to fetch some archives, maybe run apt-get update or try with
--fix-missing?
chas@Charles-PC:~$ sudo apt autoremove
<snip>
Removing linux-image-4.4.0-98-generic (4.4.0-98.121) ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 4.4.0-98-
generic /boot/vmlinuz-4.4.0-98-generic
update-initramfs: Deleting /boot/initrd.img-4.4.0-98-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 4.4.0-98-
generic /boot/vmlinuz-4.4.0-98-generic
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.4.0-130-generic
Found initrd image: /boot/initrd.img-4.4.0-130-generic
Found linux image: /boot/vmlinuz-4.4.0-128-generic
Found initrd image: /boot/initrd.img-4.4.0-128-generic
Found linux image: /boot/vmlinuz-3.13.0-92-generic
Found initrd image: /boot/initrd.img-3.13.0-92-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
Found Windows 7 (loader) on /dev/sda1
done
Processing triggers for libc-bin (2.23-0ubuntu10) ...
chas@Charles-PC:~$ 
<snip>
W:Target Packages (partner/binary-amd64/Packages) is configured
multiple times in /etc/apt/sources.list:49 and
/etc/apt/sources.list.d/xenial-partner.list:4, 
W:Target Packages (partner/binary-i386/Packages) is configured multiple
times in /etc/apt/sources.list:49 and /etc/apt/sources.list.d/xenial-
partner.list:4,
<snip>
W:The repository 'http://ubuntu.mirror.neology.co.za/ubuntu xenial
Release' does not have a Release file., 
W:Data from such a repository can't be authenticated and is therefore
potentially dangerous to use., 
W:See apt-secure(8) manpage for repository creation and user
configuration details.,
<snip>
E:Failed to fetch <a href="http://ubuntu.mirror.neology.co.za/ubuntu/dists/xenia" title="http://ubuntu.mirror.neology.co.za/ubuntu/dists/xenia">http://ubuntu.mirror.neology.co.za/ubuntu/dists/xenia</a>
l-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]
<snip>
E:Some index files failed to download. They have been ignored, or old
ones used instead.
<snip>
chas@Charles-PC:~$ sudo apt-get update
[sudo] password for chas: 
Hit:1 <a href="https://deb.opera.com/opera-stable" title="https://deb.opera.com/opera-stable">https://deb.opera.com/opera-stable</a> stable InRelease
Hit:2 <a href="http://archive.canonical.com/ubuntu" title="http://archive.canonical.com/ubuntu">http://archive.canonical.com/ubuntu</a> xenial
InRelease                                                  
Ign:3 <a href="http://ubuntu.mirror.neology.co.za/ubuntu" title="http://ubuntu.mirror.neology.co.za/ubuntu">http://ubuntu.mirror.neology.co.za/ubuntu</a> xenial
InRelease                      
Ign:4 <a href="http://ubuntu.mirror.neology.co.za/ubuntu" title="http://ubuntu.mirror.neology.co.za/ubuntu">http://ubuntu.mirror.neology.co.za/ubuntu</a> xenial-updates
InRelease
<snip>
Ign:242 <a href="http://ubuntu.mirror.neology.co.za/ubuntu" title="http://ubuntu.mirror.neology.co.za/ubuntu">http://ubuntu.mirror.neology.co.za/ubuntu</a> xenial-
security/multiverse DEP-11 64x64 Icons
Err:155 <a href="http://ubuntu.mirror.neology.co.za/ubuntu" title="http://ubuntu.mirror.neology.co.za/ubuntu">http://ubuntu.mirror.neology.co.za/ubuntu</a> 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]
<snip>
Reading package lists... Done
W: Target Packages (partner/binary-amd64/Packages) is configured
multiple times in /etc/apt/sources.list:49 and
/etc/apt/sources.list.d/xenial-partner.list:4
W: Target Packages (partner/binary-i386/Packages) is configured
multiple times in /etc/apt/sources.list:49 and
/etc/apt/sources.list.d/xenial-partner.list:4
<snip>
E: Failed to fetch <a href="http://ubuntu.mirror.neology.co.za/ubuntu/dists/xeni" title="http://ubuntu.mirror.neology.co.za/ubuntu/dists/xeni">http://ubuntu.mirror.neology.co.za/ubuntu/dists/xeni</a>
al-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.
W: Target Packages (partner/binary-amd64/Packages) is configured
multiple times in /etc/apt/sources.list:49 and
/etc/apt/sources.list.d/xenial-partner.list:4
W: Target Packages (partner/binary-i386/Packages) is configured
multiple times in /etc/apt/sources.list:49 and
/etc/apt/sources.list.d/xenial-partner.list:4
<snip>
******************************
-- 
My preferred address is
<a href="mailto:irons. ... at gmail dot com">irons. ... at gmail dot com</a>
Mobile   +2783 588 0028

Re: How do I fix my repositories?

By silver.bullet at 08/20/2018 - 14:55

On Mon, 2018-08-20 at 21:43 +0200, Charles IRONS wrote:
It's strange that removing the packages takes that long, but the issue
isn't related to the removal. This mirror is unavailable, chose another
mirror.

<a href="https://linuxconfig.org/how-to-select-the-fastest-apt-mirror-on-ubuntu-linux" title="https://linuxconfig.org/how-to-select-the-fastest-apt-mirror-on-ubuntu-linux">https://linuxconfig.org/how-to-select-the-fastest-apt-mirror-on-ubuntu-l...</a>

Re: Snap tutorial crashed my repositories

By Liam Proven at 08/10/2018 - 13:03

Change your mirror server.

<a href="https://www.unixmen.com/find-fastest-mirror-debian-derivatives/" title="https://www.unixmen.com/find-fastest-mirror-debian-derivatives/">https://www.unixmen.com/find-fastest-mirror-debian-derivatives/</a>

Then do:

sudo apt clean
sudo apt update
sudo apt full-upgrade -y

Assuming it all works:

sudo apt clean
sudo apt purge
sudo apt autoremove

Re: Snap tutorial crashed my repositories

By Charles Irons at 10/03/2018 - 05:04

Hello Liam Proven & others

Thanks. I have just discovered ubuntu-users again and read your replies
to my issue.

I have used the last advice from Liam and saved the output because
there were some warnings. Please check those marked with ???????????? 

I am keen to upgrade to 18.04.1 but want to be sure 16.04 is fixed
first.

Thanks for helping an old retired end user.

Re: Snap tutorial crashed my repositories

By Liam Proven at 10/08/2018 - 09:42

On Wed, 3 Oct 2018 at 12:06, Charles IRONS <irons. ... at gmail dot com> wrote:
Best not to send attachments to mailing lists, by the way. Most block
them. I'm surprised it worked.

The error is what it says. You have some repositories listed more than
once in your repository config files.

You need to go through

/etc/apt/sources.list

and all the files in the folder

/etc/apt/sources.list.d

... and check for duplicate lines. If there are any, comment out all
but one by inserting a # at the begi

Re: Snap tutorial crashed my repositories

By Charles Irons at 10/09/2018 - 08:28

On Mon, 2018-10-08 at 16:42 +0200, Liam Proven wrote:
Hello again Liam
I am still lost. When I read /etc/apt/sources.list ,  I don't know what
may be a duplicate. For example;
deb <a href="http://mirror.wiru.co.za/ubuntu/" title="http://mirror.wiru.co.za/ubuntu/">http://mirror.wiru.co.za/ubuntu/</a> xenial universe
deb-src <a href="http://mirror.wiru.co.za/ubuntu/" title="http://mirror.wiru.co.za/ubuntu/">http://mirror.wiru.co.za/ubuntu/</a> xenial universe
Is the second line a duplicate? If not, there are no actual duplicates
in /etc/apt/sources.list
Similarly, files in /etc/apt/sources.list.d  :
opera-stable.list, opera-stable.list.distUpgrade, opera-
stable.list.save, xenial-partner.list and xenial-partner.list.save
do show what look identical except that they seem to be for different
purposes..

Re: Snap tutorial crashed my repositories

By Liam Proven at 10/09/2018 - 10:26

No, those are not duplicates. The "-src" bit is significant. It means
the 1st line is for binary packages (i.e. compiled programs) and the
2nd line is for _source_ packages (the raw program code the binaries
are built from).

Those 3 _are_ duplicates.

The actual lines are the same, so those are all equivalent to each
other. You only need one line. It doesn't matter hugely which one(s)
you remove, but insert a # at the beginning of any one, save the file,
and try again.

Ditto -- those are duplicates and will cause the errors you are getting.

Note, the error messages you highlighted with question marks in your
previous email does explicitly tell you which files and even which
line numbers contain the duplicates.

Re: Snap tutorial crashed my repositories

By Liam Proven at 10/08/2018 - 09:42

On Mon, 8 Oct 2018 at 16:42, Liam Proven < ... at gmail dot com> wrote:
Sorry. Caught out by a new Gmail feature.

Insert a # at the beginning of any duplicate lines to disable them.
Leave just one un-commented.

Fixed my message options

By Charles Irons at 10/07/2018 - 05:30

Hello Liam Proven & others

I hope I have fixed my message options. Somehow my subscription was
disabled.

Hello Liam Proven & others

Thanks. I have just discovered ubuntu-users again and read your replies
to my issue.

I have used the last advice from Liam and saved the output because
there were some warnings. Please check those marked with ???????????? 

I am keen to upgrade to 18.04.1 but want to be sure 16.04 is fixed
first.

Thanks for helping an old retired end user.
-- 
Our preferred address is
<a href="mailto:irons. ... at gmail dot com">irons. ... at gmail dot com</a>
Mobile   +2783 588 0028

Re: Snap tutorial crashed my repositories

By Oliver Grawert at 08/10/2018 - 05:27

hi,
Am Freitag, den 10.08.2018, 08:09 +0200 schrieb Charles IRONS:
you already have it installed ... 

try:

snap version

..in a terminal, it should show you the version in use (also note that
it isnt *that* important to keep the deb of snapd updated since it
updates itself from the core snap once this is installed (core gets
installed alongside the very first snap you will install)).

ciao
oli

Re: Snap tutorial crashed my repositories

By silver.bullet at 08/10/2018 - 01:50

On Fri, 2018-08-10 at 08:09 +0200, Charles IRONS wrote:
Hi,

no, it doesn't.

If I click <a href="http://ubuntu.mirror.neology.co.za/ubuntu/pool/main/s/snapd/snapd_2.33.1ubuntu2_amd64.deb" title="http://ubuntu.mirror.neology.co.za/ubuntu/pool/main/s/snapd/snapd_2.33.1ubuntu2_amd64.deb">http://ubuntu.mirror.neology.co.za/ubuntu/pool/main/s/snapd/snapd_2.33.1...</a>
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.

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

[weremouse@moonstudio ~]$ lsb_release -c
Codename: xenial
[weremouse@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 <a href="http://ubuntu.mirror.neology.co.za/" title="http://ubuntu.mirror.neology.co.za/">http://ubuntu.mirror.neology.co.za/</a> 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.

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

[weremouse@moonstudio ~]$ sudo apt update -qq
All packages are up to date.
[weremouse@moonstudio ~]$ sudo apt install --reinstall snapd
[snip]
Get:1 <a href="http://de.archive.ubuntu.com/ubuntu" title="http://de.archive.ubuntu.com/ubuntu">http://de.archive.ubuntu.com/ubuntu</a> 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
<a href="https://www.google.de/search?source=hp&amp;ei=_TRtW5FCitXAAualk-AK&amp;q=ubuntu+change+repository+mirror&amp;oq=ubuntu+change+repository+mirror&amp;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" title="https://www.google.de/search?source=hp&amp;ei=_TRtW5FCitXAAualk-AK&amp;q=ubuntu+change+repository+mirror&amp;oq=ubuntu+change+repository+mirror&amp;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">https://www.google.de/search?source=hp&amp;ei=_TRtW5FCitXAAualk-AK&amp;q=ubuntu+...</a>

Regards,
Ralf

Re: Snap tutorial crashed my repositories

By silver.bullet at 08/10/2018 - 02:01

Even the evil Google sometimes could be a friend, see

<a href="https://www.google.de/search?source=hp&amp;ei=LDdtW6rYHJKlwQKe5ILwCA&amp;q=ubuntu+upgrade+fails+connect+%28101%3A+Network+is+unreachable%29&amp;oq=ubuntu+upgrade+fails+connect+%28101%3A+Network+is+unreachable%29&amp;gs_l=psy-ab.3..33i22i29i30k1.979.6097.0.6445.22.13.0.9.9.0.73.807.13.13.0....0...1c.1.64.psy-ab..0.22.883...0j0i22i30k1.0.auqw15u7tt8" title="https://www.google.de/search?source=hp&amp;ei=LDdtW6rYHJKlwQKe5ILwCA&amp;q=ubuntu+upgrade+fails+connect+%28101%3A+Network+is+unreachable%29&amp;oq=ubuntu+upgrade+fails+connect+%28101%3A+Network+is+unreachable%29&amp;gs_l=psy-ab.3..33i22i29i30k1.979.6097.0.6445.22.13.0.9.9.0.73.807.13.13.0....0...1c.1.64.psy-ab..0.22.883...0j0i22i30k1.0.auqw15u7tt8">https://www.google.de/search?source=hp&amp;ei=LDdtW6rYHJKlwQKe5ILwCA&amp;q=ubunt...</a>

Re: Snap tutorial crashed my repositories

By silver.bullet at 08/10/2018 - 02:05

On Fri, 2018-08-10 at 09:01 +0200, Ralf Mardorf wrote:
PPS:

From your original message:

That's why the example Google search does use the term "upgrade" instead
of "install".