Is the focal repo borked for Ubuntu 20.04 LTS (Focal Fossa)?

68 views
Skip to first unread message

Chris Knight

unread,
Jun 19, 2020, 12:08:46 PM6/19/20
to Puppet Users
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?


Eric Griswold

unread,
Jun 22, 2020, 1:08:39 PM6/22/20
to puppet...@googlegroups.com
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
--
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 puppet-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/e8485a70-3f64-4447-aeef-546ae6fb09dao%40googlegroups.com.

Chris

unread,
Jun 22, 2020, 5:12:57 PM6/22/20
to puppet...@googlegroups.com
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
 

Chris

unread,
Jun 22, 2020, 5:59:01 PM6/22/20
to puppet...@googlegroups.com
PEBKAC - ugh.  No more emails before coffee.  :)

Eric Griswold

unread,
Jun 23, 2020, 1:19:31 PM6/23/20
to puppet...@googlegroups.com
Hi Chris,

Thanks for providing the details. That helps us out a lot as well.

Eric
Reply all
Reply to author
Forward
0 new messages