Package 'apache2' has no installation candidate in Ubuntu 16.04Nginx installation error in Ubuntu 16.04how to...
Advice for a new journal editor
Why did other German political parties disband so fast when Hitler was appointed chancellor?
Using only 1s, make 29 with the minimum number of digits
Porting Linux to another platform requirements
Can a hotel cancel a confirmed reservation?
Dilemma of explaining to interviewer that he is the reason for declining second interview
Do authors have to be politically correct in article-writing?
Why has the mole been redefined for 2019?
Caruana vs Carlsen game 10 (WCC) why not 18...Nxb6?
Am I a Rude Number?
Strange Sign on Lab Door
If I delete my router's history can my ISP still provide it to my parents?
Does SQL Server 2017, including older versions, support 8k disk sector sizes?
Can a person refuse a presidential pardon?
Finding the basis of the intersection of a subspace and span
Finding a mistake using Mayer-Vietoris
what does しにみえてる mean?
Avoiding morning and evening handshakes
Is my visa status for all destinations in a flight with connections checked in the beginning or before each flight?
The weather forecast
Why is the copy constructor called twice in this code snippet?
Are there any modern advantages of a fire piston?
Why Prushim were the ones who "separated"?
How do you funnel food off a cutting board?
Package 'apache2' has no installation candidate in Ubuntu 16.04
Nginx installation error in Ubuntu 16.04how to install kjots in ubuntu 16.04install (self-built binary) Apache 2.2 on Ubuntu 16.04PlayOnLinux won't launchopenjdk-7-jdk (package)Unmet dependencies while trying to install Unity Tweak ToolCan not install xchat on Ubuntu 16.04ltsUbuntu 16.04: E: Package 'libqwt6' has no installation candidateInstall libmotif-2.3.4-10 on Ubuntu18.04How to install gcj on Ubuntu 16.04
A few weeks ago I stupidly moved my var folder into my root folder and my whole system broke. I managed to get things fixed somewhat, but my sites are not working because apache2 doesn't run/ doesn't exist
when i run the command
sudo service apache2
i get:
Failed to restart apache2.service: Unit apache2.service not found.
When I run
sudo apt-get install apache2
I get
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
E: Package 'apache2' has no installation candidate
I literally have no clue how to fix this. I replaced /etc/apt/sources.list with the default configuration.
16.04
New contributor
Jacob Prince is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
A few weeks ago I stupidly moved my var folder into my root folder and my whole system broke. I managed to get things fixed somewhat, but my sites are not working because apache2 doesn't run/ doesn't exist
when i run the command
sudo service apache2
i get:
Failed to restart apache2.service: Unit apache2.service not found.
When I run
sudo apt-get install apache2
I get
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
E: Package 'apache2' has no installation candidate
I literally have no clue how to fix this. I replaced /etc/apt/sources.list with the default configuration.
16.04
New contributor
Jacob Prince is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
A few weeks ago I stupidly moved my var folder into my root folder and my whole system broke. I managed to get things fixed somewhat, but my sites are not working because apache2 doesn't run/ doesn't exist
when i run the command
sudo service apache2
i get:
Failed to restart apache2.service: Unit apache2.service not found.
When I run
sudo apt-get install apache2
I get
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
E: Package 'apache2' has no installation candidate
I literally have no clue how to fix this. I replaced /etc/apt/sources.list with the default configuration.
16.04
New contributor
Jacob Prince is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
A few weeks ago I stupidly moved my var folder into my root folder and my whole system broke. I managed to get things fixed somewhat, but my sites are not working because apache2 doesn't run/ doesn't exist
when i run the command
sudo service apache2
i get:
Failed to restart apache2.service: Unit apache2.service not found.
When I run
sudo apt-get install apache2
I get
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
E: Package 'apache2' has no installation candidate
I literally have no clue how to fix this. I replaced /etc/apt/sources.list with the default configuration.
16.04
16.04
New contributor
Jacob Prince is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Jacob Prince is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Jacob Prince is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked 2 mins ago
Jacob PrinceJacob Prince
1
1
New contributor
Jacob Prince is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Jacob Prince is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Jacob Prince is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Jacob Prince is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1122102%2fpackage-apache2-has-no-installation-candidate-in-ubuntu-16-04%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Jacob Prince is a new contributor. Be nice, and check out our Code of Conduct.
Jacob Prince is a new contributor. Be nice, and check out our Code of Conduct.
Jacob Prince is a new contributor. Be nice, and check out our Code of Conduct.
Jacob Prince is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1122102%2fpackage-apache2-has-no-installation-candidate-in-ubuntu-16-04%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown