Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
Accidentally removed resolvconf package. How to get it back?
It’s always a bad idea to do smth before you have your morning coffee. Anyway, it already happened. Was configuring postfix to send emails via Google Apps, there was an issue with resolving domain names and no pings from the droplet. While reading some StackOveflow questions found an advice to reinstall resolvconf, but went into the process without reading the comments (dumb me, yes).
Package was purged, and reinstall isn’t possible as apt-get can’t resolve sources anymore. Restarted the server. Downloaded package directly via
and tried to install it
dpkg -i resolvconf_1.69ubuntu1_all.deb
Rebooted the server, but no changes. Running
apt-get update fails to fecth sources:
... W: Failed to fetch http://mirrors.digitalocean.com/ubuntu/dists/trusty-backports/Release.gpg Could not resolve 'mirrors.digitalocean.com' ...
OS: Ubuntu 14.04 x32
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×