
Ubuntu日本語フォーラム
ログインしていません。
システムのプルダウンメニューからソフトウェアの更新を選んで、途中に部分的にインストールしますかの問に軽い気持ちでyを答えて、
そのアップデートができなくなりました。
> sudo apt-get upgrade
パッケージリストを読み込んでいます... 完了
依存関係ツリーを作成しています
状態情報を読み取っています... 完了
アップグレードパッケージを検出しています... 完了
以下のパッケージは保留されます:
linux-generic linux-headers-generic linux-image-generic
以下のパッケージはアップグレードされます:
dirmngr firefox firefox-locale-en firefox-locale-ja git git-man gnupg
gnupg-agent gnupg-l10n gnupg-utils gnupg2 gpg gpg-agent gpg-wks-client
gpg-wks-server gpgconf gpgsm gpgv libfreetype6 libfreetype6:i386
libfreetype6-dev libhttp-daemon-perl libnss3 libpython2.7
libpython2.7-minimal libpython2.7-stdlib libpython3.6 libpython3.6-dev
libpython3.6-minimal libpython3.6-stdlib libssl-dev libssl1.1
liburiparser-dev liburiparser1 linux-libc-dev linux-signed-generic
linux-signed-image-generic openssl python-jwt python2.7 python2.7-minimal
python3-jwt python3.6 python3.6-dev python3.6-minimal smplayer thunderbird
thunderbird-gnome-support thunderbird-locale-en thunderbird-locale-en-gb
thunderbird-locale-en-us thunderbird-locale-ja xserver-common xserver-xephyr
xserver-xorg-core xserver-xorg-legacy xwayland
アップグレード: 57 個、新規インストール: 0 個、削除: 0 個、保留: 3 個。
1 個のパッケージが完全にインストールまたは削除されていません。
56 standard security updates
196 MB 中 0 B のアーカイブを取得する必要があります。
この操作後に 745 kB のディスク容量が解放されます。
続行しますか? [Y/n] y
パッケージからテンプレートを展開しています: 100%
パッケージを事前設定しています ...
setting xserver-xorg-legacy/xwrapper/allowed_users from configuration file
dpkg: パッケージ passwd の処理中にエラーが発生しました (--configure):
パッケージが非常に矛盾した状態に陥りました。設定を試みる
前に再インストールすべきです。
処理中にエラーが発生しました:
passwd
E: Sub-process /usr/bin/dpkg returned an error code (1)
OS情報です。
> lsb_release -a
LSB Version: core-9.20170808ubuntu1-noarch:security-9.20170808ubuntu1-noarch
Distributor ID: Ubuntu
Description: Ubuntu 18.04.6 LTS
Release: 18.04
Codename: bionic
よろしくお願いします。
オフライン
passwdの再インストールで解決しました。
状態を確認
> sudo dpkg -s passwd
Package: passwd
Status: install reinstreq unpacked
Priority: required
Section: admin
Installed-Size: 2566
Maintainer: Ubuntu Developers <[email protected]>
Architecture: amd64
Multi-Arch: foreign
Source: shadow
Version: 1:4.5-1ubuntu2.3
Config-Version: 1:4.5-1ubuntu2.2
以下略
状態がunpackedで、パッケージが展開されてないので、
passwd_4.5-1ubuntu2.3_amd64.deb をダウンロードして
> sudo dpkg -i passwd_4.5-1ubuntu2.3_amd64.deb
これでupgradeできるようになりました。
お騒がせしました。
オフライン