installing library event package












-1















All resources i have come across say that this should work:



apt-get install libevent-dev



But this fails event even when I have super user privileges.



Does anyone know of a repository for this package?



My operating system is Ubuntu 18.04 LTS.



thanks in advance



Error output:



Reading package lists...Done



Building dependency tree...Done



Reading state information...Done



E: Unable to locate package libevent-dev










share|improve this question

























  • Please edit your question to show us the complete output of a failed attempt. The package is in the 'main' pocket of the Ubuntu repositories for all supported releases of Ubuntu - every install of Ubuntu already has that source included.

    – user535733
    Feb 1 at 5:43













  • ok i have done so, it says it is unable to locate it, is this likely to be an issue caused by what is in my /etc/apt/sources.list file?

    – Adam
    Feb 1 at 5:55











  • That's one line, not complete output. Seems likely that you have bonkered sources. Please edit your question to show the complete output of sudo apt update

    – user535733
    Feb 1 at 5:56













  • I KNOW but this is the output relevant to the issue the rest is not of any concern

    – Adam
    Feb 1 at 5:59











  • ok there it is, that is the full output

    – Adam
    Feb 1 at 6:02
















-1















All resources i have come across say that this should work:



apt-get install libevent-dev



But this fails event even when I have super user privileges.



Does anyone know of a repository for this package?



My operating system is Ubuntu 18.04 LTS.



thanks in advance



Error output:



Reading package lists...Done



Building dependency tree...Done



Reading state information...Done



E: Unable to locate package libevent-dev










share|improve this question

























  • Please edit your question to show us the complete output of a failed attempt. The package is in the 'main' pocket of the Ubuntu repositories for all supported releases of Ubuntu - every install of Ubuntu already has that source included.

    – user535733
    Feb 1 at 5:43













  • ok i have done so, it says it is unable to locate it, is this likely to be an issue caused by what is in my /etc/apt/sources.list file?

    – Adam
    Feb 1 at 5:55











  • That's one line, not complete output. Seems likely that you have bonkered sources. Please edit your question to show the complete output of sudo apt update

    – user535733
    Feb 1 at 5:56













  • I KNOW but this is the output relevant to the issue the rest is not of any concern

    – Adam
    Feb 1 at 5:59











  • ok there it is, that is the full output

    – Adam
    Feb 1 at 6:02














-1












-1








-1








All resources i have come across say that this should work:



apt-get install libevent-dev



But this fails event even when I have super user privileges.



Does anyone know of a repository for this package?



My operating system is Ubuntu 18.04 LTS.



thanks in advance



Error output:



Reading package lists...Done



Building dependency tree...Done



Reading state information...Done



E: Unable to locate package libevent-dev










share|improve this question
















All resources i have come across say that this should work:



apt-get install libevent-dev



But this fails event even when I have super user privileges.



Does anyone know of a repository for this package?



My operating system is Ubuntu 18.04 LTS.



thanks in advance



Error output:



Reading package lists...Done



Building dependency tree...Done



Reading state information...Done



E: Unable to locate package libevent-dev







package-management libraries






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Feb 1 at 6:01







Adam

















asked Feb 1 at 5:39









AdamAdam

1337




1337













  • Please edit your question to show us the complete output of a failed attempt. The package is in the 'main' pocket of the Ubuntu repositories for all supported releases of Ubuntu - every install of Ubuntu already has that source included.

    – user535733
    Feb 1 at 5:43













  • ok i have done so, it says it is unable to locate it, is this likely to be an issue caused by what is in my /etc/apt/sources.list file?

    – Adam
    Feb 1 at 5:55











  • That's one line, not complete output. Seems likely that you have bonkered sources. Please edit your question to show the complete output of sudo apt update

    – user535733
    Feb 1 at 5:56













  • I KNOW but this is the output relevant to the issue the rest is not of any concern

    – Adam
    Feb 1 at 5:59











  • ok there it is, that is the full output

    – Adam
    Feb 1 at 6:02



















  • Please edit your question to show us the complete output of a failed attempt. The package is in the 'main' pocket of the Ubuntu repositories for all supported releases of Ubuntu - every install of Ubuntu already has that source included.

    – user535733
    Feb 1 at 5:43













  • ok i have done so, it says it is unable to locate it, is this likely to be an issue caused by what is in my /etc/apt/sources.list file?

    – Adam
    Feb 1 at 5:55











  • That's one line, not complete output. Seems likely that you have bonkered sources. Please edit your question to show the complete output of sudo apt update

    – user535733
    Feb 1 at 5:56













  • I KNOW but this is the output relevant to the issue the rest is not of any concern

    – Adam
    Feb 1 at 5:59











  • ok there it is, that is the full output

    – Adam
    Feb 1 at 6:02

















Please edit your question to show us the complete output of a failed attempt. The package is in the 'main' pocket of the Ubuntu repositories for all supported releases of Ubuntu - every install of Ubuntu already has that source included.

– user535733
Feb 1 at 5:43







Please edit your question to show us the complete output of a failed attempt. The package is in the 'main' pocket of the Ubuntu repositories for all supported releases of Ubuntu - every install of Ubuntu already has that source included.

– user535733
Feb 1 at 5:43















ok i have done so, it says it is unable to locate it, is this likely to be an issue caused by what is in my /etc/apt/sources.list file?

– Adam
Feb 1 at 5:55





ok i have done so, it says it is unable to locate it, is this likely to be an issue caused by what is in my /etc/apt/sources.list file?

– Adam
Feb 1 at 5:55













That's one line, not complete output. Seems likely that you have bonkered sources. Please edit your question to show the complete output of sudo apt update

– user535733
Feb 1 at 5:56







That's one line, not complete output. Seems likely that you have bonkered sources. Please edit your question to show the complete output of sudo apt update

– user535733
Feb 1 at 5:56















I KNOW but this is the output relevant to the issue the rest is not of any concern

– Adam
Feb 1 at 5:59





I KNOW but this is the output relevant to the issue the rest is not of any concern

– Adam
Feb 1 at 5:59













ok there it is, that is the full output

– Adam
Feb 1 at 6:02





ok there it is, that is the full output

– Adam
Feb 1 at 6:02










1 Answer
1






active

oldest

votes


















1














First Update the System with the following command:



sudo apt-get update


Then try to install libevent-dev:



sudo apt-get install libevent-dev





share|improve this answer
























  • Sorry mate same issue when I update prior to installation unfortunately

    – Adam
    Feb 1 at 6:04











  • Try with sudo apt-get upgrade. It will replace the Older version packages.

    – Sunil Valmiki
    Feb 1 at 6:09











  • ok thanks the output from this says that the package gdb was held back and not upgraded. Could this be relevant?

    – Adam
    Feb 1 at 6:13











  • Might be, Package gdb is GNU debugger package update this and Try for the libevent-dev.

    – Sunil Valmiki
    Feb 1 at 6:19











  • I corrected the problem comparing the content of my sources.list file to that list in questions like this thanks anyway though

    – Adam
    Feb 1 at 12:41











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%2f1114623%2finstalling-library-event-package%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









1














First Update the System with the following command:



sudo apt-get update


Then try to install libevent-dev:



sudo apt-get install libevent-dev





share|improve this answer
























  • Sorry mate same issue when I update prior to installation unfortunately

    – Adam
    Feb 1 at 6:04











  • Try with sudo apt-get upgrade. It will replace the Older version packages.

    – Sunil Valmiki
    Feb 1 at 6:09











  • ok thanks the output from this says that the package gdb was held back and not upgraded. Could this be relevant?

    – Adam
    Feb 1 at 6:13











  • Might be, Package gdb is GNU debugger package update this and Try for the libevent-dev.

    – Sunil Valmiki
    Feb 1 at 6:19











  • I corrected the problem comparing the content of my sources.list file to that list in questions like this thanks anyway though

    – Adam
    Feb 1 at 12:41
















1














First Update the System with the following command:



sudo apt-get update


Then try to install libevent-dev:



sudo apt-get install libevent-dev





share|improve this answer
























  • Sorry mate same issue when I update prior to installation unfortunately

    – Adam
    Feb 1 at 6:04











  • Try with sudo apt-get upgrade. It will replace the Older version packages.

    – Sunil Valmiki
    Feb 1 at 6:09











  • ok thanks the output from this says that the package gdb was held back and not upgraded. Could this be relevant?

    – Adam
    Feb 1 at 6:13











  • Might be, Package gdb is GNU debugger package update this and Try for the libevent-dev.

    – Sunil Valmiki
    Feb 1 at 6:19











  • I corrected the problem comparing the content of my sources.list file to that list in questions like this thanks anyway though

    – Adam
    Feb 1 at 12:41














1












1








1







First Update the System with the following command:



sudo apt-get update


Then try to install libevent-dev:



sudo apt-get install libevent-dev





share|improve this answer













First Update the System with the following command:



sudo apt-get update


Then try to install libevent-dev:



sudo apt-get install libevent-dev






share|improve this answer












share|improve this answer



share|improve this answer










answered Feb 1 at 5:57









Sunil ValmikiSunil Valmiki

1113




1113













  • Sorry mate same issue when I update prior to installation unfortunately

    – Adam
    Feb 1 at 6:04











  • Try with sudo apt-get upgrade. It will replace the Older version packages.

    – Sunil Valmiki
    Feb 1 at 6:09











  • ok thanks the output from this says that the package gdb was held back and not upgraded. Could this be relevant?

    – Adam
    Feb 1 at 6:13











  • Might be, Package gdb is GNU debugger package update this and Try for the libevent-dev.

    – Sunil Valmiki
    Feb 1 at 6:19











  • I corrected the problem comparing the content of my sources.list file to that list in questions like this thanks anyway though

    – Adam
    Feb 1 at 12:41



















  • Sorry mate same issue when I update prior to installation unfortunately

    – Adam
    Feb 1 at 6:04











  • Try with sudo apt-get upgrade. It will replace the Older version packages.

    – Sunil Valmiki
    Feb 1 at 6:09











  • ok thanks the output from this says that the package gdb was held back and not upgraded. Could this be relevant?

    – Adam
    Feb 1 at 6:13











  • Might be, Package gdb is GNU debugger package update this and Try for the libevent-dev.

    – Sunil Valmiki
    Feb 1 at 6:19











  • I corrected the problem comparing the content of my sources.list file to that list in questions like this thanks anyway though

    – Adam
    Feb 1 at 12:41

















Sorry mate same issue when I update prior to installation unfortunately

– Adam
Feb 1 at 6:04





Sorry mate same issue when I update prior to installation unfortunately

– Adam
Feb 1 at 6:04













Try with sudo apt-get upgrade. It will replace the Older version packages.

– Sunil Valmiki
Feb 1 at 6:09





Try with sudo apt-get upgrade. It will replace the Older version packages.

– Sunil Valmiki
Feb 1 at 6:09













ok thanks the output from this says that the package gdb was held back and not upgraded. Could this be relevant?

– Adam
Feb 1 at 6:13





ok thanks the output from this says that the package gdb was held back and not upgraded. Could this be relevant?

– Adam
Feb 1 at 6:13













Might be, Package gdb is GNU debugger package update this and Try for the libevent-dev.

– Sunil Valmiki
Feb 1 at 6:19





Might be, Package gdb is GNU debugger package update this and Try for the libevent-dev.

– Sunil Valmiki
Feb 1 at 6:19













I corrected the problem comparing the content of my sources.list file to that list in questions like this thanks anyway though

– Adam
Feb 1 at 12:41





I corrected the problem comparing the content of my sources.list file to that list in questions like this thanks anyway though

– Adam
Feb 1 at 12:41


















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%2f1114623%2finstalling-library-event-package%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

Human spaceflight

Can not write log (Is /dev/pts mounted?) - openpty in Ubuntu-on-Windows?

File:DeusFollowingSea.jpg