Missing dependencies from USM ?

Post here if you are a new Porteus member and you're looking for some help.
Post Reply
kbmummy11
Ronin
Ronin
Posts: 1
Joined: 11 Apr 2015, 18:09
Distribution: unknown
Location: uk

Missing dependencies from USM ?

Post#1 by kbmummy11 » 11 Apr 2015, 18:18

Hi all :)
I'm a Mint user but needed a super-lightweight distro to run on my very small HDD-netbook, hence being here...
I have searched both the forums and the web generally and am still stumped. Light as it is, I do want to add a couple of programs/search for what's out there, but each time I try and run USM/PPM I get the error message

'You need the following programs to continue : installpkg removepkg'. Is there a quick way to do this via terminal, allowing me to search by type/name for new programs ?

Many thanks in advance

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

Re: Missing dependencies from USM ?

Post#2 by Bogomips » 11 Apr 2015, 18:31

Normally you have to run as root in order to use USM. If running as sudo you need to add to your path. At command prompt: PATH+=:/sbin.
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
francois
Contributor
Contributor
Posts: 4902
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: Missing dependencies from USM ?

Post#3 by francois » 12 Apr 2015, 01:07

If you are talking about installing the downloaded packages, the best thing is to have them transformed into modules (.xzm) at the same time that you download them (with the usm gui, command line usm does not have this option). This way there will be no need to install packages with installpkg removepkg if you have choosen within usm package manager to transform .txz to .xzm packages into modules. For the packages to become functional you will have transfer these into a dedicated folder which is /porteus/modules folder and reboot if there are many, or simply activate them one by one (installing them) by double clicking on them or using the right click contextual menu.
Voltaire: Le mieux est l'ennemi du bien.

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

Re: Missing dependencies from USM ?

Post#4 by Bogomips » 12 Apr 2015, 19:28

francois wrote:If you are talking about installing the downloaded packages, the best thing is to have them transformed into modules (.xzm) at the same time that you download them (with the usm gui, command line usm does not have this option).
It does though, when the number of packages pulled in as dependencies >= 1, which seems to be a bit of an inconsistency. :unknown:
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

goossbears
White ninja
White ninja
Posts: 8
Joined: 12 Apr 2015, 03:45
Distribution: Multiple. see sig
Location: US

Re: Missing dependencies from USM ?

Post#5 by goossbears » 12 Apr 2015, 22:12

If you are talking about installing the downloaded packages, the best thing is to have them transformed into modules (.xzm) at the same time that you download them (with the usm gui, command line usm does not have this option). This way there will be no need to install packages with installpkg removepkg if you have choosen within usm package manager to transform .txz to .xzm packages into modules. For the packages to become functional you will have transfer these into a dedicated folder which is /porteus/modules folder and reboot if there are many, or simply activate them one by one (installing them) by double clicking on them or using the right click contextual menu.
:pardon: I was given a recommendation (as a Porteus n00B) from someone more knowledgable than me to rather copy any required Slackware disksets locally from <slackware mirror>/slackware/slackware-14.1/slackware/<diskset> and then use installpkg or pkgtool on the locally-stored diskset pkg's instead of using the USM GUI and/or transforming them into .xzm modules.

Guess that YMMV??
GO OpenSourceSoftware Bears!

Debian-based distros, Salix v14.1 XFCE, Porteus v3.1 XFCE....all on 32-bit PCs

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

Re: Missing dependencies from USM ?

Post#6 by Bogomips » 12 Apr 2015, 22:28

goossbears wrote:given a recommendation (as a Porteus n00B) from someone more knowledgable than me to rather copy any required Slackware disksets locally from <slackware mirror>/slackware/slackware-14.1/slackware/<diskset> and then use installpkg or pkgtool on the locally-stored diskset pkg's instead of using the USM GUI and/or transforming them into .xzm modules.
Well, IMHO that does seem to defeat the whole purpose of Porteus :twisted:
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

donald
Full of knowledge
Full of knowledge
Posts: 1123
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

Re: Missing dependencies from USM ?

Post#7 by donald » 12 Apr 2015, 22:53

^
for the application of system-relevant security patches it is acceptable.
(openssl,bash etc.) imo :wink:

User avatar
francois
Contributor
Contributor
Posts: 4902
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: Missing dependencies from USM ?

Post#8 by francois » 14 Apr 2015, 03:56

@goossbear:
What about asking your more knowledgeable friend and providing us with the solution? :)
Voltaire: Le mieux est l'ennemi du bien.

goossbears
White ninja
White ninja
Posts: 8
Joined: 12 Apr 2015, 03:45
Distribution: Multiple. see sig
Location: US

Re: Missing dependencies from USM ?

Post#9 by goossbears » 14 Apr 2015, 18:51

@goossbear:
What about asking your more knowledgeable friend and providing us with the solution?
I myself have more familiarity with the Debian-based distros' dependency-checking high-level apt tools (apt-get, aptitude, synaptic), and its non-dependency-checking low-level dpkg which all act upon .deb pkgs.
Porteus's USM is apparently "supposed to be"(?) similar to Debian's dependency-checking high-level apt tools. Native Slackware's non-dependency-checking low-level pkg-mgmt tool is pkgtool and it acts upon .txz pkgs.
From using Salix and reading up on its package management from http://guide.salixos.org/31PackageManagement.html, slapt-get and slapt-src (using SlackBuilds) are also similar to Debian's dependency-checking high-level apt tools.

So using USM/slapt- tools ---> pkgtool for Porteus/Slackware is roughly comparable to using apt tools ---> dpkg for Debian-based distros. Perhaps this is obvious to all?
In any case, a possible "solution" from my more knowledgeable friend is now in the thread 'Missing dependencies from USM?(2)' in the Community effort forum, link viewtopic.php?f=75&t=4537
GO OpenSourceSoftware Bears!

Debian-based distros, Salix v14.1 XFCE, Porteus v3.1 XFCE....all on 32-bit PCs

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: Missing dependencies from USM ?

Post#10 by brokenman » 15 Apr 2015, 01:54

I will add here what I added to the other thread. There shouldn't be many packages that don't have dependencies resolved through USM. If there are packages that don't resolve then report them in the USM bugs thread and I will add them to the extras file. Usually this will be python deps. I also see no point for downloading an entire slackware repository locally to hunt for dependencies manually. USM spans across 5 slackware repositories and it also searches for individual libraries. You can read the man page for more information on functionality.

Code: Select all

usm -s libpython2.7.so.1.0
The above line will search for the mother package of this library which you can then download using the 'g' switch.
How do i become super user?
Wear your underpants on the outside and put on a cape.

goossbears
White ninja
White ninja
Posts: 8
Joined: 12 Apr 2015, 03:45
Distribution: Multiple. see sig
Location: US

Re: Missing dependencies from USM ?

Post#11 by goossbears » 15 Apr 2015, 05:33

I will add here what I added to the other thread....
That "other thread" is linked at viewtopic.php?f=75&t=4537, and one of the recent entries there tries to tie in most of the previous comments in this 'Newbie questions' thread.
GO OpenSourceSoftware Bears!

Debian-based distros, Salix v14.1 XFCE, Porteus v3.1 XFCE....all on 32-bit PCs

Post Reply