ncbi-blast: not found

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











up vote
0
down vote

favorite












I got ncbi-blast: not found despite it should be there (https://packages.debian.org/jessie/amd64/ncbi-blast+/download)



FROM debian:jessie
# based on https://github.com/docker-library/php/blob/master/5.6/jessie/apache/Dockerfile

RUN apt-get update && apt-get install -y --no-install-recommends
libapache2-mod-perl2
libcgi-pm-perl
php5-cgi
php5-mysql
libapache2-mod-php5
php5-mysql
php5-gd &&
ncbi-blast+ &&
rm -rf /var/lib/apt/lists/*


What did I miss?







share|improve this question

















  • 3




    Remove the && from php5-gd && ncbi-blast+
    – Mark Plotnick
    Jun 25 at 23:04














up vote
0
down vote

favorite












I got ncbi-blast: not found despite it should be there (https://packages.debian.org/jessie/amd64/ncbi-blast+/download)



FROM debian:jessie
# based on https://github.com/docker-library/php/blob/master/5.6/jessie/apache/Dockerfile

RUN apt-get update && apt-get install -y --no-install-recommends
libapache2-mod-perl2
libcgi-pm-perl
php5-cgi
php5-mysql
libapache2-mod-php5
php5-mysql
php5-gd &&
ncbi-blast+ &&
rm -rf /var/lib/apt/lists/*


What did I miss?







share|improve this question

















  • 3




    Remove the && from php5-gd && ncbi-blast+
    – Mark Plotnick
    Jun 25 at 23:04












up vote
0
down vote

favorite









up vote
0
down vote

favorite











I got ncbi-blast: not found despite it should be there (https://packages.debian.org/jessie/amd64/ncbi-blast+/download)



FROM debian:jessie
# based on https://github.com/docker-library/php/blob/master/5.6/jessie/apache/Dockerfile

RUN apt-get update && apt-get install -y --no-install-recommends
libapache2-mod-perl2
libcgi-pm-perl
php5-cgi
php5-mysql
libapache2-mod-php5
php5-mysql
php5-gd &&
ncbi-blast+ &&
rm -rf /var/lib/apt/lists/*


What did I miss?







share|improve this question













I got ncbi-blast: not found despite it should be there (https://packages.debian.org/jessie/amd64/ncbi-blast+/download)



FROM debian:jessie
# based on https://github.com/docker-library/php/blob/master/5.6/jessie/apache/Dockerfile

RUN apt-get update && apt-get install -y --no-install-recommends
libapache2-mod-perl2
libcgi-pm-perl
php5-cgi
php5-mysql
libapache2-mod-php5
php5-mysql
php5-gd &&
ncbi-blast+ &&
rm -rf /var/lib/apt/lists/*


What did I miss?









share|improve this question












share|improve this question




share|improve this question








edited Jun 26 at 0:17









Jeff Schaller

30.8k846104




30.8k846104









asked Jun 25 at 23:02









user3523406

477




477







  • 3




    Remove the && from php5-gd && ncbi-blast+
    – Mark Plotnick
    Jun 25 at 23:04












  • 3




    Remove the && from php5-gd && ncbi-blast+
    – Mark Plotnick
    Jun 25 at 23:04







3




3




Remove the && from php5-gd && ncbi-blast+
– Mark Plotnick
Jun 25 at 23:04




Remove the && from php5-gd && ncbi-blast+
– Mark Plotnick
Jun 25 at 23:04










1 Answer
1






active

oldest

votes

















up vote
3
down vote



accepted










As Mark Plotnick commented, it appears you rearranged the lines at some point, adding the line for ncbi-blast+ after pgp5-gd, but you forgot to remove the && at the end of php5-gd so that the next continuation line lists another package instead of ending the previous command. The command as you had it would have requested installation of the packages up until php5-gd, after which it would have tried to execute ncbi-blast+, which presumably wasn't already installed, and so would have thrown an error, after which it would not have run the rm command. Use the following, instead:



RUN apt-get update && apt-get install -y --no-install-recommends 
libapache2-mod-perl2
libcgi-pm-perl
php5-cgi
php5-mysql
libapache2-mod-php5
php5-mysql
php5-gd
ncbi-blast+ &&
rm -rf /var/lib/apt/lists/*





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: false,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    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%2f451877%2fncbi-blast-not-found%23new-answer', 'question_page');

    );

    Post as a guest






























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    3
    down vote



    accepted










    As Mark Plotnick commented, it appears you rearranged the lines at some point, adding the line for ncbi-blast+ after pgp5-gd, but you forgot to remove the && at the end of php5-gd so that the next continuation line lists another package instead of ending the previous command. The command as you had it would have requested installation of the packages up until php5-gd, after which it would have tried to execute ncbi-blast+, which presumably wasn't already installed, and so would have thrown an error, after which it would not have run the rm command. Use the following, instead:



    RUN apt-get update && apt-get install -y --no-install-recommends 
    libapache2-mod-perl2
    libcgi-pm-perl
    php5-cgi
    php5-mysql
    libapache2-mod-php5
    php5-mysql
    php5-gd
    ncbi-blast+ &&
    rm -rf /var/lib/apt/lists/*





    share|improve this answer

























      up vote
      3
      down vote



      accepted










      As Mark Plotnick commented, it appears you rearranged the lines at some point, adding the line for ncbi-blast+ after pgp5-gd, but you forgot to remove the && at the end of php5-gd so that the next continuation line lists another package instead of ending the previous command. The command as you had it would have requested installation of the packages up until php5-gd, after which it would have tried to execute ncbi-blast+, which presumably wasn't already installed, and so would have thrown an error, after which it would not have run the rm command. Use the following, instead:



      RUN apt-get update && apt-get install -y --no-install-recommends 
      libapache2-mod-perl2
      libcgi-pm-perl
      php5-cgi
      php5-mysql
      libapache2-mod-php5
      php5-mysql
      php5-gd
      ncbi-blast+ &&
      rm -rf /var/lib/apt/lists/*





      share|improve this answer























        up vote
        3
        down vote



        accepted







        up vote
        3
        down vote



        accepted






        As Mark Plotnick commented, it appears you rearranged the lines at some point, adding the line for ncbi-blast+ after pgp5-gd, but you forgot to remove the && at the end of php5-gd so that the next continuation line lists another package instead of ending the previous command. The command as you had it would have requested installation of the packages up until php5-gd, after which it would have tried to execute ncbi-blast+, which presumably wasn't already installed, and so would have thrown an error, after which it would not have run the rm command. Use the following, instead:



        RUN apt-get update && apt-get install -y --no-install-recommends 
        libapache2-mod-perl2
        libcgi-pm-perl
        php5-cgi
        php5-mysql
        libapache2-mod-php5
        php5-mysql
        php5-gd
        ncbi-blast+ &&
        rm -rf /var/lib/apt/lists/*





        share|improve this answer













        As Mark Plotnick commented, it appears you rearranged the lines at some point, adding the line for ncbi-blast+ after pgp5-gd, but you forgot to remove the && at the end of php5-gd so that the next continuation line lists another package instead of ending the previous command. The command as you had it would have requested installation of the packages up until php5-gd, after which it would have tried to execute ncbi-blast+, which presumably wasn't already installed, and so would have thrown an error, after which it would not have run the rm command. Use the following, instead:



        RUN apt-get update && apt-get install -y --no-install-recommends 
        libapache2-mod-perl2
        libcgi-pm-perl
        php5-cgi
        php5-mysql
        libapache2-mod-php5
        php5-mysql
        php5-gd
        ncbi-blast+ &&
        rm -rf /var/lib/apt/lists/*






        share|improve this answer













        share|improve this answer



        share|improve this answer











        answered Jun 26 at 0:16









        Jeff Schaller

        30.8k846104




        30.8k846104






















             

            draft saved


            draft discarded


























             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f451877%2fncbi-blast-not-found%23new-answer', 'question_page');

            );

            Post as a guest













































































            Popular posts from this blog

            How to check contact read email or not when send email to Individual?

            Bahrain

            Postfix configuration issue with fips on centos 7; mailgun relay