APT download page: http://dag.wieers.com/packages/apt/
[Root @ netgate ~] # Wget http://dag.wieers.com/packages/apt/apt-0.5.15lorg3.1-4.el4.rf.i386.rpm
...
[Root @ netgate ~] # Rpm-IVH apt-0.5.15lorg3.1-4.el4.rf.i386.rpm
Preparing... ######################################## ### [100%]
1: APT ####################################### #### [100%]
[Root @ netgate ~] # Wget http://dag.wieers.com/packages/rpmforge-release/rpmforge-release-0.3.4-1.el4.rf.i386.rpm
[Root @ netgate ~] # Rpm-uvh rpmforge-release-0.3.4-1.el4.rf.i386.rpm
Preparing... ######################################## ### [100%]
Package rpmforge-release-0.3.4-1.el4.rf is already installed
Upgrade information:
[Root @ netgate ~] # Apt-Get update
Get: 1 http://apt.sw.be RedHat/EL4/en/i386/DAG repomd. xml [1128b]
Fetched 1128b in 1 S (833b/s)
Get: 1 http://apt.sw.be RedHat/EL4/en/i386/DAG/primary. xml [1244kb]
Get: 2 http://apt.sw.be RedHat/EL4/en/i386/DAG/filelists. xml [1592kb]
Fetched 2836kb in 2m13s (21.2kb/s)
Reading package lists... Done
Building dependency tree... Done
System Upgrade:
[Root @ netgate ~] # Apt-Get upgrade
Reading package lists... Done
Building dependency tree... Done
The following packages will be upgraded
APT convmv FreeType-devel mtr nmap Python-elementtree
Python-urlgrabber rsync syslinux xrestop yum
The following packages have been kept back
Lftp
12 upgraded, 0 newly installed, 0 removed and 1 not upgraded.
Need to get 4685kb of archives.
After unpacking 2767kb of additional disk space will be used.
Do you want to continue? [Y/n] y
...
Installation package:
Apt-Get install xxx