[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Strange obscure RPM bug



i basically have the exact same problem, my company has just finished its
distribution
and i'm trying to figure out why 6 packages are installed even though they
have
explicit PreReq's in other packages..... its realy strace because one of our
packages
is Apache, ok now there are about 8 sub packages like mod_*, now one of
which is
mod_ssl.... we have a Requires: openssl and also a PreReq: apache because it
uses
apache username in the owner of sum of the files.... all apache is insatlled
except for
the parent apache rpm, even though the mod_ssl rpm has an explicit PreReq.

here is what i use to test....

mkdir /mnt/hdd
mount /dev/hda3 /mnt/hdd
rm -rf /mnt/hdd/*
mkdir /mnt/hdd/{dev,boot}
mount /dev/hda1 /mnt/hdd/boot
mount -t devfs none /mnt/hdd/dev
mkdir -p /mnt/hdd/var/lib/rpm
rpm --root /mnt/hdd --initdb
rpm --root /mnt/hdd -ivh /RPMS/*.rpm

when its done i do....

cd /mnt/hdd
usr/sbin/chroot .
rpm -q apache
  <package not installed>
rpm -q pam
  <package not installed>
rpm -q pam-devel
  <package insalled>
rpm -q apache-devel
  <package insatlled>

but now if i do the following it works perfectly...

logout
rpm --root /mnt/hdd -ivh /RPMS/pam-{version number here}.rpm
rpm --root /mnt/hdd -ivh /RPMS/apache-{version number here}.rpm

so i'm absolutely stumped  :(

any comments/suggestions would very greatly be appreciated, i've tried
useing -vvvvvvv
to get massive verbosity & it looks like rpm is just not installing the
packages, it checks
the files inside it & just carries on... "skipping" the installation... very
very straaange!!!

Kind Regards
Nigel Kukard
nkukard@lbsd.net






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []