[Bug 1751225] Re: apt update hangs when repository url is redirect url
This bug was fixed in the package apt - 1.2.26 --- apt (1.2.26) xenial; urgency=medium * Revert "http: A response with Content-Length: 0 has no content" - broke Content-Length: 0 redirects (in xenial only) (LP: #1751225) * travis: Migrate to Docker to make CI work again -- Julian Andres Klode Tue, 06 Mar 2018 09:43:16 +0100 ** Changed in: apt (Ubuntu Xenial) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1751225 Title: apt update hangs when repository url is redirect url To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1751225/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1751225] Re: apt update hangs when repository url is redirect url
Hello, I verified this -proposed pkg is working. 1. upgrade apt pkg 2. insert above url in test case to sources.list 3. apt update 4. check if it hangs or not dpkg -l ii apt 1.2.26 amd64commandline package manager Thanks ** Tags removed: verification-needed-xenial ** Tags added: verification-done-xenial -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1751225 Title: apt update hangs when repository url is redirect url To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1751225/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1751225] Re: apt update hangs when repository url is redirect url
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 Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1751225 Title: apt update hangs when repository url is redirect url To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1751225/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1751225] Re: apt update hangs when repository url is redirect url
** Description changed: [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; + return true; ### [2] if (Encoding == Closes) - Encoding = Stream; + 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 + Could cause some other zero-content redirects to break again (seems unlikely...). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1751225 Title: apt update hangs when repository url is redirect url To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1751225/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1751225] Re: apt update hangs when repository url is redirect url
Thanks a lot! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1751225 Title: apt update hangs when repository url is redirect url To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1751225/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1751225] Re: apt update hangs when repository url is redirect url
Uploaded. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1751225 Title: apt update hangs when repository url is redirect url To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1751225/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1751225] Re: apt update hangs when repository url is redirect url
I was sort of waiting for 16.04.4 to be released and then lost track of it. Uploading fixed version today. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1751225 Title: apt update hangs when repository url is redirect url To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1751225/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1751225] Re: apt update hangs when repository url is redirect url
Hello Julian, no news for this? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1751225 Title: apt update hangs when repository url is redirect url To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1751225/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1751225] Re: apt update hangs when repository url is redirect url
** Changed in: apt (Ubuntu Xenial) Status: Triaged => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1751225 Title: apt update hangs when repository url is redirect url To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1751225/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1751225] Re: apt update hangs when repository url is redirect url
OK, so: xenial: affected artful, bionic: NOT affected So I might just want to revert this commit in an apt 1.2.26 release and look at it again later. ** Changed in: apt (Ubuntu Artful) Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1751225 Title: apt update hangs when repository url is redirect url To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1751225/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1751225] Re: apt update hangs when repository url is redirect url
It's working fine in bionic, but I can confirm it failed in xenial. ** Changed in: apt (Ubuntu Artful) Status: Triaged => New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1751225 Title: apt update hangs when repository url is redirect url To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1751225/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1751225] Re: apt update hangs when repository url is redirect url
OK, so I need to dig a bit further into this. I think if I move the if I break things elsewhere. IIRC, I added the if that early because, when apt received a redirect with Content-Length: 0, it started hanging, and that fixed it. But maybe it breaks some other stuff now. ** Changed in: apt (Ubuntu) Status: Triaged => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1751225 Title: apt update hangs when repository url is redirect url To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1751225/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1751225] Re: apt update hangs when repository url is redirect url
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 Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1751225 Title: apt update hangs when repository url is redirect url To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1751225/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs