お知らせ

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

#1 2010-12-30 05:10:51

avon
メンバ
登録日: 2010-12-30

libmagickcore3とlinux-headers-2.6.35-22がインストールできません

Ubuntu10.10をインストールしたばかりなのですが、アップデート・マネージャで重要なセキュリティアップデートの
libmagickcore3とlinux-headers-2.6.35-22がインストールできません。
私は、Ubuntu初心者なので皆様の知恵を拝借させて頂きたいです。

以下がエラーメッセージです。

libmagickcore3 7:6.6.2.6-1ubuntu1 を (.../libmagickcore3_7%3a6.6.2.6-1ubuntu1.1_i386.deb で) 置換するための準備をしています ...

libmagickcore3 を展開し、置換しています...

dpkg-deb (サブプロセス): failed to read on buffer copy for コピー中にパイプへの書き込みに失敗しました: 入力/出力エラーです

dpkg-deb: サブプロセス paste はエラー終了ステータス 2 を返しました

dpkg: /var/cache/apt/archives/libmagickcore3_7%3a6.6.2.6-1ubuntu1.1_i386.deb の処理中にエラーが発生しました (--unpack):

short read on buffer copy for `./usr/lib/ImageMagick-6.6.2/modules-Q16/coders/map.so' 間の dpkg-deb バックエンド

linux-headers-2.6.35-22 2.6.35-22.33 を (.../linux-headers-2.6.35-22_2.6.35-22.35_all.deb で) 置換するための準備をしています ...

linux-headers-2.6.35-22 を展開し、置換しています...

dpkg-deb (サブプロセス): failed to read on buffer copy for コピー中にパイプへの書き込みに失敗しました: 入力/出力エラーです

dpkg-deb: サブプロセス paste はエラー終了ステータス 2 を返しました

dpkg: /var/cache/apt/archives/linux-headers-2.6.35-22_2.6.35-22.35_all.deb の処理中にエラーが発生しました (--unpack):

short read on buffer copy for `./usr/src/linux-headers-2.6.35-22/arch/um/sys-ppc/Makefile' 間の dpkg-deb バックエンド

以下のパッケージの処理中にエラーが発生しました:

/var/cache/apt/archives/libmagickcore3_7%3a6.6.2.6-1ubuntu1.1_i386.deb

/var/cache/apt/archives/linux-headers-2.6.35-22_2.6.35-22.35_all.deb


両方ともに同様のエラーメッセージが出ているので、原因も同じだと思うのですが、どうすればいいのでしょうか?

オフライン

 

#2 2010-12-30 09:37:02

uotora
メンバ
登録日: 2008-06-18

Re: libmagickcore3とlinux-headers-2.6.35-22がインストールできません

あなたのマシン環境の提示と アプリケーション>アクセサリ>端末 で次を実行し結果を提示してください。

コード:

sudo fdisk -l

コード:

df

オフライン

 

#3 2010-12-30 10:06:38

koisan1949
メンバ
From: Hyogo, Japan
登録日: 2007-11-11

Re: libmagickcore3とlinux-headers-2.6.35-22がインストールできません

uotoraさんが想定されているハードディスクの不具合も要因の1つですが、
単なるパッケージ管理の不具合によるアップデートのエラーの様でもあります。
そこで、#2 で提示されている端末にて、
次のコマンドを実行し、copy & past してその結果を知らせてください。
~$ dpkg --audit

このコマンドの結果で、普通は対処の仕方が明示されるはずです。

それとこちらに似た症状のコメントが、
検索「short read in buffer_copy (failed to write to pipe in copy)」でヒットしました。
http://www.linuxquestions.org/questions … kg-334285/
この事例だと、下記コマンドで治るようですが。。。
~$ sudo dpkg--configure -a

オフライン

 

#4 2010-12-31 09:16:36

avon
メンバ
登録日: 2010-12-30

Re: libmagickcore3とlinux-headers-2.6.35-22がインストールできません

uotoraさん、koisan1949さん、アドバイスありがとうございます。
以下が御二方のアドバイスを実行した結果です。

sudo fdisk -l
ディスク /dev/sda: 200.0 GB, 200049647616 バイト
ヘッド 255, セクタ 63, シリンダ 24321
Units = シリンダ数 of 16065 * 512 = 8225280 バイト
セクタサイズ (論理 / 物理): 512 バイト / 512 バイト
I/O size (minimum/optimal): 512 bytes / 512 bytes
ディスク識別子: 0x00038120

デバイス ブート      始点        終点     ブロック   Id  システム
/dev/sda1   *           1       23939   192288768   83  Linux
/dev/sda2           23940       24322     3069953    5  拡張領域
/dev/sda5           23940       24322     3069952   82  Linux スワップ / Solaris

df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sda1            189269780   6248208 173407136   4% /
none                    502472       304    502168   1% /dev
none                    508068       124    507944   1% /dev/shm
none                    508068        88    507980   1% /var/run
none                    508068         0    508068   0% /var/lock

dpkg --audit
何も起きませんでした。

sudo dpkg--configure -a はまだ試していません。

次は何をすればいいのでしょうか?

オフライン

 

#5 2010-12-31 15:04:43

koisan1949
メンバ
From: Hyogo, Japan
登録日: 2007-11-11

Re: libmagickcore3とlinux-headers-2.6.35-22がインストールできません

HDDは1台で、それにまるごとUbuntuを導入されたのですか。。。

ハードディスクにはバッドセクタなどないので、問題ないようです。
ただswap領域は、別に拡張領域に導入しなくても基本領域でもよかったはずでした。

$ dpkg --audit の結果、何も表示されなかったのなら、それなりに問題がないと言うことです。
そこで、不具合は生じないので、提示したコマンドを実行してください。
$ sudo dpkg --configure -a

この結果をcopy & past してください。何も表示されないときは、次のコマンドを試してください。
$ sudo dpkg --configure --pending
この結果をcopy & past してください。 結果次第で、次の手段を考察します。

オフライン

 

#6 2010-12-31 21:31:57

avon
メンバ
登録日: 2010-12-30

Re: libmagickcore3とlinux-headers-2.6.35-22がインストールできません

koisan1949さんのおっしゃった
$ sudo dpkg --configure -a
$ sudo dpkg --configure --pending
共に何も起きませんでした。
次の手段をご教示お願いします。

オフライン

 

#7 2011-01-03 10:24:17

koisan1949
メンバ
From: Hyogo, Japan
登録日: 2007-11-11

Re: libmagickcore3とlinux-headers-2.6.35-22がインストールできません

普通ならこれまでのコマドンドで、何らかの反応が現れるのですが。。。
sources.listのdebファイルに不具合が出ているのかも。。。

どこが悪いのか、私の力量では無理かもしれないです。
次のコマンドは、不具合は出ませんので実行してみてください。
$ sudo apt-get autoclean
$ sudo apt-get update
この結果をcopy & past してください。

オフライン

 

#8 2011-01-03 10:36:57

koisan1949
メンバ
From: Hyogo, Japan
登録日: 2007-11-11

Re: libmagickcore3とlinux-headers-2.6.35-22がインストールできません

追記 #7 で、#1 と同じerrorが出た場合、
$ gksu gedit /etc/apt/sources.list
にて、その内容をcopy & past してください。

どなたか、サポートしていただけませんか。。。

オフライン

 

#9 2011-01-03 11:36:53

zagan
メンバ
登録日: 2008-08-12

Re: libmagickcore3とlinux-headers-2.6.35-22がインストールできません

1/3時点での最新のカーネルが2.6.35-24-genericなので、sources.listが古いのかもしれませんね。
aptがらみのエラー時には、なにはなくとも

コード:

sudo apt-get update

してみましょう。
それ以上になると、ちょとわかりませぬ。

なお、インストールして apt-get update apt-get upgrade だけしたsources.listのリンクを貼っておきます。

オフライン

 

#10 2011-01-03 12:00:54

zagan
メンバ
登録日: 2008-08-12

Re: libmagickcore3とlinux-headers-2.6.35-22がインストールできません

すみません。
アップデートしようとしてのエラーだったんですね。

オフライン

 

#11 2011-01-03 16:44:48

avon
メンバ
登録日: 2010-12-30

Re: libmagickcore3とlinux-headers-2.6.35-22がインストールできません

$ sudo apt-get autoclean
パッケージリストを読み込んでいます... 完了
依存関係ツリーを作成しています               
状態情報を読み取っています... 完了

