usm-3.2

New features which should be implemented in Porteus; suggestions are welcome. All questions or problems with testing releases (alpha, beta, or rc) should go in their relevant thread here, rather than the Bug Reports section.
User avatar
brokenman
Site Admin
Site Admin
Posts: 5456
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

usm-3.2

Post#1 by brokenman » 08 Aug 2016, 04:30

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/
How do i become super user?
Wear your underpants on the outside and put on a cape.

Jack
Contributor
Contributor
Posts: 1063
Joined: 09 Aug 2013, 14:25
Distribution: Porteus 3.2.rc5 Mate 64 bit
Location: Marysville, OHIO USA

Re: usm-3.2

Post#2 by Jack » 08 Aug 2016, 17:16

Is this newer then the ones you did when you uploaded 001, 002 and 003 (Mate)?
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.

User avatar
Ed_P
Contributor
Contributor
Posts: 3159
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 3.2.2 64-bit ISO
Location: Western NY, USA

Re: usm-3.2

Post#3 by Ed_P » 08 Aug 2016, 23:03

What does usm -v show you? (you need to do su & toor 1st)
Ed

Bogomips
Full of knowledge
Full of knowledge
Posts: 2540
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: usm-3.2

Post#4 by Bogomips » 08 Aug 2016, 23:19

Downloaded and tried. As far as I can tell no difference with rc4+. :Search:
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

Jack
Contributor
Contributor
Posts: 1063
Joined: 09 Aug 2013, 14:25
Distribution: Porteus 3.2.rc5 Mate 64 bit
Location: Marysville, OHIO USA

Re: usm-3.2

Post#5 by Jack » 08 Aug 2016, 23:28

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.
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.

Jack
Contributor
Contributor
Posts: 1063
Joined: 09 Aug 2013, 14:25
Distribution: Porteus 3.2.rc5 Mate 64 bit
Location: Marysville, OHIO USA

Re: usm-3.2

Post#6 by Jack » 08 Aug 2016, 23:34

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.
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.

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

Re: usm-3.2

Post#7 by brokenman » 09 Aug 2016, 01:53

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.
How do i become super user?
Wear your underpants on the outside and put on a cape.

lordVortex
White ninja
White ninja
Posts: 12
Joined: 07 Mar 2016, 13:56
Distribution: Porteus 3.2.2, Peppermint 7
Location: Nigeria

Re: usm-3.2

Post#8 by lordVortex » 22 Aug 2016, 15:29

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

Jack
Contributor
Contributor
Posts: 1063
Joined: 09 Aug 2013, 14:25
Distribution: Porteus 3.2.rc5 Mate 64 bit
Location: Marysville, OHIO USA

Re: usm-3.2

Post#9 by Jack » 22 Aug 2016, 15:57

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.
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.

lordVortex
White ninja
White ninja
Posts: 12
Joined: 07 Mar 2016, 13:56
Distribution: Porteus 3.2.2, Peppermint 7
Location: Nigeria

Re: usm-3.2

Post#10 by lordVortex » 22 Aug 2016, 16:07

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.

User avatar
francois
Contributor
Contributor
Posts: 4943
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: usm-3.2

Post#11 by francois » 22 Aug 2016, 16:17

@brokenman:
Would usm 3.2 be good for porteus 3.1?
Voltaire: Le mieux est l'ennemi du bien.

lordVortex
White ninja
White ninja
Posts: 12
Joined: 07 Mar 2016, 13:56
Distribution: Porteus 3.2.2, Peppermint 7
Location: Nigeria

Re: usm-3.2

Post#12 by lordVortex » 22 Aug 2016, 17:03

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.

lordVortex
White ninja
White ninja
Posts: 12
Joined: 07 Mar 2016, 13:56
Distribution: Porteus 3.2.2, Peppermint 7
Location: Nigeria

Re: usm-3.2

Post#13 by lordVortex » 22 Aug 2016, 17:06

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:

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

Re: usm-3.2

Post#14 by brokenman » 23 Aug 2016, 01:41

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.
How do i become super user?
Wear your underpants on the outside and put on a cape.

User avatar
francois
Contributor
Contributor
Posts: 4943
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: usm-3.2

Post#15 by francois » 23 Aug 2016, 02:36

This is what I understood. But as both are 14.x, this should work. We will see. :)
Voltaire: Le mieux est l'ennemi du bien.

Post Reply