Modify

Ticket #848 (closed defect: fixed)

Opened 13 years ago

Last modified 13 years ago

YUMng fails to upgrade bcfg2 rpm

Reported by: davisj <[email protected]…> Owned by: desai
Priority: major Milestone: Bcfg2 1.1.1 Release (Bugfix)
Component: bcfg2-client Version: 1.0
Keywords: Cc:

Description

I have the following BoundPackage? entry

<BoundPackage? name='bcfg2' priority='1' version='auto' type='yum' verify='false'/>

Verify = False because this is an unsigned rpm built from the bcfg2 sources like so:

 cd bcfg2_1_0_1/redhat
 make

The client has the resulting v1.0.1 rpm available in its yum repo.

Client debug output includes the following...

   Bcfg2.Client.Frame[8312]: Verifying package instances for bcfg2
   Bcfg2.Client.Frame[8312]:         Wrong version installed.  Want
0:1.0.1-0.1r5698.noarch, but have 1.0pre5-0.2r5383.noarch
   Bcfg2.Client.Frame[8312]:         Package bcfg2 failed verification.
   Bcfg2.Client.Frame[8312]:
   Phase: initial
   Bcfg2.Client.Frame[8312]: Correct entries:      7
   Bcfg2.Client.Frame[8312]: Incorrect entries:    7
   Bcfg2.Client.Frame[8312]: Total managed entries:        14
   Bcfg2.Client.Frame[8312]: Unmanaged entries:    516
   Bcfg2.Client.Frame[8312]:
   Bcfg2.Client.Frame[8312]: Running YUMng.Install()
   Bcfg2.Client.Frame[8312]: Attempting to install packages
   Bcfg2.Client.Frame[8312]: > /usr/bin/yum -d0 -y install
bcfg2-0:1.0.1-0.1r5698.noarch
   Bcfg2.Client.Frame[8312]: <
   Bcfg2.Client.Frame[8312]: <
   Bcfg2.Client.Frame[8312]: < Package
bcfg2-1.0.1-0.1r5698.noarch.rpm is not signed
   Bcfg2.Client.Frame[8312]: Single Pass Install of Packages Failed
   Bcfg2.Client.Frame[8312]: > /usr/bin/yum -d0 -y install
bcfg2-0:1.0.1-0.1r5698.noarch
   Bcfg2.Client.Frame[8312]: <
   Bcfg2.Client.Frame[8312]: <
   Bcfg2.Client.Frame[8312]: < Package
bcfg2-1.0.1-0.1r5698.noarch.rpm is not signed
   Bcfg2.Client.Frame[8312]: bcfg2 0:1.0.1-0.1r5698.noarch would not install.

If I try 'yum install bcfg2-0:1.0.1-0.1r5698' yum says "No package bcfg2-0:1.0.1-0.1r5698 available"

But if I run 'yum install bcfg2-1.0.1-0.1r5698' (removing the "0:") or just 'yum install bcfg2' the installation of the newer 1.0.1 package proceeds as expected.

Attachments

Change History

comment:1 Changed 13 years ago by solj

  • Milestone changed from Bcfg2 1.1.0 Release to Bcfg2 1.1.1 Release (Bugfix)

comment:2 Changed 13 years ago by jjneely

  • Status changed from new to closed
  • Resolution set to fixed

This should be solved with the YUMng plugin in 1.1.0rc5. Please re-open if not.

WARNING! You need to establish a session before you can create or edit tickets. Otherwise the ticket will get treated as spam.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.