ヒット http://ubuntutym.u-toyama.ac.jp maverick Release.gpg
無視 http://ubuntutym.u-toyama.ac.jp/ubuntu/ maverick/main Translation-en     
ヒット http://ubuntutym.u-toyama.ac.jp/ubuntu/ maverick/main Translation-ja   
無視 http://ubuntutym.u-toyama.ac.jp/ubuntu/ maverick/multiverse Translation-en
ヒット http://ubuntutym.u-toyama.ac.jp/ubuntu/ maverick/multiverse Translation-ja
無視 http://ubuntutym.u-toyama.ac.jp/ubuntu/ maverick/restricted Translation-en
無視 http://ubuntutym.u-toyama.ac.jp/ubuntu/ maverick/restricted Translation-ja
無視 http://ubuntutym.u-toyama.ac.jp/ubuntu/ maverick/universe Translation-en 
ヒット http://ubuntutym.u-toyama.ac.jp/ubuntu/ maverick/universe Translation-ja
ヒット http://ubuntutym.u-toyama.ac.jp maverick-updates Release.gpg           
無視 http://ubuntutym.u-toyama.ac.jp/ubuntu/ maverick-updates/main Translation-en
無視 http://ubuntutym.u-toyama.ac.jp/ubuntu/ maverick-updates/main Translation-ja
無視 http://ubuntutym.u-toyama.ac.jp/ubuntu/ maverick-updates/multiverse Translation-en
無視 http://ubuntutym.u-toyama.ac.jp/ubuntu/ maverick-updates/multiverse Translation-ja
無視 http://ubuntutym.u-toyama.ac.jp/ubuntu/ maverick-updates/restricted Translation-en
無視 http://ubuntutym.u-toyama.ac.jp/ubuntu/ maverick-updates/restricted Translation-ja
無視 http://ubuntutym.u-toyama.ac.jp/ubuntu/ maverick-updates/universe Translation-en
無視 http://ubuntutym.u-toyama.ac.jp/ubuntu/ maverick-updates/universe Translation-ja
ヒット http://ubuntutym.u-toyama.ac.jp maverick-security Release.gpg           
無視 http://ubuntutym.u-toyama.ac.jp/ubuntu/ maverick-security/main Translation-en
無視 http://ubuntutym.u-toyama.ac.jp/ubuntu/ maverick-security/main Translation-ja
無視 http://ubuntutym.u-toyama.ac.jp/ubuntu/ maverick-security/multiverse Translation-en
無視 http://ubuntutym.u-toyama.ac.jp/ubuntu/ maverick-security/multiverse Translation-ja
無視 http://ubuntutym.u-toyama.ac.jp/ubuntu/ maverick-security/restricted Translation-en
無視 http://ubuntutym.u-toyama.ac.jp/ubuntu/ maverick-security/restricted Translation-ja
無視 http://ubuntutym.u-toyama.ac.jp/ubuntu/ maverick-security/universe Translation-en
無視 http://ubuntutym.u-toyama.ac.jp/ubuntu/ maverick-security/universe Translation-ja
ヒット http://ubuntutym.u-toyama.ac.jp maverick Release                       
ヒット http://ubuntutym.u-toyama.ac.jp maverick-updates Release               
ヒット http://ubuntutym.u-toyama.ac.jp maverick-security Release               
ヒット http://ubuntutym.u-toyama.ac.jp maverick/main Sources                   
ヒット http://ubuntutym.u-toyama.ac.jp maverick/restricted Sources             
ヒット http://ubuntutym.u-toyama.ac.jp maverick/multiverse Sources             
ヒット http://ubuntutym.u-toyama.ac.jp maverick/universe Sources               
ヒット http://ubuntutym.u-toyama.ac.jp maverick/main i386 Packages             
ヒット http://ubuntutym.u-toyama.ac.jp maverick/restricted i386 Packages       
ヒット http://ubuntutym.u-toyama.ac.jp maverick/universe i386 Packages         
ヒット http://ubuntutym.u-toyama.ac.jp maverick/multiverse i386 Packages       
ヒット http://ubuntutym.u-toyama.ac.jp maverick-updates/restricted Sources     
ヒット http://ubuntutym.u-toyama.ac.jp maverick-updates/main Sources           
ヒット http://ubuntutym.u-toyama.ac.jp maverick-updates/multiverse Sources     
ヒット http://ubuntutym.u-toyama.ac.jp maverick-updates/universe Sources       
ヒット http://ubuntutym.u-toyama.ac.jp maverick-updates/main i386 Packages     
ヒット http://ubuntutym.u-toyama.ac.jp maverick-updates/restricted i386 Packages
ヒット http://ubuntutym.u-toyama.ac.jp maverick-updates/universe i386 Packages
ヒット http://ubuntutym.u-toyama.ac.jp maverick-updates/multiverse i386 Packages
ヒット http://ubuntutym.u-toyama.ac.jp maverick-security/restricted Sources   
ヒット http://ubuntutym.u-toyama.ac.jp maverick-security/main Sources         
ヒット http://ubuntutym.u-toyama.ac.jp maverick-security/multiverse Sources   
ヒット http://ubuntutym.u-toyama.ac.jp maverick-security/universe Sources     
ヒット http://ubuntutym.u-toyama.ac.jp maverick-security/main i386 Packages   
ヒット http://ubuntutym.u-toyama.ac.jp maverick-security/restricted i386 Packages
ヒット http://ubuntutym.u-toyama.ac.jp maverick-security/universe i386 Packages
ヒット http://ubuntutym.u-toyama.ac.jp maverick-security/multiverse i386 Packages
ヒット http://archive.ubuntulinux.jp maverick Release.gpg                     
無視 http://archive.ubuntulinux.jp/ubuntu/ maverick/main Translation-en       
無視 http://archive.ubuntulinux.jp/ubuntu/ maverick/main Translation-ja       
ヒット http://archive.ubuntulinux.jp maverick-non-free/ Release.gpg           
無視 http://archive.ubuntulinux.jp/ubuntu-ja/ maverick-non-free/ Translation-en
無視 http://archive.ubuntulinux.jp/ubuntu-ja/ maverick-non-free/ Translation-ja
ヒット http://archive.ubuntulinux.jp maverick Release                         
ヒット http://archive.ubuntulinux.jp maverick-non-free/ Release               
無視 http://archive.ubuntulinux.jp maverick/main Sources                       
ヒット http://archive.ubuntulinux.jp maverick/main i386 Packages               
ヒット http://archive.canonical.com maverick Release.gpg                       
無視 http://archive.canonical.com/ubuntu/ maverick/partner Translation-en     
ヒット http://archive.ubuntulinux.jp maverick-non-free/ Sources               
ヒット http://ppa.launchpad.net maverick Release.gpg                           
無視 http://ppa.launchpad.net/jd-team/jdownloader/ubuntu/ maverick/main Translation-en
無視 http://ppa.launchpad.net/jd-team/jdownloader/ubuntu/ maverick/main Translation-ja
ヒット http://archive.ubuntulinux.jp maverick-non-free/ Packages               
無視 http://archive.ubuntulinux.jp maverick/main Sources                       
ヒット http://archive.ubuntulinux.jp maverick/main Sources                     
ヒット http://extras.ubuntu.com maverick Release.gpg                           
無視 http://extras.ubuntu.com/ubuntu/ maverick/main Translation-en             
無視 http://archive.canonical.com/ubuntu/ maverick/partner Translation-ja     
ヒット http://archive.canonical.com maverick Release           
ヒット http://ppa.launchpad.net maverick Release.gpg                           
無視 http://ppa.launchpad.net/tualatrix/ppa/ubuntu/ maverick/main Translation-en
無視 http://ppa.launchpad.net/tualatrix/ppa/ubuntu/ maverick/main Translation-ja
ヒット http://ppa.launchpad.net maverick Release.gpg                           
無視 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu/ maverick/main Translation-en
無視 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu/ maverick/main Translation-ja
ヒット http://ppa.launchpad.net maverick Release                               
無視 http://extras.ubuntu.com/ubuntu/ maverick/main Translation-ja             
ヒット http://extras.ubuntu.com maverick Release                               
ヒット http://ppa.launchpad.net maverick Release                               
ヒット http://ppa.launchpad.net maverick Release                               
ヒット http://archive.canonical.com maverick/partner Sources                   
ヒット http://extras.ubuntu.com maverick/main Sources                         
ヒット http://ppa.launchpad.net maverick/main Sources                         
ヒット http://ppa.launchpad.net maverick/main i386 Packages                   
ヒット http://archive.canonical.com maverick/partner i386 Packages             
ヒット http://extras.ubuntu.com maverick/main i386 Packages   
ヒット http://ppa.launchpad.net maverick/main Sources         
ヒット http://ppa.launchpad.net maverick/main i386 Packages
ヒット http://ppa.launchpad.net maverick/main Sources
ヒット http://ppa.launchpad.net maverick/main i386 Packages
パッケージリストを読み込んでいます... 完了

