
Ubuntu日本語フォーラム

ログインしていません。
パソコンを起動し、数分経つと進入禁止のマークが出てきて、カーソルをアイコンにもっていくと以下のメッセージがでます。
エラーメッセージは次の通り: 'エラー : キャッシュ(E:Could not open file /var/lib/dpkg/status - open (2: No such file or directory), E:the package lists or status file could not be parsed or opened.)'展開中'これはインストールしたパッケージの依存性が満たせない状態と推測できます
パッケージ情報を初期化できませんでした
とでてきます。
それをクリックするとアップデートマネージャーがたちあがり
パッケージ情報を初期化している最中に解決できない問題が発生しました.
次のエラーメッセージを含めて'update-manager'パッケージに対して次のバグを報告してください:
'E:ファイル /var/lib/dpkg/status をオープンできませんでした - open (2: No such file or directory), E:パッケージリストまたはステータスファイルを解釈またはオープンすることができません。
となります。
初めての事でどーすれば良いのかまったくわかりません。どーすれば解決できますか?
オフライン
こちらの現象と似ていますね。
http://ubuntuforums.org/archive/index.php/t-393907.html
下記のコマンドを実行してみてください。
$ sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status
$ sudo apt-get update
$ sudo apt-get upgrade
これで、治りませんか?
オフライン
$ sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status
$ sudo apt-get update
上のコマンドを入れると
無視 cdrom://Ubuntu 10.04 LTS _Lucid Lynx_ - Release i386 (20100429) lucid/main Translation-ja
無視 cdrom://Ubuntu 10.04 LTS _Lucid Lynx_ - Release i386 (20100429) lucid/restricted Translation-ja
ヒット http://jp.archive.ubuntu.com karmic Release.gpg
ヒット http://jp.archive.ubuntu.com karmic/main Translation-ja
無視 http://jp.archive.ubuntu.com karmic/restricted Translation-ja
ヒット http://jp.archive.ubuntu.com karmic/universe Translation-ja
ヒット http://jp.archive.ubuntu.com karmic/multiverse Translation-ja
取得:1 http://jp.archive.ubuntu.com karmic-updates Release.gpg [189B]
無視 http://jp.archive.ubuntu.com karmic-updates/main Translation-ja
無視 http://jp.archive.ubuntu.com karmic-updates/restricted Translation-ja
無視 http://jp.archive.ubuntu.com karmic-updates/universe Translation-ja
無視 http://jp.archive.ubuntu.com karmic-updates/multiverse Translation-ja
ヒット http://jp.archive.ubuntu.com karmic Release
取得:2 http://jp.archive.ubuntu.com karmic-updates Release [44.1kB]
取得:3 http://archive.ubuntulinux.jp karmic Release.gpg [307B]
無視 http://archive.ubuntulinux.jp karmic/main Translation-ja
取得:4 http://archive.ubuntulinux.jp karmic-non-free/ Release.gpg [189B]
無視 http://archive.ubuntulinux.jp karmic-non-free/ Translation-ja
取得:5 http://archive.ubuntulinux.jp karmic Release [66.0kB]
ヒット http://jp.archive.ubuntu.com karmic/main Packages
ヒット http://jp.archive.ubuntu.com karmic/restricted Packages
ヒット http://jp.archive.ubuntu.com karmic/restricted Sources
ヒット http://jp.archive.ubuntu.com karmic/main Sources
ヒット http://jp.archive.ubuntu.com karmic/multiverse Sources
ヒット http://jp.archive.ubuntu.com karmic/universe Sources
ヒット http://jp.archive.ubuntu.com karmic/universe Packages
ヒット http://jp.archive.ubuntu.com karmic/multiverse Packages
取得:6 http://jp.archive.ubuntu.com karmic-updates/main Packages [290kB]
ヒット http://archive.ubuntu.com karmic Release.gpg
取得:7 http://archive.ubuntulinux.jp karmic-non-free/ Release [1,573B]
無視 http://archive.ubuntulinux.jp karmic/main Packages
無視 http://archive.ubuntulinux.jp karmic/main Packages
取得:8 http://archive.ubuntulinux.jp karmic-non-free/ Packages [2,676B]
取得:9 http://jp.archive.ubuntu.com karmic-updates/restricted Packages [14B]
取得:10 http://jp.archive.ubuntu.com karmic-updates/restricted Sources [14B]
取得:11 http://jp.archive.ubuntu.com karmic-updates/main Sources [114kB]
取得:12 http://jp.archive.ubuntu.com karmic-updates/multiverse Sources [4,960B]
取得:13 http://jp.archive.ubuntu.com karmic-updates/universe Sources [46.3kB]
取得:14 http://jp.archive.ubuntu.com karmic-updates/universe Packages [157kB]
取得:15 http://archive.ubuntulinux.jp karmic/main Packages [8,919B]
ヒット http://archive.ubuntu.com karmic Release
取得:16 http://jp.archive.ubuntu.com karmic-updates/multiverse Packages [11.0kB]
ヒット http://archive.ubuntu.com karmic/main Sources
ヒット http://archive.ubuntu.com karmic/restricted Sources
ヒット http://security.ubuntu.com karmic-security Release.gpg
無視 http://security.ubuntu.com karmic-security/main Translation-ja
無視 http://security.ubuntu.com karmic-security/restricted Translation-ja
無視 http://security.ubuntu.com karmic-security/universe Translation-ja
無視 http://security.ubuntu.com karmic-security/multiverse Translation-ja
ヒット http://security.ubuntu.com karmic-security Release
ヒット http://security.ubuntu.com karmic-security/main Packages
ヒット http://security.ubuntu.com karmic-security/restricted Packages
ヒット http://security.ubuntu.com karmic-security/restricted Sources
ヒット http://security.ubuntu.com karmic-security/main Sources
ヒット http://security.ubuntu.com karmic-security/multiverse Sources
ヒット http://security.ubuntu.com karmic-security/universe Sources
ヒット http://security.ubuntu.com karmic-security/universe Packages
ヒット http://security.ubuntu.com karmic-security/multiverse Packages
748kB を 3s で取得しました (230kB/s)
パッケージリストを読み込んでいます... 完了
そして
$ sudo apt-get upgrade
を入れると
パッケージリストを読み込んでいます... 完了
依存関係ツリーを作成しています
状態情報を読み取っています... 完了
以下のパッケージは保留されます:
bind9-host cryptsetup dnsutils firefox firefox-3.5 firefox-3.5-branding
firefox-gnome-support libbind9-50 libdns50 libisc50 libisccc50 libisccfg50
liblwres50 linux-generic linux-headers-generic linux-image-generic
sreadahead
以下のパッケージはアップグレードされます:
adduser aisleriot app-install-data-partner apparmor apparmor-utils apport
apport-gtk avahi-autoipd avahi-daemon bash-completion binutils brasero
checkbox checkbox-gtk compiz compiz-core compiz-gnome compiz-plugins
compiz-wrapper cpp-4.4 cups cups-bsd cups-client cups-common devicekit-disks
devicekit-power dhcp3-client dhcp3-common dpkg empathy empathy-doc
erlang-base erlang-crypto erlang-inets erlang-mnesia erlang-public-key
erlang-runtime-tools erlang-ssl erlang-syntax-tools erlang-xmerl evince
evolution evolution-common evolution-documentation-en evolution-indicator
evolution-plugins f-spot firefox-3.5-gnome-support foomatic-filters
fuse-utils gcalctool gcc-4.4 gcc-4.4-base gdm ghostscript ghostscript-cups
ghostscript-x gimp gimp-data glchess glines gnect gnibbles gnobots2
gnome-about gnome-blackjack gnome-desktop-data gnome-games
gnome-games-common gnome-mahjongg gnome-power-manager gnome-screensaver
gnome-settings-daemon gnome-sudoku gnometris gnomine gnotravex gnotski
grub-common grub-pc gstreamer0.10-alsa gstreamer0.10-plugins-base
gstreamer0.10-plugins-base-apps gstreamer0.10-x gtali gtk2-engines
gtk2-engines-murrine gtk2-engines-pixbuf gzip iagno ibus-anthy ifupdown
initscripts jockey-common jockey-gtk kerneloops-daemon language-pack-bn
language-pack-bn-base language-pack-en language-pack-en-base
language-pack-gnome-bn language-pack-gnome-bn-base language-pack-gnome-en
language-pack-gnome-en-base language-pack-gnome-ja
language-pack-gnome-ja-base language-pack-ja language-pack-ja-base
libapparmor-perl libapparmor1 libasound2 libatasmart4 libaudiofile0
libavahi-client3 libavahi-common-data libavahi-common3 libavahi-core6
libavahi-glib1 libavahi-gobject0 libavahi-ui0 libbrasero-media0 libc-bin
libc-dev-bin libc6 libc6-dev libc6-i686 libcairo2 libclutter-gtk-0.10-0
libcups2 libcupscgi1 libcupsdriver1 libcupsimage2 libcupsmime1 libcupsppdc1
libdecoration0 libdevkit-power-gobject1 libempathy-common
libempathy-gtk-common libempathy-gtk28 libempathy30 libenchant1c2a
libevdocument1 libevview1 libexpat1 libfreetype6 libfuse2 libgail-common
libgail18 libgcc1 libgd2-xpm libgimp2.0 libglib2.0-0 libglib2.0-data
libgnome-desktop-2-11 libgomp1 libgs8 libgssapi-krb5-2
libgstreamer-plugins-base0.10-0 libgtk2.0-0 libgtk2.0-bin libgtk2.0-common
libgudev-1.0-0 libhtml-parser-perl libindicate-gtk1 libindicate3
libk5crypto3 libkpathsea4 libkrb5-3 libkrb5support0 libmetacity0
libmysqlclient16 libnautilus-extension1 libnss3-1d libpam-modules
libpam-runtime libpam0g libpng12-0 libpoppler-glib4 libpoppler5 libpq5
libpulse-browse0 libpulse-mainloop-glib0 libpulse0 libpurple-bin libpurple0
libpython2.6 libsmbclient libssl0.9.8 libstdc++6 libthai-data libthai0
libtiff4 libudev0 libvorbis0a libvorbisenc2 libvorbisfile3 libvte-common
libvte9 libwbclient0 libxml2 libxml2-utils linux-firmware linux-libc-dev
metacity metacity-common mysql-common nautilus nautilus-data ntpdate
nvidia-common obexd-client openoffice.org-base-core openoffice.org-calc
openoffice.org-common openoffice.org-core openoffice.org-draw
openoffice.org-emailmerge openoffice.org-gnome openoffice.org-gtk
openoffice.org-impress openoffice.org-math openoffice.org-style-human
openoffice.org-writer openssl poppler-utils pulseaudio
pulseaudio-esound-compat pulseaudio-module-bluetooth pulseaudio-module-gconf
pulseaudio-module-udev pulseaudio-module-x11 pulseaudio-utils python
python-apport python-avahi python-gtkhtml2 python-libxml2 python-minimal
python-problem-report python-ubuntuone-client
python-ubuntuone-storageprotocol python-uno python-vte python2.6
python2.6-minimal rhythmbox rsyslog samba-common samba-common-bin same-gnome
smbclient software-center sudo system-tools-backends sysv-rc sysvinit-utils
telepathy-gabble totem totem-common totem-mozilla totem-plugins
transmission-common transmission-gtk ttf-opensymbol tzdata ubiquity
ubiquity-frontend-gtk ubiquity-ubuntu-artwork ubufox ubuntu-xsplash-artwork
ubuntuone-client ubuntuone-client-gnome udev uno-libs3 update-manager
update-manager-core upstart ure x11-common xorg xsane xsane-common
xserver-common xserver-xorg xserver-xorg-core xserver-xorg-input-all
xserver-xorg-video-all xserver-xorg-video-intel xsplash xulrunner-1.9.1
xulrunner-1.9.1-gnome-support yelp
アップグレード: 292 個、新規インストール: 0 個、削除: 0 個、保留: 17 個。
241MB のアーカイブを取得する必要があります。
この操作後に 696kB のディスク容量が解放されます。
続行しますか [Y/n]?
と出たのでYで続行しました。
いろんな処理が始まり、最後に
python-support のトリガを処理しています ...
~laptop:~$
になり再起動が必要です。と言うのが出てきたんですが、このまま再起動をすれば良いんですか?
オフライン