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
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#136 by Slaxmax » 14 Mar 2014, 20:54

error

Code: Select all

root@porteus:/home/guest# usm -s psx

awk: fatal: cannot open file `/var/usm/sbo/SLACKBUILDS.TXT' for reading (No such file or directory)
Nothing found for psx
“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: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: USM Unified Slackware Package Manager

Post#137 by brokenman » 14 Mar 2014, 22:55

Thanks. Looks like I forgot to include sbo in the update list. I will have to add it to: usm -u all

For now just run: usm -u sbo to fix it.
How do i become super user?
Wear your underpants on the outside and put on a cape.

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

Re: USM Unified Slackware Package Manager

Post#138 by brokenman » 17 Mar 2014, 04:28

Added proxy support for CLI.

This has only only been added to the git tree while testing.
https://github.com/brokenman/usm

Code: Select all

git clone git://github.com/brokenman/usm
cd usm
make STRIP_COMMENTS=false install
How do i become super user?
Wear your underpants on the outside and put on a cape.

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

Re: USM Unified Slackware Package Manager

Post#139 by bour59 » 18 Mar 2014, 16:48

hello
in /etc/usm/slackwarepatches.txt all "http or ftp" are commented
so the database is not downloaded
... very userfull package manager

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

Re: USM Unified Slackware Package Manager

Post#140 by brokenman » 18 Mar 2014, 23:17

Thanks Bour. In fact there is one uncommented line (73). In any case the slackware patches URL is contained within the slackware database so this file is actually not used but I left it there for future use.
How do i become super user?
Wear your underpants on the outside and put on a cape.

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

Re: USM Unified Slackware Package Manager

Post#141 by brokenman » 19 Mar 2014, 02:01

The following updates have been made to github. It is not yet available under the update function of USM.

Added proxy support and support for resolving dependencies for a single package.
For proxy support just edit the config file.

Finding missing dependencies works like this:

Code: Select all

usm -d /var/log/packages/my-package
usm -d /tmp/my-package.txz
usm -d  ## This will show all missing system deps
How do i become super user?
Wear your underpants on the outside and put on a cape.

neko
DEV Team
DEV Team
Posts: 2109
Joined: 09 Feb 2013, 09:55
Distribution: APorteus-FVWM-ja-x86_64.iso
Location: japan

Re: USM Unified Slackware Package Manager

Post#142 by neko » 20 Mar 2014, 16:34

usm-3.1.0-noarch-3.xzm
http://www.mediafire.com/download/extof ... arch-3.xzm
md5sum: a9a72c5ac94b4df4df367de28934ab1a usm-3.1.0-noarch-3.xzm

is inserted the routines that were dropped out.

By multi language, on the newest version tool selectors don't work.
So, this is a trial version.

Thanks.

User avatar
francois
Contributor
Contributor
Posts: 6434
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#143 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: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: USM Unified Slackware Package Manager

Post#144 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: 6434
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#145 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: 181
Joined: 29 Dec 2010, 08:10
Distribution: porteus v5.0-xfce K5.19.7
Location: France

Re: USM Unified Slackware Package Manager

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

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

User avatar
francois
Contributor
Contributor
Posts: 6434
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#147 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: 6434
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#148 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: 6434
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#149 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: 181
Joined: 29 Dec 2010, 08:10
Distribution: porteus v5.0-xfce K5.19.7
Location: France

Re: USM Unified Slackware Package Manager

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

hello
just another proposal : include slackware-current
thanks

Post Reply