Installing mono on ubuntu: mono-devel : Depends: libglib2.0-0 (>= 2.56.3) but 2.56.1-2ubuntu1 is to be...












0















I'm following
https://www.mono-project.com/download/stable/#download-lin-ubuntu to install mono on ubuntu. However in the last step I get



sudo apt install mono-devel
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:
mono-devel : Depends: libglib2.0-0 (>= 2.56.3) but 2.56.1-2ubuntu1 is to be installed
Recommends: mono-csharp-shell but it is not going to be installed
Recommends: referenceassemblies-pcl but it is not going to be installed
Recommends: msbuild but it is not going to be installed
E: Unable to correct problems, you have held broken packages.


My Ubuntu is indeed 18.04. What should I do?



UPDATE:



sudo apt -f install; cat /etc/apt/sources.list.d/mono-official-stable.list
[sudo] password for lz:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
android-libadb android-libbase android-libcutils android-liblog
android-sdk-platform-tools-common gcc-7-base:i386 libboost-random1.62.0 libboost-regex1.62.0
linux-headers-4.13.0-21 linux-headers-4.13.0-21-generic linux-headers-4.13.0-36
linux-headers-4.13.0-36-generic linux-image-4.13.0-21-generic linux-image-4.13.0-36-generic
linux-image-extra-4.13.0-21-generic linux-image-extra-4.13.0-36-generic
linux-signed-image-4.13.0-21-generic linux-signed-image-4.13.0-36-generic
linux-signed-image-generic
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 69 not upgraded.
deb https://download.mono-project.com/repo/ubuntu stable-bionic main









share|improve this question

























  • Please run sudo apt -f install; cat /etc/apt/sources.list.d/mono-official-stable.list, and paste the output to your post by editing it :)

    – Emmet
    Mar 18 at 3:58













  • @Emmet done! ..

    – Guerlando OCs
    Mar 18 at 4:42











  • Have you ran sudo apt update before installing mono ?

    – Emmet
    Mar 18 at 4:50











  • @Emmet yes ,,,...

    – Guerlando OCs
    Mar 18 at 4:57











  • You need to enable bionic-updates (Google it).

    – fkraiem
    Mar 18 at 5:03
















0















I'm following
https://www.mono-project.com/download/stable/#download-lin-ubuntu to install mono on ubuntu. However in the last step I get



sudo apt install mono-devel
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:
mono-devel : Depends: libglib2.0-0 (>= 2.56.3) but 2.56.1-2ubuntu1 is to be installed
Recommends: mono-csharp-shell but it is not going to be installed
Recommends: referenceassemblies-pcl but it is not going to be installed
Recommends: msbuild but it is not going to be installed
E: Unable to correct problems, you have held broken packages.


My Ubuntu is indeed 18.04. What should I do?



UPDATE:



sudo apt -f install; cat /etc/apt/sources.list.d/mono-official-stable.list
[sudo] password for lz:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
android-libadb android-libbase android-libcutils android-liblog
android-sdk-platform-tools-common gcc-7-base:i386 libboost-random1.62.0 libboost-regex1.62.0
linux-headers-4.13.0-21 linux-headers-4.13.0-21-generic linux-headers-4.13.0-36
linux-headers-4.13.0-36-generic linux-image-4.13.0-21-generic linux-image-4.13.0-36-generic
linux-image-extra-4.13.0-21-generic linux-image-extra-4.13.0-36-generic
linux-signed-image-4.13.0-21-generic linux-signed-image-4.13.0-36-generic
linux-signed-image-generic
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 69 not upgraded.
deb https://download.mono-project.com/repo/ubuntu stable-bionic main









share|improve this question

























  • Please run sudo apt -f install; cat /etc/apt/sources.list.d/mono-official-stable.list, and paste the output to your post by editing it :)

    – Emmet
    Mar 18 at 3:58













  • @Emmet done! ..

    – Guerlando OCs
    Mar 18 at 4:42











  • Have you ran sudo apt update before installing mono ?

    – Emmet
    Mar 18 at 4:50











  • @Emmet yes ,,,...

    – Guerlando OCs
    Mar 18 at 4:57











  • You need to enable bionic-updates (Google it).

    – fkraiem
    Mar 18 at 5:03














0












0








0








I'm following
https://www.mono-project.com/download/stable/#download-lin-ubuntu to install mono on ubuntu. However in the last step I get



sudo apt install mono-devel
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:
mono-devel : Depends: libglib2.0-0 (>= 2.56.3) but 2.56.1-2ubuntu1 is to be installed
Recommends: mono-csharp-shell but it is not going to be installed
Recommends: referenceassemblies-pcl but it is not going to be installed
Recommends: msbuild but it is not going to be installed
E: Unable to correct problems, you have held broken packages.


My Ubuntu is indeed 18.04. What should I do?



UPDATE:



sudo apt -f install; cat /etc/apt/sources.list.d/mono-official-stable.list
[sudo] password for lz:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
android-libadb android-libbase android-libcutils android-liblog
android-sdk-platform-tools-common gcc-7-base:i386 libboost-random1.62.0 libboost-regex1.62.0
linux-headers-4.13.0-21 linux-headers-4.13.0-21-generic linux-headers-4.13.0-36
linux-headers-4.13.0-36-generic linux-image-4.13.0-21-generic linux-image-4.13.0-36-generic
linux-image-extra-4.13.0-21-generic linux-image-extra-4.13.0-36-generic
linux-signed-image-4.13.0-21-generic linux-signed-image-4.13.0-36-generic
linux-signed-image-generic
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 69 not upgraded.
deb https://download.mono-project.com/repo/ubuntu stable-bionic main









share|improve this question
















I'm following
https://www.mono-project.com/download/stable/#download-lin-ubuntu to install mono on ubuntu. However in the last step I get



sudo apt install mono-devel
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:
mono-devel : Depends: libglib2.0-0 (>= 2.56.3) but 2.56.1-2ubuntu1 is to be installed
Recommends: mono-csharp-shell but it is not going to be installed
Recommends: referenceassemblies-pcl but it is not going to be installed
Recommends: msbuild but it is not going to be installed
E: Unable to correct problems, you have held broken packages.


My Ubuntu is indeed 18.04. What should I do?



UPDATE:



sudo apt -f install; cat /etc/apt/sources.list.d/mono-official-stable.list
[sudo] password for lz:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
android-libadb android-libbase android-libcutils android-liblog
android-sdk-platform-tools-common gcc-7-base:i386 libboost-random1.62.0 libboost-regex1.62.0
linux-headers-4.13.0-21 linux-headers-4.13.0-21-generic linux-headers-4.13.0-36
linux-headers-4.13.0-36-generic linux-image-4.13.0-21-generic linux-image-4.13.0-36-generic
linux-image-extra-4.13.0-21-generic linux-image-extra-4.13.0-36-generic
linux-signed-image-4.13.0-21-generic linux-signed-image-4.13.0-36-generic
linux-signed-image-generic
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 69 not upgraded.
deb https://download.mono-project.com/repo/ubuntu stable-bionic main






apt package-management mono






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 18 at 4:42







Guerlando OCs

















asked Mar 18 at 3:43









Guerlando OCsGuerlando OCs

3011719




3011719













  • Please run sudo apt -f install; cat /etc/apt/sources.list.d/mono-official-stable.list, and paste the output to your post by editing it :)

    – Emmet
    Mar 18 at 3:58













  • @Emmet done! ..

    – Guerlando OCs
    Mar 18 at 4:42











  • Have you ran sudo apt update before installing mono ?

    – Emmet
    Mar 18 at 4:50











  • @Emmet yes ,,,...

    – Guerlando OCs
    Mar 18 at 4:57











  • You need to enable bionic-updates (Google it).

    – fkraiem
    Mar 18 at 5:03



















  • Please run sudo apt -f install; cat /etc/apt/sources.list.d/mono-official-stable.list, and paste the output to your post by editing it :)

    – Emmet
    Mar 18 at 3:58













  • @Emmet done! ..

    – Guerlando OCs
    Mar 18 at 4:42











  • Have you ran sudo apt update before installing mono ?

    – Emmet
    Mar 18 at 4:50











  • @Emmet yes ,,,...

    – Guerlando OCs
    Mar 18 at 4:57











  • You need to enable bionic-updates (Google it).

    – fkraiem
    Mar 18 at 5:03

















Please run sudo apt -f install; cat /etc/apt/sources.list.d/mono-official-stable.list, and paste the output to your post by editing it :)

– Emmet
Mar 18 at 3:58







Please run sudo apt -f install; cat /etc/apt/sources.list.d/mono-official-stable.list, and paste the output to your post by editing it :)

– Emmet
Mar 18 at 3:58















@Emmet done! ..

– Guerlando OCs
Mar 18 at 4:42





@Emmet done! ..

– Guerlando OCs
Mar 18 at 4:42













Have you ran sudo apt update before installing mono ?

– Emmet
Mar 18 at 4:50





Have you ran sudo apt update before installing mono ?

– Emmet
Mar 18 at 4:50













@Emmet yes ,,,...

– Guerlando OCs
Mar 18 at 4:57





@Emmet yes ,,,...

– Guerlando OCs
Mar 18 at 4:57













You need to enable bionic-updates (Google it).

– fkraiem
Mar 18 at 5:03





You need to enable bionic-updates (Google it).

– fkraiem
Mar 18 at 5:03










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


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1126517%2finstalling-mono-on-ubuntu-mono-devel-depends-libglib2-0-0-2-56-3-but-2%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
















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%2f1126517%2finstalling-mono-on-ubuntu-mono-devel-depends-libglib2-0-0-2-56-3-but-2%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

How did Captain America manage to do this?

迪纳利

南乌拉尔铁路局