Não consigo mais atualizar o Ubuntu. Meu computador continua me pedindo para enviar um bug para o libre-office-common, porque não é capaz de atualizar para a versão mais recente por algum motivo. O Atualizador de Software informa que o Gerenciador de Pacotes está corrompido e me diz para desativar repositórios de terceiros e executar [sudo] apt-get install -f , que retorna o seguinte erro,
username@username:~$ sudo apt-get install -f
[sudo] password for username:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
libostree-1-1 xdg-desktop-portal xdg-desktop-portal-gtk
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
libreoffice-common
Suggested packages:
libreoffice-style-hicontrast libreoffice-style-oxygen libreoffice-style-sifr
The following packages will be upgraded:
libreoffice-common
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
20 not fully installed or removed.
Need to get 0 B/20.8 MB of archives.
After this operation, 2,048 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
(Reading database ... 165858 files and directories currently installed.)
Preparing to unpack .../libreoffice-common_1%3a5.4.5-0ubuntu0.17.10.5_all.deb ...
apparmor_parser: Unable to remove "libreoffice-oopslash". Profile doesn't exist
apparmor_parser: Unable to remove "libreoffice-senddoc". Profile doesn't exist
apparmor_parser: Unable to remove "libreoffice-soffice". Profile doesn't exist
apparmor_parser: Unable to remove "libreoffice-xpdfimport". Profile doesn't exist
Unpacking libreoffice-common (1:5.4.5-0ubuntu0.17.10.5) over (1:5.4.5-0ubuntu0.17.10.4) ...
dpkg: error processing archive /var/cache/apt/archives/libreoffice-common_1%3a5.4.5-0ubuntu0.17.10.5_all.deb (--unpack):
unable to open '/usr/lib/libreoffice/share/template/common/internal/html.stw.dpkg-new': Operation not permitted
rmdir: failed to remove '/var/lib/libreoffice/share/prereg/': No such file or directory
rmdir: failed to remove '/var/lib/libreoffice/share/': No such file or directory
rmdir: failed to remove '/var/lib/libreoffice/program/': No such file or directory
rmdir: failed to remove '/var/lib/libreoffice': No such file or directory
rmdir: failed to remove '/var/lib/libreoffice': No such file or directory
Errors were encountered while processing:
/var/cache/apt/archives/libreoffice-common_1%3a5.4.5-0ubuntu0.17.10.5_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
username@username:~$ sudo apt autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
libreoffice-pdfimport : Depends: libreoffice-common (= 1:5.4.5-0ubuntu0.17.10.5) but 1:5.4.5-0ubuntu0.17.10.4 is installed
libreoffice-style-breeze : Depends: libreoffice-common (= 1:5.4.5-0ubuntu0.17.10.5) but 1:5.4.5-0ubuntu0.17.10.4 is installed
libreoffice-style-elementary : Depends: libreoffice-common (= 1:5.4.5-0ubuntu0.17.10.5) but 1:5.4.5-0ubuntu0.17.10.4 is installed
libreoffice-style-galaxy : Depends: libreoffice-common (= 1:5.4.5-0ubuntu0.17.10.5) but 1:5.4.5-0ubuntu0.17.10.4 is installed
libreoffice-style-tango : Depends: libreoffice-common (= 1:5.4.5-0ubuntu0.17.10.5) but 1:5.4.5-0ubuntu0.17.10.4 is installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
username@username:~$ sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
libostree-1-1 xdg-desktop-portal xdg-desktop-portal-gtk
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
libreoffice-common
Suggested packages:
libreoffice-style-hicontrast libreoffice-style-oxygen libreoffice-style-sifr
The following packages will be upgraded:
libreoffice-common
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
20 not fully installed or removed.
Need to get 0 B/20.8 MB of archives.
After this operation, 2,048 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
(Reading database ... 165858 files and directories currently installed.)
Preparing to unpack .../libreoffice-common_1%3a5.4.5-0ubuntu0.17.10.5_all.deb ...
apparmor_parser: Unable to remove "libreoffice-oopslash". Profile doesn't exist
apparmor_parser: Unable to remove "libreoffice-senddoc". Profile doesn't exist
apparmor_parser: Unable to remove "libreoffice-soffice". Profile doesn't exist
apparmor_parser: Unable to remove "libreoffice-xpdfimport". Profile doesn't exist
Unpacking libreoffice-common (1:5.4.5-0ubuntu0.17.10.5) over (1:5.4.5-0ubuntu0.17.10.4) ...
dpkg: error processing archive /var/cache/apt/archives/libreoffice-common_1%3a5.4.5-0ubuntu0.17.10.5_all.deb (--unpack):
unable to open '/usr/lib/libreoffice/share/gallery/arrows.str.dpkg-new': Operation not permitted
rmdir: failed to remove '/var/lib/libreoffice/share/prereg/': No such file or directory
rmdir: failed to remove '/var/lib/libreoffice/share/': No such file or directory
rmdir: failed to remove '/var/lib/libreoffice/program/': No such file or directory
rmdir: failed to remove '/var/lib/libreoffice': No such file or directory
rmdir: failed to remove '/var/lib/libreoffice': No such file or directory
Errors were encountered while processing:
/var/cache/apt/archives/libreoffice-common_1%3a5.4.5-0ubuntu0.17.10.5_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
É quando alguns minutos depois o repórter de bug se abre automaticamente. Depois que eu deixo coletar informações para os desenvolvedores, ele abre um editor de texto com isso nele,
<html> <head> <title>OpenID transaction in progress</title> </head> <body onload="document.forms[0].submit();"> <form action="https://login.launchpad.net/+openid" method="post" accept-charset="UTF-8" enctype="application/x-www-form-urlencoded"><input name="openid.return_to" type="hidden" value="https://launchpad.net/+openid-callback?starting_url=https%3A%2F%2Fbugs.launchpad.net%2Fubuntu%2F%2Bsource%2Flibreoffice%2F%2Bfilebug%2F2d3dd6aa-2b68-11e8-a586-0025b3df357a%3Ffield.title%3Dpackage%2Blibreoffice-common%2B1%253A5.4.5-0ubuntu0.17.10.4%2Bfailed%2Bto%2Binstall%252Fupgrade%253A%2Bunable%2Bto%2Bopen%2B%2527%252Fusr%252Flib%252Flibreoffice%252Fshare%252Fgallery%252Fdiagrams%252FComponent-Gear04-DarkRed.svg.dpkg-new%2527%253A%2BOperation%2Bnot%2Bpermitted&janrain_nonce=2018-03-19T11%3A25%3A12ZmLdZIz"/><input name="openid.realm" type="hidden" value="https://launchpad.net/"/><input name="openid.sreg.required" type="hidden" value="email,fullname"/><input name="openid.ns" type="hidden" value="http://specs.openid.net/auth/2.0"/><input name="openid.claimed_id" type="hidden" value="http://specs.openid.net/auth/2.0/identifier_select"/><input name="openid.ns.sreg" type="hidden" value="http://openid.net/extensions/sreg/1.1"/><input name="openid.assoc_handle" type="hidden" value="{HMAC-SHA1}{5aa9113c}{dExviA==}"/><input name="openid.mode" type="hidden" value="checkid_setup"/><input name="openid.identity" type="hidden" value="http://specs.openid.net/auth/2.0/identifier_select"/><input type="submit" value="Continue"/></form> <script> var elements = document.forms[0].elements; for (var i = 0; i < elements.length; i++) { elements[i].style.display = "none"; } </script> </body> </html>
Ele costumava abrir uma página da web para o launchpad para arquivar o bug. Agora ele apenas abre o editor de texto com código html (para fazer isso, mas está quebrado, porque ele não abre a barra de ativação no navegador como deveria mais?). Antes, quando o código html não estava quebrado, o repórter de bug iria abrir o site da barra de lançamento no meu navegador para fazer login para relatar o bug. Mas o launchpad disse o seguinte,
Oops! Sorry, something just went wrong in Launchpad.
We’ve recorded what happened, and we’ll fix it as soon as possible.
Apologies for the inconvenience.
(Error ID: OOPS-d18dd272fae4356c8f1ce1415bd51368)
Quando tento fazer o login no launchpad sozinho com um navegador da web, ele diz que já estou conectado, pedindo que eu confirme que quero compartilhar meu nome e endereço de e-mail com o site (a propósito, o cheque caixas para compartilhar as informações são uncheckable, então eu tenho que compartilhar as informações). Quando eu confirmo, mostra-me esta mensagem de erro,
Oops! Sorry, something just went wrong in Launchpad.
We’ve recorded what happened, and we’ll fix it as soon as possible.
Apologies for the inconvenience.
(Error ID: OOPS-5bd3804edb80ca8b5c44fc826c9ace63)
Eu sei que devo reportar um pouco disso no Launchpad, mas não consigo, porque é um bug que me impede de entrar no Launchpad para fazer isso. Então estou reportando aqui.
Além disso, sempre que eu reinicializo, eu encontrei erros vermelhos e amarelos na leitura depois que o gnome foi desligado, mas antes do computador. Ele me disse para executar o comando systemctl status [email protected] para detalhes, e a saída é a seguinte,
[email protected] - Cryptography Setup for
cryptswap1 Loaded: loaded (/etc/crypttab; generated; vendor preset:
enabled) Active: failed (Result: exit-code) since Mon 2018-03-19
07:01:12 PDT; 32s ago
Docs: man:crypttab(5)
man:systemd-cryptsetup-generator(8)
man:[email protected](8) Process: 2073 ExecStart=/lib/systemd/systemd-cryptsetup attach cryptswap1
/target/swapfile /dev/urandom swap,offset=1024,cipher=aes-xts-plain64
(code=exited, status=1/FAILURE) Main PID: 2073 (code=exited,
status=1/FAILURE)
Mar 19 07:01:12 username systemd[1]: Starting Cryptography Setup for
cryptswap1... Mar 19 07:01:12 username systemd-cryptsetup[2073]:
crypt_init() failed: Block device required Mar 19 07:01:12 username
systemd[1]: [email protected]: Main process
exited, code=exited, status=1/FAILURE Mar 19 07:01:12 username
systemd[1]: Failed to start Cryptography Setup for cryptswap1. Mar 19
07:01:12 username systemd[1]: [email protected]:
Unit entered failed state. Mar 19 07:01:12 username systemd[1]:
[email protected]: Failed with result 'exit-code'.
Esses problemas persistem após as reinicializações.