お知らせ

  • 利用規約を守って投稿してください。また、よくある質問および投稿の手引きも参照してください。
  • メッセージの投稿にはアカウントが必要です。未登録の方は、ユーザ登録ページからアカウントを作成することができます。

#1 2008-09-13 21:20:35

OKOCHI
新しいメンバ
登録日: 2008-09-13

アップデートマネージャーのエラー

Ubuntuを使い始めたばかりです。ポータブルUSBにインストールして、複数のPCで立ち上げられるので、重宝しています。
突然アップデートマネージャーが、下記のエラーメッセージを出して、アップデートできなくなりました。
E: /var/cache/apt/archives/sudo_1.6.9p10-1ubuntu3.3_i386.deb: パッケージ `grub' のファイル一覧ファイルが空のファイル名を含んでいます
端末から、apt-get updateを実行しても、以下のようになって、GUIのアップデートマネージャーはその後も変化ありません。
修復の方法を教えて下さい。よろしくお願いします。
root@okochi-Ubuntu:/home/okochi# apt-get update
ヒット http://archive.ubuntulinux.jp hardy/ Release.gpg
無視 http://archive.ubuntulinux.jp hardy/ Translation-ja                       
ヒット http://archive.ubuntulinux.jp hardy-ja/ Release.gpg                     
ヒット http://jp.archive.ubuntu.com hardy Release.gpg                         
無視 http://archive.ubuntulinux.jp hardy-ja/ Translation-ja                   
ヒット http://security.ubuntu.com hardy-security Release.gpg                   
ヒット http://archive.ubuntulinux.jp hardy/ Release                           
ヒット http://jp.archive.ubuntu.com hardy/main Translation-ja                 
ヒット http://packages.medibuntu.org hardy Release.gpg                         
ヒット http://archive.ubuntulinux.jp hardy-ja/ Release                         
無視 http://archive.ubuntulinux.jp hardy/ Packages                             
ヒット http://wine.budgetdedicated.com hardy Release.gpg                       
無視 http://wine.budgetdedicated.com hardy/main Translation-ja                 
無視 http://jp.archive.ubuntu.com hardy/restricted Translation-ja             
無視 http://security.ubuntu.com hardy-security/main Translation-ja             
無視 http://archive.ubuntulinux.jp hardy/ Sources                             
無視 http://archive.ubuntulinux.jp hardy-ja/ Packages                         
ヒット http://jp.archive.ubuntu.com hardy/universe Translation-ja             
無視 http://archive.ubuntulinux.jp hardy-ja/ Sources                           
ヒット http://archive.ubuntulinux.jp hardy/ Packages                           
無視 http://security.ubuntu.com hardy-security/restricted Translation-ja       
ヒット http://wine.budgetdedicated.com hardy Release                           
ヒット http://archive.ubuntulinux.jp hardy/ Sources                           
ヒット http://jp.archive.ubuntu.com hardy/multiverse Translation-ja           
無視 http://packages.medibuntu.org hardy/free Translation-ja                   
ヒット http://archive.ubuntulinux.jp hardy-ja/ Packages                       
無視 http://security.ubuntu.com hardy-security/universe Translation-ja         
ヒット http://archive.ubuntulinux.jp hardy-ja/ Sources                         
ヒット http://jp.archive.ubuntu.com hardy-updates Release.gpg                 
無視 http://wine.budgetdedicated.com hardy/main Packages                       
無視 http://jp.archive.ubuntu.com hardy-updates/main Translation-ja           
無視 http://security.ubuntu.com hardy-security/multiverse Translation-ja       
無視 http://jp.archive.ubuntu.com hardy-updates/restricted Translation-ja     
無視 http://packages.medibuntu.org hardy/non-free Translation-ja               
ヒット http://security.ubuntu.com hardy-security Release                       
ヒット http://wine.budgetdedicated.com hardy/main Packages                     
無視 http://jp.archive.ubuntu.com hardy-updates/universe Translation-ja       
ヒット http://security.ubuntu.com hardy-security/main Packages                 
無視 http://jp.archive.ubuntu.com hardy-updates/multiverse Translation-ja
ヒット http://security.ubuntu.com hardy-security/restricted Packages
ヒット http://packages.medibuntu.org hardy Release                             
ヒット http://jp.archive.ubuntu.com hardy Release                             
ヒット http://security.ubuntu.com hardy-security/main Sources                 
ヒット http://jp.archive.ubuntu.com hardy-updates Release                     
ヒット http://security.ubuntu.com hardy-security/restricted Sources           
ヒット http://jp.archive.ubuntu.com hardy/main Packages                       
ヒット http://packages.medibuntu.org hardy/free Packages       
ヒット http://jp.archive.ubuntu.com hardy/restricted Packages 
ヒット http://security.ubuntu.com hardy-security/universe Packages
ヒット http://jp.archive.ubuntu.com hardy/main Sources         
ヒット http://security.ubuntu.com hardy-security/universe Sources
ヒット http://jp.archive.ubuntu.com hardy/restricted Sources   
ヒット http://jp.archive.ubuntu.com hardy/universe Packages   
ヒット http://security.ubuntu.com hardy-security/multiverse Packages
ヒット http://jp.archive.ubuntu.com hardy/universe Sources     
ヒット http://security.ubuntu.com hardy-security/multiverse Sources
ヒット http://jp.archive.ubuntu.com hardy/multiverse Packages 
ヒット http://jp.archive.ubuntu.com hardy/multiverse Sources   
ヒット http://jp.archive.ubuntu.com hardy-updates/main Packages
ヒット http://jp.archive.ubuntu.com hardy-updates/restricted Packages
ヒット http://jp.archive.ubuntu.com hardy-updates/main Sources
ヒット http://jp.archive.ubuntu.com hardy-updates/restricted Sources
ヒット http://jp.archive.ubuntu.com hardy-updates/universe Packages
ヒット http://jp.archive.ubuntu.com hardy-updates/universe Sources
ヒット http://jp.archive.ubuntu.com hardy-updates/multiverse Packages
ヒット http://jp.archive.ubuntu.com hardy-updates/multiverse Sources
ヒット http://packages.medibuntu.org hardy/non-free Packages
パッケージリストを読み込んでいます... 完了

オフライン

 

#2 2008-09-16 20:46:51

Shibata
管理者
From: 東京
登録日: 2006-10-25

Re: アップデートマネージャーのエラー

OKOCHI による投稿:

突然アップデートマネージャーが、下記のエラーメッセージを出して、アップデートできなくなりました。
E: /var/cache/apt/archives/sudo_1.6.9p10-1ubuntu3.3_i386.deb: パッケージ `grub' のファイル一覧ファイルが空のファイル名を含んでいます

