Sunday, June 12, 2016

E: Unable to fetch some archives, m

from http://stackoverflow.com


This is linked to using a non LTS version of ubuntu called an End of life version. As those have discontinued support. You can check if your ubuntu lies in the end of life version on this link -> https://wiki.ubuntu.com/Releases
The simplest solution is to do the following two steps:
1- Backup your sources list -> sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup
2- Open the sources file "/etc/apt/sources.list" Rename all the instances of us.archive or archive in http://us.archive.ubuntu.com/ubuntu/ to
http://old-releases.ubuntu.com/ubuntu/
Also do the same for the http://security.ubuntu.com/ubuntu/dists/saucy-security/universe/binary-i386/Packages
3- Run sudo apt-get update after doing the above.
That should fix the issue.
Warning: Please update your ubuntu to an LTS version as soon as possible otherwise you won't be getting the latest security patches. This is definitely not a solution that you would deploy on production machines.

Wednesday, May 25, 2016

Install package using tasksel (Ubuntu 16.04)

tasksel is a gui for install a bundle og installation

1. install the tasksel tool

# apt install tasksel

2. run the tasksel util

# tasksel