Greetings Eric,

tl;dr - PEBKEC

  Thank you for the response.  Just to make sure I am not off my rocker, I
verified that I was getting this error on all my Ubuntu 20.04 instances.  I
was, so I built a clean Ubuntu 20 and started through my initialization
checklist.  After installing puppet6-release-focal.deb on a fresh VM, I too
was not getting the error.  That made me take a deeper look at the affected
machines.  In the comments in /etc/apt/sources.list.d/pc_repo.list I found
the note "# This file is managed by Puppet. DO NOT EDIT." and a bell went
off.  /etc/apt/sources.list.d/pc_repo.list was being managed by the
puppetlabs-puppet_agent module, which is why it wasn't removed when I
purged puppet6-release and re-installed it.  I'd forgotten to set
'collection', so the repo was getting stomped with the wrong collection.

Cheers,

-Chris


On Tue, Jun 23, 2020 at 5:08 AM Eric Griswold <[email protected]>
wrote:

> Hi Chris,
>
> I tried this on a fresh Ubuntu 20.04 VM and couldn't duplicate the
> problem. Would you be willing to send me a tarball of your *.list files to
> analyze?
>
> Thanks,
> Eric Griswold
> Puppet Release Engineering
>
>
> On 6/19/20 1:06 AM, Chris Knight wrote:
>
> I first encountered this problem a few days ago, and I thought I'd wait to
> see if it was repo corruption that would be fixed.  Sadly, even with a
> fresh install of the repo package I'm still getting this:
>
> root@babylonia:~# wget
> https://apt.puppetlabs.com/puppet6-release-focal.deb
> --2020-06-19 08:04:46--
> https://apt.puppetlabs.com/puppet6-release-focal.deb
> Resolving apt.puppetlabs.com (apt.puppetlabs.com)... 13.227.21.13,
> 13.227.21.8, 13.227.21.103, ...
> Connecting to apt.puppetlabs.com (apt.puppetlabs.com)|13.227.21.13|:443...
> connected.
> HTTP request sent, awaiting response... 200 OK
> Length: 11732 (11K) [application/x-debian-package]
> Saving to: ‘puppet6-release-focal.deb’
>
> puppet6-release-focal.deb
> 100%[==========================================================================================================================================================================================================================================================>]
> 11.46K  --.-KB/s    in 0s
>
> 2020-06-19 08:04:46 (121 MB/s) - ‘puppet6-release-focal.deb’ saved
> [11732/11732]
>
> root@babylonia:~# dpkg -i puppet6-release-focal.deb
> Selecting previously unselected package puppet6-release.
> (Reading database ... 104937 files and directories currently installed.)
> Preparing to unpack puppet6-release-focal.deb ...
> Unpacking puppet6-release (6.0.0-9focal) ...
> Setting up puppet6-release (6.0.0-9focal) ...
> root@babylonia:~# apt update
> Hit:1 https://apt.puppet.com focal InRelease
> Hit:2 http://apt.puppetlabs.com focal InRelease
> Hit:3 http://us.archive.ubuntu.com/ubuntu focal InRelease
> Hit:4 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease
> Hit:5 http://us.archive.ubuntu.com/ubuntu focal-backports InRelease
> Hit:6 http://us.archive.ubuntu.com/ubuntu focal-security InRelease
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> All packages are up to date.
> W: Skipping acquire of configured file 'PC1/binary-amd64/Packages' as
> repository 'https://apt.puppet.com focal InRelease' doesn't have the
> component 'PC1' (component misspelt in sources.list?)
> W: Skipping acquire of configured file 'PC1/binary-all/Packages' as
> repository 'https://apt.puppet.com focal InRelease' doesn't have the
> component 'PC1' (component misspelt in sources.list?)
> W: Skipping acquire of configured file 'PC1/i18n/Translation-en' as
> repository 'https://apt.puppet.com focal InRelease' doesn't have the
> component 'PC1' (component misspelt in sources.list?)
> W: Skipping acquire of configured file 'PC1/i18n/Translation-en_US' as
> repository 'https://apt.puppet.com focal InRelease' doesn't have the
> component 'PC1' (component misspelt in sources.list?)
> W: Skipping acquire of configured file 'PC1/cnf/Commands-amd64' as
> repository 'https://apt.puppet.com focal InRelease' doesn't have the
> component 'PC1' (component misspelt in sources.list?)
> W: Skipping acquire of configured file 'PC1/cnf/Commands-all' as
> repository 'https://apt.puppet.com focal InRelease' doesn't have the
> component 'PC1' (component misspelt in sources.list?)
> root@babylonia:~#
>
> Is there something corrupted on my end that I can address?
>
>
> --
> 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/e8485a70-3f64-4447-aeef-546ae6fb09dao%40googlegroups.com
> <https://groups.google.com/d/msgid/puppet-users/e8485a70-3f64-4447-aeef-546ae6fb09dao%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
>
> --
> 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/9f497f99-7eb2-51f7-edcf-2b9e9713a2df%40puppet.com
> <https://groups.google.com/d/msgid/puppet-users/9f497f99-7eb2-51f7-edcf-2b9e9713a2df%40puppet.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAABnqB_-kUoN02dNB77iJ_A8nJQtBsJgtKvEF0x%2BDO7%2BeN3a-A%40mail.gmail.com.

Reply via email to