Public bug reported:

[Impact]
unattended-upgrades does not work (reliably) in (bionic and) cosmic with the 
mirror:// method, as it tries to open the mirror file - which recent apt 
versions store in auxfiles - as a .deb:


2018-10-04 08:58:46,801 ERROR failed to read deb file 
/var/lib/apt/lists/auxfiles/_etc_apt_mirrors.list (E:Invalid archive signature)
2018-10-04 08:58:46,801 ERROR failed to read deb file 
/var/lib/apt/lists/auxfiles/_etc_apt_mirrors.list (E:Invalid archive signature)
2018-10-04 08:58:46,807 ERROR Apt returned an error, exiting
2018-10-04 08:58:46,807 ERROR error message: E:Invalid archive signature
2018-10-04 08:58:46,808 ERROR An error occurred: E:Invalid archive signature
Traceback (most recent call last):
  File "/usr/bin/unattended-upgrade", line 1595, in main
    install_start_time)
  File "/usr/bin/unattended-upgrade", line 1800, in run
    if conffile_prompt(item.destfile):
  File "/usr/bin/unattended-upgrade", line 860, in conffile_prompt
    deb = apt_inst.DebFile(destFile)
apt_pkg.Error: E:Invalid archive signature

[Test case]
To figure out. It did work for me sometimes, so...

[Regression potential]
To figure out.

** Affects: unattended-upgrades (Ubuntu)
     Importance: High
         Status: Triaged

** Changed in: unattended-upgrades (Ubuntu)
       Status: New => Triaged

** Changed in: unattended-upgrades (Ubuntu)
   Importance: Undecided => High

** Summary changed:

- tries to open auxfiles as .deb
+ crashes while trying to open auxfiles as .deb

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unattended-upgrades in
Ubuntu.
https://bugs.launchpad.net/bugs/1796100

Title:
  crashes while trying to open auxfiles as .deb

Status in unattended-upgrades package in Ubuntu:
  Triaged

Bug description:
  [Impact]
  unattended-upgrades does not work (reliably) in (bionic and) cosmic with the 
mirror:// method, as it tries to open the mirror file - which recent apt 
versions store in auxfiles - as a .deb:

  
  2018-10-04 08:58:46,801 ERROR failed to read deb file 
/var/lib/apt/lists/auxfiles/_etc_apt_mirrors.list (E:Invalid archive signature)
  2018-10-04 08:58:46,801 ERROR failed to read deb file 
/var/lib/apt/lists/auxfiles/_etc_apt_mirrors.list (E:Invalid archive signature)
  2018-10-04 08:58:46,807 ERROR Apt returned an error, exiting
  2018-10-04 08:58:46,807 ERROR error message: E:Invalid archive signature
  2018-10-04 08:58:46,808 ERROR An error occurred: E:Invalid archive signature
  Traceback (most recent call last):
    File "/usr/bin/unattended-upgrade", line 1595, in main
      install_start_time)
    File "/usr/bin/unattended-upgrade", line 1800, in run
      if conffile_prompt(item.destfile):
    File "/usr/bin/unattended-upgrade", line 860, in conffile_prompt
      deb = apt_inst.DebFile(destFile)
  apt_pkg.Error: E:Invalid archive signature

  [Test case]
  To figure out. It did work for me sometimes, so...

  [Regression potential]
  To figure out.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1796100/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to