[1901] in SIPB_Linux_Development
Oops, all of our srvd packages are messed up
daemon@ATHENA.MIT.EDU (Salvatore Valente)
Sun Nov 16 16:18:51 1997
Date: Sun, 16 Nov 1997 16:18:05 -0500
To: linux-dev@MIT.EDU
From: Salvatore Valente <svalente@MIT.EDU>
I noticed that you can't use rpm to install any srvd-athena package
currently in /mit/linux/packages/current/RPMS. (For some reason, this
problem doesn't show up in the initial install.)
The problem is that each package provides a service that it conflicts
with. So, it conflicts with itself. In other words, say you have a
system with neither athena-devel nor srvd-athena-devel installed. You
do "rpm -i srvd-athena-devel-version.rpm". It will fail because
"srvd-athena-devel conflicts with athena-devel".
The solution to this problem is fairly simple. The srvd packages
should not have "Conflicts" fields. It is enough for the
"athena-devel" package to conflict with the "srvd-athena-devel"
package. The conflict doesn't have to be listed both ways. I've done
a bit of testing, and this works. (It doesn't matter what order you
try to install them or anything like that. Once you have one
installed, the other can't be installed.)
I will modify "makepackage" so that it doesn't put "Conflicts" in srvd
packages. (And I'll build a new set of srvd packages.)
Have a nice day.
-Sal.