[opensuse] Is there an RPM command that will do this?
Is there an RPM command where you can say "Here's a /dir/file. Tell me what package it's in, if any.". Thanks, Greg Wallace -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Am Freitag, 19. Januar 2007 22:37 schrieb Greg Wallace:
Is there an RPM command where you can say "Here's a /dir/file. Tell me what package it's in, if any.".
rpm -qf /file bye, MH -- gpg key fingerprint: 5F64 4C92 9B77 DE37 D184 C5F9 B013 44E7 27BD 763C -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Greg Wallace schrieb:
Is there an RPM command where you can say "Here's a /dir/file. Tell me what package it's in, if any.".
rpm -qf <file>
Thanks, Greg Wallace
Chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQFFsT2TayhvFxrDZlkRAuTRAJwLsxzE7Vez/nokUjrmaHJL3X/k1wCfaqNi PTn0d7yTmvbpwu/JkP8LVbc= =ueKt -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Friday 19 January 2007 13:37, Greg Wallace wrote:
Is there an RPM command where you can say "Here's a /dir/file. Tell me what package it's in, if any.".
% rpm -q --whatprovides /name/of/file E.g.: % rpm -q --whatprovides /bin/cat coreutils-5.3.0-20.2
Thanks, Greg Wallace
RRS -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Friday, January 19, 2007 @ 3:55 PM, Randall Schulz wrote:
On Friday 19 January 2007 13:37, Greg Wallace wrote:
Is there an RPM command where you can say "Here's a /dir/file. Tell me what package it's in, if any.".
% rpm -q --whatprovides /name/of/file
E.g.:
% rpm -q --whatprovides /bin/cat coreutils-5.3.0-20.2
Thanks, Greg Wallace
RRS
Is this synonymous with rpm -qf Thanks, Greg W -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Greg, On Friday 19 January 2007 15:54, Greg Wallace wrote:
On Friday, January 19, 2007 @ 3:55 PM, Randall Schulz wrote:
On Friday 19 January 2007 13:37, Greg Wallace wrote:
Is there an RPM command where you can say "Here's a /dir/file. Tell me what package it's in, if any.".
% rpm -q --whatprovides /name/of/file ...
Is this synonymous with rpm -qf
More or less. The --whatprovides refers to files that (potentially) satisfy dependencies in other packages. The -f option just asks which package contained the specified file. A file that's used internally by a package but that does not constitute part of a packages external interface would be fit the latter (-f) but not the former (--whatprovides). So --whatprovides is a subset of -f in the sense that not every file that would be found by -f would be found by --whatprovides. So really, the answer to your question is -f, not --whatprovides (with the -q being required for both, of course).
Thanks, Greg W
Randall Schulz -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 2007-01-19 15:37, Greg Wallace wrote:
Is there an RPM command where you can say "Here's a /dir/file. Tell me what package it's in, if any.". You really need to start reading manpages and info pages, and "command --help" is also often useful. :-)
rpm -qf /dir/file -- The best way to accelerate a computer running Windows is at 9.81 m/s² -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Darryl Gregorash wrote:
On 2007-01-19 15:37, Greg Wallace wrote:
Is there an RPM command where you can say "Here's a /dir/file. Tell me what package it's in, if any.".
You really need to start reading manpages and info pages, and "command --help" is also often useful. :-)
man rtfm ;-) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Friday, January 19, 2007 @ 4:01 PM, Darryl Gregorash wrote:
On 2007-01-19 15:37, Greg Wallace wrote:
Is there an RPM command where you can say "Here's a /dir/file. Tell me what package it's in, if any.". You really need to start reading manpages and info pages, and "command --help" is also often useful. :-)
rpm -qf /dir/file
I did read the man pages but couldn't find this. Maybe I couldn't get this out of it. Going back and looking at it again I can see that it's there, but not really in a very straightforward manner. Greg Wallace -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Friday 19 January 2007 15:54, Greg Wallace wrote:
On Friday, January 19, 2007 @ 4:01 PM, Darryl Gregorash wrote:
On 2007-01-19 15:37, Greg Wallace wrote:
Is there an RPM command where you can say "Here's a /dir/file. Tell me
what
package it's in, if any.".
You really need to start reading manpages and info pages, and "command --help" is also often useful. :-)
rpm -qf /dir/file
I did read the man pages but couldn't find this. Maybe I couldn't get this out of it. Going back and looking at it again I can see that it's there, but not really in a very straightforward manner.
That's because man pages are less than useless. -- kai - theperfectreign@yahoo.com www.perfectreign.com || www.4thedadz.com www.filesite.org || www.donutmonster.com wo ist der ort für den ehrlichsten kuss ich weiss, dass ich ihn für uns finden muss... -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Friday 19 January 2007 19:25, Kai Ponte wrote:
On Friday 19 January 2007 15:54, Greg Wallace wrote:
...
I did read the man pages but couldn't find this. ...
That's because man pages are less than useless.
Yup. They've been known to suck the knowledge right out of your head. You have been warned!
-- kai
RRS -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
* Kai Ponte
That's because man pages are less than useless.
No, they are an important part of the linux documentation. But they can be difficult to understand. -- Patrick Shanahan Registered Linux User #207535 http://wahoo.no-ip.org @ http://counter.li.org HOG # US1244711 Photo Album: http://wahoo.no-ip.org/gallery2 OpenSUSE Linux http://en.opensuse.org/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Friday 19 January 2007 19:43, Patrick Shanahan wrote:
* Kai Ponte
[01-19-07 22:27]: [...] That's because man pages are less than useless.
No, they are an important part of the linux documentation. But they can be difficult to understand.
Hence my statement. -- k -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Friday 19 January 2007 17:43, Patrick Shanahan wrote:
* Kai Ponte
[01-19-07 22:27]: [...] That's because man pages are less than useless.
No, they are an important part of the linux documentation. But they can be difficult to understand.
This is very true. Jerome
-- Patrick Shanahan Registered Linux User #207535 http://wahoo.no-ip.org @ http://counter.li.org HOG # US1244711 Photo Album: http://wahoo.no-ip.org/gallery2 OpenSUSE Linux http://en.opensuse.org/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Kai Ponte wrote:
[...]
That's because man pages are less than useless.
Nonsense. Manual pages are perfect as a reference, nobody really knows all the options for Unix commands. They are at least 10 times better than info pages. However, both are usually not meant to be a tutorial or a beginner's guide. Read the maximum RPM handbook[*] if you need a full-blown introduction to RPM and not just a reference. [*]http://www.redhat.com/docs/books/max-rpm/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Friday 19 January 2007 19:25, Kai Ponte wrote:
...
That's because man pages are less than useless.
Aren't you the one who copped to being a manager? Man pages are written in a special dialect of English that renders them unintelligible to managers.
-- kai
RRS -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Saturday 20 January 2007 07:35, Randall R Schulz wrote:
On Friday 19 January 2007 19:25, Kai Ponte wrote:
...
That's because man pages are less than useless.
Aren't you the one who copped to being a manager? Man pages are written in a special dialect of English that renders them unintelligible to managers.
lol! Yeah, that may be. However, in my former life I was a geeky programmer. I just find man pages to have enough information to make one dangerous but not enough to explain what is going on. -- kai - theperfectreign@yahoo.com www.perfectreign.com || www.4thedadz.com www.filesite.org || www.donutmonster.com the first cut won't hurt at all the second only makes you wonder -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Randall R Schulz wrote:
On Friday 19 January 2007 19:25, Kai Ponte wrote:
...
That's because man pages are less than useless.
Aren't you the one who copped to being a manager? Man pages are written in a special dialect of English that renders them unintelligible to managers.
I guess that means no words like "solutioning". ;-) http://dilbert.com/comics/dilbert/archive/images/dilbert20070146612119.gif -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Saturday 20 January 2007 11:11, James Knott wrote:
Randall R Schulz wrote:
On Friday 19 January 2007 19:25, Kai Ponte wrote:
...
That's because man pages are less than useless.
Aren't you the one who copped to being a manager? Man pages are written in a special dialect of English that renders them unintelligible to managers.
I guess that means no words like "solutioning". ;-)
The AI on "Andromeda Ascendant" sometimes responds "efforting" when instructed to carry out a task. RRS -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 2007-01-20 13:28, Randall R Schulz wrote:
On Saturday 20 January 2007 11:11, James Knott wrote:
<snip> I guess that means no words like "solutioning". ;-)
The AI on "Andromeda Ascendant" sometimes responds "efforting" when instructed to carry out a task.
Ohh, these are even better than the verb "transition". -- The best way to accelerate a computer running Windows is at 9.81 m/s² -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Darryl Gregorash wrote:
On 2007-01-20 13:28, Randall R Schulz wrote:
On Saturday 20 January 2007 11:11, James Knott wrote:
<snip> I guess that means no words like "solutioning". ;-)
The AI on "Andromeda Ascendant" sometimes responds "efforting" when instructed to carry out a task.
Ohh, these are even better than the verb "transition".
Hang around some managers long enough and you'll pick up a whole new vocabulary. ;-) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sat, 2007-01-20 at 07:35 -0800, Randall R Schulz wrote:
On Friday 19 January 2007 19:25, Kai Ponte wrote:
...
That's because man pages are less than useless.
Aren't you the one who copped to being a manager? Man pages are written in a special dialect of English that renders them unintelligible to managers.
Written in geek not Greek. Not for the weak nor to be read in a week. -- ___ _ _ _ ____ _ _ _ | | | | [__ | | | |___ |_|_| ___] | \/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (12)
-
Carl William Spitzer IV
-
Darryl Gregorash
-
Greg Wallace
-
J Sloan
-
James Knott
-
Kai Ponte
-
Mathias Homann
-
Patrick Shanahan
-
Randall R Schulz
-
Rauch Christian
-
Susemail
-
Thomas Hertweck