USM bug reports

Please reproduce your error on a second machine before posting, and check the error by running without saved changes or extra modules (See FAQ No. 13, "How to report a bug"). For unstable Porteus versions (alpha, beta, rc) please use the relevant thread in our "Development" section.
Bogomips
Full of knowledge
Full of knowledge
Posts: 2564
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: USM bug reports

Post#61 by Bogomips » 05 Jul 2014, 01:14

brokenman wrote:Thanks. Process needs to be sent to background to avoid this banking out.

Around line 400 in /usr/bin/usm

<action>gtk_editFile '$CONF'</action>

change to:

<action>gtk_editFile '$CONF' &</action>

This will need to be done for all menu items following.
Latestt USM txz was in /tmp/usm, which ended up converted to xzm. Unpacked module, did edit, only affecting 1 line. Created xzm module from unpacked folder. Activated said module, and now GUI no longer loads.

Presumably next step would be to replace, in base module, corresponding module:

Code: Select all

guest@porteus:~$ ls /mnt/live/memory/images/001-core.xzm
bin/  etc/   lib/    mnt/  proc/  run/   srv/  tmp/  var/
dev/  home/  media/  opt/  root/  sbin/  sys/  usr/
guest@porteus:~$ ls /mnt/live/memory/images/001-core.xzm/usr/bin/usm
/mnt/live/memory/images/001-core.xzm/usr/bin/usm*
So, how best to replace USM module in 001-core.xzm with latest module, altered in prescribed manner?
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

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

Re: USM bug reports

Post#62 by brokenman » 05 Jul 2014, 20:39

There are other more suitable methods for updating a single file. One would be to copy the file to /mnt/sdxY/porteus/rootcopy. This folder is loaded into the live file system last and is perfect for small updates.