koisan1949に指示頂いた2つのコマンドの結果は以上です。
次のステップはあるでしょうか?
ちなみにdebファイルというのは、Windowsのインストーラーのexeファイルのようなものですか?
もしそうならば、問題の2つのdebファイルを一旦削除し、再びダウンロードすることで問題が解決する可能性はあるでしょうか?

オフライン

 

#12 2011-01-03 23:00:52

koisan1949
メンバ
From: Hyogo, Japan
登録日: 2007-11-11

Re: libmagickcore3とlinux-headers-2.6.35-22がインストールできません

#11で提示された一覧は、autoclean 後のsudo apt-get updateの結果ですね。

autocleanをすることで、
余計なパッケージをインストールが途中で止まった場合やもdebファイルをdownloadしただけ等、
必要ないものが残っていると悪さをするときがあります。これを除去したのです。
errorもなく、すんなりとapt-get updateが完了しています。

後は、$ sudo apt-get upgrade か、GUIならアップデート・マネージャを実行してください。
もしこのときerrorが出たら、その内容をcopy & pastしてください。(まずOKと思います。)

avonさん による投稿:

ちなみにdebファイルというのは、Windowsのインストーラーのexeファイルのようなものですか?
もしそうならば、問題の2つのdebファイルを一旦削除し、
再びダウンロードすることで問題が解決する可能性はあるでしょうか?

1.debファイルというのは、Windowsのインストーラーのexeファイルとは違います。
 ファイル管理に対する発想が異なります。
 debian系linuxにおいて管理されている1つまたは2つ以上のファイルをパッケージングしたものです。
 依存関係を内包していて、インストールを自動的に個々のシステム環境に合わせてくれます。
2.問題はなくなりましたので、2つのdebファイルの削除については意味をなしません。
 ファイル本体の不具合を明示しているのではありません。パッケージがおかしいと言っているだけです。
 これらのdebファイルは、sources.listに記載されている項目のことです。
 これによりパッケージの実体であるdebファイルを取り込むことを指定しているのです。

Ubuntuのパッケージ管理については、奥が深く簡単には説明できないです。
検索すれば、ものすごい量の情報が得られると思います。焦らずゆっくりと勉強してください。

オフライン

 

#13 2011-01-04 10:15:38

avon
メンバ
登録日: 2010-12-30

Re: libmagickcore3とlinux-headers-2.6.35-22がインストールできません

koisan1949さん、debファイルの丁寧な説明ありがとうございます。
Ubuntuについては少しずつ学んでいこうと思います。

GUIからアップデート・マネージャを実行したのですが、#1と同じエラーが出ました。
その後、もう一度$ sudo apt-get autoclean $ sudo apt-get updateを行ったところ
$ sudo apt-get updateの最後の行の
パッケージリストを読み込んでいます... 完了の次の行に

W: Duplicate sources.list entry http://archive.canonical.com/ubuntu/ maverick/partner i386 Packages (/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_maverick_partner_binary-i386_Packages)
W: これらの問題を解決するためには apt-get update を実行する必要があるかもしれません

というメッセージが出ました。
その後すぐにもう一度$ sudo apt-get updateを行うと、パッケージリストを読み込んでいます... 完了
でメッセージが終わりました。何かsource.listに問題があるのでしょうか?

オフライン

 

#14 2011-01-04 10:48:20

koisan1949
メンバ
From: Hyogo, Japan
登録日: 2007-11-11

Re: libmagickcore3とlinux-headers-2.6.35-22がインストールできません

avonさん による投稿:

W: Duplicate sources.list entry http://archive.canonical.com/ubuntu/ maverick/partner i386 Packages (/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_maverick_partner_binary-i386_Packages)
W: これらの問題を解決するためには apt-get update を実行する必要があるかもしれません

これはアップデート段階で何らかの不具合が出て、sources.listに重複が発生したことを示唆しています。
これはソフトウェア・ソースの他のソフトウェア欄の一番上に記載されているCanonicalのパートナー項についての重複不具合です。
「deb http://archive.canonical.com/ubuntu maverick partner」です。

放っておいてもerrorを表示するだけで問題ないのですが、やはり気になるし、面白くありません。
$ gksu gedit /etc/apt/sources.list
 このコマンドにて、GUIモードで操作する「gedit」と言うエディタを起動させ、「sources.list」を直接編集保存します。
...
省略
## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://jp.archive.ubuntu.com/ubuntu/ maverick-backports main restricted universe multiverse
# deb-src http://jp.archive.ubuntu.com/ubuntu/ maverick-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://archive.canonical.com/ubuntu maverick partner
deb-src http://archive.canonical.com/ubuntu maverick partner
省略
...
私の場合の重複errorを修正した事例です。
backports関連で重複errorが出たので、コメントアウトするため行の先端に「#」を追加しています。

同様に#を追記することで、貴君の場合はboldの箇所です。そうすれば、errorは表示されなくなります。

オフライン

 

#15 2011-01-04 11:02:10

koisan1949
メンバ
From: Hyogo, Japan
登録日: 2007-11-11

Re: libmagickcore3とlinux-headers-2.6.35-22がインストールできません

追記
$ sudo rm /var/lib/apt/lists/archive.canonical.com_ubuntu_dists_maverick_partner_binary-i386_Packages
 として、不具合箇所を直接削除する手法を取ればOKと思われますが、これは一時しのぎです。
 再起動すれば、元の木阿弥です。
ただし、システムからの助言「W: これらの問題を解決するためには apt-get update を実行する必要があるかもしれません」
を行って治ったなら、#14の操作は必要ないです。逆に不具合を誘発します。

