How to use a Fedora 31 VM to resolve rpm dependencies (Or, how to struggle less with porting for RSE)

Unxmaal

Administrator
Feb 8, 2019
98
60
18
Setup

  • Have a physical host running Vagrant
  • Create a directory "fc31_vm"
  • Create Vagrantfile
  • Code:
    Vagrant.configure("2") do |config|
      config.vm.box = "generic/fedora31"
    end
  • Run 'vagrant up'
To find all the deps needed for a given package:
dnf repoquery --requires --resolve libproxy

To find all the packages that rely upon a package:
dnf repoquery --available --alldeps --source --whatrequires libproxy

This beats the heck out of my old process, which was "find something to port. Install its SRPM from FC31 repo. Disable things in the spec that I know won't work. Try to build it. Rinse/repeat for all of its deps."
 

About us

  • Silicon Graphics User Group (SGUG) is a community for users, developers, and admirers of Silicon Graphics (SGI) products. We aim to be a friendly hobbyist community for discussing all aspects of SGIs, including use, software development, the IRIX Operating System, and troubleshooting, as well as facilitating hardware exchange.

User Menu