[rhelv6-list] why do errata and package updates fail?

Mirko Vukovic mirko.vukovic at gmail.com
Tue Oct 9 17:33:19 UTC 2012


On Tue, Oct 9, 2012 at 12:18 PM, thomas at redhat.com <thomas at redhat.com> wrote:
> On 10/09/2012 11:10 AM, Mirko Vukovic wrote:
>>
>> yum update installed 26 packages.  The system shows as up-to-date on RHN.
>
>
> Without seeing the logs from the previous commands, it's almost impossible
> to tell what happened.
>
...
> What repositories do you have enabled? What is the output of the following
> command?
>
> yum -v repolist

Here is output of `yum -v repolist'

Loading "rhnplugin" plugin
Loading "product-id" plugin
Loading "refresh-packagekit" plugin
Loading "security" plugin
Loading "subscription-manager" plugin
Updating certificate-based repositories.
Unable to read consumer identity
Config time: 0.109
Looking for repo options for [main]
Looking for repo options for [rhel-x86_64-workstation-6]
Repo 'rhel-x86_64-workstation-6' setting option 'enabled' = '1'
Repo 'rhel-x86_64-workstation-6' setting option 'gpgcheck' = '1'
Looking for repo options for [rhel-x86_64-workstation-supplementary-6]
Repo 'rhel-x86_64-workstation-supplementary-6' setting option 'enabled' = '1'
Repo 'rhel-x86_64-workstation-supplementary-6' setting option 'gpgcheck' = '1'
Looking for repo options for [rhel-x86_64-workstation-optional-6]
Repo 'rhel-x86_64-workstation-optional-6' setting option 'enabled' = '1'
Repo 'rhel-x86_64-workstation-optional-6' setting option 'gpgcheck' = '1'
Yum Version: 3.2.29
Setting up Package Sacks
pkgsack time: 0.055
Repo-id      : elrepo
Repo-name    : ELRepo.org Community Enterprise Linux Repository - el6
Repo-updated : Mon Oct  8 01:31:18 2012
Repo-pkgs    : 219
Repo-size    : 931 M
Repo-baseurl : http://elrepo.org/linux/elrepo/el6/x86_64/
Repo-mirrors : http://elrepo.org/mirrors-elrepo.el6
Repo-expire  : 21,600 second(s) (last: Tue Oct  9 11:55:29 2012)

Repo-id      : epel
Repo-name    : Extra Packages for Enterprise Linux 6 - x86_64
Repo-revision: 1349708267
Repo-tags    : binary-x86_64
Repo-updated : Mon Oct  8 10:59:47 2012
Repo-pkgs    : 7,887
Repo-size    : 6.9 G
Repo-metalink: https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=x86_64
  Updated    : Mon Oct  8 10:59:47 2012
Repo-baseurl : http://fedora-epel.mirror.lstn.net/6/x86_64/ (38 more)
Repo-expire  : 21,600 second(s) (last: Tue Oct  9 11:55:31 2012)

Repo-id      : rhel-x86_64-workstation-6
Repo-name    : Red Hat Enterprise Linux Workstation (v. 6 for x86_64)
Repo-updated : Mon Oct  8 08:56:32 2012
Repo-pkgs    : 9,349
Repo-size    : 15 G
Repo-baseurl : https://xmlrpc.rhn.redhat.com/XMLRPC/GET-REQ/rhel-x86_64-workstation-6
Repo-expire  : 21,600 second(s) (last: Tue Oct  9 11:55:32 2012)

Repo-id      : rhel-x86_64-workstation-optional-6
Repo-name    : RHEL Workstation Optional (v. 6 for x86_64)
Repo-updated : Mon Oct  8 08:56:32 2012
Repo-pkgs    : 4,565
Repo-size    : 3.3 G
Repo-baseurl : https://xmlrpc.rhn.redhat.com/XMLRPC/GET-REQ/rhel-x86_64-workstation-optional-6
Repo-expire  : 21,600 second(s) (last: Tue Oct  9 11:55:33 2012)

Repo-id      : rhel-x86_64-workstation-supplementary-6
Repo-name    : RHEL Workstation Supplementary (v. 6 for x86_64)
Repo-updated : Tue Oct  9 03:53:35 2012
Repo-pkgs    : 276
Repo-size    : 3.6 G
Repo-baseurl : https://xmlrpc.rhn.redhat.com/XMLRPC/GET-REQ/rhel-x86_64-workstation-supplementary-6
Repo-expire  : 21,600 second(s) (last: Tue Oct  9 11:55:34 2012)



>
> I almost guarantee that the answers are in the system event log. Go to RHN,
> click on the system, choose "Events" in the menu just below the hostname,
> then choose "History" to see what happened.
>

Thanks for showing me how to get to history.  This is what I found:
- Some were failures because of existing lock on var/run/yum.pid
- Other were package dependency failures: u'Protected multilib
versions: ...x86_64 != ...i686 (code 18)

I checked (ps -A) and there is currently no yum running.


Mirko




More information about the rhelv6-list mailing list