USM Unified Slackware Package Manager

Here is a place for your projects which are not officially supported by the Porteus Team. For example: your own kernel patched with extra features; desktops not included in the standard ISO like Gnome; base modules that are different than the standard ISO, etc...
User avatar
francois
Contributor
Contributor
Posts: 6292
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: USM Unified Slackware Package Manager

Post#166 by francois » 20 Mar 2014, 23:47

Under 32 bit, I was not able to start usm. I have tried to donwload usm from github:
https://github.com/brokenman/usm

usm will not boot. Trying from cli mode:

Code: Select all

root@porteus:~# usm
ps: error while loading shared libraries: libprocps.so.3: cannot open shared object file: No such file or directory
awk: fatal: cannot open file `/etc/usm/usm.conf' for reading (No such file or directory)
/usr/bin/usm: line 61: /etc/usm/usm.conf: No such file or directory
/usr/bin/usm: line 62: /share/usm/funcelementCreate: No such file or directory
/usr/bin/usm: line 63: /share/usm/funccleanup: No such file or directory
/usr/bin/usm: line 64: /share/usm/funcsystemSetup: No such file or directory
/usr/bin/usm: line 65: /share/usm/funccli: No such file or directory
/usr/bin/usm: line 66: /share/usm/funcgtkDialogs: No such file or directory
/usr/bin/usm: line 67: /share/usm/functxtStatic: No such file or directory
/usr/bin/usm: line 68: /share/usm/funcpackageSearch: No such file or directory
/usr/bin/usm: line 69: /share/usm/funcpackageInfo: No such file or directory
/usr/bin/usm: line 70: /share/usm/funcchecks: No such file or directory
/usr/bin/usm: line 71: /share/usm/funcpackageGet: No such file or directory
/usr/bin/usm: line 72: /share/usm/funcupdateDatabase: No such file or directory
/usr/bin/usm: line 73: /share/usm/funcchangelogs: No such file or directory
/usr/bin/usm: line 74: /share/usm/funcslackbuilds: No such file or directory
/usr/bin/usm: line 75: /share/usm/funcsystemDeps: No such file or directory
/usr/bin/usm: line 144: pink: command not found
/usr/bin/usm: line 145: help_check: command not found
/usr/bin/usm: line 157: system_setup: command not found

Invalid command
/usr/bin/usm: line 328: cleanup: command not found
/usr/bin/usm: line 647: cleanup: command not found
root@porteus:~#


thanks
Prendre son temps, profiter de celui qui passe.

User avatar
brokenman
Site Admin
Site Admin
Posts: 6104
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil
Contact:

Re: USM Unified Slackware Package Manager

Post#167 by brokenman » 21 Mar 2014, 00:00

Francois the github holds the realtime source files. Here is how it should be used:

As root

Code: Select all

git clone https://github.com/brokenman/usm.git
cd usm
make install
Then you can use USM as you normally would. I recommend using the slackware package from sourceforge as it contains the required files to use the 'update' function.
How do i become super user?
Wear your underpants on the outside and put on a cape.

User avatar
francois
Contributor
Contributor
Posts: 6292
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: USM Unified Slackware Package Manager

Post#168 by francois » 21 Mar 2014, 20:04

It seems something is escaping to my unrefined spirit:

Code: Select all

root@porteus:~# git clone https://github.com/brokenman/usm.git
bash: git: command not found
root@porteus:~#


There must be a git package somewhere? :oops:
Last edited by francois on 06 Sep 2014, 21:11, edited 1 time in total.
Prendre son temps, profiter de celui qui passe.

bour59
Samurai
Samurai
Posts: 170
Joined: 29 Dec 2010, 08:10
Distribution: porteus v5.0-xfce K5.19.7
Location: France

Re: USM Unified Slackware Package Manager

Post#169 by bour59 » 21 Mar 2014, 22:40

@francois
may be "usm -s git" can help :)

User avatar
francois
Contributor
Contributor
Posts: 6292
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: USM Unified Slackware Package Manager

Post#170 by francois » 23 Mar 2014, 00:42

bour59 wrote:@francois
may be "usm -s git" can help :)
My problem is that usm does not function at all.

I realized that maybe I had not the git package on my system. With git installed as a module. I could git. :)

Code: Select all

git clone https://github.com/brokenman/usm.git
Cloning into 'usm'...
remote: Counting objects: 602, done.
remote: Compressing objects: 100% (9/9), done.
remote: Total 602 (delta 2), reused 0 (delta 0)
Receiving objects: 100% (602/602), 204.80 KiB | 0 bytes/s, done.
Resolving deltas: 100% (351/351), done.
Checking connectivity... done

However, with a little thinking I thought about getting it from pkgs.org, here is git for 64bit:
http://slackware.cs.utah.edu/pub/slackw ... 6_64-1.txz

Just in case some other fellow needs it. :D
Last edited by francois on 06 Sep 2014, 21:11, edited 3 times in total.
Prendre son temps, profiter de celui qui passe.

User avatar
francois
Contributor
Contributor
Posts: 6292
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: USM Unified Slackware Package Manager

Post#171 by francois » 25 Mar 2014, 08:57

@brokenman:

Thanks brokenman. usm gui is updated now on my system.

With this tip on git, once again you have extended my comprehension of the linux universe. With you we always feel that we get smarter. 8)

I hope that you get rid rapidly of this =@ dengue.
Prendre son temps, profiter de celui qui passe.

User avatar
francois
Contributor
Contributor
Posts: 6292
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: USM Unified Slackware Package Manager

Post#172 by francois » 29 Mar 2014, 10:32

Here just proposing a small implement to accelerate the manipulations for modules created by usm. Once the modules are ready there is a message:
modules are in /tmp/usm/, would you offer the option of opening /tmp/usm/ folder?

Thanks. :)
Prendre son temps, profiter de celui qui passe.

bour59
Samurai
Samurai
Posts: 170
Joined: 29 Dec 2010, 08:10
Distribution: porteus v5.0-xfce K5.19.7
Location: France

Re: USM Unified Slackware Package Manager

Post#173 by bour59 » 30 Mar 2014, 14:20

hello
just another proposal : include slackware-current
thanks

User avatar
Slaxmax
Contributor
Contributor
Posts: 408
Joined: 03 Jan 2013, 09:51
Distribution: KDE4
Location: Campinas Brazil https://goo.gl/yrxwKi

Re: USM Unified Slackware Package Manager

Post#174 by Slaxmax » 30 Mar 2014, 18:45

what is this?

Code: Select all

root@porteus:/home/guest# usm -d /var/log/packages/wine-1.7.4-i486-1sl

 Processing  wine-1.7.4-i486-1sl

####################################
cat: /tmp/usm.V0nBng/singlefile.dep: No such file or directory

####################################

Missing dependencies: 0
“DNA is like a computer program but far, far more advanced than any software ever created.”
― Bill Gates, The Road Ahead

User avatar
brokenman
Site Admin
Site Admin
Posts: 6104
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil
Contact:

Re: USM Unified Slackware Package Manager

Post#175 by brokenman » 03 Apr 2014, 03:07

Thanks slaxmax, I have corrected this bug when all deps are resolved and the report file does not exist.

Francois I have added the option to open the storage folder (when in GUI mode) after downloading packages.

Freestyler I will add merge of module to the module tools. This is easier since I can't tell which modules should be merged in the case that someone uses a single download folder for all packages and doesn't delete old stuff. The module tool will allow one to choose which modules they want to merge into one.

Bour I will certainly add slackware-current to USM but i wanted to test it on 14.1 first. Adding slackware-current will increase the slackware user base "10 fold" and I want it to be stable before then.

All the above changes have been added to the github only. Once i add the 'module merge' i will push another version to sourceforge as an official release. To get the updates go into the folder where you first cloned the git repository (above thread) and issue: git pull which will pull all the latest updates. Then make install to install the new files from the source code. If you are asked about overwriting a man file just say yes. This is a slackware file no harm done overwriting in in Porteus.

Thanks very much for road testing this guys. You are all great.
How do i become super user?
Wear your underpants on the outside and put on a cape.

User avatar
freestyler
Contributor
Contributor
Posts: 382
Joined: 17 Oct 2013, 14:21
Distribution: Porteus KDE4
Location: Traveller
Contact:

Re: USM Unified Slackware Package Manager

Post#176 by freestyler » 03 Apr 2014, 03:59

love your work brokenman
https://www.porteus-apps.org

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5588
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Re: USM Unified Slackware Package Manager

Post#177 by fanthom » 03 Apr 2014, 14:01

certainly add slackware-current to USM but i wanted to test it on 14.1
sooner or later you'll get breakage (depends how far Pat goes with libs bumping) . bad idea to include -current.
Please add [Solved] to your thread title if the solution was found.

bour59
Samurai
Samurai
Posts: 170
Joined: 29 Dec 2010, 08:10
Distribution: porteus v5.0-xfce K5.19.7
Location: France

Re: USM Unified Slackware Package Manager

Post#178 by bour59 » 03 Apr 2014, 16:50

Hi!
I thought
/slackware gave tested packages (base)
/currentpatches gave packages to be tested (more accurate)
/current gave packages tested to suit the version of slackware after tested in patches
pls add a warning in packages (patches and current) but add
thanks

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5588
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Re: USM Unified Slackware Package Manager

Post#179 by fanthom » 03 Apr 2014, 17:13

slackware patches is ok as is compiled on stable release.
-current is a 'pre' new release so things must break at some stage.
Please add [Solved] to your thread title if the solution was found.

bour59
Samurai
Samurai
Posts: 170
Joined: 29 Dec 2010, 08:10
Distribution: porteus v5.0-xfce K5.19.7
Location: France

Re: USM Unified Slackware Package Manager

Post#180 by bour59 » 03 Apr 2014, 18:20

ok
I made my proposal based on bind package
which was 9.9.3 in slackware base
then 9.9.4 in testing (runs also)
and is now in current at 9.9.4 (runs always)
sure I can't create a general rule from this tests!
thanks to let me very prudent (as always)
but, let propose current with WARNINGS

Post Reply