USM Unified Slackware Package Manager
- 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 to v3.0.2 which addresses above issues. I also added a 'keyword search' option.
+-------------------------
Wed Jan 23 16:52:03 UTC 2014
usm-3.0.2-noarch-1.txz: updated: updated
Added secondary search of slackbuilds after normal search fails
Added usm sbo -b appname
Fixed bug with getting link for slacky
Added sanity check for slackbuilds function
Added keyword search option -k
+-------------------------
Wed Jan 23 16:52:03 UTC 2014
usm-3.0.2-noarch-1.txz: updated: updated
Added secondary search of slackbuilds after normal search fails
Added usm sbo -b appname
Fixed bug with getting link for slacky
Added sanity check for slackbuilds function
Added keyword search option -k
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: 6311
- 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
@brokenman:
I am working with kde 3.0 when I am on usm. I should have some testing in the following hours.
I am working with kde 3.0 when I am on usm. I should have some testing in the following hours.
Prendre son temps, profiter de celui qui passe.
Re: USM Unified Slackware Package Manager
...
Last edited by phhpro on 04 Feb 2016, 00:52, edited 1 time in total.
- 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
The error regarding SLACKBUILDS.TXT.gz is odd. It is working fine here. Did you try updating a second time? It could perhaps be that the file didn't download correctly, hence not being seen as a gzip file.
that would render most of the present PPM redundant.
You are correct in both respects. I was aiming at a broader slackware audience with this tool, and (once modified for porteus) it will render PPM redundant. This means devs will not need to maintain repositories and all packages can be converted client side.
My intention is to wait until this CLI version is stable and then write a front end for it. It would then replace the current PPM. PPM is bloated and the code is far from optimized. It was not easy to write and when i review the code now i understand why. At the time of writing i didn't have a broader picture of how it would work. In this situation you tend to tack on things to fix problems that you didn't foresee coming up. Hindsight is always 20/20 but i believe in rewriting it now, it would much leaner and cleaner.
If at all possible i would like to work with ViktorNova in getting the arch stuff to play nice with slackware which would open up another world of packages. I tried it with debian packages but found that dep resolution was below par. This may also be the case for arch which would be a shame since the priority is dependency resolution and simplicity so that packages work.
Question: Do you think GPG checks are necessary if the repositories are all well known and trusted?
that would render most of the present PPM redundant.
You are correct in both respects. I was aiming at a broader slackware audience with this tool, and (once modified for porteus) it will render PPM redundant. This means devs will not need to maintain repositories and all packages can be converted client side.
My intention is to wait until this CLI version is stable and then write a front end for it. It would then replace the current PPM. PPM is bloated and the code is far from optimized. It was not easy to write and when i review the code now i understand why. At the time of writing i didn't have a broader picture of how it would work. In this situation you tend to tack on things to fix problems that you didn't foresee coming up. Hindsight is always 20/20 but i believe in rewriting it now, it would much leaner and cleaner.
If at all possible i would like to work with ViktorNova in getting the arch stuff to play nice with slackware which would open up another world of packages. I tried it with debian packages but found that dep resolution was below par. This may also be the case for arch which would be a shame since the priority is dependency resolution and simplicity so that packages work.
Question: Do you think GPG checks are necessary if the repositories are all well known and trusted?
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.
Re: USM Unified Slackware Package Manager
...
Last edited by phhpro on 04 Feb 2016, 00:51, edited 1 time in total.
- 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
How to skip a package? I tried installing VLC, but do not want to download the samba package.
I want to skip the samba package, but did not see option.
I want to skip the samba package, but did not see option.
“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
- 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 slaxmax, good point. I wrote in a function to deselect dependencies into the system wide dependency resolver (usm -d) and will add this to the option when fetching general packages. I will push this into the next release. So after running: usm -g vlc and all dependencies are resolved you will be given the option to begin downloading or deselect some packages. Thanks for the feedback.
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.
Re: USM Unified Slackware Package Manager
...
Last edited by phhpro on 04 Feb 2016, 00:52, edited 1 time in total.
- francois
- Contributor
- Posts: 6311
- 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
Problem downloading gnumeric and associated files:
There is no files at all in /tmp/usm
Code: Select all
root@porteus:~# usm -g gnumeric
The following items were found.
Choose an number to confirm.
ctrl+c to quit
1) gnumeric-1.12.9-x86_64-1rl.txz
#?
1) gnumeric-1.12.9-x86_64-1rl.txz
#? 1
Processing: gnumeric-1.12.9-x86_64-1rl.txz
Libraries required: 65
Libraries found in system: 57
Libraries to resolve: 8
Processing library: libatk-bridge-2.0.so.0
Processing library: libatspi.so.0
Processing library: libgdk-3.so.0
Processing library: libgoffice-0.10.so.10
Processing library: libgsf-1.so.114
Processing library: libgtk-3.so.0
Processing library: libpython2.7.so.1.0
Processing library: libspreadsheet-1.12.9.so
Processing: at-spi2-atk-2.8.1-x86_64-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-x86_64-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-x86_64-2.txz
Libraries required: 59
Libraries found in system: 55
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: goffice-0.10.9-x86_64-1rl.txz
Libraries required: 62
Libraries found in system: 55
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: libgoffice-0.10.so.10
Processing library: libgsf-1.so.114
Processing library: libgtk-3.so.0
Processing library: libspectre.so.1
Processing: libgsf-1.14.26-x86_64-1.txz
Libraries required: 16
Libraries found in system: 15
Libraries to resolve: 1
Processing library: libgsf-1.so.114
Processing: python-2.7.5-x86_64-1.txz
Libraries required: 23
Libraries found in system: 20
Libraries to resolve: 3
Processing library: libpython2.7.so.1.0
Processing library: libtcl8.6.so
Processing library: libtk8.6.so
Processing: libXevie-1.0.3-x86_64-1.txz
Libraries required: 6
Libraries found in system: 6
Libraries to resolve: 0
Processing: libspectre-0.2.7-x86_64-1.txz
Libraries required: 1
Libraries found in system: 0
Libraries to resolve: 1
Processing library: libgs.so.9
Processing: tcl-8.6.1-x86_64-1.txz
Libraries required: 5
Libraries found in system: 4
Libraries to resolve: 1
Processing library: libtcl8.6.so
Processing: tk-8.6.1-x86_64-1.txz
Libraries required: 19
Libraries found in system: 17
Libraries to resolve: 2
Processing library: libtcl8.6.so
Processing library: libtk8.6.so
Processing: ghostscript-9.07-x86_64-2.txz
Libraries required: 65
Libraries found in system: 60
Libraries to resolve: 5
Processing library: libatk-bridge-2.0.so.0
Processing library: libatspi.so.0
Processing library: libgdk-3.so.0
Processing library: libgs.so.9
Processing library: libgtk-3.so.0
The following packages are required.
gnumeric-1.12.9-x86_64-1rl.txz [11735K]
at-spi2-atk-2.8.1-x86_64-1.txz [68K]
at-spi2-core-2.8.0-x86_64-1.txz [228K]
gtk+3-3.8.2-x86_64-2.txz [7452K]
goffice-0.10.9-x86_64-1rl.txz [1576K]
libgsf-1.14.26-x86_64-1.txz [220K]
python-2.7.5-x86_64-1.txz [11868K]
libXevie-1.0.3-x86_64-1.txz [16K]
libspectre-0.2.7-x86_64-1.txz [40K]
tcl-8.6.1-x86_64-1.txz [2500K]
tk-8.6.1-x86_64-1.txz [1700K]
ghostscript-9.07-x86_64-2.txz [13108K]
Total size: 50 MB
Would you like to begin downloading? [y/n]
Downloading:http://www.gtlib.gatech.edu/pub/salixos/x86_64/14.1/salix/salix/gnome/gnumeric-1.12.9-x86_64-1rl.txz
to /tmp/usm
Downloading: gnumeric-1.12.9-x86_64-1rl.txz DONE
There was a problem downloading the file: gnumeric-1.12.9-x86_64-1rl.txz
root@porteus:~#
root@porteus:~#
Prendre son temps, profiter de celui qui passe.
- francois
- Contributor
- Posts: 6311
- 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 don't know if I read well, I thought that usm would select by itself dependencies, but autoselect dependencies option could be nice thing. For audacity, only the audacity package would download:
If possible, it would be nice if unable to download a package, usm would fetch next package, and at the end provide a list of missing dependencies (those not downloaded) and provide the list of the original needed libraries and options (in case you had choosen the unavailable library)
Code: Select all
root@porteus:~# usm -g audacity
The following items were found.
Choose an number to confirm.
ctrl+c to quit
1) audacity-2.0.5-x86_64-1ponce.txz 3) audacity-2.0.5-x86_64-2sl.txz
2) audacity-2.0.5-x86_64-1rl.txz
#? 1
Processing: audacity-2.0.5-x86_64-1ponce.txz
Libraries required: 71
Libraries found in system: 58
Libraries to resolve: 13
Processing library: libSoundTouch.so.0
Processing library: libid3tag.so.0
Processing library: libjack.so.0
More than one package contains: libjack.so.0
jack-1.9.9.5-x86_64-2alien.txz 500K alien
jack-audio-connection-kit-0.121.3-x86_64-2ponce.txz 368K ponce
The following items were found.
Choose an number to confirm.
ctrl+c to quit
1) jack-1.9.9.5-x86_64-2alien.txz
2) jack-audio-connection-kit-0.121.3-x86_64-2ponce.txz
#? 2
Processing library: libwx_baseu-2.8.so.0
More than one package contains: libwx_baseu-2.8.so.0
wxPython-2.8.12.1-x86_64-1ponce.txz 13808K ponce
wxGTK-2.8.12-x86_64-2sl.txz 3529K slacky
The following items were found.
Choose an number to confirm.
ctrl+c to quit
1) wxPython-2.8.12.1-x86_64-1ponce.txz
2) wxGTK-2.8.12-x86_64-2sl.txz
#? 1
Processing library: libwx_baseu_net-2.8.so.0
Processing library: libwx_baseu_xml-2.8.so.0
Processing library: libwx_gtk2u_adv-2.8.so.0
Processing library: libwx_gtk2u_aui-2.8.so.0
Processing library: libwx_gtk2u_core-2.8.so.0
Processing library: libwx_gtk2u_html-2.8.so.0
Processing library: libwx_gtk2u_qa-2.8.so.0
Processing library: libwx_gtk2u_richtext-2.8.so.0
Processing library: libwx_gtk2u_xrc-2.8.so.0
Processing: soundtouch-1.7.1-x86_64-1gv.txz
Libraries required: 4
Libraries found in system: 3
Libraries to resolve: 1
Processing library: libSoundTouch.so.0
Processing: libid3tag-0.15.1b-x86_64-4.txz
Libraries required: 1
Libraries found in system: 1
Libraries to resolve: 0
Processing: jack-audio-connection-kit-0.121.3-x86_64-2ponce.txz
Libraries required: 16
Libraries found in system: 13
Libraries to resolve: 3
Processing library: libcelt0.so.2
More than one package contains: libcelt0.so.2
celt-0.11.1-x86_64-1gv.txz 63K salix
celt-0.11.3-x86_64-1ponce.txz 68K ponce
The following items were found.
Choose an number to confirm.
ctrl+c to quit
1) celt-0.11.1-x86_64-1gv.txz
2) celt-0.11.3-x86_64-1ponce.txz
#? 2
Processing library: libjack.so.0
Processing library: libjackserver.so.0
Processing: wxPython-2.8.12.1-x86_64-1ponce.txz
Libraries required: 85
Libraries found in system: 68
Libraries to resolve: 17
Processing library: libgstinterfaces-0.10.so.0
More than one package contains: libgstinterfaces-0.10.so.0
gst-plugins-base-0.10.36-x86_64-2.txz 1304K slackware
skype_static-4.2.0.11-x86_64-4sl.txz 37556K slacky
The following items were found.
Choose an number to confirm.
ctrl+c to quit
1) gst-plugins-base-0.10.36-x86_64-2.txz
2) skype_static-4.2.0.11-x86_64-4sl.txz
#? 1
Processing library: libgstreamer-0.10.so.0
More than one package contains: libgstreamer-0.10.so.0
gstreamer-0.10.36-x86_64-2.txz 1332K slackware
skype_static-4.2.0.11-x86_64-4sl.txz 37556K slacky
The following items were found.
Choose an number to confirm.
ctrl+c to quit
1) gstreamer-0.10.36-x86_64-2.txz
2) skype_static-4.2.0.11-x86_64-4sl.txz
#? 1
Processing library: libmspack.so.0
Processing library: libpython2.7.so.1.0
Processing library: libwx_baseu-2.8.so.0
Processing library: libwx_baseu_net-2.8.so.0
Processing library: libwx_baseu_xml-2.8.so.0
Processing library: libwx_gtk2u_adv-2.8.so.0
Processing library: libwx_gtk2u_aui-2.8.so.0
Processing library: libwx_gtk2u_core-2.8.so.0
Processing library: libwx_gtk2u_gizmos-2.8.so.0
Processing library: libwx_gtk2u_gl-2.8.so.0
Processing library: libwx_gtk2u_html-2.8.so.0
Processing library: libwx_gtk2u_qa-2.8.so.0
Processing library: libwx_gtk2u_richtext-2.8.so.0
Processing library: libwx_gtk2u_stc-2.8.so.0
Processing library: libwx_gtk2u_xrc-2.8.so.0
Processing: celt-0.11.3-x86_64-1ponce.txz
Libraries required: 3
Libraries found in system: 2
Libraries to resolve: 1
Processing library: libcelt0.so.2
Processing: gst-plugins-base-0.10.36-x86_64-2.txz
Libraries required: 64
Libraries found in system: 51
Libraries to resolve: 13
Processing library: libgstapp-0.10.so.0
Processing library: libgstaudio-0.10.so.0
Processing library: libgstbase-0.10.so.0
Processing library: libgstcdda-0.10.so.0
Processing library: libgstcontroller-0.10.so.0
Processing library: libgstdataprotocol-0.10.so.0
Processing library: libgstinterfaces-0.10.so.0
Processing library: libgstpbutils-0.10.so.0
Processing library: libgstreamer-0.10.so.0
Processing library: libgstriff-0.10.so.0
Processing library: libgsttag-0.10.so.0
Processing library: libgstvideo-0.10.so.0
Processing library: libvisual-0.4.so.0
Processing: gstreamer-0.10.36-x86_64-2.txz
Libraries required: 13
Libraries found in system: 11
Libraries to resolve: 2
Processing library: libgstbase-0.10.so.0
Processing library: libgstreamer-0.10.so.0
Processing: libmspack-0.4alpha-x86_64-1ponce.txz
Processing: python-2.7.5-x86_64-1.txz
Libraries required: 23
Libraries found in system: 20
Libraries to resolve: 3
Processing library: libpython2.7.so.1.0
Processing library: libtcl8.6.so
Processing library: libtk8.6.so
Processing: libvisual-0.4.0-x86_64-3.txz
Libraries required: 3
Libraries found in system: 3
Libraries to resolve: 0
Processing: tcl-8.6.1-x86_64-1.txz
Libraries required: 5
Libraries found in system: 4
Libraries to resolve: 1
Processing library: libtcl8.6.so
Processing: tk-8.6.1-x86_64-1.txz
Libraries required: 19
Libraries found in system: 17
Libraries to resolve: 2
Processing library: libtcl8.6.so
Processing library: libtk8.6.so
The following packages are required.
audacity-2.0.5-x86_64-1ponce.txz [3456K]
soundtouch-1.7.1-x86_64-1gv.txz [57K]
libid3tag-0.15.1b-x86_64-4.txz [36K]
jack-audio-connection-kit-0.121.3-x86_64-2ponce.txz [368K]
wxPython-2.8.12.1-x86_64-1ponce.txz [13808K]
celt-0.11.3-x86_64-1ponce.txz [68K]
gst-plugins-base-0.10.36-x86_64-2.txz [1304K]
gstreamer-0.10.36-x86_64-2.txz [1332K]
libmspack-0.4alpha-x86_64-1ponce.txz [160K]
python-2.7.5-x86_64-1.txz [11868K]
libvisual-0.4.0-x86_64-3.txz [128K]
tcl-8.6.1-x86_64-1.txz [2500K]
tk-8.6.1-x86_64-1.txz [1700K]
Total size: 36 MB
Would you like to begin downloading? [y/n]
Downloading:http://ponce.cc/slackware/slackware64-14.1/packages/tp://ponce.cc/slackware/slackware64-14.1/packages//audacity-2.0.5-x86_64-1ponce.txz
to /tmp/usm
Downloading: audacity-2.0.5-x86_64-1ponce.txz -->
DONE
Downloading:http://www.gtlib.gatech.edu/pub/salixos/x86_64/14.1/salix/salix/l/soundtouch-1.7.1-x86_64-1gv.txz
to /tmp/usm
Downloading: soundtouch-1.7.1-x86_64-1gv.txz DONE
There was a problem downloading the file: soundtouch-1.7.1-x86_64-1gv.txz
root@porteus:~#
Prendre son temps, profiter de celui qui passe.
Re: USM Unified Slackware Package Manager
...
Last edited by phhpro on 04 Feb 2016, 00:55, edited 2 times in total.
- francois
- Contributor
- Posts: 6311
- 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
Just tried to build the scid_vs_pc chess game, there is an error while building package (chown: invalid group: ‘root:root’):
Very good that we get the info at the beginning telling us where the package is downloaded. i.e.:
This way I know where to find the readme file or install file for package or library resolution.
However, once the slackbuild has been downloaded, usm -rb would be a nice argument to build from the already downloaded file, instead of downloading it anew. What do you think?
Code: Select all
root@porteus:~# usm -b scid
The following items were found.
Choose an number to confirm.
ctrl+c to quit
1) cd-discid
2) scid
3) scid_vs_pc
#? 3
NAME : scid_vs_pc
CATEG: games
DESC : scid_vs_pc (Usability and bug-fix fork of Scid)
VERS : 4.10
...
...
scid_vs_pc-4.10/Makefile.mingw
scid_vs_pc-4.10/Info.plist
chown: invalid group: ‘root:root’
Code: Select all
Downloading: scid_vs_pc.tar.gz DONE
/tmp/usmsbo
However, once the slackbuild has been downloaded, usm -rb would be a nice argument to build from the already downloaded file, instead of downloading it anew. What do you think?
Last edited by francois on 25 Jan 2014, 00:04, edited 2 times in total.
Prendre son temps, profiter de celui qui passe.
Re: USM Unified Slackware Package Manager
...
Last edited by phhpro on 04 Feb 2016, 03:43, edited 1 time in total.
- francois
- Contributor
- Posts: 6311
- 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
Yes. I am on kde 3.0. 8)
Do you have sound under porteus 3.0?
Do you have sound under porteus 3.0?
Last edited by francois on 25 Jan 2014, 02:53, edited 1 time in total.
Prendre son temps, profiter de celui qui passe.
Re: USM Unified Slackware Package Manager
...
Last edited by phhpro on 04 Feb 2016, 01:39, edited 1 time in total.