** Description changed:

+ [Impact]
+ 
+  * Unattended-upgrades may fail to install due to missing dpkg-vendor command.
+  * The fix is using lsb_release which is provided by dependencies.
+ 
+ [Test Case]
+ 
+  * Install unattended-upgrades, then check the maintainer scripts to not have 
reference to dpkg-dev:
+ $ grep dpkg-dev /var/lib/dpkg/info/unattended-upgrades.* ; echo $?
+ 1
+ 
+ [Regression Potential]
+ 
+  * lsb_release may fail but that would be a different, bigger issue affecting 
many other programs. This is unlikely.
+  * Changed maintainer scripts may fail due to errors introduced with the fix. 
Since those scripts had extensive testing in later releases by now it looks 
like unlikely to occur, too.
+ 
+ [Original Bug Text]
+ 
  in its postinst script unattended-upgrade uses dpkg-vendor from dpkg-dev
  but does not depends on dpkg-dev which results in the following error:
- 
  
  # apt-get update && apt-get upgrade
  
  Installing the packages goes well, except for, getting this warning.
  
  Setting up unattended-upgrades (0.97ubuntu1) ...
  /var/lib/dpkg/info/unattended-upgrades.postinst: 65:
  /var/lib/dpkg/info/unattended-upgrades.postinst: dpkg-vendor: not found
  /var/lib/dpkg/info/unattended-upgrades.postinst: 66:
  /var/lib/dpkg/info/unattended-upgrades.postinst: dpkg-vendor: not found
  /var/lib/dpkg/info/unattended-upgrades.postinst: 124:
  /var/lib/dpkg/info/unattended-upgrades.postinst: dpkg-vendor: not found
  /var/lib/dpkg/info/unattended-upgrades.postinst: 125:
  /var/lib/dpkg/info/unattended-upgrades.postinst: dpkg-vendor: not found
  
  ProblemType: Bug
  DistroRelease: Ubuntu 17.10
  Package: unattended-upgrades 0.97ubuntu1
  ProcVersionSignature: Ubuntu 4.13.0-11.12-generic 4.13.1
  Uname: Linux 4.13.0-11-generic x86_64
  ApportVersion: 2.20.7-0ubuntu1
  Architecture: amd64
  CurrentDesktop: ubuntu:GNOME
  Date: Tue Sep 26 10:01:05 2017
  InstallationDate: Installed on 2013-09-03 (1483 days ago)
  InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Alpha amd64 (20130902)
  PackageArchitecture: all
  ProcEnviron:
-  TERM=screen-256color
-  PATH=(custom, no user)
-  XDG_RUNTIME_DIR=<set>
-  LANG=fr_FR.UTF-8
-  SHELL=/bin/bash
+  TERM=screen-256color
+  PATH=(custom, no user)
+  XDG_RUNTIME_DIR=<set>
+  LANG=fr_FR.UTF-8
+  SHELL=/bin/bash
  SourcePackage: unattended-upgrades
  UpgradeStatus: No upgrade log present (probably fresh install)
  modified.conffile..etc.apt.apt.conf.d.50unattended-upgrades: [modified]
  mtime.conffile..etc.apt.apt.conf.d.50unattended-upgrades: 
2017-09-05T01:34:04.573213

-- 
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/1719630

Title:
  unattended-upgrades uses dpkg-vendor but doesn't depend on dpkg-dev

Status in unattended-upgrades package in Ubuntu:
  Fix Released
Status in unattended-upgrades source package in Artful:
  Fix Released

Bug description:
  [Impact]

   * Unattended-upgrades may fail to install due to missing dpkg-vendor command.
   * The fix is using lsb_release which is provided by dependencies.

  [Test Case]

   * Install unattended-upgrades, then check the maintainer scripts to not have 
reference to dpkg-dev:
  $ grep dpkg-dev /var/lib/dpkg/info/unattended-upgrades.* ; echo $?
  1

  [Regression Potential]

   * lsb_release may fail but that would be a different, bigger issue affecting 
many other programs. This is unlikely.
   * Changed maintainer scripts may fail due to errors introduced with the fix. 
Since those scripts had extensive testing in later releases by now it looks 
like unlikely to occur, too.

  [Original Bug Text]

  in its postinst script unattended-upgrade uses dpkg-vendor from dpkg-
  dev but does not depends on dpkg-dev which results in the following
  error:

  # apt-get update && apt-get upgrade

  Installing the packages goes well, except for, getting this warning.

  Setting up unattended-upgrades (0.97ubuntu1) ...
  /var/lib/dpkg/info/unattended-upgrades.postinst: 65:
  /var/lib/dpkg/info/unattended-upgrades.postinst: dpkg-vendor: not found
  /var/lib/dpkg/info/unattended-upgrades.postinst: 66:
  /var/lib/dpkg/info/unattended-upgrades.postinst: dpkg-vendor: not found
  /var/lib/dpkg/info/unattended-upgrades.postinst: 124:
  /var/lib/dpkg/info/unattended-upgrades.postinst: dpkg-vendor: not found
  /var/lib/dpkg/info/unattended-upgrades.postinst: 125:
  /var/lib/dpkg/info/unattended-upgrades.postinst: dpkg-vendor: not found

  ProblemType: Bug
  DistroRelease: Ubuntu 17.10
  Package: unattended-upgrades 0.97ubuntu1
  ProcVersionSignature: Ubuntu 4.13.0-11.12-generic 4.13.1
  Uname: Linux 4.13.0-11-generic x86_64
  ApportVersion: 2.20.7-0ubuntu1
  Architecture: amd64
  CurrentDesktop: ubuntu:GNOME
  Date: Tue Sep 26 10:01:05 2017
  InstallationDate: Installed on 2013-09-03 (1483 days ago)
  InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Alpha amd64 (20130902)
  PackageArchitecture: all
  ProcEnviron:
   TERM=screen-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=fr_FR.UTF-8
   SHELL=/bin/bash
  SourcePackage: unattended-upgrades
  UpgradeStatus: No upgrade log present (probably fresh install)
  modified.conffile..etc.apt.apt.conf.d.50unattended-upgrades: [modified]
  mtime.conffile..etc.apt.apt.conf.d.50unattended-upgrades: 
2017-09-05T01:34:04.573213

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1719630/+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