Issue #19458 has been reported by Amos Shapira.
----------------------------------------
Bug #19458: apt package provider checkforcdrom fails
https://projects.puppetlabs.com/issues/19458
Author: Amos Shapira
Status: Unreviewed
Priority: Normal
Assignee:
Category:
Target version:
Affected Puppet version: 2.7.20
Keywords:
Branch:
I have lines like the following in my /etc/apt/sources.list (on a fresh Ubuntu
12.04.1 LTS install):
# deb cdrom:[Ubuntu 12.04.2 LTS _Precise Pangolin_ - Release amd64
(20130214)]/ dists/precise/main/binary-i386/
# deb cdrom:[Ubuntu 12.04.2 LTS _Precise Pangolin_ - Release amd64
(20130214)]/ dists/precise/restricted/binary-i386/
# deb cdrom:[Ubuntu 12.04.2 LTS _Precise Pangolin_ - Release amd64
(20130214)]/ precise main restricted
#deb cdrom:[Ubuntu 12.04.2 LTS _Precise Pangolin_ - Release amd64
(20130214)]/ dists/precise/main/binary-i386/
#deb cdrom:[Ubuntu 12.04.2 LTS _Precise Pangolin_ - Release amd64
(20130214)]/ dists/precise/restricted/binary-i386/
#deb cdrom:[Ubuntu 12.04.2 LTS _Precise Pangolin_ - Release amd64
(20130214)]/ precise main restricted
But puppet refuses to install packages, failing with:
err: /Stage[main]/Daemontools::Install/Package[daemontools-run]/ensure:
change from purged to present failed: /etc/apt/sources.list contains a cdrom
source; not installing. Use 'allowcdrom' to override this failure.
This is with puppet 2.7.20 installed from Gem, ruby 1.8.7 (Ubuntu default)
I'm aware of "allowcdrom" and will try this as a work-around, but this seems
like a wrong behaviour.
--
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.