Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 118515 - portage: emerge unmerge ... should stop in case of an error
Summary: portage: emerge unmerge ... should stop in case of an error
Status: RESOLVED WONTFIX
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-10 04:33 UTC by Toralf Förster
Modified: 2006-06-21 03:49 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2006-01-10 04:33:37 UTC
As seen below I had to manually interrupt the command even I specified a wrong (non-existant) package:
unmerging should stop in such a case, or ?

n22 ~ # emerge unmerge bluez-utils luez-libs

--- Couldn't find luez-libs to unmerge.

 net-wireless/bluez-utils
    selected: 2.19
   protected: none
     omitted: none

>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.

>>> Waiting 5 seconds before starting...
>>> (Control-C to abort)...
>>> Unmerging in: 5 4 3 2 1

Exiting on signal 2
Comment 1 Marius Mauch (RETIRED) gentoo-dev 2006-01-10 06:25:44 UTC
questionable IMO.
Comment 2 Alec Warner (RETIRED) archtester gentoo-dev Security 2006-01-10 06:35:06 UTC
Transactional merges, yes, randomly die on errors, no ;)
Comment 3 Zac Medico gentoo-dev 2006-04-21 17:20:08 UTC
In svn r3186 I've changed the behavior so that emerge will exit with error status when the user has attempted to unmerge a package that is not installed.  My reasoning is that it's ambiguous to exit with success status when given erroneous input.
Comment 4 Zac Medico gentoo-dev 2006-04-29 08:30:13 UTC
Released in 2.1_pre10.
Comment 5 Zac Medico gentoo-dev 2006-06-20 17:46:48 UTC
Lots of people complained about this change, include the release engineering project.  Sometimes we just have to go with the flow...so this is reverted in svn r3548.
Comment 6 Zac Medico gentoo-dev 2006-06-20 17:51:07 UTC
See bug 134466 for a similar change that was reverted due to popular demand. :)