Kod:
mat@mat-ThinkPad-X250:~$ sudo apt autoremove [sudo] hasło użytkownika mat: Czytanie list pakietów... GotoweBudowanie drzewa zależności Odczyt informacji o stanie... Gotowe0 aktualizowanych, 0 nowo instalowanych, 0 usuwanych i 0 nieaktualizowanych.2 nie w pełni zainstalowanych lub usuniętych.Po tej operacji zostanie dodatkowo użyte 0 B miejsca na dysku.Konfigurowanie pakietu initramfs-tools (0.130ubuntu3.5) ...update-initramfs: deferring update (trigger activated)Konfigurowanie pakietu linux-firmware (1.173.2) ...update-initramfs: Generating /boot/initrd.img-4.15.0-39-genericgzip: stdout: No space left on deviceE: mkinitramfs failure find 141 cpio 141 gzip 1update-initramfs: failed for /boot/initrd.img-4.15.0-39-generic with 1.dpkg: błąd przetwarzania pakietu linux-firmware (--configure): installed linux-firmware package post-installation script subprocess returned error exit status 1Przetwarzanie wyzwalaczy pakietu initramfs-tools (0.130ubuntu3.5)...update-initramfs: Generating /boot/initrd.img-4.15.0-39-genericgzip: stdout: No space left on deviceE: mkinitramfs failure find 141 cpio 141 gzip 1update-initramfs: failed for /boot/initrd.img-4.15.0-39-generic with 1.dpkg: błąd przetwarzania pakietu initramfs-tools (--configure): installed initramfs-tools package post-installation script subprocess returned error exit status 1Wystąpiły błędy podczas przetwarzania: linux-firmware initramfs-toolsE: Sub-process /usr/bin/dpkg returned an error code (1)mat@mat-ThinkPad-X250:~$ ls /bootabi-4.15.0-20-generic memtest86+.elfabi-4.15.0-38-generic memtest86+_multiboot.binabi-4.15.0-39-generic retpoline-4.15.0-20-genericconfig-4.15.0-20-generic retpoline-4.15.0-38-genericconfig-4.15.0-38-generic retpoline-4.15.0-39-genericconfig-4.15.0-39-generic System.map-4.15.0-20-genericgrub System.map-4.15.0-38-genericinitrd.img-4.15.0-20-generic System.map-4.15.0-39-genericinitrd.img-4.15.0-38-generic vmlinuz-4.15.0-20-genericinitrd.img-4.15.0-39-generic vmlinuz-4.15.0-38-genericlost+found vmlinuz-4.15.0-39-genericmemtest86+.bin
Kod:
sudo apt-get remove --purge $(dpkg -l 'linux-*' | sed '/^ii/!d;/'"$(uname -r | sed "s/\(.*\)-\([^0-9]\+\)/\1/")"'/d;s/^[^ ]* [^ ]* \([^ ]*\).*/\1/;/[0-9]/!d')
Statystyki: autor: tratsok — 21 lis 2018, 20:48
Kod:
ls /boot
Zobaczymy ile tych kerneli masz w magazynie.Statystyki: autor: Tomfoc — 21 lis 2018, 11:48
Kod:
sudo apt autoremove
Statystyki: autor: Spass — 21 lis 2018, 11:00
Kod:
mat@mat-ThinkPad-X250:~$ uname -r4.15.0-39-genericmat@mat-ThinkPad-X250:~$ linux-imagelinux-image: nie znaleziono poleceniamat@mat-ThinkPad-X250:~$ uname -aLinux mat-ThinkPad-X250 4.15.0-39-generic #42-Ubuntu SMP Tue Oct 23 15:48:01 UTC 2018 x86_64 x86_64 x86_64 GNU/Linuxmat@mat-ThinkPad-X250:~$ sudo apt-get remove --purge $(dpkg -l 'linux-*' | sed '/^ii/!d;/'"$(uname -r | sed "s/\(.*\)-\([^0-9]\+\)/\1/")"'/d;s/^[^ ]* [^ ]* \([^ ]*\).*/\1/;/[0-9]/!d')[sudo] hasło użytkownika mat: E: Nie udało się uzyskać blokady /var/lib/dpkg/lock-frontend - open (11: Zasoby chwilowo niedostępne)E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?mat@mat-ThinkPad-X250:~$ sudo dpkg -l 'linux-*' | sed '/^ii/!d;/'"$(uname -r | sed "s/\(.*\)-\([^0-9]\+\)/\1/")"'/d;s/^[^ ]* [^ ]* \([^ ]*\).*/\1/;/[0-9]/!d' | xargs sudo apt-get -y purgeE: Nie udało się uzyskać blokady /var/lib/dpkg/lock-frontend - open (11: Zasoby chwilowo niedostępne)E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?mat@mat-ThinkPad-X250:~$ sudo apt-get -f install[sudo] hasło użytkownika mat: E: Nie udało się uzyskać blokady /var/lib/dpkg/lock-frontend - open (11: Zasoby chwilowo niedostępne)E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?
Statystyki: autor: tratsok — 21 lis 2018, 09:36