お知らせ

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

#1 2010-07-31 12:52:15

hiro208
メンバ
登録日: 2009-03-14

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

10.04のアップデートマネージャで下記のメッセージが毎回出て、アップデートが失敗してしまいます。
また、このエラーが起きてからパッケージマネージャでも同じエラーが発生してしまい、アプリのインストールができなくなってしまいました。回復方法を教えていただけないでしょうか?

ubuntu  `Depends' フィールド、無効なパッケージ名 `iputils-ping': 文字 `' は許可されていません (文字、数値と '-+._' のみ使用可能です)

オフライン

 

#2 2010-07-31 13:30:52

Templer
メンバ
登録日: 2009-07-08

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

「端末」を起動させて、下記コマンドを実行した結果を張り付けてもらえますでしょうか。

コード:

egrep -C 12 'Depends.+iputils-ping' /var/lib/dpkg/status

それと、

コード:

cd /var/lib/dpkg
diff -au status status-old

を実行した結果も張り付けてください。

オフライン

 

#3 2010-07-31 14:07:02

hiro208
メンバ
登録日: 2009-03-14

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

Templerさん
教えていただいたコマンドを実行してみました。
結果を下記に張り付けました。よろしくお願いします。

$ egrep -C 12 'Depends.+iputils-ping' /var/lib/dpkg/statusの実行結果です。

コード:

Homepage: http://libthai.sourceforge.net/
Original-Maintainer: Theppitak Karoonboonyanan <[email protected]>

Package: gnome-nettool
Status: install ok installed
Priority: optional
Section: gnome
Installed-Size: 2820
Maintainer: Ubuntu Desktop Team <[email protected]>
Architecture: i386
Version: 2.30.0-0ubuntu1
Replaces: gnome-network (<= 1.99.5)
Depends: libc6 (>= 2.7), libgconf2-4 (>= 2.27.0), libglib2.0-0 (>= 2.23.5), libgtk2.0-0 (>= 2.14.0), libgtop2-7 (>= 2.20.0), liblaunchpad-integration1 (>= 0.1.17), libpango1.0-0 (>= 1.14.0), dnsutils, net-tools, iputils-ping | ping, iputils-tracepath, whois
Suggests: gnome-system-tools
Conflicts: gnome-network (<= 1.99.5)
Description: network information tool for GNOME
 GNOME Nettool is a network information tool which provides user interfaces for
 some of the most common command line network tools including:
    * ifconfig
    * ping
    * netstat
    * tracepath
    * port scanning
    * DNS lookup
    * finger
--
Gstreamer-Elements: clockoverlay, textoverlay, textrender, timeoverlay, ximagesink, xvimagesink
Gstreamer-Version: 0.10

Package: ubuntu-minimal
Status: install ok installed
Priority: optional
Section: metapackages
Installed-Size: 60
Maintainer: Matt Zimmerman <[email protected]>
Architecture: i386
Source: ubuntu-meta
Version: 1.197
Depends: adduser, apt, apt-utils, bzip2, console-setup, dash, debconf, dhcp3-client, eject, gnupg, ifupdown, initramfs-tools, iproute, iputils-ping, kbd, less, libc6-i686, locales, lsb-release, makedev, mawk, module-init-tools, net-tools, netbase, netcat-openbsd, ntpdate, passwd, procps, python, rsyslog, sudo, tasksel, tzdata, ubuntu-keyring, udev, upstart, ureadahead, vim-tiny, whiptail
Description: Minimal core of Ubuntu
 This package depends on all of the packages in the Ubuntu minimal system,
 that is a functional command-line system with the following capabilities:
 .
  - Boot
  - Detect hardware
  - Connect to a network
  - Install packages
  - Perform basic diagnostics
 .
 It is also used to help ensure proper upgrades, so it is recommended that
 it not be removed.

$ diff -au status status-old の実行結果です。

コード:

--- status    2010-05-02 16:11:40.000000000 +0900
+++ status-old    2010-05-02 10:05:47.000000000 +0900
@@ -15019,7 +15019,7 @@
 Architecture: i386
 Version: 2.30.0-0ubuntu1
 Replaces: gnome-network (<= 1.99.5)
-Depends: libc6 (>= 2.7), libgconf2-4 (>= 2.27.0), libglib2.0-0 (>= 2.23.5), libgtk2.0-0 (>= 2.14.0), libgtop2-7 (>= 2.20.0), liblaunchpad-integration1 (>= 0.1.17), libpango1.0-0 (>= 1.14.0), dnsutils, net-tools, iputils-ping | ping, iputils-tracepath, whois
+Depends: libc6 (>= 2.7), libgconf2-4 (>= 2.27.0), libglib2.0-0 (>= 2.23.5), libgtk2.0-0 (>= 2.14.0), libgtop2-7 (>= 2.20.0), liblaunchpad-integration1 (>= 0.1.17), libpango1.0-0 (>= 1.14.0), dnsutils, net-tools, iputils-ping | ping, iputils-tracepath, whois
 Suggests: gnome-system-tools
 Conflicts: gnome-network (<= 1.99.5)
 Description: network information tool for GNOME
