PLANEX NAS-01GをchrootでDebian化(其の二)

公開日: : 最終更新日:2011/06/02 Linux

情報が少ないせいか、最近NAS-01Gで検索してくる方が多いので、ちょっと弄ってみました。
因みにまだ安定稼動までたどりつけてません爆

しかも、タコなので笑ってください&皆も同じ間違い?はしないようにねっw

えっと、前回
解凍最後になんかエラーが出てループ・・・・orz
で、解決したように見えたけど、解決してなかった。爆

エラーはこれ
#[JPEG]Corrupt JPEG data: 2 extraneous bytes before marker 0xdb

とりあえず、画像ファイルが壊れてるんだろということで、放置w

前回apt-get upgradeした時

root@NAS-01G:/# apt-get upgrade
Reading Package Lists… 0%Reading Package Lists… 100%Reading Package Lists… Done
Building Dependency Tree… 0%Building Dependency Tree… 0%Building Dependency Tree… 0%Building Dependency Tree… 1%Building Dependency Tree… 50%Building Dependency Tree… 50%Building Dependency Tree… 57%Building Dependency Tree… 69%Building Dependency Tree… 83%Building Dependency Tree… 95%Building Dependency Tree… Done
The following packages have been kept back:
adduser amiga-fdisk apt apt-utils aptitude bash bc bittornado debianutils
exim4 exim4-base exim4-config exim4-daemon-light ftp initscripts libblkid1
liblocale-gettext-perl libpam-modules libperl5.8 libtext-charwidth-perl
libtext-iconv-perl lynx mpd mpg123 netbase nmap ntpdate passwd pciutils perl
perl-base perl-modules ppp pppoeconf python ssh sysvinit tasksel util-linux
wget whiptail
0 upgraded, 0 newly installed, 0 to remove and 41 not upgraded.

にHoldされてたパッケージを入れてみた。

っと、その前にaptをまずアップグレード

root@NAS-01G:/#apt-get install apt
Reading Package Lists… 0%Reading Package Lists… 100%Reading Package Lists… Done
Building Dependency Tree… 0%Building Dependency Tree… 0%Building Dependency Tree… 50%Building Dependency Tree… 50%Building Dependency Tree… 50%Building Dependency Tree… 63%Building Dependency Tree… 76%Building Dependency Tree… 89%Building Dependency Tree… Done
The following extra packages will be installed:
apt-utils aptitude debian-archive-keyring gnupg gpgv libdb4.4 libgnutls13
libldap2 libreadline5 libsasl2-2 libsigc++-2.0-0c2a libtasn1-3 libusb-0.1-4
readline-common
Suggested packages:
dpkg-dev apt-doc debtags gnupg-doc xloadimage gnutls-bin
Recommended packages:
aptitude-doc-en aptitude-doc libparse-debianchangelog-perl libsasl2-modules
libtasn1-3-bin
The following NEW packages will be installed:
debian-archive-keyring gnupg gpgv libdb4.4 libgnutls13 libldap2 libreadline5
libsasl2-2 libsigc++-2.0-0c2a libtasn1-3 libusb-0.1-4 readline-common
The following packages will be upgraded:
apt apt-utils aptitude
3 upgraded, 12 newly installed, 0 to remove and 38 not upgraded.
Need to get 7924kB of archives.
After unpacking 12.6MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
0% [Working] 0% [Connecting to ftp.jp.debian.org]0% [Connecting to ftp.jp.debian.org]0% [Connecting to ftp.jp.debian.org] Get:1 http://ftp.jp.debian.org stable/main libtasn1-3 0.3.6-2 [54.0kB]
0% [1 libtasn1-3 8192/54.0kB 15%]0% [1 libtasn1-3 8192/54.0kB 15%] Get:2 http://ftp.jp.debian.org stable/main libgnutls13 1.4.4-3 [289kB]
1% [2 libgnutls13 98304/289kB 34%] 4% [Waiting for headers] Get:3 http://ftp.jp.debian.org stable/main libsasl2-2 2.1.22.dfsg1-8 [111kB]
4% [3 libsasl2-2 32768/111kB 29%] 5% [Waiting for headers] Get:4 http://ftp.jp.debian.org stable/main libldap2 2.1.30-13.3 [155kB]
6% [4 libldap2 32768/155kB 21%] 7% [Waiting for headers] Get:5 http://ftp.jp.debian.org stable/main readline-common 5.2-2 [50.6kB]
8% [5 readline-common 32768/50.6kB 64%] 8% [Waiting for headers] Get:6 http://ftp.jp.debian.org stable/main libreadline5 5.2-2 [133kB]
8% [6 libreadline5 32768/133kB 24%] 9% [Waiting for headers] Get:7 http://ftp.jp.debian.org stable/main libusb-0.1-4 2:0.1.12-5 [21.0kB]
10% [Waiting for headers] Get:8 http://ftp.jp.debian.org stable/main gpgv 1.4.6-2 [150kB]
10% [8 gpgv 32768/150kB 21%] 12% [Waiting for headers] Get:9 http://ftp.jp.debian.org stable/main gnupg 1.4.6-2 [1869kB]
12% [9 gnupg 32768/1869kB 1%] 23% [9 gnupg 884736/1869kB 47%] 35% [Working] Get:10 http://ftp.jp.debian.org stable/main debian-archive-keyring 2007.02.19 [7880B]
35% [10 debian-archive-keyring 0/7880B 0%] 35% [Working] Get:11 http://ftp.jp.debian.org stable/main libdb4.4 4.4.20-8 [476kB]
35% [11 libdb4.4 0/476kB 0%] 41% [Working] Get:12 http://ftp.jp.debian.org stable/main apt-utils 0.6.46.4-0.1 [206kB]
41% [12 apt-utils 0/206kB 0%] 44% [Working] Get:13 http://ftp.jp.debian.org stable/main libsigc++-2.0-0c2a 2.0.17-2 [34.7kB]
44% [13 libsigc++-2.0-0c2a 32768/34.7kB 94%] 44% [Waiting for headers] Get:14 http://ftp.jp.debian.org stable/main aptitude 0.4.4-4 [2918kB]
45% [14 aptitude 32768/2918kB 1%] 53% [14 aptitude 720896/2918kB 24%] 681kB/s 5s64% [14 aptitude 1585152/2918kB 54%] 681kB/s 4s79% [14 aptitude 2752512/2918kB 94%] 681kB/s 2s81% [Working] 681kB/s 2s Get:15 http://ftp.jp.debian.org stable/main apt 0.6.46.4-0.1 [1449kB]
81% [15 apt 0/1449kB 0%] 681kB/s 2s92% [15 apt 884736/1449kB 61%] 681kB/s 0s100% [Working] 681kB/s 0s Fetched 7924kB in 8s (968kB/s)
Selecting previously deselected package libtasn1-3.
(Reading database … 13328 files and directories currently installed.)
Unpacking libtasn1-3 (from …/libtasn1-3_0.3.6-2_powerpc.deb) …
Selecting previously deselected package libgnutls13.
Unpacking libgnutls13 (from …/libgnutls13_1.4.4-3_powerpc.deb) …
Selecting previously deselected package libsasl2-2.
Unpacking libsasl2-2 (from …/libsasl2-2_2.1.22.dfsg1-8_powerpc.deb) …
Selecting previously deselected package libldap2.
Unpacking libldap2 (from …/libldap2_2.1.30-13.3_powerpc.deb) …
Selecting previously deselected package readline-common.
Unpacking readline-common (from …/readline-common_5.2-2_all.deb) …
Replacing files in old package libreadline4 …
Selecting previously deselected package libreadline5.
Unpacking libreadline5 (from …/libreadline5_5.2-2_powerpc.deb) …
Selecting previously deselected package libusb-0.1-4.
Unpacking libusb-0.1-4 (from …/libusb-0.1-4_2%3a0.1.12-5_powerpc.deb) …
Selecting previously deselected package gpgv.
Unpacking gpgv (from …/gpgv_1.4.6-2_powerpc.deb) …
Selecting previously deselected package gnupg.
Unpacking gnupg (from …/gnupg_1.4.6-2_powerpc.deb) …
Selecting previously deselected package debian-archive-keyring.
Unpacking debian-archive-keyring (from …/debian-archive-keyring_2007.02.19_all.deb) …
Setting up libtasn1-3 (0.3.6-2) …

Setting up libgnutls13 (1.4.4-3) …

Setting up libsasl2-2 (2.1.22.dfsg1-8) …

Setting up libldap2 (2.1.30-13.3) …

Setting up readline-common (5.2-2) …

Setting up libreadline5 (5.2-2) …

Setting up libusb-0.1-4 (0.1.12-5) …

Setting up gpgv (1.4.6-2) …
Setting up gnupg (1.4.6-2) …
Setting up debian-archive-keyring (2007.02.19) …

Selecting previously deselected package libdb4.4.
(Reading database … 13490 files and directories currently installed.)
Unpacking libdb4.4 (from …/libdb4.4_4.4.20-8_powerpc.deb) …
Preparing to replace apt-utils 0.5.28.6 (using …/apt-utils_0.6.46.4-0.1_powerpc.deb) …
Unpacking replacement apt-utils …
Selecting previously deselected package libsigc++-2.0-0c2a.
Unpacking libsigc++-2.0-0c2a (from …/libsigc++-2.0-0c2a_2.0.17-2_powerpc.deb) …
Preparing to replace aptitude 0.2.15.9-2 (using …/aptitude_0.4.4-4_powerpc.deb) …
Unpacking replacement aptitude …
Preparing to replace apt 0.5.28.6 (using …/apt_0.6.46.4-0.1_powerpc.deb) …
Unpacking replacement apt …
Setting up apt (0.6.46.4-0.1) …
gpg: key 2D230C5F: “Debian Archive Automatic Signing Key (2006) ” not changed
gpg: /etc/apt/trustdb.gpg: trustdb created
gpg: key 6070D3A1: public key “Debian Archive Automatic Signing Key (4.0/etch) ” imported
gpg: key ADB11277: public key “Etch Stable Release Key ” imported
gpg: Total number processed: 3
gpg: imported: 2
gpg: unchanged: 1
gpg: no ultimately trusted keys found

Setting up libdb4.4 (4.4.20-8) …
Setting up apt-utils (0.6.46.4-0.1) …

Setting up libsigc++-2.0-0c2a (2.0.17-2) …

Setting up aptitude (0.4.4-4) …

そして、

