PopOS 20.04 - "Could not find a block device for the a partition" na hora de atualizar

Eu tô com problema na atualização, tá tudo pendente no Pop 20. Se alguém puder ajudar agradeço.

sudo apt-get upgrade
[sudo] password for aline: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  gnome-control-center gnome-control-center-data libnvidia-cfg1-440
  libnvidia-common-440 libnvidia-compute-440 libnvidia-compute-440:i386
  libnvidia-decode-440 libnvidia-decode-440:i386 libnvidia-encode-440
  libnvidia-encode-440:i386 libnvidia-extra-440 libnvidia-fbc1-440
  libnvidia-fbc1-440:i386 libnvidia-gl-440 libnvidia-gl-440:i386
  libnvidia-ifr1-440 libnvidia-ifr1-440:i386 nvidia-compute-utils-440
  nvidia-dkms-440 nvidia-driver-440 nvidia-kernel-common-440
  nvidia-kernel-source-440 nvidia-utils-440 ubuntu-drivers-common
  xserver-xorg-video-nvidia-440
The following packages will be upgraded:
  alsa-ucm-conf apport aptdaemon aptdaemon-data bolt busybox-initramfs
  busybox-static cpp-9 finalrd firefox-locale-ar firefox-locale-de
  firefox-locale-en firefox-locale-es firefox-locale-fr firefox-locale-it
  firefox-locale-ja firefox-locale-pt firefox-locale-ru firefox-locale-zh-hans
  firefox-locale-zh-hant g++-9 gcc-10-base gcc-10-base:i386 gcc-9 gcc-9-base
  gdm3 gir1.2-gdm-1.0 gir1.2-mutter-6 gir1.2-packagekitglib-1.0
  gnome-control-center-faces gnome-shell-extension-system76-power
  google-chrome-stable grub-common grub2-common imagemagick
  imagemagick-6-common imagemagick-6.q16 kernelstub language-selector-common
  language-selector-gnome libasan5 libatomic1 libatomic1:i386 libbrotli1
  libc-bin libcc1-0 libfprint-2-2 libgcc-9-dev libgcc-s1 libgcc-s1:i386
  libgcc1 libgdm1 libgfortran5 libgomp1 libimage-magick-perl
  libimage-magick-q16-perl libitm1 libjuh-java libjurt-java libldb2 liblsan0
  libmagick++-6.q16-8 libmagickcore-6.q16-6 libmagickcore-6.q16-6-extra
  libmagickwand-6.q16-6 libmutter-6-0 libpackagekit-glib2-18 libproxy-tools
  libproxy1-plugin-gsettings libproxy1-plugin-networkmanager libproxy1v5
  libpulse-mainloop-glib0 libpulse0 libpulsedsp libpython2.7
  libpython2.7-minimal libpython2.7-stdlib libpython3.8 libpython3.8-minimal
  libpython3.8-stdlib libquadmath0 libreoffice-common libreoffice-help-common
  libreoffice-help-de libreoffice-help-en-gb libreoffice-help-en-us
  libreoffice-help-es libreoffice-help-fr libreoffice-help-it
  libreoffice-help-ja libreoffice-help-pt libreoffice-help-pt-br
  libreoffice-help-ru libreoffice-help-zh-cn libreoffice-help-zh-tw
  libreoffice-l10n-ar libreoffice-l10n-de libreoffice-l10n-en-gb
  libreoffice-l10n-en-za libreoffice-l10n-es libreoffice-l10n-fr
  libreoffice-l10n-it libreoffice-l10n-ja libreoffice-l10n-pt
  libreoffice-l10n-pt-br libreoffice-l10n-ru libreoffice-l10n-zh-cn
  libreoffice-l10n-zh-tw libreoffice-style-colibre
  libreoffice-style-elementary libreoffice-style-tango libridl-java libsane
  libsane-common libsmbclient libstdc++-9-dev libstdc++6 libstdc++6:i386
  libtsan0 libubsan1 libuno-cppu3 libuno-cppuhelpergcc3-3
  libuno-purpenvhelpergcc3-3 libuno-sal3 libuno-salhelpergcc3-3
  libunoloader-java libuv1 libwbclient0 locales mdadm mutter mutter-common
  packagekit perlmagick plymouth-theme-pop-basic pop-default-settings
  pop-icon-theme pop-session pop-shell pop-shell-shortcuts pop-shop popsicle
  popsicle-gtk pulseaudio pulseaudio-module-bluetooth pulseaudio-utils
  python2.7 python2.7-minimal python3-apport python3-aptdaemon
  python3-aptdaemon.gtk3widgets python3-distutils python3-gdbm python3-lib2to3
  python3-problem-report python3-urllib3 python3.8 python3.8-minimal rfkill
  samba-libs sane-utils secureboot-db system76-acpi-dkms system76-power
  teamviewer thermald uno-libs-private ure vino zlib1g zlib1g:i386 zlib1g-dev
172 upgraded, 0 newly installed, 0 to remove and 25 not upgraded.
1 not fully installed or removed.
Need to get 185 kB/245 MB of archives.
After this operation, 400 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://ppa.launchpad.net/system76/pop/ubuntu focal/main amd64 pop-shell all 0.1.0~1602257816~20.04~6fb9b76 [165 kB]
Get:2 http://ppa.launchpad.net/system76/pop/ubuntu focal/main amd64 plymouth-theme-pop-basic all 2.0.1~1602194015~20.04~000f1ca [19.1 kB]
Fetched 185 kB in 2s (113 kB/s)                      
Extracting templates from packages: 100%
Preconfiguring packages ...
Setting up linux-firmware (1.190+system76~1599667136~20.04~5b2179a) ...
update-initramfs: Generating /boot/initrd.img-5.4.0-7642-generic
^[[1;kernelstub.Config    : INFO     Looking for configuration...
kernelstub.Drive     : ERROR    Could not find a block device for the a partition. This is a critical error and we cannot continue.
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/kernelstub/drive.py", line 56, in __init__
    self.esp_fs = self.get_part_dev(self.esp_path)
  File "/usr/lib/python3/dist-packages/kernelstub/drive.py", line 94, in get_part_dev
    raise NoBlockDevError('Couldn\'t find the block device for %s' % path)
kernelstub.drive.NoBlockDevError: Couldn't find the block device for /boot/efi
run-parts: /etc/initramfs/post-update.d//zz-kernelstub exited with return code 174
dpkg: error processing package linux-firmware (--configure):
 installed linux-firmware package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 linux-firmware
E: Sub-process /usr/bin/dpkg returned an error code (1)

Aparentemente ele não está encontrando a partição com o bootloader.

Como está o esquema de partições aí? Com um terminal aberto, rode lsblk -r. A saída deve ter /boot/efi no Mountpoint da segunda linha, como está abaixo:

NAME   MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
sda      8:0    0  1,8T  0 disk 
sda1     8:1    0  128M  0 part /boot/efi
sda2     8:2    0  256G  0 part /
sda3     8:3    0  1,6T  0 part /home

Se não, conserte o mountpoint:
mount /dev/sda1 /boot/efi

(troque sda1 pelo Name da sua segunda linha, pode ser nvme0n1p1, mmcblk0p1, etc… Mantenha junto do /dev/, sem espaço)

Tente então completar a atualização aí.


Usando o terminal para esse tutorial porque no geral PopOS e Ubuntu impedem a instalação de novos programas quando uma atualização dá errado para não piorar ainda mais a situação.

1 curtida

Vou verificar isso com o técnico que faz as configurações e retorno. Muito obrigada!

Acabei refazendo a instação. =/

Este tópico foi fechado automaticamente 3 dias depois da última resposta. Novas respostas não são mais permitidas.