Ack, that seems to make sense. Strange.

** Also affects: apt (Ubuntu Xenial)
   Importance: Undecided
       Status: New

** Changed in: apt (Ubuntu)
       Status: New => Triaged

** Changed in: apt (Ubuntu Xenial)
       Status: New => Triaged

** Also affects: apt (Ubuntu Artful)
   Importance: Undecided
       Status: New

** Changed in: apt (Ubuntu Artful)
       Status: New => Triaged

** Changed in: apt (Ubuntu)
   Importance: Undecided => High

** Changed in: apt (Ubuntu Xenial)
   Importance: Undecided => High

** Changed in: apt (Ubuntu Artful)
   Importance: Undecided => High

** Changed in: apt (Ubuntu)
     Assignee: (unassigned) => Julian Andres Klode (juliank)

** Changed in: apt (Ubuntu Xenial)
     Assignee: (unassigned) => Julian Andres Klode (juliank)

** Changed in: apt (Ubuntu Artful)
     Assignee: (unassigned) => Julian Andres Klode (juliank)

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1751225

Title:
  apt update hangs when repository url is redirect url

Status in apt package in Ubuntu:
  Triaged
Status in apt source package in Xenial:
  Triaged
Status in apt source package in Artful:
  Triaged

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

_______________________________________________
Mailing list: https://launchpad.net/~group.of.nepali.translators
Post to     : group.of.nepali.translators@lists.launchpad.net
Unsubscribe : https://launchpad.net/~group.of.nepali.translators
More help   : https://help.launchpad.net/ListHelp

Reply via email to