Howto fix Something wicked happened resolving URL System error

Howto fix Something wicked happened resolving URL System error

ubuntu

1. Error

root@ubuntu:~# apt-get install vsftpd
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following NEW packages will be installed:
vsftpd
0 upgraded, 1 newly installed, 0 to remove and 22 not upgraded.
Need to get 115 kB of archives.
After this operation, 372 kB of additional disk space will be used.
Err http://us.archive.ubuntu.com/ubuntu/ raring/main vsftpd i386 3.0.2-1ubuntu1
Something wicked happened resolving ‘us.archive.ubuntu.com:http’ (-11 – System error)
Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/v/vsftpd/vsftpd_3.0.2-1ubuntu1_i386.deb Something wicked happened resolving ‘us.archive.ubuntu.com:http’ (-11 – System error)
E: Unable to fetch some archives, maybe run apt-get update or try with –fix-missing?
root@ubuntu:~#

2. How to fix that – we fix that by adding DNS server to Ubuntu Server

root@ubuntu:~# vi /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND — YOUR CHANGES WILL BE OVERWRITTEN
nameserver 8.8.8.8
nameserver 8.8.4.4
root@ubuntu:~#
root@ubuntu:~# apt-get install vsftpd
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following NEW packages will be installed:
vsftpd
0 upgraded, 1 newly installed, 0 to remove and 22 not upgraded.
Need to get 115 kB of archives.
After this operation, 372 kB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu/ raring/main vsftpd i386 3.0.2-1ubuntu1 [115 kB]
Fetched 115 kB in 1s (69.2 kB/s)
Preconfiguring packages …
Selecting previously unselected package vsftpd.
(Reading database … 158859 files and directories currently installed.)
Unpacking vsftpd (from …/vsftpd_3.0.2-1ubuntu1_i386.deb) …
Processing triggers for man-db …
Processing triggers for ureadahead …
ureadahead will be reprofiled on next reboot
Setting up vsftpd (3.0.2-1ubuntu1) …
vsftpd start/running, process 6872
Processing triggers for ureadahead …
root@ubuntu:~#

That’s it. Thanks for using IThelpblog.com.

 

 

 

Leave a reply

You may 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>