After editing the /usr/bin/usm file just copy it (with it's path intact) to the rootcopy folder and reboot.

Code: Select all

cp -a --parents /usr/bin/usm /mnt/sdxY/porteus/rootcopy
Replace sdxY with the actual path to your porteus install.

Be aware that when you next update the application that this file will be overwriting the update as it is the last to load in file layer. Just before updating the application you would delete this file. If you really want to edit the entire base module (002-xorg.xzm) then here is the procedure.

Download the latest USM/PPM file.
cd /tmp
wget --trust-server-names http://sourceforge.net/projects/usm/fil ... z/download

Copy the 002-xorg module from the live system
mkdir 002
cp -a /mnt/live/memory/images/002-xorg.xzm/* 002

Install the slackware package
installpkg -root 002 usm-latest-0.0-noarch-1.txz
Make your edit to 002/usr/bin/usm
Create your new 002-xorg.xzm module
dir2xzm 002 002-xorg.xzm
Now copy this new module into the base directory of your porteus install
cp 002-xorg.xzm /mnt/sdxY/porteus/base/
How do i become super user?
Wear your underpants on the outside and put on a cape.

mt12345
Black ninja
Black ninja
Posts: 66
Joined: 29 Jun 2014, 23:36
Distribution: Porteus RazorQT 32bit
Location: Europe

Re: USM bug reports

Post#63 by mt12345 » 15 Jul 2014, 00:21

Help!

Code: Select all

# usm -g unetbootin

Processing:   unetbootin-585-i486-1rl.txz 

Libraries required:  7
Libraries found in system: 7
Libraries to resolve: 0

/usr/share/usm/funcpackageGet: line 127: declare: 234K: value too great for base (error token is "234K")
it happens with other packages too. just the value is different.

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

Re: USM bug reports

Post#64 by brokenman » 15 Jul 2014, 03:48

Please give it 24hrs and try again. I need to update the database but have had no time this week.
How do i become super user?
Wear your underpants on the outside and put on a cape.

mt12345
Black ninja
Black ninja
Posts: 66
Joined: 29 Jun 2014, 23:36
Distribution: Porteus RazorQT 32bit
Location: Europe

Re: USM bug reports

Post#65 by mt12345 » 15 Jul 2014, 10:54

ok thanks.
I thought I broke system somehow.

how many people maintain porteus though?
in case you go holidays or something?

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

Re: USM bug reports

Post#66 by brokenman » 16 Jul 2014, 01:35

Right now? Not enough! I maintain USM but can update it from anywhere.
How do i become super user?
Wear your underpants on the outside and put on a cape.

mt12345
Black ninja
Black ninja
Posts: 66
Joined: 29 Jun 2014, 23:36
Distribution: Porteus RazorQT 32bit
Location: Europe

Re: USM bug reports

Post#67 by mt12345 » 16 Jul 2014, 21:42

is it updated? I still get error

miguipda
Samurai
Samurai
Posts: 157
Joined: 12 Jun 2012, 18:21
Location: france

Re: USM bug reports

Post#68 by miguipda » 19 Jul 2014, 14:43

Hi,

by trying to install (through USM) the chrome browser on 32 bit 3.0 version (version google-chrome-35.0.1916.114-i486-1sl.txz I received the fatal error message telling it does not find the LIBS.TXT

Then could you please solve it to be able using chrome ?

Sincerely thanks and have a nice day,

Miguipda ;-)

mt12345
Black ninja
Black ninja
Posts: 66
Joined: 29 Jun 2014, 23:36
Distribution: Porteus RazorQT 32bit
Location: Europe

Re: USM bug reports

Post#69 by mt12345 » 19 Jul 2014, 15:09

update usm, it installs in my system.

I still have this error

/usr/share/usm/funcpackageGet: line 127: declare: 234K: value too great for base

when trying to install unetbootin

User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: USM bug reports

Post#70 by francois » 21 Jul 2014, 21:20

There is some problem to build modules and libraries for lxmusic a front end for xmms2 under usm. I get the error message corrupted download for many modules. I have tried to build lxmusic in always fresh mode.

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

User avatar
JosepZ
White ninja
White ninja
Posts: 16
Joined: 21 Jul 2014, 19:39
Distribution: Porteus 3.0
Location: Barcelona

Re: USM bug reports

Post#71 by JosepZ » 22 Jul 2014, 06:31

Hi.

I created a new thread for my problem, but I just realized this is the right place for it. Sorry about the inconvenience. I'll paste my original post below. Seems to be a bug in USM 3.1.2.

Hi, all.
I've been a happy Porteus 3.0 user for around 2 months now. I'm currently using the LXDE version, but I've also tried the XFCE and RazorQT ones. I feel very comfortable with it and I've been able to create several modules for my personal use, all of which work just great.

My only problem came when I updated USM two days ago. It successfully upgraded to version 3.1.2. I was playing around with it when I found out that it doesn't resolve dependencies anymore, and yes, option is checked. Fortunately, I already have all the packages I need, both as slackbuilds and modules, but it's a bit annoying that something that worked perfectly suddenly breaks because of an update. I've tried 2 different USB devices in 3 machines, all with the same result.

Has anyone had the same problem? Could someone please try to reproduce the error?

Thanks a lot and keep up the good work.

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

Re: USM bug reports

Post#72 by brokenman » 22 Jul 2014, 16:19

Please run: usm -u all
How do i become super user?
Wear your underpants on the outside and put on a cape.

User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: USM bug reports

Post#73 by francois » 22 Jul 2014, 20:20

This did the job perfectly. This should be THE number one rule when troubleshooting usm. I will do this in the future.

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

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Re: USM bug reports

Post#74 by Ed_P » 25 Jul 2014, 05:55

I selected the samba-4.1.9-x86_64-1_slack14.1.txz package with the USM Resolve dependencies option and the Merge modules option. And I was informed the resulting package would be approximately 15 MB. After USM downloading and converting 6 packages I don't see a 15 MB module. Not in /tmp/usm nor in /home/guest/Downloads. I don't think the Merge function worked.
Last edited by Ed_P on 29 Jul 2014, 17:25, edited 1 time in total.
Ed

beny
Full of knowledge
Full of knowledge
Posts: 2086
Joined: 02 Jan 2011, 11:33
Location: italy

Re: USM bug reports

Post#75 by beny » 25 Jul 2014, 10:00

if i remeber well the merged packages are on desktop...

Post Reply