[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Unknown URL



	Hi.

On Thu, Feb 22, 2018 at 09:19:38AM -0500, Stephen P. Molnar wrote:
> > Simple.
> > 
> > If you configured radvd or dhcpv6 - double-check your setup. You did it
> > wrong.
> > If you don't, but used "iface ??? inet6" stanzas in
> > /etc/network/interfaces - remove them.
> > If you use NetworkManager, so some other nonsense - convince it not no
> > configure IPv6 for you, or stop using them.
> > If anything else fails, try this:
> > 
> > sysctl -w net.ipv6.conf.all.disable_ipv6=1
> > 
> 
> Thanks for the detailed reply.
> 
> I used the installer defaults to configure the network interface.

"Installer defaults" is a very broad term, and the contents of your
installation can differ dramatically depending on the type of install
media used.
Besides it's really been awhile since I used Debian Installer CD1. I
prefer d-i over TFTP these days. More flexibility, less cruft this way.


> Here are the contents of /etc/network/interfaces:
> 
> # This file describes the network interfaces available on your system
> # and how to activate them. For more information, see interfaces(5).
> 
> source /etc/network/interfaces.d/*
> 
> # The loopback network interface
> auto lo
> iface lo inet loopback
> 
> and /etc/networks/interfaces.d is empty.

And that means you're using NetworkManager, wicd, systemd-networkd,
connman or whatever they put in there by default. Not the conventional
ifupdown.


> It would seem that there is another problem:  dpkg --add-architecture i386
> (as root) no longer seems to work, although it did when I ran it yesterday
> after reinstalling the OS.

To my best knowledge this particular invocation of dpkg does not involve
network communication in any way. Therefore it's a different problem.


> However I just ran
> 
> sysctl -w net.ipv6.conf.all.disable_ipv6=1, as per your suggestion and got:
> 
> 
> root@AbNormal:/home/comp# sysctl -w net.ipv6.conf.all.disable_ipv6=1
> net.ipv6.conf.all.disable_ipv6 = 1
> root@AbNormal:/home/comp# aprt update
> -bash: aprt: command not found
> root@AbNormal:/home/comp# apt update
> Get:1 http://security.debian.org/debian-security stretch/updates InRelease [63.0 kB]
> Ign:2 http://debian.uchicago.edu/debian stretch InRelease
> Hit:3 http://debian.uchicago.edu/debian stretch-updates InRelease
> Hit:4 http://debian.uchicago.edu/debian stretch Release
> Get:5 http://security.debian.org/debian-security stretch/updates/contrib Sources [1,384 B]
> Get:7 http://security.debian.org/debian-security stretch/updates/non-free Sources [772 B]
> Get:8 http://security.debian.org/debian-security stretch/updates/main Sources [116 kB]
> Get:9 http://security.debian.org/debian-security stretch/updates/main amd64 Packages [325 kB]
> Get:10 http://security.debian.org/debian-security stretch/updates/main i386 Packages [326 kB]
> Get:11 http://security.debian.org/debian-security stretch/updates/main Translation-en [144 kB]
> Get:12 http://security.debian.org/debian-security stretch/updates/contrib i386 Packages [1,776 B]
> Get:13 http://security.debian.org/debian-security stretch/updates/contrib amd64 Packages [1,776 B]
> Get:14 http://security.debian.org/debian-security stretch/updates/contrib Translation-en [1,759 B]
> Get:15 http://security.debian.org/debian-security stretch/updates/non-free amd64 Packages [1,268 B]
> Get:16 http://security.debian.org/debian-security stretch/updates/non-free i386 Packages [1,268 B]
> Get:17 http://security.debian.org/debian-security stretch/updates/non-free Translation-en [481 B]
> Get:19 https://deb.opera.com/opera-stable stable/non-free amd64 Packages [1,827 B]
> Err:19 https://deb.opera.com/opera-stable stable/non-free amd64 Packages
>   Writing more data than expected (1832 > 1827)
>   Hashes of expected file:
>    - Filesize:1827 [weak]
>    - SHA256:e53101f11ac6677a265465dc4ebcb85fc1de696d88ddc5440db29f448758a6ae
>    - SHA1:24da563907645d73682c218bffe94ebefa0ce284 [weak]
>    - MD5Sum:f339dab9748f817a448f3bf401e76b3a [weak]
>   Release file created at: Thu, 22 Feb 2018 07:26:36 +0000
> Fetched 985 kB in 1s (538 kB/s)
> Reading package lists... Done
> E: Failed to fetch https://deb.opera.com/opera-stable/dists/stable/non-free/binary-amd64/Packages.gz  Writing more data than expected (1832 > 1827)
>    Hashes of expected file:
>     - Filesize:1827 [weak]
>     - SHA256:e53101f11ac6677a265465dc4ebcb85fc1de696d88ddc5440db29f448758a6ae
>     - SHA1:24da563907645d73682c218bffe94ebefa0ce284 [weak]
>     - MD5Sum:f339dab9748f817a448f3bf401e76b3a [weak]
>    Release file created at: Thu, 22 Feb 2018 07:26:36 +0000
> E: Some index files failed to download. They have been ignored, or old ones used instead.

And that, ladies and gentlemen, shows us two things.
First one being - you IPv4 settings are working.
Second - those corporate drones at Opera are unable to setup a proper
Debian repository.


> Then I ran apt update and got:
> 
> root@AbNormal:/home/comp# apt update
> Ign:1 http://debian.uchicago.edu/debian stretch InRelease
> Hit:2 http://debian.uchicago.edu/debian stretch-updates InRelease
> Hit:3 http://debian.uchicago.edu/debian stretch Release
> Hit:4 http://security.debian.org/debian-security stretch/updates InRelease
> Get:5 https://deb.opera.com/opera-stable stable InRelease [2,592 B]
> Fetched 2,592 B in 0s (3,445 B/s)
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> 26 packages can be upgraded. Run 'apt list --upgradable' to see them.
> root@AbNormal:/home/comp#
> 
> Now, I'm really confused>

That's expected. Apt discarded faulty Opera repository and found 26
proper Debian packages to update.


> Any further help in resolving this problem, will reallly be appreciated!

I count three problems:

1) "dpkg --add-architecture i386" does not work. 

2) Your IPv6 setup is broken.

3) You want to use Opera repository, but are unable to do so.

Which one will be the first?

Reco


Reply to: