Dependencies Resolver

Post tutorials, HOWTO's and other useful resources here.
Post Reply
Bogomips
Full of knowledge
Full of knowledge
Posts: 2522
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Dependencies Resolver

Post#1 by Bogomips » 31 Dec 2015, 20:11

This is an intelligence driven procedure, which just replaces what you would do manually if going through pkgs.org. The procedure is verbose, in that it provides a running commentary, which should be familiar to anyone who has tried to find dependencies in pkgs.org.

The Resolver works by analysing the Documentation in 'pkgs.org'. Does not work well for Slackware, due to inadequate documentation in pkgs.org, and USM should in any case be used there. Should the Resolver come across a dependency available as Slackware Package, there will be a prompt to run USM. Unless there is good reason not to, this option should be taken if the package is available as 14.1 version. (AFAIK usm does not work with earlier versions) The option for Activating the resultant Module should also be taken.
  • In the README there is mention of providing a user agent for wget. Try first without this, and see if it works (i.e. wget does not error out).
  • Upon activation of the resolver module, a dialog will open to set up a working directory to which the module scripts will be copied.
  • Once activation is finished with, the module should be deactivated, in order to remove the temporary filesystem used.
  • The README can at any time be displayed through the invocation of XREADME in the working directory

    Code: Select all

    /<Path to Working Directory>/XREADME  [/<Path to README>[/README]]
(Hints are provided as to the suitability of a version for a specific package file. However there could be an instance or two where the hints are erroneous. Also come across space issue in using /tmp to modularise a directory of usm downloaded package files. Therefore best done separately in another terminal tab.)

md5sum resolver-0.1.0-noarch-2.xzm
c514d9c5d6a88d49a7e46c9cccec9cac resolver-0.1.0-noarch-2.xzm

More Info to be Found Here.

Enjoy!
Last edited by Bogomips on 17 Mar 2016, 16:24, edited 1 time in total.
Reason: Groups other than 'guest', like 'users'.
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

User avatar
brokenman
Site Admin
Site Admin
Posts: 5439
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: Dependencies Resolver

Post#2 by brokenman » 01 Jan 2016, 14:06

Good work. Something that may help pkg.org users is the the following tip.

If you go to pkg.org (type it in your browser) and then select slackware-14.1 from the list, you get a list of all slackware package repositories available. There are thousands of packages easily available here.
How do i become super user?
Wear your underpants on the outside and put on a cape.

Bogomips
Full of knowledge
Full of knowledge
Posts: 2522
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: Dependencies Resolver

Post#3 by Bogomips » 01 Jan 2016, 16:39

^ Yes. It's pkgs.org and it's working. 8)
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

Post Reply