NEWS
apt full-upgrade Error
-
Hallo
Wollte eben eine VM (100 GB Disk) updaten, bekomm aber die Meldung dass zuwenig Speicher frei ist.
nega@ubuntu:~$ sudo apt full-upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages were automatically installed and are no longer required: libfwupdplugin1 libxmlb1 linux-headers-5.4.0-139 linux-headers-5.4.0-139-generic linux-image-5.4.0-139-generic linux-modules-5.4.0-139-generic linux-modules-extra-5.4.0-139-generic Use 'sudo apt autoremove' to remove them. The following NEW packages will be installed: distro-info libatasmart4 libblockdev-crypto2 libblockdev-fs2 libblockdev-loop2 libblockdev-part-err2 libblockdev-part2 libblockdev-swap2 libblockdev-utils2 libblockdev2 libevdev2 libfwupdplugin5 libimobiledevice6 libjcat1 libmbim-glib4 libmbim-proxy libmm-glib0 libparted-fs-resize0 libplist3 libqmi-glib5 libqmi-proxy libudisks2-0 libupower-glib3 libusbmuxd6 libvolume-key1 libxmlb2 modemmanager udisks2 upower usb-modeswitch usb-modeswitch-data usbmuxd The following packages will be upgraded: alsa-ucm-conf apport apt apt-transport-https apt-utils base-files bind9-dnsutils bind9-host bind9-libs bolt cloud-init cloud-initramfs-copymods cloud-initramfs-dyn-netconf command-not-found distro-info-data friendly-recovery fwupd fwupd-signed grub-common grub-pc grub-pc-bin grub2-common initramfs-tools initramfs-tools-bin initramfs-tools-core isc-dhcp-client isc-dhcp-common kmod landscape-common libapt-pkg6.0 libasound2 libasound2-data libc-bin libc6 libefiboot1 libefivar1 libfwupd2 libfwupdplugin1 libglib2.0-0 libglib2.0-bin libglib2.0-data libkeyutils1 libkmod2 libnetplan0 libnl-3-200 libnl-genl-3-200 libparted2 libpci3 libprocps8 libtss2-esys0 libunwind8 libxmlb1 linux-base linux-firmware locales lshw lsof mongodb-org mongodb-org-mongos mongodb-org-server mongodb-org-shell mongodb-org-tools motd-news-config netplan.io open-iscsi open-vm-tools openssh-client openssh-server openssh-sftp-server overlayroot parted pciutils pollinate procps python-apt-common python3-apport python3-apt python3-commandnotfound python3-distupgrade python3-problem-report python3-software-properties python3-update-manager sbsigntool snapd software-properties-common sosreport tcpdump thermald ubuntu-advantage-tools ubuntu-keyring ubuntu-release-upgrader-core ufw unattended-upgrades update-manager-core update-notifier-common wget 96 upgraded, 32 newly installed, 0 to remove and 0 not upgraded. Need to get 289 MB of archives. After this operation, 203 MB of additional disk space will be used. E: You don't have enough free space in /var/cache/apt/archives/.Wie finde ich den freien Speicher raus?
Danke
@negalein sagte in apt full-upgrade Error:
sudo apt autoremove
um mal die überflüssigen Pakete zu entfernen
libfwupdplugin1 libxmlb1 linux-headers-5.4.0-139 linux-headers-5.4.0-139-generic linux-image-5.4.0-139-generic linux-modules-5.4.0-139-generic linux-modules-extra-5.4.0-139-generic@Negalein hast du die gelöscht?
-
@thomas-braun sagte in apt full-upgrade Error:
sudo du -a / | sort -n -r | head -n 20
nega@ubuntu:~$ sudo du -a / | sort -n -r | head -n 20 [sudo] password for nega: sort: write failed: /tmp/sortRETx9S: No space left on deviceOh, jetzt wird es wirklich eng, wenn so kleines Zeug nicht mehr geschrieben werden kann.
Vermutlich der apt cache voll.sudo apt clean -
Oh, jetzt wird es wirklich eng, wenn so kleines Zeug nicht mehr geschrieben werden kann.
Vermutlich der apt cache voll.sudo apt clean@thomas-braun sagte in apt full-upgrade Error:
sudo apt clean
das lief ohne Error.
Aber dann noch immer
sort: write failed: /tmp/sortlztpTO: No space left on device -
@thomas-braun sagte in apt full-upgrade Error:
sudo apt clean
das lief ohne Error.
Aber dann noch immer
sort: write failed: /tmp/sortlztpTO: No space left on devicedf -h -
@negalein sagte in apt full-upgrade Error:
sudo apt autoremove
um mal die überflüssigen Pakete zu entfernen
libfwupdplugin1 libxmlb1 linux-headers-5.4.0-139 linux-headers-5.4.0-139-generic linux-image-5.4.0-139-generic linux-modules-5.4.0-139-generic linux-modules-extra-5.4.0-139-generic@Negalein hast du die gelöscht?
@crunchip sagte in apt full-upgrade Error:
sudo apt autoremove
nega@ubuntu:~$ sudo apt autoremove Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be REMOVED: linux-headers-5.4.0-139 linux-headers-5.4.0-139-generic linux-image-5.4.0-139-generic linux-modules-5.4.0-139-generic linux-modules-extra-5.4.0-139-generic 0 upgraded, 0 newly installed, 5 to remove and 96 not upgraded. After this operation, 380 MB disk space will be freed. Do you want to continue? [Y/n] Y (Reading database ... 188197 files and directories currently installed.) Removing linux-headers-5.4.0-139-generic (5.4.0-139.156) ... Removing linux-headers-5.4.0-139 (5.4.0-139.156) ... Removing linux-modules-extra-5.4.0-139-generic (5.4.0-139.156) ... Removing linux-image-5.4.0-139-generic (5.4.0-139.156) ... /etc/kernel/postrm.d/initramfs-tools: update-initramfs: Deleting /boot/initrd.img-5.4.0-139-generic /etc/kernel/postrm.d/zz-update-grub: Sourcing file `/etc/default/grub' Sourcing file `/etc/default/grub.d/init-select.cfg' Generating grub configuration file ... Found linux image: /boot/vmlinuz-5.4.0-146-generic Found initrd image: /boot/initrd.img-5.4.0-146-generic Found linux image: /boot/vmlinuz-5.4.0-144-generic Found initrd image: /boot/initrd.img-5.4.0-144-generic Found linux image: /boot/vmlinuz-5.4.0-137-generic Found initrd image: /boot/initrd.img-5.4.0-137-generic done Removing linux-modules-5.4.0-139-generic (5.4.0-139.156) ... nega@ubuntu:~$@thomas-braun sagte in apt full-upgrade Error:
df -h
nega@ubuntu:~$ df -h Filesystem Size Used Avail Use% Mounted on udev 947M 0 947M 0% /dev tmpfs 199M 1016K 198M 1% /run /dev/mapper/ubuntu--vg-ubuntu--lv 8.8G 8.0G 362M 96% / tmpfs 992M 0 992M 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 992M 0 992M 0% /sys/fs/cgroup /dev/loop1 56M 56M 0 100% /snap/core18/2714 /dev/sda2 974M 306M 601M 34% /boot /dev/loop0 56M 56M 0 100% /snap/core18/2721 /dev/loop2 64M 64M 0 100% /snap/core20/1828 /dev/loop3 64M 64M 0 100% /snap/core20/1852 /dev/loop4 92M 92M 0 100% /snap/lxd/23991 /dev/loop5 92M 92M 0 100% /snap/lxd/24061 /dev/loop7 50M 50M 0 100% /snap/snapd/18596 /dev/loop6 50M 50M 0 100% /snap/snapd/18357 tmpfs 199M 0 199M 0% /run/user/1000 nega@ubuntu:~$ -
@crunchip sagte in apt full-upgrade Error:
sudo apt autoremove
nega@ubuntu:~$ sudo apt autoremove Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be REMOVED: linux-headers-5.4.0-139 linux-headers-5.4.0-139-generic linux-image-5.4.0-139-generic linux-modules-5.4.0-139-generic linux-modules-extra-5.4.0-139-generic 0 upgraded, 0 newly installed, 5 to remove and 96 not upgraded. After this operation, 380 MB disk space will be freed. Do you want to continue? [Y/n] Y (Reading database ... 188197 files and directories currently installed.) Removing linux-headers-5.4.0-139-generic (5.4.0-139.156) ... Removing linux-headers-5.4.0-139 (5.4.0-139.156) ... Removing linux-modules-extra-5.4.0-139-generic (5.4.0-139.156) ... Removing linux-image-5.4.0-139-generic (5.4.0-139.156) ... /etc/kernel/postrm.d/initramfs-tools: update-initramfs: Deleting /boot/initrd.img-5.4.0-139-generic /etc/kernel/postrm.d/zz-update-grub: Sourcing file `/etc/default/grub' Sourcing file `/etc/default/grub.d/init-select.cfg' Generating grub configuration file ... Found linux image: /boot/vmlinuz-5.4.0-146-generic Found initrd image: /boot/initrd.img-5.4.0-146-generic Found linux image: /boot/vmlinuz-5.4.0-144-generic Found initrd image: /boot/initrd.img-5.4.0-144-generic Found linux image: /boot/vmlinuz-5.4.0-137-generic Found initrd image: /boot/initrd.img-5.4.0-137-generic done Removing linux-modules-5.4.0-139-generic (5.4.0-139.156) ... nega@ubuntu:~$@thomas-braun sagte in apt full-upgrade Error:
df -h
nega@ubuntu:~$ df -h Filesystem Size Used Avail Use% Mounted on udev 947M 0 947M 0% /dev tmpfs 199M 1016K 198M 1% /run /dev/mapper/ubuntu--vg-ubuntu--lv 8.8G 8.0G 362M 96% / tmpfs 992M 0 992M 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 992M 0 992M 0% /sys/fs/cgroup /dev/loop1 56M 56M 0 100% /snap/core18/2714 /dev/sda2 974M 306M 601M 34% /boot /dev/loop0 56M 56M 0 100% /snap/core18/2721 /dev/loop2 64M 64M 0 100% /snap/core20/1828 /dev/loop3 64M 64M 0 100% /snap/core20/1852 /dev/loop4 92M 92M 0 100% /snap/lxd/23991 /dev/loop5 92M 92M 0 100% /snap/lxd/24061 /dev/loop7 50M 50M 0 100% /snap/snapd/18596 /dev/loop6 50M 50M 0 100% /snap/snapd/18357 tmpfs 199M 0 199M 0% /run/user/1000 nega@ubuntu:~$ -
@crunchip sagte in apt full-upgrade Error:
sudo apt autoremove
nega@ubuntu:~$ sudo apt autoremove Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be REMOVED: linux-headers-5.4.0-139 linux-headers-5.4.0-139-generic linux-image-5.4.0-139-generic linux-modules-5.4.0-139-generic linux-modules-extra-5.4.0-139-generic 0 upgraded, 0 newly installed, 5 to remove and 96 not upgraded. After this operation, 380 MB disk space will be freed. Do you want to continue? [Y/n] Y (Reading database ... 188197 files and directories currently installed.) Removing linux-headers-5.4.0-139-generic (5.4.0-139.156) ... Removing linux-headers-5.4.0-139 (5.4.0-139.156) ... Removing linux-modules-extra-5.4.0-139-generic (5.4.0-139.156) ... Removing linux-image-5.4.0-139-generic (5.4.0-139.156) ... /etc/kernel/postrm.d/initramfs-tools: update-initramfs: Deleting /boot/initrd.img-5.4.0-139-generic /etc/kernel/postrm.d/zz-update-grub: Sourcing file `/etc/default/grub' Sourcing file `/etc/default/grub.d/init-select.cfg' Generating grub configuration file ... Found linux image: /boot/vmlinuz-5.4.0-146-generic Found initrd image: /boot/initrd.img-5.4.0-146-generic Found linux image: /boot/vmlinuz-5.4.0-144-generic Found initrd image: /boot/initrd.img-5.4.0-144-generic Found linux image: /boot/vmlinuz-5.4.0-137-generic Found initrd image: /boot/initrd.img-5.4.0-137-generic done Removing linux-modules-5.4.0-139-generic (5.4.0-139.156) ... nega@ubuntu:~$@thomas-braun sagte in apt full-upgrade Error:
df -h
nega@ubuntu:~$ df -h Filesystem Size Used Avail Use% Mounted on udev 947M 0 947M 0% /dev tmpfs 199M 1016K 198M 1% /run /dev/mapper/ubuntu--vg-ubuntu--lv 8.8G 8.0G 362M 96% / tmpfs 992M 0 992M 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 992M 0 992M 0% /sys/fs/cgroup /dev/loop1 56M 56M 0 100% /snap/core18/2714 /dev/sda2 974M 306M 601M 34% /boot /dev/loop0 56M 56M 0 100% /snap/core18/2721 /dev/loop2 64M 64M 0 100% /snap/core20/1828 /dev/loop3 64M 64M 0 100% /snap/core20/1852 /dev/loop4 92M 92M 0 100% /snap/lxd/23991 /dev/loop5 92M 92M 0 100% /snap/lxd/24061 /dev/loop7 50M 50M 0 100% /snap/snapd/18596 /dev/loop6 50M 50M 0 100% /snap/snapd/18357 tmpfs 199M 0 199M 0% /run/user/1000 nega@ubuntu:~$ -
@thomas-braun wenns ne iobroker VM ist/wäre
-
@thomas-braun wenns ne iobroker VM ist/wäre
Stimmt. Hatte ich jetzt angenommen.
Und ohne den ganzen Desktopkrempel wäre da auch mehr Platz...
-
@crunchip sagte in apt full-upgrade Error:
nun bisserl Platz
ja, ein bisserl :grin:
dafür spinnen jetzt ein paar Switche und lassen sich nicht einbinden. :(@thomas-braun sagte in apt full-upgrade Error:
sudo -H -u iobroker npm cache clear --force
nega@ubuntu:~$ sudo -H -u nega npm cache clear --force sudo: npm: command not found -
Stimmt. Hatte ich jetzt angenommen.
Und ohne den ganzen Desktopkrempel wäre da auch mehr Platz...
@thomas-braun sieht mit eher nach nem unifi controller aus
-
Stimmt. Hatte ich jetzt angenommen.
Und ohne den ganzen Desktopkrempel wäre da auch mehr Platz...
@thomas-braun sagte in apt full-upgrade Error:
Und ohne den ganzen Desktopkrempel wäre da auch mehr Platz...
ok, das ist schon ewig her. Damals hab ich nicht darauf geachtet.
Wie bringt man den Desktop wieder weg? -
@thomas-braun sieht mit eher nach nem unifi controller aus
-
Und der Unifi-Controller ist 8GB schwer?
Keine Ahnung was der alles benötigt und anschleppt. -
@negalein wenn du nicht zurecht kommst, könntest ja auch ein backup vom Controller machen, VM neu aufsetzen und backup wieder einspielen
-
Und der Unifi-Controller ist 8GB schwer?
Keine Ahnung was der alles benötigt und anschleppt.@thomas-braun sagte in apt full-upgrade Error:
Und der Unifi-Controller ist 8GB schwer?
hatte den mal im LXC laufen, aber 8GB reichen eigentlich locker
-
@negalein wenn du nicht zurecht kommst, könntest ja auch ein backup vom Controller machen, VM neu aufsetzen und backup wieder einspielen
@crunchip sagte in apt full-upgrade Error:
könntest ja auch ein backup vom Controller machen, VM neu aufsetzen und backup wieder einspielen
ja, das ist der letzte Ausweg.
Sobald die Switche wieder laufen, versuch ich https://indibit.de/ubuntu-partition-vergroessern/
-
Und der Unifi-Controller ist 8GB schwer?
Keine Ahnung was der alles benötigt und anschleppt.ist das richtig mit
init 3, oder wird hier nur umgeschaltet und der Desktop nicht deinstalliert? -
ist das richtig mit
init 3, oder wird hier nur umgeschaltet und der Desktop nicht deinstalliert?Da wird nur der Zustand geändert, die Software bleibt dennoch auf dem System.
-
Da wird nur der Zustand geändert, die Software bleibt dennoch auf dem System.
@thomas-braun sagte in apt full-upgrade Error:
Da wird nur der Zustand geändert, die Software bleibt dennoch auf dem System.
ok, dachte ich mir. :(
Kann der Desktop überhaupt nachträglich deinstalliert werden?
In deinem Baukasten steht nur was zum Pi.