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

User avatar
phhpro
Full of knowledge
Full of knowledge
Posts: 545
Joined: 10 Nov 2013, 20:35
Distribution: .

Re: USM Unified Slackware Package Manager

Post#152 by phhpro » 12 Mar 2014, 04:13

...
Last edited by phhpro on 04 Feb 2016, 01:53, edited 1 time in total.

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

Re: USM Unified Slackware Package Manager

Post#153 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: 403
Joined: 03 Jan 2013, 09:51
Distribution: KDE4
Location: Campinas Brazil https://goo.gl/yrxwKi

Re: USM Unified Slackware Package Manager

Post#154 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: 5080
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#155 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:
Voltaire: Le mieux est l'ennemi du bien.

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

Re: USM Unified Slackware Package Manager

Post#156 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: 5080
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#157 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.
Voltaire: Le mieux est l'ennemi du bien.

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

Re: USM Unified Slackware Package Manager

Post#158 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: 5080
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#159 by francois » 14 Mar 2014, 19:57

@brokenman:
Follow-up from Porteus 3.0 final feedback thread:
posting.php?mode=edit&f=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.
Voltaire: Le mieux est l'ennemi du bien.

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#160 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: 5574
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: USM Unified Slackware Package Manager

Post#161 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: 5574
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: USM Unified Slackware Package Manager

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

Re: USM Unified Slackware Package Manager

Post#163 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: 5574
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: USM Unified Slackware Package Manager

Post#164 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: 5574
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: USM Unified Slackware Package Manager

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

Post Reply