お知らせ

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

#1 2011-01-19 01:42:46

fmx0418
メンバ
登録日: 2010-10-09

10.04から10.10へのアップグレードができません

アップグレードを行おうとすると「新しいソフトウェア・チャンネルを設定しています」の段階で下記のエラーが出てアップグレードすることができません。
解決するためにはどの様に良いのでしょうか?

アップグレードも初めてで、Ubuntuについてもよくわからないのですがよろしくお願いします。

------------------------------------------------------------------------------------------

アップグレード作業を見積もれません

An unresolvable problem occurred while calculating the upgrade:
E:エラー、pkgProblemResolver::Resolve は停止しました。おそらく変更禁止パッケージが原因です。

This can be caused by:
* Upgrading to a pre-release version of Ubuntu
* Running the current pre-release version of Ubuntu
* Unofficial software packages not provided by Ubuntu

これらのどれにも合致しないのであれば、'update-manager' パッケージのバグとして、/var/log/dist-upgrade/ にあるファイルを含めて報告してください。

-------------------------------------------------------------------------------------------

オフライン

 

#2 2011-01-19 05:07:26

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

Re: 10.04から10.10へのアップグレードができません

Synaptic パッケージマネージャを起動して左下方の「状態」を選択した時に左情報に「PIN指定」が表示されればクリックして右側のメインの窓に表示されたもの全てを解除してください。

端末から
$ dpkeg --get-selections | grep hold
で表示されるパッケージがあれば解除してください。

何かの弾みで(誤操作)でパッケージのバージョンの固定をしてしまったか、パッケージマネージャ、ソフトウェアセンター等に用意されている公式以外のソフトを入れた事が原因っぽいけど、違っていたらバグ報告を。だそうです。確認してみてください。

オフライン

 

#3 2011-01-19 08:32:06

kiyoshi
拒否
From: Linux-Loving-Person
登録日: 2007-02-07

Re: 10.04から10.10へのアップグレードができません

※規約違反により追放されたユーザの投稿は、ログインユーザにのみ表示されます。

オフライン

 

#4 2011-01-19 18:19:56

fmx0418
メンバ
登録日: 2010-10-09

Re: 10.04から10.10へのアップグレードができません

hir0 による投稿:

Synaptic パッケージマネージャを起動して左下方の「状態」を選択した時に左情報に「PIN指定」が表示されればクリックして右側のメインの窓に表示されたもの全てを解除してください。

端末から
$ dpkeg --get-selections | grep hold
で表示されるパッケージがあれば解除してください。

何かの弾みで(誤操作)でパッケージのバージョンの固定をしてしまったか、パッケージマネージャ、ソフトウェアセンター等に用意されている公式以外のソフトを入れた事が原因っぽいけど、違っていたらバグ報告を。だそうです。確認してみてください。

Synapticパッケージ・マネージャの状態を選択した後、左情報には、
・すべて
・アンインストール済(設定が残留)
・インストール済
・インストール済(ローカルまたは廃止)
・インストール済(手動)
・インストール済(自動削除可能)
・未インストール
が表示されます。

また、$ dpkeg --get-selections | grep holdを実行した所、何も表示されませんでした。

オフライン

 

#5 2011-01-19 21:27:01

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

Re: 10.04から10.10へのアップグレードができません

あータイプミスですね。dpkeg は dpkg が正解です。
もう一度実行してもらって何も表示されなければ、/etc/apt/preferences.d/ に何かファイルが作られていないでしょうか、又は/etc/apt/ 配下にpreferences なるファイルが存在していないですか?

どちら側もファイルが存在しなければ私の知る限り#1に書かれたメッセージの変更禁止パッケージの存在を確認する術を他には知りません。

E:エラー、pkgProblemResolver::Resolve は停止しました。おそらく変更禁止パッケージが原因です。

見えている原因としてはパッケージ操作でこけているので何か他のリポジトリを混ぜたとか、メッセージに表示されているように標準ではないパッケージをインストールした覚えは無いでしょうか。

リポジトリの確認は
$ gedit etc/apt/sources.list
を貼り付けていただけると確認できます。

端末から
$ sudo apt-get uodate
$ sudo apt-get upgrade

を実行して表示されるメッセージにヒントがあるかもしれません。

オフライン

 

#6 2011-01-19 21:43:18

hmatsue
アドバイザ
登録日: 2009-03-10

Re: 10.04から10.10へのアップグレードができません

# hir0さーん :)

hir0 による投稿:

リポジトリの確認は
$ gedit etc/apt/sources.list
を貼り付けていただけると確認できます。

コード:

gedit /etc/apt/sources.list

ですね。
ついでなので、

コード:

cat /etc/apt/sources.list.d/*

の結果もお願いします。

hir0 による投稿:

端末から
$ sudo apt-get uodate
$ sudo apt-get upgrade

を実行して表示されるメッセージにヒントがあるかもしれません。

コード:

sudo apt-get update
sudo apt-get upgrade

ですね。

オフライン

 

#7 2011-01-19 23:16:37

fmx0418
メンバ
登録日: 2010-10-09

Re: 10.04から10.10へのアップグレードができません

回答ありがとうございます。タイプミスを直しても何も表示されませんでした。
最近インストールしたものはandoroidのSDKやSun Java 6、Eclipseなどのandoroidアプリ開発環境をインストールしました。

結果を貼ります。
--------------------------------------------------------

$ gedit etc/apt/sources.list

# deb cdrom:[Ubuntu 10.04 LTS _Lucid Lynx_ - Release i386 (20100429)]/ lucid 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/ lucid main restricted
deb-src http://jp.archive.ubuntu.com/ubuntu/ lucid main restricted

## 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/ lucid-backports main restricted universe multiverse
# deb-src http://jp.archive.ubuntu.com/ubuntu/ lucid-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 lucid partner
# deb-src http://archive.canonical.com/ubuntu lucid 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
deb http://archive.canonical.com/ lucid partner
deb http://archive.canonical.com/ lucid partner
deb http://archive.canonical.com/ lucid partner
deb http://archive.canonical.com/ lucid partner
deb http://archive.canonical.com/ lucid partner
deb http://jp.archive.ubuntu.com/ubuntu/ lucid-proposed restricted main multiverse universe

-----------------------------------------------------------------------------------------------

$ cat /etc/apt/sources.list.d/*

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

-----------------------------------------------------------------------------------------------

$ sudo apt-get update

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

(URLのリストは省きました)

----------------------------------------------------------------------------------------------

$ sudo apt-get upgradeにはエラーがなかったので省きます。
とても長くなってしまい申し訳ありません。
よろしくお願いします。

オフライン

 

#8 2011-01-20 00:48:30

hmatsue
アドバイザ
登録日: 2009-03-10

Re: 10.04から10.10へのアップグレードができません

確証は無いのですが、
https://launchpad.net/~ubuntu-x-swat/+archive/x-updates
からppa-purgeをもらってきて、
https://launchpad.net/~ikoinoba/+archive/ppa
をpurgeすると、アップグレードできるようになったりしないでしょうか。これでダメなら、
https://launchpad.net/~bean123ch/+archive/burg
も同様にpurgeしてみて下さい。

オフライン

 

#9 2011-01-20 00:50:07

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

Re: 10.04から10.10へのアップグレードができません

hmatsueさん。。。
うぉぉ~(ToT)/~ご指摘有難うございます。
fmx0418さん、またまたタイプミスでゴメンナサイm(__)m 多いんですよ。。。

で、情報有難うございます。
別の問題が発見されましたが(URLの重複)実害は無いので現状では取り合えず放置。

一箇所未確認の場所が有ります。

、/etc/apt/preferences.d/ に何かファイルが作られていないでしょうか、又は/etc/apt/ 配下にpreferences なるファイルが存在していないですか?

ここに置かれるファイルに設定したものはアップグレードの対象から外されます。
何か郊外のパッケージの依存を保持するためにPINを打つパッケージをインストールしたのかな? とも思いましたが
>andoroidのSDKやSun Java 6、Eclipseなどのandoroidアプリ開発環境

との事なので、おかしな動きをするとも思えないですが的はそこに絞られるかも。

オフライン

 

#10 2011-01-20 01:19:23

fmx0418
メンバ
登録日: 2010-10-09

Re: 10.04から10.10へのアップグレードができません

hmatsueさん
ごめんなさい。
初心者なのでどの様にすればよいのかわかりません。。。
初心者にも分かるようにもう一度説明をお願いします.

hir0さん
それらしきファイルは無いみたいです。
いちよう ls の結果を載せておきます。

----------------------------------------------

$ ls -all /etc/apt/
drwxr-xr-x     6 root root   4096 2011-01-19 01:26 .
drwxr-xr-x 146 root root 12288 2011-01-19 18:32 ..
drwxr-xr-x     2 root root  4096  2011-01-19 00:46 apt.conf.d
drwxr-xr-x     2 root root  4096  2010-04-15 13:33 preferences.d
-rw-------      1 root root         0 2010-04-29 21:18 secring.gpg
-rw-r--r--      1 root root  3279  2011-01-19 18:21 sources.list
drwxr-xr-x     2 root root  4096  2011-01-19 00:52 sources.list.d
-rw-r--r--      1 root root  3279  2011-01-19 18:20 sources.list.distUpgrade
-rw-r--r--      1 root root  3187  2010-12-05 17:52 sources.list.save
-rw-r--r--      1 root root  3279  2011-01-19 01:13 sources.list_back
-rw-------      1 root root  1200  2010-04-29 21:18 trustdb.gpg
-rw-r--r--      1 root root  8973  2010-10-30 14:02 trusted.gpg
drwxr-xr-x     2 root root  4096 2010-04-15 13:33 trusted.gpg.d
-rw-r--r--      1 root root  8625  2010-10-18 02:39 trusted.gpg~

----------------------------------------------

$ ls -all /etc/apt/preferences.d/
drwxr-xr-x 2 root root 4096 2010-04-15 13:33 .
drwxr-xr-x 6 root root 4096 2011-01-19 01:26 ..

----------------------------------------------

オフライン

 

#11 2011-01-20 12:46:33

hmatsue
アドバイザ
登録日: 2009-03-10

Re: 10.04から10.10へのアップグレードができません

https://launchpad.net/~xorg-edgers/+archive/ppa/+files/ppa-purge_0.2.7~lucid_all.deb
を入手してインストールし、

コード:

sudo ppa-purge ppa:ikoinoba/ppa
sudo apt-get update
sudo apt-get upgrade

してから、アップグレードできるか試してみて下さい。

それでもダメなら、

コード:

sudo ppa-purge ppa:bean123ch/burg
sudo apt-get update
sudo apt-get upgrade

してから、アップグレードできるか試してみて下さい。

オフライン

 

#12 2011-01-20 15:05:17

fmx0418
メンバ
登録日: 2010-10-09

Re: 10.04から10.10へのアップグレードができません

hmatsueさん説明ありがとうございます。

二通りとも試しましたが、エラー内容も変わらず、アップグレードできませんでした。

オフライン

 

#13 2011-01-20 17:38:29

hmatsue
アドバイザ
登録日: 2009-03-10

Re: 10.04から10.10へのアップグレードができません

妙ですね。。

コード:

sudo apt-get install -f
sudo dpkg --configure -a
sudo apt-get update
sudo apt-get upgrade

では何かエラーメッセージらしきものが表示されますでしょうか(特に最初の2つ)。

オフライン

 

#14 2011-01-20 18:18:01

fmx0418
メンバ
登録日: 2010-10-09

Re: 10.04から10.10へのアップグレードができません

hmatsueさん
エラーは前に載せたのと同じようにapt-get updateでしか出ませんでした。
でもよく分からなくなってきたので、全ての出力結果を載せます。

$ sudo apt-get install -f
パッケージリストを読み込んでいます... 完了
依存関係ツリーを作成しています               
状態情報を読み取っています... 完了
アップグレード: 0 個、新規インストール: 0 個、削除: 0 個、保留: 0 個。
----------------------------------------------------
$ sudo dpkg --configure -a
----------------------------------------------------
$ sudo apt-get update
ヒット 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://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://jp.archive.ubuntu.com lucid-proposed Release.gpg                 
無視 http://jp.archive.ubuntu.com/ubuntu/ lucid-proposed/restricted Translation-ja
ヒット http://jp.archive.ubuntu.com/ubuntu/ lucid-proposed/main Translation-ja
ヒット http://jp.archive.ubuntu.com/ubuntu/ lucid-proposed/multiverse Translation-ja
ヒット http://jp.archive.ubuntu.com/ubuntu/ lucid-proposed/universe Translation-ja
ヒット http://jp.archive.ubuntu.com lucid Release                             
ヒット http://jp.archive.ubuntu.com lucid-updates Release                     
ヒット http://jp.archive.ubuntu.com lucid-proposed Release                     
ヒット 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://jp.archive.ubuntu.com lucid-proposed/restricted Packages         
ヒット http://jp.archive.ubuntu.com lucid-proposed/main Packages               
ヒット http://jp.archive.ubuntu.com lucid-proposed/multiverse Packages         
ヒット http://jp.archive.ubuntu.com lucid-proposed/universe Packages           
取得:1 http://archive.ubuntulinux.jp lucid Release.gpg [307B]                 
無視 http://archive.ubuntulinux.jp/ubuntu/ lucid/main Translation-ja           
取得:2 http://archive.ubuntulinux.jp lucid-non-free/ Release.gpg [189B]       
無視 http://archive.ubuntulinux.jp/ubuntu-ja/ lucid-non-free/ Translation-ja   
取得:3 http://archive.ubuntulinux.jp lucid Release [57.3kB]                   
ヒット http://archive.canonical.com lucid Release.gpg                         
無視 http://archive.canonical.com/ubuntu/ lucid/partner Translation-ja         
取得:4 http://archive.ubuntulinux.jp lucid Release [57.3kB]                   
取得:5 http://archive.ubuntulinux.jp lucid-non-free/ Release [1,571B]         
ヒット 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://ppa.launchpad.net lucid Release.gpg                             
無視 http://archive.ubuntulinux.jp lucid/main Packages                         
取得:6 http://archive.ubuntulinux.jp lucid-non-free/ Packages [2,194B]         
取得:7 http://archive.ubuntulinux.jp lucid-non-free/ Sources [1,240B]         
ヒット http://archive.canonical.com lucid Release.gpg                         
無視 http://archive.canonical.com/ lucid/partner Translation-ja               
ヒット http://archive.canonical.com lucid Release                             
無視 http://archive.ubuntulinux.jp lucid/main Packages                         
取得:8 http://archive.ubuntulinux.jp lucid/main Packages [11.0kB]             
ヒット http://ppa.launchpad.net lucid Release                                 
無視 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://archive.canonical.com lucid Release                             
ヒット http://ppa.launchpad.net lucid/main Sources                             
ヒット http://security.ubuntu.com lucid-security/main Packages                 
ヒット http://archive.canonical.com lucid/partner 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://archive.canonical.com lucid/partner Packages
ヒット http://security.ubuntu.com lucid-security/multiverse Sources
73.7kB を 1s で取得しました (41.0kB/s)
パッケージリストを読み込んでいます... 完了
W: Duplicate sources.list entry http://archive.canonical.com/ lucid/partner Packages (/var/lib/apt/lists/archive.canonical.com_dists_lucid_partner_binary-i386_Packages)
W: Duplicate sources.list entry http://archive.canonical.com/ lucid/partner Packages (/var/lib/apt/lists/archive.canonical.com_dists_lucid_partner_binary-i386_Packages)
W: Duplicate sources.list entry http://archive.canonical.com/ lucid/partner Packages (/var/lib/apt/lists/archive.canonical.com_dists_lucid_partner_binary-i386_Packages)
W: Duplicate sources.list entry http://archive.canonical.com/ lucid/partner Packages (/var/lib/apt/lists/archive.canonical.com_dists_lucid_partner_binary-i386_Packages)
W: これらの問題を解決するためには apt-get update を実行する必要があるかもしれません
----------------------------------------------------
$ sudo apt-get upgrade
パッケージリストを読み込んでいます... 完了
依存関係ツリーを作成しています               
状態情報を読み取っています... 完了
アップグレード: 0 個、新規インストール: 0 個、削除: 0 個、保留: 0 個。

オフライン

 

#15 2011-01-20 20:19:53

hmatsue
アドバイザ
登録日: 2009-03-10

Re: 10.04から10.10へのアップグレードができません

依存関連の修復対象もなかったようですね。困った。。

ちょっと話が戻りますが、Synapticでパッケージ固定した場合、dpkg --get-selectionsに表示されないっぽいです。
関連するのかは判りませんが、

コード:

cat /var/lib/synaptic/preferences

とやってみるとなにか表示されますでしょうか。

また、

コード:

sudo do-release-upgrade

のように端末上で(CUI)でアップグレードを試みると、もう少し詳しい状況が表示されたりしないでしょうか。

# 最初はAndroid SDKとか関係しないような気がしていたのですが、
# あとはそのあたりしか疑うところ無いのかな。。

オフライン

 

#16 2011-01-20 22:40:54

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

Re: 10.04から10.10へのアップグレードができません

## Ubuntu Japanese LoCo Team's 3rd party repository for Ubuntu 10.04
## Please report any bug on https://bugs.launchpad.net/ubuntu-jp-improvement
deb http://archive.ubuntulinux.jp/ubuntu lucid main
deb-src http://ppa.launchpad.net/japaneseteam/ppa/ubuntu lucid main
deb http://archive.ubuntulinux.jp/ubuntu-ja lucid-non-free/
deb-src http://archive.ubuntulinux.jp/ubuntu-ja lucid-non-free/
## (#7引用の下から6行)

同じく#7の/etc/apt/sources.list の最後の部分です。

## 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 lucid partner
# deb-src http://archive.canonical.com/ubuntu lucid 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
削除deb http://archive.canonical.com/ lucid partner
削除deb http://archive.canonical.com/ lucid partner
削除deb http://archive.canonical.com/ lucid partner
削除deb http://archive.canonical.com/ lucid partner
削除deb http://archive.canonical.com/ lucid partner
deb http://jp.archive.ubuntu.com/ubuntu/ lucid-proposed restricted main multiverse universe

$ sudo gedit でテキストエディタを開くと編集可能になります。

編集後保存して
$ sudo apt-get update

してみて下さい。
重複のエラーと対策と、クリーンな時の環境と同じ環境に近い状態では上手くいかないでしょうか。

オフライン

 

#17 2011-01-20 22:44:43

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

Re: 10.04から10.10へのアップグレードができません

(グスン。書き間違わないようにテキストエディタに書いてからコピペしたら失敗しましたorz
これで書き損じも出てきたら何だか具合が悪くなりそう)
#16 の貼り直しです。
-------------------------------------------------------------------
/etc/apt/sources.list.d/ 内のファイルは一つだけでしょうか。複数あればどこかに退避して内容を以下の様に書いたファイルを設置してください。

## Ubuntu Japanese LoCo Team's 3rd party repository for Ubuntu 10.04
## Please report any bug on https://bugs.launchpad.net/ubuntu-jp-improvement
deb http://archive.ubuntulinux.jp/ubuntu lucid main
deb-src http://ppa.launchpad.net/japaneseteam/ppa/ubuntu lucid main
deb http://archive.ubuntulinux.jp/ubuntu-ja lucid-non-free/
deb-src http://archive.ubuntulinux.jp/ubuntu-ja lucid-non-free/
## (#7引用の下から6行)

同じく#7の/etc/apt/sources.list の最後の部分です。

## 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 lucid partner
# deb-src http://archive.canonical.com/ubuntu lucid 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
削除deb http://archive.canonical.com/ lucid partner
削除deb http://archive.canonical.com/ lucid partner
削除deb http://archive.canonical.com/ lucid partner
削除deb http://archive.canonical.com/ lucid partner
削除deb http://archive.canonical.com/ lucid partner
deb http://jp.archive.ubuntu.com/ubuntu/ lucid-proposed restricted main multiverse universe

$ sudo gedit でテキストエディタを開くと編集可能になります。

編集後保存して
$ sudo apt-get update

してみて下さい。
重複のエラーと対策と、クリーンな時の環境と同じ環境に近い状態では上手くいかないでしょうか。

オフライン

 

#18 2011-01-20 22:49:55

fmx0418
メンバ
登録日: 2010-10-09

Re: 10.04から10.10へのアップグレードができません

cat /var/lib/synaptic/ 以下には何もファイルは存在していませんでした。

下記にCUIでのアップデート結果を載せます。

-------------------------------------------------------
$ sudo do-release-upgrade
Checking for a new ubuntu release
Done Upgrade tool signature
Done Upgrade tool
Done downloading           
extracting 'maverick.tar.gz'
authenticate 'maverick.tar.gz' against 'maverick.tar.gz.gpg'
tar: メンバ名から先頭の `/' を取り除きます

キャッシュを読み込み中

パッケージ・マネージャをチェック中です
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Building data structures... Done
Reading package lists... Done   
Building dependency tree         
Reading state information... Done
Building data structures... Done

リポジトリ情報のアップデート
WARNING: Failed to read mirror file


サードパーティが提供するリポジトリを使わない設定にしました

sources.list
にあるサードパーティが提供するリポジトリを使わない設定にしました。アップグレード完了後、'ソフトウェア・ソース'
ツールもしくはパッケージ・マネージャを使って再び利用可能な設定にすることができます。

[100%] 808kB/s 0s
パッケージ・マネージャをチェック中です
Reading package lists... Done   
Building dependency tree         
Reading state information... Done
Building data structures... Done

変更点を確認中

変更点を確認中

アップグレード作業を見積もれません

An unresolvable problem occurred while calculating the upgrade:
E:Error, pkgProblemResolver::Resolve generated breaks, this may be
caused by held packages.

This can be caused by:
* Upgrading to a pre-release version of Ubuntu
* Running the current pre-release version of Ubuntu
* Unofficial software packages not provided by Ubuntu


これらのどれにも合致しないのであれば、'update-manager'
パッケージのバグとして、/var/log/dist-upgrade/
にあるファイルを含めて報告してください。


システムを元に戻しています

中断します
Reading package lists... Done   
Building dependency tree         
Reading state information... Done
Building data structures... Done
-------------------------------------------------------

Andoroid関係ですが、Eclipseを日本語化する時に上手くいかなかったので、
何度かSynaptic パッケージマネージャで関連ファイルをインストール、アンインストールを繰り返したのが原因でしょうか?

オフライン

 

#19 2011-01-20 23:16:06

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

Re: 10.04から10.10へのアップグレードができません

アップグレードを実行して(再起動後はログが破棄されるみたいです)
/var/log/dist-upgrade/実行した日時分がフォルダ名)/main.log
にエラーで止まった直前の動作が記録されている感じです。

最後からの数十行を(十行以上)に何か載っているかも。

オフライン

 

#20 2011-01-21 00:52:29

fmx0418
メンバ
登録日: 2010-10-09

Re: 10.04から10.10へのアップグレードができません

/var/log/dist-upgrade/20110120-2241/main.log の最後の20行を載せます。

どうでしょうか?


2011-01-20 14:19:35,960 DEBUG examining: 'deb http://jp.archive.ubuntu.com/ubuntu/ lucid-proposed restricted main multiverse universe'
2011-01-20 14:19:35,960 DEBUG entry 'deb http://jp.archive.ubuntu.com/ubuntu/ maverick-proposed restricted main multiverse universe' updated to new dist
2011-01-20 14:19:35,960 DEBUG examining: 'deb http://archive.ubuntulinux.jp/ubuntu lucid main'
2011-01-20 14:19:35,963 DEBUG entry '# deb http://archive.ubuntulinux.jp/ubuntu maverick main # maverickへのアップグレード時に無効化されました' was disabled (unknown mirror)
2011-01-20 14:19:35,963 DEBUG examining: 'deb-src http://ppa.launchpad.net/japaneseteam/ppa/ubuntu lucid main'
2011-01-20 14:19:35,965 DEBUG entry '# deb-src http://ppa.launchpad.net/japaneseteam/ppa/ubuntu maverick main # maverickへのアップグレード時に無効化されました' was disabled (unknown mirror)
2011-01-20 14:19:35,965 DEBUG examining: 'deb http://archive.ubuntulinux.jp/ubuntu-ja lucid-non-free/'
2011-01-20 14:19:35,968 DEBUG entry '# deb http://archive.ubuntulinux.jp/ubuntu-ja lucid-non-free/ # maverickへのアップグレード時に無効化されました' was disabled (unknown mirror)
2011-01-20 14:19:35,968 DEBUG examining: 'deb-src http://archive.ubuntulinux.jp/ubuntu-ja lucid-non-free/'
2011-01-20 14:19:35,970 DEBUG entry '# deb-src http://archive.ubuntulinux.jp/ubuntu-ja lucid-non-free/ # maverickへのアップグレード時に無効化されました' was disabled (unknown mirror)
2011-01-20 14:19:38,723 DEBUG running doUpdate() (showErrors=True)
2011-01-20 14:19:53,211 DEBUG openCache()
2011-01-20 14:19:53,211 DEBUG failed to SystemUnLock() (E:Not locked)
2011-01-20 14:19:55,619 DEBUG /openCache(), new cache size 32339
2011-01-20 14:19:55,619 DEBUG needServerMode(): run in 'desktop' mode, (because of pkg 'ubuntu-desktop')
2011-01-20 14:20:47,177 ERROR Dist-upgrade failed: 'E:エラー、pkgProblemResolver::Resolve は停止しました。おそらく変更禁止パッケージが原因です。'
2011-01-20 14:20:47,178 DEBUG abort called
2011-01-20 14:20:47,180 DEBUG openCache()
2011-01-20 14:20:47,180 DEBUG failed to SystemUnLock() (E:Not locked)
2011-01-20 14:20:48,947 DEBUG /openCache(), new cache size 30408
2011-01-20 14:20:48,947 DEBUG enabling apt cron job

オフライン

 

#21 2011-01-21 18:27:57

hmatsue
アドバイザ
登録日: 2009-03-10

Re: 10.04から10.10へのアップグレードができません

ログの方にもめぼしい情報は無さそうな。。
関連しそうな情報として、
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/606652
http://ubuntuforums.org/showthread.php?t=1592083
が見つかりました。
前者では、
xserver-xorg-video-nouveau
xserver-xorg-video-all
のふたつのパッケージを消すとアップグレードできるようになった、
後者では、
* Adobe Software like Air, Flash, or Reader
* A Google package like Google Earth, Chrome, Talk, Picasa etc.
* System76 packages
* Dropbox
* Nvidia drivers
* Skype
* Tor (though I uninstalled it mostly I think)
を消すとアップグレードできるようになったとあるようです。
このあたりに名前がでてくるようなもので、インストールした覚えのあるもの(特にレポジトリ外から)はありますでしょうか。
特には無いといった場合は、まず、前者の、
xserver-xorg-video-nouveau
xserver-xorg-video-all
を消してからアップグレードを試すというところから始めてみていただくのがよさそうです。
パッケージ削除時は依存関係で他にパッケージが消されないか確認して下さい。
もし、他のパッケージも消されそうになったら中断してパッケージ削除に使った方法をご連絡下さい。別の方法でパッケージ削除することを考えましょう。

オフライン

 

#22 2011-01-21 19:08:57

einundzwanzighundertsechs
メンバ
登録日: 2008-12-28

Re: 10.04から10.10へのアップグレードができません

hmatsue さん による投稿:

ログの方にもめぼしい情報は無さそうな。。
関連しそうな情報として、
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/606652
http://ubuntuforums.org/showthread.php?t=1592083
が見つかりました。
前者では、
xserver-xorg-video-nouveau
xserver-xorg-video-all
のふたつのパッケージを消すとアップグレードできるようになった、

前者リンク先の#16 Seb Harringtonさんは,
/var/log/dist-upgrade/apt.log に残ったログ // まだ調べていませんよね.

Investigating libdrm-nouveau1
Package libdrm-nouveau1 has broken Breaks on xserver-xorg-video-nouveau
  Considering xserver-xorg-video-nouveau 2 as a solution to libdrm-nouveau1 17
  Upgrading xserver-xorg-video-nouveau due to Breaks field in libdrm-nouveau1
Investigating xserver-xorg-video-nouveau
Package xserver-xorg-video-nouveau has broken Depends on xorg-video-abi-8.0
  Considering xserver-xorg-core 79 as a solution to xserver-xorg-video-nouveau 2
  Holding Back xserver-xorg-video-nouveau rather than change xorg-video-abi-8.0
Done
Log time: 2010-11-26 14:13:58.961382

を精査した上で // 太字強調部分は私がキーワードだと思うところ

I simply removed the xserver-xorg-video-nouveau which also wanted to remove the xserver-xorg-video-all package which I let it do then the upgrade from 10.04 to 10.10 worked fine.

の workaround を試したように思えますが...

オフライン

 

#23 2011-01-21 19:26:59

einundzwanzighundertsechs
メンバ
登録日: 2008-12-28

Re: 10.04から10.10へのアップグレードができません

fmx0418 さん による投稿:

/var/log/dist-upgrade/20110120-2241/main.log の最後の20行を載せます。

einundzwanzighundertsechs  による投稿:

/var/log/dist-upgrade/apt.log に残ったログ // まだ調べていませんよね.

日時の指定も必要なら
/var/log/dist-upgrade/20110120-2241/apt.log
でしょうか.

オフライン

 

#24 2011-01-21 19:36:50

hmatsue
アドバイザ
登録日: 2009-03-10

Re: 10.04から10.10へのアップグレードができません

einundzwanzighundertsechs による投稿:

前者リンク先の#16 Seb Harringtonさんは,
/var/log/dist-upgrade/apt.log に残ったログ // まだ調べていませんよね.

Investigating libdrm-nouveau1
Package libdrm-nouveau1 has broken Breaks on xserver-xorg-video-nouveau
  Considering xserver-xorg-video-nouveau 2 as a solution to libdrm-nouveau1 17
  Upgrading xserver-xorg-video-nouveau due to Breaks field in libdrm-nouveau1
Investigating xserver-xorg-video-nouveau
Package xserver-xorg-video-nouveau has broken Depends on xorg-video-abi-8.0
  Considering xserver-xorg-core 79 as a solution to xserver-xorg-video-nouveau 2
  Holding Back xserver-xorg-video-nouveau rather than change xorg-video-abi-8.0
Done
Log time: 2010-11-26 14:13:58.961382

を精査した上で // 太字強調部分は私がキーワードだと思うところ

I simply removed the xserver-xorg-video-nouveau which also wanted to remove the xserver-xorg-video-all package which I let it do then the upgrade from 10.04 to 10.10 worked fine.

の workaround を試したように思えますが...

ああ、そうか。
まずは同じ現象か、確認するところから始めないとですね。。
ご指摘、多謝です。

宛 fmx0418さん
と、言うことで、まずはログを確認してみて下さい。
内容が理解できない等々、もしありましたら、ログの内容を投稿下さい。

オフライン

 

#25 2011-01-21 23:30:53

fmx0418
メンバ
登録日: 2010-10-09

Re: 10.04から10.10へのアップグレードができません

einundzwanzighundertsechsさん、hmatsueさんありがとうございます。

/var/log/dist-upgrade/apt.logは700行以上あるので、下から9行を載せました。

-----------------------------------------------------------------------------
/var/log/dist-upgrade/apt.log

Investigating libdrm-nouveau1
Package libdrm-nouveau1 has broken 破壊 on xserver-xorg-video-nouveau
  Considering xserver-xorg-video-nouveau 2 as a solution to libdrm-nouveau1 15
  Upgrading xserver-xorg-video-nouveau due to Breaks field in libdrm-nouveau1
Investigating xserver-xorg-video-nouveau
Package xserver-xorg-video-nouveau has broken 依存 on xorg-video-abi-8.0
  Considering xserver-xorg-core 79 as a solution to xserver-xorg-video-nouveau 2
  Holding Back xserver-xorg-video-nouveau rather than change xorg-video-abi-8.0
Done
Log time: 2011-01-21 23:25:42.383617
----------------------------------------------------------------------------

オフライン

 

Board footer

Powered by FluxBB