Unable to run dnf update. Error downloading metadata, "Curl Error"

Hi there,

I am trying to run dnf update although I get a strange error.

I am running the following specs:

[isaiah@fedora ~]$ neofetch
             .',;::::;,'.                isaiah@fedora 
         .';:cccccccccccc:;,.            ------------- 
      .;cccccccccccccccccccccc;.         OS: Fedora Linux 36 (Workstation Edition) x86_64 
    .:cccccccccccccccccccccccccc:.       Kernel: 5.18.9-200.fc36.x86_64 
  .;ccccccccccccc;.:dddl:.;ccccccc;.     Uptime: 2 hours, 2 mins 
 .:ccccccccccccc;OWMKOOXMWd;ccccccc:.    Packages: 2501 (rpm), 35 (flatpak) 
.:ccccccccccccc;KMMc;cc;xMMc:ccccccc:.   Shell: bash 5.1.16 
,cccccccccccccc;MMM.;cc;;WW::cccccccc,   Resolution: 2560x1440 
:cccccccccccccc;MMM.;cccccccccccccccc:   DE: GNOME 42.2 
:ccccccc;oxOOOo;MMM0OOk.;cccccccccccc:   WM: Mutter 
cccccc:0MMKxdd:;MMMkddc.;cccccccccccc;   WM Theme: Adwaita 
ccccc:XM0';cccc;MMM.;cccccccccccccccc'   Theme: Adwaita [GTK2/3] 
ccccc;MMo;ccccc;MMW.;ccccccccccccccc;    Icons: Adwaita [GTK2/3] 
ccccc;0MNc.ccc.xMMd:ccccccccccccccc;     Terminal: gnome-terminal 
cccccc;dNMWXXXWM0::cccccccccccccc:,      CPU: Intel i5-3570K (4) @ 3.800GHz 
cccccccc;.:odl:.;cccccccccccccc:,.       GPU: AMD ATI Radeon RX 470/480/570/570X/580/580X/590 
:cccccccccccccccccccccccccccc:'.         Memory: 5083MiB / 15703MiB 
.:cccccccccccccccccccccc:;,..
  '::cccccccccccccc::;,.                                         
                                                                 


[isaiah@fedora ~]$ 

The error is as follows

[root@fedora isaiah]# dnf upgrade
Fedora 36 - x86_64 - Updates                    1.9 kB/s | 4.4 kB     00:02    
Fedora 36 - x86_64 - Updates                                                                                                                                                      872 kB/s | 1.9 MB     00:02    
Errors during downloading metadata for repository 'updates':
  - Curl error (23): Failed writing received data to disk/application for http://ftp.iinet.net.au/pub/fedora/linux/updates/36/Everything/x86_64/repodata/464183feabc398264bec1648fedbf759e081eda7a88d97eb81e0d04b9aff0311-primary.xml.zck [Failure writing output to destination]
  - Curl error (23): Failed writing received data to disk/application for http://ftp.iinet.net.au/pub/fedora/linux/updates/36/Everything/x86_64/repodata/424dbc1cc19537989fcdcb86d8d7b67080a97ed0c0a65eb62da88b9560422740-filelists.xml.zck [Failure writing output to destination]
Error: Failed to download metadata for repo 'updates': Yum repo downloading error: Downloading error(s): repodata/464183feabc398264bec1648fedbf759e081eda7a88d97eb81e0d04b9aff0311-primary.xml.zck - Download failed: Curl error (23): Failed writing received data to disk/application for http://ftp.iinet.net.au/pub/fedora/linux/updates/36/Everything/x86_64/repodata/464183feabc398264bec1648fedbf759e081eda7a88d97eb81e0d04b9aff0311-primary.xml.zck [Failure writing output to destination]; repodata/424dbc1cc19537989fcdcb86d8d7b67080a97ed0c0a65eb62da88b9560422740-filelists.xml.zck - Download failed: Curl error (23): Failed writing received data to disk/application for http://ftp.iinet.net.au/pub/fedora/linux/updates/36/Everything/x86_64/repodata/424dbc1cc19537989fcdcb86d8d7b67080a97ed0c0a65eb62da88b9560422740-filelists.xml.zck [Failure writing output to destination]
[root@fedora isaiah]# 

Is this due to my mirror settings ? , I modified the dnf settings to set to “Fastest Mirror”, perhaps I need to change it back.

If activation of fastestmirror is done by adding fastestmirror=1 to /etc/dnf/dnf.conf, it works on my system.

The URL mentioned in the error message works.
The “disk/application” error message originates from libcurl and has no relation with the real destination.

Trivial cause could be a disk full situation, but this gives another error message. No idea for the moment…

2 Likes

Yes thats the same setting as mine.

May I ask are you running Gnome Fedora 36?

1 Like

This indicates issues with your system. Do you have enough space? Are the permissions of the /var/cache directories correct?

Hi @ankursinha

Thanks so much for your message. Recently I ran dnf autoremove perhaps this removed something critical from the system?

Permission should be read & write I gather for that directory

[isaiah@fedora desktop-integration]$ ls -l /var/cache
total 0
drwxrwxr-x. 1 abrt   abrt     40 Mar 22 17:07 abrt-di
drwxr-xr-x. 1 root   root     32 Feb 24 02:13 app-info
drwxr-xr-x. 1 root   root      0 Jan 20 14:04 bpf
drwxrwx---. 1 root   lp      148 Jul  4 22:30 cups
drwxr-xr-x. 1 root   root   4182 Jul  5 20:22 dnf
drwxr-xr-x. 1 root   root     74 Jul  4 14:22 fwupd
drwx------. 1 apache apache   10 Jun 17 21:11 httpd
drwxr-xr-x. 1 root   root      6 Jun 11 22:42 ibus
drwxr-xr-x. 1 root   root      0 Jun  9 19:03 krb5rcache
drwx------. 1 root   root     18 Jul  4 22:30 ldconfig
drwx--x--x. 1 root   root      8 Mar 13 12:16 libvirt
drwxr-xr-x. 1 root   root     14 Jan 21 03:55 libX11
drwxr-xr-x. 1 root   root    236 Jul  5 16:45 man
drwxr-xr-x. 1 root   root      4 Apr 22 04:36 PackageKit
drwx------. 1 root   root      0 Mar 22 17:05 private
drwxr-xr-x. 1 root   root      0 Jan 22 05:12 realmd
drwxr-xr-x. 1 root   root     10 Apr 22 05:01 swcatalog

I have checked the system and it appears drive space is okay I think.

[isaiah@fedora desktop-integration]$ lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
sda      8:0    0 232.9G  0 disk 
├─sda1   8:1    0   600M  0 part 
├─sda2   8:2    0     1G  0 part 
└─sda3   8:3    0 231.3G  0 part 
sdb      8:16   0   2.7T  0 disk 
└─sdb1   8:17   0   2.7T  0 part 
sdc      8:32   0 223.6G  0 disk 
├─sdc1   8:33   0   600M  0 part /boot/efi
├─sdc2   8:34   0     1G  0 part /boot
└─sdc3   8:35   0   222G  0 part /home
                                 /
sdd      8:48   1     0B  0 disk 
sr0     11:0    1  1024M  0 rom  
zram0  252:0    0     8G  0 disk [SWAP]
[isaiah@fedora desktop-integration]$ 

1 Like

That’s unlikely.

I don’t quite know how to read this. What is the size of /, under which /var resides? If you are on Gnome, could you please use the disk usage analyzer tool to check sizes and free space?

While we’re at it, could you also please check your journal?

https://docs.fedoraproject.org/en-US/quick-docs/viewing-logs/

2 Likes

IME the easiest way to check for free space is to use df.
If / or /var is nearly full you could probably free up some space by using dnf clean all then retry the update.

Having /home on the same disk as / with btrfs means that if you download a lot you can easily fill up the drive with what you have in /home and take up the space needed for the OS. Btrfs shares space in the volume with all the subvolumes that exist there.

I see that you have a 3T drive as /dev/sdb but it does not appear to be mounted anywhere.

3 Likes

I don’t want to add misleading information, but I’m aware of issues with some internet providers and zchunck file format, often due to the use of some sort of (transparent) proxy.
You can find some old post about the issue I’m talking about here on Ask Fedora.

You could try to add
zchunk=false
to
/etc/dnf/dnf.conf

1 Like

okay so this is the disk usage analyser which includes the partitions (i mounted those so they are visible). As far as I can tell they seem okay.

This is the home partition folder:

I have exported a log file for the last 3 days as this is when it the problem started

Jul  4 22:30:24 systemd-journal: Journal stopped
Jul  4 22:30:24 kernel: Sending SIGTERM to remaining processes...
Jul  4 22:30:24 kernel: Syncing filesystems and block devices.
Jul  4 22:30:24 kernel: BPF prog-id=0 op=UNLOAD
Jul  4 22:30:24 systemd: Shutting down.
Jul  4 22:30:24 kernel: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-poweroff comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul  4 22:30:24 kernel: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-poweroff comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul  4 22:30:24 systemd: Finished systemd-poweroff.service - System Power Off.
Jul  4 22:30:24 kernel: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=lvm2-monitor comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul  4 22:30:24 systemd: Stopped lvm2-monitor.service - Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling.
Jul  4 22:30:24 kernel: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-tmpfiles-setup-dev comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul  4 22:30:24 systemd: Stopped systemd-tmpfiles-setup-dev.service - Create Static Device Nodes in /dev.
Jul  4 22:30:24 kernel: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-remount-fs comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul  4 22:30:24 systemd: Stopped systemd-remount-fs.service - Remount Root and Kernel File Systems.
Jul  4 22:30:24 kernel: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-fsck@dev-disk-by\x2duuid-5a22aa14\x2d0623\x2d446e\x2db3e1\x2d6304b882a226 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul  4 22:30:24 systemd: Stopped systemd-fsck@dev-disk-by\x2duuid-5a22aa14\x2d0623\x2d446e\x2db3e1\x2d6304b882a226.service - File System Check on /dev/disk/by-uuid/5a22aa14-0623-446e-b3e1-6304b882a226.
Jul  4 22:30:24 kernel: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-zram-setup@zram0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul  4 22:30:24 systemd: Stopped systemd-zram-setup@zram0.service - Create swap on /dev/zram0.
Jul  4 22:30:24 kernel: zram0: detected capacity change from 16777216 to 0
Jul  4 22:30:24 systemd: Stopping systemd-zram-setup@zram0.service - Create swap on /dev/zram0...
Jul  4 22:30:24 kernel: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-fsck@dev-disk-by\x2duuid-0436\x2dCF95 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul  4 22:30:24 systemd: Stopped systemd-fsck@dev-disk-by\x2duuid-0436\x2dCF95.service - File System Check on /dev/disk/by-uuid/0436-CF95.
Jul  4 22:30:24 kernel: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=import-state comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul  4 22:30:24 systemd: Stopped import-state.service - Import network configuration from initramfs.
Jul  4 22:30:24 kernel: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-tmpfiles-setup comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul  4 22:30:24 systemd: Stopped systemd-tmpfiles-setup.service - Create Volatile Files and Directories.
Jul  4 22:30:24 kernel: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-update-utmp comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul  4 22:30:24 systemd: Stopped systemd-update-utmp.service - Record System Boot/Shutdown in UTMP.
Jul  4 22:30:24 kernel: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-binfmt comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul  4 22:30:24 systemd: Stopped systemd-binfmt.service - Set Up Additional Binary Formats.
Jul  4 22:30:24 kernel: SYSTEM_SHUTDOWN pid=11470 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg=' comm="systemd-update-utmp" exe="/usr/lib/systemd/systemd-update-utmp" hostname=? addr=? terminal=? res=success'
Jul  4 22:30:24 systemd: systemd-binfmt.service: Deactivated successfully.
Jul  4 22:30:24 kernel: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-modules-load comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul  4 22:30:24 systemd: Stopped systemd-modules-load.service - Load Kernel Modules.
Jul  4 22:30:24 kernel: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-sysctl comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul  4 22:30:24 systemd: Stopped systemd-sysctl.service - Apply Kernel Variables.
Jul  4 22:30:24 kernel: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-boot-update comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul  4 22:30:24 systemd: Stopped systemd-boot-update.service - Automatic Boot Loader Update.
Jul  4 22:30:24 kernel: BPF prog-id=0 op=UNLOAD
Jul  4 22:30:24 systemd: dbus.socket: Deactivated successfully.
Jul  4 22:30:24 kernel: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=dbus-broker comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul  4 22:30:24 systemd: Stopped dbus-broker.service - D-Bus System Message Bus.
Jul  4 22:30:24 dbus-broker: Dispatched 8471 messages @ 4(±9)μs / message.
Jul  4 22:30:24 systemd: Stopped target network-pre.target - Preparation for Network.
Jul  4 22:30:24 kernel: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=NetworkManager comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul  4 22:30:24 systemd: Stopped NetworkManager.service - Network Manager.
Jul  4 22:30:24 NetworkManager: <info>  [1656937824.4946] exiting (success)
Jul  4 22:30:24 kernel: BPF prog-id=0 op=UNLOAD
Jul  4 22:30:24 systemd: plymouth-switch-root-initramfs.service - Tell Plymouth To Jump To initramfs was skipped because of a failed condition check (ConditionPathExists=/run/initramfs/bin/sh).
Jul  4 22:30:24 kernel: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-resolved comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul  4 22:30:24 systemd: Stopped systemd-resolved.service - Network Name Resolution.
Jul  4 22:30:24 NetworkManager: <info>  [1656937824.4835] device (wlp6s0): set-hw-addr: reset MAC address to 04:ED:33:C3:BE:82 (unmanage)
Jul  4 22:30:24 systemd: systemd-resolved.service: Deactivated successfully.
Jul  4 22:30:24 kernel: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=plymouth-poweroff comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul  4 22:30:24 systemd: Started plymouth-poweroff.service - Show Plymouth Power Off Screen.
Jul  4 22:30:24 NetworkManager: <info>  [1656937824.4739] caught SIGTERM, shutting down normally.
Jul  4 22:30:24 systemd: Stopping NetworkManager.service - Network Manager...
Jul  4 22:30:24 kernel: BPF prog-id=0 op=UNLOAD
Jul  4 22:30:24 kernel: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-random-seed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul  4 22:30:24 systemd: Stopped systemd-random-seed.service - Load/Save Random Seed.
Jul  4 22:30:24 kernel: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=dracut-shutdown comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul  4 22:30:24 systemd: Stopped dracut-shutdown.service - Restore /run/initramfs on shutdown.
Jul  4 22:30:24 kernel: audit: type=1131 audit(1656937824.433:196): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=alsa-state comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul  4 22:30:24 systemd: dracut-shutdown.service: Deactivated successfully.
Jul  4 22:30:24 kernel: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=alsa-state comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul  4 22:30:24 systemd: Stopped alsa-state.service - Manage Sound Card State (restore and store).
Jul  4 22:30:24 kernel: audit: type=1131 audit(1656937824.423:195): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-logind comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul  4 22:30:24 kernel: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-logind comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul  4 22:30:24 systemd: Stopped systemd-logind.service - User Login Management.
Jul  4 22:30:24 kernel: audit: type=1131 audit(1656937824.412:194): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=avahi-daemon comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul  4 22:30:24 systemd: systemd-logind.service: Deactivated successfully.
Jul  4 22:30:24 kernel: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=avahi-daemon comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul  4 22:30:24 systemd: Stopped avahi-daemon.service - Avahi mDNS/DNS-SD Stack.
Jul  4 22:30:24 kernel: audit: type=1131 audit(1656937824.407:193): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=colord comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul  4 22:30:24 kernel: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=colord comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul  4 22:30:24 systemd: Stopped colord.service - Manage, Install and Generate Color Profiles.
Jul  4 22:30:24 kernel: alsactl daemon stopped
Jul  4 22:30:24 kernel: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=cups comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul  4 22:30:24 kernel: audit: type=1131 audit(1656937824.400:192): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=cups comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul  4 22:30:24 kernel: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=polkit comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul  4 22:30:24 kernel: audit: type=1131 audit(1656937824.392:191): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=polkit comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul  4 22:30:24 systemd: Stopped NetworkManager-wait-online.service - Network Manager Wait Online.
Jul  4 22:30:24 avahi-daemon: avahi-daemon 0.8 exiting.
Jul  4 22:30:24 systemd: NetworkManager-wait-online.service: Deactivated successfully.
Jul  4 22:30:24 avahi-daemon: Leaving mDNS multicast group on interface lo.IPv4 with address 127.0.0.1.
Jul  4 22:30:24 systemd: Closed systemd-rfkill.socket - Load/Save RF Kill Switch Status /dev/rfkill Watch.
Jul  4 22:30:24 avahi-daemon: Leaving mDNS multicast group on interface lo.IPv6 with address ::1.
Jul  4 22:30:24 systemd: systemd-rfkill.socket: Deactivated successfully.
Jul  4 22:30:24 avahi-daemon: Leaving mDNS multicast group on interface enp3s0.IPv4 with address 192.168.1.35.
Jul  4 22:30:24 systemd: Closed lvm2-lvmpolld.socket - LVM2 poll daemon socket.
Jul  4 22:30:24 avahi-daemon: Leaving mDNS multicast group on interface enp3s0.IPv6 with address fe80::58d7:9bcc:38f9:cb01.
Jul  4 22:30:24 kernel: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=packagekit comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul  4 22:30:24 kernel: audit: type=1131 audit(1656937824.384:190): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=packagekit comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul  4 22:30:24 systemd: lvm2-lvmpolld.socket: Deactivated successfully.
Jul  4 22:30:24 avahi-daemon: Got SIGTERM, quitting.
Jul  4 22:30:24 systemd: Stopped target sound.target - Sound Card.
Jul  4 22:30:24 kernel: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=NetworkManager-wait-online comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul  4 22:30:24 kernel: audit: type=1131 audit(1656937824.365:189): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=NetworkManager-wait-online comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul  4 22:30:24 systemd: Stopped target printer.target - Printer Support.
Jul  4 22:30:24 kernel: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=packagekit-offline-update comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul  4 22:30:24 kernel: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=packagekit-offline-update comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul  4 22:30:24 kernel: audit: type=1131 audit(1656937824.313:188): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=packagekit-offline-update comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul  4 22:30:24 systemd: packagekit-offline-update.service: Deactivated successfully.
Jul  4 22:30:24 pk-offline-upda: sent msg to plymouth 'Shutting down after installing updates…'
Jul  4 22:30:24 packagekitd: update-packages transaction /10069_babbbcaa from uid 0 finished with success after 76979ms
Jul  4 22:30:24 pk-offline-upda: status finished
Jul  4 22:30:24 packagekitd: in /10069_babbbcaa for update-packages package kernel-core;5.18.9-200.fc36;x86_64;updates was installing for uid 0
Jul  4 22:30:24 pk-offline-upda: sent msg to plymouth 'Installing Updates - 100%'
Jul  4 22:30:22 cat: *** Creating initramfs image file '/boot/initramfs-5.18.9-200.fc36.x86_64.img' done ***
Jul  4 22:29:57 kernel: dracut-056-1.fc36
Jul  4 22:29:48 pk-offline-upda: sent msg to plymouth 'Installing Updates - 97%'
Jul  4 22:29:36 kernel: audit: type=1334 audit(1656937776.982:186): prog-id=0 op=UNLOAD
Jul  4 22:29:36 kernel: BPF prog-id=0 op=UNLOAD
Jul  4 22:29:36 kernel: audit: type=1131 audit(1656937776.949:184): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul  4 22:29:36 kernel: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul  4 22:29:36 systemd: systemd-hostnamed.service: Deactivated successfully.
Jul  4 22:29:34 pk-offline-upda: sent msg to plymouth 'Installing Updates - 69%'
Jul  4 22:29:25 kernel: audit: type=1131 audit(1656937765.108:183): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul  4 22:29:25 kernel: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul  4 22:29:25 systemd: NetworkManager-dispatcher.service: Deactivated successfully.
Jul  4 22:29:18 pk-offline-upda: sent msg to plymouth 'Installing Updates - 43%'
Jul  4 22:29:15 NetworkManager: <info>  [1656937755.0839] manager: NetworkManager state is now CONNECTED_GLOBAL
Jul  4 22:29:14 pk-offline-upda: sent msg to plymouth 'Installing Updates - 28%'
Jul  4 22:29:14 systemd: iscsi.service: Unit cannot be reloaded because it is inactive.
Jul  4 22:29:14 kernel: audit: type=1130 audit(1656937754.452:182): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=NetworkManager-wait-online comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul  4 22:29:14 kernel: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=NetworkManager-wait-online comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul  4 22:29:14 systemd: Reached target network-online.target - Network is Online.
Jul  4 22:29:14 systemd-resolve: enp3s0: Bus client set DNS server list to: 192.168.1.1
Jul  4 22:29:14 NetworkManager: <info>  [1656937754.4457] manager: startup complete
Jul  4 22:29:14 avahi-daemon: Registering new address record for 192.168.1.35 on enp3s0.IPv4.
Jul  4 22:29:14 NetworkManager: <info>  [1656937754.4440] device (enp3s0): state change: secondaries -> activated (reason 'none', sys-iface-state: 'managed')
Jul  4 22:29:14 avahi-daemon: New relevant interface enp3s0.IPv4 for mDNS.
Jul  4 22:29:14 NetworkManager: <info>  [1656937754.4437] device (enp3s0): state change: ip-check -> secondaries (reason 'none', sys-iface-state: 'managed')
Jul  4 22:29:14 avahi-daemon: Joining mDNS multicast group on interface enp3s0.IPv4 with address 192.168.1.35.
Jul  4 22:29:14 NetworkManager: <info>  [1656937754.4417] device (enp3s0): state change: ip-config -> ip-check (reason 'none', sys-iface-state: 'managed')
Jul  4 22:29:14 pk-offline-upda: package installing	kernel-core-5.18.9-200.fc36.x86_64 (updates)
Jul  4 22:29:13 NetworkManager: <info>  [1656937753.2994] dhcp6 (enp3s0): activation: beginning transaction (timeout in 45 seconds)
Jul  4 22:29:12 avahi-daemon: Server startup complete. Host name is fedora.local. Local service cookie is 257908804.
Jul  4 22:29:12 kernel: audit: type=1131 audit(1656937752.662:181): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=configure-printer@usb-003-002 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul  4 22:29:12 kernel: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=configure-printer@usb-003-002 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul  4 22:29:12 systemd: configure-printer@usb-003-002.service: Deactivated successfully.
Jul  4 22:29:12 udev-configure-: Queue ipp://localhost/printers/MFC7362N has matching device URI
Jul  4 22:29:12 cupsd: REQUEST localhost - root "POST / HTTP/1.1" 200 1436 CUPS-Get-Devices -
Jul  4 22:29:12 pk-offline-upda: sent msg to plymouth 'Installing Updates - 26%'
Jul  4 22:29:12 kernel: audit: type=1130 audit(1656937752.152:180): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-resolved comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul  4 22:29:12 kernel: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-resolved comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul  4 22:29:12 systemd: Reached target nss-lookup.target - Host and Network Name Lookups.
Jul  4 22:29:12 systemd-resolve: Using system hostname 'fedora'.
Jul  4 22:29:12 avahi-daemon: Registering new address record for 127.0.0.1 on lo.IPv4.
Jul  4 22:29:12 kernel: audit: type=1130 audit(1656937752.005:179): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=avahi-daemon comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul  4 22:29:12 avahi-daemon: chroot.c: open() failed: No such file or directory
Jul  4 22:29:12 kernel: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=avahi-daemon comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul  4 22:29:12 systemd: Started avahi-daemon.service - Avahi mDNS/DNS-SD Stack.
Jul  4 22:29:12 avahi-daemon: avahi-daemon 0.8 starting up.
Jul  4 22:29:11 systemd: Starting systemd-resolved.service - Network Name Resolution...
Jul  4 22:29:11 kernel: audit: type=1334 audit(1656937751.997:178): prog-id=66 op=LOAD
Jul  4 22:29:11 kernel: BPF prog-id=66 op=LOAD
Jul  4 22:29:11 systemd: Starting avahi-daemon.service - Avahi mDNS/DNS-SD Stack...
Jul  4 22:29:11 kernel: usblp 3-2:1.0: usblp0: USB Bidirectional printer dev 2 if 0 alt 0 proto 2 vid 0x04F9 pid 0x028B

the command dnf clean all seemed to fix the issue. Thanks a lot, i didn’t know that command. I will save that one. So I assume dnf clean all actually clears out the old metadata.

I ran dnf clean all and it mentioned 126 files/folders cleared. Seems like a lot.

I can now run dnf update again, thanks so much for taking the time to help.:slight_smile:

I think its solved but if it comes back can we leave this chat open a few more days just in case,

Also, yes I dont have my /home folder on a seperate disk to / as I unsure how to seperate the home folder in the correct way. I have a new 3TB HDD which I want to utilise as the /home but not sure on the right procedure

1 Like

Looking at what was posted the image does not show any content for /home nor does it actually show that /home is mounted.

Also I just remembered something else that can easily be a factor. When you use the file manager and delete files they are not actually deleted. The deleted files are actually moved into a trash folder and do not free up the space until you open the trash folder and tell it to empty the trash. Thus a user may have deleted a lot of files without actually freeing up the space used.

What shows in the usage analyzer as 20 GB for fedora does not account for anything in /home since it does not appear anywhere, and the analyzer AFAIK ignores the trash bin as well.

Would you please post the output of the df command when booted normally so we can see the actual used space in all mounted file systems.

Hi there,

Thanks, yes thats a good point, . Please see the disc free space below.

[isaiah@fedora ~]$ df
Filesystem      1K-blocks      Used  Available Use% Mounted on
devtmpfs             4096         0       4096   0% /dev
tmpfs             8040088     47892    7992196   1% /dev/shm
tmpfs             3216036      2120    3213916   1% /run
/dev/sdc3       232766464 145931036   86436276  63% /
tmpfs             8040092    114216    7925876   2% /tmp
/dev/sdc3       232766464 145931036   86436276  63% /home
/dev/sdc2          996780    311776     616192  34% /boot
/dev/sdc1          613160     14332     598828   3% /boot/efi
tmpfs             1608016      1268    1606748   1% /run/user/1000
pCloud.fs       524288000 107270436  417017564  21% /home/isaiah/pCloudDrive
/dev/sda2          996780    167484     760484  19% /run/media/isaiah/49d21f5c-ea71-480f-b82a-aaa6be13e75e
/dev/sda3       242534400   3468772  237315932   2% /run/media/isaiah/fedora_localhost-live
/dev/sdb1      2930256896 997562696 1932635544  35% /run/media/isaiah/3TB WD Red
[isaiah@fedora ~]$

