Actually this is 'old' issue. I found repository problem on Ubuntu 12.10 (latest version).
The problem is when you install Ubuntu 12.10, by default you will use nearest Ubuntu repo, in this case it will use mongolia repo. You can check it from /etc/apt/sources.list and you can found this line,
right? it's mean now you using mn.archive.ubuntu.com as your nearest Ubuntu repo.
There's the problem. Ubuntu repo in Mongolia is at http://ubuntu-archive.adsolux.com/ but... somehow they have problem on their Ubuntu 12.10 repo now. That's why sometimes you cannot install some packages.
Understood? Now, here's how to fix it,
1. Edit your /etc/apt/sources.list file with your favourite editor. In this case, using VIM
vim /etc/apt/source.list
2. Change all "mn.archive.ubuntu.com" into other ubuntu repo. For example using China Ubuntu repo like this, "cn.archive.ubuntu.com".
You can change another nearest Ubuntu repo, but i prefer to use china repo instead.
3. If you use VIM, you can use regex action. Press "esc" and write this line,
%s/mn.archive.ubuntu.com/cn.archive.ubuntu.com/g
4. Save the file.
5. Update your apt cache using this command,
apt-get update
6. Done.. Now you can install the packages you want. ;)
As far as i know, this problem only happen on 12.10. It's mean Ubuntu mirror in Mongolia still not fully updated yet or they have some internal problem.
No comments:
Post a Comment