USM Unified Slackware Package Manager

Here is a place for your projects which are not officially supported by the Porteus Team. For example: your own kernel patched with extra features; desktops not included in the standard ISO like Gnome; base modules that are different than the standard ISO, etc...
User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: USM Unified Slackware Package Manager

Post#331 by brokenman » 05 Sep 2015, 04:27

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.
How do i become super user?
Wear your underpants on the outside and put on a cape.

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

Re: USM Unified Slackware Package Manager

Post#332 by Ed_P » 05 Sep 2015, 05:21

Ed

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

Re: USM Unified Slackware Package Manager

Post#333 by brokenman » 05 Sep 2015, 20:30

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.
How do i become super user?
Wear your underpants on the outside and put on a cape.

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

Re: USM Unified Slackware Package Manager

Post#334 by brokenman » 06 Sep 2015, 13:42

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
How do i become super user?
Wear your underpants on the outside and put on a cape.

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

Re: USM Unified Slackware Package Manager

Post#335 by Ed_P » 07 Sep 2015, 00:53

brokenman wrote:+-------------------------
Fri Aug 04 01:10:02 UTC 2015
Aug?? Don't you mean Sept?
Ed

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

Re: USM Unified Slackware Package Manager

Post#336 by francois » 09 Sep 2015, 04:25

@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).
Prendre son temps, profiter de celui qui passe.

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

Re: USM Unified Slackware Package Manager

Post#337 by brokenman » 09 Sep 2015, 18:58

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.
How do i become super user?
Wear your underpants on the outside and put on a cape.

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 Unified Slackware Package Manager

Post#338 by Bogomips » 11 Sep 2015, 01:05

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
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 Unified Slackware Package Manager

Post#339 by brokenman » 11 Sep 2015, 20:04

Thanks will check it out.
How do i become super user?
Wear your underpants on the outside and put on a cape.

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

Re: USM Unified Slackware Package Manager

Post#340 by francois » 11 Sep 2015, 21:52

@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.
Prendre son temps, profiter de celui qui passe.

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 Unified Slackware Package Manager

Post#341 by Bogomips » 01 Oct 2015, 23:40

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?
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
Ed_P
Contributor
Contributor
Posts: 8315
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Re: USM Unified Slackware Package Manager

Post#342 by Ed_P » 02 Oct 2015, 00:02

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.
Ed

User avatar
Blaze
DEV Team
DEV Team
Posts: 3860
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Re: USM Unified Slackware Package Manager

Post#343 by Blaze » 27 Dec 2015, 19:00

Linux 6.6.11-porteus #1 SMP PREEMPT_DYNAMIC Sun Jan 14 12:07:37 MSK 2024 x86_64 Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

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

Re: USM Unified Slackware Package Manager

Post#344 by beny » 21 Feb 2016, 12:59

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...

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

Re: USM Unified Slackware Package Manager

Post#345 by brokenman » 21 Feb 2016, 19:28

Can anyone else confirm this? I can't reproduce it. Updates find in both archs.

Have you altered the config file at all?
How do i become super user?
Wear your underpants on the outside and put on a cape.

Post Reply