[Bug 1762766] Re: apt-get update hangs when apt-transport-https is not installed

2018-07-05 Thread Launchpad Bug Tracker
This bug was fixed in the package apt - 1.2.27

---
apt (1.2.27) xenial; urgency=medium

  [ David Kalnischkies ]
  * don't hang if multiple sources use unavailable method (Closes: 870675)
(LP: #1762766)

  [ Julian Andres Klode ]
  * Fix lock counting in debSystem (LP: #1778547)
  * apt.conf.autoremove: Catch some new Ubuntu module packages (LP: #1778551)

 -- Julian Andres Klode   Tue, 26 Jun 2018 12:55:03
+0200

** 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/1762766

Title:
  apt-get update hangs when apt-transport-https is not installed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1762766/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1762766] Re: apt-get update hangs when apt-transport-https is not installed

2018-06-28 Thread Julian Andres Klode
Verified now, despite me not changing my verification script. Odd.

with 1.2.26, it times out:

+ lxc exec lp1762766-xenial -- sh -c 'apt-cache policy apt libapt-pkg5.0 | grep 
Inst ; timeout 5s apt update'
  Installed: 1.2.26
  Installed: 1.2.26  
0% [Working]+ lxc stop lp1762766-xenial   


with 1.2.27, it works fine:

+ lxc exec lp1762766-xenial -- sh -c 'apt-cache policy apt libapt-pkg5.0 | grep 
Inst ; timeout 5s apt update'
  Installed: 1.2.27
  Installed: 1.2.27
Reading package lists... Done
E: The method driver /usr/lib/apt/methods/httpx could not be found.
E: The method driver /usr/lib/apt/methods/httpx could not be found.
E: Failed to fetch httpx://invalid.mirror.example.com/dists/bionic/InRelease
E: Failed to fetch 
httpx://invalid.mirror.example.com/dists/bionic-updates/InRelease
E: Some index files failed to download. They have been ignored, or old ones 
used instead.


** Tags removed: verification-needed verification-needed-xenial
** Tags added: verification-done 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/1762766

Title:
  apt-get update hangs when apt-transport-https is not installed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1762766/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1762766] Re: apt-get update hangs when apt-transport-https is not installed

2018-06-28 Thread Julian Andres Klode
huh, why did it say backports? Me looks again, and sees the package.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1762766

Title:
  apt-get update hangs when apt-transport-https is not installed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1762766/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1762766] Re: apt-get update hangs when apt-transport-https is not installed

2018-06-28 Thread Julian Andres Klode
No package in proposed yet.

curl http://archive.ubuntu.com/ubuntu/dists/xenial-backports/main
/binary-amd64/Packages.xz | xzcat | grep ^Package

does not show apt. odd.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1762766

Title:
  apt-get update hangs when apt-transport-https is not installed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1762766/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1762766] Re: apt-get update hangs when apt-transport-https is not installed

2018-06-28 Thread Julian Andres Klode
** Description changed:

