When I attempt an elevated apt update I am getting the following errors:
Get:1 http://security.ubuntu.com/ubuntu noble-security InRelease [126 kB]
Err:1 http://security.ubuntu.com/ubuntu noble-security InRelease
Error writing to file - write (28: No space left on device) [IP: 185.125.190.82 80]
Get:4 http://mt.archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]
Err:4 http://mt.archive.ubuntu.com/ubuntu noble-updates InRelease
Error writing to file - write (28: No space left on device) [IP: 193.206.214.14 80]
Get:5 http://mt.archive.ubuntu.com/ubuntu noble-backports InRelease [126 kB]
Err:5 http://mt.archive.ubuntu.com/ubuntu noble-backports InRelease
Error writing to file - write (28: No space left on device) [IP: 193.206.214.14 80]
Get:6 https://esm.ubuntu.com/apps/ubuntu noble-apps-security InRelease [7,595 B]
Err:6 https://esm.ubuntu.com/apps/ubuntu noble-apps-security InRelease
Error writing to file - write (28: No space left on device) [IP: 91.189.91.47 443]
Get:7 https://esm.ubuntu.com/apps/ubuntu noble-apps-updates InRelease [7,480 B]
Err:7 https://esm.ubuntu.com/apps/ubuntu noble-apps-updates InRelease
Error writing to file - write (28: No space left on device) [IP: 91.189.91.47 443]
Get:8 https://esm.ubuntu.com/infra/ubuntu noble-infra-security InRelease [7,474 B]
Err:8 https://esm.ubuntu.com/infra/ubuntu noble-infra-security InRelease
Error writing to file - write (28: No space left on device) [IP: 91.189.91.47 443]
Get:9 https://esm.ubuntu.com/infra/ubuntu noble-infra-updates InRelease [7,473 B]
Err:9 https://esm.ubuntu.com/infra/ubuntu noble-infra-updates InRelease
Error writing to file - write (28: No space left on device) [IP: 91.189.91.47 443]
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
5 packages can be upgraded. Run 'apt list --upgradable' to see them.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://mt.archive.ubuntu.com/ubuntu noble InRelease: Splitting up /var/lib/apt/lists/mt.archive.ubuntu.com_ubuntu_dists_noble_InRelease into data and signature failed
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://downloads.plex.tv/repo/deb public InRelease: Splitting up /var/lib/apt/lists/downloads.plex.tv_repo_deb_dists_public_InRelease into data and signature failed
W: Failed to fetch https://downloads.plex.tv/repo/deb/dists/public/InRelease Splitting up /var/lib/apt/lists/downloads.plex.tv_repo_deb_dists_public_InRelease into data and signature failed
W: Failed to fetch https://esm.ubuntu.com/apps/ubuntu/dists/noble-apps-security/InRelease Error writing to file - write (28: No space left on device) [IP: 91.189.91.47 443]
W: Failed to fetch https://esm.ubuntu.com/apps/ubuntu/dists/noble-apps-updates/InRelease Error writing to file - write (28: No space left on device) [IP: 91.189.91.47 443]
W: Failed to fetch https://esm.ubuntu.com/infra/ubuntu/dists/noble-infra-security/InRelease Error writing to file - write (28: No space left on device) [IP: 91.189.91.47 443]
W: Failed to fetch https://esm.ubuntu.com/infra/ubuntu/dists/noble-infra-updates/InRelease Error writing to file - write (28: No space left on device) [IP: 91.189.91.47 443]
W: Failed to fetch http://mt.archive.ubuntu.com/ubuntu/dists/noble/InRelease Splitting up /var/lib/apt/lists/mt.archive.ubuntu.com_ubuntu_dists_noble_InRelease into data and signature failed
W: Failed to fetch http://mt.archive.ubuntu.com/ubuntu/dists/noble-updates/InRelease Error writing to file - write (28: No space left on device) [IP: 193.206.214.14 80]
W: Failed to fetch http://mt.archive.ubuntu.com/ubuntu/dists/noble-backports/InRelease Error writing to file - write (28: No space left on device) [IP: 193.206.214.14 80]
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/noble-security/InRelease Error writing to file - write (28: No space left on device) [IP: 185.125.190.82 80]
W: Some index files failed to download. They have been ignored, or old ones used instead.
The IP addresses are not mine.
A df tells me that /dev/mapper/ubuntu--vg-ubuntu--lv 102626232 98428892 0 100% /
If this is the cause of the problem can I clear it to make more space? (will rm work?)
----------------- added information
The drive is 500G and the output of df -l is shown below:
hmeadmin@vm-plex:~$ df -l
Filesystem 1K-blocks Used Available Use% Mounted on
tmpfs 1637572 1060 1636512 1% /run
/dev/mapper/ubuntu--vg-ubuntu--lv 102626232 98436808 0 100% /
tmpfs 8187856 4 8187852 1% /dev/shm
tmpfs 5120 0 5120 0% /run/lock
/dev/sda2 1992552 189288 1682024 11% /boot
tmpfs 1637568 12 1637556 1% /run/user/1000
hmeadmin@vm-plex:~$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
loop0 7:0 0 11.5M 1 loop /snap/canonical-livepatch/316
loop1 7:1 0 73.9M 1 loop /snap/core22/1963
loop2 7:2 0 50.9M 1 loop /snap/snapd/24505
sda 8:0 0 500G 0 disk
├─sda1 8:1 0 1M 0 part
├─sda2 8:2 0 2G 0 part /boot
└─sda3 8:3 0 498G 0 part
└─ubuntu--vg-ubuntu--lv 252:0 0 100G 0 lvm /
sr0 11:0 1 3G 0 rom
hmeadmin@vm-plex:~$ sudo parted -l
[sudo] password for hmeadmin:
Model: QEMU QEMU HARDDISK (scsi)
Disk /dev/sda: 537GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 2097kB 1049kB bios_grub
2 2097kB 2150MB 2147MB ext4
3 2150MB 537GB 535GB
Model: Linux device-mapper (linear) (dm)
Disk /dev/mapper/ubuntu--vg-ubuntu--lv: 107GB
Sector size (logical/physical): 512B/512B
Partition Table: loop
Disk Flags:
Number Start End Size File system Flags
1 0.00B 107GB 107GB ext4
Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0
has been opened read-only.
Error: /dev/sr0: unrecognised disk label
Model: QEMU QEMU DVD-ROM (scsi)
Disk /dev/sr0: 3213MB
Sector size (logical/physical): 2048B/2048B
Partition Table: unknown
Disk Flags: