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.

usm-3.2

Postby brokenman » 08 Aug 2016, 05: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.
brokenman
Site Admin
Site Admin
 
Posts: 5365
Joined: 27 Dec 2010, 04:50
Location: Brazil
Distribution: Porteus v3.2rcX all desktops

Re: usm-3.2

Postby Jack » 08 Aug 2016, 18: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.
Jack
Contributor
Contributor
 
Posts: 1063
Joined: 09 Aug 2013, 15:25
Location: Marysville, OHIO USA
Distribution: Porteus 3.2.rc5 Mate 64 bit

Re: usm-3.2

Postby Ed_P » 09 Aug 2016, 00:03

What does usm -v show you? (you need to do su & toor 1st)
Ed
User avatar
Ed_P
Contributor
Contributor
 
Posts: 2800
Joined: 06 Feb 2013, 23:12
Location: Western NY, USA
Distribution: Cinnamon 3.2.* 64-bit ISO

Re: usm-3.2

Postby Bogomips » 09 Aug 2016, 00: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
Bogomips
Full of knowledge
Full of knowledge
 
Posts: 2295
Joined: 25 Jun 2014, 16:21
Location: London
Distribution: 3.2.2 Cinnamon & KDE5

Re: usm-3.2

Postby Jack » 09 Aug 2016, 00: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, 15:25
Location: Marysville, OHIO USA
Distribution: Porteus 3.2.rc5 Mate 64 bit

Re: usm-3.2

Postby Jack » 09 Aug 2016, 00: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.
Jack
Contributor
Contributor
 
Posts: 1063
Joined: 09 Aug 2013, 15:25
Location: Marysville, OHIO USA
Distribution: Porteus 3.2.rc5 Mate 64 bit

Re: usm-3.2

Postby brokenman » 09 Aug 2016, 02: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.
brokenman
Site Admin
Site Admin
 
Posts: 5365
Joined: 27 Dec 2010, 04:50
Location: Brazil
Distribution: Porteus v3.2rcX all desktops

Re: usm-3.2

Postby lordVortex » 22 Aug 2016, 16: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
lordVortex
White ninja
White ninja
 
Posts: 10
Joined: 07 Mar 2016, 14:56
Location: Nigeria
Distribution: Porteus 3.2rc4 MATE

Re: usm-3.2

Postby Jack » 22 Aug 2016, 16: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.
Jack
Contributor
Contributor
 
Posts: 1063
Joined: 09 Aug 2013, 15:25
Location: Marysville, OHIO USA
Distribution: Porteus 3.2.rc5 Mate 64 bit

Re: usm-3.2

Postby lordVortex » 22 Aug 2016, 17: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.
lordVortex
White ninja
White ninja
 
Posts: 10
Joined: 07 Mar 2016, 14:56
Location: Nigeria
Distribution: Porteus 3.2rc4 MATE

Re: usm-3.2

Postby francois » 22 Aug 2016, 17:17

@brokenman:
Would usm 3.2 be good for porteus 3.1?
Voltaire: Le mieux est l'ennemi du bien.
User avatar
francois
Contributor
Contributor
 
Posts: 4718
Joined: 28 Dec 2010, 15:25
Location: C'est l'autome, en forêt les arbres d'ici nous en mettent plein la vue: les rouges, jaunes ...
Distribution: kde xfce porteus manjaro kubun

Re: usm-3.2

Postby lordVortex » 22 Aug 2016, 18: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: 10
Joined: 07 Mar 2016, 14:56
Location: Nigeria
Distribution: Porteus 3.2rc4 MATE

Re: usm-3.2

Postby lordVortex » 22 Aug 2016, 18: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:
lordVortex
White ninja
White ninja
 
Posts: 10
Joined: 07 Mar 2016, 14:56
Location: Nigeria
Distribution: Porteus 3.2rc4 MATE

Re: usm-3.2

Postby brokenman » 23 Aug 2016, 02: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.
brokenman
Site Admin
Site Admin
 
Posts: 5365
Joined: 27 Dec 2010, 04:50
Location: Brazil
Distribution: Porteus v3.2rcX all desktops

Re: usm-3.2

Postby francois » 23 Aug 2016, 03: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.
User avatar
francois
Contributor
Contributor
 
Posts: 4718
Joined: 28 Dec 2010, 15:25
Location: C'est l'autome, en forêt les arbres d'ici nous en mettent plein la vue: les rouges, jaunes ...
Distribution: kde xfce porteus manjaro kubun

Next

Return to Development



Who is online

Users browsing this forum: Yahoo [Bot] and 3 guests