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...
bour59
Samurai
Samurai
Posts: 118
Joined: 29 Dec 2010, 08:10
Distribution: porteus v3.2.2-xfce
Location: France

Re: USM Unified Slackware Package Manager

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

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

Re: USM Unified Slackware Package Manager

Post#182 by brokenman » 04 Apr 2014, 00:51

As the application is both for Porteus users and slackware users I intended to allow slackware-current for slackware users. Porteus users will need to stick to Porteus/Slackware version. Some slackware users run only slackware-current and want only packages from slackware-current. When changing versions the database would overwrite the existing one. So, users can choose one or the other but not mix both.
How do i become super user?
Wear your underpants on the outside and put on a cape.

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: USM Unified Slackware Package Manager

Post#183 by francois » 04 Apr 2014, 02:17

Repeating some previous comments. Keep that really good work. usm is a big improvement over ppm.

Thanks.
Voltaire: Le mieux est l'ennemi du bien.

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: USM Unified Slackware Package Manager

Post#184 by francois » 04 Apr 2014, 03:11

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

Trying to update usm, I get:

Code: Select all

You have the current usm version
Trying to download most up to date files thru git, I get:

Code: Select all

root@porteus:~# git clone https://github.com/brokenman/usm.git
fatal: destination path 'usm' already exists and is not an empty directory.
root@porteus:~# 
What did I caught wrong? (cognitive functioning after a certain age seems to become random) :%)

Thanks.
Voltaire: Le mieux est l'ennemi du bien.

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

Re: USM Unified Slackware Package Manager

Post#185 by brokenman » 04 Apr 2014, 03:41

Once you have cloned the tree you just need to issue: git pull to get the latest files.

For example:

Code: Select all

cd /home/guest
git clone https://github.com/brokenman/usm.git
Two days later

Code: Select all

cd /home/guest
git pull
BTW I just added the option to merge multiple packages into one module (only for CLI so far). If multiple packages are sensed then it will ask if you want to merge them or create a separate folder for them. I will add the same function for GUI soon. These options are only available on Porteus installs, not slackware.

PS: cognitive functioning after a certain age does indeed seem .... I think I will get an ice cream.
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: 5436
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: USM Unified Slackware Package Manager

Post#186 by brokenman » 07 Apr 2014, 16:08

Updated to 3.1.1

Please run: usm -u usm to get the latest version.

+-------------------------
Fri Apr 07 13:21:10 UTC 2014
usm-3.1.1-noarch-1.txz: updated
Added GUI merge packages to module for Porteus (freestyler)

+-------------------------
Fri Apr 04 00:27:17 UTC 2014
Added CLI merge packages to module for Porteus (freestyler)

+-------------------------
Thu Apr 03 10:38:27 UTC 2014
Checkbox for convert to module now remembers state

+-------------------------
Wed Apr 02 23:22:09 UTC 2014
Fixed bug in system deps when all deps are resolved - Thanks slaxmax
Added option to open folder after package download - Thanks Francois
Added nodeps argument in CLI mode

+-------------------------
Tue Mar 18 22:09:14 UTC 2014
Added support for proxies
Added support resolve deps for single uninstalled package
How do i become super user?
Wear your underpants on the outside and put on a cape.

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: USM Unified Slackware Package Manager

Post#187 by francois » 08 Apr 2014, 19:06

Thanks a lot for all these additional features.

May you add a clean slackware packages after modules building (keep only the modules) setting? :)
Voltaire: Le mieux est l'ennemi du bien.

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

Re: USM Unified Slackware Package Manager

Post#188 by brokenman » 08 Apr 2014, 23:12

Thanks. Will add it to the next version.
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: 5436
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: USM Unified Slackware Package Manager

Post#189 by brokenman » 10 Apr 2014, 13:07

@bour59
I apologize. I now see what you were saying about the slackwarepatches database not being updated. You are correct. I will fix this shortly.
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#190 by Slaxmax » 11 Apr 2014, 21:18

problem

Code: Select all

root@porteus:/home/guest# usm -version

 You are using USM version:  3.1.1

root@porteus:/home/guest# usm -g gparted

 The following items were found.
 Choose an number to confirm. 
 ctrl+c to quit

1) gparted-0.17.0-i486-1tjb.txz
#? 1

Processing:   gparted-0.17.0-i486-1tjb.txz 

Libraries required:  71
Libraries found in system: 66
Libraries to resolve: 5

Processing library: libatkmm-1.6.so.1

 More than one package contains:  libatkmm-1.6.so.1
atkmm-2.22.6-i486-1alien.tgz  124K  alien
atkmm-2.22.7-i486-1ponce.txz  164K  ponce

 The following items were found.
 Choose an number to confirm. 
 ctrl+c to quit

1) atkmm-2.22.6-i486-1alien.tgz
2) atkmm-2.22.7-i486-1ponce.txz
#? 2
Processing library: libcairomm-1.0.so.1
Processing library: libgdkmm-2.4.so.1

 More than one package contains:  libgdkmm-2.4.so.1
gtkmm-2.24.2-i486-2alien.tgz  1696K  alien
gtkmm-2.24.4-i486-1ponce.txz  9444K  ponce

 The following items were found.
 Choose an number to confirm. 
 ctrl+c to quit

