On Wednesday 04 July 2001 9:08 am, you wrote:
On Wed, 4 Jul 2001, Eddie Howson wrote:
On Wednesday 04 July 2001 6:09 am, Leah Cunningham wrote:
Eddie Howson (eddie@cs.rhul.ac.uk) [010702 00:14]:
One of the most frustrating things that I have found with 7.2, is that the description or details of a package no longers lists the name of files it contains. Over the weekend, I installed the fpk package (pascal compiler). It unpacks its files in a directory called fpc and the compiler is ppc386. It took me ages to find this out (actually by using an earlier distribution CD). Perhaps someone can enlighten me as to an alternative (easier) method. Don't get me wrong. I love SuSE 7.2 and was boasting about it to a friend who has had continuous problems with several of his systems running MS stuff. However, I would really appreciate some guidance here because it can get frustrating at times?
rpm -qif <packagename>
However, this command only gives me information about the package if I specify the location and name of the file. (If I put the name of the package as you suggest I get a no such file error message). I need the exact opposite. I need to be able to state the package and get the name of the files and their location. Someone did post me a script but I haven't got around to testing it as yet.
If you know the name of the file, but are not sure in which package it is included, you can grep over the content description files on CD1:
mount /cdrom grep <filename> /cdrom/suse/contents/*
or
zgrep <filename> /cdrom/ARCHIVES.gz
Bye, LenZ
And if I know the name of the package but don't know the file names or locations? TIA Eddie