hotta-sの日記: get_pkginfo
Plamo Linuxに新しく登載されたget_pkginfo。
手元の常用マシンはバージョン上動作環境外なので、Windows8.1pro(64bit)上のVMware PlayerでPlamo-5.3.1(32bit)とPlamo-5.3(.1)(64bit)で試している。
64bitの方は問題なく動作するんだが、32bitの方が次のようなメッセージを吐いて終了する。
$ get_pkginfo -i
You need sudo to install package(s). Are you sure? [y/N] y
Traceback (most recent call last):
File "/usr/bin/get_pkginfo", line 356, in
main()
File "/usr/bin/get_pkginfo", line 251, in main
local_pkgs = get_local_pkgs()
File "/usr/bin/get_pkginfo", line 112, in get_local_pkgs
(base, vers, p_arch, build) = line[18:].strip().split("-")
ValueError: need more than 1 value to unpack
違いと言えば32bit版は5.3.1のISOイメージからインストールしたが64bit版は5.3をISOイメージで入れて5.3.1に上げたもの。
なにが原因でこうなんだろうね。get_pkginfoって32bit版と64bit版で違ったのだろうか?
get_pkginfo More ログイン