- When "apt-get update" is run on a docker container running Ubuntu v16.04
- and containing an additional apt source repository hosted on an https
- webserver, the "apt-get update" command hangs.
+ [Impact]
+ Two or more sources with an unknown protocol cause apt update to hang
+ 
+ [Test case]
+ Add two or more sources with an unknown protocol and run update
+ 
+ [Regression potential]
+ This changes the code to only register a method that actually exists. I don't 
see any potential for a regression here, but of course, if there were any, it 
would be related to not finding other methods.
+ 
+ [Original bug report]
+ When "apt-get update" is run on a docker container running Ubuntu v16.04 and 
containing an additional apt source repository hosted on an https webserver, 
the "apt-get update" command hangs.
  
  The hang happens after connections to http ubuntu hosts are complete,
  and apt-get remains stuck on "Working" at 0%. Removing the sources file
  for the https repo causes apt-get to complete normally.
  
  The source file contains 4 separate entries to 4 different repos on the
  same https server. When the source file is modified so that just *one*
  entry exists to one repo on the https server, we suddenly get a sensible
  error message that tells us that apt-transport-https needs to be
  installed.
  
  Installing apt-transport-https into the docker container before adding
  the sources list to the https servers works around the problem and
  sanity returns.
  
  Key notes:
  
  - The use of docker isn't related to the bug, except that the docker
  image doesn't contain the apt-transport-https package whereas our cloud
  images do contain this package by default. This can give the impression
  that this is a docker bug when it's not.
  
  - The hang in "apt-get update" seems to occur when the sources file
  contains more than one entry in the file. When just one entry exists in
  the file (and all other entries are commented out) a sensible error
  messages appears.
  
  - We encountered this on a host that didn't support cut and paste, sorry
  :(

** Description changed:

  [Impact]
- Two or more sources with an unknown protocol cause apt update to hang
+ Two or more sources with an unknown protocol cause apt update to hang. For 
example, when using the https method on a system without integrated https 
support and without apt-transport-https installed.
  
  [Test case]
  Add two or more sources with an unknown protocol and run update
  
  [Regression potential]
  This changes the code to only register a method that actually exists. I don't 
see any potential for a regression here, but of course, if there were any, it 
would be related to not finding other methods.
  
  [Original bug report]
  When "apt-get update" is run on a docker container running Ubuntu v16.04 and 
containing an additional apt source repository hosted on an https webserver, 
the "apt-get update" command hangs.
  
  The hang happens after connections to http ubuntu hosts are complete,
  and apt-get remains stuck on "Working" at 0%. Removing the sources file
  for the https repo causes apt-get to complete normally.
  
  The source file contains 4 separate entries to 4 different repos on the
  same https server. When the source file is modified so that just *one*
  entry exists to one repo on the https server, we suddenly get a sensible
  error message that tells us that apt-transport-https needs to be
  installed.
  
  Installing apt-transport-https into the docker container before adding
  the sources list to the https servers works around the problem and
  sanity returns.
  
  Key notes:
  
  - The use of docker isn't related to the bug, except that the docker
  image doesn't contain the apt-transport-https package whereas our cloud
  images do contain this package by default. This can give the impression
  that this is a docker bug when it's not.
  
  - The hang in "apt-get update" seems to occur when the sources file
  contains more than one entry in the file. When just one entry exists in
  the file (and all other entries are commented out) a sensible error
  messages appears.
  
  - We encountered this on a host that didn't support cut and paste, sorry
  :(

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1762766

Title:
  apt-get update hangs when apt-transport-https is not installed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1762766/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1762766] Re: apt-get update hangs when apt-transport-https is not installed

2018-06-27 Thread Chris J Arges
Hello Graham, 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.27 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/1762766

Title:
  apt-get update hangs when apt-transport-https is not installed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1762766/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1762766] Re: apt-get update hangs when apt-transport-https is not installed

2018-06-26 Thread Julian Andres Klode
** 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/1762766

Title:
  apt-get update hangs when apt-transport-https is not installed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1762766/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1762766] Re: apt-get update hangs when apt-transport-https is not installed

2018-04-11 Thread Graham Leggett
In our case it burned a number of days of dev time, so this is
definitely causing pain.

We've never seen this before because until docker, we have not
encountered a system where apt-transport-https wasn't installed by
default.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1762766

Title:
  apt-get update hangs when apt-transport-https is not installed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1762766/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1762766] Re: apt-get update hangs when apt-transport-https is not installed

2018-04-11 Thread Julian Andres Klode
I think so, but I don't think it's worth pushing out an update just for
that change. It's been broken since forever, so it's not like it's
fixing a regression or something; so I'd probably wait for something
else to attach it to.

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

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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1762766

Title:
  apt-get update hangs when apt-transport-https is not installed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1762766/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1762766] Re: apt-get update hangs when apt-transport-https is not installed

2018-04-11 Thread Julian Andres Klode
Or rather, I'm not sure it's worth it. I plan to look at other fixes in
1.6 soon, and see which of these we need for stable series.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1762766

Title:
  apt-get update hangs when apt-transport-https is not installed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1762766/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1762766] Re: apt-get update hangs when apt-transport-https is not installed

2018-04-11 Thread Graham Leggett
Is it possible to backport this to trusty too? This bit us hard, and
there are a lot of people out there posting this problem but with no
solution.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1762766

Title:
  apt-get update hangs when apt-transport-https is not installed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1762766/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1762766] Re: apt-get update hangs when apt-transport-https is not installed

2018-04-10 Thread Bug Watch Updater
** Changed in: apt (Debian)
   Status: Unknown => 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/1762766

Title:
  apt-get update hangs when apt-transport-https is not installed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1762766/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1762766] Re: apt-get update hangs when apt-transport-https is not installed

2018-04-10 Thread Julian Andres Klode
Queued the fix for xenial in my repo for CI.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1762766

Title:
  apt-get update hangs when apt-transport-https is not installed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1762766/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1762766] Re: apt-get update hangs when apt-transport-https is not installed

2018-04-10 Thread Julian Andres Klode
I'm not sure when we fixed that, but we did. So bionic works fine. Not
sure about artful.

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

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

** Bug watch added: Debian Bug tracker #870675
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=870675

** Also affects: apt (Debian) via
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=870675
   Importance: Unknown
   Status: Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1762766

Title:
  apt-get update hangs when apt-transport-https is not installed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1762766/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1762766] Re: apt-get update hangs when apt-transport-https is not installed

2018-04-10 Thread Julian Andres Klode
** Changed in: apt (Ubuntu)
   Status: New => 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/1762766

Title:
  apt-get update hangs when apt-transport-https is not installed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1762766/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs