[Bug 1614191] Re: [Blocker] Upgrades are failing with error : Dpkg::Tools::Options::/usr/bin/apt-listchanges::InfoFD should be greater than 2
Launchpad Bug Tracker
1614191 at bugs.launchpad.net
Tue Jul 4 00:37:53 UTC 2017
This bug was fixed in the package apt-listchanges - 3.13
---------------
apt-listchanges (3.13) unstable; urgency=low
* Fix changelog parser to mark files as being in the Debian changelog
format *before* checking if the latest version has been seen already.
* Refactor apt-listchanges.py to remove duplicated code.
* Rewrite main loop of program in order to limit a number of calls to
`apt-get changelog':
1. First group packages by the source package and next process all binary
packages from the same source package at once.
2. Sort the packages in each group by their binary versions descending.
3. Exclude those of them whose versions were already seen or are lower
(except for the binnmu suffix) than the maximal version, i.e. the
version of the first package in the group.
4. Process the remaining packages until valid changelog or news entries
are found, and call `apt-get changelog' on the first package if and
only if no such changelog entries are found, and apt-listchanges is
not configured to display the news entries only.
* Override the LESS environment variable to make sure it does not contain
certain flags like -F that might cause less program to quit before even
user is able to see the files generated by the program.
* Fix an issue with showing changelog entries with unrecognised urgencies
(see #866358): map such an urgency to a non-zero value and use proper
`is None' check for testing the mapped value.
* Fix an exception, introduced in 2.87, occurring when the `--since' option
is used with the invalid number of `.deb' files. Clarify the error message
shown in such a case.
* In the `--verbose' mode when apt-listchanges is configured to display
`news' only append the informational notes to the news entries instead
of creating changelog entries.
* Don't permit `--since' and `--show-all' to be used together. Also make
sure that passing one of them in the command line overrides any eventual
config file setting related to the other one.
* Fix a spelling typo in `retrieve' (closes: #866644).
-- Robert Luberda <robert at debian.org> Sat, 01 Jul 2017 13:30:25 +0200
** Changed in: apt-listchanges (Ubuntu)
Status: Confirmed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt-listchanges in Ubuntu.
https://bugs.launchpad.net/bugs/1614191
Title:
[Blocker] Upgrades are failing with error :
Dpkg::Tools::Options::/usr/bin/apt-listchanges::InfoFD should be
greater than 2
Status in apt-listchanges package in Ubuntu:
Fix Released
Bug description:
Since the apt-listchanges upgrade, installing packages now fails with:
apt-listchanges: APT_HOOK_INFO_FD environment variable is incorrectly defined
(Dpkg::Tools::Options::/usr/bin/apt-listchanges::InfoFD should be greater than 2).
E: Sub-process /usr/bin/apt-listchanges --apt || test $? -ne 10 returned an error code (1)
E: Failure running script /usr/bin/apt-listchanges --apt || test $? -ne 10
A package failed to install. Trying to recover:
and nothing happen then (no recovery). Got that issue when trying to
upgrade openprinting-ppds 20160817
Tried to downgrade apt-listchanges to 2.89 also fails with the same
error
ProblemType: Bug
DistroRelease: Ubuntu 16.10
Package: apt-listchanges 3.3ubuntu2
ProcVersionSignature: Ubuntu 4.8.0-1.2-generic 4.8.0-rc2
Uname: Linux 4.8.0-1-generic x86_64
NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
ApportVersion: 2.20.3-0ubuntu7
Architecture: amd64
CurrentDesktop: GNOME
Date: Wed Aug 17 19:28:08 2016
PackageArchitecture: all
SourcePackage: apt-listchanges
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt-listchanges/+bug/1614191/+subscriptions
More information about the foundations-bugs
mailing list