Ternyata saat ini, Ubuntu (saya pakai 15.04) mengubah beberapa konfigurasi salah satunya adalah untuk menjaga file hasil instalasi software baik menggunakan apt-get atau synaptic package manager dengan menyediakan file sendiri.
Silahkan ikuti petunjuk dibawah:
rijalhanif@rijalhanif-Vostro-2420:~$ sudo su
root@rijalhanif-Vostro-2420:~# nano /etc/apt/apt.conf.d/20archive
Before:
APT::Archives::MaxAge "30";
APT::Archives::MinAge "2";
APT::Archives::MaxSize "500";
Change to:
APT::Archives::MaxAge "0";
APT::Archives::MinAge "0";
APT::Archives::MaxSize "0";
Dicoba install aplikasi apapun, kemudian cek di directory:
root@rijalhanif-Vostro-2420:~# apt-get install dosbox
root@rijalhanif-Vostro-2420:~# ls -l /var/cache/apt/archives/*.deb
-rw-r--r-- 1 root root 845028 Okt 13 2014 /var/cache/apt/archives/dosbox_0.74-4_amd64.deb
-rw-r--r-- 1 root root 110184 Okt 25 2014 /var/cache/apt/archives/libmikmod3_3.3.7-1_amd64.deb
-rw-r--r-- 1 root root 163052 Sep 9 2014 /var/cache/apt/archives/libopenal1_1%3a1.15.1-5_amd64.deb
-rw-r--r-- 1 root root 8840 Sep 9 2014 /var/cache/apt/archives/libopenal-data_1%3a1.15.1-5_all.deb
-rw-r--r-- 1 root root 162384 Jul 2 2014 /var/cache/apt/archives/libsdl1.2debian_1.2.15-10ubuntu1_amd64.deb
-rw-r--r-- 1 root root 11656 Des 23 2013 /var/cache/apt/archives/libsdl-net1.2_1.2.8-4_amd64.deb
-rw-r--r-- 1 root root 74718 Apr 28 2014 /var/cache/apt/archives/libsdl-sound1.2_1.0.3-7build1_amd64.deb
Dan.. source file .deb nya masih ada dan
keep selamanya. :)