Page 5 of 36

Re: USM bug reports

Posted: 05 Jul 2014, 01:14
by Bogomips
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?

Re: USM bug reports

Posted: 05 Jul 2014, 20:39
by brokenman
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/

Re: USM bug reports

Posted: 15 Jul 2014, 00:21
by mt12345
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.

Re: USM bug reports

Posted: 15 Jul 2014, 03:48
by brokenman
Please give it 24hrs and try again. I need to update the database but have had no time this week.

Re: USM bug reports

Posted: 15 Jul 2014, 10:54
by mt12345
ok thanks.
I thought I broke system somehow.

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

Re: USM bug reports

Posted: 16 Jul 2014, 01:35
by brokenman
Right now? Not enough! I maintain USM but can update it from anywhere.

Re: USM bug reports

Posted: 16 Jul 2014, 21:42
by mt12345
is it updated? I still get error

Re: USM bug reports

Posted: 19 Jul 2014, 14:43
by miguipda
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 ;-)

Re: USM bug reports

Posted: 19 Jul 2014, 15:09
by mt12345
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

Re: USM bug reports

Posted: 21 Jul 2014, 21:20
by francois
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.

Re: USM bug reports

Posted: 22 Jul 2014, 06:31
by JosepZ
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.

Re: USM bug reports

Posted: 22 Jul 2014, 16:19
by brokenman
Please run: usm -u all

Re: USM bug reports

Posted: 22 Jul 2014, 20:20
by francois
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.

Re: USM bug reports

Posted: 25 Jul 2014, 05:55
by Ed_P
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.

Re: USM bug reports

Posted: 25 Jul 2014, 10:00
by beny
if i remeber well the merged packages are on desktop...