Issue #16086 has been updated by Matthaus Litteken.

Status changed from Investigating to Accepted
Assignee changed from Matthaus Litteken to Will Hopper

Looks like the problem is in the puppetmaster.postinst. The rm_conffile call is 
missing the version parameter.
----------------------------------------
Bug #16086: puppetmaster 2.7.19-1puppetlabs1 debian package produces dpkg error 
when installing on precise
https://projects.puppetlabs.com/issues/16086#change-69725

Author: Rene Cunningham
Status: Accepted
Priority: Normal
Assignee: Will Hopper
Category: Debian
Target version: 
Affected Puppet version: 2.7.19
Keywords: 
Branch: 


Howdy,

I get a dpkg warning and error when installing puppetmaster from 
apt.puppetlabs.com. All packages are still marked as ii when installed though. 
Artefacts below.

    
    $ lsb_release -a
    No LSB modules are available.
    Distributor ID:     Ubuntu
    Description:        Ubuntu 12.04 LTS
    Release:    12.04
    Codename:   precise
    $ sudo apt-get install puppetmaster-common
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    The following extra packages will be installed:
    puppet puppet-common puppetmaster
    Suggested packages:
    puppet-el libselinux-ruby1.8 librrd-ruby1.8 stompserver libstomp-ruby1.8
    libldap-ruby1.8
    The following packages will be upgraded:
    puppet puppet-common puppetmaster puppetmaster-common
    4 upgraded, 0 newly installed, 0 to remove and 94 not upgraded.
    Need to get 1,802 kB of archives.
    After this operation, 28.7 kB of additional disk space will be used.
    Do you want to continue [Y/n]? y
    Get:1 http://apt.puppetlabs.com/ precise/main puppetmaster-common all 
2.7.19-1puppetlabs1 [266 kB]
    Get:2 http://apt.puppetlabs.com/ precise/main puppet all 
2.7.19-1puppetlabs1 [270 kB]
    Get:3 http://apt.puppetlabs.com/ precise/main puppet-common all 
2.7.19-1puppetlabs1 [1,001 kB]
    Get:4 http://apt.puppetlabs.com/ precise/main puppetmaster all 
2.7.19-1puppetlabs1 [264 kB]
    Fetched 1,802 kB in 7s (238 kB/s)                                           
     
    (Reading database ... 75958 files and directories currently installed.)
    Preparing to replace puppetmaster-common 2.7.18-1puppetlabs1 (using 
.../puppetmaster-common_2.7.19-1puppetlabs1_all.deb) ...
    * Stopping puppet queue                                                   [ 
OK ] 
    Unpacking replacement puppetmaster-common ...
    Preparing to replace puppet 2.7.18-1puppetlabs1 (using 
.../puppet_2.7.19-1puppetlabs1_all.deb) ...
    * Stopping puppet agent                                                   [ 
OK ] 
    Unpacking replacement puppet ...
    Preparing to replace puppet-common 2.7.18-1puppetlabs1 (using 
.../puppet-common_2.7.19-1puppetlabs1_all.deb) ...
    Unpacking replacement puppet-common ...
    Preparing to replace puppetmaster 2.7.18-1puppetlabs1 (using 
.../puppetmaster_2.7.19-1puppetlabs1_all.deb) ...
    * Stopping puppet master                                                  [ 
OK ] 
    dpkg: warning: version 'puppetmaster' has bad syntax: version number does 
not start with digit
    Unpacking replacement puppetmaster ...
    Processing triggers for man-db ...
    Processing triggers for ureadahead ...
    Setting up puppet-common (2.7.19-1puppetlabs1) ...
    Setting up puppetmaster-common (2.7.19-1puppetlabs1) ...
    * Starting puppet queue                                                   [ 
OK ] 
    Setting up puppet (2.7.19-1puppetlabs1) ...
    * Starting puppet agent                                                   [ 
OK ] 
    Setting up puppetmaster (2.7.19-1puppetlabs1) ...
    dpkg: warning: version 'puppetmaster' has bad syntax: version number does 
not start with digit
    * Starting puppet master                                                  
[fail] 
    invoke-rc.d: initscript puppetmaster, action "start" failed.
    dpkg: error processing puppetmaster (--configure):
    subprocess installed post-installation script returned error exit status 1
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    $ sudo /etc/init.d/puppetmaster stop
    * Stopping puppet master                                                  [ 
OK ] 
    $ sudo /etc/init.d/puppetmaster start
    * Starting puppet master                                                  [ 
OK ]


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to