お知らせ

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

#1 2010-05-29 01:45:29

takehito
メンバ
登録日: 2010-05-29

はじめまして、ubuntu初心者です。#apt-get update で無視 http://jp.archive.ubuntu.com/

プリンタの CANON PIXUS 550i のドライバをインストールするため http://mambo.kuhp.kyoto-u.ac.jp/~takushi/ を参考に
/etc/apt/sources.list へ
deb http://mambo.kuhp.kyoto-u.ac.jp/~takushi/ubuntu ./ を追加しました。

その後#apt-get update の時
無視 http://jp.archive.ubuntu.com/ubuntu/ lucid/restricted Translation-ja   
など、いくつかの無視が出ており、

$ sudo apt-get install libcnbj-2.2 bjfilter-2.2 pstocanonbj
パッケージリストを読み込んでいます... 完了
依存関係ツリーを作成しています               
状態情報を読み取っています... 完了
インストールすることができないパッケージがありました。おそらく、あり得
ない状況を要求したか、(不安定版ディストリビューションを使用しているの
であれば) 必要なパッケージがまだ作成されていなかったり Incoming から移
動されていないことが考えられます。
以下の情報がこの問題を解決するために役立つかもしれません:

以下のパッケージには満たせない依存関係があります:
  pstocanonbj: 依存: libcupsys2 (>= 1.2.3)
E: 壊れたパッケージ

$ sudo apt-get install libcupsys2
パッケージリストを読み込んでいます... 完了
依存関係ツリーを作成しています               
状態情報を読み取っています... 完了
注意、libcupsys2 の代わりに libcups2 を選択します
libcups2 はすでに最新バージョンです。
以下のパッケージが自動でインストールされましたが、もう必要とされていません:
  clamav-freshclam libtext-glob-perl libdate-calc-perl libcarp-clan-perl clamav-base libclamav6 libnet-ip-perl libnet-dns-perl
  libfile-find-rule-perl libtommath0 libdigest-hmac-perl libnumber-compare-perl libdigest-sha1-perl libbit-vector-perl
これらを削除するには 'apt-get autoremove' を利用してください。
アップグレード: 0 個、新規インストール: 0 個、削除: 0 個、保留: 15 個。

となります。ubuntuフォーラムにて検索して
http://www.google.com/cse?cx=001746109292524285667%3Ag6oemzj9f3q&ie=UTF-8&q=synaptic+Duplicate&sa=%E6%A4%9C%E7%B4%A2
で下記を試しましたが、状況が違うためか戻せませんでした。
無視の修復、Canon PIXUS 550i ドライバインストール方法があれば教えてください。


