Re: Getting rpm update history with wildcarding

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 06/14/2018 09:23 AM, Robert Moskowitz wrote:
> 
> 
> On 06/14/2018 09:57 AM, Richard Shaw wrote:
>> On Thu, Jun 14, 2018 at 8:55 AM Robert Moskowitz <rgm@xxxxxxxxxxxxxxx
>> <mailto:rgm@xxxxxxxxxxxxxxx>> wrote:
>>
>>
>>     On 06/14/2018 09:08 AM, Ahmad Samir wrote:
>>     > On 14 June 2018 at 14:27, Robert Moskowitz <rgm@xxxxxxxxxxxxxxx
>>     <mailto:rgm@xxxxxxxxxxxxxxx>> wrote:
>>     >> I want to get history for all the pulseaudio components (to
>>     update my
>>     >> audacity bug report at rpmfusion).
>>     >>
>>     >> #rpm -q pulseaudio --last
>>     >>
>>     >> produces
>>     >>
>>     >> pulseaudio-11.1-18.fc28.1.x86_64              Thu 24 May 2018
>>     09:59:34 PM
>>     >> EDT
>>     >>
>>     >> but
>>     >>
>>     >> # rpm -q pulseaudio* --last
>>     >>
>>     > FWIW, to match using a wildcard you'd have to use `rpm -qa
>>     pulseaudio*`.
>>
>>     Don't think so:
>>
>>     # `rpm -qa pulseaudio*`
>>     bash: pulseaudio-module-bluetooth-11.1-18.fc28.1.x86_64: command
>>     not found
>>
>>
>> Don't include the tick marks, it tried to execute what's inside...
>> What he means is that rpm doesn't accept wildcards so if you want to
>> find partial matches, you need to pipe it to grep...
>>
>> # rpm -qa | grep pulseaudio
> 
> But that does not give me the update history.  Going to have to pipe
> this output into something else
> 
> # rpm -qa | grep pulseaudio
> pulseaudio-module-bluetooth-11.1-18.fc28.1.x86_64
> pulseaudio-module-x11-11.1-18.fc28.1.x86_64
> pulseaudio-libs-glib2-11.1-18.fc28.1.x86_64
> pulseaudio-utils-11.1-18.fc28.1.x86_64
> xfce4-pulseaudio-plugin-0.4.1-1.fc28.x86_64
> pulseaudio-libs-11.1-18.fc28.1.x86_64
> pulseaudio-11.1-18.fc28.1.x86_64
> alsa-plugins-pulseaudio-1.1.6-3.fc28.x86_64

Again, as other have said, rpm does NOT maintain a history. It queries
the rpm database of what packages are installed and that's it.

dnf and yum maintain histories (I believe packagekit does as well), but
they're accessed in different ways.
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, AllDigital    ricks@xxxxxxxxxxxxxx -
- AIM/Skype: therps2        ICQ: 226437340           Yahoo: origrps2 -
-                                                                    -
-    Overweight:  When you step on your dog's tail...and it dies.    -
----------------------------------------------------------------------
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx/message/KIEZIGZ3Q5VRXK4YAYDJVJ3LEUXK24EB/



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux