Actions
Bug #8621
closedAgent uses malfunctioning "aptitude" for updates checking in debian|ununtu
Pull Request:
Severity:
Minor - inconvenience | misleading | easy workaround
UX impact:
User visibility:
Operational - other Techniques | Technique editor | Rudder settings
Effort required:
Priority:
27
Name check:
Fix check:
Regression:
Description
Rudder agent 3.2.4-trusty0 (CFEngine Core 3.7.1) (prepackaged from http://www.rudder-project.org/apt-3.2/) @ Ubuntu 14.04.3 LTS
Agent calls:/usr/bin/aptitude --assume-yes --simulate --verbose full-upgrade
Aptitude is deprecated (Number of years passed). Moreover: aptitude hangs (as well, with noninteractive terminals) when reveals broken dependencies (in numbers of cases, such dependencies are seen in aptitude only).
Unsigned packages are stucking aptitude as well (without Aptitude::Cmdline::ignore-trust-violations="true"
) setting.
Two things are needed:
- Eliminate aptitude (use "apt-*"?)
- Launch external checks in new thread, claim to log in case of considerable timeout.
Actions