Use apt.puppetlabs.com on Ubuntu xenial: no suitable hash entry in Release file

393 views
Skip to first unread message

Andreas Roth

unread,
Mar 14, 2016, 12:23:53 PM3/14/16
to Puppet Users
Hi,

i tried to use the apt.puppetlabs.com repo on xenial. Since there are not package for xenial yet i tried to use the package from Ubuntu wily instead, but i ran into this error:

W: Failed to fetch http://apt.puppetlabs.com/dists/wily/Release  No Hash entry in Release file /var/lib/apt/lists/partial/apt.puppetlabs.com_dists_w
ily_Release, which is considered strong enough for security purposes

I check the Release file and found the hash entries are wrong. apt (version 1.2.4) looks for the Hash entries "SHA512", "SHA256", "SHA1", "MD5Sum" or "Checksum-FileSize", but the file in the repository provides "MD5Sum", "SHA1Sum", "SHA256Sum". I think is a some kind of spelling mistake. The section "SHA256Sum" should be "SHA256" without the "Sum" suffix (same for SHA1). 

I don't know what kind of changes are required to fix this, but i hope this can be fixed easily.

Andreas

Melissa Stone

unread,
Mar 21, 2016, 1:04:19 PM3/21/16
to puppet...@googlegroups.com
The main thing that was required was to update the software we use to generate metadata for our apt repos. This should be done now, and you should no longer be seeing this error message. 

Andreas

--
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/f281a08a-3b1d-423f-b816-6d5b1c494a76%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Melissa Stone
Release Engineer, Puppet Labs
--------------------------------------------------

PuppetConf 2016, October 17-21, San Diego, California
Early Birds save $350 - Register by June 30th

Andreas Roth

unread,
Mar 24, 2016, 5:14:40 AM3/24/16
to Puppet Users
Now it's fine. Thx

benjamin barber

unread,
Mar 27, 2016, 11:20:57 PM3/27/16
to Puppet Users
I tried to install puppet-enterprise on xenial and I ran into the same problem as the OP.

Melissa Stone

unread,
Mar 28, 2016, 12:36:55 PM3/28/16
to puppet...@googlegroups.com
On Sun, Mar 27, 2016 at 8:20 PM benjamin barber <starw...@gmail.com> wrote:
I tried to install puppet-enterprise on xenial and I ran into the same problem as the OP.
We don't yet have packages or test anything on xenial. Where are you getting those packages? Which repos do you have enabled? 

For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages