OS:squeeze編


※上記の広告は60日以上更新のないWIKIに表示されています。更新することで広告が下部へ移動します。

電源遮断系統ファイル更新


squeeze更新への事前準備

  • リポジトリのバックアップ
KURO-BOX:~#
KURO-BOX:~# mv /etc/apt/sources.list /share/

KURO-BOX:~#
KURO-BOX:~# vi /etc/apt/sources.list
・
・
・
KURO-BOX:~#

  • アップデート:失敗(見難い為、改行記述)
KURO-BOX:~#
KURO-BOX:~# apt-get update
・
・
・
W: GPG error: ftp://ftp.dti.ad.jp squeeze Release: The following signatures cou
ldn't be verified because the public key is not available: NO_PUBKEY AED4B06F47 3041FA
W: You may want to run apt-get update to correct these problems
KURO-BOX:~#

  • RSAキーの取得失敗
    正確なコマンドを打ってもたまに失敗します
KURO-BOX:~#
KURO-BOX:~# gpg --recv-keys AED4B06F473041FA
gpg: directory `/root/.gnupg' created
gpg: new configuration file `/root/.gnupg/gpg.conf' created
gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run
gpg: keyring `/root/.gnupg/secring.gpg' created
gpg: keyring `/root/.gnupg/pubring.gpg' created
gpg: no keyserver known (use option --keyserver)
gpg: keyserver receive failed: bad URI
KURO-BOX:~#

  • RSAキーの取得/追加
KURO-BOX:~#
KURO-BOX:~# gpg --recv-keys AED4B06F473041FA
gpg: requesting key 473041FA from hkp server keys.gnupg.net
gpg: /root/.gnupg/trustdb.gpg: trustdb created
gpg: key 473041FA: public key "Debian Archive Automatic Signing Key (6.0/squeeze) <ftpmaster@debian.org>" imported
gpg: no ultimately trusted keys found
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)
KURO-BOX:~# gpg --armor --export AED4B06F473041FA | apt-key add -
OK
KURO-BOX:~#
ツールボックス

下から選んでください:

新しいページを作成する
ヘルプ / FAQ もご覧ください。