This turned out to be an issue in the Squid cache.  For some reason the mime 
type on the request was text/plain, for example:

1483463085.583      1 127.0.0.1 TCP_MEM_HIT/200 232660 GET http://127.0.0.1:3128
/var/lib/pulp/content/units/rpm/3b/965cfedb57c5a3cde020b31992b34cd17acbec807dc6543845ecd899eb9680/systemd-219-30.el7_3.6.x86_64.rpm
 - HIER_NONE/- text/plain

After shutting down Squid, deleting the cache, and starting Squid back up that 
same request changed to:

1483465857.848    534 127.0.0.1 TCP_MISS/200 5482957 GET 
http://127.0.0.1:3128/var/lib/pulp/content/units/rpm/3b/965cfedb57c5a3cde020b31992b34cd17acbec807dc6543845ecd899eb9680/systemd-219-30.el7_3.6.x86_64.rpm
 - FIRSTUP_PARENT/127.0.0.1 application/x-rpm

(note the change to application/x-rpm)

Big thanks to Justin Sherrill for helping me through this one.

j



----- Original Message -----
From: "'Jason B. Nance' via Foreman users" <[email protected]>
To: [email protected]
Sent: Tuesday, January 3, 2017 8:51:03 AM
Subject: [foreman-users] Package does not match intended download

Hello everyone,

I have an install of Katello 3.2.2/1.13.3 with the CentOS 7 repositories synced 
and content views created that contain the packages and a client host 
registered and pointed at the CV.  Yum is reporting the following error when 
attempting to install/update several packages:

    [Errno -1] Package does not match intended download.

I have ran "yum clean all" and removed /var/cache/yum/x86_64.  I've also 
re-synced the repos (with force post sync enabled) and generated new versions 
of the CVs with no change.

Does anyone have any suggestions for how to troubleshoot or resolve this?

Regards,

j

-- 
You received this message because you are subscribed to the Google Groups 
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to