This isn't a bug, it's an enhancement request:
moremagic [mc]# rpm -U slang-1.2.2-4.i386.rpm
error: failed dependencies:
libslang.so.0 is needed by timidity-0.2i-5
libslang.so.0 is needed by mutt-0.93.2i-1
moremagic [mc]# rpm -q slang
I did purposely do a rpm -i on the new slang so that I could
have both libraries at the same time.
So, I'm currently forced to do the following:
moremagic [mc]# rpm -e slang-1.2.2-3 --nodeps
moremagic [mc]# rpm -i slang-1.2.2-4.i386.rpm
It'd be nice if rpm could figure out that rpm -U
slang-1.2.2-4.i386.rpm, really means to upgrade the package
that also provides libslang.so.1, and leave alone the one
that provides libslang.so.0
The complexity that would be introduced into rpm by your update
enhancement request boggles my mind:-). Let's keep it simple:
rpm -e ...
rpm -i ...
gets the job done and it's not like you need to type this more
often than every other week or so :-)