[Bug 1871540] Re: Include IPs in apt-get output
Julian Andres Klode
julian.klode at canonical.com
Wed Apr 8 06:26:10 UTC 2020
All error messages and progress messages (e.g. connecting to ...)
include ip addresses. Hence if connecting failed, you get all addresses
it tried, for example.
Now. You will likely not see those messages. If it connects fast enough,
you'll never see the IP. In non-interactive mode, I don't think the
progress messages are shown at all.
So I'm not sure what you're after, given that you get addresses for
errors. Investigating slowness? Surely there are better ways to figure
that out?
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1871540
Title:
Include IPs in apt-get output
Status in apt package in Ubuntu:
New
Bug description:
Hi,
When running apt-get update/dist-upgrade, output looks like this:
| Hit:6 http://archive.ubuntu.com/ubuntu focal-updates InRelease
| Get:7 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages [972 kB]
| Get:8 http://archive.ubuntu.com/ubuntu focal/main amd64 c-n-f Metadata [29.1 kB]
| ...
| Need to get 101 MB of archives.
| After this operation, 10.5 MB of additional disk space will be used.
| Do you want to continue? [Y/n] y
| Get:1 http://archive.ubuntu.com/ubuntu focal/main amd64 dpkg amd64 1.19.7ubuntu3 [1128 kB]
| Get:2 http://archive.ubuntu.com/ubuntu focal/main amd64 login amd64 1:4.8.1-1ubuntu4 [221 kB]
| Get:3 http://archive.ubuntu.com/ubuntu focal/main amd64 libc6-dbg amd64 2.31-0ubuntu7 [5673 kB]
With various online CI/CD services such as GitHub Actions, it looks
like this:
| Get:14 http://azure.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [833 kB]
| Get:16 http://azure.archive.ubuntu.com/ubuntu bionic-updates/main Translation-en [292 kB]
| Get:17 http://azure.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1044 kB]
| ...
| Get:31 http://azure.archive.ubuntu.com/ubuntu bionic-updates/main amd64 cmake amd64 3.10.2-1ubuntu2.18.04.1 [3152 kB]
| Get:32 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu bionic/main amd64 gdb amd64 8.2-0ubuntu1~18.04 [3024 kB]
| Get:33 http://azure.archive.ubuntu.com/ubuntu bionic/universe amd64 epstool amd64 3.08+repack-7 [108 kB]
archive.u.c resolves to multiple IPs. azure.archive.u.c resolves to a
load balancer (Azure's Traffic Manager). It would be nice if we also
had the IPs of the servers/hosts in the output and would really help
us in determining which servers or regions users may be experiencing
issues with.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1871540/+subscriptions
More information about the foundations-bugs
mailing list