root@NAS-01G:/# apt-get clean
root@NAS-01G:/# apt-get update
0% [Working] 0% [Connecting to ftp.jp.debian.org] [Connecting to non-us.debian.org] [Connect0% [Connecting to ftp.jp.debian.org] [Connecting to non-us.debian.org (194.109. Get:1 http://ftp.jp.debian.org stable Release.gpg [378B]
99% [1 Release.gpg 378/378B 100%] [Waiting for headers] [Waiting for headers] Get:2 http://security.debian.org stable/updates Release.gpg [189B]
99% [Waiting for headers] Get:3 http://ftp.jp.debian.org stable Release [58.2kB]
7% [3 Release 4052/58.2kB 6%] [Waiting for headers] [Waiting for headers] 99% [Waiting for headers] [Waiting for headers] Get:4 http://non-us.debian.org stable/non-US Release.gpg [197B]
99% [Waiting for headers] 99% [3 Release gpgv 58211] [Waiting for headers] [Waiting for headers] Get:5 http://security.debian.org stable/updates Release [22.5kB]
75% [3 Release gpgv 58211] [Waiting for headers] [5 Release 2594/22.5kB 11%] Get:6 http://non-us.debian.org stable/non-US Release [18.5kB]
64% [3 Release gpgv 58211] [6 Release 2594/18.5kB 14%] [5 Release 2594/22.5kB 1 64% [6 Release 2594/18.5kB 14%] [5 Release 2594/22.5kB 11%] Ign http://ftp.jp.debian.org stable/main Packages/DiffIndex
68% [6 Release 2594/18.5kB 14%] [5 Release 6938/22.5kB 30%] Ign http://ftp.jp.debian.org stable/non-free Packages/DiffIndex
68% [Waiting for headers] [6 Release 2594/18.5kB 14%] [5 Release 6938/22.5kB 30 Ign http://ftp.jp.debian.org stable/contrib Packages/DiffIndex
68% [Waiting for headers] [6 Release 2594/18.5kB 14%] [5 Release 6938/22.5kB 30 Hit http://ftp.jp.debian.org stable/main Packages
68% [Waiting for headers] [6 Release 2594/18.5kB 14%] [5 Release 6938/22.5kB 30 Hit http://ftp.jp.debian.org stable/non-free Packages
68% [Waiting for headers] [6 Release 2594/18.5kB 14%] [5 Release 6938/22.5kB 30 Hit http://ftp.jp.debian.org stable/contrib Packages
68% [6 Release 2594/18.5kB 14%] [5 Release 6938/22.5kB 30%] 91% [5 Release 14178/22.5kB 63%] 91% [6 Release gpgv 18454] [5 Release 14178/22.5kB 63%] Ign http://non-us.debian.org stable/non-US Release
91% [5 Release 14178/22.5kB 63%] 99% [Waiting for headers] 99% [5 Release gpgv 22451] [Waiting for headers] 99% [Waiting for headers] Ign http://non-us.debian.org stable/non-US/main Packages/DiffIndex
99% [Waiting for headers] Ign http://non-us.debian.org stable/non-US/contrib Packages/DiffIndex
Ign http://non-us.debian.org stable/non-US/non-free Packages/DiffIndex
99% [Waiting for headers] Ign http://security.debian.org stable/updates/main Packages/DiffIndex
99% [Waiting for headers] Ign http://non-us.debian.org stable/non-US/main Packages
Ign http://non-us.debian.org stable/non-US/contrib Packages
99% [Waiting for headers] Get:7 http://security.debian.org stable/updates/main Packages [98.3kB]
56% [Waiting for headers] [7 Packages 12729/98.3kB 12%] Ign http://non-us.debian.org stable/non-US/non-free Packages
Hit http://non-us.debian.org stable/non-US/main Packages
56% [7 Packages 12729/98.3kB 12%] Hit http://non-us.debian.org stable/non-US/contrib Packages
Hit http://non-us.debian.org stable/non-US/non-free Packages
67% [7 Packages 33001/98.3kB 33%] 99% [Working] 99% [7 Packages bzip2 0] 99% [7 Packages bzip2 126976]99% [7 Packages bzip2 630784] 100% [Working] Fetched 198kB in 5s (37.1kB/s)
Reading package lists… 0%Reading package lists… 0%Reading package lists… 1%Reading package lists… 10%Reading package lists… 16%Reading package lists… 21%Reading package lists… 28%Reading package lists… 33%Reading package lists… 40%Reading package lists… 45%Reading package lists… 51%Reading package lists… 56%Reading package lists… 61%Reading package lists… 66%Reading package lists… 71%Reading package lists… 76%Reading package lists… 81%Reading package lists… 86%Reading package lists… 90%Reading package lists… 93%Reading package lists… 93%Reading package lists… 95%Reading package lists… 95%Reading package lists… 95%Reading package lists… 95%Reading package lists… 95%Reading package lists… 95%Reading package lists… 95%Reading package lists… 95%Reading package lists… 95%Reading package lists… 95%Reading package lists… 95%Reading package lists… 99%Reading package lists… 99%Reading package lists… 99%Reading package lists… Done
W: GPG error: http://non-us.debian.org stable/non-US Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY F1D53D8C4F368D5D
W: You may want to run apt-get update to correct these problems


って、なんかPUBKEYがねーって怒られたw
Googledで調べたら手動でKEYとって来てインポートしなきゃいけねーらしい・・・・汗

root@NAS-01G:/# gpg –keyserver pgpkeys.mit.edu –recv-keys 4F368D5D
root@NAS-01G:/#gpg –armor — export 4F368D5D | apt-key add –

さて、その後Logを見ているとbase-configがなんちゃらってあるじゃないですが、そこですかさず:

root@NAS-01G:/var/log# /usr/sbin/base-config

色々台湾仕様&Linkstation仕様になってるのを変更してみました。w
Time zone configuration
Configuring passwd
Please enter your system hostname
Apt configuration
Debian comes in several flavors. Stable is well-tested and rarely
Configuring nullmailer

そして、最後に:

NAS-01G:~# apt-get update
apt-get dist-upgrade
|
|
|
Errors were encountered while processing:
oss-compat
mpg123
E: Sub-process /usr/bin/dpkg returned an error code (1)

…….OTZ
というわけで今日はここで終了w

AD3

関連記事

no image

Localから自鯖へのFTP接続で時間がかかる

うーん、SecurityUpdateしてからなのか、いまいちいつからか覚えていないんだけど、ローカル

記事を読む

no image

NAS-01Gをひさしぶりに掘り出してみる

なんか、FanをMini-Kazeに交換してから使わずに家のPCの片隅に埋もれてたNas-01G w

記事を読む

TP600E 使い倒し with Vine Linux Vol.4(見た目編)

GnomeのThemeとiconをMac OSX風にしてみた。w テーマとアイコン集をGNOME-L

記事を読む

no image

TP600E 使い倒し with Vine Linux Vol.7(Vine Linux 4.0インストール

をapt-getでアップグレードしてみた!(検査用マシンねw 結果、大きな不具合は出てないが、細か

記事を読む

no image

TP600E 使い倒し with Vine Linux Vol.6(Alsaを仕込む)

VineLinux3.2 on ThinkPad 600E(改)でsndconfigをやると「サポー

記事を読む

no image

Ubuntu

検証用のLapTopに入ってるUbuntuをアップグレードした。 6.06LTS(Dapper D

記事を読む

no image

Buffalo PC-MV5L/PCI on Linux (Ubuntu 8.10)

いまさらアナログ・・・・・だけどw Ubunt8.10でPC-MV5L/PCI が自動で認識したよ。

記事を読む

no image

TP600E 使い倒し with Vine Linux Vol.9(Vine Linuxへ4.1アップデートの続き

PCMCIAとALSAの犯人がなんとなくわかったよ。 やっぱりacpidとapmdがなんらかで関係

記事を読む

no image

TP600E 使い倒し with Vine Linux Vol.3

えー、このシリーズのblogの最初にBIOSハックでL2 cacheをDisableにしてBoot時

記事を読む

no image

Vine Linux madwifi

去年の8月から放置されてたmadwifiですが、Vine4.2でアップデートされて使用可能になってま

記事を読む

Message

メールアドレスが公開されることはありません。 * が付いている欄は必須項目です

AD3

仮想通貨市場に参戦してみた・・・続き

昨日約束したとおり、ちょっとだけ異常な状況をお見せする事にします。

no image
仮想通貨市場に参戦してみた

昨日、巷で賑わっている仮想通貨に意を決して大金を投入してみました。

[検証]死にかけのアナカリスは復活できるか-1日目

えー3ヶ月前に導入したアナカリスですが、見るも無残に溶けたり禿散らかし

no image
chromebook ASUS C300MA(Quawks) beta channelアップデート後バグ改善

61.0.3163.10にアップデートされてバグ改善。 画面がブラッ

Nexus Player にAndroid 8.0 (Oreo)来た

ちなみに6月位からAndroidTVのRemoteアプリ(An

→もっと見る

  • 2019年12月
    « 12月    
     1
    2345678
    9101112131415
    16171819202122
    23242526272829
    3031  
PAGE TOP ↑