[BlueOnyx:13564] Re: Cron <root at www> /usr/sausalito/handlers/base/swupdate/yum-update.sh

Michael Stauber mstauber at blueonyx.it
Sat Aug 17 13:50:33 -05 2013


Hi all,

> Warning: RPMDB altered outside of yum.
> perl-Sys-Hostname-FQDN-0.11-1.i386 was supposed to be removed but is not!

Yes and I noticed it first. Really. :-)

The problem arose when I tried to build the updated 5108R installation
CD. The CD built, but the resulting OS wasn't running any CCEd
Constructors as all of them were throwing Perl related errors.

Deeper investigation made clear that the root cause of the problem was
perl-Sys-Hostname-FQDN-0.11-1.

About three months ago I had modified base-system.mod to also require
perl-Sys-Hostname-FQDN:

http://devel.blueonyx.it/trac/changeset/954/BlueOnyx/ui/base-system.mod

Because it is now used by
/usr/sausalito/constructor/base/system/10_addSystem.pl to set the
servers hostname in a more reliable fashion than we used before.

When the dependency for perl-Sys-Hostname-FQDN was added, I published
the respective perl-Sys-Hostname-FQDN RPMs to the 5106R, 5107R and 5108R
YUM repositories.

However, I made a mistake: The 5108R YUM repository contained the i386
version of that RPM and not the correct x86_64 RPM. The i386 RPM simply
doesn't work on a 64-bit Linux.

So last night when I discovered this culprit, I published the correct
x86_64 RPM of perl-Sys-Hostname-FQDN to the 5108R YUM repository and
bumped the version number from 0.11-1 to 0.11-2 to make sure it would
get installed.

Sadly, the YUM install is unable to remove the faulty i386 version of
said RPM. Which all by itself doesn't cause any problems, although it's
a small cosmetic nuisance.

So you can ignore that warning message.

-- 
With best regards

Michael Stauber



More information about the Blueonyx mailing list