Bug 1449 - Incorrect urpmi return code with --auto option
: Incorrect urpmi return code with --auto option
Status: RESOLVED FIXED
Product: Desktop Bugs
Classification: ROSA Desktop
Component: Main Packages
: Fresh
: All Linux
: Normal normal
: ---
Assigned To: ROSA Linux Bugs
: ROSA Linux Bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-01-14 12:12 MSK by Denis Silakov
Modified: 2013-01-18 11:44 MSK (History)
2 users (show)

See Also:
RPM Package:
ISO-related:
Bad POT generating:
Upstream:
vladimir.potapov: qa_verified+
alex.burmashev: published+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Denis Silakov 2013-01-14 12:12:17 MSK
urpmi in Desktop.Fresh 2012 suffers from the same issue as described in bug #328:

$ wget http://koji.russianfedora.ru/packages/tigervnc/1.1.0/6.3.fc17.R/src/tigervnc-1.1.0-6.3.fc17.R.src.rpm

$sudo urpmi --buildrequires ./tigervnc-1.1.0-5.fc17.src.rpm  --auto

A requested package cannot be installed:
tigervnc-1.1.0-5.fc17.src (due to unsatisfied gettext-autopoint)

$ echo $?
0

urpmi should return non-zero code in such situations.
Comment 1 Denis Silakov 2013-01-14 12:13:19 MSK
Advisory:

Fix urpmi to exit with non-zero code if some packages can't be installed with '--auto' option.

Build lists:

https://abf.rosalinux.ru/build_lists/897430
https://abf.rosalinux.ru/build_lists/897429
Comment 2 Vladimir Potapov 2013-01-18 07:24:58 MSK
In testing
Comment 3 Vladimir Potapov 2013-01-18 10:32:16 MSK
urpmi-6.71-3-rosa2012.1
***************** Advisory *****************
Fix urpmi to exit with non-zero code if some packages can't be installed with '--auto' option.
********************************************
QA Verified