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
francois
Contributor
Contributor
Posts: 6296
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#151 by francois » 11 Mar 2014, 23:06

porteus 3.0 final, I get following error message:

Code: Select all

root@porteus:~# usm -u all

 You are missing required database files! 
 Please run: usm -u all

root@porteus:~# usm -u all

 You are missing required database files! 
 Please run: usm -u all

root@porteus:~# 
Prendre son temps, profiter de celui qui passe.

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

Re: USM Unified Slackware Package Manager

Post#152 by brokenman » 12 Mar 2014, 17:09

Yeah there is a problem at the moment with the slacky mirror that is set as default. It is not responding. If you have the latest version of USM (i updated this morning) then you should now have 3 mirrors in this file:

/etc/usm/mirrors-slacky.txt

The first one # EUROPE should be uncommented as it is working fine. I also updated all the ISO's on the server so rebuilding an ISO should work. Unfortunately over 1000 builds were done before I could get the problem sorted.
How do i become super user?
Wear your underpants on the outside and put on a cape.

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#153 by Slaxmax » 12 Mar 2014, 17:26

slackwarepatches problem

Code: Select all

 Starting slackwarepatches database update 
Connection is good
Downloading: CHECKSUMS.md5  DONE
Downloading: MANIFEST.bz2  DONE
Downloading: PACKAGES.TXT  DONE
Downloading: LIBS.TXT.gz  DONE
 There was a problem downloading the file: 

Edit: I removed manually previous usm and works now.
“DNA is like a computer program but far, far more advanced than any software ever created.”
― Bill Gates, The Road Ahead

User avatar
francois
Contributor
Contributor
Posts: 6296
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#154 by francois » 12 Mar 2014, 23:35

Updating usm thru gui interface and then usm -u all resolved my problem. It is the first time that I see the gui interface. I like it: really sexy. The bare essentials are there. :twisted:
Prendre son temps, profiter de celui qui passe.

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

Re: USM Unified Slackware Package Manager

Post#155 by brokenman » 13 Mar 2014, 01:04

The bare essentials are there.
Thanks Francois. I will develop it slowly and surely and add more functionality. I want to focus on automating the generation of the databases so I don't have to worry about it. Then I can add slackware-current for the slackware users.
How do i become super user?
Wear your underpants on the outside and put on a cape.

User avatar
francois
Contributor
Contributor
Posts: 6296
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#156 by francois » 14 Mar 2014, 03:17

@brokenman: I do not want to look too demanding. But I kind of miss debian and fedora repositories. Why wouldn't you hide them in some kind of hidden section for advanced users only. In that section you could put a warning: no dependency resolution provided. :roll:
Last edited by francois on 14 Mar 2014, 07:53, edited 2 times in total.
Prendre son temps, profiter de celui qui passe.

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

Re: USM Unified Slackware Package Manager

Post#157 by neko » 14 Mar 2014, 03:43

[Problem]
In JA locale, 'tool' selector are not done.

Maybe, other locale except C too are same.

[Reason]
the selection is done by the following code.

echo $CheckedString | grep "English character string".

The CheckedString that is a Japanese string is not matched with the English key.

[Fix]
1. The answer reported on 5 March (by neko » 05 Mar 2014, 13:41)
replaced by following code.

xxx_isYYY()
{
[[ $CheckedString = "Japanese character string" ]]
}

xxx_isYYY

-->

this code is pointed that it creates a new problem by brokenman (05 Mar 2014, 20:01).
(I do not know it.)

2. This is an easy correction.
These selection key sentences are not made multi-language until a bug is fixed.

/usr/src/po/ja/usm.po
================================
204,205c204,205
< msgid "Convert a folder of slackware packages to modules"
< msgstr "Slackwareパッケージ群収容ホルダーからモジュール群へ変換"
---
> #msgid "Convert a folder of slackware packages to modules"
> #msgstr "Slackwareパッケージ群収容ホルダーからモジュール群へ変換"
...
(omitted)
...
645,646c645,646
< msgid "Unpack a slackware package"
< msgstr "slackwareパッケージ解凍"
---
> #msgid "Unpack a slackware package"
> #msgstr "slackwareパッケージ解凍"
================================

User avatar
francois
Contributor
Contributor
Posts: 6296
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#158 by francois » 14 Mar 2014, 19:57

@brokenman:
Follow-up from Porteus 3.0 final feedback thread:
http://forum.porteus.org/posting.php?mo ... 53&p=22704

I get the following message when I try to run usm gui (it has been updated and repo have been synchronized) :

Code: Select all

 Cannot execute command ' /usr/bin/usmgui'
Do you have anything in the folder /etc/usm ?

Nothing in that folder. I will upgrade as you proposed from sourceforge.

Thanks.
Prendre son temps, profiter de celui qui passe.

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#159 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: 6104
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil
Contact:

Re: USM Unified Slackware Package Manager

Post#160 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: 6104
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil
Contact:

Re: USM Unified Slackware Package Manager

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

Re: USM Unified Slackware Package Manager

Post#162 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: 6104
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil
Contact:

Re: USM Unified Slackware Package Manager

Post#163 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: 6104
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil
Contact:

Re: USM Unified Slackware Package Manager

Post#164 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: 2082
Joined: 09 Feb 2013, 09:55
Distribution: APorteus-FVWM-ja-x86_64.iso
Location: japan

Re: USM Unified Slackware Package Manager

Post#165 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.

Post Reply