[repo] apt fails to install update-notifier-common
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack + Chef |
Fix Released
|
High
|
Ma Wen Cheng |
Bug Description
* apt_package[
2015-09-11 22:30:13.456 |
2015-09-11 22:30:13.456 | [0m
2015-09-11 22:30:13.457 | =======
2015-09-11 22:30:13.457 | [31mError executing action `install` on resource 'apt_package[
2015-09-11 22:30:13.457 | =======
2015-09-11 22:30:13.457 |
2015-09-11 22:30:13.457 | [0m Mixlib:
2015-09-11 22:30:13.457 | -------
2015-09-11 22:30:13.457 | Expected process to exit with [0], but received '100'
2015-09-11 22:30:13.458 | [0m ---- Begin output of apt-get -q -y install update-
2015-09-11 22:30:13.458 | [0m STDOUT: Reading package lists...
2015-09-11 22:30:13.458 | [0m Building dependency tree...
2015-09-11 22:30:13.458 | [0m Reading state information...
2015-09-11 22:30:13.458 | [0m The following packages were automatically installed and are no longer required:
2015-09-11 22:30:13.458 | [0m python-cheetah python-configobj python-json-pointer python-jsonpatch
2015-09-11 22:30:13.458 | [0m python-oauth python-prettytable python-serial python-urllib3 python-yaml
2015-09-11 22:30:13.459 | [0m python3-pycurl python3-
2015-09-11 22:30:13.459 | [0m unattended-upgrades
2015-09-11 22:30:13.459 | [0m Use 'apt-get autoremove' to remove them.
2015-09-11 22:30:13.459 | [0m The following extra packages will be installed:
2015-09-11 22:30:13.459 | [0m python-debian
2015-09-11 22:30:13.459 | [0m The following NEW packages will be installed:
2015-09-11 22:30:13.460 | [0m python-debian update-
2015-09-11 22:30:13.460 | [0m 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
2015-09-11 22:30:13.460 | [0m Need to get 211 kB of archives.
2015-09-11 22:30:13.460 | [0m After this operation, 2398 kB of additional disk space will be used.
2015-09-11 22:30:13.460 | [0m Get:1 http://
2015-09-11 22:30:13.460 | [0m Get:2 http://
2015-09-11 22:30:13.461 | [0m Fetched 211 kB in 0s (1480 kB/s)
2015-09-11 22:30:13.461 | [0m Selecting previously unselected package python-debian.
2015-09-11 22:30:13.461 | [0m (Reading database ... 204849 files and directories currently installed.)
2015-09-11 22:30:13.461 | [0m Preparing to unpack .../python-
2015-09-11 22:30:13.461 | [0m Unpacking python-debian (0.1.21+
2015-09-11 22:30:13.461 | [0m Selecting previously unselected package update-
2015-09-11 22:30:13.462 | [0m Preparing to unpack .../update-
2015-09-11 22:30:13.462 | [0m Unpacking update-
2015-09-11 22:30:13.462 | [0m Setting up python-debian (0.1.21+
2015-09-11 22:30:13.462 | [0m Setting up update-
2015-09-11 22:30:13.462 | [0m STDERR: Configuration file '/etc/apt/
2015-09-11 22:30:13.462 | [0m ==> File on system created by you or by a script.
2015-09-11 22:30:13.462 | [0m ==> File also in package provided by package maintainer.
2015-09-11 22:30:13.463 | [0m What would you like to do about it ? Your options are:
2015-09-11 22:30:13.463 | [0m Y or I : install the package maintainer's version
2015-09-11 22:30:13.463 | [0m N or O : keep your currently-installed version
2015-09-11 22:30:13.463 | [0m D : show the differences between the versions
2015-09-11 22:30:13.463 | [0m Z : start a shell to examine the situation
2015-09-11 22:30:13.463 | [0m The default action is to keep your current version.
2015-09-11 22:30:13.464 | [0m *** 15update-stamp (Y/I/N/O/D/Z) [default=N] ? dpkg: error processing package update-
2015-09-11 22:30:13.464 | [0m EOF on stdin at conffile prompt
2015-09-11 22:30:13.464 | [0m Errors were encountered while processing:
2015-09-11 22:30:13.464 | [0m update-
This appears to be fixed with later version of apt cookbook as it now does not even install this package anymore.
So, need to bump apt cookbook to 2.8.2
This effect the following cookbooks:
cookbook-
cookbook-
cookbook-
And the Repo berks file.
I would suggest we change the metadata depends to just 'apt', '~> 2.8' to allow for other future fixes.
Fix proposed to branch: master /review. openstack. org/223262
Review: https:/