rpm -U and -e atomic operation?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



my apologies, for my error in posting to this last night.


so lets say we have the following packages name{provides,provides}:req,req.


foo-3.00-0{/lib/foo.so,/lib/foo.so.3.00}

FooByNewName-4.00-0{/lib/foo.so,/lib/foo.so.4.00}

packageX-1-0{}:/lib/foo.so.3.00

FooByNewNameCompat-4.00-0{/lib/foo.so.3.00}:FooByNewName=4.00


rpm -qa

foo-3.00-0
packageX-1-0

rpm -q --whatrequires foo.so
no package requires foo.so

rpm -q --whatrequires foo.so.3.00
packageX-1-0

what is the PROPER way to do

rpm -U FooByNewName-4.00-0.rpm FooByNewName-4.00-0.rpm

PROPER means no --force --nodeps, etc... and reinstalling packageX would not be an option.

The best I have come up with is making an faux rpm named foo which obsoletes foo-3.00-0 but provides nothing.


-Jason

--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-                                                               -
- Jason Pyeron                      PD Inc. http://www.pdinc.us -
- Partner & Sr. Manager             7 West 24th Street #100     -
- +1 (410) 808-6646 (c)             Baltimore, Maryland 21218   -
-                                                               -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, purge the message from your system and notify the sender immediately. Any other use of the email by you is prohibited.


[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux