debian 化(12)パッケージリストのアップデート

LS-WSGL/R1

mini:~# apt-get update
Get:1 http://ftp2.jp.debian.org etch Release.gpg [386B]
Get:2 http://ftp2.jp.debian.org proposed-updates Release.gpg [189B]
Get:3 http://ftp2.jp.debian.org etch/updates Release.gpg [189B]
Get:4 http://ftp2.jp.debian.org etch Release [58.2kB]
Get:5 http://ftp2.jp.debian.org proposed-updates Release [58.1kB]
Get:6 http://security.debian.org etch/updates Release.gpg [189B]
Get:7 http://ftp2.jp.debian.org etch/updates Release [37.6kB]
Get:8 http://security.debian.org etch/updates Release [37.6kB]
Ign http://ftp2.jp.debian.org etch/main Packages/DiffIndex
Ign http://ftp2.jp.debian.org etch/contrib Packages/DiffIndex
Ign http://ftp2.jp.debian.org etch/non-free Packages/DiffIndex
Ign http://ftp2.jp.debian.org etch/main Sources/DiffIndex
Ign http://ftp2.jp.debian.org etch/contrib Sources/DiffIndex
Ign http://ftp2.jp.debian.org etch/non-free Sources/DiffIndex
Get:9 http://ftp2.jp.debian.org etch/main Packages [5457kB]
Ign http://security.debian.org etch/updates/main Packages/DiffIndex
Ign http://security.debian.org etch/updates/contrib Packages/DiffIndex
Ign http://security.debian.org etch/updates/non-free Packages/DiffIndex
Ign http://security.debian.org etch/updates/main Sources/DiffIndex
Ign http://security.debian.org etch/updates/contrib Sources/DiffIndex
Ign http://security.debian.org etch/updates/non-free Sources/DiffIndex
Get:10 http://security.debian.org etch/updates/main Packages [340kB]
Hit http://security.debian.org etch/updates/contrib Packages
Hit http://security.debian.org etch/updates/non-free Packages
Get:11 http://security.debian.org etch/updates/main Sources [56.1kB]
Get:12 http://security.debian.org etch/updates/contrib Sources [1283B]
Get:13 http://security.debian.org etch/updates/non-free Sources [1026B]
Get:14 http://ftp2.jp.debian.org etch/contrib Packages [53.8kB]
Get:15 http://ftp2.jp.debian.org etch/non-free Packages [70.9kB]
Get:16 http://ftp2.jp.debian.org etch/main Sources [1656kB]
Get:17 http://ftp2.jp.debian.org etch/contrib Sources [21.1kB]
Get:18 http://ftp2.jp.debian.org etch/non-free Sources [33.1kB]
Get:19 http://ftp2.jp.debian.org proposed-updates/main Packages/DiffIndex [2023B]
Get:20 http://ftp2.jp.debian.org proposed-updates/contrib Packages/DiffIndex [2023B]
Get:21 http://ftp2.jp.debian.org proposed-updates/non-free Packages/DiffIndex [2023B]
Get:22 http://ftp2.jp.debian.org proposed-updates/main Sources/DiffIndex [2023B]
Get:23 http://ftp2.jp.debian.org proposed-updates/contrib Sources/DiffIndex [2023B]
Get:24 http://ftp2.jp.debian.org proposed-updates/non-free Sources/DiffIndex [2023B]
Ign http://ftp2.jp.debian.org etch/updates/main Packages/DiffIndex
Ign http://ftp2.jp.debian.org etch/updates/contrib Packages/DiffIndex
Ign http://ftp2.jp.debian.org etch/updates/non-free Packages/DiffIndex
Ign http://ftp2.jp.debian.org etch/updates/main Sources/DiffIndex
Ign http://ftp2.jp.debian.org etch/updates/contrib Sources/DiffIndex
Ign http://ftp2.jp.debian.org etch/updates/non-free Sources/DiffIndex
Get:25 http://ftp2.jp.debian.org proposed-updates/main Packages [49.4kB]
Get:26 http://ftp2.jp.debian.org proposed-updates/non-free Packages [20B]
Get:27 http://ftp2.jp.debian.org proposed-updates/main Sources [8880B]
Get:28 http://ftp2.jp.debian.org proposed-updates/non-free 2008-01-29-2025.07.pdiff [517B]
Get:29 http://ftp2.jp.debian.org etch/updates/main Packages [339kB]
Hit http://ftp2.jp.debian.org etch/updates/contrib Packages
Hit http://ftp2.jp.debian.org etch/updates/non-free Packages
Get:30 http://ftp2.jp.debian.org etch/updates/main Sources [56.1kB]
Get:31 http://ftp2.jp.debian.org etch/updates/contrib Sources [1283B]
Get:32 http://ftp2.jp.debian.org etch/updates/non-free Sources [1026B]
Get:33 http://ftp2.jp.debian.org proposed-updates/non-free 2008-01-29-2025.07.pdiff [517B]
Get:34 http://ftp2.jp.debian.org proposed-updates/non-free 2008-01-29-2025.07.pdiff [517B]
Ign http://ftp2.jp.debian.org proposed-updates/non-free 2008-01-29-2025.07.pdiff
Get:35 http://ftp2.jp.debian.org proposed-updates/non-free [20B]
Fetched 8352kB in 35s (234kB/s)
Reading package lists... Done
mini:~#

パッケージのアップデート

ついでにパッケージもアップデートしておく
mini:~# apt-get upgrade
Reading package lists... Done
Building dependency tree... Done
The following packages will be upgraded:
  cpio debconf debconf-i18n initscripts libc6 libgnutls13 libpcre3 libperl5.8
  libssl0.9.8 locales perl-base sysv-rc sysvinit sysvinit-utils tzdata
