
USM Unified Slackware Package Manager
-
- Contributor
- Posts: 669
- Joined: 26 Jun 2013, 14:03
- Distribution: x64 Openbox
- Location: against russian attacks
- Contact:
Re: USM Unified Slackware Package Manager
OK. I found it - devel module must be activated (LXDE) to search all databases. Must be so? 

You have mind and feelings. Be wise and clever.
- brokenman
- Site Admin
- Posts: 6104
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
- Contact:
Re: USM Unified Slackware Package Manager
No, the devel module should not have any impact on USM unless you are wanting to build from SBo in which case at least the 'make' command will be needed. This is checked and a message given if not present. Let me double check this.
How do i become super user?
Wear your underpants on the outside and put on a cape.
Wear your underpants on the outside and put on a cape.
-
- Full of knowledge
- Posts: 363
- Joined: 02 Jan 2011, 18:41
- Distribution: Porteus 5.0-RC1
- Location: In a hayfield
Re: USM Unified Slackware Package Manager
Checking dependencies through USM on wmweather-2.4.5-i486-1ponce gives 'this is not a valid file' error.
Running 'usm -l shows the package installed. It shows the same error on other packages.
EDIT: Disregard, it was a syntax error on my part.
Running 'usm -l shows the package installed. It shows the same error on other packages.
EDIT: Disregard, it was a syntax error on my part.
- brokenman
- Site Admin
- Posts: 6104
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
- Contact:
Re: USM Unified Slackware Package Manager
Updated database
How do i become super user?
Wear your underpants on the outside and put on a cape.
Wear your underpants on the outside and put on a cape.
- Slaxmax
- Contributor
- Posts: 408
- Joined: 03 Jan 2013, 09:51
- Distribution: KDE4
- Location: Campinas Brazil https://goo.gl/yrxwKi
Re: USM Unified Slackware Package Manager
problem
usm in loop package (eet-1.7.8-i486-1ponce.txz)
and error (/usr/share/usm/funcpackageGet: line 326: [: too many arguments)
usm in loop package (eet-1.7.8-i486-1ponce.txz)
and error (/usr/share/usm/funcpackageGet: line 326: [: too many arguments)
Code: Select all
root@porteus:/home/guest# usm -g enlightenment
The following items were found.
Choose an number to confirm.
ctrl+c to quit
1) enlightenment-0.17.4-i486-1ponce.txz
#? 1
Processing: enlightenment-0.17.4-i486-1ponce.txz
Libraries required: 81
Libraries found in system: 54
Libraries to resolve: 27
Processing library: libecore.so.1
Processing library: libecore_con.so.1
Processing library: libecore_evas.so.1
Processing library: libecore_fb.so.1
Processing library: libecore_file.so.1
Processing library: libecore_imf.so.1
Processing library: libecore_imf_evas.so.1
Processing library: libecore_input.so.1
Processing library: libecore_input_evas.so.1
Processing library: libecore_ipc.so.1
Processing library: libecore_x.so.1
Processing library: libedbus.so.1
Processing library: libedje.so.1
Processing library: libeet.so.1
Processing library: libefreet.so.1
Processing library: libefreet_mime.so.1
Processing library: libefreet_trash.so.1
Processing library: libehal.so.1
Processing library: libeina.so.1
Processing library: libeio.so.1
Processing library: libembryo.so.1
Processing library: libenotify.so.1
Processing library: libeukit.so.1
Processing library: libevas.so.1
Processing library: libgnutls.so.28
Processing library: liblua.so
Processing library: libp11-kit.so.0
Processing: ecore-1.7.8-i486-1ponce.txz
Libraries required: 65
Libraries found in system: 51
Libraries to resolve: 14
Processing library: libecore.so.1
Processing library: libecore_con.so.1
Processing library: libecore_fb.so.1
Processing library: libecore_imf.so.1
Processing library: libecore_input.so.1
Processing library: libecore_input_evas.so.1
Processing library: libecore_ipc.so.1
Processing library: libecore_x.so.1
Processing library: libeet.so.1
/usr/share/usm/funcpackageGet: line 326: [: eet-1.7.8-i486-1ponce.txz: unary operator expected
Processing library: libeina.so.1
Processing library: libevas.so.1
Processing library: libgnutls.so.28
Processing library: libp11-kit.so.0
Processing library: libscim-1.0.so.8
Processing: e_dbus-1.7.8-i486-1ponce.txz
Libraries required: 70
Libraries found in system: 51
Libraries to resolve: 19
Processing library: libebluez.so.1
Processing library: libeconnman0_7x.so.1
Processing library: libecore.so.1
Processing library: libecore_con.so.1
Processing library: libecore_evas.so.1
Processing library: libecore_fb.so.1
Processing library: libecore_input.so.1
Processing library: libecore_input_evas.so.1
Processing library: libecore_ipc.so.1
Processing library: libecore_x.so.1
Processing library: libedbus.so.1
Processing library: libeet.so.1
/usr/share/usm/funcpackageGet: line 326: [: eet-1.7.8-i486-1ponce.txz: binary operator expected
Processing library: libeina.so.1
Processing library: libenotify.so.1
Processing library: libeofono.so.1
Processing library: libeukit.so.1
Processing library: libevas.so.1
Processing library: libgnutls.so.28
Processing library: libp11-kit.so.0
Processing: edje-1.7.8-i486-1ponce.txz
Libraries required: 70
Libraries found in system: 50
Libraries to resolve: 20
Processing library: libecore.so.1
Processing library: libecore_con.so.1
Processing library: libecore_evas.so.1
Processing library: libecore_fb.so.1
Processing library: libecore_file.so.1
Processing library: libecore_imf.so.1
Processing library: libecore_imf_evas.so.1
Processing library: libecore_input.so.1
Processing library: libecore_input_evas.so.1
Processing library: libecore_ipc.so.1
Processing library: libecore_x.so.1
Processing library: libedje.so.1
Processing library: libeet.so.1
/usr/share/usm/funcpackageGet: line 326: [: too many arguments
Processing library: libeina.so.1
Processing library: libeio.so.1
Processing library: libembryo.so.1
Processing library: libevas.so.1
Processing library: libgnutls.so.28
Processing library: liblua.so
Processing library: libp11-kit.so.0
Processing: eet-1.7.8-i486-1ponce.txz
Libraries required: 15
Libraries found in system: 11
Libraries to resolve: 4
Processing library: libeet.so.1
/usr/share/usm/funcpackageGet: line 326: [: too many arguments
Processing library: libeina.so.1
Processing library: libgnutls.so.28
Processing library: libp11-kit.so.0
Processing: efreet-1.7.8-i486-1ponce.txz
Libraries required: 29
Libraries found in system: 20
Libraries to resolve: 9
Processing library: libecore.so.1
Processing library: libecore_con.so.1
Processing library: libecore_file.so.1
Processing library: libeet.so.1
/usr/share/usm/funcpackageGet: line 326: [: too many arguments
Processing library: libefreet.so.1
Processing library: libefreet_mime.so.1
Processing library: libeina.so.1
Processing library: libgnutls.so.28
Processing library: libp11-kit.so.0
Processing: eina-1.7.8-i486-1ponce.txz
Libraries required: 4
Libraries found in system: 4
Libraries to resolve: 0
Processing: eio-1.7.8-i486-1ponce.txz
Libraries required: 17
Libraries found in system: 12
Libraries to resolve: 5
Processing library: libecore.so.1
Processing library: libeet.so.1
/usr/share/usm/funcpackageGet: line 326: [: too many arguments
Processing library: libeina.so.1
Processing library: libgnutls.so.28
Processing library: libp11-kit.so.0
Processing: embryo-1.7.8-i486-1ponce.txz
Libraries required: 6
Libraries found in system: 4
Libraries to resolve: 2
Processing library: libeina.so.1
Processing library: libembryo.so.1
Processing: evas-1.7.8-i486-1ponce.txz
Libraries required: 48
Libraries found in system: 43
Libraries to resolve: 5
Processing library: libeet.so.1
/usr/share/usm/funcpackageGet: line 326: [: too many arguments
Processing library: libeina.so.1
Processing library: libevas.so.1
Processing library: libgnutls.so.28
Processing library: libp11-kit.so.0
Processing: gnutls-3.1.16-i486-1.txz
Libraries required: 19
Libraries found in system: 14
Libraries to resolve: 5
Processing library: libgc.so.1
More than one package contains: libgc.so.1
gc-7.4.0-i486-1sl.txz 193K slacky
gc-7.2d-i486-1.txz 232K slackware
The following items were found.
Choose an number to confirm.
ctrl+c to quit
1) gc-7.4.0-i486-1sl.txz
2) gc-7.2d-i486-1.txz
#? 1
Processing library: libgnutls.so.28
Processing library: libguile-2.0.so.22
Processing library: libp11-kit.so.0
Processing library: libunistring.so.0
Processing: lua-5.1.5-i486-1alien.tgz
Libraries required: 5
Libraries found in system: 5
Libraries to resolve: 0
Processing: p11-kit-0.16.4-i486-1.txz
Libraries required: 4
Libraries found in system: 2
Libraries to resolve: 2
Processing library: libp11-kit.so.0
Processing library: libtasn1.so.6
Processing: scim-1.4.14-i486-4.txz
Libraries required: 72
Libraries found in system: 65
Libraries to resolve: 7
Processing library: libatk-bridge-2.0.so.0
Processing library: libatspi.so.0
Processing library: libgdk-3.so.0
Processing library: libgtk-3.so.0
Processing library: libscim-1.0.so.8
Processing library: libscim-gtkutils-1.0.so.8
Processing library: libscim-x11utils-1.0.so.8
Processing: eet-1.7.8-i486-1ponce.txz
Libraries required: 15
Libraries found in system: 11
Libraries to resolve: 4
Processing library: libeet.so.1
/usr/share/usm/funcpackageGet: line 326: [: too many arguments
Processing library: libeina.so.1
Processing library: libgnutls.so.28
Processing library: libp11-kit.so.0
Processing: gc-7.4.0-i486-1sl.txz
Libraries required: 6
Libraries found in system: 5
Libraries to resolve: 1
Processing library: libgc.so.1
Processing: guile-2.0.9-i486-1.txz
Libraries required: 12
Libraries found in system: 9
Libraries to resolve: 3
Processing library: libgc.so.1
Processing library: libguile-2.0.so.22
Processing library: libunistring.so.0
Processing: libunistring-0.9.3-i486-1.txz
Processing: libtasn1-3.3-i486-1.txz
Libraries required: 1
Libraries found in system: 0
Libraries to resolve: 1
Processing library: libtasn1.so.6
Processing: at-spi2-atk-2.8.1-i486-1.txz
Libraries required: 18
Libraries found in system: 16
Libraries to resolve: 2
Processing library: libatk-bridge-2.0.so.0
Processing library: libatspi.so.0
Processing: at-spi2-core-2.8.0-i486-1.txz
Libraries required: 23
Libraries found in system: 21
Libraries to resolve: 2
Processing library: libXevie.so.1
Processing library: libatspi.so.0
Processing: gtk+3-3.8.2-i486-2.txz
Libraries required: 68
Libraries found in system: 64
Libraries to resolve: 4
Processing library: libatk-bridge-2.0.so.0
Processing library: libatspi.so.0
Processing library: libgdk-3.so.0
Processing library: libgtk-3.so.0
Processing: eet-1.7.8-i486-1ponce.txz
Libraries required: 15
Libraries found in system: 11
Libraries to resolve: 4
Processing library: libeet.so.1
/usr/share/usm/funcpackageGet: line 326: [: too many arguments
Processing library: libeina.so.1
Processing library: libgnutls.so.28
Processing library: libp11-kit.so.0
Processing: libXevie-1.0.3-i486-1.txz
Libraries required: 6
Libraries found in system: 6
Libraries to resolve: 0
Processing: eet-1.7.8-i486-1ponce.txz
Libraries required: 15
Libraries found in system: 11
Libraries to resolve: 4
Processing library: libeet.so.1
/usr/share/usm/funcpackageGet: line 326: [: too many arguments
Processing library: libeina.so.1
Processing library: libgnutls.so.28
Processing library: libp11-kit.so.0
Processing: eet-1.7.8-i486-1ponce.txz
Libraries required: 15
Libraries found in system: 11
Libraries to resolve: 4
Processing library: libeet.so.1
/usr/share/usm/funcpackageGet: line 326: [: too many arguments
Processing library: libeina.so.1
Processing library: libgnutls.so.28
Processing library: libp11-kit.so.0
Processing: eet-1.7.8-i486-1ponce.txz
Libraries required: 15
Libraries found in system: 11
Libraries to resolve: 4
Processing library: libeet.so.1
/usr/share/usm/funcpackageGet: line 326: [: too many arguments
Processing library: libeina.so.1
Processing library: libgnutls.so.28
Processing library: libp11-kit.so.0
Processing: eet-1.7.8-i486-1ponce.txz
Libraries required: 15
Libraries found in system: 11
Libraries to resolve: 4
Processing library: libeet.so.1
/usr/share/usm/funcpackageGet: line 326: [: too many arguments
Processing library: libeina.so.1
Processing library: libgnutls.so.28
Processing library: libp11-kit.so.0
Processing: eet-1.7.8-i486-1ponce.txz
^C
“DNA is like a computer program but far, far more advanced than any software ever created.”
― Bill Gates, The Road Ahead
― Bill Gates, The Road Ahead
- freestyler
- Contributor
- Posts: 384
- Joined: 17 Oct 2013, 14:21
- Distribution: Porteus XFCE
Re: USM Unified Slackware Package Manager
@Slaxmax: I just spent the last 2 hours trying to work it out. Im not sure but I think there may be something wrong with the eet-1.7.8-i486-1ponce.txz package that is causing a problem with USM. If I do usm -g eet I get error
If I remove lines 68-71 from /usr/share/usm/funcpackageGet it will let me download it but doesnt help with downloading enlightenment-0.17.4-i486-1ponce.txz with USM.
If your looking for a temporary work around, download gslapt with USM then add http://ponce.cc/slackware/slackware-14.1/packages/ as a source. If you search enlight it will list all the required packages. Just select them all and click install, choose download only, from there you can make them into modules or one module. I think the only package missing is QT which you can download from USM.
Code: Select all
/usr/share/usm/funcpackageGet: line 69: declare: 104 104: syntax error in expression (error token is "104")
If your looking for a temporary work around, download gslapt with USM then add http://ponce.cc/slackware/slackware-14.1/packages/ as a source. If you search enlight it will list all the required packages. Just select them all and click install, choose download only, from there you can make them into modules or one module. I think the only package missing is QT which you can download from USM.
https://www.porteus-apps.org
- francois
- Contributor
- Posts: 6332
- 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
I often get up stuck with usm with the following message:
Am I the only one?
I have the impression that I get into save changes corrupted file or the kind very often. Could there be a simple command that could clean the hole usm installation and restore to usm?
Thanks.
Code: Select all
Cannot execute command ' /usr/bin/usmgui'
I have the impression that I get into save changes corrupted file or the kind very often. Could there be a simple command that could clean the hole usm installation and restore to usm?
Thanks.
Prendre son temps, profiter de celui qui passe.
- Ed_P
- Contributor
- Posts: 7915
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.0 ISO
- Location: Western NY, USA
Re: USM Unified Slackware Package Manager
Have you tried using just usmgui? That's what I have been using the past couple of days.francois wrote:I often get up stuck with usm with the following message:Code: Select all
Cannot execute command ' /usr/bin/usmgui'
That would be helpful IMO.Could there be a simple command that could clean the hole usm installation and restore to usm?
Ed
- francois
- Contributor
- Posts: 6332
- 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
The error message is from the gui.
Prendre son temps, profiter de celui qui passe.
- brokenman
- Site Admin
- Posts: 6104
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
- Contact:
Re: USM Unified Slackware Package Manager
### IMPORTANT
Problems have been reported when running this script and using the changes=EXIT cheatcode. The reason is the creation of a whiteout file /mnt/live/memory/changes/etc/usm/.wh.usm.conf
Save this as update-usm.sh and run it. It will always update your installation to the latest. You will need to update databases again after running this. You probably won't be able to mount a usm-latest-0.0-noarch-1.xzm over the top of it later on.
If you want a simple command then save the script as /usr/bin/usm-update
Then do: chmod +x /usr/bin/usm-update
Problems have been reported when running this script and using the changes=EXIT cheatcode. The reason is the creation of a whiteout file /mnt/live/memory/changes/etc/usm/.wh.usm.conf
Code: Select all
#!/bin/bash
DATADIR=/usr/share
BINDIR=/usr/bin
SYSCONFDIR=/etc
MANDIR=/usr/man/man8
TARGET=usm
LATEST=usm-latest-0.0-noarch-1.txz
PKG=http://sourceforge.net/projects/usm/files/$LATEST/download
echo "Removing USM"
rm -f ${BINDIR}/${TARGET}
rm -f ${BINDIR}/${TARGET}gui
rm -f ${BINDIR}/packagetools
rm -f ${DATADIR}/applications/${TARGET}.desktop
rm -f ${DATADIR}/icons/hicolor/48x48/apps/usm*
rm -rf ${SYSCONFDIR}/${TARGET}
rm -rf ${DATADIR}/usm
rm -f /${MANDIR}/${TARGET}.8*
rm -rf /var/usm
echo "Installing USM"
wget --no-check-certificate --trust-server-names $PKG -P /tmp || { echo "No internet!!"; exit; }
installpkg /tmp/$LATEST
If you want a simple command then save the script as /usr/bin/usm-update
Then do: chmod +x /usr/bin/usm-update
How do i become super user?
Wear your underpants on the outside and put on a cape.
Wear your underpants on the outside and put on a cape.
- francois
- Contributor
- Posts: 6332
- 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
It seems that you always have the solution at hand. In addition, you are faster than your shade, a real Lucky Luke. It did work on my 32 bit porteus installation.
Thanks brokenman.
Thanks brokenman.

Prendre son temps, profiter de celui qui passe.
- brokenman
- Site Admin
- Posts: 6104
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
- Contact:
Re: USM Unified Slackware Package Manager
Thanks Francois. I don't know that I am as fast as my shadow though. I have to complete a certain project I am working on now before I can really take another good look at USM. I want to get all these little bugs out of the way and release a Porteus update for USM. I believe USM has potential to grow but I need to make sure it is rock solid stable and easy to use. There have been too many problems I'm hearing of so I think I need to take a look at making it more user friendly and fool proof. Better error messages would be a good start, also an uninstaller so people can replace it with slackyd if they choose.
How do i become super user?
Wear your underpants on the outside and put on a cape.
Wear your underpants on the outside and put on a cape.
- fanthom
- Moderator Team
- Posts: 5622
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
- Contact:
Re: USM Unified Slackware Package Manager
package manager is a critical application so what about this:
upon launch USM contacts our server and checks the version. if does not match then upgrade automatically.
people doesnt launch USM that often so this system hopefully wont cause any DDOS on our server
upon launch USM contacts our server and checks the version. if does not match then upgrade automatically.
people doesnt launch USM that often so this system hopefully wont cause any DDOS on our server

Please add [Solved] to your thread title if the solution was found.
- brokenman
- Site Admin
- Posts: 6104
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
- Contact:
Re: USM Unified Slackware Package Manager
This is a good idea. Do you think it shoul dbe made active by default or disabled and left to the user to choose the automatic check of updates?
How do i become super user?
Wear your underpants on the outside and put on a cape.
Wear your underpants on the outside and put on a cape.
- freestyler
- Contributor
- Posts: 384
- Joined: 17 Oct 2013, 14:21
- Distribution: Porteus XFCE
Re: USM Unified Slackware Package Manager
Good idea. I think it should be set to update by default.
Ive noticed that when it does update, USM need to be restarted or it wont search packages. That may be the cause of some peoples problems.
Ive noticed that when it does update, USM need to be restarted or it wont search packages. That may be the cause of some peoples problems.
https://www.porteus-apps.org