Я хочу установить апача, когда я ввожу:
sudo apt-get install apache2
Я добираюсь:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package apache2 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
libapache2-mpm-itk:i386 libapache2-mpm-itk
E: Package 'apache2' has no installation candidate
Я попробовал много решений, и они не работали на меня, что я должен сделать?
Вывод sudo apt update
согласно просьбе:
Hit:1 http://ppa.launchpad.net/deluge-team/ppa/ubuntu bionic InRelease
Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease
Hit:3 http://packages.microsoft.com/repos/vscode stable InRelease
Hit:4 http://ppa.launchpad.net/deluge-team/stable/ubuntu bionic InRelease
Hit:5 https://deb.nodesource.com/node_10.x bionic InRelease
Hit:6 https://download.docker.com/linux/ubuntu bionic InRelease
Hit:7 http://ppa.launchpad.net/git-core/ppa/ubuntu bionic InRelease
Hit:8 https://download.sublimetext.com apt/stable/ InRelease
Hit:9 http://ppa.launchpad.net/indicator-brightness/ppa/ubuntu bionic InRelease
Hit:10 http://ppa.launchpad.net/linuxuprising/java/ubuntu bionic InRelease
Hit:11 http://ppa.launchpad.net/transmissionbt/ppa/ubuntu bionic InRelease
Ign:12 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu bionic InRelease
Hit:13 http://ppa.launchpad.net/webupd8team/java/ubuntu bionic InRelease
Err:14 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu bionic Release
404 Not Found [IP: 91.189.95.83 80]
Reading package lists... Done
E: The repository 'http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu bionic Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
таким образом, мне удалось решить мою собственную проблему, я отправляю, это для информативного использования упаковывает любого, читает его позже по линии: во-первых, поскольку @Marble сказал мне делать, я удалил ubuntu-wine
от Software&updates-> Другое программное обеспечение. => apache2 был установлен затем, для решения проблемы, связанной с общим для JavaScript, я ввел эти команды:
apt-get remove javascript-common
apt-get --purge remove javascript-common
apt-get purge javascript-common
теперь проблема решена :)