LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 11-15-2022, 08:30 PM   #1
terry-duell
Member
 
Registered: Jan 2007
Location: Melbourne, Australia
Distribution: Fedora 38 x86_64
Posts: 539

Rep: Reputation: 59
Not enough space to upgrade from Fedora 36 to 37


I have an issue that is baffling me.
I have been through all the command line processes to upgrade from 36 to 37 and eventually get told that I need (about) another 2GB.
I eventually moved (and deleted the original dirs) about 8GB from my home dir to another disc, but the upgrade process still tells me I need (about) 2GB of extra space!
I then tried a reboot and the upgrade again...similar result.
I have also run 'dnf system-upgrade clean', and gone through it all again, similar result.
Any suggestions as to what's going on here?

Cheers,
Terry
 
Old 11-15-2022, 08:39 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,380
Blog Entries: 28

Rep: Reputation: 6163Reputation: 6163Reputation: 6163Reputation: 6163Reputation: 6163Reputation: 6163Reputation: 6163Reputation: 6163Reputation: 6163Reputation: 6163Reputation: 6163
Just for clarity, I must ask whether your /home is on a separate partition from /?

Also, you might want to take a look at the du command. It might provide you with some useful information.

Last edited by frankbell; 11-15-2022 at 08:46 PM.
 
Old 11-16-2022, 03:53 PM   #3
terry-duell
Member
 
Registered: Jan 2007
Location: Melbourne, Australia
Distribution: Fedora 38 x86_64
Posts: 539

Original Poster
Rep: Reputation: 59
Quote:
Originally Posted by frankbell View Post
Just for clarity, I must ask whether your /home is on a separate partition from /?

Also, you might want to take a look at the du command. It might provide you with some useful information.
Good question...that occurred to me a while after I posted.
/ and /home are indeed on separate partitions, and does explain what has been happening.
/ has 12 GB available, which on the surface would seem to be enough, but must be less than needed for the upgrade.
My problem now is to identify system stuff on / that can safely be deleted. Any advice on that would be helpful, as Dr Google seems to only turn up answers that aren't relevant to this issue.
Thanks for your help thus far.

Cheers,
Terry
 
Old 11-17-2022, 08:26 AM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,019

Rep: Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630
Thinking out loud here.

Wonder if booting to DVD the upgrade may help? On some distro they had a way to sort of easy update.

Just to check. Did you update fully before you tried to upgrade? Also clear the update cache.
 
Old 11-17-2022, 03:30 PM   #5
terry-duell
Member
 
Registered: Jan 2007
Location: Melbourne, Australia
Distribution: Fedora 38 x86_64
Posts: 539

Original Poster
Rep: Reputation: 59
Quote:
Originally Posted by jefro View Post
Thinking out loud here.

Wonder if booting to DVD the upgrade may help? On some distro they had a way to sort of easy update.

Just to check. Did you update fully before you tried to upgrade? Also clear the update cache.
Yes, I followed all the guidelines prior to upgrade.
I have been thinking that increasing the size of the / partition might be a better long term answer, and booted gparted to have a go at doing this, but didn't proceed when I was warned that changes might prevent booting.
My disc is partitioned in the following order:
ext4/boot 500MB; ext4/ 40GB; fat16/boot/efi, 190MB; ext4/home 198 GB.
What I was thinking of doing was move the start of /home to the right by 5GB (ie decreasing size by 5GB), then move /boot/efi up to the new boundary of /home, and finally increase / by the 5GB I have gained.
The prospect of causing boot issues by the above moves is not fully understood by me, and any advice would be appreciated.
Another possible long term solution would be to purchase a 500 GB system disc, but partitioning that and moving everything from my current disc is another mystery as to what dragons lurk in that process!

Cheers,
Terry
 
Old 11-17-2022, 11:37 PM   #6
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,151

Rep: Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125
IT might be that boot partition (not the EFI) - fedora used to use that as "work space". If it's just part of the root, the problem goes away.
40G should be plenty - have a look at ncdu so you can drill down on the biggest users. I've had major issues with the PackageKit cache in the past.
 
Old 11-18-2022, 03:35 PM   #7
terry-duell
Member
 
Registered: Jan 2007
Location: Melbourne, Australia
Distribution: Fedora 38 x86_64
Posts: 539

Original Poster
Rep: Reputation: 59
Quote:
Originally Posted by syg00 View Post
IT might be that boot partition (not the EFI) - fedora used to use that as "work space". If it's just part of the root, the problem goes away.
40G should be plenty - have a look at ncdu so you can drill down on the biggest users. I've had major issues with the PackageKit cache in the past.
If I look at the disk partitioning, /boot is mounted as /dev/sda1, and / is mounted as /dev/sda2, /home is mounted as /dev/sda5

I see that /var/cache/PackageKit has about 740MB, not really enough if you believe what the upgrade has been telling me.
I'm not sure if I use PackageKit, I always use dnf, but not sure if PackageKit is used in the background. Can that cache be cleaned out?
Are there other caches, or similar stuff in / that can be safely deleted?
No man entry for ncdu, so probably not on my system.
Good to know your biggest users but how to know that they can be deleted to make space?

Cheers,
Terry
 
Old 11-18-2022, 09:27 PM   #8
terry-duell
Member
 
Registered: Jan 2007
Location: Melbourne, Australia
Distribution: Fedora 38 x86_64
Posts: 539

Original Poster
Rep: Reputation: 59
Quote:
Originally Posted by jefro View Post
Thinking out loud here.

Wonder if booting to DVD the upgrade may help? On some distro they had a way to sort of easy update.
Just to follow up on the above suggestion.
Is there a way of getting an ISO image of the upgrade for my machine? And how would one then upgrade from that?
I always assumed that an ISO would be the 'standard' distro, and then it would be a clean install, whereas I have a lot of additional stuff on my machine to build various FOSS packages, and I can imagine a lot of work to then be sure I've got it all set up as it was.

Cheers,
Terry
 
Old 11-20-2022, 09:13 AM   #9
biker_rat
Member
 
Registered: Feb 2010
Posts: 373

Rep: Reputation: 220Reputation: 220Reputation: 220
is /tmp mounted on tempfs? if so this might be the limitation biting you.
 
Old 11-20-2022, 03:25 PM   #10
terry-duell
Member
 
Registered: Jan 2007
Location: Melbourne, Australia
Distribution: Fedora 38 x86_64
Posts: 539

Original Poster
Rep: Reputation: 59
Quote:
Originally Posted by biker_rat View Post
is /tmp mounted on tempfs? if so this might be the limitation biting you.
I don't think so.
The problem has been solved...or at least gone away until next upgrade.
I've successfully upgraded to 37, I found the space needed by temporarily moving the contents of /var/cache to another disk.
So it's greatcoats off, at least until I need any help making a long term fix.

Cheers,
Terry
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Buttons not big enough for labels; java windows not big enough for contents Doug Hutcheson Linux - Software 2 05-27-2016 06:33 PM
user need to increase space to run a program its showing not enough space svani Red Hat 4 04-16-2010 04:04 AM
not enough space in / partition to upgrade ashwin_cse Fedora - Installation 2 10-30-2004 12:24 PM
Not enough free space on hard drive with 50g of free space??? auoq SUSE / openSUSE 5 10-13-2004 08:21 PM
Not enough space for root directory on a drive with 50g free space??? auoq Linux - Newbie 1 10-13-2004 12:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 05:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration