Trying to install iptables-persistent with apt-get. It stucks with resolving archive.ubuntu.com resulting in “Temporary failure resolving” this hostname. I checked resolv.conf - it has 8.8.4.4 & 8.8.8.8 nameservers Also apt/sources.list has 5 deb entries with archive.ubuntu.com/ubuntu Infact I can’t even ping those nameservers along with other domains I’ve tried. Iptables set to output accept policy with no rules.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
You need to change repository link from archive.ubuntu.com and security.ubuntu.com to old-releases.ubuntu.com <br>Ref: http://www.warpconduit.net/2011/07/31/apt-repository-for-old-ubuntu-releases/ <br>
@hungbc2811: You would only need to use old-releases.ubuntu.com if you were on an unsupported version of Ubuntu. If that is the case, I’d highly advise you to upgrade to a current release so that you still receive security support. “old-releases” just allows you to access the existing packages, you won’t get any update or security fixes.
Does it work if you temporarily reset your IPTables rules? <br>Run the following commands to take a backup of your rules and then reset everything to the defaults: <br><pre>sudo iptables-save | sudo tee iptables.backup <br>sudo iptables -F <br>sudo iptables -X</pre> <br>Then, check if the apt-get command works. <br>You can restore your rules by running this command: <br><pre>sudo iptables-restore < iptables.backup</pre>
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.