Menambahkan Repositori Untuk Debian Versi Lama (debian lenny)

Menambahkan Repositori Untuk Debian Versi Lama (debian lenny)

debian-logo

Hari ini ceritanya mau ngoprek lagi mesin yang sudah lama jalan dan tidak di utak-atik, pas mau update source list nya (apt-get update) baru nyadar ternyata sistem ini sudah lama tidak tersentuh dan berjalan dengan sendirinya, sekian tahun melayani client-client nya tanpa di ajarin *halah*. Setelah cek ke repositori sumbernya (repo UGM) ternyata file repositori nya sudah kosong :(.


sudo apt-get update
Ign http://repo.ugm.ac.id lenny Release.gpg
Ign http://repo.ugm.ac.id lenny Release
Ign http://repo.ugm.ac.id lenny/main Packages/DiffIndex
Ign http://repo.ugm.ac.id lenny/contrib Packages/DiffIndex
Err http://repo.ugm.ac.id lenny/main Packages
404 Not Found
Err http://repo.ugm.ac.id lenny/contrib Packages
404 Not Found
Failed to fetch http://repo.ugm.ac.id/debian/dists/lenny/main/binary-i386/Packages.gz 404 Not Found
Failed to fetch http://repo.ugm.ac.id/debian/dists/lenny/contrib/binary-i386/Packages.gz 404 Not Found
Reading package lists... Done
E: Some index files failed to download, they have been ignored, or old ones used instead.

Akhirnya mau tidak mau source list nya pun berubah dan di arahkan ke arsip debian, berikut adalah cara menambahkan repositori debian versi lama, pertama tambahkan baris berikut pada file source list yang terletak di file /etc/apt/sources.list

deb http://archive.debian.org/debian/ lenny main contrib non-free

setelah itu sebelum meng update alamat source list nya, jalankan perintah berikut untuk meng eksport gpg nya

sudo apt-get install debian-archive-keyring

Berikut adalah output ketika kita menjalankan perintah di atas

sudo apt-get install debian-archive-keyring
Reading package lists... Done
Building dependency tree... Done
The following packages will be upgraded:
debian-archive-keyring
1 upgraded, 0 newly installed, 0 to remove and 300 not upgraded.
Need to get 20.0kB of archives.
After unpacking 12.3kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
debian-archive-keyring
Install these packages without verification [y/N]? y
Get:1 http://archive.debian.org lenny/main debian-archive-keyring 2010.08.28~lenny1 [20.0kB]
Fetched 20.0kB in 0s (29.5kB/s)
(Reading database ... 28532 files and directories currently installed.)
Preparing to replace debian-archive-keyring 2007.02.19 (using .../debian-archive-keyring_2010.08.28~lenny1_all.deb) ...
Unpacking replacement debian-archive-keyring ...
Setting up debian-archive-keyring (2010.08.28~lenny1) ...
gpg: key F42584E6: public key "Lenny Stable Release Key <debian-release@lists.debian.org>" imported
gpg: key 55BE302B: public key "Debian Archive Automatic Signing Key (5.0/lenny) <ftpmaster@debian.org>" imported
gpg: key 6D849617: public key "Debian-Volatile Archive Automatic Signing Key (5.0/lenny)" imported
gpg: key B98321F9: public key "Squeeze Stable Release Key <debian-release@lists.debian.org>" imported
gpg: key 473041FA: public key "Debian Archive Automatic Signing Key (6.0/squeeze) <ftpmaster@debian.org>" imported
gpg: Total number processed: 5
gpg: imported: 5 (RSA: 4)
gpg: no ultimately trusted keys found

Setelah itu update source list nya dengan perintah berikut

sudo apt-get update
Get:1 http://archive.debian.org lenny Release.gpg [1034B]
Hit http://archive.debian.org lenny Release
Ign http://archive.debian.org lenny/main Packages/DiffIndex
Ign http://archive.debian.org lenny/contrib Packages/DiffIndex
Ign http://archive.debian.org lenny/non-free Packages/DiffIndex
Hit http://archive.debian.org lenny/main Packages
Hit http://archive.debian.org lenny/contrib Packages
Hit http://archive.debian.org lenny/non-free Packages
Fetched 1034B in 1s (564B/s)
Reading package lists... Done

Selesai.., sampai disini kita bisa mengupdate paket-paket aplikasi terakhir yang di dukung oleh Debian sampai update terakhirnya, untuk mengupdate software nya gunakan perintah seperti biasa seperti berikut.

apt-get upgrade

<>

222 upgraded, 0 newly installed, 0 to remove and 74 not upgraded.
Need to get 114MB of archives.
After unpacking 22.3MB of additional disk space will be used.
Do you want to continue [Y/n]?

Selesai, untuk cara upgrade ke versi yang lebih baru, silahkan tunggu artikel selanjutnya 🙂

Leave a Comment


NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>