Project

General

Profile

Actions

Bug #8621

closed

Agent uses malfunctioning "aptitude" for updates checking in debian|ununtu

Added by Dmitry Svyatogorov over 8 years ago. Updated over 6 years ago.

Status:
Rejected
Priority:
N/A
Assignee:
-
Category:
Techniques
Target version:
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.

Agent calls aptitude, aptitude requests for user interaction (in non-interactive mode, yes!), agent hangs on waiting for aptitude to be terminated (nevermore), no debug logged.
Two things are needed:
  1. Eliminate aptitude (use "apt-*"?)
  2. Launch external checks in new thread, claim to log in case of considerable timeout.

Related issues 1 (0 open1 closed)

Related to Rudder - Bug #6696: aptitude hangs on unsigned packagesRejectedMatthieu CERDAActions
Actions

Also available in: Atom PDF