Apache2-bin can't install, lubuntu must be ugraded to 2.4.29-1ubuntu4.5?












0















Not a copy of Apache2 install Error . apache2-bin , not the same error and "ok, I solved it" comment by OP...



I'm trying to install apache2 in order to install redmine on my Lubuntu 18.04.1 server.



When installing apache2, I have



Les paquets suivants contiennent des dépendances non satisfaites :
apache2 : Dépend: apache2-bin (= 2.4.18-2ubuntu3.9) mais 2.4.29-1ubuntu4.5
devra être installé
E: Impossible de corriger les problèmes, des paquets défectueux sont en mode
« garder en l'état ».


English :



The following packages contain unsatisfactory dependencies :
apache2 : depends : apache2-bin... but 2.4.29-1ubuntu4.5 must be installed
E: unable to correct, packages are in mode "keep state"


If I have to install 2.4.29-1ubuntu4.5 then OK but how ?



I have a LTS version of Lubuntu which was release-upgraded a few days ago :



> lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.1 LTS
Release: 18.04
Codename: bionic


dist-upgrade does nothing at all...




  • is there an "old" version of apache2-bin to solve this problem?

  • how must be installed this lubuntu4.5 thing?


Thank you!





@Organic Marble: here's the output, roughly copied from my phone's ssh app so I hope there's no typo



> sudo apt policy apache2
apache2:
Installed : (none)
Candidate : 2.4.18-2ubuntu3.9
Version table:
2.4.18-2ubuntu3.9 500
500 http://fr.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
2.4.18-2ubuntu3.8 500
500 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages
2.4.18-2ubuntu3 500
500 http://fr.archive.ubuntu.com/ubuntu xenial/main amd64 Packages









share|improve this question




















  • 1





    Please edit your question to include the output of apt policy apache2 so we can see what version you are trying to install.

    – Organic Marble
    Jan 31 at 2:18











  • I've edited the question

    – Goufalite
    Jan 31 at 7:34











  • You still have some Xenial (16.04) repositories; you should update them to the Bionic (18.04) ones.

    – fkraiem
    Jan 31 at 13:25











  • @fkraiem do you have a command for this ? Or how is it done ?

    – Goufalite
    Jan 31 at 13:34













  • Just edit your sources.list, or whatever you use to manage your repositories...

    – fkraiem
    Jan 31 at 13:46
















0















Not a copy of Apache2 install Error . apache2-bin , not the same error and "ok, I solved it" comment by OP...



I'm trying to install apache2 in order to install redmine on my Lubuntu 18.04.1 server.



When installing apache2, I have



Les paquets suivants contiennent des dépendances non satisfaites :
apache2 : Dépend: apache2-bin (= 2.4.18-2ubuntu3.9) mais 2.4.29-1ubuntu4.5
devra être installé
E: Impossible de corriger les problèmes, des paquets défectueux sont en mode
« garder en l'état ».


English :



The following packages contain unsatisfactory dependencies :
apache2 : depends : apache2-bin... but 2.4.29-1ubuntu4.5 must be installed
E: unable to correct, packages are in mode "keep state"


If I have to install 2.4.29-1ubuntu4.5 then OK but how ?



I have a LTS version of Lubuntu which was release-upgraded a few days ago :



> lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.1 LTS
Release: 18.04
Codename: bionic


dist-upgrade does nothing at all...




  • is there an "old" version of apache2-bin to solve this problem?

  • how must be installed this lubuntu4.5 thing?


Thank you!





@Organic Marble: here's the output, roughly copied from my phone's ssh app so I hope there's no typo



> sudo apt policy apache2
apache2:
Installed : (none)
Candidate : 2.4.18-2ubuntu3.9
Version table:
2.4.18-2ubuntu3.9 500
500 http://fr.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
2.4.18-2ubuntu3.8 500
500 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages
2.4.18-2ubuntu3 500
500 http://fr.archive.ubuntu.com/ubuntu xenial/main amd64 Packages









share|improve this question




















  • 1





    Please edit your question to include the output of apt policy apache2 so we can see what version you are trying to install.

    – Organic Marble
    Jan 31 at 2:18











  • I've edited the question

    – Goufalite
    Jan 31 at 7:34











  • You still have some Xenial (16.04) repositories; you should update them to the Bionic (18.04) ones.

    – fkraiem
    Jan 31 at 13:25











  • @fkraiem do you have a command for this ? Or how is it done ?

    – Goufalite
    Jan 31 at 13:34













  • Just edit your sources.list, or whatever you use to manage your repositories...

    – fkraiem
    Jan 31 at 13:46














0












0








0








Not a copy of Apache2 install Error . apache2-bin , not the same error and "ok, I solved it" comment by OP...



I'm trying to install apache2 in order to install redmine on my Lubuntu 18.04.1 server.



When installing apache2, I have



Les paquets suivants contiennent des dépendances non satisfaites :
apache2 : Dépend: apache2-bin (= 2.4.18-2ubuntu3.9) mais 2.4.29-1ubuntu4.5
devra être installé
E: Impossible de corriger les problèmes, des paquets défectueux sont en mode
« garder en l'état ».


English :



The following packages contain unsatisfactory dependencies :
apache2 : depends : apache2-bin... but 2.4.29-1ubuntu4.5 must be installed
E: unable to correct, packages are in mode "keep state"


If I have to install 2.4.29-1ubuntu4.5 then OK but how ?



I have a LTS version of Lubuntu which was release-upgraded a few days ago :



> lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.1 LTS
Release: 18.04
Codename: bionic


dist-upgrade does nothing at all...




  • is there an "old" version of apache2-bin to solve this problem?

  • how must be installed this lubuntu4.5 thing?


Thank you!





@Organic Marble: here's the output, roughly copied from my phone's ssh app so I hope there's no typo



> sudo apt policy apache2
apache2:
Installed : (none)
Candidate : 2.4.18-2ubuntu3.9
Version table:
2.4.18-2ubuntu3.9 500
500 http://fr.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
2.4.18-2ubuntu3.8 500
500 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages
2.4.18-2ubuntu3 500
500 http://fr.archive.ubuntu.com/ubuntu xenial/main amd64 Packages









share|improve this question
















Not a copy of Apache2 install Error . apache2-bin , not the same error and "ok, I solved it" comment by OP...



I'm trying to install apache2 in order to install redmine on my Lubuntu 18.04.1 server.



When installing apache2, I have



Les paquets suivants contiennent des dépendances non satisfaites :
apache2 : Dépend: apache2-bin (= 2.4.18-2ubuntu3.9) mais 2.4.29-1ubuntu4.5
devra être installé
E: Impossible de corriger les problèmes, des paquets défectueux sont en mode
« garder en l'état ».


English :



The following packages contain unsatisfactory dependencies :
apache2 : depends : apache2-bin... but 2.4.29-1ubuntu4.5 must be installed
E: unable to correct, packages are in mode "keep state"


If I have to install 2.4.29-1ubuntu4.5 then OK but how ?



I have a LTS version of Lubuntu which was release-upgraded a few days ago :



> lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.1 LTS
Release: 18.04
Codename: bionic


dist-upgrade does nothing at all...




  • is there an "old" version of apache2-bin to solve this problem?

  • how must be installed this lubuntu4.5 thing?


Thank you!





@Organic Marble: here's the output, roughly copied from my phone's ssh app so I hope there's no typo



> sudo apt policy apache2
apache2:
Installed : (none)
Candidate : 2.4.18-2ubuntu3.9
Version table:
2.4.18-2ubuntu3.9 500
500 http://fr.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
2.4.18-2ubuntu3.8 500
500 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages
2.4.18-2ubuntu3 500
500 http://fr.archive.ubuntu.com/ubuntu xenial/main amd64 Packages






apt lubuntu apache2






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 31 at 7:33







Goufalite

















asked Jan 30 at 22:10









GoufaliteGoufalite

1115




1115








  • 1





    Please edit your question to include the output of apt policy apache2 so we can see what version you are trying to install.

    – Organic Marble
    Jan 31 at 2:18











  • I've edited the question

    – Goufalite
    Jan 31 at 7:34











  • You still have some Xenial (16.04) repositories; you should update them to the Bionic (18.04) ones.

    – fkraiem
    Jan 31 at 13:25











  • @fkraiem do you have a command for this ? Or how is it done ?

    – Goufalite
    Jan 31 at 13:34













  • Just edit your sources.list, or whatever you use to manage your repositories...

    – fkraiem
    Jan 31 at 13:46














  • 1





    Please edit your question to include the output of apt policy apache2 so we can see what version you are trying to install.

    – Organic Marble
    Jan 31 at 2:18











  • I've edited the question

    – Goufalite
    Jan 31 at 7:34











  • You still have some Xenial (16.04) repositories; you should update them to the Bionic (18.04) ones.

    – fkraiem
    Jan 31 at 13:25











  • @fkraiem do you have a command for this ? Or how is it done ?

    – Goufalite
    Jan 31 at 13:34













  • Just edit your sources.list, or whatever you use to manage your repositories...

    – fkraiem
    Jan 31 at 13:46








1




1





Please edit your question to include the output of apt policy apache2 so we can see what version you are trying to install.

– Organic Marble
Jan 31 at 2:18





Please edit your question to include the output of apt policy apache2 so we can see what version you are trying to install.

– Organic Marble
Jan 31 at 2:18













I've edited the question

– Goufalite
Jan 31 at 7:34





I've edited the question

– Goufalite
Jan 31 at 7:34













You still have some Xenial (16.04) repositories; you should update them to the Bionic (18.04) ones.

– fkraiem
Jan 31 at 13:25





You still have some Xenial (16.04) repositories; you should update them to the Bionic (18.04) ones.

– fkraiem
Jan 31 at 13:25













@fkraiem do you have a command for this ? Or how is it done ?

– Goufalite
Jan 31 at 13:34







@fkraiem do you have a command for this ? Or how is it done ?

– Goufalite
Jan 31 at 13:34















Just edit your sources.list, or whatever you use to manage your repositories...

– fkraiem
Jan 31 at 13:46





Just edit your sources.list, or whatever you use to manage your repositories...

– fkraiem
Jan 31 at 13:46










1 Answer
1






active

oldest

votes


















2














Your sources.list is problematic, it refers to xenial repos although you have a bionic install. Here is a sample bionic sources.list. I don't enable the source code repos and your country may vary as well. I removed all the comments.



deb http://us.archive.ubuntu.com/ubuntu/ bionic main restricted
deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates main restricted
deb http://us.archive.ubuntu.com/ubuntu/ bionic universe
deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates universe
deb http://us.archive.ubuntu.com/ubuntu/ bionic multiverse
deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates multiverse
deb http://us.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu bionic-security main restricted
deb http://security.ubuntu.com/ubuntu bionic-security universe
deb http://security.ubuntu.com/ubuntu bionic-security multiverse





share|improve this answer



















  • 1





    Changed all the xenial to bionic and now apache2 installs OK. Thank you! Any idea why it wasn't changed although the release upgrade ?

    – Goufalite
    Jan 31 at 19:16











  • Unfortunately I have no idea. I've always just done clean installs instead of upgrades. I am glad you got it working!

    – Organic Marble
    Jan 31 at 19:25











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
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1114235%2fapache2-bin-cant-install-lubuntu-must-be-ugraded-to-2-4-29-1ubuntu4-5%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









2














Your sources.list is problematic, it refers to xenial repos although you have a bionic install. Here is a sample bionic sources.list. I don't enable the source code repos and your country may vary as well. I removed all the comments.



deb http://us.archive.ubuntu.com/ubuntu/ bionic main restricted
deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates main restricted
deb http://us.archive.ubuntu.com/ubuntu/ bionic universe
deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates universe
deb http://us.archive.ubuntu.com/ubuntu/ bionic multiverse
deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates multiverse
deb http://us.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu bionic-security main restricted
deb http://security.ubuntu.com/ubuntu bionic-security universe
deb http://security.ubuntu.com/ubuntu bionic-security multiverse





share|improve this answer



















  • 1





    Changed all the xenial to bionic and now apache2 installs OK. Thank you! Any idea why it wasn't changed although the release upgrade ?

    – Goufalite
    Jan 31 at 19:16











  • Unfortunately I have no idea. I've always just done clean installs instead of upgrades. I am glad you got it working!

    – Organic Marble
    Jan 31 at 19:25
















2














Your sources.list is problematic, it refers to xenial repos although you have a bionic install. Here is a sample bionic sources.list. I don't enable the source code repos and your country may vary as well. I removed all the comments.



deb http://us.archive.ubuntu.com/ubuntu/ bionic main restricted
deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates main restricted
deb http://us.archive.ubuntu.com/ubuntu/ bionic universe
deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates universe
deb http://us.archive.ubuntu.com/ubuntu/ bionic multiverse
deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates multiverse
deb http://us.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu bionic-security main restricted
deb http://security.ubuntu.com/ubuntu bionic-security universe
deb http://security.ubuntu.com/ubuntu bionic-security multiverse





share|improve this answer



















  • 1





    Changed all the xenial to bionic and now apache2 installs OK. Thank you! Any idea why it wasn't changed although the release upgrade ?

    – Goufalite
    Jan 31 at 19:16











  • Unfortunately I have no idea. I've always just done clean installs instead of upgrades. I am glad you got it working!

    – Organic Marble
    Jan 31 at 19:25














2












2








2







Your sources.list is problematic, it refers to xenial repos although you have a bionic install. Here is a sample bionic sources.list. I don't enable the source code repos and your country may vary as well. I removed all the comments.



deb http://us.archive.ubuntu.com/ubuntu/ bionic main restricted
deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates main restricted
deb http://us.archive.ubuntu.com/ubuntu/ bionic universe
deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates universe
deb http://us.archive.ubuntu.com/ubuntu/ bionic multiverse
deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates multiverse
deb http://us.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu bionic-security main restricted
deb http://security.ubuntu.com/ubuntu bionic-security universe
deb http://security.ubuntu.com/ubuntu bionic-security multiverse





share|improve this answer













Your sources.list is problematic, it refers to xenial repos although you have a bionic install. Here is a sample bionic sources.list. I don't enable the source code repos and your country may vary as well. I removed all the comments.



deb http://us.archive.ubuntu.com/ubuntu/ bionic main restricted
deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates main restricted
deb http://us.archive.ubuntu.com/ubuntu/ bionic universe
deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates universe
deb http://us.archive.ubuntu.com/ubuntu/ bionic multiverse
deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates multiverse
deb http://us.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu bionic-security main restricted
deb http://security.ubuntu.com/ubuntu bionic-security universe
deb http://security.ubuntu.com/ubuntu bionic-security multiverse






share|improve this answer












share|improve this answer



share|improve this answer










answered Jan 31 at 14:38









Organic MarbleOrganic Marble

11.5k63459




11.5k63459








  • 1





    Changed all the xenial to bionic and now apache2 installs OK. Thank you! Any idea why it wasn't changed although the release upgrade ?

    – Goufalite
    Jan 31 at 19:16











  • Unfortunately I have no idea. I've always just done clean installs instead of upgrades. I am glad you got it working!

    – Organic Marble
    Jan 31 at 19:25














  • 1





    Changed all the xenial to bionic and now apache2 installs OK. Thank you! Any idea why it wasn't changed although the release upgrade ?

    – Goufalite
    Jan 31 at 19:16











  • Unfortunately I have no idea. I've always just done clean installs instead of upgrades. I am glad you got it working!

    – Organic Marble
    Jan 31 at 19:25








1




1





Changed all the xenial to bionic and now apache2 installs OK. Thank you! Any idea why it wasn't changed although the release upgrade ?

– Goufalite
Jan 31 at 19:16





Changed all the xenial to bionic and now apache2 installs OK. Thank you! Any idea why it wasn't changed although the release upgrade ?

– Goufalite
Jan 31 at 19:16













Unfortunately I have no idea. I've always just done clean installs instead of upgrades. I am glad you got it working!

– Organic Marble
Jan 31 at 19:25





Unfortunately I have no idea. I've always just done clean installs instead of upgrades. I am glad you got it working!

– Organic Marble
Jan 31 at 19:25


















draft saved

draft discarded




















































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.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1114235%2fapache2-bin-cant-install-lubuntu-must-be-ugraded-to-2-4-29-1ubuntu4-5%23new-answer', 'question_page');
}
);

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







Popular posts from this blog

Biblatex bibliography style without URLs when DOI exists (in Overleaf with Zotero bibliography)

ComboBox Display Member on multiple fields

Is it possible to collect Nectar points via Trainline?