Hi,
I have a question: if I do a rpm -qa texlive* I get the following:
texlive-ncntrsbk-svn28614.0-0.1.fc19.noarch texlive-texconfig-svn29764.0-0.1.fc19.noarch texlive-pdftools-bin-svn30088.0-0.1.20130608_r30832.fc19.i686 texlive-dvicopy-bin-svn30088.0-0.1.20130608_r30832.fc19.i686 texlive-filehook-svn24280.0.5d-0.1.fc19.noarch ....
And so on. My question is: how do I get the rpms names without the part -svn...etc etc.
Why do I want this? It is because I want a list of these rpms to make future installs easy. So, I could have a list of these rpms, put a \ after each line, and then add yum install and then be done in one line.
Many thanks for answering the question!
Best wishes, Ranjan
On Tue, Oct 08, 2013 at 21:08:41 -0500, Ranjan Maitra maitra.mbox.ignored@inbox.com wrote:
Hi,
I have a question: if I do a rpm -qa texlive* I get the following:
You want: rpm -qa --qf '%{name}\n' texlive*
On Tue, 8 Oct 2013 22:10:18 -0500 Bruno Wolff III bruno@wolff.to wrote:
On Tue, Oct 08, 2013 at 21:08:41 -0500, Ranjan Maitra maitra.mbox.ignored@inbox.com wrote:
Hi,
I have a question: if I do a rpm -qa texlive* I get the following:
You want: rpm -qa --qf '%{name}\n' texlive* --
Wow! Thanks very much for this!!
Best wishes, Ranjan
On Tue, 8 Oct 2013 23:03:05 -0500 Ranjan Maitra maitra.mbox.ignored@inbox.com wrote:
You want: rpm -qa --qf '%{name}\n' texlive* --
Wow! Thanks very much for this!!
Best wishes, Ranjan
If you want all rpms on the machine, and keep a list of them rpm -qa --qf '%{name}\n' > rpm_list
Handy if you want to use a central download box. (or reinstall this box)
On 09/10/13 00:03, Ranjan Maitra wrote:
I have a question: if I do a rpm -qa texlive* I get the following:
You want: rpm -qa --qf '%{name}\n' texlive* --
Wow! Thanks very much for this!!
Best wishes, Ranjan
I use a small check book application that is not a yum app but has a long list of dependencies that I have to work through each time I move to the next Fedora version.
I just keep doing rpm -Uvh gnofin and adding the dependencies one at a time with yum as it asks for them. Having a list would simplify the process.
How do I do this there?
Bob
On 10/09/13 15:21, Bob Goodwin ~ Zuni, Virginia, USA wrote:
On 09/10/13 00:03, Ranjan Maitra wrote:
I have a question: if I do a rpm -qa texlive* I get the following:
You want: rpm -qa --qf '%{name}\n' texlive* --
Wow! Thanks very much for this!!
Best wishes, Ranjan
I use a small check book application that is not a yum app but has a long list of dependencies that I have to work through each time I move to the next Fedora version.
I just keep doing rpm -Uvh gnofin and adding the dependencies one at a time with yum as it asks for them. Having a list would simplify the process.
How do I do this there?
Why don't you do....
yum localinstall gnofin.rpm ?
It will (should) find all the dependencies if they exist in your configured repos
On 09/10/13 03:24, Ed Greshko wrote:
I just keep doing rpm -Uvh gnofin and adding the dependencies one at a time with yum as it asks for them. Having a list would simplify the process.
How do I do this there?
Why don't you do....
yum localinstall gnofin.rpm ?
It will (should) find all the dependencies if they exist in your configured repos
That would be good. However it looks like it doesn't work due to "libaudiofile.so.0" which has become a problem recently. I'veused "gnofin" for a long time after trying the other app's available in yum which are overkill [gnucash].
[root@box10 apps]# yum localinstall gnofin-0.8.4-1.i386.rpm --skip-broken Loaded plugins: langpacks Examining gnofin-0.8.4-1.i386.rpm: gnofin-0.8.4-1.i386 Marking gnofin-0.8.4-1.i386.rpm to be installed Resolving Dependencies --> Running transaction check ---> Package gnofin.i386 0:0.8.4-1 will be installed --> Processing Dependency: libaudiofile.so.0 for package: gnofin-0.8.4-1.i386
Packages skipped because of dependency problems: gnofin-0.8.4-1.i386 from /gnofin-0.8.4-1.i386
I assume this means it has failed?
Bob
On 10/09/13 15:45, Bob Goodwin ~ Zuni, Virginia, USA wrote:
On 09/10/13 03:24, Ed Greshko wrote:
I just keep doing rpm -Uvh gnofin and adding the dependencies one at a time with yum as it asks for them. Having a list would simplify the process.
How do I do this there?
Why don't you do....
yum localinstall gnofin.rpm ?
It will (should) find all the dependencies if they exist in your configured repos
That would be good. However it looks like it doesn't work due to "libaudiofile.so.0" which has become a problem recently. I'veused "gnofin" for a long time after trying the other app's available in yum which are overkill [gnucash].
[root@box10 apps]# yum localinstall gnofin-0.8.4-1.i386.rpm --skip-broken Loaded plugins: langpacks Examining gnofin-0.8.4-1.i386.rpm: gnofin-0.8.4-1.i386 Marking gnofin-0.8.4-1.i386.rpm to be installed Resolving Dependencies --> Running transaction check ---> Package gnofin.i386 0:0.8.4-1 will be installed --> Processing Dependency: libaudiofile.so.0 for package: gnofin-0.8.4-1.i386
Packages skipped because of dependency problems: gnofin-0.8.4-1.i386 from /gnofin-0.8.4-1.i386
I assume this means it has failed?
Bob
gnofin-0.8.4-1 appears to be from back in 2000-12-01 19:12:11.
AFAIK, libaudiofile.so.0 is no longer part of newer releases.
On Wed, 09 Oct 2013 03:45:32 -0400 "Bob Goodwin ~ Zuni, Virginia, USA" bobgoodwin@wildblue.net wrote:
Packages skipped because of dependency problems: gnofin-0.8.4-1.i386 from /gnofin-0.8.4-1.i386
I assume this means it has failed?
Bob
you could down the gnofin*.src.rpm yum install mock, rebuild suit what you have now. I have done similar when rpmfusion had their recent hiccup.
On 09/10/13 05:40, Frank Murphy wrote:
On Wed, 09 Oct 2013 03:45:32 -0400 "Bob Goodwin ~ Zuni, Virginia, USA" bobgoodwin@wildblue.net wrote:
Packages skipped because of dependency problems: gnofin-0.8.4-1.i386 from /gnofin-0.8.4-1.i386
I assume this means it has failed?
Bob
you could down the gnofin*.src.rpm yum install mock, rebuild suit what you have now. I have done similar when rpmfusion had their recent hiccup.
[bobg@box10 ~]$ mock -r fc19.x86_64 rebuild /home/bobg/gnofin-0.8.4-1.src.rpm ERROR: Could not find required config file: /etc/mock/fc19.x86_64.cfg
There is /etc/mock/default.cfg but apparently that's not enough? Or is there a problem with 32 vs 64 bit?
At any rate, never having done this before, I am lost.
Bob
On Wed, 09 Oct 2013 10:18:43 -0400 "Bob Goodwin ~ Zuni, Virginia, USA" bobgoodwin@wildblue.net wrote:
[bobg@box10 ~]$ mock -r fc19.x86_64 rebuild /home/bobg/gnofin-0.8.4-1.src.rpm ERROR: Could not find required config file: /etc/mock/fc19.x86_64.cfg
try mock -r fedora-19-x86_64 if gnofin-0.8.4-1.src.rpm needs rpmfusion stuff, you need to install their mock-rpmfusion
On 09/10/13 10:25, Frank Murphy wrote:
On Wed, 09 Oct 2013 10:18:43 -0400 "Bob Goodwin ~ Zuni, Virginia, USA" bobgoodwin@wildblue.net wrote:
[bobg@box10 ~]$ mock -r fc19.x86_64 rebuild /home/bobg/gnofin-0.8.4-1.src.rpm ERROR: Could not find required config file: /etc/mock/fc19.x86_64.cfg
try mock -r fedora-19-x86_64 if gnofin-0.8.4-1.src.rpm needs rpmfusion stuff, you need to install their mock-rpmfusion
[bobg@box10 ~]$ mock -r fedora-19-x86_64 rebuild /home/bobg/Downloads/gnofin-0.8.4-1.src.rpm
........ snip ............. INFO: Installed packages: Start: build phase for gnofin-0.8.4-1.src.rpm Start: device setup Finish: device setup Start: build setup for gnofin-0.8.4-1.src.rpm ERROR: Exception(/home/bobg/Downloads/gnofin-0.8.4-1.src.rpm) Config(fedora-19-x86_64) 4 minutes 6 seconds INFO: Results and/or logs in: /var/lib/mock/fedora-19-x86_64/result ERROR: Command failed. See logs for output. # ['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/gnofin.spec']
What does that error mean?
It certainly looked like it was doing something for about five minutes
Thanks for the help,
Bob!
On 10/09/2013 04:46 PM, Bob Goodwin ~ Zuni, Virginia, USA wrote:
On 09/10/13 10:25, Frank Murphy wrote:
On Wed, 09 Oct 2013 10:18:43 -0400 "Bob Goodwin ~ Zuni, Virginia, USA" bobgoodwin@wildblue.net wrote:
[bobg@box10 ~]$ mock -r fc19.x86_64 rebuild /home/bobg/gnofin-0.8.4-1.src.rpm ERROR: Could not find required config file: /etc/mock/fc19.x86_64.cfg
try mock -r fedora-19-x86_64 if gnofin-0.8.4-1.src.rpm needs rpmfusion stuff, you need to install their mock-rpmfusion
[bobg@box10 ~]$ mock -r fedora-19-x86_64 rebuild /home/bobg/Downloads/gnofin-0.8.4-1.src.rpm
........ snip ............. INFO: Installed packages: Start: build phase for gnofin-0.8.4-1.src.rpm Start: device setup Finish: device setup Start: build setup for gnofin-0.8.4-1.src.rpm ERROR: Exception(/home/bobg/Downloads/gnofin-0.8.4-1.src.rpm) Config(fedora-19-x86_64) 4 minutes 6 seconds INFO: Results and/or logs in: /var/lib/mock/fedora-19-x86_64/result ERROR: Command failed. See logs for output. # ['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/gnofin.spec']
What does that error mean?
Mock has aborted with an error and is advising you to have a look into the log files under /var/lib/mock/fedora-19-x86_64/result
Typically you will want to check build.log and root.log.
If a package dependency is missing you'll find a corresponding error message in root.log. If something went wrong during the build, build.log should contain the necessary infos.
Ralf