On Thu, Jul 26, 2018 at 1:09 PM Peter Berghold <[email protected]> wrote:
>
> Josh,
>
> I wiped the entire trees meaning /opt/puppetlabs and /etc/puppetlabs 
> recursive.
>

Ah, k... FWIW, I'm able to install puppetserver and puppet-agent on 16.04:

# wget http://apt.puppet.com/puppetlabs-release-pc1-xenial.deb
# dpkg -i puppetlabs-release-pc1-xenial.deb
# apt-get update
...
# apt-get install puppetserver
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  ca-certificates-java fontconfig-config fonts-dejavu-core java-common
libavahi-client3
  libavahi-common-data libavahi-common3 libcups2 libfontconfig1
libjpeg-turbo8 libjpeg8
  liblcms2-2 libnspr4 libnss3 libnss3-nssdb libpcsclite1 libxi6
libxrender1 libxtst6
  openjdk-8-jre-headless puppet-agent x11-common
Suggested packages:
  default-jre cups-common liblcms2-utils pcscd libnss-mdns fonts-dejavu-extra
  fonts-ipafont-gothic fonts-ipafont-mincho fonts-wqy-microhei fonts-wqy-zenhei
  fonts-indic
The following NEW packages will be installed:
  ca-certificates-java fontconfig-config fonts-dejavu-core java-common
libavahi-client3
  libavahi-common-data libavahi-common3 libcups2 libfontconfig1
libjpeg-turbo8 libjpeg8
  liblcms2-2 libnspr4 libnss3 libnss3-nssdb libpcsclite1 libxi6
libxrender1 libxtst6
  openjdk-8-jre-headless puppet-agent puppetserver x11-common
