| Summary: | urpmi: fix error message in case of post-script failure | ||
|---|---|---|---|
| Product: | [ROSA-based products] ROSA Fresh | Reporter: | Denis Silakov <denis.silakov> |
| Component: | Packages from Main | Assignee: | ROSA Linux Bugs <bugs> |
| Status: | VERIFIED FIXED | QA Contact: | ROSA Linux Bugs <bugs> |
| Severity: | normal | ||
| Priority: | Normal | CC: | v.potapov |
| Version: | Fresh | Flags: | v.potapov:
qa_verified+
denis.silakov: published+ |
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Platform: | --- | ROSA Vulnerability identifier: | |
| RPM Package: | ISO-related: | ||
| Bad POT generating: | Upstream: | ||
Advisory: Fixed error message in urpmi in case of post-script failure. Build lists: https://abf.io/build_lists/2603383 https://abf.io/build_lists/2603384 Note for testers: in the example with links, urpmi should now print smth like the following: ERROR: 'script' failed: error: %trigger(links-2.10-1.x86_64) scriptlet failed, exit status 2 The update is sent to expanded testing *************************************** urpmi-7.32.3-43 https://abf.io/build_lists/2603383 https://abf.io/build_lists/2603384 *************************** Advisory ****************************** Fixed error message in urpmi in case of post-script failure. ******************************************************************* QA Verified |
Sometime urpmi fails to correctly form error message when package scriptlet fails during package removal, e.g.: $ sudo urpme links removing links-2.10-1-rosa2014.1.x86_64 removing package links-2.10-1.x86_64 1/1: removing links-2.10-1.x86_64 ################################################################################################################################################################################ update-alternatives: error: no alternatives for links Can't call method "fullname" on an undefined value at /usr/lib/perl5/vendor_perl/5.18.2/urpm/install.pm line 316.