Hello,
On a new Ubuntu Trusty install I am seeing an error with foreman-install
-i. I have only chosen to install the libvirt plugin in the installer.
Which throws the below error and I am not able to install
ruby-foreman-setup as dpkg returns error code 1.
Curious if anyone else is seeing this as well.
Thank you.
INFO 2014-05-05 23:17:37 main] /usr/bin/puppet:4:in `<main>'
[ERROR 2014-05-05 23:17:37 main]
/Stage[main]/Foreman::Plugin::Setup/Foreman::Plugin[setup]/Package[ruby-foreman-setup]/ensure:
change from purged to present failed: Execution of '/usr/bin/apt-get -q -y
-o DPkg::Options::=–force-confold install ruby-foreman-setup' returned
100: Reading package lists…
[ INFO 2014-05-05 23:17:37 main] Building dependency tree…
[ INFO 2014-05-05 23:17:37 main] Reading state information…
[ INFO 2014-05-05 23:17:37 main] The following NEW packages will be
installed:
[ INFO 2014-05-05 23:17:37 main] ruby-foreman-setup
[ INFO 2014-05-05 23:17:37 main] 0 upgraded, 1 newly installed, 0 to remove
and 0 not upgraded.
[ INFO 2014-05-05 23:17:37 main] Need to get 2622 B of archives.
[ INFO 2014-05-05 23:17:37 main] After this operation, 35.8 kB of
additional disk space will be used.
[ INFO 2014-05-05 23:17:37 main] Get:1 http://deb.theforeman.org/
plugins/1.5 ruby-foreman-setup all 2.0.3-1 [2622 B]
[ INFO 2014-05-05 23:17:37 main] Fetched 2622 B in 0s (39.4 kB/s)
[ INFO 2014-05-05 23:17:37 main] Selecting previously unselected package
ruby-foreman-setup.
[ INFO 2014-05-05 23:17:37 main] (Reading database … 71475 files and
directories currently installed.)
[ INFO 2014-05-05 23:17:37 main] Preparing to unpack
…/ruby-foreman-setup_2.0.3-1_all.deb …
[ INFO 2014-05-05 23:17:37 main] Unpacking ruby-foreman-setup (2.0.3-1) …
[ INFO 2014-05-05 23:17:37 main] Setting up ruby-foreman-setup (2.0.3-1) …
[ INFO 2014-05-05 23:17:37 main] dpkg: error processing package
ruby-foreman-setup (–configure):
[ INFO 2014-05-05 23:17:37 main] subprocess installed post-installation
script returned error exit status 6
[ INFO 2014-05-05 23:17:37 main] Errors were encountered while processing:
[ INFO 2014-05-05 23:17:37 main] ruby-foreman-setup
[ INFO 2014-05-05 23:17:37 main] E: Sub-process /usr/bin/dpkg returned an
error code (1)
[ INFO 2014-05-05 23:17:37 main] RESOURCE Package[ruby-foreman-setup]
Could you try running:
DEBUG=1 apt-get install ruby-foreman-setup
It should then print out debug from the postinstall script.
···
On 06/05/14 04:29, Andy Gomez wrote:
> Hello,
> On a new Ubuntu Trusty install I am seeing an error with
> foreman-install -i. I have only chosen to install the libvirt plugin in
> the installer. Which throws the below error and I am not able to install
> ruby-foreman-setup as dpkg returns error code 1.
> Curious if anyone else is seeing this as well.
> Thank you.
>
> INFO 2014-05-05 23:17:37 main] /usr/bin/puppet:4:in `'
> [ERROR 2014-05-05 23:17:37 main]
> /Stage[main]/Foreman::Plugin::Setup/Foreman::Plugin[setup]/Package[ruby-foreman-setup]/ensure:
> change from purged to present failed: Execution of '/usr/bin/apt-get -q
> -y -o DPkg::Options::=--force-confold install ruby-foreman-setup'
–
Dominic Cleal
Red Hat Engineering
Hello, I got the following errors too. Any update to fix this kind of
errors.
apt-get install ruby-foreman-setup
Reading package lists… Done
Building dependency tree
Reading state information… Done
ruby-foreman-setup is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 135 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up ruby-foreman-bootdisk (2.0.6) …
dpkg: error processing package ruby-foreman-bootdisk (–configure):
subprocess installed post-installation script returned error exit status 17
Setting up ruby-foreman-setup (2.0.4) …
dpkg: error processing package ruby-foreman-setup (–configure):
subprocess installed post-installation script returned error exit status 17
Errors were encountered while processing:
ruby-foreman-bootdisk
ruby-foreman-setup
E: Sub-process /usr/bin/dpkg returned an error code (1)
···
On Tuesday, May 6, 2014 4:06:06 AM UTC-4, Dominic Cleal wrote:
>
> On 06/05/14 04:29, Andy Gomez wrote:
> > Hello,
> > On a new Ubuntu Trusty install I am seeing an error with
> > foreman-install -i. I have only chosen to install the libvirt plugin in
> > the installer. Which throws the below error and I am not able to install
> > ruby-foreman-setup as dpkg returns error code 1.
> > Curious if anyone else is seeing this as well.
> > Thank you.
> >
> > INFO 2014-05-05 23:17:37 main] /usr/bin/puppet:4:in `'
> > [ERROR 2014-05-05 23:17:37 main]
> >
> /Stage[main]/Foreman::Plugin::Setup/Foreman::Plugin[setup]/Package[ruby-foreman-setup]/ensure:
>
> > change from purged to present failed: Execution of '/usr/bin/apt-get -q
> > -y -o DPkg::Options::=--force-confold install ruby-foreman-setup'
>
> Could you try running:
>
> DEBUG=1 apt-get install ruby-foreman-setup
>
> It should then print out debug from the postinstall script.
>
> --
> Dominic Cleal
> Red Hat Engineering
>
Do you have foreman-compute installed? There appears to be an issue
where that conflicts with ruby-foreman-setup for an as-yet unkown
reason…
Greg,
I have not installed foreman-compute. Do you think it can resolve issues?
Thanks.
···
On Tuesday, May 20, 2014, Greg Sutcliffe wrote:
Do you have foreman-compute installed? There appears to be an issue
where that conflicts with ruby-foreman-setup for an as-yet unkown
reason…
–
You received this message because you are subscribed to a topic in the
Google Groups “Foreman users” group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/foreman-users/60R2glqVR-Q/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
foreman-users+unsubscribe@googlegroups.com <javascript:;>.
To post to this group, send email to foreman-users@googlegroups.com<javascript:;>
.
Visit this group at http://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.
No, I believe it's the cause of the conflict. What packages matching
"foreman" have you got installed?
···
On 20 May 2014 18:17, Bardan Mainali wrote:
> Greg,
>
> I have not installed foreman-compute. Do you think it can resolve issues?
> Thanks.
Greg,
foreman install
foreman-installer install
foreman-postgresql install
foreman-proxy install
ruby-foreman-api install
ruby-foreman-bootdisk install
ruby-foreman-setup install
Thanks.
···
On Tue, May 20, 2014 at 3:05 PM, Greg Sutcliffe wrote:
On 20 May 2014 18:17, Bardan Mainali mainalibardan1@gmail.com wrote:
Greg,
I have not installed foreman-compute. Do you think it can resolve issues?
Thanks.
No, I believe it’s the cause of the conflict. What packages matching
"foreman" have you got installed?
–
You received this message because you are subscribed to a topic in the
Google Groups “Foreman users” group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/foreman-users/60R2glqVR-Q/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at http://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.