The "yum history info" command returns "Errno 14"

Solution Verified - Updated -

Issue

  • Is it possible to get an output from "yum history info" when repository is not available?
  • How to avoid yum history info returning Errno 14 when a repository is no longer available?
  • Why is the following error is returned when issuing yum history info for a specific transaction?
[root@hostname ~]# yum history info <transaction>
<snip>
Packages Altered:
http://hostname.example.com/repodata/repomd.xml: [Errno 14] PYCURL ERROR 7 - "couldn't connect to host"
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: <repoid> Please verify its path and try again

Environment

  • Red Hat Enterprise Linux 6.8
  • Yum

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content