unattended-upgrades uses dpkg-vendor but doesn't depend on dpkg-dev
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
unattended-upgrades (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Xenial |
Fix Released
|
Undecided
|
Unassigned | ||
Artful |
Fix Released
|
High
|
Unassigned |
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-
$ grep dpkg-dev /var/lib/
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/
/var/lib/
/var/lib/
/var/lib/
/var/lib/
/var/lib/
/var/lib/
/var/lib/
ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: unattended-upgrades 0.97ubuntu1
ProcVersionSign
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)
PackageArchitec
ProcEnviron:
TERM=screen-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=fr_FR.UTF-8
SHELL=/bin/bash
SourcePackage: unattended-upgrades
UpgradeStatus: No upgrade log present (probably fresh install)
modified.
mtime.conffile.
Changed in unattended-upgrades (Ubuntu): | |
status: | Triaged → In Progress |
tags: | removed: rls-aa-incoming |
tags: | added: block-proposed |
tags: | removed: block-proposed |
description: | updated |
Thank, will add the patch soon.