cp /etc/apt/sources.list /etc/apt/sources.list-orig echo 'deb http://us.archive.ubuntu.com/ubuntu/ trusty main restricted' > /etc/apt/sources.list echo 'deb-src http://us.archive.ubuntu.com/ubuntu/ trusty main restricted' >> /etc/apt/sources.list echo 'deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates main restricted' >> /etc/apt/sources.list echo 'deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-updates main restricted' >> /etc/apt/sources.list echo 'deb http://security.ubuntu.com/ubuntu trusty-security main restricted' >> /etc/apt/sources.list echo 'deb-src http://security.ubuntu.com/ubuntu trusty-security main restricted' >> /etc/apt/sources.list echo 'deb http://security.ubuntu.com/ubuntu trusty-security universe' >> /etc/apt/sources.list echo 'deb-src http://security.ubuntu.com/ubuntu trusty-security universe' >> /etc/apt/sources.list echo 'deb http://security.ubuntu.com/ubuntu trusty-security multiverse' >> /etc/apt/sources.list echo 'deb-src http://security.ubuntu.com/ubuntu trusty-security multiverse' >> /etc/apt/sources.list apt-get update && apt-get upgrade && apt-get check && apt-get autoremove && apt-get autoclean && apt-get clean
All information on this site is shared with the intention to help. Before any source code or program is ran on a production (non-development) system it is suggested you test it and fully understand what it is doing not just what it appears it is doing. I accept no responsibility for any damage you may do with this code.
You must be logged in to post a comment.