It's not about the apt version. I just got it with the downgraded apt,
and something apt does when installing the packages fixes it, since it
started working once I re-installed the older packages... if you don't
believe, here's a bit cut-off but copy-pasted output from my lxc:

---
root@wily-gui:~# apt-get autoremove --purge unity.*
Luetaan pakettiluetteloita... Valmis
...
0 päivitetty, 14 uutta asennusta, 106 poistettavaa ja 16 päivittämätöntä.
Noudettavaa arkistoa 3 375 kt.
Toiminnon jälkeen vapautuu 79,8 M t levytilaa.
Haluatko jatkaa? [K/e] 
E: Method http has died unexpectedly!
E: Aliprosessi http aiheutti suojausvirheen.
root@wily-gui:~# apt-get autoremove --purge unity.*
Luetaan pakettiluetteloita... Valmis
...
0 päivitetty, 14 uutta asennusta, 106 poistettavaa ja 16 päivittämätöntä.
Noudettavaa arkistoa 3 375 kt.
Toiminnon jälkeen vapautuu 79,8 M t levytilaa.
Haluatko jatkaa? [K/e] k
E: Method http has died unexpectedly!
E: Aliprosessi http aiheutti suojausvirheen.
root@wily-gui:/# dpkg -i libapt-* apt*
(Reading database ... 118694 files and directories currently installed.)
Preparing to unpack libapt-inst1.5_1.0.9.7ubuntu4_amd64.deb ...
Unpacking libapt-inst1.5:amd64 (1.0.9.7ubuntu4) over (1.0.9.7ubuntu4) ...
Preparing to unpack libapt-pkg4.12_1.0.9.7ubuntu4_amd64.deb ...
Unpacking libapt-pkg4.12:amd64 (1.0.9.7ubuntu4) over (1.0.9.7ubuntu4) ...
Preparing to unpack apt_1.0.9.7ubuntu4_amd64.deb ...
Unpacking apt (1.0.9.7ubuntu4) over (1.0.9.7ubuntu4) ...
Preparing to unpack apt-utils_1.0.9.7ubuntu4_amd64.deb ...
Unpacking apt-utils (1.0.9.7ubuntu4) over (1.0.9.7ubuntu4) ...
Setting up libapt-pkg4.12:amd64 (1.0.9.7ubuntu4) ...
Setting up apt (1.0.9.7ubuntu4) ...
Setting up libapt-inst1.5:amd64 (1.0.9.7ubuntu4) ...
Setting up apt-utils (1.0.9.7ubuntu4) ...
Processing triggers for man-db (2.7.0.2-5) ...
Processing triggers for libc-bin (2.21-0ubuntu4) ...
root@wily-gui:/# apt-get autoremove --purge unity.*
Luetaan pakettiluetteloita... Valmis
Muodostetaan riippuvuussuhteiden puu       
Luetaan tilatiedot... Valmis        
...
0 päivitetty, 14 uutta asennusta, 106 poistettavaa ja 16 päivittämätöntä.
Noudettavaa arkistoa 3 375 kt.
Toiminnon jälkeen vapautuu 79,8 M t levytilaa.
Haluatko jatkaa? [K/e] 
Nouda:1 http://archive.ubuntu.com/ubuntu/ wily/universe gnome-control-center 
amd64 1:3.14.2-2ubuntu3 [1 464 kB]
Nouda:2 http://archive.ubuntu.com/ubuntu/ wily/main libcolord-gtk1 amd64 
0.1.25-1.1build2 [16,7 kB]
Nouda:3 http://archive.ubuntu.com/ubuntu/ wily/main libgnome-control-center1 
amd64 1:3.14.2-2ubuntu3 [90,1 kB]
...


** Also affects: lxc (Ubuntu)
   Importance: Undecided
       Status: New

** Description changed:

  lxc-create -t download -n wily-gui -- -d ubuntu -r wily -a amd64 + some
  config according to https://www.stgraber.org/2014/02/09/lxc-1-0-gui-in-
+ containers/ + https://www.stgraber.org/2014/01/17/lxc-1-0-unprivileged-
  containers/ + enabling network.
  
  ---
  root@wily-gui:/home/ubuntu# apt update
  E: Method http has died unexpectedly!
  E: Sub-process http received a segmentation fault.
  ---
  
  Downgrading apt to
  https://launchpad.net/ubuntu/+source/apt/1.0.9.7ubuntu4 in the LXC
  rootfs seems to fix the issue.

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

Title:
  "E: Method http has died unexpectedly" when run under lxc on wily apt
  1.0.9.9ubuntu1

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

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

Reply via email to