オフライン

 

#16 2011-01-04 11:15:04

koisan1949
メンバ
From: Hyogo, Japan
登録日: 2007-11-11

Re: libmagickcore3とlinux-headers-2.6.35-22がインストールできません

#14の説明に、舌足らずで誤解を招くと反省しました。

重複しているとのシステムからの指摘は、sources.listに単に
deb http://archive.canonical.com/ubuntu maverick partnerが、2ヶ所存在すると言う意味です。
どの行かに同じものがありますので、こちらの余計な箇所を削除してしまうのが正論かなと思います。

オフライン

 

#17 2011-01-04 13:03:15

avon
メンバ
登録日: 2010-12-30

Re: libmagickcore3とlinux-headers-2.6.35-22がインストールできません

# deb cdrom:[Ubuntu 10.10 _Maverick Meerkat_ - Release i386 (20101007)]/ maverick main restricted
deb-src http://ubuntutym.u-toyama.ac.jp/ubuntu/ maverick main restricted #Added by software-properties
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://ubuntutym.u-toyama.ac.jp/ubuntu/ maverick main restricted
deb-src http://ubuntutym.u-toyama.ac.jp/ubuntu/ maverick multiverse universe #Added by software-properties

## Major bug fix updates produced after the final release of the
## distribution.
deb http://ubuntutym.u-toyama.ac.jp/ubuntu/ maverick-updates main restricted
deb-src http://ubuntutym.u-toyama.ac.jp/ubuntu/ maverick-updates restricted main multiverse universe #Added by software-properties

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://ubuntutym.u-toyama.ac.jp/ubuntu/ maverick universe
deb http://ubuntutym.u-toyama.ac.jp/ubuntu/ maverick-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://ubuntutym.u-toyama.ac.jp/ubuntu/ maverick multiverse
deb http://ubuntutym.u-toyama.ac.jp/ubuntu/ maverick-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
以下がsources.listの全文です。

## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://archive.canonical.com/ubuntu maverick partner
deb-src http://archive.canonical.com/ubuntu maverick partner

## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://extras.ubuntu.com/ubuntu maverick main
deb-src http://extras.ubuntu.com/ubuntu maverick main

deb http://ubuntutym.u-toyama.ac.jp/ubuntu/ maverick-security main restricted
deb-src http://ubuntutym.u-toyama.ac.jp/ubuntu/ maverick-security restricted main multiverse universe #Added by software-properties
deb http://ubuntutym.u-toyama.ac.jp/ubuntu/ maverick-security universe
deb http://ubuntutym.u-toyama.ac.jp/ubuntu/ maverick-security multiverse

deb http://archive.canonical.com/ubuntu maverick partnerが2箇所存在するということで探してみたのですが、
見つからないのですが、source.listには問題ないということなのでしょうか?

オフライン

 

#18 2011-01-04 13:19:03

koisan1949
メンバ
From: Hyogo, Japan
登録日: 2007-11-11

Re: libmagickcore3とlinux-headers-2.6.35-22がインストールできません

avonさん による投稿:

deb http://archive.canonical.com/ubuntu maverick partnerが2箇所存在するということで探してみたのですが、
見つからないのですが、source.listには問題ないということなのでしょうか?

重複したものが存在しなければ、問題ないです。

そうすると「apt-get update」でerrorメッセージは出ないはずですが。。。 出るのですか?

オフライン

 

#19 2011-01-04 22:03:00

avon
メンバ
登録日: 2010-12-30

Re: libmagickcore3とlinux-headers-2.6.35-22がインストールできません

apt-get updateを時間をおいて何回もやってみたのですが、

W: Duplicate sources.list entry http://archive.canonical.com/ubuntu/ maverick/partner i386 Packages (/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_maverick_partner_binary-i386_Packages)
W: これらの問題を解決するためには apt-get update を実行する必要があるかもしれません

というエラーメッセージが出るときもあれば、出ない時もありました。
また、エラーがでた場合も、apt-get updateを直後にもう一度することで、エラーが出ない時と、
何度apt-get updateを繰り返しても同じエラーがで続けた時がありました。
念のためsources.list時間をおいて数回確認しましたが、重複箇所はありませんでした。

どうしたものでしょうか?

オフライン

 

#20 2011-01-06 01:58:37

koisan1949
メンバ
From: Hyogo, Japan
登録日: 2007-11-11

Re: libmagickcore3とlinux-headers-2.6.35-22がインストールできません

うーん困りました。。。
1.重複がないか調べます。
$ gedit /etc/apt/sources.list.d/ubuntu-ja.list
 書き込みできない設定で、geditにてubuntu-ja.listを開き、その内容をcopy & past してください。

