FedoraForum.org - Fedora Support Forums and Community
Results 1 to 5 of 5
  1. #1
    Join Date
    Feb 2007
    Location
    UK
    Posts
    108

    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

  2. #2
    Join Date
    Dec 2013
    Location
    United Kingdom
    Posts
    5,270

    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.

  3. #3
    Join Date
    Feb 2007
    Location
    UK
    Posts
    108

    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?

  4. #4
    Join Date
    Feb 2005
    Location
    London, UK
    Posts
    530

    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.

  5. #5
    Join Date
    Dec 2013
    Location
    United Kingdom
    Posts
    5,270

    Re: dnf system-upgrade FC24 to FC26 - lack of space in /

    not that I can locate in man pages

Similar Threads

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

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •