1

I don't know exactly what the problem is. I've attached the screen shot of the error. Please help how to solve it. enter image description here

I also found that my CPU is running at 100% as per system manager.

after sudo apt-get update I am getting the following error:

E: Failed to fetch cdrom://Ubuntu 16.04 LTS _Xenial Xerus_ - Release amd64 (20160420.1)/dists/xenial/main/binary-amd64/Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs E: Failed to fetch http://ppa.launchpad.net/boost-latest/ppa/ubuntu/dists/xenial/main/binary-amd64/Packages 404 Not Found E: Some index files failed to download. They have been ignored, or old ones used instead.

Processes using TOP command : enter image description here

Aquib
  • 113

1 Answers1

1

There seems to be a problem with the /etc/apt/sources.list file. To evaluate this, let's create a new one that is clean.

  • Open a terminal, and run the following:

    sudo cp /etc/apt/sources.list /etc/apt/source.list.backup
    

This creates a copy of the original file, just in case.

  • Open the sources.list file with your preferred text editor. For example, with gedit. Delete all the content of the file, and copy this:

    deb mirror://mirrors.ubuntu.com/mirrors.txt xenial main restricted universe multiverse
    deb mirror://mirrors.ubuntu.com/mirrors.txt xenial-updates main restricted universe multiverse
    deb mirror://mirrors.ubuntu.com/mirrors.txt xenial-backports main restricted universe multiverse
    deb mirror://mirrors.ubuntu.com/mirrors.txt xenial-security main restricted universe multiverse
    
    deb mirror://mirrors.ubuntu.com/mirrors.txt xenial main restricted
    deb-src mirror://mirrors.ubuntu.com/mirrors.txt xenial main restricted
    
    deb mirror://mirrors.ubuntu.com/mirrors.txt xenial-updates main restricted
    deb-src mirror://mirrors.ubuntu.com/mirrors.txt xenial-updates main restricted
    

This file includes the usual repositories to look at. I added the extra tweak of using the mirrors.txt file, which gives you the closest servers (the standard line is http://com.archive.ubuntu.com/ubuntu/). If you want to generate a more presonalized sources list, use this website.

  • Save, and update with sudo apt-get update.
  • yes, after this everything is fetched, there's no error – Aquib Aug 02 '16 at 10:33
  • Good. What about the CPU usage? You can write another question. –  Aug 02 '16 at 18:07
  • I just used sudo pkill process_name to kill the process and now it's normal. – Aquib Aug 03 '16 at 06:35
  • I think the two deb lines with xenial main restricted and xenial-updates main restricted lines are redundant. They are already mentioned in the first and second lines of the file, respectively. – Thomas Jan 15 '19 at 11:08