$ for file in /etc/apt/sources.list /etc/apt/sources.list.d/*.list; do echo ファイル:$file; cat $file; echo; done
ファイル:/etc/apt/sources.list
# deb cdrom:[Ubuntu 9.10 _Karmic Koala_ - Release i386 (20091028.5)]/ karmic main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb cdrom:[Ubuntu 10.04 LTS _Lucid Lynx_ - Release i386 (20100429)]/ lucid main restricted
deb http://jp.archive.ubuntu.com/ubuntu/ lucid main restricted
deb-src http://jp.archive.ubuntu.com/ubuntu/ lucid main restricted

deb http://mambo.kuhp.kyoto-u.ac.jp/~takushi/ubuntu ./

## Major bug fix updates produced after the final release of the
## distribution.
deb http://jp.archive.ubuntu.com/ubuntu/ lucid-updates main restricted
deb-src http://jp.archive.ubuntu.com/ubuntu/ lucid-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/ lucid universe
deb-src http://jp.archive.ubuntu.com/ubuntu/ lucid universe
deb http://jp.archive.ubuntu.com/ubuntu/ lucid-updates universe
deb-src http://jp.archive.ubuntu.com/ubuntu/ lucid-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/ lucid multiverse
deb-src http://jp.archive.ubuntu.com/ubuntu/ lucid multiverse
deb http://jp.archive.ubuntu.com/ubuntu/ lucid-updates multiverse
deb-src http://jp.archive.ubuntu.com/ubuntu/ lucid-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/ karmic-backports main restricted universe multiverse
# deb-src http://jp.archive.ubuntu.com/ubuntu/ karmic-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 karmic partner
# deb-src http://archive.canonical.com/ubuntu karmic partner

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


ファイル:/etc/apt/sources.list.d/ubuntu-ja.list
## Ubuntu Japanese LoCo Team's 3rd party repository for Ubuntu 9.10
## Please report any bug on https://bugs.launchpad.net/ubuntu-jp-improvement
# deb http://archive.ubuntulinux.jp/ubuntu lucid main # lucidへのアップグレード時に無効化されました
# deb http://archive.ubuntulinux.jp/ubuntu-ja karmic-non-free/ # lucidへのアップグレード時に無効化されました

$ grep -h '^[^#]' /etc/apt/sources.list /etc/apt/sources.list.d/*.list | sort
deb cdrom:[Ubuntu 10.04 LTS _Lucid Lynx_ - Release i386 (20100429)]/ lucid main restricted
deb http://jp.archive.ubuntu.com/ubuntu/ lucid main restricted
deb http://jp.archive.ubuntu.com/ubuntu/ lucid multiverse
deb http://jp.archive.ubuntu.com/ubuntu/ lucid universe
deb http://jp.archive.ubuntu.com/ubuntu/ lucid-updates main restricted
deb http://jp.archive.ubuntu.com/ubuntu/ lucid-updates multiverse
deb http://jp.archive.ubuntu.com/ubuntu/ lucid-updates universe
deb http://mambo.kuhp.kyoto-u.ac.jp/~takushi/ubuntu ./
deb http://security.ubuntu.com/ubuntu lucid-security main restricted
deb http://security.ubuntu.com/ubuntu lucid-security multiverse
deb http://security.ubuntu.com/ubuntu lucid-security universe
deb-src http://jp.archive.ubuntu.com/ubuntu/ lucid main restricted
deb-src http://jp.archive.ubuntu.com/ubuntu/ lucid multiverse
deb-src http://jp.archive.ubuntu.com/ubuntu/ lucid universe
deb-src http://jp.archive.ubuntu.com/ubuntu/ lucid-updates main restricted
deb-src http://jp.archive.ubuntu.com/ubuntu/ lucid-updates multiverse
deb-src http://jp.archive.ubuntu.com/ubuntu/ lucid-updates universe
deb-src http://security.ubuntu.com/ubuntu lucid-security main restricted
deb-src http://security.ubuntu.com/ubuntu lucid-security multiverse
deb-src http://security.ubuntu.com/ubuntu lucid-security universe

オフライン

 

#2 2010-05-29 01:49:48

petitbootang
メンバ
From: 東京都
登録日: 2009-02-12

Re: はじめまして、ubuntu初心者です。#apt-get update で無視 http://jp.archive.ubuntu.com/

http://packages.ubuntu.com/ja/intrepid-updates/libcupsys2
こちらから、libcupsys2 をダウンロード & インストールして、もう一度最初の作業からやってみてください。

オフライン

 

#3 2010-05-29 02:42:22

takehito
メンバ
登録日: 2010-05-29

Re: はじめまして、ubuntu初心者です。#apt-get update で無視 http://jp.archive.ubuntu.com/

やってみました。間違っていたら教えていただきたいです。

$ wget http://packages.ubuntu.com/ja/intrepid-updates/libcupsys2
--2010-05-29 02:38:03--  http://packages.ubuntu.com/ja/intrepid-updates/libcupsys2
packages.ubuntu.com をDNSに問いあわせています... 91.189.94.219
packages.ubuntu.com|91.189.94.219|:80 に接続しています... 接続しました。
HTTP による接続要求を送信しました、応答を待っています... 200 OK
長さ: 特定できません [text/html]
`libcupsys2.1' に保存中

    [  <=>                                                                                      ] 12,151      34.8K/s   時間 0.3s 

2010-05-29 02:38:06 (34.8 KB/s) - `libcupsys2.1' へ保存終了 [12151]

$ 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://mambo.kuhp.kyoto-u.ac.jp ./ Release.gpg                                                                               
無視 http://mambo.kuhp.kyoto-u.ac.jp/~takushi/ubuntu/ ./ Translation-ja                                                           
ヒット http://jp.archive.ubuntu.com lucid Release.gpg                                         
ヒット http://jp.archive.ubuntu.com/ubuntu/ lucid/main Translation-ja                                                       
無視 http://jp.archive.ubuntu.com/ubuntu/ lucid/restricted Translation-ja                                                   
無視 http://mambo.kuhp.kyoto-u.ac.jp ./ Release                                                                             
ヒット http://jp.archive.ubuntu.com/ubuntu/ lucid/universe Translation-ja                                                   
ヒット http://jp.archive.ubuntu.com/ubuntu/ lucid/multiverse Translation-ja                   
ヒット http://jp.archive.ubuntu.com lucid-updates Release.gpg                                 
無視 http://jp.archive.ubuntu.com/ubuntu/ lucid-updates/main Translation-ja                   
無視 http://jp.archive.ubuntu.com/ubuntu/ lucid-updates/restricted Translation-ja             
無視 http://jp.archive.ubuntu.com/ubuntu/ lucid-updates/universe Translation-ja               
無視 http://jp.archive.ubuntu.com/ubuntu/ lucid-updates/multiverse Translation-ja             
無視 http://mambo.kuhp.kyoto-u.ac.jp ./ Packages                                                                             
ヒット http://jp.archive.ubuntu.com lucid Release                                                                           
無視 http://mambo.kuhp.kyoto-u.ac.jp ./ Packages                                                                                   
ヒット http://jp.archive.ubuntu.com lucid-updates Release                                                                   
ヒット http://mambo.kuhp.kyoto-u.ac.jp ./ Packages                                                                                 
ヒット http://jp.archive.ubuntu.com lucid/main Packages                                                                     
ヒット http://jp.archive.ubuntu.com lucid/restricted Packages                                 
ヒット http://jp.archive.ubuntu.com lucid/main Sources                                         
ヒット http://jp.archive.ubuntu.com lucid/restricted Sources                                   
ヒット http://jp.archive.ubuntu.com lucid/universe Packages                                   
ヒット http://jp.archive.ubuntu.com lucid/universe Sources                                     
ヒット http://jp.archive.ubuntu.com lucid/multiverse Packages                                 
ヒット http://jp.archive.ubuntu.com lucid/multiverse Sources   
ヒット http://jp.archive.ubuntu.com lucid-updates/main Packages
ヒット http://jp.archive.ubuntu.com lucid-updates/restricted Packages
ヒット http://jp.archive.ubuntu.com lucid-updates/main Sources
ヒット http://jp.archive.ubuntu.com lucid-updates/restricted Sources
ヒット http://jp.archive.ubuntu.com lucid-updates/universe Packages
ヒット http://jp.archive.ubuntu.com lucid-updates/universe Sources
ヒット http://jp.archive.ubuntu.com lucid-updates/multiverse Packages
ヒット http://jp.archive.ubuntu.com lucid-updates/multiverse Sources
ヒット http://security.ubuntu.com lucid-security Release.gpg   
無視 http://security.ubuntu.com/ubuntu/ lucid-security/main Translation-ja
無視 http://security.ubuntu.com/ubuntu/ lucid-security/restricted Translation-ja
無視 http://security.ubuntu.com/ubuntu/ lucid-security/universe Translation-ja
無視 http://security.ubuntu.com/ubuntu/ lucid-security/multiverse Translation-ja
ヒット http://security.ubuntu.com lucid-security Release
ヒット http://security.ubuntu.com lucid-security/main Packages
ヒット http://security.ubuntu.com lucid-security/restricted Packages
ヒット http://security.ubuntu.com lucid-security/main Sources
ヒット http://security.ubuntu.com lucid-security/restricted Sources
ヒット http://security.ubuntu.com lucid-security/universe Packages
ヒット http://security.ubuntu.com lucid-security/universe Sources
ヒット http://security.ubuntu.com lucid-security/multiverse Packages
ヒット http://security.ubuntu.com lucid-security/multiverse Sources
パッケージリストを読み込んでいます... 完了

$ sudo apt-get install libcnbj-2.2 bjfilter-2.2 pstocanonbj
パッケージリストを読み込んでいます... 完了
依存関係ツリーを作成しています               
状態情報を読み取っています... 完了
インストールすることができないパッケージがありました。おそらく、あり得
ない状況を要求したか、(不安定版ディストリビューションを使用しているの
であれば) 必要なパッケージがまだ作成されていなかったり Incoming から移
動されていないことが考えられます。
以下の情報がこの問題を解決するために役立つかもしれません:

以下のパッケージには満たせない依存関係があります:
  pstocanonbj: 依存: libcupsys2 (>= 1.2.3)
E: 壊れたパッケージ

オフライン

 

#4 2010-05-29 02:53:56

petitbootang
メンバ
From: 東京都
登録日: 2009-02-12

Re: はじめまして、ubuntu初心者です。#apt-get update で無視 http://jp.archive.ubuntu.com/

http://packages.ubuntu.com/ja/intrepid-updates/libcupsys2
こちらから、libcupsys2 をダウンロード & インストールと書きましたが、
$ wget ・・・
だけでは、ダウンロードしただけでインストールしていません。
ダウンロードしたディレクトリで、
$ sudo dpkg -i
するか、もしくはダブルクリックで GDebi パッケージインストーラからインストールして、再度 #1 をやってみてください。

オフライン

 

#5 2010-05-29 03:52:47

takehito
メンバ
登録日: 2010-05-29

Re: はじめまして、ubuntu初心者です。#apt-get update で無視 http://jp.archive.ubuntu.com/

$ sudo aptitude full-upgrade
パッケージリストを読み込んでいます... 完了
依存関係ツリーを作成しています               
状態情報を読み取っています... 完了
拡張状態情報を読み込んでいます     
パッケージの状態を初期化しています... 完了
以下のパッケージは更新されます:
  gvfs gvfs-backends gvfs-bin gvfs-fuse libgvfscommon0 totem totem-common totem-gstreamer totem-mozilla totem-plugins
  totem-plugins-extra vinagre
12 個のパッケージを更新、 0 個を新たにインストール、 0 個を削除予定、0 個が更新されていない。
3,095kB のアーカイブを取得する必要があります。 展開後に 168kB のディスク領域が新たに消費されます。
先に進みますか? [Y/n/?]
拡張状態情報を書き込んでいます... 完了
取得:1 http://jp.archive.ubuntu.com/ubuntu/ lucid-updates/main libgvfscommon0 1.6.1-0ubuntu1build1 [67.3kB]
取得:2 http://jp.archive.ubuntu.com/ubuntu/ lucid-updates/main gvfs-fuse 1.6.1-0ubuntu1build1 [13.8kB]
取得:3 http://jp.archive.ubuntu.com/ubuntu/ lucid-updates/main gvfs-bin 1.6.1-0ubuntu1build1 [60.2kB]
取得:4 http://jp.archive.ubuntu.com/ubuntu/ lucid-updates/main gvfs-backends 1.6.1-0ubuntu1build1 [775kB]
取得:5 http://jp.archive.ubuntu.com/ubuntu/ lucid-updates/main gvfs 1.6.1-0ubuntu1build1 [352kB]
取得:6 http://jp.archive.ubuntu.com/ubuntu/ lucid-updates/universe totem-plugins-extra 2.30.2-0ubuntu1 [111kB]                     
取得:7 http://jp.archive.ubuntu.com/ubuntu/ lucid-updates/main totem-plugins 2.30.2-0ubuntu1 [192kB]                               
取得:8 http://jp.archive.ubuntu.com/ubuntu/ lucid-updates/main totem-mozilla 2.30.2-0ubuntu1 [189kB]                               
取得:9 http://jp.archive.ubuntu.com/ubuntu/ lucid-updates/main totem-common 2.30.2-0ubuntu1 [226kB]                                 
取得:10 http://jp.archive.ubuntu.com/ubuntu/ lucid-updates/main totem 2.30.2-0ubuntu1 [550kB]                                       
取得:11 http://jp.archive.ubuntu.com/ubuntu/ lucid-updates/universe totem-gstreamer 2.30.2-0ubuntu1 [47.9kB]                       
取得:12 http://jp.archive.ubuntu.com/ubuntu/ lucid-updates/main vinagre 2.30.1-0ubuntu1 [512kB]                                     
3,095kB を 17s 秒でダウンロードしました (176kB/s)                                                                                   
(データベースを読み込んでいます ... 現在 139485 個のファイルとディレクトリがインストールされています。)
libgvfscommon0 1.6.0+git20100414-0ubuntu1 を (.../libgvfscommon0_1.6.1-0ubuntu1build1_i386.deb で) 置換するための準備をしています ...
libgvfscommon0 を展開し、置換しています...
gvfs-fuse 1.6.0+git20100414-0ubuntu1 を (.../gvfs-fuse_1.6.1-0ubuntu1build1_i386.deb で) 置換するための準備をしています ...
gvfs-fuse を展開し、置換しています...
gvfs-bin 1.6.0+git20100414-0ubuntu1 を (.../gvfs-bin_1.6.1-0ubuntu1build1_i386.deb で) 置換するための準備をしています ...
gvfs-bin を展開し、置換しています...
gvfs-backends 1.6.0+git20100414-0ubuntu1 を (.../gvfs-backends_1.6.1-0ubuntu1build1_i386.deb で) 置換するための準備をしています ...
gvfs-backends を展開し、置換しています...
gvfs 1.6.0+git20100414-0ubuntu1 を (.../gvfs_1.6.1-0ubuntu1build1_i386.deb で) 置換するための準備をしています ...
gvfs を展開し、置換しています...
totem-plugins-extra 2.30.1-0ubuntu1 を (.../totem-plugins-extra_2.30.2-0ubuntu1_i386.deb で) 置換するための準備をしています ...
totem-plugins-extra を展開し、置換しています...
totem-plugins 2.30.1-0ubuntu1 を (.../totem-plugins_2.30.2-0ubuntu1_i386.deb で) 置換するための準備をしています ...
totem-plugins を展開し、置換しています...
totem-mozilla 2.30.1-0ubuntu1 を (.../totem-mozilla_2.30.2-0ubuntu1_i386.deb で) 置換するための準備をしています ...
totem-mozilla を展開し、置換しています...
totem-common 2.30.1-0ubuntu1 を (.../totem-common_2.30.2-0ubuntu1_all.deb で) 置換するための準備をしています ...
totem-common を展開し、置換しています...
totem 2.30.1-0ubuntu1 を (.../totem_2.30.2-0ubuntu1_i386.deb で) 置換するための準備をしています ...
totem を展開し、置換しています...
totem-gstreamer 2.30.1-0ubuntu1 を (.../totem-gstreamer_2.30.2-0ubuntu1_all.deb で) 置換するための準備をしています ...
totem-gstreamer を展開し、置換しています...
vinagre 2.30.0-0ubuntu2 を (.../vinagre_2.30.1-0ubuntu1_i386.deb で) 置換するための準備をしています ...
vinagre を展開し、置換しています...
libglib2.0-0 のトリガを処理しています ...
man-db のトリガを処理しています ...
hicolor-icon-theme のトリガを処理しています ...
menu のトリガを処理しています ...
python-gmenu のトリガを処理しています ...
Rebuilding /usr/share/applications/desktop.ja_JP.utf8.cache...
desktop-file-utils のトリガを処理しています ...
shared-mime-info のトリガを処理しています ...
python-support のトリガを処理しています ...
libgvfscommon0 (1.6.1-0ubuntu1build1) を設定しています ...

gvfs (1.6.1-0ubuntu1build1) を設定しています ...
gvfs-fuse (1.6.1-0ubuntu1build1) を設定しています ...
gvfs-bin (1.6.1-0ubuntu1build1) を設定しています ...
gvfs-backends (1.6.1-0ubuntu1build1) を設定しています ...

totem-common (2.30.2-0ubuntu1) を設定しています ...

totem (2.30.2-0ubuntu1) を設定しています ...

totem-plugins-extra (2.30.2-0ubuntu1) を設定しています ...
totem-plugins (2.30.2-0ubuntu1) を設定しています ...

totem-mozilla (2.30.2-0ubuntu1) を設定しています ...
totem-gstreamer (2.30.2-0ubuntu1) を設定しています ...
vinagre (2.30.1-0ubuntu1) を設定しています ...

libc-bin のトリガを処理しています ...
ldconfig deferred processing now taking place
menu のトリガを処理しています ...
パッケージリストを読み込んでいます... 完了
依存関係ツリーを作成しています               
状態情報を読み取っています... 完了
拡張状態情報を読み込んでいます     
パッケージの状態を初期化しています... 完了

現在の状態: 更新が 0 個 [-12]。
$ apt-get update
E: ロックファイル /var/lib/apt/lists/lock をオープンできません - open (13: Permission denied)
E: list ディレクトリをロックできません

$ 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 lucid Release.gpg                                                                             
ヒット http://jp.archive.ubuntu.com/ubuntu/ lucid/main Translation-ja                                                             
無視 http://jp.archive.ubuntu.com/ubuntu/ lucid/restricted Translation-ja                                                   
無視 http://mambo.kuhp.kyoto-u.ac.jp ./ Release.gpg                                                                         
無視 http://mambo.kuhp.kyoto-u.ac.jp/~takushi/ubuntu/ ./ Translation-ja                                                     
ヒット http://jp.archive.ubuntu.com/ubuntu/ lucid/universe Translation-ja                                                   
ヒット http://jp.archive.ubuntu.com/ubuntu/ lucid/multiverse Translation-ja                   
ヒット http://jp.archive.ubuntu.com lucid-updates Release.gpg                                 
無視 http://jp.archive.ubuntu.com/ubuntu/ lucid-updates/main Translation-ja                   
無視 http://jp.archive.ubuntu.com/ubuntu/ lucid-updates/restricted Translation-ja             
無視 http://jp.archive.ubuntu.com/ubuntu/ lucid-updates/universe Translation-ja               
無視 http://jp.archive.ubuntu.com/ubuntu/ lucid-updates/multiverse Translation-ja             
無視 http://mambo.kuhp.kyoto-u.ac.jp ./ Release                                                                             
ヒット http://jp.archive.ubuntu.com lucid Release                                                                           
無視 http://mambo.kuhp.kyoto-u.ac.jp ./ Packages                                                                                   
ヒット http://jp.archive.ubuntu.com lucid-updates Release                                                                   
無視 http://mambo.kuhp.kyoto-u.ac.jp ./ Packages                                               
ヒット http://mambo.kuhp.kyoto-u.ac.jp ./ Packages                                           
ヒット http://jp.archive.ubuntu.com lucid/main Packages                                     
ヒット http://jp.archive.ubuntu.com lucid/restricted Packages 
ヒット http://jp.archive.ubuntu.com lucid/main Sources         
ヒット http://jp.archive.ubuntu.com lucid/restricted Sources   
ヒット http://jp.archive.ubuntu.com lucid/universe Packages   
ヒット http://jp.archive.ubuntu.com lucid/universe Sources     
ヒット http://jp.archive.ubuntu.com lucid/multiverse Packages 
ヒット http://jp.archive.ubuntu.com lucid/multiverse Sources   
ヒット http://jp.archive.ubuntu.com lucid-updates/main Packages
ヒット http://jp.archive.ubuntu.com lucid-updates/restricted Packages
ヒット http://jp.archive.ubuntu.com lucid-updates/main Sources
ヒット http://jp.archive.ubuntu.com lucid-updates/restricted Sources
ヒット http://jp.archive.ubuntu.com lucid-updates/universe Packages
ヒット http://jp.archive.ubuntu.com lucid-updates/universe Sources
ヒット http://jp.archive.ubuntu.com lucid-updates/multiverse Packages
ヒット http://jp.archive.ubuntu.com lucid-updates/multiverse Sources
ヒット http://security.ubuntu.com lucid-security Release.gpg   
無視 http://security.ubuntu.com/ubuntu/ lucid-security/main Translation-ja
無視 http://security.ubuntu.com/ubuntu/ lucid-security/restricted Translation-ja
無視 http://security.ubuntu.com/ubuntu/ lucid-security/universe Translation-ja
無視 http://security.ubuntu.com/ubuntu/ lucid-security/multiverse Translation-ja
ヒット http://security.ubuntu.com lucid-security Release
ヒット http://security.ubuntu.com lucid-security/main Packages
ヒット http://security.ubuntu.com lucid-security/restricted Packages
ヒット http://security.ubuntu.com lucid-security/main Sources
ヒット http://security.ubuntu.com lucid-security/restricted Sources
ヒット http://security.ubuntu.com lucid-security/universe Packages
ヒット http://security.ubuntu.com lucid-security/universe Sources
ヒット http://security.ubuntu.com lucid-security/multiverse Packages
ヒット http://security.ubuntu.com lucid-security/multiverse Sources
パッケージリストを読み込んでいます... 完了
$ sudo apt-get install libcnbj-2.2 bjfilter-2.2 pstocanonbj
パッケージリストを読み込んでいます... 完了
依存関係ツリーを作成しています               
状態情報を読み取っています... 完了
インストールすることができないパッケージがありました。おそらく、あり得
ない状況を要求したか、(不安定版ディストリビューションを使用しているの
であれば) 必要なパッケージがまだ作成されていなかったり Incoming から移
動されていないことが考えられます。
以下の情報がこの問題を解決するために役立つかもしれません:

以下のパッケージには満たせない依存関係があります:
  pstocanonbj: 依存: libcupsys2 (>= 1.2.3)
E: 壊れたパッケージ


今の私ではこれぐらいが限界です。何か分かれば教えてください。以下 /etc/apt/sources.list の内容です。

$ sudo cat -n /etc/apt/sources.list
     1    # deb cdrom:[Ubuntu 9.10 _Karmic Koala_ - Release i386 (20091028.5)]/ karmic main restricted
     2    # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
     3    # newer versions of the distribution.
     4   
     5    deb cdrom:[Ubuntu 10.04 LTS _Lucid Lynx_ - Release i386 (20100429)]/ lucid main restricted
     6    deb http://jp.archive.ubuntu.com/ubuntu/ lucid main restricted
     7    deb-src http://jp.archive.ubuntu.com/ubuntu/ lucid main restricted
     8   
     9    ## takehito added next one line at 2010/05/28
    10   
    11    deb http://mambo.kuhp.kyoto-u.ac.jp/~takushi/ubuntu ./
    12   
    13    ## Major bug fix updates produced after the final release of the
    14    ## distribution.
    15    deb http://jp.archive.ubuntu.com/ubuntu/ lucid-updates main restricted
    16    deb-src http://jp.archive.ubuntu.com/ubuntu/ lucid-updates main restricted
    17   
    18    ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    19    ## team. Also, please note that software in universe WILL NOT receive any
    20    ## review or updates from the Ubuntu security team.
    21    deb http://jp.archive.ubuntu.com/ubuntu/ lucid universe
    22    deb-src http://jp.archive.ubuntu.com/ubuntu/ lucid universe
    23    deb http://jp.archive.ubuntu.com/ubuntu/ lucid-updates universe
    24    deb-src http://jp.archive.ubuntu.com/ubuntu/ lucid-updates universe
    25   
    26    ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    27    ## team, and may not be under a free licence. Please satisfy yourself as to
    28    ## your rights to use the software. Also, please note that software in
    29    ## multiverse WILL NOT receive any review or updates from the Ubuntu
    30    ## security team.
    31    deb http://jp.archive.ubuntu.com/ubuntu/ lucid multiverse
    32    deb-src http://jp.archive.ubuntu.com/ubuntu/ lucid multiverse
    33    deb http://jp.archive.ubuntu.com/ubuntu/ lucid-updates multiverse
    34    deb-src http://jp.archive.ubuntu.com/ubuntu/ lucid-updates multiverse
    35   
    36    ## Uncomment the following two lines to add software from the 'backports'
    37    ## repository.
    38    ## N.B. software from this repository may not have been tested as
    39    ## extensively as that contained in the main release, although it includes
    40    ## newer versions of some applications which may provide useful features.
    41    ## Also, please note that software in backports WILL NOT receive any review
    42    ## or updates from the Ubuntu security team.
    43    # deb http://jp.archive.ubuntu.com/ubuntu/ karmic-backports main restricted universe multiverse
    44    # deb-src http://jp.archive.ubuntu.com/ubuntu/ karmic-backports main restricted universe multiverse
    45   
    46    ## Uncomment the following two lines to add software from Canonical's
    47    ## 'partner' repository.
    48    ## This software is not part of Ubuntu, but is offered by Canonical and the
    49    ## respective vendors as a service to Ubuntu users.
    50    # deb http://archive.canonical.com/ubuntu karmic partner
    51    # deb-src http://archive.canonical.com/ubuntu karmic partner
    52   
    53    deb http://security.ubuntu.com/ubuntu lucid-security main restricted
    54    deb-src http://security.ubuntu.com/ubuntu lucid-security main restricted
    55    deb http://security.ubuntu.com/ubuntu lucid-security universe
    56    deb-src http://security.ubuntu.com/ubuntu lucid-security universe
    57    deb http://security.ubuntu.com/ubuntu lucid-security multiverse
    58    deb-src http://security.ubuntu.com/ubuntu lucid-security multiverse
    59

オフライン

 

#6 2010-05-29 11:37:05

petitbootang
メンバ
From: 東京都
登録日: 2009-02-12

Re: はじめまして、ubuntu初心者です。#apt-get update で無視 http://jp.archive.ubuntu.com/

なぜ、#4 をやってみてくれと言ったことと違うことをやって悩んでいるのか分かりません。
あとは、ご自身でお調べいただくか、他の方のレスをお待ちください。

オフライン

 

#7 2010-05-30 01:57:14

takehito
メンバ
登録日: 2010-05-29

Re: はじめまして、ubuntu初心者です。#apt-get update で無視 http://jp.archive.ubuntu.com/

#4は理解しました。しかし、ダウンロード後 Gdebi Package インストーラ で開こうとすると

ソフトウェア・インデックスが壊れています
これはソフトウェア管理システムにおける大きな問題です。Synapticを用いて、壊れた(brokenな)パッケージを調べてください。また、'/etc/apt/sources.list'のパーミッションと、中身に問題がないかを確認した上で、改めてソフトウェア情報を取得します。次のコマンドを使ってください。'sudo apt-get update' と 'sudo apt-get install -f'

となります。
$ sudo apt-get install -f
E: ソースリスト /etc/apt/sources.list.d/ubuntu-ja.list の 4 行にあるタイプ '<!DOCTYPE' は不明です
E: ソースのリストを読むことができません。

/etc/apt/sources.list.d/ubuntu-ja.list の一行目は
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">

です。ドライバをインストールしようとしていたときに、変ってしまったのだと思います。

オフライン

 

#8 2010-05-30 21:02:07

hir0
メンバ
登録日: 2008-09-28

Re: はじめまして、ubuntu初心者です。#apt-get update で無視 http://jp.archive.ubuntu.com/

canonのドライバはダメなんですか?

コード:

$ cd
$ sudo apt-get update
$ sudo apt-get install alien
$ wget ftp://download.canon.jp/pub/driver/bj/linux/bjfilterpixus550i-2.2-2.i386.rpm
$ sudo alien -i bjfilterpixus550i-2.2-2.i386.rpm

オフライン

 

#9 2010-05-31 20:08:56

satoaoi
メンバ
From: Tohoku
登録日: 2010-04-12

Re: はじめまして、ubuntu初心者です。#apt-get update で無視 http://jp.archive.ubuntu.com/

takehitoさん
私も同じような現象に遭遇しました。CANONのMP610を使いたくて、メーカーのサイトからドライバをダウンロードしましたが
libcupsys2のインストールでこけてしまいました。どうやらパッケージを作り直すとよいようです。

sudo apt-get install -d libcnbj-2.2 bjfilter-2.2 pstocanonbj
でダウンロードのみをし、

dpkg -x (ダウンロードしたパッケージ名) common
dpkg -e (ダウンロードしたパッケージ名)
で展開。

gedit DEBIAN/control
お好きなエディタで、./DEBIAN/controlを開き、
Architecture : i386 → all
libcupsys2 → libcups2
と修正します。

cp -rf ./DEBIAN ./common
dpkg -b common (お好きな名前).deb
で、再パッケージ。

rm -rf  ./DEBIAN ./common
展開したファイルを削除。

これを、すべてのパッケージに施します。

後は、
sudo dpkg -i (修正したパッケージの名前)
でインストールします。
一応、私の環境では使えるようになりました。出来なかったらすいません。
参考にしたサイト↓
なんでもかんでもコンピュータ-So-net ブログ
【Ubuntu 10.04】 CANON MP610 プリンタドライバ & スキャナドライバ インストール
ITPro-【 apt-get 】 パッケージを取得してインストール/アップデートする

オフライン

 

Board footer

Powered by FluxBB