Julien Cornuwel
2013-Jan-18 15:12 UTC
[Puppet Users] Puppet Dashboard upgrade from 1.2.17 to 1.2.20 failed on Debian
Hi,
My Puppet Dashboard is running on Debian stable, installed from puppetlabs
repositories.
The last upgrade completely broke down. See below for the output:
# aptitude safe-upgrade
The following packages will be upgraded:
libactionmailer-ruby1.8 libactionpack-ruby1.8 libactiverecord-ruby1.8
libactiveresource-ruby1.8 libactivesupport-ruby1.8 puppet-dashboard rails
rails-ruby1.8
8 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 6,393 kB of archives. After unpacking 115 kB will be freed.
Do you want to continue? [Y/n/?]
Get:1 http://security.debian.org/ squeeze/updates/main rails-ruby1.8 all
2.3.5-1.2+squeeze5 [223 kB]
Get:2 http://security.debian.org/ squeeze/updates/main
libactiverecord-ruby1.8 all 2.3.5-1.2+squeeze5 [265 kB]
Get:3 http://security.debian.org/ squeeze/updates/main
libactivesupport-ruby1.8 all 2.3.5-1.2+squeeze5 [256 kB]
Get:4 http://security.debian.org/ squeeze/updates/main
libactionmailer-ruby1.8 all 2.3.5-1.2+squeeze5 [32.1 kB]
Get:5 http://security.debian.org/ squeeze/updates/main
libactionpack-ruby1.8 all 2.3.5-1.2+squeeze5 [321 kB]
Get:6 http://security.debian.org/ squeeze/updates/main
libactiveresource-ruby1.8 all 2.3.5-1.2+squeeze5 [37.2 kB]
Get:7 http://security.debian.org/ squeeze/updates/main rails all
2.3.5-1.2+squeeze5 [12.3 kB]
Get:8 http://apt.puppetlabs.com/ squeeze/main puppet-dashboard all
1.2.20-1puppetlabs1 [5,246 kB]
Fetched 6,393 kB in 11s (564 kB/s)
Reading changelogs... Done
(Reading database ... 52761 files and directories currently installed.)
Preparing to replace puppet-dashboard 1.2.17-1puppetlabs1 (using
.../puppet-dashboard_1.2.20-1puppetlabs1_all.deb) ...
Stopping Puppet Dashboard Workers:E: Sub-process /usr/bin/dpkg exited
unexpectedly
A package failed to install. Trying to recover:
dpkg: error processing puppet-dashboard (--configure):
Package is in a very bad inconsistent state - you should
reinstall it before attempting configuration.
Errors were encountered while processing:
puppet-dashboard
# apt-get install puppet-dashboard --reinstall
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
puppet-dashboard
1 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.
1 not fully installed or removed.
Need to get 0 B/5,246 kB of archives.
After this operation, 115 kB disk space will be freed.
Reading changelogs... Done
Selecting previously deselected package puppet-dashboard.
(Reading database ... 52761 files and directories currently installed.)
Preparing to replace puppet-dashboard 1.2.17-1puppetlabs1 (using
.../puppet-dashboard_1.2.20-1puppetlabs1_all.deb) ...
Stopping Puppet Dashboard Workers:E: Sub-process /usr/bin/dpkg exited
unexpectedly
# apt-get remove puppet-dashboard
E: dpkg was interrupted, you must manually run ''dpkg --configure
-a'' to
correct the problem.
# dpkg --configure -a
dpkg: error processing puppet-dashboard (--configure):
Package is in a very bad inconsistent state - you should
reinstall it before attempting configuration.
Errors were encountered while processing:
puppet-dashboard
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/puppet-users/-/giSi5xXYhngJ.
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.
Moses Mendoza
2013-Jan-20 00:00 UTC
Re: [Puppet Users] Puppet Dashboard upgrade from 1.2.17 to 1.2.20 failed on Debian
On Friday, January 18, 2013, Julien Cornuwel wrote:> Hi, > > My Puppet Dashboard is running on Debian stable, installed from puppetlabs > repositories. > The last upgrade completely broke down. See below for the output: > > # aptitude safe-upgrade > The following packages will be upgraded: > libactionmailer-ruby1.8 libactionpack-ruby1.8 libactiverecord-ruby1.8 > libactiveresource-ruby1.8 libactivesupport-ruby1.8 puppet-dashboard rails > rails-ruby1.8 > 8 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded. > Need to get 6,393 kB of archives. After unpacking 115 kB will be freed. > Do you want to continue? [Y/n/?] > Get:1 http://security.debian.org/ squeeze/updates/main rails-ruby1.8 all > 2.3.5-1.2+squeeze5 [223 kB] > Get:2 http://security.debian.org/ squeeze/updates/main > libactiverecord-ruby1.8 all 2.3.5-1.2+squeeze5 [265 kB] > Get:3 http://security.debian.org/ squeeze/updates/main > libactivesupport-ruby1.8 all 2.3.5-1.2+squeeze5 [256 kB] > Get:4 http://security.debian.org/ squeeze/updates/main > libactionmailer-ruby1.8 all 2.3.5-1.2+squeeze5 [32.1 kB] > Get:5 http://security.debian.org/ squeeze/updates/main > libactionpack-ruby1.8 all 2.3.5-1.2+squeeze5 [321 kB] > Get:6 http://security.debian.org/ squeeze/updates/main > libactiveresource-ruby1.8 all 2.3.5-1.2+squeeze5 [37.2 kB] > Get:7 http://security.debian.org/ squeeze/updates/main rails all > 2.3.5-1.2+squeeze5 [12.3 kB] > Get:8 http://apt.puppetlabs.com/ squeeze/main puppet-dashboard all > 1.2.20-1puppetlabs1 [5,246 kB] > > Fetched 6,393 kB in 11s (564 kB/s) > > > Reading changelogs... Done > (Reading database ... 52761 files and directories currently installed.) > Preparing to replace puppet-dashboard 1.2.17-1puppetlabs1 (using > .../puppet-dashboard_1.2.20-1puppetlabs1_all.deb) ... > Stopping Puppet Dashboard Workers:E: Sub-process /usr/bin/dpkg exited > unexpectedly > A package failed to install. Trying to recover: > dpkg: error processing puppet-dashboard (--configure): > Package is in a very bad inconsistent state - you should > reinstall it before attempting configuration. > Errors were encountered while processing: > puppet-dashboard > > # apt-get install puppet-dashboard --reinstall > Reading package lists... Done > Building dependency tree > Reading state information... Done > The following packages will be upgraded: > puppet-dashboard > 1 upgraded, 0 newly installed, 0 to remove and 7 not upgraded. > 1 not fully installed or removed. > Need to get 0 B/5,246 kB of archives. > After this operation, 115 kB disk space will be freed. > Reading changelogs... Done > Selecting previously deselected package puppet-dashboard. > (Reading database ... 52761 files and directories currently installed.) > Preparing to replace puppet-dashboard 1.2.17-1puppetlabs1 (using > .../puppet-dashboard_1.2.20-1puppetlabs1_all.deb) ... > Stopping Puppet Dashboard Workers:E: Sub-process /usr/bin/dpkg exited > unexpectedly >It appears the dashboard workers may have fails to stop during the package upgrade. Could you try stopping the dashboard workers and then retry package upgrade? This should not normally be necessary, the upgrade handling in the package should have taken care of this, so we''ll take a look at why this may have failed.> > # apt-get remove puppet-dashboard > E: dpkg was interrupted, you must manually run ''dpkg --configure -a'' to > correct the problem. > > # dpkg --configure -a > dpkg: error processing puppet-dashboard (--configure): > Package is in a very bad inconsistent state - you should > reinstall it before attempting configuration. > Errors were encountered while processing: > puppet-dashboard > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/puppet-users/-/giSi5xXYhngJ. > To post to this group, send email to puppet-users@googlegroups.com<javascript:_e({}, ''cvml'', ''puppet-users@googlegroups.com'');> > . > To unsubscribe from this group, send email to > puppet-users+unsubscribe@googlegroups.com <javascript:_e({}, ''cvml'', > ''puppet-users%2Bunsubscribe@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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.