Page 23 of 25

Re: USM Unified Slackware Package Manager

Posted: 05 Sep 2015, 04:27
by brokenman
Bumped to v3.1.8
Only change was adding the slackonly repository since it was asked for multiple times.
I will continue developing this when I get more time.

Available on github for 24 hours.
https://github.com/brokenman/usm

I will test for 24 hours and then push to sourceforge after which you can update through USM.

Re: USM Unified Slackware Package Manager

Posted: 05 Sep 2015, 05:21
by Ed_P

Re: USM Unified Slackware Package Manager

Posted: 05 Sep 2015, 20:30
by brokenman
I had no idea the mod even existed. Nice work cttan!

I can't say whether it will replace his module or not. I am not sure how he generated the LIBS.TXT file which is required by USM to correctly generate dependency lists. All I can say is that this version adds the slackonly repository to USM and updates daily.

Re: USM Unified Slackware Package Manager

Posted: 06 Sep 2015, 13:42
by brokenman
Upgraded to 3.1.8. Please run: usm -u usm

Most notable functions are addition of slackonly repository and ability to update base slackware packages from slackware patches: usm -u system

+-------------------------
Fri Aug 04 01:10:02 UTC 2015
Added slackonly repository

+-------------------------
Sat May 02 13:48:10 UTC 2015
Fixed bug for keyword search (thanks Seva)

+-------------------------
Tue Apr 21 18:28:16 UTC 2015
Added update slackware packages: usm -u system
Added activate Porteus modules by default to config file
Added remove slackware packages to config file
Added above configs to GUI

Re: USM Unified Slackware Package Manager

Posted: 07 Sep 2015, 00:53
by Ed_P
brokenman wrote:+-------------------------
Fri Aug 04 01:10:02 UTC 2015
Aug?? Don't you mean Sept?

Re: USM Unified Slackware Package Manager

Posted: 09 Sep 2015, 04:25
by francois
@brokenman:

A little bug here after

Code: Select all

usm -u usm
and update all database, at next bootup, I have to reupdate databases. The on the second bootup, I get:

Code: Select all

root@porteus:~# usm -g package-name

 You are missing required database files! 
 Please run: usm -u all

root@porteus:~#


I have to update all database each time I want to use usm. Is this normal? Can anyone confirm as it happens only in persistent mode? (one cannot reboot with the always fresh mode).

Re: USM Unified Slackware Package Manager

Posted: 09 Sep 2015, 18:58
by brokenman
After updating the database can you confirm that the files are in /mnt/live/memory/changes/var/usm/ ? If so then they should be in your changes folder too.

Re: USM Unified Slackware Package Manager

Posted: 11 Sep 2015, 01:05
by Bogomips
Inconsistency

Created Module bundle gets activated, but created single module does not:

Code: Select all

root@porteus:/home/guest# usm -g expat

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

1) expat-2.1.0-i486-1.txz
#? 1

Processing:   expat-2.1.0-i486-1.txz 
Ignored libraries: 

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



 The following packages are required. 
expat-2.1.0-i486-1.txz [136K] [not installed]

Total size: 136 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
 ############################### 
expat-2.1.0-i486-1.txz already exists

 Commencing package conversion ... 
Verifying package expat-2.1.0-i486-1.txz.
Installing package expat-2.1.0-i486-1.txz:
PACKAGE DESCRIPTION:
# expat (C library for parsing XML)
#
# This is Expat, a C library for parsing XML, written by James Clark.
# Expat is a stream-oriented XML parser used by Python, GNOME, Xft2,
# and other things.
#
Executing install script for expat-2.1.0-i486-1.txz.
Package expat-2.1.0-i486-1.txz installed.

Creating /tmp/usm/expat-2.1.0-i486-1.xzm


root@porteus:/home/guest# activate /tmp/usm/expat-2.1.0-i486-1.xzm 
Updating shared library links:  /sbin/ldconfig

Re: USM Unified Slackware Package Manager

Posted: 11 Sep 2015, 20:04
by brokenman
Thanks will check it out.

Re: USM Unified Slackware Package Manager

Posted: 11 Sep 2015, 21:52
by francois
@brokenman:

1.0 After updating the database I confirm that the files are in /mnt/live/memory/changes/var/usm/. I imagine my persistent folder has corrupted with time. I will try with a brand new one.

