[Bug 1751225] Re: apt update hangs when repository url is redirect url
Brian Murray
brian at ubuntu.com
Thu Mar 8 17:18:25 UTC 2018
Hello Seyeong, or anyone else affected,
Accepted apt into xenial-proposed. The package will build now and be
available at https://launchpad.net/ubuntu/+source/apt/1.2.26 in a few
hours, and then in the -proposed repository.
Please help us by testing this new package. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.Your feedback will aid us getting this
update out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested and change the tag from
verification-needed-xenial to verification-done-xenial. If it does not
fix the bug for you, please add a comment stating that, and change the
tag to verification-failed-xenial. In either case, without details of
your testing we will not be able to proceed.
Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in
advance!
** Changed in: apt (Ubuntu Xenial)
Status: In Progress => Fix Committed
** Tags added: verification-needed verification-needed-xenial
--
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/1751225
Title:
apt update hangs when repository url is redirect url
Status in apt package in Ubuntu:
Invalid
Status in apt source package in Xenial:
Fix Committed
Status in apt source package in Artful:
Invalid
Bug description:
[Impact]
When using redirect url on /etc/apt/sources.list
apt update command hangs
this is affected with commit
https://anonscm.debian.org/git/apt/apt.git/commit/?id=dd547ebaffd2aceb42e2908f1d5f0ab386af6cb1
In my test, moving below[1] code after[2]
[1]
###
if (ContentLength == 0)
return true;
###
[2]
if (Encoding == Closes)
Encoding = Stream;
###
it worked fine.
[Test Case]
echo "deb http://packages.cloudfoundry.org/debian stable main" >
/etc/apt/sources.list.d/cloudfoundry-cli.list
apt update
[Regression]
Could cause some other zero-content redirects to break again (seems unlikely...).
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1751225/+subscriptions
More information about the foundations-bugs
mailing list