How to install specific version of debian linux package CUPS?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite
1












I'm trying to install specific version ( 2.2.1-8+deb9u2 ) of CUPS package in debian:stretch-slim linux. But it is giving me the following error.



$apt install -y cups=2.2.1-8+deb9u2
Reading package lists...
Building dependency tree...
Reading state information...
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:
cups : Depends: libcups2 (= 2.2.1-8+deb9u2) but 1.7.5-11+deb8u4 is to be installed
Depends: libstdc++6 (>= 5) but 4.9.2-10+deb8u1 is to be installed
Depends: cups-core-drivers (>= 2.2.1-8+deb9u2) but 1.7.5-11+deb8u4 is to be installed
Depends: cups-daemon (>= 2.2.1-8+deb9u2) but 1.7.5-11+deb8u4 is to be installed
Depends: cups-common (>= 2.2.1-8+deb9u2) but 1.7.5-11+deb8u4 is to be installed
Depends: cups-server-common (>= 2.2.1-8+deb9u2) but 1.7.5-11+deb8u4 is to be installed
Depends: cups-client (>= 2.2.1-8+deb9u2) but 1.7.5-11+deb8u4 is to be installed
Recommends: avahi-daemon but it is not going to be installed
Recommends: colord but it is not going to be installed
Recommends: printer-driver-gutenprint but it is not going to be installed
Unable to correct problems, you have held broken packages.
The command 'apt install -y cups=2.2.1-8+deb9u2' returned a non-zero code: 100
Build step 'Execute shell' marked build as failure
Finished: FAILURE


Where am I getting wrong?



Why is it installing 1.7.5-11+deb8u4 is to be installed?



Am I missing something here?



$ apt-cache policy cups
cups:
Installed: 1.7.5-11+deb8u4
Candidate: 1.7.5-11+deb8u4
Version table:
2.2.1-8+deb9u2 0
-10 http://deb.debian.org/debian/ stretch/main amd64 Packages
2.2.1-8+deb9u1~bpo8+1 0
100 http://deb.debian.org/debian/ jessie-backports/main amd64 Packages
*** 1.7.5-11+deb8u4 0
500 http://security.debian.org/debian-security/ jessie/updates/main amd64 Packages
100 /var/lib/dpkg/status
1.7.5-11+deb8u2 0
500 http://deb.debian.org/debian/ jessie/main amd64 Packages


Why am I not able to install 2.2.1-8deb9u2 version in Debian 8?










share|improve this question























  • Looked into it further. I don't have the answer.
    – Michael Prokopec
    Nov 23 at 19:01










  • You have Jessie packages rather than Stretch packages. What’s the output of apt-cache policy?
    – Stephen Kitt
    Nov 23 at 19:09










  • I'll approve the pending update to your post, but you should register & use the initial account that you created to post this question.
    – Jeff Schaller
    Nov 25 at 15:27














up vote
0
down vote

favorite
1












I'm trying to install specific version ( 2.2.1-8+deb9u2 ) of CUPS package in debian:stretch-slim linux. But it is giving me the following error.



$apt install -y cups=2.2.1-8+deb9u2
Reading package lists...
Building dependency tree...
Reading state information...
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:
cups : Depends: libcups2 (= 2.2.1-8+deb9u2) but 1.7.5-11+deb8u4 is to be installed
Depends: libstdc++6 (>= 5) but 4.9.2-10+deb8u1 is to be installed
Depends: cups-core-drivers (>= 2.2.1-8+deb9u2) but 1.7.5-11+deb8u4 is to be installed
Depends: cups-daemon (>= 2.2.1-8+deb9u2) but 1.7.5-11+deb8u4 is to be installed
Depends: cups-common (>= 2.2.1-8+deb9u2) but 1.7.5-11+deb8u4 is to be installed
Depends: cups-server-common (>= 2.2.1-8+deb9u2) but 1.7.5-11+deb8u4 is to be installed
Depends: cups-client (>= 2.2.1-8+deb9u2) but 1.7.5-11+deb8u4 is to be installed
Recommends: avahi-daemon but it is not going to be installed
Recommends: colord but it is not going to be installed
Recommends: printer-driver-gutenprint but it is not going to be installed
Unable to correct problems, you have held broken packages.
The command 'apt install -y cups=2.2.1-8+deb9u2' returned a non-zero code: 100
Build step 'Execute shell' marked build as failure
Finished: FAILURE


Where am I getting wrong?



Why is it installing 1.7.5-11+deb8u4 is to be installed?



Am I missing something here?



$ apt-cache policy cups
cups:
Installed: 1.7.5-11+deb8u4
Candidate: 1.7.5-11+deb8u4
Version table:
2.2.1-8+deb9u2 0
-10 http://deb.debian.org/debian/ stretch/main amd64 Packages
2.2.1-8+deb9u1~bpo8+1 0
100 http://deb.debian.org/debian/ jessie-backports/main amd64 Packages
*** 1.7.5-11+deb8u4 0
500 http://security.debian.org/debian-security/ jessie/updates/main amd64 Packages
100 /var/lib/dpkg/status
1.7.5-11+deb8u2 0
500 http://deb.debian.org/debian/ jessie/main amd64 Packages


Why am I not able to install 2.2.1-8deb9u2 version in Debian 8?










share|improve this question























  • Looked into it further. I don't have the answer.
    – Michael Prokopec
    Nov 23 at 19:01










  • You have Jessie packages rather than Stretch packages. What’s the output of apt-cache policy?
    – Stephen Kitt
    Nov 23 at 19:09










  • I'll approve the pending update to your post, but you should register & use the initial account that you created to post this question.
    – Jeff Schaller
    Nov 25 at 15:27












up vote
0
down vote

favorite
1









up vote
0
down vote

favorite
1






1





I'm trying to install specific version ( 2.2.1-8+deb9u2 ) of CUPS package in debian:stretch-slim linux. But it is giving me the following error.



$apt install -y cups=2.2.1-8+deb9u2
Reading package lists...
Building dependency tree...
Reading state information...
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:
cups : Depends: libcups2 (= 2.2.1-8+deb9u2) but 1.7.5-11+deb8u4 is to be installed
Depends: libstdc++6 (>= 5) but 4.9.2-10+deb8u1 is to be installed
Depends: cups-core-drivers (>= 2.2.1-8+deb9u2) but 1.7.5-11+deb8u4 is to be installed
Depends: cups-daemon (>= 2.2.1-8+deb9u2) but 1.7.5-11+deb8u4 is to be installed
Depends: cups-common (>= 2.2.1-8+deb9u2) but 1.7.5-11+deb8u4 is to be installed
Depends: cups-server-common (>= 2.2.1-8+deb9u2) but 1.7.5-11+deb8u4 is to be installed
Depends: cups-client (>= 2.2.1-8+deb9u2) but 1.7.5-11+deb8u4 is to be installed
Recommends: avahi-daemon but it is not going to be installed
Recommends: colord but it is not going to be installed
Recommends: printer-driver-gutenprint but it is not going to be installed
Unable to correct problems, you have held broken packages.
The command 'apt install -y cups=2.2.1-8+deb9u2' returned a non-zero code: 100
Build step 'Execute shell' marked build as failure
Finished: FAILURE


Where am I getting wrong?



Why is it installing 1.7.5-11+deb8u4 is to be installed?



Am I missing something here?



$ apt-cache policy cups
cups:
Installed: 1.7.5-11+deb8u4
Candidate: 1.7.5-11+deb8u4
Version table:
2.2.1-8+deb9u2 0
-10 http://deb.debian.org/debian/ stretch/main amd64 Packages
2.2.1-8+deb9u1~bpo8+1 0
100 http://deb.debian.org/debian/ jessie-backports/main amd64 Packages
*** 1.7.5-11+deb8u4 0
500 http://security.debian.org/debian-security/ jessie/updates/main amd64 Packages
100 /var/lib/dpkg/status
1.7.5-11+deb8u2 0
500 http://deb.debian.org/debian/ jessie/main amd64 Packages


Why am I not able to install 2.2.1-8deb9u2 version in Debian 8?










share|improve this question















I'm trying to install specific version ( 2.2.1-8+deb9u2 ) of CUPS package in debian:stretch-slim linux. But it is giving me the following error.



$apt install -y cups=2.2.1-8+deb9u2
Reading package lists...
Building dependency tree...
Reading state information...
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:
cups : Depends: libcups2 (= 2.2.1-8+deb9u2) but 1.7.5-11+deb8u4 is to be installed
Depends: libstdc++6 (>= 5) but 4.9.2-10+deb8u1 is to be installed
Depends: cups-core-drivers (>= 2.2.1-8+deb9u2) but 1.7.5-11+deb8u4 is to be installed
Depends: cups-daemon (>= 2.2.1-8+deb9u2) but 1.7.5-11+deb8u4 is to be installed
Depends: cups-common (>= 2.2.1-8+deb9u2) but 1.7.5-11+deb8u4 is to be installed
Depends: cups-server-common (>= 2.2.1-8+deb9u2) but 1.7.5-11+deb8u4 is to be installed
Depends: cups-client (>= 2.2.1-8+deb9u2) but 1.7.5-11+deb8u4 is to be installed
Recommends: avahi-daemon but it is not going to be installed
Recommends: colord but it is not going to be installed
Recommends: printer-driver-gutenprint but it is not going to be installed
Unable to correct problems, you have held broken packages.
The command 'apt install -y cups=2.2.1-8+deb9u2' returned a non-zero code: 100
Build step 'Execute shell' marked build as failure
Finished: FAILURE


