web-dev-qa-db-ja.com

Ubuntuを更新したり、ランチパッドにログインして報告したりできないのはなぜですか?

Ubuntuを更新できなくなりました。なんらかの理由で最新バージョンに更新できないため、私のコンピューターからlibre-office-commonのバグを報告するように求められ続けます。ソフトウェアアップデーターは、パッケージマネージャーが壊れていることを通知し、サードパーティのリポジトリを無効にして_[Sudo] apt-get install -f_を実行するように通知します。これにより、次のエラーが返されます。

_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)
_

これは、数分後にバグ報告者が自動的に開くときです。開発者向けの情報を収集させた後、この中にテキストエディターを開きます。

<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&amp;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>

代わりに、ランチパッドのWebページを開いてバグを報告していました。これで、HTMLコードでテキストエディターが開きます(そうすることはできますが、ブラウザーでランチパッドが開かないため、壊れていますか?)。以前は、htmlコードが壊れていなかった場合、バグ報告者は私のWebブラウザーでランチパッドサイトを開いてログインし、バグを報告していました。しかし、ランチパッドは次のように述べています、

おっとっと! Launchpadで問題が発生しました。

発生した問題を記録しましたが、できるだけ早く修正します。ご迷惑をおかけして申し訳ございません。

(エラーID:OOPS-d18dd272fae4356c8f1ce1415bd51368)

Webブラウザーを使用して自分でランチパッドにログインしようとすると、既にログインしていると表示され、自分の名前とメールアドレスをサイトと共有することを確認するように求められます(ちなみに、共有するチェックボックス)情報をチェックできないため、情報を共有する必要があります)。確認すると、このエラーメッセージが表示されます。

おっとっと! Launchpadで問題が発生しました。

発生した問題を記録しましたが、できるだけ早く修正します。ご迷惑をおかけして申し訳ございません。

(エラーID:OOPS-5bd3804edb80ca8b5c44fc826c9ace63)

Launchpadでこれの一部を報告する必要があることはわかっていますが、Launchpadにログインできないようにするバグであるため、報告できません。ここで報告します。

また、再起動するたびに、gnomeがシャットダウンされた後、コンピューターがシャットダウンされる前に、読み出しで赤と黄色のエラーが見つかりました。詳細については、コマンド_systemctl status [email protected]_を実行するように指示され、出力は次のようになります。

[email protected]の暗号化セットアップロード:ロード済み(/ etc/crypttab;生成;ベンダープリセット:有効)アクティブ:失敗(結果:終了コード)月2018-03-19 07:01:12以降PDT; 32秒前ドキュメント:man:crypttab(5)man:systemd-cryptsetup-generator(8)man:systemd-cryptsetup @ .service(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]:cryptswap1の暗号化セットアップを開始しています... Mar 19 07:01:12 username systemd-cryptsetup [2073]:crypt_init()failed:Block device required Mar 19 07:01: 12ユーザー名systemd [1]:[email protected]:メインプロセスが終了しました、コード=終了、ステータス= 1/FAILURE Mar 19 07:01:12ユーザー名systemd [1]:cryptswap1の暗号化セットアップの開始に失敗しました3月19日07:01:12ユーザー名systemd [1]:[email protected]:ユニットは障害状態に入りました。 3月19日07:01:12ユーザー名systemd [1]:[email protected]:結果「exit-code」で失敗しました。

これらの問題は、再起動後も持続します。

2
user803386

アカウントが少し壊れているようです。新しいOOPS ID(それらの詳細は1週間後にシステムから期限切れになります)を取得し、それとメールで送信されている内容の概要を[email protected]にメールで送っていただけませんか?そこから対処します。

1
Colin Watson