Project

General

Custom queries

Profile

Actions

Bug #3479

closed

(ex-PT/Technique) Package management for RHEL / CentOS / SuSE / RPM systems: Rug prevent from having a good reporting when trying to install or remove a package

Added by Nicolas PERRON about 12 years ago. Updated over 8 years ago.

Status:
Rejected
Priority:
2
Assignee:
-
Category:
Techniques
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

On SLES 10, we are using Rug to manage packages but the reporting is wrong since Rug returns error code. In fact:
  • if I try to install a package which is installed, Rug will return 1 with this message: "ERROR: 'mypackage' is not available"
  • if I try to remove a package which is not install, Rug will return 1 with this mesage: "ERROR: Can not find resolvable 'mypackage'"

It will lead to have Error reports even though it is not really an error.


Related issues 1 (0 open1 closed)

Related to Rudder - Bug #3413: 'Package management for RHEL / CentOS / SuSE / RPM systems: Removing a package returns an error because of Rug which returns 1 if package already removedRejectedActions
Actions #2

Updated by Jonathan CLARKE about 12 years ago

This should not happen, because CFEngine obtains a list of packages from the local package manager, and only calls a install/remove action if it is necesary.

Therefore, it sounds more like that (reading the list of installed packages) is broken here.

Actions #3

Updated by Jonathan CLARKE about 12 years ago

See also #3413 which may well be fixed at the same time as this

Actions #13

Updated by Vincent MEMBRÉ over 11 years ago

  • Target version changed from 2.4.13 to 2.6.11

Since 2.4 is not maintained anymore, retargeting to branch 2.6

Actions #48

Updated by Benoît PECCATTE over 8 years ago

  • Status changed from New to Rejected

Duplicates #3413

Actions

Also available in: Atom PDF