Ask Your Question

What happens if I rpm -U /var/lib/system-upgrade?

asked 2013-12-21 12:13:43 -0500

updated 2014-09-29 16:12:01 -0500

mether gravatar image

I seem to have a borked upgrade.

I can boot - sort of. Boot in the sense that x doesn't startup properly and yum doesn't work. Fortunately rpm does. The upgrade had obviously finished downloading all the packages I needed into /var/lib/system-upgrade (thanks fedup0.8).

Some packages in /var/lib/system-upgrade are installed but some are not. So my question is, if I boot up and run rpm -U *.rpm, what will happen?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-12-21 13:35:53 -0500

deusdara gravatar image


The rpm -U command (--upgrade is equivalent) performs two distinct operations:

Installs the desired package.

Erases all older versions of the package, if any exist.
edit flag offensive delete link more


thanks, I suppose the question is really whether this would break the system (i.e. will it correctly handle dependencies - assuming they're all there, what will it not do - such as add a grub entry for fc20 etc.). I'll accept because I'm not expecting another answer and yours is technically correct.

jcuenod gravatar imagejcuenod ( 2013-12-23 08:04:02 -0500 )edit

Question Tools



Asked: 2013-12-21 12:13:43 -0500

Seen: 235 times

Last updated: Dec 21 '13