Ask Your Question
0

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

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

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

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
0

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

deusdara gravatar image

Hi

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

Comments

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 -0600 )edit

Question Tools

2 followers

Stats

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

Seen: 234 times

Last updated: Dec 21 '13