I messed up my repository and I can't rebuild a new one successfully. This is what happens with the repository I have. (It is the only way I can try to install something.)
sudo apt-get install apache2
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
apache2 : Depends: apache2-bin (= 2.4.10-10+deb8u4) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Otherwise I just have this message
E: Unable to locate package
->This is my sources.list at the moment:
My Ubuntu version is:
Distributor ID: Ubuntu
Description: Ubuntu 16.04 LTS
Release: 16.04
Codename: xenial
Please use the following sources generator to generate the content for your sources.list (the file itself is located at /etc/apt/sources.list
)
Just trying to explain some errors:
Your operating system knows based on its sources.list which software/packages it can find (from where) and based on that make it available for your computer. Its somehow a critical part of your package manager.
It might be dangerous to edit system-relevant files without knowing what you are doing.
For me it seems like you added apt sources from Debian Etch (which is a really old debian version) to your Ubuntu 16.04 sources.list. This is really far away from things you should do as starter. You might compare it with using DLLs from Windows 98 and trying to use them in Windows 7 or something.
If it comes to Ubuntu or other Linux distributions - if a command needs sudo
permissions - please read and try to understand what the command is supposed to do - before you even consider executing it.
No comments:
Post a Comment