When i nned to know all the files on an installed package I used to do
rpm -qa |grep package
rpm -ql package
Now I’m trying to do it with zypper but I can find the way. There is a way?
regards
When i nned to know all the files on an installed package I used to do
rpm -qa |grep package
rpm -ql package
Now I’m trying to do it with zypper but I can find the way. There is a way?
regards
I guess you studied the man page of zypper for it. I only glanced through it and could not find such a function.
That is not strange IMHO. zypper is about package management. Not about RPM management.
I wonder why you are not satisfied with the RPM commands. Why another way to achieve what already exists?
This is one of the functions often commented as “missing” from zypper, I also submitted a bugzilla feature request recently(I’m sure I’m not the first to request the feature) but the result was that if it can be done well using the rpm command, then there is no need to implement in zypper.
Regardless your thoughts on whether it should also be possible in zypper, here is the rpm command:
# rpm -qpl file.rpm
Personally, IMO this is one of the most important package queries, it’s the starting point for a number of tasks including…
Modifying config files (where are they?)
Finding related documentation installed part of the package
If not installed in a PATH, then how to find the executable
Path to be used if creating a Desktop shortcut
TSU
Personally I miss the ability to query for files in not installed packages. urpmi (Mandrake and its derivatives) offers elaborate queries on package database. Like queries what provides or requires specific feature. Effectively urpmi allows almost any query that can be used by RPM.
[RIGHT][/RIGHT]
Zypper supports those kinds of queries well, also.
Just a few aren’t supported that would round out and complete the idea that you might be able to use zypper for everything (You can’t).
TSU
How can I list files in a package (from repository, of course) that is not installed?
arvidjaar wrote:
Pozdrawiam / Greetings,
Mariusz Fik
openSUSE Community Member
openSUSE 12.2 Rocks!
On 2013-01-02 01:47, Fisiu wrote:
> arvidjaar wrote:
>
>>
>> tsu2;2514285 Wrote:
>>>
>>> Zypper supports those kinds of queries well, also.
>>
>> How can I list files in a package (from repository, of course) that is
>> not installed?
>>
>>
> You can’t.
>
You may, to some extent, using “pin”.
–
Cheers / Saludos,
Carlos E. R.
(from 11.4, with Evergreen, x86_64 “Celadon” (Minas Tirith))
Carlos E. R. wrote:
> On 2013-01-02 01:47, Fisiu wrote:
>> arvidjaar wrote:
>>
>>>
>>> tsu2;2514285 Wrote:
>>>>
>>>> Zypper supports those kinds of queries well, also.
>>>
>>> How can I list files in a package (from repository, of course) that is
>>> not installed?
>>>
>>>
>> You can’t.
>>
>
> You may, to some extent, using “pin”.
>
Pin:
| searches the installed packages (rpm -qi, -ql) and/or
| the ARCHIVES.gz file for the desired information. It
| shows also README, README.SuSE, FAQ, when available.
Pozdrawiam / Greetings,
Mariusz Fik
openSUSE Community Member
openSUSE 12.2 Rocks!
I agree that it would be useful to have this kind of functionality with zypper - Along the lines of repoquery…
On 2013-01-02 20:22, Fisiu wrote:
> Carlos E. R. wrote:
>> You may, to some extent, using “pin”.
>>
>
> Pin:
> | searches the installed packages (rpm -qi, -ql) and/or
> | the ARCHIVES.gz file for the desired information. It
> | shows also README, README.SuSE, FAQ, when available.
>
> You mean ‘webpin’? Then it’s possible to find package which contains desired
> file but still no possible to list all files from not installed package.
No, I meant pin.
–
Cheers / Saludos,
Carlos E. R.
(from 11.4, with Evergreen, x86_64 “Celadon” (Minas Tirith))