Kod: Zaznacz cały
mat@mat-ThinkPad-X250:~$ uname -r
4.15.0-39-generic
mat@mat-ThinkPad-X250:~$ linux-image
linux-image: nie znaleziono polecenia
mat@mat-ThinkPad-X250:~$ uname -a
Linux 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/Linux
mat@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 purge
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 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?
Przychodzi mi jeszcze do głowy powiększenie partycj, bo jak narazie ma ona rozmiar 256mb.
Co w takim przypadku powinienem zrobić, żeby było najlepiej?
Pozdrawiam i z góry dzięki za odpowiedź.