grubのファイル一覧ファイルってのは、/var/lib/dpkg/info/grub.listのことで、これが壊れている可能性が高いです。

コード:

sudo apt-get update
sudo mv /var/lib/dpkg/info/grub.list{,.bak}
sudo apt-get install --reinstall grub
sudo apt-get update
sudo apt-get upgrade

を実行すると直る可能性があります。ただし、USBハードディスクにインストールされているとのことなので、これを実行すると起動できなくなる可能性もあります。grubパッケージを再インストールした場合って、既存のmenu.lstやMBRに影響を与えるんでしたっけ。

オフライン

 

#3 2008-09-16 22:28:37

syosinnsya
メンバ
登録日: 2008-06-20

Re: アップデートマネージャーのエラー

参考になるかわかりませんが、以下のトピックを示しておきます。

外付けHDDにubuntuをインストール
http://forum.ubuntulinux.jp/viewtopic.php?id=2662

アップデートマネージャーに関するトピック
http://forum.ubuntulinux.jp/viewtopic.php?id=2544
http://forum.ubuntulinux.jp/viewtopic.php?id=2576
http://forum.ubuntulinux.jp/viewtopic.php?id=2556
http://forum.ubuntulinux.jp/viewtopic.php?id=2239

最後の編集者: syosinnsya (2008-09-16 22:32:32)

オフライン

 

#4 2008-09-19 13:24:44

OKOCHI
新しいメンバ
登録日: 2008-09-13

Re: アップデートマネージャーのエラー

情報ありがとうございます。情報をいただいて、どうもUSBHDDへのインストールを、きちんとしていないのが原因のような気がしてきました。
インストールを実施したデスクトップPCでアップデートを実施した時は問題なかったのですが、ノートで実行すると問題が起きるのかも知れま
せん。今デスクトップが使えない状況なので、使えるようになってから、確認してみようと思います。
また、使えるので、安易にUSBHDDからブートしてノートでも使っていましたが、頂いた情報で、USBHDD内のUbuntuの設定も少し見直し
てみようと思います。
ありがとうございました。また、何か追加情報がありましたら、よろしくお願いします。

オフライン

 

Board footer

Powered by FluxBB