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

Re: Unknown URL




On 02/21/2018 11:23 PM, Reco wrote:
	Hi.

I prefer on-list communication.

On Wed, Feb 21, 2018 at 06:26:37PM -0500, Stephen P. Molnar wrote:
On 02/21/2018 04:03 PM, Reco wrote:
	Hi.

On Wed, Feb 21, 2018 at 03:41:08PM -0500, Stephen P. Molnar wrote:
I have just installed Stretch and have what, to me at least, is an unknown
URL when I do apt update (as root).

[Connecting to prod.debian.map.fastly.net (2a04:4e42:b::204)]
That's because you have this in your sources.list:

debhttp://security.debian.org/debian-security/  stretch/updates main contrib
security.debian.org tries to redirect you to the mirrors that are
nearest to you.

It just so happens that your host has IPv6 address from somewhere, so
apt tries IPv6 first, then another, and finally falls back to IPv4.

For example, from here it looks like this:

$ wget -S --spiderhttp://security.debian.org
Spider mode enabled. Check if remote file exists.
--2018-02-21 23:56:33--http://security.debian.org/
Resolving security.debian.org (security.debian.org)...
2001:a78:5:1:216:35ff:fe7f:6ceb, 2a02:16a8:dc41:100::233,
217.196.149.233, ..
.
Connecting to security.debian.org
(security.debian.org)|2001:a78:5:1:216:35ff:fe7f:6ceb|:80
..

$ getent hosts 2001:a78:5:1:216:35ff:fe7f:6ceb
2001:a78:5:1:216:35ff:fe7f:6ceb lobos.debian.org

Therefore here security.debian.org = lobos.debian.org


Since prod.debian.map.fastly.net is reachable from here, I suggest you
to fix your IPv6 setup, or squash it altogether in case you don't
control it.

Reco


While I am most appreciative of your response, I don't have the fainest idea
as to what you are suggesting that I do when you say "Since
prod.debian.map.fastly.net is reachable from here, I suggest you to fix your
IPv6 setup, or squash it altogether in case you don't control it.
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

Reco

Reco

Thanks for the detailed reply.

I used the installer defaults to configure the network interface.

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.

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.

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.
root@AbNormal:/home/comp#

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>

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

Thanks in advance.

--
Stephen P. Molnar, Ph.D.
Consultant
www.molecular-modeling.net
(614)312-7528 (c)
Skype: smolnar1


Reply to: