Unable to locate some packages












0















I am trying to install some packages but i receive message error:




E: Unable to locate package libodbcinstq4–1



E: Unable to locate package libodbcinstq4–1:i386



E: Unable to locate package libzthread-2.3–2



E: Couldn't find any package by glob 'libzthread-2.3–2'



E: Couldn't find any package by regex 'libzthread-2.3–2'




As repository, I added



echo ‘deb http://cz.archive.ubuntu.com/ubuntu precise main universe’ >> /etc/apt/sources.list.d/extra.list


Can someone help, please?



with the response of N0rbert, I have the following output:



libodbcinstq4-1 is already the newest version (2.3.0-4).
libodbcinstq4-1:i386 is already the newest version (2.3.0-4).
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
libodbcinstq4-1:i386 : Depends: odbcinst1debian2:i386 (>= 2.2.14p2) but it is not going to be installed
libqtcore4 : Breaks: libqtcore4:i386 (!= 4:4.8.7+dfsg-5ubuntu2) but 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1 is to be installed
libqtcore4:i386 : Breaks: libqtcore4 (!= 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1) but 4:4.8.7+dfsg-5ubuntu2 is to be installed
libqtgui4:i386 : Depends: libqt4-declarative:i386 (= 4:4.8.7+dfsg-5ubuntu2) but it is not going to be installed
Depends: libqtcore4:i386 (= 4:4.8.7+dfsg-5ubuntu2) but 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1 is to be installed
Depends: libtiff5:i386 (>= 4.0.3) but it is not going to be installed
Depends: libxext6:i386 but it is not going to be installed
Depends: libxi6:i386 (>= 2:1.2.99.4) but it is not going to be installed
Depends: libxrender1:i386 but it is not going to be installed
Recommends: libcups2:i386 but it is not going to be installed
Recommends: qt-at-spi:i386 but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).









share|improve this question









New contributor




mikcutu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





















  • What is your Ubuntu version? Ubuntu 12.04 LTS (precise) is EOL.

    – N0rbert
    17 hours ago











  • I am using Ubuntu 16.04

    – mikcutu
    17 hours ago











  • Then you should enable all 16.04 LTS (xenial) repositories and follow my answer.

    – N0rbert
    17 hours ago











  • how can I enable all Xenial repositories?

    – mikcutu
    17 hours ago











  • I added the output of installation of the 3 packages

    – mikcutu
    17 hours ago
















0















I am trying to install some packages but i receive message error:




E: Unable to locate package libodbcinstq4–1



E: Unable to locate package libodbcinstq4–1:i386



E: Unable to locate package libzthread-2.3–2



E: Couldn't find any package by glob 'libzthread-2.3–2'



E: Couldn't find any package by regex 'libzthread-2.3–2'




As repository, I added



echo ‘deb http://cz.archive.ubuntu.com/ubuntu precise main universe’ >> /etc/apt/sources.list.d/extra.list


Can someone help, please?



with the response of N0rbert, I have the following output:



libodbcinstq4-1 is already the newest version (2.3.0-4).
libodbcinstq4-1:i386 is already the newest version (2.3.0-4).
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
libodbcinstq4-1:i386 : Depends: odbcinst1debian2:i386 (>= 2.2.14p2) but it is not going to be installed
libqtcore4 : Breaks: libqtcore4:i386 (!= 4:4.8.7+dfsg-5ubuntu2) but 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1 is to be installed
libqtcore4:i386 : Breaks: libqtcore4 (!= 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1) but 4:4.8.7+dfsg-5ubuntu2 is to be installed
libqtgui4:i386 : Depends: libqt4-declarative:i386 (= 4:4.8.7+dfsg-5ubuntu2) but it is not going to be installed
Depends: libqtcore4:i386 (= 4:4.8.7+dfsg-5ubuntu2) but 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1 is to be installed
Depends: libtiff5:i386 (>= 4.0.3) but it is not going to be installed
Depends: libxext6:i386 but it is not going to be installed
Depends: libxi6:i386 (>= 2:1.2.99.4) but it is not going to be installed
Depends: libxrender1:i386 but it is not going to be installed
Recommends: libcups2:i386 but it is not going to be installed
Recommends: qt-at-spi:i386 but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).









