If 'apt-get update' gives you the warning like "can't find gpg..." or so - you couldn't install any packages. Try to sign the repo with gpg-key and import the key with 'apt-key add'.

Also you can use Canonical partner repository to install sun-java6-jdk.

Regards.

17.09.2011 18:33, KarthiKeyan. Kesavan пишет:
Hi ,

Yes, i am trying to install the packages from my local repo .

Regards

Chebrian

On Sat, Sep 17, 2011 at 9:01 PM, Sergey Zhuga <sergey.zh...@gmail.com
<mailto:sergey.zh...@gmail.com>> wrote:

    Do you use unsigned repositories?

    17.09.2011 18:07, KarthiKeyan. Kesavan пишет:

        Hi,

        Not only for jdk i am getting for all the package installation .

        _Error status _

        E: There are problems and -y was used without --force-yes

        Regards

        Chebrian

        On Sat, Sep 17, 2011 at 8:23 PM, Sergey Zhuga
        <sergey.zh...@gmail.com <mailto:sergey.zh...@gmail.com>
        <mailto:sergey.zh...@gmail.com
        <mailto:sergey.zh...@gmail.com>__>> wrote:

            You should create debconf seeds file before you will install the
            sun-jdk package, like this:
        
http://blogs.cae.tntech.edu/____mwr/2008/02/05/stupid-puppet-____trick-agreeing-to-the-sun-____java-license-with-debconf-____preseeds-and-puppet/
        
<http://blogs.cae.tntech.edu/__mwr/2008/02/05/stupid-puppet-__trick-agreeing-to-the-sun-__java-license-with-debconf-__preseeds-and-puppet/>
        
<http://blogs.cae.tntech.edu/__mwr/2008/02/05/stupid-puppet-__trick-agreeing-to-the-sun-__java-license-with-debconf-__preseeds-and-puppet/
        
<http://blogs.cae.tntech.edu/mwr/2008/02/05/stupid-puppet-trick-agreeing-to-the-sun-java-license-with-debconf-preseeds-and-puppet/>>

            Regards.

            17.09.2011 17:39, CHEBRIAN пишет:

                Hi ,

                I am trying to install jdk thru puppet . i am getting
        the force-yes
                error .

                err:
        /Stage[main]/Apiserver::Java/____Package[sun-java6-jdk]/__ensure:
                change from purged to present failed: Execution of
        '/usr/bin/apt-get -
                q -y -o DPkg::Options::=--force-____confold install
        sun-java6-jdk'
                returned 100: Reading package lists...

                Please share your idea's to fix this issue,


            --
            You received this message because you are subscribed to the
        Google
            Groups "Puppet Users" group.
            To post to this group, send email to
        puppet-users@googlegroups.com <mailto:puppet-users@googlegroups.com>
        <mailto:puppet-users@__googlegroups.com
        <mailto:puppet-users@googlegroups.com>>.

            To unsubscribe from this group, send email to
            puppet-users+unsubscribe@__goo__glegroups.com
        <http://googlegroups.com>
        <mailto:puppet-users%__2bunsubscr...@googlegroups.com
        <mailto:puppet-users%252bunsubscr...@googlegroups.com>__>.

            For more options, visit this group at
        http://groups.google.com/____group/puppet-users?hl=en
        <http://groups.google.com/__group/puppet-users?hl=en>
        <http://groups.google.com/__group/puppet-users?hl=en
        <http://groups.google.com/group/puppet-users?hl=en>>.


        --

        You received this message because you are subscribed to the Google
        Groups "Puppet Users" group.
        To post to this group, send email to
        puppet-users@googlegroups.com
        <mailto:puppet-users@googlegroups.com>.
        To unsubscribe from this group, send email to
        puppet-users+unsubscribe@__googlegroups.com
        <mailto:puppet-users%2bunsubscr...@googlegroups.com>.
        For more options, visit this group at
        http://groups.google.com/__group/puppet-users?hl=en
        <http://groups.google.com/group/puppet-users?hl=en>.


    --
    You received this message because you are subscribed to the Google
    Groups "Puppet Users" group.
    To post to this group, send email to puppet-users@googlegroups.com
    <mailto:puppet-users@googlegroups.com>.
    To unsubscribe from this group, send email to
    puppet-users+unsubscribe@__googlegroups.com
    <mailto:puppet-users%2bunsubscr...@googlegroups.com>.
    For more options, visit this group at
    http://groups.google.com/__group/puppet-users?hl=en
    <http://groups.google.com/group/puppet-users?hl=en>.


--
You received this message because you are subscribed to the Google
Groups "Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.

--
You received this message because you are subscribed to the Google Groups "Puppet 
Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to