[Bug 1587204] Re: Spams motd with "proxy ... looks invalid"
Correction: the "Failed to connect..." message appears on stdout anyway, so it *does* persist. So as a second change, I suggest that /usr/lib/ubuntu-release-upgrader /release-upgrade-motd should capture the stderr as well, by adding "2>&1" before "&" -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1587204 Title: Spams motd with "proxy ... looks invalid" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1587204/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1587204] Re: Spams motd with "proxy ... looks invalid"
I am also getting this with 18.04.5 LTS. In /etc/apt/apt.conf.d/99proxy I have: Acquire::http::Proxy "http://127.0.0.1:3142/";; Acquire::https::Proxy "DIRECT"; and sometimes the the motd displays proxy 'DIRECT' looks invalid I have discovered why it's intermittent: that text is the *stderr* output from /usr/lib/ubuntu-release-upgrader/check-new-release -q This means it doesn't get stored in /var/lib/ubuntu-release-upgrader /release-upgrade-available, because only the *stdout* is redirected there. Therefore, it only gets displayed at login time when /usr/lib/ubuntu- release-upgrader/release-upgrade-motd is run, and this only performs the check if its previous output is more than 1 day old. I also note that the script runs "check-new-release -q" in the background (with &), which means that its stderr output could in principle appear later on and be mixed up with other output. Perhaps this is intentional, so that messages like "Failed to connect to https://changelogs.ubuntu.com/meta-release-lts. Check your Internet connection or proxy settings" don't persist in the motd. But in any case, "DIRECT" is a documented and valid form for proxy, so it should not generate any warning. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1587204 Title: Spams motd with "proxy ... looks invalid" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1587204/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1587204] Re: Spams motd with "proxy ... looks invalid"
Still happening in Ubuntu server 20.04.1. I have Acquire::https::Proxy "DIRECT"; set in apt.conf and I'm getting the message "Proxy 'DIRECT' looks invalid" on logging in. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1587204 Title: Spams motd with "proxy ... looks invalid" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1587204/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1587204] Re: Spams motd with "proxy ... looks invalid"
This did work going from 14.04 to 16.04 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1587204 Title: Spams motd with "proxy ... looks invalid" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1587204/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1587204] Re: Spams motd with "proxy ... looks invalid"
So 1 year later and this is still open? I have an IPv6 only network and this is causing me problems. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1587204 Title: Spams motd with "proxy ... looks invalid" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1587204/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1587204] Re: Spams motd with "proxy ... looks invalid"
Similarly, I have set in apt.conf.d Acquire::https::Proxy "DIRECT"; (because apt-cacher-ng can't cache https) and I get proxy 'DIRECT' looks invalid The regexp definitely needs to be broadened. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1587204 Title: Spams motd with "proxy ... looks invalid" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1587204/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1587204] Re: Spams motd with "proxy ... looks invalid"
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: update-manager (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1587204 Title: Spams motd with "proxy ... looks invalid" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1587204/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs