2

In recent servers provided by my client's hosting provider, the /etc/apt/sources.list file contains references to:

deb http://ubuntu/ubuntu/ xenial main restricted
...
deb http://ubuntu-secu/ubuntu xenial-security multiverse

while previous servers contained lines that I'm used to see:

deb http://fr.archive.ubuntu.com/ubuntu/ xenial main restricted
...
deb-src http://security.ubuntu.com/ubuntu/ xenial-security multiverse

This particular url doesn't seem to resolve, yet the upgrades seem to work.

Is this something provided by Ubuntu itself?

If not, what is the explanation and where can it likely be defined?

Thibaut Barrère
  • 651
  • 1
  • 9
  • 17

1 Answers1

4

I think I found out: the provider has set up an apt proxy in /etc/apt/apt.conf:

Acquire::http {
          Proxy "http://xxx.the-provider.com:1234";
};

This seems to understand the http://ubuntu/ubuntu.

Thanks to https://serverfault.com/users/38644/gerald-schneider for the hint!

Thibaut Barrère
  • 651
  • 1
  • 9
  • 17
  • Nice finding. I didn't think about a proxy, although I'm using one myself inside our network. – Gerald Schneider Feb 01 '19 at 09:38
  • Well thanks a lot to you - without your suspicion on the provider, I wouldn't have digged necessarily in that direction. Many thanks! – Thibaut Barrère Feb 01 '19 at 09:45
  • As [Ubuntu does not notice stale proxies by default](https://bugs.launchpad.net/launchpad/+bug/716535), you probably want to configure appropriate `valid-until-max` for such apt-sources. – anx Feb 01 '19 at 23:54