share|improve this question









New contributor




mikcutu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





















  • What is your Ubuntu version? Ubuntu 12.04 LTS (precise) is EOL.

    – N0rbert
    17 hours ago











  • I am using Ubuntu 16.04

    – mikcutu
    17 hours ago











  • Then you should enable all 16.04 LTS (xenial) repositories and follow my answer.

    – N0rbert
    17 hours ago











  • how can I enable all Xenial repositories?

    – mikcutu
    17 hours ago











  • I added the output of installation of the 3 packages

    – mikcutu
    17 hours ago














0












0








0








I am trying to install some packages but i receive message error:




E: Unable to locate package libodbcinstq4–1



E: Unable to locate package libodbcinstq4–1:i386



E: Unable to locate package libzthread-2.3–2



E: Couldn't find any package by glob 'libzthread-2.3–2'



E: Couldn't find any package by regex 'libzthread-2.3–2'




As repository, I added



echo ‘deb http://cz.archive.ubuntu.com/ubuntu precise main universe’ >> /etc/apt/sources.list.d/extra.list


Can someone help, please?



with the response of N0rbert, I have the following output:



libodbcinstq4-1 is already the newest version (2.3.0-4).
libodbcinstq4-1:i386 is already the newest version (2.3.0-4).
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
libodbcinstq4-1:i386 : Depends: odbcinst1debian2:i386 (>= 2.2.14p2) but it is not going to be installed
libqtcore4 : Breaks: libqtcore4:i386 (!= 4:4.8.7+dfsg-5ubuntu2) but 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1 is to be installed
libqtcore4:i386 : Breaks: libqtcore4 (!= 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1) but 4:4.8.7+dfsg-5ubuntu2 is to be installed
libqtgui4:i386 : Depends: libqt4-declarative:i386 (= 4:4.8.7+dfsg-5ubuntu2) but it is not going to be installed
Depends: libqtcore4:i386 (= 4:4.8.7+dfsg-5ubuntu2) but 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1 is to be installed
Depends: libtiff5:i386 (>= 4.0.3) but it is not going to be installed
Depends: libxext6:i386 but it is not going to be installed
Depends: libxi6:i386 (>= 2:1.2.99.4) but it is not going to be installed
Depends: libxrender1:i386 but it is not going to be installed
Recommends: libcups2:i386 but it is not going to be installed
Recommends: qt-at-spi:i386 but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).









share|improve this question









New contributor




mikcutu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












I am trying to install some packages but i receive message error:




E: Unable to locate package libodbcinstq4–1



E: Unable to locate package libodbcinstq4–1:i386



E: Unable to locate package libzthread-2.3–2



E: Couldn't find any package by glob 'libzthread-2.3–2'



E: Couldn't find any package by regex 'libzthread-2.3–2'




As repository, I added



echo ‘deb http://cz.archive.ubuntu.com/ubuntu precise main universe’ >> /etc/apt/sources.list.d/extra.list


Can someone help, please?



with the response of N0rbert, I have the following output:



libodbcinstq4-1 is already the newest version (2.3.0-4).
libodbcinstq4-1:i386 is already the newest version (2.3.0-4).
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
libodbcinstq4-1:i386 : Depends: odbcinst1debian2:i386 (>= 2.2.14p2) but it is not going to be installed
libqtcore4 : Breaks: libqtcore4:i386 (!= 4:4.8.7+dfsg-5ubuntu2) but 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1 is to be installed
libqtcore4:i386 : Breaks: libqtcore4 (!= 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1) but 4:4.8.7+dfsg-5ubuntu2 is to be installed
libqtgui4:i386 : Depends: libqt4-declarative:i386 (= 4:4.8.7+dfsg-5ubuntu2) but it is not going to be installed
Depends: libqtcore4:i386 (= 4:4.8.7+dfsg-5ubuntu2) but 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1 is to be installed
Depends: libtiff5:i386 (>= 4.0.3) but it is not going to be installed
Depends: libxext6:i386 but it is not going to be installed
Depends: libxi6:i386 (>= 2:1.2.99.4) but it is not going to be installed
Depends: libxrender1:i386 but it is not going to be installed
Recommends: libcups2:i386 but it is not going to be installed
Recommends: qt-at-spi:i386 but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).






16.04 package-management repository






share|improve this question









New contributor




mikcutu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




mikcutu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited 16 mins ago







mikcutu













New contributor




mikcutu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 17 hours ago









mikcutumikcutu

1011




1011




New contributor




mikcutu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





mikcutu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






mikcutu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.













  • What is your Ubuntu version? Ubuntu 12.04 LTS (precise) is EOL.

    – N0rbert
    17 hours ago











  • I am using Ubuntu 16.04

    – mikcutu
    17 hours ago











  • Then you should enable all 16.04 LTS (xenial) repositories and follow my answer.

    – N0rbert
    17 hours ago











  • how can I enable all Xenial repositories?

    – mikcutu
    17 hours ago











  • I added the output of installation of the 3 packages

    – mikcutu
    17 hours ago



















  • What is your Ubuntu version? Ubuntu 12.04 LTS (precise) is EOL.

    – N0rbert
    17 hours ago











  • I am using Ubuntu 16.04

    – mikcutu
    17 hours ago











  • Then you should enable all 16.04 LTS (xenial) repositories and follow my answer.

    – N0rbert
    17 hours ago











  • how can I enable all Xenial repositories?

    – mikcutu
    17 hours ago











  • I added the output of installation of the 3 packages

    – mikcutu
    17 hours ago

















What is your Ubuntu version? Ubuntu 12.04 LTS (precise) is EOL.

– N0rbert
17 hours ago





What is your Ubuntu version? Ubuntu 12.04 LTS (precise) is EOL.

– N0rbert
17 hours ago













I am using Ubuntu 16.04

– mikcutu
17 hours ago





I am using Ubuntu 16.04

– mikcutu
17 hours ago













Then you should enable all 16.04 LTS (xenial) repositories and follow my answer.

– N0rbert
17 hours ago





Then you should enable all 16.04 LTS (xenial) repositories and follow my answer.

– N0rbert
17 hours ago













how can I enable all Xenial repositories?

– mikcutu
17 hours ago





how can I enable all Xenial repositories?

– mikcutu
17 hours ago













I added the output of installation of the 3 packages

– mikcutu
17 hours ago





I added the output of installation of the 3 packages

– mikcutu
17 hours ago










1 Answer
1






active

oldest

votes


















0














You should not use long dash instead of minus sign (-). Replace all to - and retry.



sudo add-apt-repository universe
sudo apt-get install libodbcinstq4-1 libodbcinstq4-1:i386 libzthread-2.3-2





share|improve this answer























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


    }
    });






    mikcutu is a new contributor. Be nice, and check out our Code of Conduct.










    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1114715%2funable-to-locate-some-packages%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









    0














    You should not use long dash instead of minus sign (-). Replace all to - and retry.



    sudo add-apt-repository universe
    sudo apt-get install libodbcinstq4-1 libodbcinstq4-1:i386 libzthread-2.3-2





    share|improve this answer




























      0














      You should not use long dash instead of minus sign (-). Replace all to - and retry.



      sudo add-apt-repository universe
      sudo apt-get install libodbcinstq4-1 libodbcinstq4-1:i386 libzthread-2.3-2





      share|improve this answer


























        0












        0








        0







        You should not use long dash instead of minus sign (-). Replace all to - and retry.



        sudo add-apt-repository universe
        sudo apt-get install libodbcinstq4-1 libodbcinstq4-1:i386 libzthread-2.3-2





        share|improve this answer













        You should not use long dash instead of minus sign (-). Replace all to - and retry.



        sudo add-apt-repository universe
        sudo apt-get install libodbcinstq4-1 libodbcinstq4-1:i386 libzthread-2.3-2






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered 17 hours ago









        N0rbertN0rbert

        22.4k648106




        22.4k648106






















            mikcutu is a new contributor. Be nice, and check out our Code of Conduct.










            draft saved

            draft discarded


















            mikcutu is a new contributor. Be nice, and check out our Code of Conduct.













            mikcutu is a new contributor. Be nice, and check out our Code of Conduct.












            mikcutu 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.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1114715%2funable-to-locate-some-packages%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

            GameSpot

            connect to host localhost port 22: Connection refused

            Getting a Wifi WPA2 wifi connection