Page 1 of 2

usm-3.2

Posted: 08 Aug 2016, 04:30
by brokenman
People using Porteus-v3.2rc+ can now download usm-3.2 that pulls from slackware-14.2 repositories. Please keep in mind that updating of the databases is done manually at the moment while still in testing. The only changes made since the last update was the port to slackware-14.2 and the addition of russian and japanese locales.

https://sourceforge.net/projects/usm/files/14.2/

Re: usm-3.2

Posted: 08 Aug 2016, 17:16
by Jack
Is this newer then the ones you did when you uploaded 001, 002 and 003 (Mate)?

Re: usm-3.2

Posted: 08 Aug 2016, 23:03
by Ed_P
What does usm -v show you? (you need to do su & toor 1st)

Re: usm-3.2

Posted: 08 Aug 2016, 23:19
by Bogomips
Downloaded and tried. As far as I can tell no difference with rc4+. :Search:

Re: usm-3.2

Posted: 08 Aug 2016, 23:28
by Jack
Ed_P wrote:What does usm -v show you? (you need to do su & toor 1st)
This is the version. And I haven't upgrade to the one he just posted.

Code: Select all

guest@porteus:~$ su
Password: 
root@porteus:/home/guest# usm -v
 You are using USM version:  3.2.0

root@porteus:/home/guest#
And I know to use su & toor of course they weren't the same and I known that back in 2004 when I started using Slackware 10.0. I'm not smart with all the commands we use here.

Re: usm-3.2

Posted: 08 Aug 2016, 23:34
by Jack
Bogomips wrote:Downloaded and tried. As far as I can tell no difference with rc4+. :Search:
I think your right but I think it for those who didn't upgrade to 001, 002 and 003 when he release it.

Re: usm-3.2

Posted: 09 Aug 2016, 01:53
by brokenman
Downloaded and tried. As far as I can tell no difference with rc4+
The difference is that the usm-3.2 that shipped with rc4 is pulling from slackware-14.1. Meaning that the LIBS.TXT was generated from the slackware-14.1 repo. The new usm-3.2 that I uploaded is pulling from the slackware-14.2 repos. The LIBS.TXT file is generated from the slackware-14.2 repository. From a user's point of view you probably wouldn't notice any difference, but the difference is there.

Re: usm-3.2

Posted: 22 Aug 2016, 15:29
by lordVortex
Upgraded USM and databases (no databases were present before). I successfully downloaded ISO Master, but trying to download PCManFM gave an error of a missing LIBS.TXT. I checked all folders in /var/usm, LIBS.TXT were in all except sbo (filename was lower case in local folder). Running Porteus 3.2rc4 MATE, with new 001, 002, and 003-mate xzms.
Screenshot: Image

Re: usm-3.2

Posted: 22 Aug 2016, 15:57
by Jack
lordVortex wrote:Upgraded USM and databases (no databases were present before). I successfully downloaded ISO Master, but trying to download PCManFM gave an error of a missing LIBS.TXT. I checked all folders in /var/usm, LIBS.TXT were in all except sbo (filename was lower case in local folder). Running Porteus 3.2rc4 MATE, with new 001, 002, and 003-mate xzms.
Screenshot: Image
I receive the same error.

Re: usm-3.2

Posted: 22 Aug 2016, 16:07
by lordVortex
Jack wrote:
lordVortex wrote:Upgraded USM and databases (no databases were present before). I successfully downloaded ISO Master, but trying to download PCManFM gave an error of a missing LIBS.TXT. I checked all folders in /var/usm, LIBS.TXT were in all except sbo (filename was lower case in local folder). Running Porteus 3.2rc4 MATE, with new 001, 002, and 003-mate xzms.
Screenshot: Image
I receive the same error.
Any idea what could've caused it? I wanna dig through the usm scripts to see if I can find it, but I doubt I will. I'm not that good at bash scripts.

Re: usm-3.2

Posted: 22 Aug 2016, 16:17
by francois
@brokenman:
Would usm 3.2 be good for porteus 3.1?

Re: usm-3.2

Posted: 22 Aug 2016, 17:03
by lordVortex

Code: Select all

## Find distro that has dependency
	TARGLIB=`find -L $DBDIR -type f -name "LIBS.TXT" | xargs grep -i "^$PKG" | head -n1 | awk -F: '{print$1}'`
	[ $CLI ] && [ -z $TARGLIB ] && fatality "$SCRIPT $FUNCNAME $LINENO" "`gettext "Please wait 6 hours for the next database update. Could not find:"`" "LIBS.TXT"
	[ $GUI ] && [ -z $TARGLIB ] && { echo "`gettext "Please wait 6 hours for the next database update. Could not find:"`" "LIBS.TXT" > $TMPDIR/.stream; gtk_message2 "`gettext "Fatal error"`" "LIBS.TXT"; exit; }
The error occurs here, in funcpackageGet line 388.

Manually running each command and substituting variables:

Code: Select all

root@porteus:/var/usm# find -type f -name "LIBS.TXT" | xargs grep -i "^libfm.so" | head -n1 | awk -F: '{print$1}'
root@porteus:/var/usm# find -type f -name "LIBS.TXT" | xargs grep -i "^libfm-1.2.4-x86_64-2ponce.txz" | head -n1 | awk -F: '{print$1}
> 
> '
./ponce/LIBS.TXT
root@porteus:/var/usm# [ -z ./ponce/LIBS.TXT ]
root@porteus:/var/usm# [ -z ./ponce/LIBS.TXT ] && echo "Test"
root@porteus:/var/usm# find -type f -name "LIBS.TXT" | xargs grep -i "^libfm-extra-1.2.4-x86_64-1alien.txz" | head -n1 | awk -F: '{print$1}'
root@porteus:/var/usm# find -type f -name "LIBS.TXT" | xargs grep -i "^libfm-extra*" | head -n1 | awk -F: '{print$1}'
./slackonly/LIBS.TXT
root@porteus:/var/usm# find -type f -name "LIBS.TXT" | xargs grep -i "^libfm-1.2.4-x86_64-2ponce.txz" | head -n1 | awk -F: '{print$1}'
./ponce/LIBS.TXT
root@porteus:/var/usm# 
It seems LIBS.TXT is either incomplete or not built properly. The GUI asks for which package to get 'libfm-extra.so.4' from, so it works to a certain point.
Screenshot: Image
Sorry for any inaccuracies, as previously mentioned, I'm not that good with bash.

Re: usm-3.2

Posted: 22 Aug 2016, 17:06
by lordVortex
brokenman wrote:Please keep in mind that updating of the databases is done manually at the moment while still in testing
Just noticed this. :wall:

Re: usm-3.2

Posted: 23 Aug 2016, 01:41
by brokenman
Wow! You did well in tracking down the problem. It s indeed caused by code in that file. This file is created on the server (daily when automated) but at the moment I am doing it manually. I will update it tonight to resolve the problem. With rc5 release the process will be automated. Thanks.

Francois you could use the newer USM with slackware 3.1 but be aware that it is pulling from slackware-14.2.

Re: usm-3.2

Posted: 23 Aug 2016, 02:36
by francois
This is what I understood. But as both are 14.x, this should work. We will see. :)