# Fedora Linux repositories for Red
Hat Linux 9 repository
# University of Hawaii Honolulu, Hawaii,
USA
rpm http://download.fedora.us/fedora redhat/9/i386
os updates stable
rpm-src http://download.fedora.us/fedora
redhat/9/i386 os updates stable
それでは、実際にパッケージ情報を更新してみしょう。
# apt-get update You don't seem to have one or more of
the needed GPG keys in your RPM database.
Importing them now...
Get:1 http://macromedia.mplug.org redhat/9
release [505B]
Get:2 http://download.fedora.us redhat/9/i386
release [2099B]
Fetched 2604B in 4s (631B/s)
Get:1 http://download.fedora.us redhat/9/i386/os
pkglist [1357kB]
Get:2 http://macromedia.mplug.org redhat/9/macromedia
pkglist [1036B]
Get:3 http://macromedia.mplug.org redhat/9/macromedia
release [129B]
Get:4 http://macromedia.mplug.org redhat/9/macromedia
srclist [768B]
Get:5 http://download.fedora.us redhat/9/i386/os
release [119B]
Get:6 http://download.fedora.us redhat/9/i386/updates
pkglist [641kB]
Get:7 http://download.fedora.us redhat/9/i386/updates
release [124B]
Get:8 http://download.fedora.us redhat/9/i386/stable
pkglist [280kB]
Get:9 http://download.fedora.us redhat/9/i386/stable
release [122B]
Get:10 http://download.fedora.us redhat/9/i386/os
srclist [14B]
Get:11 http://download.fedora.us redhat/9/i386/updates
srclist [14B]
Get:12 http://download.fedora.us redhat/9/i386/stable
srclist [49.0kB]
Fetched 2329kB in 17s (130kB/s)
Reading Package Lists... Done
Building Dependency Tree... Done
# apt-get install
nmap
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
nmap
0 packages upgraded, 1 newly installed,
0 removed and 0 not upgraded.
Need to get 0B/307kB of archives.
After unpacking 1077kB of additional disk
space will be used.
Checking GPG signatures...
Executing RPM (-Uvh)...
Preparing... ####################################
[100%]
1:nmap #######################################
[100%]
アンインストールするには、apt-get removeで行います。
# apt-get remove
nmap
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be REMOVED:
nmap
0 packages upgraded, 0 newly installed,
1 removed and 0 not upgraded.
Need to get 0B of archives.
After unpacking 1077kB disk space will be
freed.
Do you want to continue? [Y/n] y
Checking GPG signatures...
Executing RPM (-e)...