Thanks for your comments and experience, Shane. And yes, I suspected
something along these lines because one of the *.src.rpm files created a
*.rpm file in the RPMS dir. (using wildcards just for brevity here - I
didn't actually use them.) But it (joe) ALSO opened all the contents
and put it in an installable state under ..redhat/SRPMS/* The other
package (tree) just opened the sources under SRPMS. Both packages
installed just fine and run as expected with 'make' and 'make install'
One further development, and oddity, after suspecting something was up
with the *.src.rpm files (which I installed from CD without copying
anywhere first) was the when later running rpm -e joe in the RPMS dir,
the 'joe' executable now will not function, (and didn't give the
"program not installed" msg) but didn't get erased from anywhere --
source or binary. The other variants of the program jstar, jpico, jmacs,
rjoe, etc. still execute and run fine!! :-X Mystifies me!
Neither joe nor tree was registered in the rpm database after
installing, and neither is uninstallable in any of the many ways I tried
to figure out, with rpm.
I even looked in "Maximum RPM" to see all refs on "package not
installed" and none of these gave me a clue.
So, I remain clueless and in need of help though suspect that we may be
on the right track. Anybody here know?
thanks,
Jamie Faunt
Shane wrote:
>
> I ran across this problem before. I read something, somewhere explaining the
> two RPM package types. You have the normal package (pre-compiled)
> app.x.x.rpm and you have a Source RPM (needs compiling) app.x.x.SRC.rpm. The
> SRC rpms don't actually get installed, their contents are just unpacked
> usually to the /usr/src/<distribution> which in my case is /usr/src/redhat
> directory with another subdir of name <app.x.x>. So you aren't actually
> installing a package, you are just unpacking a package into a subdir.
> Nothing is actually installed.
> And for those linux-gurus out there, I might be somewhat mistaken. I''ve
> only been working with Linux for a short time. Just thought I might throw my
> bit in. :)
>
> Shane Kulsic
> Technical Support Specialist
> MediaOne
>
> JF wrote:
>
> > I've successfully installed two rpm packages. ("successful" meaning they
> > seem to run fine as documented) Now, when I try to uninstall with rpm
> > -e <appname> they tell me they're not installed. Also query tells me
> > they're not installed! But they are indeed.
> >
> > I'm leaving off the version numbers when using -e and have tried every
> > possible variation of the filename/appname and no joy.
> >
> > Anyone have a clue as to why rpm can successfully install a package with
> > rpm -ivh <app.ver-x-x.src.rpm> etc.... and then not know of its
> > existence, update it in the database or be able to uninstall it?
> >
> > --
> > thanks,
> > Jamie Faunt
> > RH 5.2 kernel 2.0.36-0.7
--
_________________________
http://www.pacificnet.net/~faunt/