2.0 Alien database is back.

Re: USM Unified Slackware Package Manager

Posted: 01 Oct 2015, 23:40
by Bogomips
3.1.8 had only one shortcoming, in that it did not activate a module made from a single package. 3.1.9 makes modules of everything, of bundle and of modules in subfolder. Even though bundle is ready, one has to wait till usm finishes making all the constituent modules, all of which are of no use to me.

Duplication persists (which is somewhat irritating):

Code: Select all

root@porteus:/home/guest# usm -g Handbrake

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

1) HandBrake-0.9.9-i686-2gv.txz
#? 1

Processing:   HandBrake-0.9.9-i686-2gv.txz 
Ignored libraries: 

Libraries required:  75
Libraries found in system: 68
Libraries to resolve: 7

Processing library: libgstaudio-1.0.so.0

 More than one package contains:  libgstaudio-1.0.so.0
gst1-plugins-base-1.4.4-i486-1sl.txz     1517K  slacky
gst-plugins-base1-1.2.2-i486-1gv.txz     1217K  salix
gst1-plugins-base-1.4.5-i486-1ponce.txz  2004K  ponce

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

1) gst1-plugins-base-1.4.4-i486-1sl.txz
2) gst-plugins-base1-1.2.2-i486-1gv.txz
3) gst1-plugins-base-1.4.5-i486-1ponce.txz
#? 3
Processing library: libgstbase-1.0.so.0

 More than one package contains:  libgstbase-1.0.so.0
gstreamer1-1.4.4-i486-1sl.txz     1551K  slacky
gstreamer1-1.2.2-i486-1gv.txz     1470K  salix
gstreamer1-1.4.5-i486-1ponce.txz  1564K  ponce

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

1) gstreamer1-1.4.4-i486-1sl.txz     3) gstreamer1-1.4.5-i486-1ponce.txz
2) gstreamer1-1.2.2-i486-1gv.txz
#? 3
Processing library: libgstpbutils-1.0.so.0
Processing library: libgstreamer-1.0.so.0
Processing library: libgsttag-1.0.so.0
Processing library: libgstvideo-1.0.so.0
Processing library: liborc-0.4.so.0
awk: cmd. line:1: (FILENAME=- FNR=1) fatal: attempt to access field -1

 More than one package contains:  liborc-0.4.so.0
insync-1.2.18.35198-i486-1_slack.txz
orc-0.4.23-i486-1ponce.txz            200K  ponce
orc-0.4.18-i486-1gv.txz               162K  salix
orc-0.4.23-i486-1ponce.txz            200K  ponce

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

1) insync-1.2.18.35198-i486-1_slack.txz
2) orc-0.4.23-i486-1ponce.txz
3) orc-0.4.18-i486-1gv.txz
4) orc-0.4.23-i486-1ponce.txz
#? ^C
Could be due to the prior awk error?

Re: USM Unified Slackware Package Manager

Posted: 02 Oct 2015, 00:02
by Ed_P
Yes, I've found USM making everything a module before merging them, I assumed that was what it always did.

An improvement I would like to see is when USM's Processing window lists multiple packages containing a dependency it would be nice if the packages listed included their size. It would help a user select which package he/she wants to select.

Re: USM Unified Slackware Package Manager

Posted: 27 Dec 2015, 19:00
by Blaze

Re: USM Unified Slackware Package Manager

Posted: 21 Feb 2016, 12:59
by beny
oot@porteus:~# usm -u all
alien was updated 179 seconds ago. Skipping.
salix was updated 166 seconds ago. Skipping.
slacky was updated 163 seconds ago. Skipping.
ponce was updated 159 seconds ago. Skipping.
slackware was updated 158 seconds ago. Skipping.
Starting slackwarepatches database update
Downloading: vercheck.txt DONE
Downloading: CHECKSUMS.md5 DONE
Downloading: MANIFEST.bz2 DONE
Downloading: PACKAGES.TXT DONE
Downloading: LIBS.TXT.gz DONE
There was a problem downloading the file:
the issue is on the upgrade of slackwarepatches the usm -u slackonly work so i am wrong on this...

Re: USM Unified Slackware Package Manager

Posted: 21 Feb 2016, 19:28
by brokenman
Can anyone else confirm this? I can't reproduce it. Updates find in both archs.

Have you altered the config file at all?