15 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 11.1MB of archives.
After unpacking 30.7kB disk space will be freed.
Do you want to continue [Y/n]? y
Get:1 http://ftp2.jp.debian.org etch/main libperl5.8 5.8.8-7etch3 [1008B]
Get:2 http://ftp2.jp.debian.org etch/main perl-base 5.8.8-7etch3 [760kB]
	:
	:
Setting up locales (2.3.6.ds1-13etch7) ...
Generating locales (this might take a while)...
  ja_JP.EUC-JP... done
  ja_JP.UTF-8...oom-killer: gfp_mask=0x201d2, order=0
Mem-info:
DMA per-cpu:
cpu 0 hot: high 42, batch 7 used:41
cpu 0 cold: high 14, batch 3 used:13
DMA32 per-cpu: empty
Normal per-cpu: empty
HighMem per-cpu: empty
Free pages:        1784kB (0kB HighMem)
Active:26961 inactive:2209 dirty:0 writeback:0 unstable:0 free:446 slab:1600 mapped:25074 pagetables:99
DMA free:1784kB min:1448kB low:1808kB high:2172kB active:107844kB inactive:8836kB present:131072kB pages_scanned:95585 all_unreclaimable? no
lowmem_reserve[]: 0 0 0 0
DMA32 free:0kB min:0kB low:0kB high:0kB active:0kB inactive:0kB present:0kB pages_scanned:0 all_unreclaimable? no
lowmem_reserve[]: 0 0 0 0
Normal free:0kB min:0kB low:0kB high:0kB active:0kB inactive:0kB present:0kB pages_scanned:0 all_unreclaimable? no
lowmem_reserve[]: 0 0 0 0
HighMem free:0kB min:128kB low:128kB high:128kB active:0kB inactive:0kB present:0kB pages_scanned:0 all_unreclaimable? no
lowmem_reserve[]: 0 0 0 0
DMA: 80*4kB 1*8kB 1*16kB 1*32kB 0*64kB 1*128kB 1*256kB 0*512kB 1*1024kB 0*2048kB 0*4096kB = 1784kB
DMA32: empty
Normal: empty
HighMem: empty
Swap cache: add 0, delete 0, find 0/0, race 0+0
Free swap  = 0kB
Total swap = 0kB
Free swap:            0kB
32768 pages of RAM
596 free pages
1213 reserved pages
1600 slab pages
147 pages shared
0 pages swap cached
Out of Memory: Kill process 1431 (exim4) score 1468 and children.
Out of memory: Killed process 1431 (exim4).
oom-killer: gfp_mask=0x201d2, order=0
Mem-info:
DMA per-cpu:
cpu 0 hot: high 42, batch 7 used:3
cpu 0 cold: high 14, batch 3 used:13
DMA32 per-cpu: empty
Normal per-cpu: empty
HighMem per-cpu: empty
Free pages:        1612kB (0kB HighMem)
Active:26308 inactive:3099 dirty:0 writeback:0 unstable:0 free:403 slab:1455 mapped:25311 pagetables:95
DMA free:1612kB min:1448kB low:1808kB high:2172kB active:105232kB inactive:12396kB present:131072kB pages_scanned:15130 all_unreclaimable? no
lowmem_reserve[]: 0 0 0 0
DMA32 free:0kB min:0kB low:0kB high:0kB active:0kB inactive:0kB present:0kB pages_scanned:0 all_unreclaimable? no
lowmem_reserve[]: 0 0 0 0
Normal free:0kB min:0kB low:0kB high:0kB active:0kB inactive:0kB present:0kB pages_scanned:0 all_unreclaimable? no
lowmem_reserve[]: 0 0 0 0
HighMem free:0kB min:128kB low:128kB high:128kB active:0kB inactive:0kB present:0kB pages_scanned:0 all_unreclaimable? no
lowmem_reserve[]: 0 0 0 0
DMA: 41*4kB 3*8kB 1*16kB 0*32kB 0*64kB 1*128kB 1*256kB 0*512kB 1*1024kB 0*2048kB 0*4096kB = 1612kB
DMA32: empty
Normal: empty
HighMem: empty
Swap cache: add 0, delete 0, find 0/0, race 0+0
Free swap  = 0kB
Total swap = 0kB
Free swap:            0kB
32768 pages of RAM
512 free pages
1213 reserved pages
1455 slab pages
150 pages shared
0 pages swap cached
Out of Memory: Kill process 1499 (localedef) score 1447 and children.
Out of memory: Killed process 1499 (localedef).
/usr/sbin/locale-gen: line 53:  1499 Killed                  localedef -i $input -c -f $charset -A /usr/share/locale/locale.alias $locale
 done
Generation complete.

mini:~#
なんだかメモリー不足。
再度実行必要。

LS-WSGL debian 化の残課題まとめ

1.debian がまともに動くようにする

1)起動時のエラーつぶし
(1)md0 のマウント
・ネットワークの設定
・パッケージリストのアップデート
・mdadm のインストール
2)標準ファームによる RAID 化(md0, md1, md10)
3)電源スイッチによる電源OFF実現
4)LED の点滅解除
5)パッケージのアップデート
6)swap の有効化

2.手順化、ハックキット化

1)シリアルコンソールを使わないインストール方法の検討
2)インストーラ作成



LinkStation Mini
LS-WSGL
楽天市場
Amazon
Yahoo!ショッピング
Livedoor デパート
Sofmap
TSUKUMO ネットショップ
ムラウチドットコム
ヤマダ電機WEB
パソQ


debian 化(11)ネットワークの設定
ハックの記録
LinkStation/玄箱 をハックしよう

debian 化(13)mdadm のインストール

Copyright (C) 2003-2008 Yasunari Yamashita. All Rights Reserved.
yasunari @ yamasita.jp 山下康成@京都府向日市