トップ «前の日記(2007年07月05日) 最新 次の日記(2007年07月07日)» 編集
2003|01|02|03|04|05|06|07|08|09|10|11|12|
2004|01|02|03|04|05|06|07|08|09|10|11|12|
2005|01|02|03|04|05|06|07|08|09|10|11|12|
2006|01|02|03|04|05|06|07|08|09|10|11|12|
2007|01|02|03|04|05|06|07|08|09|10|11|12|
2008|01|02|03|04|05|06|07|08|10|12|
2009|02|03|06|07|10|11|12|
2010|01|02|03|04|07|09|10|11|12|
2011|01|03|04|05|06|07|08|10|
2012|01|06|08|09|10|12|
2013|01|02|03|04|07|09|11|12|
2014|01|03|04|05|06|09|
2015|04|
2016|01|08|
ここは旧えびめもです。えびめも2に移行します(2016/12/1)

2007年07月06日

祝 debian etch sh4 debootstrap 完

リポジトリが壊れて以後停止していた apt サーバですが再び debootstrap できるまでに復旧しました。バージョンも etch の src にあわせたバージョンになっている=最新です。
sh4 linux が動いているマシンで deboot.sh
#!/bin/sh
 
ARCH=sh4
SUITE=etch
URL=http://www.si-linux.co.jp/pub/debian-sh
 
TARGETDIR=debian-$ARCH
 
rm $TARGETDIR -i -rf
debootstrap \
  --verbose \
  --arch $ARCH $SUITE $TARGETDIR $URL
I: Retrieving Release
I: Retrieving Packages
    中略
I: Configuring sysklogd...
I: Configuring tasksel...
I: Base system installed successfully.
landy3:~/deboot# chroot debian-sh4/
landy3:/# dpkg -l
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name             Version          Description
+++-================-================-================================================
ii  adduser          3.102            Add and remove users and groups
ii  apt              0.6.46.4-0.1     Advanced front-end for dpkg
ii  apt-utils        0.6.46.4-0.1     APT utility programs
ii  aptitude         0.4.4-4          terminal-based apt frontend
ii  base-files       4                Debian base system miscellaneous files
ii  base-passwd      3.5.11           Debian base system master password and group fil
ii  bash             3.1dfsg-8        The GNU Bourne Again SHell
ii  bsdmainutils     6.1.6            collection of more utilities from FreeBSD
ii  bsdutils         2.12r-19         Basic utilities from 4.4BSD-Lite
ii  coreutils        5.97-5.3         The GNU core utilities
ii  cpio             2.6-17           GNU cpio -- a program to manage archives of file
ii  cron             3.0pl1-100       management of regular background processing
ii  debconf          1.5.11           Debian configuration management system
ii  debconf-i18n     1.5.11           full internationalization support for debconf
ii  debian-archive-k 2007.02.19       GnuPG archive keys of the Debian archive
ii  debianutils      2.17             Miscellaneous utilities specific to Debian
ii  dhcp3-client     3.0.4-13         DHCP Client
ii  dhcp3-common     3.0.4-13         Common files used by all the dhcp3* packages
ii  diff             2.8.1-11         File comparison utilities
ii  dpkg             1.13.25          package maintenance system for Debian
ii  dselect          1.13.25          user tool to manage Debian packages
ii  e2fslibs         1.39+1.40-WIP-20 ext2 filesystem libraries
ii  e2fsprogs        1.39+1.40-WIP-20 ext2 file system utilities and libraries
ii  findutils        4.2.28-1         utilities for finding files--find, xargs, and lo
ii  gcc-4.1-base     4.1.1-21         The GNU Compiler Collection (base package)
ii  gnupg            1.4.6-2          GNU privacy guard - a free PGP replacement
ii  gpgv             1.4.6-2          GNU privacy guard - signature verification tool
ii  grep             2.5.1.ds2-6      GNU grep, egrep and fgrep
ii  groff-base       1.18.1.1-12      GNU troff text-formatting system (base system co
ii  gzip             1.3.5-15         The GNU compression utility
ii  hostname         2.93             utility to set/show the host name or domain name
ii  ifupdown         0.6.8            high level tools to configure network interfaces
ii  info             4.8.dfsg.1-4     Standalone GNU Info documentation browser
ii  initscripts      2.86.ds1-38      Scripts for initializing and shutting down the s
ii  iputils-ping     20020927-6       Tools to test the reachability of network hosts
ii  klogd            1.4.1-18         Kernel Logging Daemon
ii  laptop-detect    0.12.1           attempt to detect a laptop
ii  libacl1          2.2.41-1         Access control list shared library
ii  libattr1         2.4.32-1         Extended attribute shared library
ii  libblkid1        1.39+1.40-WIP-20 block device id library
ii  libbz2-1.0       1.0.3-6          high-quality block-sorting file compressor libra
ii  libc6            2.3.6.ds1-13     GNU C Library: Shared libraries
ii  libcap1          1.10-14          support for getting/setting POSIX.1e capabilitie
ii  libcomerr2       1.39+1.40-WIP-20 common error description library
ii  libdb4.2         4.2.52+dfsg-2    Berkeley v4.2 Database Libraries [runtime]
ii  libdb4.3         4.3.29-8         Berkeley v4.3 Database Libraries [runtime]
ii  libdb4.4         4.4.20-8         Berkeley v4.4 Database Libraries [runtime]
ii  libdevmapper1.02 1.02.08-1        The Linux Kernel Device Mapper userspace library
ii  libgcc1          4.1.1-21         GCC support library
ii  libgcrypt11      1.2.3-2          LGPL Crypto library - runtime library
ii  libgdbm3         1.8.3-3          GNU dbm database routines (runtime version)
ii  libgnutls13      1.4.4-3          the GNU TLS library - runtime library
ii  libgpg-error0    1.4-1            library for common error values and messages in
ii  libldap2         2.1.30-13.3      OpenLDAP libraries
ii  liblocale-gettex 1.05-1           Using libc functions for internationalization in
ii  liblzo1          1.08-3           data compression library (old version)
ii  libncurses5      5.5-5            Shared libraries for terminal handling
ii  libncursesw5     5.5-5            Shared libraries for terminal handling (wide cha
ii  libnewt0.52      0.52.2-10        Not Erik's Windowing Toolkit - text mode windowi
ii  libopencdk8      0.5.9-2          Open Crypto Development Kit (OpenCDK) (runtime)
ii  libpam-modules   0.79-4           Pluggable Authentication Modules for PAM
ii  libpam0g         0.79-4           Pluggable Authentication Modules library
ii  libpopt0         1.10-3           lib for parsing cmdline parameters
ii  libreadline5     5.2-2            GNU readline and history libraries, run-time lib
ii  libsasl2         2.1.22.dfsg1-8   Authentication abstraction library
ii  libsasl2-2       2.1.22.dfsg1-8   Authentication abstraction library
ii  libsasl2-modules 2.1.22.dfsg1-8   Pluggable Authentication Modules for SASL
ii  libselinux1      1.32-3           SELinux shared libraries
ii  libsepol1        1.14-2           Security Enhanced Linux policy library for chang
ii  libsigc++-2.0-0c 2.0.17-2         type-safe Signal Framework for C++ - runtime
ii  libslang2        2.0.6-4          The S-Lang programming library - runtime version
ii  libss2           1.39+1.40-WIP-20 command-line interface parsing library
ii  libssl0.9.8      0.9.8c-4         SSL shared libraries
ii  libstdc++6       4.1.1-21         The GNU Standard C++ Library v3
ii  libtasn1-3       0.3.6-2          Manage ASN.1 structures (runtime)
ii  libtasn1-3-bin   0.3.6-2          Manage ASN.1 structures (binaries)
ii  libtext-charwidt 0.04-4           get display widths of characters on the terminal
ii  libtext-iconv-pe 1.4-3            converts between character sets in Perl
ii  libtext-wrapi18n 0.06-5           internationalized substitute of Text::Wrap
ii  libusb-0.1-4     0.1.12-5         userspace USB programming library
ii  libuuid1         1.39+1.40-WIP-20 universally unique id library
ii  libvolume-id0    0.105-4          libvolume_id shared library
ii  libwrap0         7.6.dbs-13       Wietse Venema's TCP wrappers library
ii  login            4.0.18.1-7       system login tools
ii  logrotate        3.7.1-3          Log rotation utility
ii  lsb-base         3.1-23.1         Linux Standard Base 3.1 init script functionalit
ii  makedev          2.3.1-83         creates device files in /dev
ii  man-db           2.4.3-6          The on-line manual pager
ii  manpages         2.39-1           Manual pages about using a GNU/Linux system
ii  mawk             1.3.3-11         a pattern scanning and text processing language
ii  mktemp           1.5-2            Makes unique filenames for temporary files
ii  module-init-tool 3.3-pre4-2       tools for managing Linux kernel modules
ii  mount            2.12r-19         Tools for mounting and manipulating filesystems
ii  nano             2.0.2-1          free Pico clone with some new features
ii  ncurses-base     5.5-5            Descriptions of common terminal types
ii  ncurses-bin      5.5-5            Terminal-related programs and man pages
ii  net-tools        1.60-17          The NET-3 networking toolkit
ii  netbase          4.29             Basic TCP/IP networking system
ii  netcat           1.10-32          TCP/IP swiss army knife
ii  openbsd-inetd    0.20050402-6     The OpenBSD Internet Superserver
ii  passwd           4.0.18.1-7       change and administer password and group data
ii  perl-base        5.8.8-7          The Pathologically Eclectic Rubbish Lister
ii  procps           3.2.7-3          /proc file system utilities
ii  readline-common  5.2-2            GNU readline and history libraries, common files
ii  sed              4.1.5-1          The GNU sed stream editor
ii  sysklogd         1.4.1-18         System Logging Daemon
ii  sysv-rc          2.86.ds1-38      System-V-like runlevel change mechanism
ii  sysvinit         2.86.ds1-38      System-V-like init utilities
ii  sysvinit-utils   2.86.ds1-38      System-V-like utilities
ii  tar              1.16-2           GNU tar
ii  tasksel          2.66             Tool for selecting tasks for installation on Deb
ii  tasksel-data     2.66             Official tasks used for installation of Debian s
ii  tcpd             7.6.dbs-13       Wietse Venema's TCP wrapper utilities
ii  traceroute       1.4a12-21        traces the route taken by packets over a TCP/IP
ii  udev             0.105-4          /dev/ and hotplug management daemon
ii  update-inetd     4.27-0.5         inetd.conf updater
ii  util-linux       2.12r-19         Miscellaneous system utilities
ii  wget             1.10.2-2         retrieves files from the web
ii  whiptail         0.52.2-10        Displays user-friendly dialog boxes from shell s
ii  zlib1g           1.2.3-13         compression library - runtime
etch-base-sh4 ができたので次は sh3, そんで次は sarge も再び整えないと。

ベースパッケージをメモっとく

cat /var/lib/dpkg/status | sed -n 's/^Package: //p' | sort | uniq > ~/base-package.txt