
Ubuntu日本語フォーラム

ログインしていません。
Ubuntu 12.04 を使用しています。
今日ターミナル画面から sudo apt-get upgrade を行った所、次のようなエラーメッセージが表示されました。
user@hostname:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up update-notifier-common (0.119ubuntu8.6) ...
flashplugin-installer: downloading http://archive.canonical.com/pool/partner/a/adobe-flashplugin/adobe-flashplugin_11.2.202.335.orig.tar.gz
Installing from local file /tmp/tmpMfQw3T.gz
Flash Plugin installed.
Traceback (most recent call last):
File "/usr/lib/update-notifier/package-data-downloader", line 46, in create_or_update_stampfile
with open(file, 'w'):
IOError: [Errno 2] No such file or directory: '/var/lib/update-notifier/package-data-downloads/flashplugin-installer'
Traceback (most recent call last):
File "/usr/lib/update-notifier/package-data-downloader", line 251, in process_download_requests
create_or_update_stampfile(stampfile)
File "/usr/lib/update-notifier/package-data-downloader", line 52, in create_or_update_stampfile
os.utime(file, None)
OSError: [Errno 2] No such file or directory: '/var/lib/update-notifier/package-data-downloads/flashplugin-installer'
ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/andale32.exe
ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/arial32.exe
ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/arialb32.exe
ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/comic32.exe
ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/courie32.exe
ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/georgi32.exe
ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/impact32.exe
ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/times32.exe
ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/trebuc32.exe
ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/verdan32.exe
ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/webdin32.exe
These fonts were provided by Microsoft "in the interest of cross-
platform compatibility". This is no longer the case, but they are
still available from third parties.
You are free to download these fonts and use them for your own use,
but you may not redistribute them in modified form, including changes
to the file name or packaging format.
Extracting cabinet: /tmp/tmpaZL76B.exe
extracting fontinst.inf
extracting andale.inf
extracting fontinst.exe
extracting AndaleMo.TTF
extracting ADVPACK.DLL
extracting W95INF32.DLL
extracting W95INF16.DLL
All done, no errors.
Extracting cabinet: /tmp/tmptNrgDo.exe
extracting FONTINST.EXE
extracting fontinst.inf
extracting Ariali.TTF
extracting Arialbd.TTF
extracting Arialbi.TTF
extracting Arial.TTF
All done, no errors.
Extracting cabinet: /tmp/tmp2aVLGt.exe
extracting fontinst.exe
extracting fontinst.inf
extracting AriBlk.TTF
All done, no errors.
Extracting cabinet: /tmp/tmpKSUooC.exe
extracting fontinst.inf
extracting Comicbd.TTF
extracting Comic.TTF
extracting fontinst.exe
All done, no errors.
Extracting cabinet: /tmp/tmp1qxrE6.exe
extracting cour.ttf
extracting courbd.ttf
extracting courbi.ttf
extracting fontinst.inf
extracting couri.ttf
extracting fontinst.exe
All done, no errors.
Extracting cabinet: /tmp/tmpIhHbWa.exe
extracting fontinst.inf
extracting Georgiaz.TTF
extracting Georgiab.TTF
extracting Georgiai.TTF
extracting Georgia.TTF
extracting fontinst.exe
All done, no errors.
Extracting cabinet: /tmp/tmpEgl9t1.exe
extracting fontinst.exe
extracting Impact.TTF
extracting fontinst.inf
All done, no errors.
Extracting cabinet: /tmp/tmpxkaZWO.exe
extracting fontinst.inf
extracting Times.TTF
extracting Timesbd.TTF
extracting Timesbi.TTF
extracting Timesi.TTF
extracting FONTINST.EXE
All done, no errors.
Extracting cabinet: /tmp/tmpEbJaPC.exe
extracting FONTINST.EXE
extracting trebuc.ttf
extracting Trebucbd.ttf
extracting trebucbi.ttf
extracting trebucit.ttf
extracting fontinst.inf
All done, no errors.
Extracting cabinet: /tmp/tmpydwWtZ.exe
extracting fontinst.exe
extracting fontinst.inf
extracting Verdanab.TTF
extracting Verdanai.TTF
extracting Verdanaz.TTF
extracting Verdana.TTF
All done, no errors.
Extracting cabinet: /tmp/tmpeVaW0s.exe
extracting fontinst.exe
extracting Webdings.TTF
extracting fontinst.inf
extracting Licen.TXT
All done, no errors.
All fonts downloaded and installed.
Traceback (most recent call last):
File "/usr/lib/update-notifier/package-data-downloader", line 46, in create_or_update_stampfile
with open(file, 'w'):
IOError: [Errno 2] No such file or directory: '/var/lib/update-notifier/package-data-downloads/ttf-mscorefonts-installer'
Traceback (most recent call last):
File "/usr/lib/update-notifier/package-data-downloader", line 251, in process_download_requests
create_or_update_stampfile(stampfile)
File "/usr/lib/update-notifier/package-data-downloader", line 52, in create_or_update_stampfile
os.utime(file, None)
OSError: [Errno 2] No such file or directory: '/var/lib/update-notifier/package-data-downloads/ttf-mscorefonts-installer'
Traceback (most recent call last):
File "/usr/lib/update-notifier/package-data-downloader", line 73, in mark_hook_failed
with open(failure_file, 'w'):
IOError: [Errno 2] No such file or directory: '/var/lib/update-notifier/package-data-downloads/flashplugin-installer.failed'
Traceback (most recent call last):
File "/usr/lib/update-notifier/package-data-downloader", line 73, in mark_hook_failed
with open(failure_file, 'w'):
IOError: [Errno 2] No such file or directory: '/var/lib/update-notifier/package-data-downloads/ttf-mscorefonts-installer.failed'
Traceback (most recent call last):
File "/usr/lib/update-notifier/package-data-downloader", line 139, in trigger_update_notifier
output_file = open(NOTIFIER_FILE, 'w')
IOError: [Errno 2] No such file or directory: '/var/lib/update-notifier/user.d/data-downloads-failed'
dpkg: error processing update-notifier-common (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of flashplugin-installer:
flashplugin-installer depends on update-notifier-common (>= 0.119ubuntu2); however:
Package update-notifier-common is not configured yet.
dpkg: error processing flashplugin-installer (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
Errors were encountered while processing:
update-notifier-common
flashplugin-installer
E: Sub-process /usr/bin/dpkg returned an error code (1)
user@hostname:~$adobe-flashplugin のインストールに失敗したエラーだと思いますが、どのようにして直したら良いのでしょうか?
また、sudo apt-get dist-upgrade のコマンドでも
user@hostname:~$ sudo apt-get dist-upgrade [sudo] password for physics: Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Do you want to continue [Y/n]? n Abort. user@hostname:~$
というエラーメッセージ?が出ます。
Do you want to continue [Y/n]? で n とタイプしたのでそこで止まりましたが、Y とタイプすると前記同様に長いエラーメッセージが表示されます。
同様に、sudo apt-get autoremove というコマンドでも、
user@hostname:~$ sudo apt-get autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up update-notifier-common (0.119ubuntu8.6) ...
flashplugin-installer: downloading http://archive.canonical.com/pool/partner/a/adobe-flashplugin/adobe-flashplugin_11.2.202.335.orig.tar.gz
Installing from local file /tmp/tmpIIgbz1.gz
Flash Plugin installed.
Traceback (most recent call last):
File "/usr/lib/update-notifier/package-data-downloader", line 46, in create_or_update_stampfile
with open(file, 'w'):
IOError: [Errno 2] No such file or directory: '/var/lib/update-notifier/package-data-downloads/flashplugin-installer'
Traceback (most recent call last):
File "/usr/lib/update-notifier/package-data-downloader", line 251, in process_download_requests
create_or_update_stampfile(stampfile)
File "/usr/lib/update-notifier/package-data-downloader", line 52, in create_or_update_stampfile
os.utime(file, None)
OSError: [Errno 2] No such file or directory: '/var/lib/update-notifier/package-data-downloads/flashplugin-installer'
ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/andale32.exe
ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/arial32.exe
ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/arialb32.exe
ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/comic32.exe
ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/courie32.exe
ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/georgi32.exe
ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/impact32.exe
ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/times32.exe
ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/trebuc32.exe
ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/verdan32.exe
ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/webdin32.exe
These fonts were provided by Microsoft "in the interest of cross-
platform compatibility". This is no longer the case, but they are
still available from third parties.
You are free to download these fonts and use them for your own use,
but you may not redistribute them in modified form, including changes
to the file name or packaging format.
Extracting cabinet:user@hostname:~$ /tmp/tmpsar3aq.exe
extracting fontinst.inf
extracting andale.inf
extracting fontinst.exe
extracting AndaleMo.TTF
extracting ADVPACK.DLL
extracting W95INF32.DLL
extracting W95INF16.DLL
All done, no errors.
Extracting cabinet: /tmp/tmpH8JVpJ.exe
extracting FONTINST.EXE
extracting fontinst.inf
extracting Ariali.TTF
extracting Arialbd.TTF
extracting Arialbi.TTF
extracting Arial.TTF
All done, no errors.
Extracting cabinet: /tmp/tmpdLfI2s.exe
extracting fontinst.exe
extracting fontinst.inf
extracting AriBlk.TTF
All done, no errors.
Extracting cabinet: /tmp/tmpe9VBm9.exe
extracting fontinst.inf
extracting Comicbd.TTF
extracting Comic.TTF
extracting fontinst.exe
All done, no errorsuser@hostname:~$.
Extracting cabinet: /tmp/tmp8LFJGF.exe
extracting cour.ttf
extracting courbd.ttf
extracting courbi.ttf
extracting fontinst.inf
extracting couri.ttf
extracting fontinst.exe
All done, no errors.
Extracting cabinet: /tmp/tmpSv22Zg.exe
extracting fontinst.inf
extracting Georgiaz.TTF
extracting Georgiab.TTF
extracting Georgiai.TTF
extracting Georgia.TTF
extracting fontinst.exe
All done, no errors.
Extracting cabinet: /tmp/tmpSm_5Hw.exe
extracting fontinst.exe
extracting Impact.TTF
extracting fontinst.inf
All done, no errors.
Extracting cabinet: /tmp/tmpwsybbp.exe
extracting fontinst.inf
extracting Times.TTF
extracting Timesbd.TTF
extracting Timesbi.TTF
extracting Timesi.TTF
extracting FONTINST.EXE
All done, no errors.
Extracting cabinet: /tmp/tmpYLDtsl.exe
extracting FONTINST.EXE
extracting trebuc.ttf
extracting Trebucbd.ttf
extracting trebucbi.ttf
extracting trebucit.ttf
extracting fontinst.inf
All done, no errors.
Extracting cabinet: /tmp/tmpMFJ8qq.exe
extracting fontinst.exe
extracting fontinst.inf
extracting Verdanab.TTF
extracting Verdanai.TTF
extracting Verdanaz.TTF
extracting Verdana.TTF
All done, no errors.
Extracting cabinet: /tmp/tmpaqS1Vu.exe
extracting fontinst.exe
extracting Webdings.TTF
extracting fontinst.inf
extracting Licen.TXT
All done, no errors.
All fonts downloaded and installed.
Traceback (most recent call last):
File "/usr/lib/update-notifier/package-data-downloader", line 46, in create_or_update_stampfile
with open(file, 'w'):
IOError: [Errno 2] No such file or directory: '/var/lib/update-notifier/package-data-downloads/ttf-mscorefonts-installer'
Traceback (most recent call last):
File "/usr/lib/update-notifier/package-data-downloader", line 251, in process_download_requests
create_or_update_stampfile(stampfile)
File "/usr/lib/update-notifier/package-data-downloader", line 52, in create_or_update_stampfile
os.utime(file, None)
OSError: [Errno 2] No such file or directory: '/var/lib/update-notifier/package-data-downloads/ttf-mscorefonts-installer'
Traceback (most recent call last):
File "/usr/lib/update-notifier/package-data-downloader", line 73, in mark_hook_failed
with open(failure_file, 'w'):
IOError: [Errno 2] No such file or directory: '/var/lib/update-notifier/package-data-downloads/flashplugin-installer.failed'
Traceback (most recent call last):
File "/usr/lib/update-notifier/package-data-downloader", line 73, in mark_hook_failed
with open(failure_file, 'w'):
IOError: [Errno 2] No such file or directory: '/var/lib/update-notifier/package-data-downloads/ttf-mscorefonts-installer.failed'
Traceback (most recent call last):
File "/usr/lib/update-notifier/package-data-downloader", line 139, in trigger_update_notifier
output_file = open(NOTIFIER_FILE, 'w')
IOError: [Errno 2] No such file or directory: '/var/lib/update-notifier/user.d/data-downloads-failed'
dpkg: error processing update-notifier-common (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of flashplugin-installer:
flashplugin-installer depends on update-notifier-common (>= 0.119ubuntu2); however:
Package update-notifier-common is not configured yet.
dpkg: error processing flashplugin-installer (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
Errors were encountered while processing:
update-notifier-common
flashplugin-installer
E: Sub-process /usr/bin/dpkg returned an error code (1)
user@hostname:~$とメッセージが出ます。
どなたか修復する方法を教えて頂けませんか?よろしくお願いします。
オフライン
エラー内容を見るとupdate-notifier-commonが原因となっているようです。しかも、update-notifier-commonパッケージ自体もインストールが完了しておらずエラーになっているように見受けられます。
ただ、update-notifier-commonパッケージの更新があったのはだいぶ前なんですよね。もしかして、システムをインストールしたばかりとかでしょうか?
とりあえず、以下のコマンドを実行した結果の出力内容を投稿してみてください。
ls -l /var/lib/update-notifier/package-data-downloads dpkg -l update-notifier-common
おそらく、一つ目のコマンドで「そのようなファイルやディレクトリーは存在しない」といったメッセージが返ってくると思います。直接の原因はこれだと思うのですが、ただ、存在しないという状況におかれるというのはちょっと考え難いです。なので、「そもそもシステムのインストールに失敗している」あるいは「ファイルシステムが壊れた」その原因は「ハードウェア的な故障?」といった有らぬ方向まで疑う必要があるように思います。
(ちなみに、経験があるとかでもなく何となくなんですが、問題が起きているときに「autoremove」は実行しないほうが良さそうな気がしますです…)
オフライン
すみません、
IOError: [Errno 2] No such file or directory: '/var/lib/update-notifier/user.d/data-downloads-failed'
というエラーまで出ているのを見落としていました。
で、再現テストをしてみたところ、状況は「/var/lib/update-notifier/」ディレクトリーごと消し飛んでいるといったことになっていそうです。
そして、この状況だと正常にインストールされていたupdate-notifier-commonパッケージも設定エラーに格下げとなるようです。
いずれにしても、
Templer による投稿:
存在しないという状況におかれるというのはちょっと考え難いです。なので、「そもそもシステムのインストールに失敗している」あるいは「ファイルシステムが壊れた」その原因は「ハードウェア的な故障?」といった有らぬ方向まで疑う必要があるように思います。
であることに変わりはないです。
オフライン
Templerさん、
回答をありがとうございます。
おっしゃる通りにコマンドを実行しました。
結果は次のようです。
user@hostname:~$ ls -l /var/lib/update-notifier/package-data-downloads ls: cannot access /var/lib/update-notifier/package-data-downloads: No such file or directory user@hostname:~$
user@hostname:~$ dpkg -l update-notifier-common Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Description +++-=============================-=============================-========================================================================== iF update-notifier-common 0.119ubuntu8.6 Files shared between update-notifier and other packages user@hostname:~$
このソフトウェア(flashplugin-installer?)のインストールに失敗したのだと思います。どうやって修復・直したらよいのでしょうか?
よろしくお願いします。
オフライン
ええと、「/var/lib/update-notifier」を削除した覚えがあるのであれば話は別ですが、身に覚えがないということですと実際に起きている不具合の範囲がどの程度かわからない、つまり現状においては表に現れていないだけで実は他にもおかしくなっているものが隠れている(パッケージどころかディスクにある全てのファイルにあり得る)という可能性もあるので、安心できる修復となるとどうしても「ハードウェアの検査をした後にシステムをインストールし直す」ということになります。
「いいよ、そんなこと気にしない」とか「実は削除しちゃったんだ…」ということであれば以下を行なってみてください。
まずは、ファイルシステムのチェック(修復)をするために、システムをリカバリーモードで起動させて、リカバリーメニューにある「fsck」を選択してください。これは必ず行なってください。
終了しましたらシステムを起動させて、
sudo dpkg --configure -a
を実行してください。原因がファイルシステムの破損であった場合は運が良ければここまでで修復されるかもしれません。
ここでもエラーメッセージが出るようであればメッセージにあるupdate-notifier-commonのバージョン名をメモしておいてください。投稿#1には0.119ubuntu8.6とありますので、以降はそれを例とします。
fsckでは治らない場合は以下のどちらかを行なってください。
これは今回の場合に限り有効だと思ってください。
まずは、確認したバージョンのupdate-notifier-commonパッケージのダウンロードと、そのファイル名を確認します。
apt-get download update-notifier-common=0.119ubuntu8.6 ls update-notifier-common*
そして、そのダウンロードしたパッケージをインストールします。
sudo dpkg -i ダウンロードしたファイル名
最後に再び「 sudo dpkg --configure -a 」を実行して修復を完了させてください。
現時点では上記を行うことが出来るはずですが、もしエラーメッセージにあるバージョンのupdate-notifier-commonをダウンロードできなかった場合は以下の方法で修復してください。
まずは、下記コマンドでflashplugin-installerとttf-mscorefonts-installerを削除してください。
sudo apt-get remove flashplugin-installer ttf-mscorefonts-installer
このときに依存関係で削除されるパッケージがあるようであればパッケージ名を控えておいてください。
次にupdate-notifier-commonパッケージを再インストールします。
sudo apt-get install --reinstall update-notifier-common
そして削除したパッケージをインストールし直して終了です。
オフライン
もしかしたら、「何でupdate-notifier-commonに固執しているんだろう」という疑問を持たれていますでしょうか。それについてはこちらを参考にしていただけるとありがたいです。
参考: https://forums.ubuntulinux.jp/viewtopic.php?id=15751
オフライン
Templerさん、
----------------------------------------
ファイルシステムのチェック(修復)をするために、システムをリカバリーモードで起動させて、リカバリーメニューにある「fsck」を選択してください。これは必ず行なってください。
終了しましたらシステムを起動させて、
コード:
sudo dpkg --configure -a
を実行してください。原因がファイルシステムの破損であった場合は運が良ければここまでで修復されるかもしれません。
ここでもエラーメッセージが出るようであればメッセージにあるupdate-notifier-commonのバージョン名をメモしておいてください。投稿#1には0.119ubuntu8.6とありますので、以降はそれを例とします。
fsckでは治らない場合は以下のどちらかを行なってください。
これは今回の場合に限り有効だと思ってください。
まずは、確認したバージョンのupdate-notifier-commonパッケージのダウンロードと、そのファイル名を確認します。
コード:
apt-get download update-notifier-common=0.119ubuntu8.6
ls update-notifier-common*
そして、そのダウンロードしたパッケージをインストールします。
コード:
sudo dpkg -i ダウンロードしたファイル名
最後に再び「 sudo dpkg --configure -a 」を実行して修復を完了させてください。
----------------------------------------
ここまでやったところ、
sudo apt-get upgrade
を行っても無事エラーメッセージが出なくなりました。元通りのようにアップデートやアップグレードが問題なく出来るようになりました。
実際には細かいところはわかりませんが、update-notifier-commonパッケージをダウンロードしてインストールしたら直ったという感じなんでしょうかね?
因みに、システムをリカバリーモードで起動させたためか、画面の設定がデフォルト?になってしまいました。画面左に出るランチャーのサイズが大きくなってしまいました。
ま、いずれにしてもTemplerさん再三再四助けて頂いてありがとうございます。
オフライン
nobu_us による投稿:
因みに、システムをリカバリーモードで起動させたためか、画面の設定がデフォルト?になってしまいました。画面左に出るランチャーのサイズが大きくなってしまいました。
これは、Unity 2D(ubuntu-2dセッション)で起動されたとかではなくですか?
もし、通常のUnity(ubuntuセッション)が起動されたにもかかわらずそのようになったのだとしたら、普通はリカバリーモードで起動させてもそのようにはならないはずなので、fsckを行なったことで隠れていたものが現れたということになると思います。こうなるともう、「警告レベル」と捉えたほうが良いのではないでしょうか。
オフライン
Templer による投稿:
nobu_us による投稿:
因みに、システムをリカバリーモードで起動させたためか、画面の設定がデフォルト?になってしまいました。画面左に出るランチャーのサイズが大きくなってしまいました。
これは、Unity 2D(ubuntu-2dセッション)で起動されたとかではなくですか?
もし、通常のUnity(ubuntuセッション)が起動されたにもかかわらずそのようになったのだとしたら、普通はリカバリーモードで起動させてもそのようにはならないはずなので、fsckを行なったことで隠れていたものが現れたということになると思います。こうなるともう、「警告レベル」と捉えたほうが良いのではないでしょうか。
Templerさん、
早々の回答をありがとうございます。
リカバリーモードで起動させた後、Templerさんの仰る作業を施して(修復?した後)Ubuntuをリスタートしたところランチャーのサイズがデフォルトのサイズ(大きいサイズ)になってしまいました。そこで既にインストールしてあった「CompizConfig 設定マネージャー」を起動して「Ubuntu Unity Plugin」の項目を見たところLauncher Icon Sizeにチェックが入っていませんでした。つまりデフォルト?サイズになっていた訳です。リカバリーモードで起動させる前は確か最小の32に変更してあったはずです。そこで再度このサイズを32にして設定マネージャーを閉じました。そしてUbuntuをリスタートした所、ちゃんとランチャーのサイズが小さくなりました。
これは、やっぱり「警告レベル」、危険なのでしょうか?
オフライン
詳細をありがとうございます。おかげでそのセッションが何者なのか把握できたと思います。
「CompizConfig 設定マネージャーでサイズを再指定してからUbuntuをリスタートしたら適用された」ということなので、これはUnity 2Dで起動されていたと見て良さそうです。通常のUnityであればサイズの値をいじると即座に適用されるようですので。
(ログイン画面で「Ubuntu 2D」セッションに変えてログインするとUnity 2Dを確認できます)
ちなみに、Unity 2D時に弄ったCompizの設定は通常のunityプロファイルのものではなく、別のプロファイル(おそらくdefaultプロファイル)のものになっていたと思います。なので、設定値そのものが弄ったことのない状態(デフォルト)になっていたのでしょう。
「危険かどうか」という話しに戻しますが、私であれば今回の「通常ではありえないファイル(ディレクトリー)の消失が発生した」という時点でハードウェアの点検はしますし(何しろ、そのようになった原因が不明ですので)、その結果如何によらずシステムの信頼度は下げます。というより、他にも不具合が隠れている可能性があるという気持ちの悪さから、システムを再インストールすると思います。隠れていたものが急に悪さしだして、不定な動作、更には大切なデータを蝕むなんてことになるのは御免こうむりたいので……。
とはいえ、軽微かなぁという印象もなくはないので、あとは個人の判断といったところだろうと思います。
オフライン
Templerさん、
早々の回答をありがとうございます。
「CompizConfig 設定マネージャーでサイズを再指定してからUbuntuをリスタートしたら適用された」ということなので、これはUnity 2Dで起動されていたと見て良さそうです。通常のUnityであればサイズの値をいじると即座に適用されるようですので。
(ログイン画面で「Ubuntu 2D」セッションに変えてログインするとUnity 2Dを確認できます)
「Unity 2Dで起動」という事がまだよく分かっていないので「通常」、いつも通りの方法でスタートしてログインしているだけでした。すると私は今まで「Unity 2Dで起動」していた訳ですね。
というより、他にも不具合が隠れている可能性があるという気持ちの悪さから、システムを再インストールすると思います。
私にとって「システムを再インストールする」のはかなり大変なので、今は一応無事に動いているため「軽微かなぁ」と思って今回は再インストールするのはやめておきます。また、何か問題が起きたらその時は再インストールしようかなと考えている次第です。
Templerさん、多くの回答をありがとうございます。
オフライン
nobu_us による投稿:
「Unity 2Dで起動」という事がまだよく分かっていないので「通常」、いつも通りの方法でスタートしてログインしているだけでした。すると私は今まで「Unity 2Dで起動」していた訳ですね。
ぁぁぁ、誤解させてしまいました。「一時的にUnity 2Dで起動されたのだろう」ということを書いたつもりだったのですが、「一時的に」に関する具体的な言葉を省いて投稿してしまったようです。すみません。
軽く説明をすると、Unity 2Dというデスクトップはログイン画面で「Ubuntu 2D」セッションを選択することで起動させられるのですが、「Ubuntu」セッションで起動した場合に於いても起動時にUnityの動作要件(3Dグラフィック性能)に満たしていないと判定されるとUnity 2Dに切り替えて起動されるようになっています。
(どのデスクトップセッションで起動されているのかは「 echo $DESKTOP_SESSION 」コマンドを実行すると確認できます)
このような仕組みなので、件の「リカバリーモード時の変化」というのは、そちらの環境ではリカバリーモードで起動させるとその要件(3D性能)を満たさなくなるグラフィック環境であるか、あるいは「failsafeX」を選んで起動させたために、一時的にUnity 2Dで起動されたのではないかと考えたわけです。
Unity 2Dであった可能性は前の投稿で述べた通りなのですが、そこをもう少し踏み込んで説明しますと、Unity 2Dはウィンドウ管理にCompizではなくMetacityというウィンドウマネージャーを使用していますので、Compizの設定を弄ってもUnity 2Dには反映されません。見た目は似ているけど、中身は殆ど別物なんです。
なので、普段使用しているデスクトップはUnityで間違い無いと思います。
※ なお、Unity 2Dが提供されているのはUbuntu 12.04までで、12.10以降には存在しません(正確には中身のないダミーパッケージが存在しています)。
オフライン
Templerさん、
返事をありがとうございます。
軽く説明をすると、Unity 2Dというデスクトップはログイン画面で「Ubuntu 2D」セッションを選択することで起動させられるのですが、「Ubuntu」セッションで起動した場合に於いても起動時にUnityの動作要件(3Dグラフィック性能)に満たしていないと判定されるとUnity 2Dに切り替えて起動されるようになっています。
(どのデスクトップセッションで起動されているのかは「 echo $DESKTOP_SESSION 」コマンドを実行すると確認できます)
私のコンピュータはおよそUnityの動作要件(3Dグラフィック性能)を満たしていないと思いますので、Unity 2Dに切り替えて起動されたのだと思います。
ちなみに、
user@hostname:~$ echo $DESKTOP_SESSION ubuntu user@hostname:~$
となりました。
話が私の最初の質問からずれてきたのでこの辺でやめようかなと思いますが、一つだけ。
Templerさんの話からすると、Ubuntu 12.10以降からは「CompizConfig 設定マネージャー」を使用せずに別の方法で画面左に出るランチャーのサイズを変更出来るんですかね。
Templerさん、ありがとうございました。
オフライン
user@hostname:~$ echo $DESKTOP_SESSION ubuntu user@hostname:~$
この結果を見ると、投稿#8にも書きましたがセッションが「ubuntu」となっていますのでUnityが稼働しています。Unity 2Dに切り替わっている場合は、そこは「ubuntu-2d」と返ります。
よって、12.10以降でも「CompizConfig 設定マネージャー」で変更可能です。
でも実は、ランチャーのアイコンサイズは、12.04以降だったと思いますが、「CompizConfig 設定マネージャー」がなくてもアプリケーションの「システム設定」にある「外観」から変更できるようになっています。この項目はUnityで起動した時にしか現れず、Unityにしか適用されません。
んー何だか、全体的にうまく伝わっていない感じがするので、きちんと知りたかったりするようでしたら新たにトピックを立ててみてください。
オフライン
すみません、補足です。
Templer による投稿:
この項目はUnityで起動した時にしか現れず、Unityにしか適用されません。
上記の「この項目」というのは「外観」に現れる「ランチャーアイコンのサイズ」のことです。
オフライン
回答をありがとうございます。
おっしゃるとおり、細かいところはわたしの不十分な頭では理解できていませんが、一応?私の問題?質問?に対して無事直って?いるようなのでこれで「よし」としようかなと考えています。
ありがとうございました。
オフライン