Bug #1709
closed
Debian Ubuntu installation of packages gives dependency-error
Added by S. T. over 12 years ago.
Updated about 12 years ago.
Description
dpkg: error processing foreman (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of foreman-mysql:
foreman-mysql depends on foreman; however:
Package foreman is not configured yet.
dpkg: error processing foreman-mysql (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
Errors were encountered while processing:
foreman
foreman-mysql
E: Sub-process /usr/bin/dpkg returned an error code (1)
Can you please provide your installation procedure ?
Meaning: versions of packages and order in which you're trying to install them.
I've encountered same issue when installing foreman 0.42 or 1.0rc1 on Debian 6.0.
As a workaround packages needs to be installed in following order:
- apt-get install puppet puppetmaster git-core
- apt-get install foreman-mysql
- apt-get install -t squeeze-backports puppet puppetmaster
Deniss Dos wrote:
Can you please provide your installation procedure ?
Meaning: versions of packages and order in which you're trying to install them.
I've encountered same issue when installing foreman 0.42 or 1.0rc1 on Debian 6.0.
As a workaround packages needs to be installed in following order:
- apt-get install puppet puppetmaster git-core
- apt-get install foreman-mysql
- apt-get install -t squeeze-backports puppet puppetmaster
Hi Deniss,
I simply followed your instruktions "Debian-Ubuntu installation by packages" on http://theforeman.org/projects/foreman/wiki/Debian-Ubuntu_installation_by_packages .
I`ve tryed to install it on Ubuntu 12.04 LTS and then appeared the dependencies errors.
Trying out your workaround above ends with dependency errors again at the end of foreman-mysql installation:
Errors were encountered while processing:
foreman
foreman-mysql
I`ve taken the stable packages repository (deb http://deb.theforeman.org/ stable main)
Try installing from testing.
Today I've re-installed newer puppet + puppetmaster (2.7+) and then foreman-mysql and dependecy error is gone.
Deniss Dos wrote:
Try installing from testing.
Today I've re-installed newer puppet + puppetmaster (2.7+) and then foreman-mysql and dependecy error is gone.
Yea, now the installation works well, thank you!
- Status changed from New to Closed
Glad you got it fixed :)
Closing
Also available in: Atom
PDF