2.それと、無駄かもしれないですが、このファイルを削除してみてください。
$ sudo rm /var/lib/apt/lists/archive.canonical.com_ubuntu_dists_maverick_partner_binary-i386_Packages

W: Duplicate sources.listへの対処は、何ヶ月か前に試行錯誤して直した経験があるのですが。。。
現在は問題ないので。。。 その時、どうしたのか、忘れてしまったのです。ごめんなさい。

オフライン

 

#21 2011-01-06 19:38:34

STGSAGWAN
ゲスト

Re: libmagickcore3とlinux-headers-2.6.35-22がインストールできません

この重複はたかが警告(warning)レベルなので、このトピック内ですぐに直す必要性もない、と思います。
※メッセージの頭に「W:」とついているので、警告(warning)です。
で、重複については、今回の主たるトラブルが解決した後に、別トピックを立ててもらえばよいかなと。

 

#22 2011-01-07 19:45:42

avon
メンバ
登録日: 2010-12-30

Re: libmagickcore3とlinux-headers-2.6.35-22がインストールできません

koisan1949さん、以下がubuntu-ja.listの内容です。

## Ubuntu Japanese LoCo Team's 3rd party repository for Ubuntu 10.10
## Please report any bug on https://bugs.launchpad.net/ubuntu-jp-improvement
deb http://archive.ubuntulinux.jp/ubuntu maverick main
deb-src http://archive.ubuntulinux.jp/ubuntu maverick main
deb http://archive.ubuntulinux.jp/ubuntu-ja maverick-non-free/
deb-src http://archive.ubuntulinux.jp/ubuntu-ja maverick-non-free/

また、
$ sudo rm /var/lib/apt/lists/archive.canonical.com_ubuntu_dists_maverick_partner_binary-i386_Packages
を実行し、直後に
sudo apt-get upgrade
を行ないましたが、エラーメッセージの一番最後の行に
E: Sub-process /usr/bin/dpkg returned an error code (1)
と出た以外は#1と同様のエラーが出ました。

次の一手はどうしたらいいでしょうか?

オフライン

 

#23 2011-01-07 23:03:18

koisan1949
メンバ
From: Hyogo, Japan
登録日: 2007-11-11

Re: libmagickcore3とlinux-headers-2.6.35-22がインストールできません

STGSAGWANさん による投稿:

この重複はたかが警告(warning)レベルなので、このトピック内ですぐに直す必要性もない、と思います。
※メッセージの頭に「W:」とついているので、警告(warning)です。
で、重複については、今回の主たるトラブルが解決した後に、別トピックを立ててもらえばよいかなと。

コメントはごもっともなので、動作に支障がないwarningなので、
W: Duplicate sources.listに関しては、別トピックを立てるべきかなと思います。

私ではこのDuplicate warningについて、的確な対処ができません。申し訳ありません。
最後の提案として、次のことを実施されてダメなら、別トピックにて、識者のアドバイスを受けてください。
1.~$ gedit /etc/apt/sources.list.d/ubuntu-ja.list
 この内容は、私の環境と細部まで同じなので問題ないと考えます。
2.~$ gksu gedit /etc/apt/sources.list
 私の環境では不具合が出てませんので、そのままを提示します。
 全文をcopyして差し替え、ミラーの富山大学を元に戻してみてください。
 取り敢えず、リポジトリ設定は、それなりにディフォルトである普通の設定に戻してください。

コード:

# deb cdrom:[Ubuntu 10.10 _Maverick Meerkat_ - Release i386 (20101007)]/ maverick main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://jp.archive.ubuntu.com/ubuntu/ maverick main restricted
deb-src http://jp.archive.ubuntu.com/ubuntu/ maverick main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://jp.archive.ubuntu.com/ubuntu/ maverick-updates main restricted
deb-src http://jp.archive.ubuntu.com/ubuntu/ maverick-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://jp.archive.ubuntu.com/ubuntu/ maverick universe
deb-src http://jp.archive.ubuntu.com/ubuntu/ maverick universe
deb http://jp.archive.ubuntu.com/ubuntu/ maverick-updates universe
deb-src http://jp.archive.ubuntu.com/ubuntu/ maverick-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
## team, and may not be under a free licence. Please satisfy yourself as to 
## your rights to use the software. Also, please note that software in 
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://jp.archive.ubuntu.com/ubuntu/ maverick multiverse
deb-src http://jp.archive.ubuntu.com/ubuntu/ maverick multiverse
deb http://jp.archive.ubuntu.com/ubuntu/ maverick-updates multiverse
deb-src http://jp.archive.ubuntu.com/ubuntu/ maverick-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://jp.archive.ubuntu.com/ubuntu/ maverick-backports main restricted universe multiverse
# deb-src http://jp.archive.ubuntu.com/ubuntu/ maverick-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://archive.canonical.com/ubuntu maverick partner
deb-src http://archive.canonical.com/ubuntu maverick partner

## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://extras.ubuntu.com/ubuntu maverick main
deb-src http://extras.ubuntu.com/ubuntu maverick main

deb http://security.ubuntu.com/ubuntu maverick-security main restricted
deb-src http://security.ubuntu.com/ubuntu maverick-security main restricted
deb http://security.ubuntu.com/ubuntu maverick-security universe
deb-src http://security.ubuntu.com/ubuntu maverick-security universe
deb http://security.ubuntu.com/ubuntu maverick-security multiverse
deb-src http://security.ubuntu.com/ubuntu maverick-security multiverse

オフライン

 

#24 2011-01-10 13:45:49

avon
メンバ
登録日: 2010-12-30

Re: libmagickcore3とlinux-headers-2.6.35-22がインストールできません

koisan1949さんに提案して頂いた
~$ gksu gedit /etc/apt/sources.list
で全文を#23の内容と差し替えを実行した後、sudo apt-get updateを実行したところ
W: Duplicate sources.listのエラーは出ませんでした。

その後 sudo apt-get upgradeをアップデート・マネージャをすると何故か
linux-headers-2.6.35-22は出てこず、libmagickcore3のみしか出てきませんでした。
アップデートのインストールを行うと、以下のエラーメッセージが出ました。

パッケージリストを読み込んでいます... 完了
依存関係ツリーを作成しています               
状態情報を読み取っています... 完了
以下のパッケージはアップグレードされます:
  libmagickcore3
アップグレード: 1 個、新規インストール: 0 個、削除: 0 個、保留: 0 個。
1,652kB 中 0B のアーカイブを取得する必要があります。
この操作後に追加で 0B のディスク容量が消費されます。
続行しますか [Y/n]? y
(データベースを読み込んでいます ... 現在 212972 個のファイルとディレクトリがインストールされています。)
libmagickcore3 7:6.6.2.6-1ubuntu1 を (.../libmagickcore3_7%3a6.6.2.6-1ubuntu1.1_i386.deb で) 置換するための準備をしています ...
libmagickcore3 を展開し、置換しています...
dpkg-deb (サブプロセス): failed to read on buffer copy for コピー中にパイプへの書き込みに失敗しました: 入力/出力エラーです
dpkg-deb: サブプロセス paste はエラー終了ステータス 2 を返しました
dpkg: /var/cache/apt/archives/libmagickcore3_7%3a6.6.2.6-1ubuntu1.1_i386.deb の処理中にエラーが発生しました (--unpack):
short read on buffer copy for `./usr/lib/ImageMagick-6.6.2/modules-Q16/coders/map.so' 間の dpkg-deb バックエンド
以下のパッケージの処理中にエラーが発生しました:
/var/cache/apt/archives/libmagickcore3_7%3a6.6.2.6-1ubuntu1.1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

この後、sudo apt-get updateを再び実行したのですが
W: Duplicate sources.list
のエラーが出てしまい、どうも根本的にはW: Duplicate sources.listは解消していないようです。
W: Duplicate sources.listに関してはSTGSAGWANのご指摘どおりすぐに直す必要性もないとのことなので、
元の問題である libmagickcore3とlinux-headers-2.6.35-22のインストール不可の解決に関係ない場合は
ひとまず放置しておくことにします。

引き続きセキュリティアップデートの問題に関する解決策をお待ちしています。

オフライン

 

#25 2011-01-11 00:14:25

koisan1949
メンバ
From: Hyogo, Japan
登録日: 2007-11-11

Re: libmagickcore3とlinux-headers-2.6.35-22がインストールできません

#23で、取り敢えず、リポジトリ設定は、それなりにディフォルトである普通の設定に戻してください。
ソフトウェア・ソースのアップデート項
maverick-proposed および maverick-backports にチェックを入れてないですか。。。
ここは、普通にUbuntuを利用するなら必要ないところです。外すことを推奨します。
 1.どうしても開発版が必要
 2.サポートがないのが前提ですから、自分でエラーに対処できるスキルが必要

avonさん による投稿:

引き続きセキュリティアップデートの問題に関する解決策をお待ちしています。

普通にupdateとかupgradeしていれば、必然的に自動的にされるものです。
強制的に実施するものではありません。だから、解決策などありません。

オフライン

 

Board footer

Powered by FluxBB