Page 24 of 36

Re: USM bug reports

Posted: 21 Sep 2015, 23:47
by Rava
Ed_P wrote:See the suggestion posted here: http://forum.porteus.org/viewtopic.php? ... 009#p36842
It seems reasonable and doable. :)
I even suggest something along the lines of "When you are finished updating, you should now close this window and restart USM for the updates to be incorporated".

Re: USM bug reports

Posted: 22 Sep 2015, 04:32
by brokenman
Ok guys thanks for the suggestions. Appreciate the input and will implement this message.

Re: USM bug reports

Posted: 22 Sep 2015, 22:25
by Rava
^
Image Image Image

SCNR. But USM improvement makes me a happy camper. :D


Anyhow, where do you post that a new USM version is available? In here? (As in: this very thread)

Re: USM bug reports

Posted: 22 Sep 2015, 22:52
by Ed_P
Rava wrote:Image Image Image
:ROFL:

If USM is being tweaked, changing the name of the USM Cancel button to Close should be considered. :)

Re: USM bug reports

Posted: 23 Sep 2015, 21:16
by Ed_P
Something isn't working on this 486 machine with Porteus 3.0.1.

Code: Select all

guest@porteus:~$ su
Password: 
root@porteus:/home/guest# usm -g u3-tool

 The following items were found.
 Choose an number to confirm. 
 ctrl+c to quit

1) u3-tool-0.3-i486-1_slack.txz
#? 1

Processing:   u3-tool-0.3-i486-1_slack.txz 

 The following packages are required. 
u3-tool-0.3-i486-1_slack.txz [24K] [not installed]

Total size: 24 KB
 Would you like to install the package/s? (custom paths are supported) [y/n]

 Press [r] to remove packages, [q] to quit, or enter to start downloading.

 Updates are available. 
 Program update:   available 
 Database update:  available 
 Please run:  usm -u all  and/or  usm -u usm 
 This message can be disabled in /etc/usm/usm.conf
 ############################### 
Downloading: u3-tool-0.3-i486-1_slack.txz  DONE

 Commencing package conversion ... 
Verifying package u3-tool-0.3-i486-1_slack.txz.
xz: (stdin): File format not recognized
Installing package u3-tool-0.3-i486-1_slack.txz:
PACKAGE DESCRIPTION:
WARNING:  Package has not been created with 'makepkg'
Package u3-tool-0.3-i486-1_slack.txz installed.

Creating /tmp/usm/u3-tool-0.3-i486-1_slack.xzm


root@porteus:/home/guest# ls /tmp/usm/
u3-tool-0.3-i486-1_slack.txz  u3-tool-0.3-i486-1_slack.xzm
root@porteus:/home/guest# ls -l /tmp/usm/
total 4
-rw-r--r-- 1 root root    0 Sep 23 12:33 u3-tool-0.3-i486-1_slack.txz
-rw-r--r-- 1 root root 4096 Sep 23 12:33 u3-tool-0.3-i486-1_slack.xzm
root@porteus:/home/guest# usm -v
 You are using USM version:  3.1.8
Had the same problem last night also and with the keepassx module.

Re: USM bug reports

Posted: 24 Sep 2015, 00:03
by Bogomips

Code: Select all

guest@porteus:~$ ls -lh /tmp/usm/hexedit-1.2.12-i486-1_slack.*
-rw-r--r-- 1 root root    0 Sep 19 02:03 /tmp/usm/hexedit-1.2.12-i486-1_slack.txz
-rw-r--r-- 1 root root 4.0K Sep 19 02:15 /tmp/usm/hexedit-1.2.12-i486-1_slack.xzm
Thought something I had done to affect xz, but obviously not. Porteus 3.1

Re: USM bug reports

Posted: 24 Sep 2015, 13:07
by brokenman
Thanks guys. Found a slight variation in the PACKAGES.TXT which was generated on 21/9/2015 which other slacks don't have. Perhaps the method changed in the way the files are generated. I have located the associated code in USM but I want to fix a few other thing before pushing another update. If you want a quick fix please download the file below and replace it in /usr/share/usm

Code: Select all

wget --no-check-certificate https://raw.githubusercontent.com/brokenman/usm/master/funcpackageGet
EDIT: Thanks for the typo correction Ed_P

Re: USM bug reports

Posted: 24 Sep 2015, 13:34
by Ed_P
brokenman wrote:If you want a quick fix please download the file below and replace it in /usr/share/usm

Code: Select all

wget --nocheck-certificate https://raw.githubusercontent.com/brokenman/usm/master/funcpackageGet
Needs to be:

Code: Select all

wget --no-check-certificate https://raw.githubusercontent.com/brokenman/usm/master/funcpackageGet


-update-
The fix works. :good:

Code: Select all

Package u3-tool-0.3-i486-1_slack.txz installed.

Creating /tmp/usm/u3-tool-0.3-i486-1_slack.xzm

Updating shared library links:  /sbin/ldconfig
 Enter a custom path to install packages to or press enter to install to the system: 
>
Installing to system

+==============================================================================
| Skipping package u3-tool-0.3-i486-1_slack (already installed)
+==============================================================================
Thanks brokenman. :beer:

Still getting this though.

Code: Select all

Updates are available. 
 Program update:   available 
 Database update:  available 
 Please run:  usm -u all  and/or  usm -u usm 



Then checking and running usm -u usm:



root@porteus:/home/guest# usm -v
 You are using USM version:  3.1.8

root@porteus:/home/guest# usm -u usm
Downloading: vercheck.txt  DONE

 An update is available for the usm database files.
 Please run:  usm -u all 

 A new version of USM is available.
 Would you like to download it now? [y/n]
Downloading: usm-latest-0.0-noarch-1.txz  DONE

Removing package /var/log/packages/usm-latest-0.0-noarch-1...
Removing files:
  --> Deleting /etc/usm/extra-deps.txt
 :
etc
 :
  --> Deleting empty directory /usr/src/po/
WARNING: Unique directory /usr/share/usm/ contains new files
WARNING: Unique directory /etc/usm/ contains new files
  Installing new version now 
usm-latest-0.0-noarch-1:                                                 [320K]

 USM was updated successfully
 You are currently using:
 USM-v3.1.8 
:pardon:

Re: USM bug reports

Posted: 24 Sep 2015, 13:54
by Ed_P
EDIT: Thanks for the typo correction Ed_P
You still have it wrong. :D

--no-check-certificate

Needs another dash.

Re: USM bug reports

Posted: 25 Sep 2015, 01:56
by brokenman
Ahhh. I just set it up as an alias in my ~/.bashrc file. Haven't typed it for a while.

Updated to 3.1.9. Fixed some minor bugs. Hopefully didn't break anything further.

Re: USM bug reports

Posted: 26 Sep 2015, 22:20
by Ed_P
brokenman wrote:Updated to 3.1.9. Fixed some minor bugs.
Thank you brokenman. :good:

Code: Select all

The default is 3 hours
 Please restart the application to refreshthe database.
A suggestion, put a space after the word refresh. :)

BTW At one time to copy & paste from the USM Terminal window ctrl+shift+C and ctrl+shift+V worked. http://forum.porteus.org/viewtopic.php? ... 087#p27077 But not now. Fortunately ctrl+insert & shift+insert still work.
brokenman wrote:an alias in my ~/.bashrc file.
Would like to hear more about this file. Image

Re: USM bug reports

Posted: 26 Sep 2015, 23:49
by brokenman
Thanks. I seem to be making many typos lately.

An alias is like an old school macro. If you open a terminal and type:
alias printit='echo "This is like a macro"'
printit

You will see that it prints this sentence. Now if you put these lines in your ~/.bashrc file then log out and login you should have them available in all shells that you open. The alias I was talking about was:
alias wget='wget --no-check-certificate --trust-server-names'

Re: USM bug reports

Posted: 27 Sep 2015, 00:07
by Ed_P
Interesting. Thanks.

Does the creating of an alias automatically create the .bachrc file? hmmm No, I think I manually create it then add the alias to it. Can other commands be added to it, other than aliases? hmmmm Think I will Google bachrc and see what pops.

Thank you brokenman. :friends:

Re: USM bug reports

Posted: 27 Sep 2015, 00:26
by brokenman
The file already exists and already has aliases.
cat ~/.bashrc

Any command you add here will be run on login. Please start a new thread for more info. Thanks.

Re: USM bug reports

Posted: 16 Oct 2015, 06:59
by aus9
graphical USM does not know its updated.
##########################

Hi I am new to Porteus using the XFCE v3.1 x86_64 iso as both a hard drive install and to an USB stick and tested on both.

Details for others to duplicate if interested
1) Original v 3.1.7 for a clean install
2) open the app and click on updates and update for USM and wait for response
3) it downloads and says you are on v 3.1.9 and restart app
4) restart app and you can repeat above process.

I thought an image might help?

Image

Incidently, in case it helps

Code: Select all

root@porteus:/mnt/sda3/porteus/changes/tmp/usm# ls
usm-latest-0.0-noarch-1.txz
I hope this is easy to solve.

Yes I know I am on the latest. I am reporting that USM does not know I am on the latest

trivial question....am I supposed to move that txz to modules or something?
EDIT, rebooted after converting to xzm and version is OK
trivial question (2) Why not have a version number in that txz?