Dear ALL, I tried to install mysql server in client machine from puppet server . I am getting the following error There are problems and -y was used without --force-yes . \ how to say the puppet master to install forcefully . FYI , Client O/P is , err: /Stage[main]/Mysql-server/Package[mysql-server]/ensure: change from purged to latest failed: Could not update: Execution of ''/usr/bin/ apt-get -q -y -o DPkg::Options::=--force-confold install mysql-server'' returned 100: Reading package lists... Building dependency tree... Reading state information... The following packages were automatically installed and are no longer required: anthy-common tk8.4 Use ''apt-get autoremove'' to remove them. The following extra packages will be installed: libdbd-mysql-perl libdbi-perl libhtml-template-perl libmysqlclient16 libnet-daemon-perl libplrpc-perl mysql-client-5.1 mysql-common mysql-server-5.1 mysql-server-core-5.1 Suggested packages: libipc-sharedcache-perl libterm-readkey-perl tinyca The following NEW packages will be installed: libdbd-mysql-perl libdbi-perl libhtml-template-perl libmysqlclient16 libnet-daemon-perl libplrpc-perl mysql-client-5.1 mysql-common mysql- server mysql-server-5.1 mysql-server-core-5.1 0 upgraded, 11 newly installed, 0 to remove and 72 not upgraded. Need to get 23.3 MB of archives. After this operation, 55.0 MB of additional disk space will be used. WARNING: The following packages cannot be authenticated! mysql-common libnet-daemon-perl libplrpc-perl libdbi-perl libmysqlclient16 libdbd-mysql-perl mysql-client-5.1 mysql-server-core-5.1 mysql- server-5.1 libhtml-template-perl mysql-server E: There are problems and -y was used without --force-yes Please share u r suggestions Thanks & Regards Chebrian -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
On 04/05/2011 01:28 PM, CHEBRIAN wrote:> Dear ALL, > > I tried to install mysql server in client machine from puppet > server . > > I am getting the following error > > There are problems and -y was used without --force-yes . \ > > how to say the puppet master to install forcefully .Hi, usually you don''t! Instead, make sure the offending repository''s pubkey is known to apt. You probably want to have an "exec" resource for "apt-key add" with the appropriate key (which you will provide with puppet as well). HTH, Felix -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
On Apr 5, 2011, at 4:28 AM, CHEBRIAN wrote:> Dear ALL, > > I tried to install mysql server in client machine from puppet > server . > > I am getting the following error > > There are problems and -y was used without --force-yes . \ > > how to say the puppet master to install forcefully . > > FYI , Client O/P is , > > WARNING: The following packages cannot be authenticated! > mysql-common libnet-daemon-perl libplrpc-perl libdbi-perl > libmysqlclient16 > libdbd-mysql-perl mysql-client-5.1 mysql-server-core-5.1 mysql- > server-5.1 > libhtml-template-perl mysql-serverThis means that: 1) The packages that were sent to the client were corrupted. or 2) You don''t have the GPG key installed on the client you need to verify the packages. If you run "apt-get upgrade" manually, it should be easier to tell which is the problem, To fix "1": If you get this more than once, you probably have a proxy that''s cached a corrupt version. If this is the case, other machines wouldn''t be able to install it either if they use the same proxy. To fix "2": Find the key for the repository and add it to apt''s keychain, like the other poster mentioned. -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.