ubuntu 14.04 Update manager: “A problem occurred when checking for the updates that is what appear when using terminal
ubuntu 14.04 Update manager: “A problem occurred when checking for the updates that is what appear when using terminal
Each line in the 00aptitude file should end with a semicolon character.
Run the command man apt.conf from the terminal and under the DESCRIPTION and SYNTAX headings it says:
apt.conf is the main configuration file for the APT suite of tools, all tools make use of the configuration file and a common command-line parser to provide a uniform environment.
...
APT::Get::Assume-Yes "true";. The quotation marks and trailing semicolon are required.
To edit the 00aptitude file use the command:
sudo nano /etc/apt/apt.conf.d/00aptitude
Edit the 00aptitude file so that instead of:
Aptitude::Get-Root-Command "sudo:/usr/bin/sudo";
Acquire::Languages "none"
It is changed so that it is:
Aptitude::Get-Root-Command "sudo:/usr/bin/sudo";
Acquire::Languages "none";
The only thing you have to change is to add a semicolon character to the end of the second line.
Nano is very easy to use. The instructions for using the nano editor are always found at the bottom of every page. The only two nano keyboard shortcuts that you need to know are for WriteOut and Exit. Press the keyboard combination Ctrl+O and after that press Enter to save the file being edited. Press the keyboard combination Ctrl+X to exit nano.