On Thu, May 2, 2024 at 11:47 AM John Pilkington <johnpilk...@gmail.com>
wrote:

> On 01/05/2024 15:51, Felix Miata wrote:
> > John Pilkington composed on 2024-05-01 09:31 (UTC+0100):
> >
> >> I'm not aware of any snapshots, and suspect that Felix has a quicker way
> >> of finding the relevant 'freespace' than waiting for dnf's version to
> >> appear.  Perhaps it's shown during the 'rpm --force' installs?  I have
> >> around 3400 packages.
> >
> > Math is required. Unless your packages cache is elsewhere than on an
> extX /
> > filesystem, do:
> >
> >       df /
> >
> > Did it yet increase by as much as the amount of additional freespace
> required that
> > dnf system-upgrade first reported? If no, upgrade and remove another
> large rpm
> > from the filesystem, and check again. Repeat until the number has become
> large
> > enough. This only works as intended with a real remove, not with some
> file manager
> > that moves to trash instead of actually removing. I use only mc or fcl
> or various
> > cmdline utils for file management, never Dolphin or Thunar or any other
> GUI file
> > manager.
> >
> > Also, if you added kernel* to dnf.conf skip list, you can remove it from
> the
> > cache. DNF pretends everything in the skip list does not exist. The 5
> raw 6.8.7 or
> > 6.8.5 rpms are well upwards of 100MB. When time comes that upgrade has
> otherwise
> > completed, kernel* must be removed from the skip list to allow dnf to
> upgrade to
> > the current kernel.
>
> Thank you for this, and for earlier posts that I found elsewhere.  The
> system is now updated to f40 and seems to be running well.  I didn't
> have to use rpm installs from the cache in /var/lib/dnf/system-update.
>
> I think the effective change was to add
>
> "exclude kernel* linux-firmware* java*  libreoffice* "
>
> to /etc/dnf/dnf.conf, before repeating everything from the preliminary
>
> "sudo dnf upgrade--refresh" and applying "--allowerasing --skip-broken"
> in the download.
>
> I suppose a "sudo dnf clean all" had helped too: 88 files removed.
> After the download KDiskFree reported 3.9 GB free in /, and dnf said
> that was the total package size.  "df / " said 4093160 blocks.  After
> the reboot I removed the excludes, ran dnf upgrade again, and installed
> locally built MythTV rpms.
>
> That's an account of what I did.  I'm afraid it comes with no guarantees.
>

For completeness, there are several post-upgrade tasks you could perform to
ensure the system is tidy. See <
https://docs.fedoraproject.org/en-US/quick-docs/upgrading-fedora-offline/#sect-optional-post-upgrade-tasks
>.

Jeff
--
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to