1) gtkmm-2.24.2-i486-2alien.tgz
2) gtkmm-2.24.4-i486-1ponce.txz
#? 2
Processing library: libgtkmm-2.4.so.1
Processing library: libpangomm-1.4.so.1

 More than one package contains:  libpangomm-1.4.so.1
pangomm-2.28.4-i486-1alien.tgz  128K  alien
pangomm-2.34.0-i486-1ponce.txz  120K  ponce

 The following items were found.
 Choose an number to confirm. 
 ctrl+c to quit

1) pangomm-2.28.4-i486-1alien.tgz
2) pangomm-2.34.0-i486-1ponce.txz
#? 2


Processing:   atkmm-2.22.7-i486-1ponce.txz 

Libraries required:  12
Libraries found in system: 12
Libraries to resolve: 0



Processing:   cairomm-1.10.0-i486-1gv.txz 

Libraries required:  35
Libraries found in system: 35
Libraries to resolve: 0



Processing:   gtkmm-2.24.4-i486-1ponce.txz 

Libraries required:  55
Libraries found in system: 51
Libraries to resolve: 4

Processing library: libatkmm-1.6.so.1
Processing library: libcairomm-1.0.so.1
Processing library: libgdkmm-2.4.so.1
Processing library: libpangomm-1.4.so.1


Processing:   pangomm-2.34.0-i486-1ponce.txz 

Libraries required:  38
Libraries found in system: 36
Libraries to resolve: 2

Processing library: libcairomm-1.0.so.1
Processing library: libpng15.so.15


 WARNING: unresolved dependencies remain. 
libpng15.so.15
/usr/share/usm/funcpackageGet: line 69: declare: 711K: value too great for base (error token is "711K")
“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: 5436
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: USM Unified Slackware Package Manager

Post#191 by brokenman » 11 Apr 2014, 23:17

This bug is like Lernaean Hydra! I chop off it's head and two grow back. Thanks again.
How do i become super user?
Wear your underpants on the outside and put on a cape.

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: USM Unified Slackware Package Manager

Post#192 by francois » 12 Apr 2014, 11:45

Trying to use usm gui:

Code: Select all

Cannot execute command /usr/bin/usmgui

Code: Select all

root@porteus:~/Downloads# /usr/bin/usmgui
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 97: export: package_search: not a function
/usr/bin/usm: line 98: export: package_info: not a function
/usr/bin/usm: line 99: export: package_keyword: not a function
/usr/bin/usm: line 100: export: package_get: not a function
/usr/bin/usm: line 101: export: gtk_processing: not a function
/usr/bin/usm: line 102: export: kill_processing: not a function
/usr/bin/usm: line 103: export: check_library: not a function
/usr/bin/usm: line 104: export: gtk_menu_from_variable: not a function
/usr/bin/usm: line 105: export: gtk_message: not a function
/usr/bin/usm: line 106: export: gtk_message1: not a function
/usr/bin/usm: line 107: export: gtk_message2: not a function
/usr/bin/usm: line 108: export: resolve_deps: not a function
/usr/bin/usm: line 157: system_setup: command not found
/usr/bin/usm: line 649: rbutCreate: command not found
/usr/bin/usm: line 649: rbutCreate: command not found
/usr/bin/usm: line 649: rbutCreate: command not found
/usr/bin/usm: line 649: butCreateStock: command not found
awk: fatal: cannot open file `/etc/usm/usm.conf' for reading (No such file or directory)

** (gtkdialog:1695): ERROR **: gtkdialog: Error in line 151, near token '<radiobutton>': syntax error

/usr/bin/usm: line 653:  1693 Done                    echo "$USM_MAIN"
      1694                       | sed '/^##/d'
      1695 Trace/breakpoint trap   | gtkdialog -c -s > /dev/null
/usr/bin/usm: line 655: cleanup: command not found
root@porteus:~/Downloads#
I got it back to work with the following as root:

Code: Select all

git clone https://github.com/brokenman/usm.git
cd usm
make install
Then updating usm gave the message that there was a newest version.

Is the usm -u sbo problem solved in the latest version? Or do we still have to usm -u sbo

I imagine that there might be a simpler way to deal with the problem. Should usm update include git out of the box in case of major problem?
Voltaire: Le mieux est l'ennemi du bien.

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

Re: USM Unified Slackware Package Manager

Post#193 by brokenman » 12 Apr 2014, 21:39

Easy ones first. I just fixed the SBO update in the latest git version. I also fixed a version check for the latest database version. Please 'git pull' for updates.
Not sure why you are having this problem with missing /usr/share/ file francois. I booted to fresh v2.1 and updated ok through USM.

I havn't addressed the bug above from slaxmax yet. I will need more time. Thanks.
How do i become super user?
Wear your underpants on the outside and put on a cape.

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: USM Unified Slackware Package Manager

Post#194 by francois » 12 Apr 2014, 22:09

I imagine that must be some kind of save changes folder issue.
Voltaire: Le mieux est l'ennemi du bien.

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

Re: USM Unified Slackware Package Manager

Post#195 by tome » 14 Apr 2014, 18:43

For any searching I have:
Nothing was found in Slackware but i found this in slackbuilds.
. Any idea what is wrong? How to search alien, salix and so on?

Post Reply