Monday, July 4, 2016

command line - mv: cannot stat ‘sources.list’: No such file or directory

I am trying to run the following command in my system after navigating to the directory cd /etc/apt


 Clean update:
cd /etc/apt
#out put stella@stella-box:/etc/apt$
sudo mv sources.list sources.list.ok
#output mv: cannot stat ‘sources.list’: No such file or directory
#Recreate sources.list and add these 4 lines to it.
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
sudo apt-get clean
sudo apt-get update
sudo apt install python3-pip
sudo apt-get install cmake

I enter the next line it returns " mv: cannot stat ‘sources.list’: No such file or directory"
please guys how do I fixed this error?

No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...