[Bug 1751225] [NEW] apt update hangs when repository url is redirect url
Seyeong Kim
seyeong.kim at canonical.com
Fri Feb 23 08:57:02 UTC 2018
Public bug reported:
[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]
TBD
** Affects: apt (Ubuntu)
Importance: Undecided
Status: New
** Tags: sts
** Tags added: sts
--
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:
New
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]
TBD
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