0 upgraded, 23 newly installed, 0 to remove and 150 not upgraded.
Need to get 80.8 MB of archives.
After this operation, 247 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
<snip>
Fetched 80.8 MB in 4s (16.8 MB/s)
Selecting previously unselected package libjpeg-turbo8:amd64.
(Reading database ... 63622 files and directories currently installed.)
Preparing to unpack .../libjpeg-turbo8_1.4.2-0ubuntu3.1_amd64.deb ...
Unpacking libjpeg-turbo8:amd64 (1.4.2-0ubuntu3.1) ...
Selecting previously unselected package liblcms2-2:amd64.
Preparing to unpack .../liblcms2-2_2.6-3ubuntu2_amd64.deb ...
Unpacking liblcms2-2:amd64 (2.6-3ubuntu2) ...
Selecting previously unselected package x11-common.
Preparing to unpack .../x11-common_1%3a7.7+13ubuntu3_all.deb ...
Unpacking x11-common (1:7.7+13ubuntu3) ...
Selecting previously unselected package libxtst6:amd64.
Preparing to unpack .../libxtst6_2%3a1.2.2-1_amd64.deb ...
Unpacking libxtst6:amd64 (2:1.2.2-1) ...
Selecting previously unselected package java-common.
Preparing to unpack .../java-common_0.56ubuntu2_all.deb ...
Unpacking java-common (0.56ubuntu2) ...
Selecting previously unselected package libavahi-common-data:amd64.
Preparing to unpack
.../libavahi-common-data_0.6.32~rc+dfsg-1ubuntu2.2_amd64.deb ...
Unpacking libavahi-common-data:amd64 (0.6.32~rc+dfsg-1ubuntu2.2) ...
Selecting previously unselected package libavahi-common3:amd64.
Preparing to unpack .../libavahi-common3_0.6.32~rc+dfsg-1ubuntu2.2_amd64.deb ...
Unpacking libavahi-common3:amd64 (0.6.32~rc+dfsg-1ubuntu2.2) ...
Selecting previously unselected package libavahi-client3:amd64.
Preparing to unpack .../libavahi-client3_0.6.32~rc+dfsg-1ubuntu2.2_amd64.deb ...
Unpacking libavahi-client3:amd64 (0.6.32~rc+dfsg-1ubuntu2.2) ...
Selecting previously unselected package libcups2:amd64.
Preparing to unpack .../libcups2_2.1.3-4ubuntu0.5_amd64.deb ...
Unpacking libcups2:amd64 (2.1.3-4ubuntu0.5) ...
Selecting previously unselected package libjpeg8:amd64.
Preparing to unpack .../libjpeg8_8c-2ubuntu8_amd64.deb ...
Unpacking libjpeg8:amd64 (8c-2ubuntu8) ...
Selecting previously unselected package fonts-dejavu-core.
Preparing to unpack .../fonts-dejavu-core_2.35-1_all.deb ...
Unpacking fonts-dejavu-core (2.35-1) ...
Selecting previously unselected package fontconfig-config.
Preparing to unpack .../fontconfig-config_2.11.94-0ubuntu1.1_all.deb ...
Unpacking fontconfig-config (2.11.94-0ubuntu1.1) ...
Selecting previously unselected package libfontconfig1:amd64.
Preparing to unpack .../libfontconfig1_2.11.94-0ubuntu1.1_amd64.deb ...
Unpacking libfontconfig1:amd64 (2.11.94-0ubuntu1.1) ...
Selecting previously unselected package libnspr4:amd64.
Preparing to unpack .../libnspr4_2%3a4.13.1-0ubuntu0.16.04.1_amd64.deb ...
Unpacking libnspr4:amd64 (2:4.13.1-0ubuntu0.16.04.1) ...
Selecting previously unselected package libnss3-nssdb.
Preparing to unpack .../libnss3-nssdb_2%3a3.28.4-0ubuntu0.16.04.3_all.deb ...
Unpacking libnss3-nssdb (2:3.28.4-0ubuntu0.16.04.3) ...
Selecting previously unselected package libnss3:amd64.
Preparing to unpack .../libnss3_2%3a3.28.4-0ubuntu0.16.04.3_amd64.deb ...
Unpacking libnss3:amd64 (2:3.28.4-0ubuntu0.16.04.3) ...
Selecting previously unselected package libpcsclite1:amd64.
Preparing to unpack .../libpcsclite1_1.8.14-1ubuntu1.16.04.1_amd64.deb ...
Unpacking libpcsclite1:amd64 (1.8.14-1ubuntu1.16.04.1) ...
Selecting previously unselected package libxi6:amd64.
Preparing to unpack .../libxi6_2%3a1.7.6-1_amd64.deb ...
Unpacking libxi6:amd64 (2:1.7.6-1) ...
Selecting previously unselected package libxrender1:amd64.
Preparing to unpack .../libxrender1_1%3a0.9.9-0ubuntu1_amd64.deb ...
Unpacking libxrender1:amd64 (1:0.9.9-0ubuntu1) ...
Selecting previously unselected package openjdk-8-jre-headless:amd64.
Preparing to unpack
.../openjdk-8-jre-headless_8u171-b11-0ubuntu0.16.04.1_amd64.deb ...
Unpacking openjdk-8-jre-headless:amd64 (8u171-b11-0ubuntu0.16.04.1) ...
Selecting previously unselected package ca-certificates-java.
Preparing to unpack .../ca-certificates-java_20160321ubuntu1_all.deb ...
Unpacking ca-certificates-java (20160321ubuntu1) ...
Selecting previously unselected package puppet-agent.
Preparing to unpack .../puppet-agent_1.10.14-1xenial_amd64.deb ...
Unpacking puppet-agent (1.10.14-1xenial) ...
Selecting previously unselected package puppetserver.
Preparing to unpack .../puppetserver_2.8.1-1puppetlabs1_all.deb ...
Unpacking puppetserver (2.8.1-1puppetlabs1) ...
Processing triggers for libc-bin (2.23-0ubuntu9) ...
Processing triggers for systemd (229-4ubuntu21) ...
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for ca-certificates (20170717~16.04.1) ...
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.
Setting up libjpeg-turbo8:amd64 (1.4.2-0ubuntu3.1) ...
Setting up liblcms2-2:amd64 (2.6-3ubuntu2) ...
Setting up x11-common (1:7.7+13ubuntu3) ...
update-rc.d: warning: start and stop actions are no longer supported;
falling back to defaults
Setting up libxtst6:amd64 (2:1.2.2-1) ...
Setting up java-common (0.56ubuntu2) ...
Setting up libavahi-common-data:amd64 (0.6.32~rc+dfsg-1ubuntu2.2) ...
Setting up libavahi-common3:amd64 (0.6.32~rc+dfsg-1ubuntu2.2) ...
Setting up libavahi-client3:amd64 (0.6.32~rc+dfsg-1ubuntu2.2) ...
Setting up libcups2:amd64 (2.1.3-4ubuntu0.5) ...
Setting up libjpeg8:amd64 (8c-2ubuntu8) ...
Setting up fonts-dejavu-core (2.35-1) ...
Setting up fontconfig-config (2.11.94-0ubuntu1.1) ...
Setting up libfontconfig1:amd64 (2.11.94-0ubuntu1.1) ...
Setting up libnspr4:amd64 (2:4.13.1-0ubuntu0.16.04.1) ...
Setting up libpcsclite1:amd64 (1.8.14-1ubuntu1.16.04.1) ...
Setting up libxi6:amd64 (2:1.7.6-1) ...
Setting up libxrender1:amd64 (1:0.9.9-0ubuntu1) ...
Setting up puppet-agent (1.10.14-1xenial) ...
Created symlink from
/etc/systemd/system/multi-user.target.wants/puppet.service to
/lib/systemd/system/puppet.service.
Created symlink from
/etc/systemd/system/multi-user.target.wants/mcollective.service to
/lib/systemd/system/mcollective.service.
Created symlink from
/etc/systemd/system/multi-user.target.wants/pxp-agent.service to
/lib/systemd/system/pxp-agent.service.
Removed symlink /etc/systemd/system/multi-user.target.wants/pxp-agent.service.
Setting up libnss3-nssdb (2:3.28.4-0ubuntu0.16.04.3) ...
Setting up libnss3:amd64 (2:3.28.4-0ubuntu0.16.04.3) ...
Setting up openjdk-8-jre-headless:amd64 (8u171-b11-0ubuntu0.16.04.1) ...
update-alternatives: using
/usr/lib/jvm/java-8-openjdk-amd64/jre/bin/rmid to provide
/usr/bin/rmid (rmid) in auto mode
update-alternatives: using
/usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java to provide
/usr/bin/java (java) in auto mode
update-alternatives: using
/usr/lib/jvm/java-8-openjdk-amd64/jre/bin/keytool to provide
/usr/bin/keytool (keytool) in auto mode
update-alternatives: using
/usr/lib/jvm/java-8-openjdk-amd64/jre/bin/jjs to provide /usr/bin/jjs
(jjs) in auto mode
update-alternatives: using
/usr/lib/jvm/java-8-openjdk-amd64/jre/bin/pack200 to provide
/usr/bin/pack200 (pack200) in auto mode
update-alternatives: using
/usr/lib/jvm/java-8-openjdk-amd64/jre/bin/rmiregistry to provide
/usr/bin/rmiregistry (rmiregistry) in auto mode
update-alternatives: using
/usr/lib/jvm/java-8-openjdk-amd64/jre/bin/unpack200 to provide
/usr/bin/unpack200 (unpack200) in auto mode
update-alternatives: using
/usr/lib/jvm/java-8-openjdk-amd64/jre/bin/orbd to provide
/usr/bin/orbd (orbd) in auto mode
update-alternatives: using
/usr/lib/jvm/java-8-openjdk-amd64/jre/bin/servertool to provide
/usr/bin/servertool (servertool) in auto mode
update-alternatives: using
/usr/lib/jvm/java-8-openjdk-amd64/jre/bin/tnameserv to provide
/usr/bin/tnameserv (tnameserv) in auto mode
update-alternatives: using
/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/jexec to provide
/usr/bin/jexec (jexec) in auto mode
Setting up ca-certificates-java (20160321ubuntu1) ...
Adding debian:OpenTrust_Root_CA_G3.pem
<snip>
Adding debian:GeoTrust_Global_CA_2.pem
done.
Setting up puppetserver (2.8.1-1puppetlabs1) ...
usermod: no changes
Processing triggers for libc-bin (2.23-0ubuntu9) ...
Processing triggers for systemd (229-4ubuntu21) ...
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for ca-certificates (20170717~16.04.1) ...
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...

done.
done.
# /opt/puppetlabs/puppet/bin/facter os
{
  architecture => "amd64",
  distro => {
    codename => "xenial",
    description => "Ubuntu 16.04.3 LTS",
    id => "Ubuntu",
    release => {
      full => "16.04",
      major => "16.04"
    }
  },
  family => "Debian",
  hardware => "x86_64",
  name => "Ubuntu",
  release => {
    full => "16.04",
    major => "16.04"
  },
  selinux => {
    enabled => false
  }
}

> On Wed, Jul 25, 2018, 16:17 Josh Cooper <[email protected]> wrote:
>>
>> On Wed, Jul 25, 2018 at 6:16 AM Peter Berghold <[email protected]> 
>> wrote:
>> >
>> > Once again I undertook trying to get a puppetserver in my personal 
>> > computing environment to work and during a fresh install of puppetserver 
>> > (removing agent and server first) and clearing the /opt/puppetlabs and 
>> > /etc/puppetlabs directories I see the following complaints:
>>
>> Did you delete the /opt/puppetlabs and /etc/puppetlabs directories or
>> delete their contents? If it's the latter, it may be that the
>> puppet-agent package doesn't recreate the intermediate directories,
>> e.g. /opt/puppetlabs/puppet/share, causing later steps to fail.
>>
>> >
>> > Setting up puppet-agent (1.10.14-1xenial) ...
>> > chmod: cannot access 
>> > '/opt/puppetlabs/puppet/share/vim/puppet-vimfiles/ftdetect/puppet.vim': No 
>> > such file or directory
>> > chmod: cannot access 
>> > '/opt/puppetlabs/puppet/share/vim/puppet-vimfiles/ftplugin/puppet.vim': No 
>> > such file or directory
>> > chmod: cannot access 
>> > '/opt/puppetlabs/puppet/share/vim/puppet-vimfiles/indent/puppet.vim': No 
>> > such file or directory
>> > chmod: cannot access 
>> > '/opt/puppetlabs/puppet/share/vim/puppet-vimfiles/syntax/puppet.vim': No 
>> > such file or directory
>> > chmod: cannot access 
>> > '/etc/puppetlabs/code/environments/production/environment.conf': No such 
>> > file or directory
>> > Setting up puppetserver (2.8.1-1puppetlabs1) ...
>> > usermod: no changes
>> >
>> > This is on an Ubuntu 16 server and still puppetserver complains about 
>> > stuff being missing such as the CAservice now.
>> >
>> > Anybody else run into this?
>> >
>> >
>> > --
>> > You received this message because you are subscribed to the Google Groups 
>> > "Puppet Users" group.
>> > To unsubscribe from this group and stop receiving emails from it, send an 
>> > email to [email protected].
>> > To view this discussion on the web visit 
>> > https://groups.google.com/d/msgid/puppet-users/CAArvnv2UyOurHTWArzv7DWUtjtJb85C%2BAPZb%3D2EQAYfF%2B-HScw%40mail.gmail.com.
>> > For more options, visit https://groups.google.com/d/optout.
>>
>> Josh
>>
>> --
>> Josh Cooper | Software Engineer
>> [email protected] | @coopjn
>>
>> --
>> You received this message because you are subscribed to the Google Groups 
>> "Puppet Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected].
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/puppet-users/CA%2Bu97unXLyfrqDJ4n72%2BvR6SYjja%2B9EvFzhWA%3D5MRbMv_VWPFg%40mail.gmail.com.
>> For more options, visit https://groups.google.com/d/optout.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Puppet Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/puppet-users/CAArvnv2zAT7pnhPc8WC70x-QskMAOyUqdmQtbhMZDHx8YxSxZg%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.



-- 
Josh Cooper | Software Engineer
[email protected] | @coopjn

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/CA%2Bu97ume1MJp%3DmQvsB5-apKcq5mCsfuCmpY0AzjfeYjb9AHe_g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to