Fedora Linux Support Community & Resources Center
  #1  
Old 7th September 2017, 08:13 AM
SteveT Offline
Registered User
 
Join Date: Feb 2007
Location: UK
Posts: 108
linuxfedorafirefox
dnf system-upgrade FC24 to FC26 - lack of space in /

Good morning.
I have been upgrading a laptop from FC24 to FC26 via the dnf system-upgrade option.
I had a 14GB / partition that had about 4GB available (that's from recollection, as the space reported has now changed).
It seems that the download of FC26 took about 2.9GB, but then the install process needed another 2.9GB to complete the process. This caused the install process to fail with a lack of space in /.
To get around the issue, I copied the existing contents of system-upgrade (in /var/lib) to /home/dnf - and then removed system-upgrade and created it again as a sym link to the new /home/dnf. That then seemed to allow the upgrade to work fine.

The question then is have I missed a trick and is there a way to point dnf to a 'work area' for it to complete the upgrade process? I can't see one - I had hoped to point the upgrade to a USB stick or similar. I have a couple of other machines to upgrade and I don't like 'fiddling' things like upgrades
Reply With Quote
  #2  
Old 7th September 2017, 09:03 AM
antikythera Offline
Administrator
 
Join Date: Dec 2013
Location: United Kingdom
Posts: 5,073
linuxchrome
Re: dnf system-upgrade FC24 to FC26 - lack of space in /

clear out the contents of /var/cache (subfolders and files) but don't remove /var/cache itself and you will have more space. you won't break anything doing this since it is a temporary location and anything there will be recreated as needed by applications.
__________________
Download, Install and Share Fedora - Official ISO Torrents | Live ISO Respins containing post-release updates
Reply With Quote
  #3  
Old 7th September 2017, 11:05 AM
SteveT Offline
Registered User
 
Join Date: Feb 2007
Location: UK
Posts: 108
linuxfedorafirefox
Re: dnf system-upgrade FC24 to FC26 - lack of space in /

Antikythera,
Thanks for the advice, and I did clear cache (mainly that used by Packagekit) - but what I was looking for was a way to 'influence' where dnf placed its work files (as I have space on other partitions and, as I say, on external devices). Is there anything in the set up or config of DNF to alter where temp/work files are placed that you know of?
Reply With Quote
  #4  
Old 7th September 2017, 11:15 AM
HaydnH Offline
Registered User
 
Join Date: Feb 2005
Location: London, UK
Posts: 471
windows_7chrome
Re: dnf system-upgrade FC24 to FC26 - lack of space in /

I don't think there's a configuration option for it. You could create a dnf directory on some other filesystem and symlink it to /var/cache/dnf... however I haven't tried it and I'm not sure 100% it would work across the upgrade rebooting process, it should do but it's not tested.
Reply With Quote
  #5  
Old 7th September 2017, 11:18 AM
antikythera Offline
Administrator
 
Join Date: Dec 2013
Location: United Kingdom
Posts: 5,073
linuxchrome
Re: dnf system-upgrade FC24 to FC26 - lack of space in /

not that I can locate in man pages
__________________
Download, Install and Share Fedora - Official ISO Torrents | Live ISO Respins containing post-release updates
Reply With Quote
Reply

Tags
dnf, fc24, fc26, lack, space, systemupgrade

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Live bare metal FC25 to FC26 upgrade nobody F26 Development Forum 18 10th July 2017 10:39 AM
Upgrade to FC26 may kill USB3.0 bobx001 F26 Development Forum 6 29th April 2017 06:55 PM
Lots of fc24 packages left after dnf system-upgrade dd_wizard Installation, Upgrades and Live Media 10 6th March 2017 01:29 AM
Yum complaining about lack of space on /boot Anztac Using Fedora 2 21st January 2010 03:27 AM
Lack of Upgrade to Fedora Core 10 in GRUB Tutanchamon Installation, Upgrades and Live Media 27 5th December 2008 12:43 AM


Current GMT-time: 03:08 (Sunday, 24-09-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat