Re: fedora 23

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

 



On Wed, Sep 30, 2015 at 05:54:25AM -0400, Paul Cartwright wrote:
> On 09/30/2015 04:14 AM, Suvayu Ali wrote:
> >>> > >   rpm -qa --queryformat='%{name}\n'
> >> > that gets rid of the version #'s for each app... hmm.. I like that
> >> > 
> >> >   rpm -qa --queryformat='%{name}\n' > fedora_installed_apps
> > You might want to add arch if you have a multilib system.
> >
> >   $ rpm -qa --queryformat='%{name}.%{arch}\n'
> >
> > Cheers,
> that doesn't work.. it leaves the .I686 /x86_64/.noarch on..
> 
> adobe-source-han-sans-twhk-fonts.noarch
> readline.i686
> man-pages.noarch
> harfbuzz.i686
> nfs-utils.x86_64
> krb5-libs.i686

That's kinda the point.  On a multilib system, you will have packages
for multiple architectures.  Without the trailing .arch, when you
reinstall, only the default architecture will be installed.

Here is an example.  I have both 64 bit and 32 bit pulseaudio-libs
because of Skype.

  $ rpm -q --queryformat="%{name}.%{arch}\n" pulseaudio-libs
  pulseaudio-libs.x86_64
  pulseaudio-libs.i686

Without the trailing .arch, I will only get the x86_64 package when
reinstalling from the list.

> and the original also gets noarch:
> 
> rpm -qa --queryformat='%{name}\n' |grep adobe
> adobe-release-x86_64
> adobe-source-han-sans-cn-fonts
> adobe-source-han-sans-twhk-fonts

This will get noarch too!  Just look at your first output, it includes
man-pages.

Cheers,

-- 
Suvayu

Open source is the future. It sets us free.
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org



[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