zati@zati-K42JZ:~$ sudo apt-get update
[sudo] password for zati:
Err http://archive.ubuntu.com precise Release.gpg
yesterday i tried to install a management system into my 12.04 ubuntu. I tried to edit the repository in sources.list using sudo gedit /etc/apt/sources.list . I am not sure whether i type it correctly, i only type the deb http://dms.oscc.org.my/repo binary/ as told in the website. when i want to apt-get update, it execute a -5 error. why is that happening? it execute -5 error for archive and security too.
Something wicked happened resolving 'archive.ubuntu.com:http' (-5 - No address associated with hostname)
Err http://security.ubuntu.com precise-security Release.gpg
Something wicked happened resolving 'security.ubuntu.com:http' (-5 - No address associated with hostname)
Err http://archive.canonical.com precise Release.gpg
Something wicked happened resolving 'archive.canonical.com:http' (-5 - No address associated with hostname)
Err http://extras.ubuntu.com precise Release.gpg
Something wicked happened resolving 'extras.ubuntu.com:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com precise-updates Release.gpg
Something wicked happened resolving 'archive.ubuntu.com:http' (-5 - No address associated with hostname)
Ign http://security.ubuntu.com precise-security Release
Ign http://archive.canonical.com precise Release
Ign http://extras.ubuntu.com precise Release
Err http://archive.ubuntu.com precise-backports Release.gpg
Something wicked happened resolving 'archive.ubuntu.com:http' (-5 - No address associated with hostname)
Ign http://archive.canonical.com precise/partner i386 Packages/DiffIndex
Ign http://extras.ubuntu.com precise/main i386 Packages/DiffIndex
Ign http://archive.ubuntu.com precise Release
Ign http://security.ubuntu.com precise-security/restricted i386 Packages/DiffIndex
Ign http://archive.canonical.com precise/partner TranslationIndex
Ign http://extras.ubuntu.com precise/main TranslationIndex
Ign http://archive.ubuntu.com precise-updates Release
Ign http://security.ubuntu.com precise-security/universe i386 Packages/DiffIndex
Ign http://security.ubuntu.com precise-security/multiverse i386 Packages/DiffIndex
Ign http://archive.ubuntu.com precise-backports Release
Ign http://archive.ubuntu.com precise/main i386 Packages/DiffIndex
Ign http://security.ubuntu.com precise-security/main TranslationIndex
Ign http://archive.ubuntu.com precise/restricted i386 Packages/DiffIndex
Ign http://security.ubuntu.com precise-security/multiverse TranslationIndex
Ign http://security.ubuntu.com precise-security/restricted TranslationIndex
Ign http://security.ubuntu.com precise-security/universe TranslationIndex
Ign http://archive.ubuntu.com precise/main TranslationIndex
Ign http://archive.ubuntu.com precise/multiverse TranslationIndex
Ign http://archive.ubuntu.com precise/restricted TranslationIndex
Ign http://archive.ubuntu.com precise/universe TranslationIndex
Err http://archive.canonical.com precise/partner i386 Packages
Something wicked happened resolving 'archive.canonical.com:http' (-5 - No address associated with hostname)
Err http://extras.ubuntu.com precise/main i386 Packages
Something wicked happened resolving 'extras.ubuntu.com:http' (-5 - No address associated with hostname)
Err http://archive.canonical.com precise/partner Translation-en_US
Something wicked happened resolving 'archive.canonical.com:http' (-5 - No address associated with hostname)
Err http://extras.ubuntu.com precise/main Translation-en_US
Something wicked happened resolving 'extras.ubuntu.com:http' (-5 - No address associated with hostname)
Ign http://archive.ubuntu.com precise-updates/main TranslationIndex
Err http://archive.canonical.com precise/partner Translation-en
Something wicked happened resolving 'archive.canonical.com:http' (-5 - No address associated with hostname)
Err http://extras.ubuntu.com precise/main Translation-en
Something wicked happened resolving 'extras.ubuntu.com:http' (-5 - No address associated with hostname)
Ign http://archive.ubuntu.com precise-updates/multiverse TranslationIndex
Ign http://archive.ubuntu.com precise-updates/restricted TranslationIndex
Ign http://archive.ubuntu.com precise-updates/universe TranslationIndex
20% [Connecting to archive.ubuntu.com] [Connecting to security.ubuntu.com]
and then i tried to figure out solutions but while doing that(i follow some solutions posted by other people), then my sources.list only left with two lines. so it is corrupted right?
next, i tried to access the internet, but it says it cant found servers. when i tried to ping google.com, it says unknown host. i can ping my router successfully but other than that, it fails.
i am really a newbie in using ubuntu, and i hope you guys can help me, and that'll means a lot since i am currently doing my internship. thankyou in advance
sudo apt-get update
p.s mark your code as code. cheers – Serine Jul 01 '15 at 04:02