packages in /var/lib/system-upgrade

Rick Stevens ricks at alldigital.com
Wed Nov 25 01:58:03 UTC 2015


On 11/24/2015 05:33 PM, sean darcy wrote:
> On 11/24/2015 12:33 PM, Rick Stevens wrote:
>> On 11/23/2015 08:24 PM, Stephen Davies wrote:
>>> On 19/11/15 11:05, Rick Stevens wrote:
>>>> On 11/18/2015 04:25 PM, Sam Varshavchik wrote:
>>>>> Rick Stevens writes:
>>>>>
>>>>>> On 11/18/2015 02:49 PM, Patrick Dupre wrote:
>>>>>>> Hello
>>>>>>>
>>>>>>> I am plenty of file in
>>>>>>> /var/lib/system-upgrade
>>>>>>>
>>>>>>> Why ?
>>>>>>
>>>>>> The system upgrade process downloads all the RPMs needed to upgrade
>>>>>> the
>>>>>> system to that directory, then creates a symlink called
>>>>>> "/system-upgrade" to point at it. When the system reboots in the
>>>>>> upgrade mode, it uses the symlink to actually upgrade the system.
>>>>>>
>>>>>> If your upgrade is complete and clean, I think you can remove the
>>>>>> files in /var/lib/system-upgrade.
>>>>>
>>>>> This should happen automatically on the first boot after a successfull
>>>>> upgrade.
>>>>
>>>> Didn't happen on 2 of the 3 machines I updated from F21 to F22, but
>>>> perhaps there were crumbs left over from the upgrade. They all booted
>>>> and run just fine and I don't think I saw any weirdness, but perhaps
>>>> there was something the first boot didn't like. My machines do tend to
>>>> become sorta "muddy" over time (I beat the kapok out of them) and
>>>> anything's possible.
>>>>
>>>> No, I haven't upgraded to F23 yet. Still waiting for the dust to settle
>>>> a bit more.
>>> The question remains>
>>> Is it safe to delete this directory (given that rebooting does not)?
>>
>> I checked at home and my F21->F22 left that present. I deleted it:
>>
>>      rm -rf /var/lib/system-upgrade
>>      rm -f /system-upgrade
>>
>> and rebooted with no ill effects so my guess is, yes, it's OK to delete
>> it once you've confirmed you're running OK in the upgraded environment.
> And what about /var/cache/system-upgrade/default-installrepo/packages ?

I purged them via "rm -rf /var/cache/system-upgrade" as well.
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, AllDigital    ricks at alldigital.com -
- AIM/Skype: therps2        ICQ: 226437340           Yahoo: origrps2 -
-                                                                    -
-  "Men occasionally stumble over the truth, but most of them pick"  -
-     themselves up and hurry off as if nothing had happened."       -
-                                  -- Winston Churchill              -
----------------------------------------------------------------------


More information about the users mailing list