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...
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#346 by Bogomips » 21 Feb 2016, 19:46

32 bit

Code: Select all

 Starting slackware database update 
Downloading: CHECKSUMS.md5  DONE
Downloading: MANIFEST.bz2  DONE
Downloading: PACKAGES.TXT  DONE
Downloading: LIBS.TXT.gz  DONE
File verification was good.
Optimizing manifest
 slackware  database updated. 

 Starting slackwarepatches database update 
Downloading: CHECKSUMS.md5  DONE
Downloading: MANIFEST.bz2  DONE
Downloading: PACKAGES.TXT  DONE
Downloading: LIBS.TXT.gz  DONE
File verification was good.
Optimizing manifest
 slackwarepatches  database updated. 

 Starting slackonly database update 
Downloading: CHECKSUMS.md5.gz  DONE
Downloading: MANIFEST.bz2  DONE
Downloading: PACKAGES.TXT.gz  DONE
Downloading: LIBS.TXT.gz  DONE
File verification was good.
Optimizing manifest
 slackonly  database updated. 

 Starting sbo database update 
SLACKBUILDS.TXT.gz
Downloading: SLACKBUILDS.TXT.gz  DONE
 sbo  database updated. 


Downloading: extra-deps.txt  DONE
Downloading: ignore-deps.txt  DONE
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
francois
Contributor
Contributor
Posts: 6435
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#347 by francois » 26 Mar 2016, 18:29

How do I get the latest usm version. I get:

Code: Select all

root@porteus:~# usm -v
 You are using USM version:  3.1.7
root@porteus:~#
I would like 3.1.9 to get the latest kodi version.

Thanks.
Prendre son temps, profiter de celui qui passe.

Jack
Contributor
Contributor
Posts: 1857
Joined: 09 Aug 2013, 14:25
Distribution: Porteus and Nemesis
Location: USA

Re: USM Unified Slackware Package Manager

Post#348 by Jack » 26 Mar 2016, 18:52

francois wrote:How do I get the latest usm version. I get:

Code: Select all

root@porteus:~# usm -v
 You are using USM version:  3.1.7
root@porteus:~#
I would like 3.1.9 to get the latest kodi version.

Thanks.
Here is where. https://sourceforge.net/projects/usm/
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.

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

Re: USM Unified Slackware Package Manager

Post#349 by Ed_P » 26 Mar 2016, 20:48

francois wrote:How do I get the latest usm version.
The USM GUI's Update function works. :wink:
Ed

User avatar
francois
Contributor
Contributor
Posts: 6435
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#350 by francois » 27 Mar 2016, 08:05

usm -u usm works fine.
Thanks.
Prendre son temps, profiter de celui qui passe.

igreka
White ninja
White ninja
Posts: 29
Joined: 05 Oct 2014, 21:48
Distribution: porteus 3
Location: lincoln

Re: USM Unified Slackware Package Manager

Post#351 by igreka » 12 Jul 2016, 03:05

Hi all,

USM on my system is stuck to version 3.1.4, though it keeps telling me that it is up to date despite me seeing that the latest version on SourceForge is 3.1.9.

Also USM can't access Slackbuilds and keeps throwing this awful "awk: fatal: cannot open file `/var/usm/sbo/SLACKBUILDS.TXT' for reading (No such file or directory)" error whenever a lib or package is not found in the repos.

Any help would be welcome. Thanks.

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

Re: USM Unified Slackware Package Manager

Post#352 by Ed_P » 12 Jul 2016, 03:26

What version of Porteus are you running? And what desktop?

What happens when you run the usm command francois posted above your post?
Ed

igreka
White ninja
White ninja
Posts: 29
Joined: 05 Oct 2014, 21:48
Distribution: porteus 3
Location: lincoln

Re: USM Unified Slackware Package Manager

Post#353 by igreka » 12 Jul 2016, 11:02

Thanks for the reply Ed,

My Porteus kernel is 3.14.15 and it is running on a DELL Inspiron 640M, dual core, 32 bits.

Attempting usm -u usm results in the following:
Downloading: vercheck.txt DONE

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

You have the current USM version.

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#354 by Bogomips » 12 Jul 2016, 11:43

First, as a test, in always fresh mode, without saving changes in /home/guest:

Code: Select all

su
removepkg  usm-latest-0.0-noarch-1
or whatever /var/log/packages has for usm.

Then download the appropriate usm package from SourceForge link to /home/guest, then

Code: Select all

installpkg  usm-latest-0.0-noarch-1
if that is the package name.

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

igreka
White ninja
White ninja
Posts: 29
Joined: 05 Oct 2014, 21:48
Distribution: porteus 3
Location: lincoln

Re: USM Unified Slackware Package Manager

Post#355 by igreka » 13 Jul 2016, 10:49

It doesn't seem to work.

The removepkg seems to work fine as it make 'usm' inaccessible.

But the installpkg does not bring back the 'usm' command, even though it was that the package was installed.

:(

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#356 by Bogomips » 13 Jul 2016, 11:09

Been a while since I last done something like this. Could be something to do with whiteouts, but don't think so. And nothing given for

Code: Select all

which usm
file /usr/bin/usm
file /opt/porteus-scripts/usm
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

igreka
White ninja
White ninja
Posts: 29
Joined: 05 Oct 2014, 21:48
Distribution: porteus 3
Location: lincoln

Re: USM Unified Slackware Package Manager

Post#357 by igreka » 13 Jul 2016, 14:06

Interestingly, which usm results in /usr/bin/usm

file /usr/bin/usm outputs /usr/bin/usm: Bourne-Again shell script, ASCII text executable

There is no usm script in /opt/porteus-scripts/

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#358 by Bogomips » 13 Jul 2016, 16:38

Code: Select all

su
which usm
file /usr/bin/usm
ls -l /usr/bin/usm
usm -v
/usr/bin/usm -v
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: 8390
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Re: USM Unified Slackware Package Manager

Post#359 by Ed_P » 13 Jul 2016, 21:01

Maybe this brokenman script will help rebuild the USM system.

http://forum.porteus.org/viewtopic.php? ... 697#p24697
Ed

igreka
White ninja
White ninja
Posts: 29
Joined: 05 Oct 2014, 21:48
Distribution: porteus 3
Location: lincoln

Re: USM Unified Slackware Package Manager

Post#360 by igreka » 14 Jul 2016, 12:50

Wow, thanks Ed.

The Brokenman script worked like a charm and did upgrade usm to the latest version as expected.

The repo updates work fine now including the sbo database. fantastic. :Yahoo!:

Thank you all for your inputs.

Post Reply