@@ -18714,42 +18714,6 @@
  to Microsoft VPN servers.
 Original-Maintainer: Craig Box <[email protected]>
 
-Package: sgt-puzzles
-Status: install ok unpacked
-Priority: extra
-Section: games
-Installed-Size: 2228
-Maintainer: Ubuntu Developers <[email protected]>
-Architecture: i386
-Version: 8692-1
-Depends: libatk1.0-0 (>= 1.20.0), libc6 (>= 2.4), libcairo2 (>= 1.2.4), libfontconfig1 (>= 2.4.0), libfreetype6 (>= 2.2.1), libglib2.0-0 (>= 2.16.0), libgtk2.0-0 (>= 2.12.0), libpango1.0-0 (>= 1.14.0)
-Recommends: yelp | khelpcenter | www-browser
-Description: Simon Tatham's Portable Puzzle Collection - 1-player puzzle games
- Simon Tatham's Portable Puzzle Collection contains a number of popular
- puzzle games for one player.  It currently consists of these games:
- .
-  * Topological deduction games: Bridges; Loopy; Map; Net, based on FreeNet;
-    Slant
-  * Tile manipulation games: Cube; Fifteen; Flip; Netslide; Sixteen; Twiddle
-  * Black Box
-  * Dominosa
-  * Filling, based on Fillomino
-  * Galaxies, based on Tentai Show
-  * Guess, based on Mastermind
-  * Inertia
-  * Light Up
-  * Mines, based on Minesweeper
-  * Pattern, an implementation of nonograms
-  * Pegs, an implementation of several versions of peg solitaire
-  * Rectangles, based on Divide by Squares
-  * Same Game
-  * Solo, based on Sudoku
-  * Tents
-  * Unequal, based on Futoshiki
-  * Untangle, based on Planarity
-Original-Maintainer: Ben Hutchings <[email protected]>
-Homepage: http://www.chiark.greenend.org.uk/~sgtatham/puzzles/
-
 Package: libtommath0
 Status: install ok installed
 Priority: extra
@@ -41717,7 +41681,7 @@
 Original-Maintainer: Ikuya Awashiro <[email protected]>
 Homepage: http://kasumi.sourceforge.jp/
 
-Package: iputils-ping
+Package: iputils-ping
 Status: install ok installed
 Priority: important
 Section: net
@@ -51170,7 +51134,7 @@
 Architecture: i386
 Source: ubuntu-meta
 Version: 1.197
-Depends: adduser, apt, apt-utils, bzip2, console-setup, dash, debconf, dhcp3-client, eject, gnupg, ifupdown, initramfs-tools, iproute, iputils-ping, kbd, less, libc6-i686, locales, lsb-release, makedev, mawk, module-init-tools, net-tools, netbase, netcat-openbsd, ntpdate, passwd, procps, python, rsyslog, sudo, tasksel, tzdata, ubuntu-keyring, udev, upstart, ureadahead, vim-tiny, whiptail
+Depends: adduser, apt, apt-utils, bzip2, console-setup, dash, debconf, dhcp3-client, eject, gnupg, ifupdown, initramfs-tools, iproute, iputils-ping, kbd, less, libc6-i686, locales, lsb-release, makedev, mawk, module-init-tools, net-tools, netbase, netcat-openbsd, ntpdate, passwd, procps, python, rsyslog, sudo, tasksel, tzdata, ubuntu-keyring, udev, upstart, ureadahead, vim-tiny, whiptail
 Description: Minimal core of Ubuntu
  This package depends on all of the packages in the Ubuntu minimal system,
  that is a functional command-line system with the following capabilities:
@@ -52153,7 +52117,7 @@
 Version: 3:20071127-2ubuntu1
 Replaces: netbase (<< 4.00)
 Depends: libc6 (>= 2.4)
-Conflicts: arping, iputils-ping (<< 20001110-6), suidmanager (<< 0.50)
+Conflicts: arping, iputils-ping (<< 20001110-6), suidmanager (<< 0.50)
 Description: Tool to send ARP Requests for an IP address
  The standard ping command sends ICMP Echo Requests to an IP address.
  To do that on an Ethernet-type link, however, the sending node needs

オフライン

 

#4 2010-07-31 14:19:38

Templer
メンバ
登録日: 2009-07-08

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

どうやら、「/var/lib/dpkg/status」に記述されている「iputils-ping」に変な文字が追加されてしまったようです。
同ファイルを管理者権限で開いて「diff」による差分を参考にしながら文字化けた文字を削除(修正)してみてください。

それと、何が原因でこうなったのかわかりませんが、もし、これ以外にも "データの化け" などが発生するようでしたら、メモリーチェックを行なってください。

オフライン

 

#5 2010-08-01 07:51:22

hiro208
メンバ
登録日: 2009-03-14

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

Templerさん
ご指摘のとおり「/var/lib/dpkg/status」の「iputils-ping」の後ろに””が4ヶ所あり、これを削除したところアップデートマネージャーは正常に動作しました。

でも、原因が思いつきません。1度、シャットダウンせずに電源が切れてしまった事があったのですが…。
暫くこの状態で使ってみます。
ありがとううございました。

オフライン

 

Board footer

Powered by FluxBB