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: 5439
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: USM Unified Slackware Package Manager

Post#331 by brokenman » 02 Oct 2014, 16:01

the module could be placed in the user's extramod directory, either by default or as an option.
USM has no way of knowing the location of your extramods directory. It could be anywhere. User can just as easily use extramod= to point to their USM storage.
How do i become super user?
Wear your underpants on the outside and put on a cape.

User avatar
Ed_P
Contributor
Contributor
Posts: 3070
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 3.2.2 64-bit ISO
Location: Western NY, USA

Re: USM Unified Slackware Package Manager

Post#332 by Ed_P » 02 Oct 2014, 16:10

gee, the "cat /proc/cmdline" command in RazorQT shows me the directory where my extramods option is pointing to. Don't know if would work in other DEs.
Ed

User avatar
brokenman
Site Admin
Site Admin
Posts: 5439
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: USM Unified Slackware Package Manager

Post#333 by brokenman » 02 Oct 2014, 17:22

gee, the "cat /proc/cmdline" command in RazorQT shows me the directory where my extramods option is pointing to.
That's nice for you. You added the cheat code. Mine doesn't show me any extramods folder. I have to think 'in general' where 95% of users don't use this cheat, and the folder where they like to store extra stuff may be unknown. One folder is known ... $STORAGE. It can act like an extramod folder and you can more easily point your cheat code there than I can add code for all situations. Thanks.
How do i become super user?
Wear your underpants on the outside and put on a cape.

User avatar
Ed_P
Contributor
Contributor
Posts: 3070
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 3.2.2 64-bit ISO
Location: Western NY, USA

Re: USM Unified Slackware Package Manager

Post#334 by Ed_P » 02 Oct 2014, 21:49

brokenman wrote:I have to think 'in general' where 95% of users don't use this cheat, and the folder where they like to store extra stuff may be unknown.
You're probably right. Better to use fanthom's suggestion and put the downloaded packages and modules in /usr/share/usm or even /opt/usm. Then a user's storage options doesn't matter and coding should be simpler.
Ed

User avatar
brokenman
Site Admin
Site Admin
Posts: 5439
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: USM Unified Slackware Package Manager

Post#335 by brokenman » 03 Oct 2014, 02:22

What about $HOME/usm ??
How do i become super user?
Wear your underpants on the outside and put on a cape.

User avatar
Slaxmax
Contributor
Contributor
Posts: 403
Joined: 03 Jan 2013, 09:51
Distribution: KDE4
Location: Campinas Brazil https://goo.gl/yrxwKi

Re: USM Unified Slackware Package Manager

Post#336 by Slaxmax » 05 Oct 2014, 05:37

database was updated, but yet show message to update.

Code: Select all

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

root@porteus:/home/guest# usm -u all
alien was updated 776 seconds ago. Skipping.
salix was updated 48 seconds ago. Skipping.
slacky was updated 742 seconds ago. Skipping.
ponce was updated 723 seconds ago. Skipping.
slackware was updated 314 seconds ago. Skipping.
slackwarepatches was updated 234 seconds ago. Skipping.
sbo was updated 54 seconds ago. Skipping.

extra-deps.txt was updated 48 seconds ago. Skipping.
ignore-deps.txt was updated 48 seconds ago. Skipping.

You can change the time limit for skipping in: /etc/usm/usm.conf
The default is 3 hours

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

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

1) gnutls-3.1.16-i486-1.txz
2) gnutls-3.1.25-i486-1_slack14.1.txz
#? 2

Processing:   gnutls-3.1.25-i486-1_slack14.1.txz 
Ignored libraries: 

Libraries required:  15
Libraries found in system: 14
Libraries to resolve: 1

Processing library: libgnutls.so.28


 The following packages are required. 
gnutls-3.1.25-i486-1_slack14.1.txz [1984K]

Total size: 1 MB

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

 Updates are available. 
 Program update:   not required 
 Database update:  available 
 Please run:  usm -u all  and/or  usm -u usm 
 This message can be disabled in /etc/usm/usm.conf
 ############################### 
gnutls-3.1.25-i486-1_slack14.1.txz already exists

root@porteus:/home/guest# 
and gnutls downloaded 0B
“DNA is like a computer program but far, far more advanced than any software ever created.”
― Bill Gates, The Road Ahead

User avatar
Slaxmax
Contributor
Contributor
Posts: 403
Joined: 03 Jan 2013, 09:51
Distribution: KDE4
Location: Campinas Brazil https://goo.gl/yrxwKi

Re: USM Unified Slackware Package Manager

Post#337 by Slaxmax » 06 Oct 2014, 18:33

@Brokenman

An interesting option would automatically choose the dependencies without warnings.
For example always choose the smaller package.
And in the end show the option to choose the package you want to download, or remove some.

thx
“DNA is like a computer program but far, far more advanced than any software ever created.”
― Bill Gates, The Road Ahead

User avatar
brokenman
Site Admin
Site Admin
Posts: 5439
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: USM Unified Slackware Package Manager

Post#338 by brokenman » 18 Oct 2014, 01:25

Thanks Slaxmax. I will take a look at this option. Progress was frozen until the release of Porteus v3.1rc1 which will be available very soon (probably tomorrow).

I have just now updated USM to v3.1.7 but you may want to wait for the new Porteus version instead.
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: 5439
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: USM Unified Slackware Package Manager

Post#339 by brokenman » 20 Oct 2014, 23:52

Updated USM database.
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: 5439
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: USM Unified Slackware Package Manager

Post#340 by brokenman » 14 Nov 2014, 15:03

Updated database
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: 5439
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: USM Unified Slackware Package Manager

Post#341 by brokenman » 14 Dec 2014, 15:19

Updated database

# 141213

latest flashplugin is now available with minor version 425.
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: 2522
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: USM Unified Slackware Package Manager

Post#342 by Bogomips » 17 Jan 2015, 12:52

Enhancement Request

If there are missing dependencies which USM has been unable to find, could we at the end have something like:

Warning: Unresolved dependencies

Package abc.txz requires libx, liby Not found.

Proceed?

Thanks.
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: 5439
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: USM Unified Slackware Package Manager

Post#343 by brokenman » 17 Jan 2015, 13:49

Can you give an example of a package that doesn't fully resolve dependencies so I can use it for testing?
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: 2522
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: USM Unified Slackware Package Manager

Post#344 by Bogomips » 18 Jan 2015, 13:01

brokenman wrote:Can you give an example of a package that doesn't fully resolve dependencies so I can use it for testing?
Can't remember offhand. Will have to do a grep. Would help if you could provide message format for when a library cannot be resolved.
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: 5439
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: USM Unified Slackware Package Manager

Post#345 by brokenman » 18 Jan 2015, 13:22

I am sure in CLI there is a colorful message that a library couldn't be resolved, but I can't remember about the GUI. Will hunt until I find one that can't be resolved.
How do i become super user?
Wear your underpants on the outside and put on a cape.

Post Reply