Gagal Download Paket di Linux Mint dan Ubuntu
Teknologi / 30 November 2015

Pengalaman gagal install paket php5-cli dan php5-curl di Linux Mint (dan mestinya kasus yang sama dapat terjadi di Ubuntu juga), dengan error message seperti ini: Err http://security.ubuntu.com/ubuntu/ trusty-security/main libapache2-mod-php5 amd64 5.5.9+dfsg-1ubuntu4.14 Connection failed [IP: 91.189.88.149 80] Unable to correct missing packages. E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/p/php5/libapache2-mod-php5_5.5.9+dfsg-1ubuntu4.14_amd64.deb Connection failed [IP: 91.189.88.149 80] Ternyata permasalah itu terjadi akibat problem pada NAT. Solusinya adalah dengan IPv6. Berikut saya quote dari “ubuntuforums[dot]org”: Thanks doing now btw what is “Go IPv6 Now!: “sudo apt-get install miredo”, then visit www.test-ipv6.com and ipv6.google.com” about? It’s about IPv6. Do you know IPv6? It means a lot more IP addresses and it takes away NAT-problems. See http://en.wikipedia.org/wiki/IPv6. On Ubuntu it’s quite easy to take your first IPv6 steps: just that one command “sudo apt-get install miredo” Jadi solusi sangat mudah, tinggal install miredo saja: sudo apt-get install miredo Solved!

Fix apt-get 404 Not Found Package Errors
Teknologi / 3 September 2015

Posting ini copas dari https://smyl.es/how-to-fix-ubuntudebian-apt-get-404-not-found-package-repository-errors-saucy-raring-quantal-oneiric-natty/ If you’re using a normal version of Ubuntu such as Saucy, Raring, Quantal, Oneiric, Natty, Maverick, etc, you may have already (and will eventually) start getting “Failed to fetch 404 Not Found” errors when trying to run  apt–get update , or even sometimes running apt–get install , but fear not, it is easy to fix, and here’s how… Why am I getting this error? Normal Ubuntu releases are supported for 9 months, whereas LTS (Long Term Support) releases are supported for 5 years.  Once support is up for the version of Ubuntu you are using the repository is moved to another server and will no longer be available on the standard   http://archive.ubuntu.com/ubuntu/dist/ location. Ubuntu Release Details The most simple solution would be to upgrade to a newer version: sudo apt-get dist-upgrade BUT, for some of us that isn’t an option right now, or maybe you don’t want to upgrade.  With a simple sed command you can update the  /etc/apt/sources.list file to use the new location for the old package repository. How can I fix it without upgrading? Run this command below on your server and it will replace all of the  archive.ubuntu.com  and  security.ubuntu.com package repository URLs with  old–releases.ubuntu.com sudo sed -i…