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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.