[Yum] yum-arch dies on non-rpm file

seth vidal skvidal at phy.duke.edu
Mon Mar 17 13:36:14 UTC 2003


On Mon, 2003-03-17 at 08:32, Piero Calucci wrote:
> On Mon, 2003-03-17 at 14:03, seth vidal wrote:
> > I should probably catch this error and exit more gracefully. But what
> > did you expect to happen? I think it should be taken as read that an rpm
> > needs to be an rpm :)
> 
> uh... well maybe yum-arch could complain the rpm is not an rpm and then
> go on with other files


I dunno about going on - It could potentially make for a dangerous
situation on the client-side. Consider if it missed an important update
that caused a lot of other things to fail to update. I think exiting
with a more graceful error makes a lot more sense than continuing and
ignoring the problem.

-sv





More information about the Yum mailing list