2013年04月07日

ごまかし、conkyの表示法。archbang20130404版。

じぶんの場合、pacmanでのconkyのインストールが
適正になされなかった。あくまでも20130404版限定の話。

で、
$ conky
として、出るエラー表示は、
「/usr/lib/libiw.so.29がshort fileだ」
みたないerror表示が出ていた。

short fileって、なんなんのかな、
と思って現物を調べたら、
その名のファイルはあるが、空ファイルだった。

で、conkyが問題なく動作する、20130328版に
出掛けて行って、同ファイルを調べた。
ライブラリってあんまりよくわからないんだけど、
開いたら、実行ファイルみたいな感じ(文字化け)で
中身が詰まっていた。

それを20130404版にもっていってコピペした。
幸いにも動作した。

動作させる具体的な方法:
不完全ながらconkyがインストールしてある状態とする。で、
libiw.so.29をもってきて、~/に貼ったところから説明すると、

$ sudo cp ~/libiw.so.29 /usr/lib/
  ※同ファイルがあるが、上書きされる。
$ sudo rm /urs/lib/libiw.so
$ sudo ln -s /usr/lib/libiw.so.29 /usr/lib/libiw.so
削除後、新しいリンクファイルlibiw.soを作る。
続いて、
logout→lobinすれば、表示するはず。

じぶんであれこれ設定したくなく、
デザイン要素として、という向きもいられるだろう。
そんな人は、すでに透明化してある、
かつてのarchbangのファイルを元にして使えばいい。
.conkyrc を~/に置く。

archbang20130404.conkypict.png
表示位置は、デスクトップの左上。
上記画像は、デスクトップの左上隅を拡大したもの。
文字はとりあえず水色風。

私のように不具合が生じ、でも、流用するlibファイルの
持ち合わせがない場合は、こちら libiw.so.29


posted by ブログ開設者 at 20:44| Comment(0) | linux | このブログの読者になる | 更新情報をチェックする

不完全ながら。archbang20130404版。

ずっと断るのを忘れていたが、x86_64バージョン。

じぶん的に必要な機能の多くは動作するようになった。
conkyがなぜ起動しないのか、さっぱりわからない。
再インストールを試みると、、、

$ sudo pacman -S conky
警告: conky-1.9.0-1 は最新です -- 再インストール
依存関係を解決...
内部衝突を確認...

パッケージ (1): conky-1.9.0-1

合計インストールサイズ: 0.40 MiB

:: インストールを行いますか? [Y/n] Y
(1/1) キーリングのキーを確認 [######################] 100%
(1/1) パッケージの整合性を確認 [######################] 100%
:: ファイル /var/cache/pacman/pkg/conky-1.9.0-1-x86_64.pkg.tar.xz は破損しています (無効または破損したパッケージ (チェックサム))。
ファイルを削除しますか? [Y/n]


このあと、Yでも、nでも上手くいかない。

$ sudo pacman-key --init
$ sudo pacman-key --populate archlinux

$ sudo pacman -S conky
警告: conky-1.9.0-1 は最新です -- 再インストール
依存関係を解決...
内部衝突を確認...

パッケージ (1): conky-1.9.0-1

合計ダウンロードサイズ: 0.15 MiB
合計インストールサイズ: 0.40 MiB

:: インストールを行いますか? [Y/n] Y
:: パッケージを取得 ...
conky-1.9.0-1-x86_64 155.8 KiB 906K/s 00:00 [######################] 100%
(1/1) キーリングのキーを確認 [######################] 100%
(1/1) パッケージの整合性を確認 [######################] 100%
(1/1) パッケージファイルのロード [######################] 100%
(1/1) ファイル衝突の確認 [######################] 100%
エラー: 処理を完了できませんでした (衝突しているファイル)
conky: /usr/bin/conky がファイルシステムに存在しています
conky: /usr/share/licenses/conky/LICENSE がファイルシステムに存在しています
conky: /usr/share/man/man1/conky.1.gz がファイルシステムに存在しています
conky: /usr/share/vim/vimfiles/ftdetect/conkyrc.vim がファイルシステムに存在しています
conky: /usr/share/vim/vimfiles/syntax/conkyrc.vim がファイルシステムに存在しています
エラーが発生し、パッケージはアップグレードされませんでした。

$ sudo rm /usr/bin/conky
$ sudo rm /usr/share/licenses/conky/LICENSE
$ sudo rm /usr/share/man/man1/conky.1.gz
$ sudo rm /usr/share/vim/vimfiles/ftdetect/conkyrc.vim
$ sudo rm /usr/share/vim/vimfiles/syntax/conkyrc.vim
$ sudo pacman -S conky
依存関係を解決...
内部衝突を確認...

パッケージ (1): conky-1.9.0-1

合計インストールサイズ: 0.40 MiB

:: インストールを行いますか? [Y/n] Y
(1/1) キーリングのキーを確認 [######################] 100%
(1/1) パッケージの整合性を確認 [######################] 100%
(1/1) パッケージファイルのロード [######################] 100%
(1/1) ファイル衝突の確認 [######################] 100%
(1/1) 空き容量を確認 [######################] 100%
(1/1) インストール conky [######################] 100%
警告: /etc/conky/conky.conf は /etc/conky/conky.conf.pacorig として保存されました
警告: /etc/conky/conky_no_x11.conf は /etc/conky/conky_no_x11.conf.pacorig として保存されました
ldconfig: ファイル /usr/lib/libiw.so は空です。検査されません。
ldconfig: ファイル /usr/lib/libiw.so.29 は空です。検査されません。

$ conky
conky: error while loading shared libraries: /usr/lib/libiw.so.29: file too short


てな状況。

ま、それ以外は、動作させられるようにはなった。
(pt2、dcp7030を含む)

でもこういう状態では、新しくarchbangを始めよう
という人は、いなくなるね。とにかく重くしたくない
らしくて、どんどん削除している。日本語フォントは
もはや入っていないし、gpartedなんかも、
デフォルトで入っていたが、いまはない。
ついてくるコアなファンだけでよい、ってことかな。

posted by ブログ開設者 at 10:21| Comment(0) | linux | このブログの読者になる | 更新情報をチェックする

pacman及びyaourt。archbang20130404版

今朝の現状すっ!

$ sudo pacman -Syyu
:: パッケージデータベースを同期中...
core 103.9 KiB 1208K/s 00:00 [######################] 100%
extra 1504.8 KiB 7.24M/s 00:00 [######################] 100%
community 1935.0 KiB 4.26M/s 00:00 [######################] 100%
multilib 104.2 KiB 10.2M/s 00:00 [######################] 100%
archlinuxfr 8.6 KiB 8.36M/s 00:00 [######################] 100%
:: フルシステムアップグレードの開始...
依存関係を解決...
内部衝突を確認...

パッケージ (3): psmisc-22.20-1 systemd-200-1 systemd-sysvcompat-200-1

合計ダウンロードサイズ: 2.07 MiB
合計インストールサイズ: 16.82 MiB
Net Upgrade Size: 0.18 MiB

:: インストールを行いますか? [Y/n] Y
:: パッケージを取得 ...
psmisc-22.20-1-x86_64 90.3 KiB 1075K/s 00:00 [######################] 100%
systemd-200-1-x86_64 2024.9 KiB 6.44M/s 00:00 [######################] 100%
systemd-sysvcompat-... 4.9 KiB 0.00B/s 00:00 [######################] 100%
(3/3) キーリングのキーを確認 [######################] 100%
(3/3) パッケージの整合性を確認 [######################] 100%
(3/3) パッケージファイルのロード [######################] 100%
(3/3) ファイル衝突の確認 [######################] 100%
(3/3) 空き容量を確認 [######################] 100%
(1/3) アップグレード psmisc [######################] 100%
(2/3) アップグレード systemd [######################] 100%
(3/3) アップグレード systemd-sysvcompat [######################] 100%
ldconfig: ファイル /usr/lib/libiw.so は空です。検査されません。
ldconfig: ファイル /usr/lib/libiw.so.29 は空です。検査されません。


$ sudo nano /etc/pacman.conf

(pacman.confの記述内容全文)
-------------------------------------------------------------------
#
# /etc/pacman.conf
#
# See the pacman.conf(5) manpage for option and repository directives

#
# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir = /
#DBPath = /var/lib/pacman/
#CacheDir = /var/cache/pacman/pkg/
#LogFile = /var/log/pacman.log
#GPGDir = /etc/pacman.d/gnupg/
HoldPkg = pacman glibc
#XferCommand = /usr/bin/curl -C - -f %u > %o
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#CleanMethod = KeepInstalled
#UseDelta = 0.7
Architecture = auto

# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg =
#IgnoreGroup =

#NoUpgrade =
#NoExtract =

# Misc options
#UseSyslog
#Color
#TotalDownload
CheckSpace
#VerbosePkgLists

# By default, pacman accepts packages signed by keys that its local keyring
# trusts (see pacman-key and its man page), as well as unsigned packages.
SigLevel = Required DatabaseOptional
LocalFileSigLevel = Optional
#RemoteFileSigLevel = Required

# NOTE: You must run `pacman-key --init` before first using pacman; the local
# keyring can then be populated with the keys of all official Arch Linux
# packagers with `pacman-key --populate archlinux`.

#
# REPOSITORIES
# - can be defined here or included from another file
# - pacman will search repositories in the order defined here
# - local/custom mirrors can be added here or in separate files
# - repositories listed first will take precedence when packages
# have identical names, regardless of version number
# - URLs will have $repo replaced by the name of the current repo
# - URLs will have $arch replaced by the name of the architecture
#
# Repository entries are of the format:
# [repo-name]
# Server = ServerName
# Include = IncludePath
#
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
#

# The testing repositories are disabled by default. To enable, uncomment the
# repo name header and Include lines. You can add preferred servers immediately
# after the header, and they will be used before the default mirrors.

#[testing]
#Include = /etc/pacman.d/mirrorlist

[core]
SigLevel = Never
Include = /etc/pacman.d/mirrorlist

[extra]
SigLevel = Never
Include = /etc/pacman.d/mirrorlist

#[community-testing]
#Include = /etc/pacman.d/mirrorlist

[community]
SigLevel = Never
Include = /etc/pacman.d/mirrorlist

# If you want to run 32 bit applications on your x86_64 system,
# enable the multilib repositories as required here.

#[multilib-testing]
#Include = /etc/pacman.d/mirrorlist

[multilib]
SigLevel = Never
Include = /etc/pacman.d/mirrorlist

# An example of a custom package repository. See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#SigLevel = Optional TrustAll
#Server = file:///home/custompkgs

[archlinuxfr]
SigLevel = Never
Server = http://repo.archlinux.fr/$arch

-----------------------------------------------------------ここまで

$ sudo pacman-key --init
$ sudo pacman-key --populate archlinux

==> archlinux.gpg からキーを追加...
==> キーリングの信頼されたキーに署名...
-> キーに署名 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
-> キーに署名 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
-> キーに署名 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
-> キーに署名 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
-> キーに署名 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
==> 所有者信頼値をインポート...
==> 信用データベースをアップデート...
gpg: 次回の信用データベース検査は、2014-01-22です

$ sudo pacman -S yaourt
依存関係を解決...
内部衝突を確認...

パッケージ (3): package-query-1.2-2 yajl-2.0.4-1 yaourt-1.3-1

合計インストールサイズ: 0.61 MiB

:: インストールを行いますか? [Y/n] Y
(3/3) キーリングのキーを確認 [######################] 100%
(3/3) パッケージの整合性を確認 [######################] 100%
エラー: package-query: missing required signature
:: ファイル /var/cache/pacman/pkg/package-query-1.2-2-x86_64.pkg.tar.xz は破損しています (無効または破損したパッケージ (PGP 鍵))。
ファイルを削除しますか? [Y/n] ^C


$ sudo pacman -S package-query
警告: package-query-1.2-2 は最新です -- 再インストール
依存関係を解決...
内部衝突を確認...

パッケージ (1): package-query-1.2-2

合計インストールサイズ: 0.08 MiB
Net Upgrade Size: 0.00 MiB

:: インストールを行いますか? [Y/n] Y
(1/1) キーリングのキーを確認 [######################] 100%
(1/1) パッケージの整合性を確認 [######################] 100%
(1/1) パッケージファイルのロード [######################] 100%
(1/1) ファイル衝突の確認 [######################] 100%
(1/1) 空き容量を確認 [######################] 100%
(1/1) 再インストール package-query [######################] 100%
ldconfig: ファイル /usr/lib/libiw.so は空です。検査されません。
ldconfig: ファイル /usr/lib/libiw.so.29 は空です。検査されません。

$ sudo pacman -S yajl
警告: yajl-2.0.4-1 は最新です -- 再インストール
依存関係を解決...
内部衝突を確認...

パッケージ (1): yajl-2.0.4-1

合計インストールサイズ: 0.24 MiB
Net Upgrade Size: 0.00 MiB

:: インストールを行いますか? [Y/n] Y
(1/1) キーリングのキーを確認 [######################] 100%
(1/1) パッケージの整合性を確認 [######################] 100%
(1/1) パッケージファイルのロード [######################] 100%
(1/1) ファイル衝突の確認 [######################] 100%
(1/1) 空き容量を確認 [######################] 100%
(1/1) 再インストール yajl [######################] 100%
ldconfig: ファイル /usr/lib/libiw.so は空です。検査されません。
ldconfig: ファイル /usr/lib/libiw.so.29 は空です。検査されません。

$ sudo pacman -S yaourt
警告: yaourt-1.3-1 は最新です -- 再インストール
依存関係を解決...
内部衝突を確認...

パッケージ (1): yaourt-1.3-1

合計インストールサイズ: 0.29 MiB
Net Upgrade Size: 0.00 MiB

:: インストールを行いますか? [Y/n] Y
(1/1) キーリングのキーを確認 [######################] 100%
(1/1) パッケージの整合性を確認 [######################] 100%
(1/1) パッケージファイルのロード [######################] 100%
(1/1) ファイル衝突の確認 [######################] 100%
(1/1) 空き容量を確認 [######################] 100%
(1/1) 再インストール yaourt [######################] 100%
ldconfig: ファイル /usr/lib/libiw.so は空です。検査されません。
ldconfig: ファイル /usr/lib/libiw.so.29 は空です。検査されません。

$ sudo yaourt -S brother-dcp7030

==> Downloading brother-dcp7030 PKGBUILD from AUR...
................................................
.........................................................
.....................................................
.........................................................
..........................................

つまり、yaourtの関連パッケージをひとつひとつ
先に入れて、yaourtを最後に単体で入れたら、
yaourtコマンドが使えるようになった。

インストール後に出る、
ldconfig: ファイル /usr/lib/libiw.so は空です。検査されません。
ldconfig: ファイル /usr/lib/libiw.so.29 は空です。検査されません。

の意味がわからない。じぶんの行いが正しくないのか、
ディストリビューションが正しくないのか、、、。


posted by ブログ開設者 at 09:52| Comment(0) | linux | このブログの読者になる | 更新情報をチェックする