Be aware that it is a BTRFS system and / and /home are subvolumes in /dev/sdc3. So they share the same amount of free/used space and give this special “lsblk” output.

Concerning the log: may be /var/log/dnf.log or especially /var/log/dnf.librepo.log can give a clue what was the problem.

2 Likes

As mentioned by @hmmsjan users need to be aware of the fact that btrfs systems share space between / and /home by default. To avoid this potential conflict I always ensure my /home is in a different partition than / and if possible even on a different device so it never shares or consumes space needed by the system.

While I do not use btrfs for my main system, I do use separate root volumes each containing one subvolume for / and /home on my VM where I am testing btrfs in fedora. This prevents having the space shared between /home and / and thus avoids inadvertently consuming all the needed space for the system files.

It would seem prudent for a user with a large drive such as you have with /dev/sdb to relocate /home from the system drive to the separate drive and free up space on the system drive.

1 Like

OT
Let’s highlight that this is your point of view. :slight_smile:
In my experience, it happened many times that having / and /home in different partitions, like it was the Fedora Linux default partitioning until some releases ago, had lead in many occasions to a bunch of free space in my home while the / partition was out of space.

Of course. :laughing:

Sharing a btrfs volume as the OP does (and as is default for fedora) can lead to the same situation, especially with the common 250GB SSDs in laptops today. Thus the size of the available partition and the amount of data in it (from whatever source) is always a factor to be aware of and avoid the problem noted in this thread.

I use LVM with a larger drive and keep some unused space in the VG to manage the issue you noted.

1 Like