1. Backup config
# mv /etc/apt/sources.list /etc/apt/bak.sources.list

2. You can generate sources.list config (Reference: http://repogen.simplylinux.ch/index.php)
# vim /etc/apt/sources.list
---------------------------------------------
###### Ubuntu Main Repos
deb http://tw.archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse
deb-src http://tw.archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse
---------------------------------------------

3. Configure DNS
# vim /etc/resolv.conf
---------------------------------------------
nameserver 8.8.8.8
---------------------------------------------

4. Install alien package
# apt-get update
# apt-get install alien

dreamtails 發表在 痞客邦 PIXNET 留言(0) 人氣()