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
brokenman
Site Admin
Site Admin
Posts: 5575
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: USM Unified Slackware Package Manager

Post#196 by brokenman » 15 Apr 2014, 00:12

Tome I will assume you have updated the databases: usm -u all and then usm -u sbo

Can you give me an example of a package that isn't found?
How do i become super user?
Wear your underpants on the outside and put on a cape.

tome
Contributor
Contributor
Posts: 571
Joined: 26 Jun 2013, 14:03
Distribution: x64 Openbox
Location: Poland
Contact:

Re: USM Unified Slackware Package Manager

Post#197 by tome » 15 Apr 2014, 15:11

OK. I found it - devel module must be activated (LXDE) to search all databases. Must be so? :unknown:

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

Re: USM Unified Slackware Package Manager

Post#198 by brokenman » 17 Apr 2014, 01:40

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.

roadie
Full of knowledge
Full of knowledge
Posts: 205
Joined: 02 Jan 2011, 18:41
Distribution: Porteus 3.5...with a twist
Location: In a hayfield

Re: USM Unified Slackware Package Manager

Post#199 by roadie » 21 Apr 2014, 20:45

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.

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

Re: USM Unified Slackware Package Manager

Post#200 by brokenman » 25 Apr 2014, 01:07

Updated database
How do i become super user?
Wear your underpants on the outside and put on a cape.

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

Re: USM Unified Slackware Package Manager

Post#201 by Slaxmax » 27 Apr 2014, 05:11

problem
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

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#202 by freestyler » 28 Apr 2014, 03:12

@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

Code: Select all

/usr/share/usm/funcpackageGet: line 69: declare: 104 104: syntax error in expression (error token is "104")
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.
https://www.porteus-apps.org

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

Re: USM Unified Slackware Package Manager

Post#203 by francois » 09 May 2014, 01:06

I often get up stuck with usm with the following message:

Code: Select all

Cannot execute command ' /usr/bin/usmgui'
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.
Voltaire: Le mieux est l'ennemi du bien.

User avatar
Ed_P
Contributor
Contributor
Posts: 3327
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 3.2.2 64-bit ISO
Location: Western NY, USA

Re: USM Unified Slackware Package Manager

Post#204 by Ed_P » 09 May 2014, 02:45

francois wrote:I often get up stuck with usm with the following message:

Code: Select all

Cannot execute command ' /usr/bin/usmgui'
Have you tried using just usmgui? That's what I have been using the past couple of days.
Could there be a simple command that could clean the hole usm installation and restore to usm?
That would be helpful IMO.
Ed

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

Re: USM Unified Slackware Package Manager

Post#205 by francois » 09 May 2014, 03:07

The error message is from the gui.
Voltaire: Le mieux est l'ennemi du bien.

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

Re: USM Unified Slackware Package Manager

Post#206 by brokenman » 09 May 2014, 20:41

### 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

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
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
How do i become super user?
Wear your underpants on the outside and put on a cape.

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

Re: USM Unified Slackware Package Manager

Post#207 by francois » 10 May 2014, 00:18

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. :)
Voltaire: Le mieux est l'ennemi du bien.

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

Re: USM Unified Slackware Package Manager

Post#208 by brokenman » 10 May 2014, 01:29

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.

User avatar
fanthom
Site Admin
Site Admin
Posts: 4620
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland, currently - Cork, IE
Contact:

Re: USM Unified Slackware Package Manager

Post#209 by fanthom » 10 May 2014, 06:10

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 :)
Please add [Solved] to your thread title if the solution was found.

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

Re: USM Unified Slackware Package Manager

Post#210 by brokenman » 11 May 2014, 22:12

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.

Post Reply