Where am I getting wrong?



Why is it installing 1.7.5-11+deb8u4 is to be installed?



Am I missing something here?



$ apt-cache policy cups
cups:
Installed: 1.7.5-11+deb8u4
Candidate: 1.7.5-11+deb8u4
Version table:
2.2.1-8+deb9u2 0
-10 http://deb.debian.org/debian/ stretch/main amd64 Packages
2.2.1-8+deb9u1~bpo8+1 0
100 http://deb.debian.org/debian/ jessie-backports/main amd64 Packages
*** 1.7.5-11+deb8u4 0
500 http://security.debian.org/debian-security/ jessie/updates/main amd64 Packages
100 /var/lib/dpkg/status
1.7.5-11+deb8u2 0
500 http://deb.debian.org/debian/ jessie/main amd64 Packages


Why am I not able to install 2.2.1-8deb9u2 version in Debian 8?







linux debian apt dependencies cups






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 25 at 16:23









Community

1




1










asked Nov 23 at 18:27









Tyrion Lannister

1




1











  • Looked into it further. I don't have the answer.
    – Michael Prokopec
    Nov 23 at 19:01










  • You have Jessie packages rather than Stretch packages. What’s the output of apt-cache policy?
    – Stephen Kitt
    Nov 23 at 19:09










  • I'll approve the pending update to your post, but you should register & use the initial account that you created to post this question.
    – Jeff Schaller
    Nov 25 at 15:27
















  • Looked into it further. I don't have the answer.
    – Michael Prokopec
    Nov 23 at 19:01










  • You have Jessie packages rather than Stretch packages. What’s the output of apt-cache policy?
    – Stephen Kitt
    Nov 23 at 19:09










  • I'll approve the pending update to your post, but you should register & use the initial account that you created to post this question.
    – Jeff Schaller
    Nov 25 at 15:27















Looked into it further. I don't have the answer.
– Michael Prokopec
Nov 23 at 19:01




Looked into it further. I don't have the answer.
– Michael Prokopec
Nov 23 at 19:01












You have Jessie packages rather than Stretch packages. What’s the output of apt-cache policy?
– Stephen Kitt
Nov 23 at 19:09




You have Jessie packages rather than Stretch packages. What’s the output of apt-cache policy?
– Stephen Kitt
Nov 23 at 19:09












I'll approve the pending update to your post, but you should register & use the initial account that you created to post this question.
– Jeff Schaller
Nov 25 at 15:27




I'll approve the pending update to your post, but you should register & use the initial account that you created to post this question.
– Jeff Schaller
Nov 25 at 15:27










1 Answer
1






active

oldest

votes

















up vote
0
down vote













Because of apt pinning. Try:



apt install -t stable cups





share|improve this answer




















    Your Answer








    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "106"
    ;
    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',
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    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%2funix.stackexchange.com%2fquestions%2f483742%2fhow-to-install-specific-version-of-debian-linux-package-cups%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








    up vote
    0
    down vote













    Because of apt pinning. Try:



    apt install -t stable cups





    share|improve this answer
























      up vote
      0
      down vote













      Because of apt pinning. Try:



      apt install -t stable cups





      share|improve this answer






















        up vote
        0
        down vote










        up vote
        0
        down vote









        Because of apt pinning. Try:



        apt install -t stable cups





        share|improve this answer












        Because of apt pinning. Try:



        apt install -t stable cups






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Nov 23 at 19:13









        Ipor Sircer

        10.3k11024




        10.3k11024



























            draft saved

            draft discarded
















































            Thanks for contributing an answer to Unix & Linux Stack Exchange!


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





            Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


            Please pay close attention to the following guidance:


            • 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%2funix.stackexchange.com%2fquestions%2f483742%2fhow-to-install-specific-version-of-debian-linux-package-cups%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 to check contact read email or not when send email to Individual?

            Displaying single band from multi-band raster using QGIS

            How many registers does an x86_64 CPU actually have?