LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 06-09-2015, 08:34 AM   #1
average_user
Member
 
Registered: Dec 2010
Location: Warsaw, Poland
Distribution: Slackware
Posts: 560

Rep: Reputation: 220Reputation: 220Reputation: 220
yum - is it possible to only search packages in repository for ARM on x86 machine?


I understand that yum should not install packages for architecture different from one it is executed on. However, is it possible to only search for ARM packages and list their dependencies without installing them on x86 machine? My package repository contains a number of rpm packages for armv7l architecture and no packages for x86. Sometimes I need to to know what are dependencies of a given package. Currently only .noarch packages are found with yum list. I didn't find such option and I rather guess that this is impossible so my next question would be why - is it technically justified or is it just an arbitrary decision "let's not care about other architectures that ours"?

I also tried repolist tool. I installed zypper on my ARM machine. However, I would prefer to be able browse my repository on full-blown x86 box.
 
Old 06-09-2015, 11:58 AM   #2
joec@home
Member
 
Registered: Sep 2009
Location: Galveston Tx
Posts: 291

Rep: Reputation: 70
You might want to look into the "deplist" option?

from yum man
http://linux.die.net/man/8/yum

deplist
Produces a list of all dependencies and what packages provide those dependencies for the given packages.

With regards to juggling odd RPM's, because of the dependency lists you can end up with a system that is no longer able to install or upgrade anything without a forced function because it will fail all the dependencies. So on a test server, you just download the RPM and run a force install, then see how badly it might possibly break a production server.
 
Old 06-09-2015, 12:05 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
Quote:
I also tried repolist tool. I installed zypper on my ARM machine. However, I would prefer to be able browse my repository on full-blown x86 box.
WHAT operating system is this ?

you really can NOT install fedora rpms on OpenSUSE

opensuse uses zypper
this is the fedora section

BUT
fedora is deprecating yum
please use the current program " DNF "
 
Old 06-09-2015, 12:21 PM   #4
average_user
Member
 
Registered: Dec 2010
Location: Warsaw, Poland
Distribution: Slackware
Posts: 560

Original Poster
Rep: Reputation: 220Reputation: 220Reputation: 220
As I said, I don't to want to install any packages on my system. I work with an ARM development board that uses RPM. We have quite big local repository of RPMs for ARM. I need to know what a given package depends on to be able to quickly install debug packages of all dependent packages in case of a crash of a program that was installed by the given package. I would install these debug packages on a board of course. The problem is that both yum and repolist when pointed to repository of ARM RPMs cannot find any packages and only show *.noarch packages. deplist option also doesn't work:

Code:
$ yum deplist which.noarch
Finding dependencies:
package: which.noarch 0.1-3.1
  dependency: /bin/sh
   Unsatisfied dependency
$ yum deplist <arm-package>
Finding dependencies:
$
EDIT:

I installed zypper on the ARM development board and it finds ARM packages, however I would prefer to be able to that on my x86 machine.

Last edited by average_user; 06-09-2015 at 12:23 PM.
 
Old 06-14-2015, 02:23 PM   #5
average_user
Member
 
Registered: Dec 2010
Location: Warsaw, Poland
Distribution: Slackware
Posts: 560

Original Poster
Rep: Reputation: 220Reputation: 220Reputation: 220
Ok, so apparently by design yum or rpm libraries it uses don't care about packages for other architectures and it's not possible to change it without modifying their source code.

Marking this thread as SOLVED.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Eltechs has launched a virtual machine to run x86 apps on ARM serene Linux - News 0 10-13-2014 11:23 AM
[SOLVED] Add packages to local yum repository Kustom42 Linux - Server 2 07-17-2013 03:48 AM
How to put modify packages in YUM repository bpassawe Linux - Newbie 2 04-20-2011 05:08 AM
[SOLVED] how to use x86 to build assemly program for arm machine. Justinguo Programming 4 04-18-2011 12:13 PM
Unable to install packages from YUM repository ( RHEL5 ) saagar Linux - Newbie 7 01-07-2009 09:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 08:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration