theforeman / puppet-foreman_proxy

Puppet module for Foreman Smart Proxy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

apt repository hash mismatch

gettek opened this issue · comments

Installation via puppet agent -tv fails with the following execution:

apt -q -y -o DPkg::Options::=--force-confold install puppet-agent-oauth

Running on Ubuntu 16.04 (Azure VM)

Error: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install puppet-agent-oauth' returned 100: Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
  puppet-agent-oauth
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 43.6 kB of archives.
After this operation, 79.9 kB of additional disk space will be used.
Get:1 http://deb.theforeman.org plugins/stable amd64 puppet-agent-oauth all 0.5.1-2 [43.6 kB]
Err:1 http://deb.theforeman.org plugins/stable amd64 puppet-agent-oauth all 0.5.1-2
  Hash Sum mismatch
Fetched 43.6 kB in 0s (168 kB/s)
E: Failed to fetch http://deb.theforeman.org/pool/plugins/stable/p/puppet-agent-oauth/puppet-agent-oauth_0.5.1-2_all.deb  Hash Sum mismatch

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

Have tried this solution with no success

Thanks in advance

I think there was a problem in the metadata and @mmoll regenerated it. Could you recheck?

Yep working