USM question

Post here if you are a new Porteus member and you're looking for some help.
rcrsf
Black ninja
Black ninja
Posts: 35
Joined: 26 Apr 2015, 18:33
Distribution: v3.1-x86_64
Location: California

USM question

Post#1 by rcrsf » 11 Feb 2016, 07:06

I've been adding some modules via the USM package manager.

Often when downloading, I get the message "More than one package contains..."
For example, on downloading VLC, it says: "More than one package contains: libQtCore.so.4"
And then there is a list of 9 packages to choose from.

My question is: what am I doing/choosing there?
... Choosing another package to download? Even if I don't want it?
... Looking for a package that I already have installed, so that it shares the resource? If so, what if I don't have already one?
... It seems to require choosing something. So if neither of the above, then what do I choose?

Thanks in advance for clarification

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

Re: USM question

Post#2 by francois » 11 Feb 2016, 07:14

These are necessary libraries for the package of interest.

Just tap enter to get the first one on the list or select a number amongst those offered, just one number.
Prendre son temps, profiter de celui qui passe.

aus9

Re: USM question

Post#3 by aus9 » 11 Feb 2016, 11:38

longer answer as loves vlc......this is 64 bit response so your versions may vary

try to choose the most recent version here

1) vlc-2.1.2-x86_64-1dj.txz 3) vlc-2.2.1-x86_64-1alien.txz
2) vlc-2.1.6-x86_64-15_slack.txz

3 is higher
######################################
More than one package contains: libQtCore.so.4
#######################################
qt-4.8.7-x86_64-1_slack14.1.txz 28356K slackwarepatches
qt-4.8.5-x86_64-2.txz 28204K slackware
teamviewer-10.0.36281-x86_64-1_slack.txz 27556K slackonly
insync-1.3.3.36056-x86_64-1_slack.txz 33604K slackonly
copy-3.2.01.0481-x86_64-3_slack.txz 12896K slackonly
paraview-4.0.1-x86_64-1_slack.txz 85084K slackonly
copasi-4.16.104-x86_64-1_slack.txz 28612K slackonly
skype-4.3.0.37-x86_64-1sl.txz 42659K slacky
copy-client-3.2.01.0481-x86_64-1alien.tgz 19612K alien

qt-4.8.7 is higher.

although the others say they have qt files I always try to choose the most meaningful package in that case its Qt

some other packages may be smaller but you maxmise support by going for the main package choice.

Is that clearer?

rcrsf
Black ninja
Black ninja
Posts: 35
Joined: 26 Apr 2015, 18:33
Distribution: v3.1-x86_64
Location: California

Re: USM question

Post#4 by rcrsf » 11 Feb 2016, 14:22

Well, I'm not sure what qt-4.8.7 is -- ut let's say for example that I chose "teamviewer-10.0.36281-x86_64-1_slack.txz 27556K" -- does that mean that I'm also downloading teamviewer?
Or does it mean that my download of vlc-2.2.1-x86_64-1alien.txz is going to use "libQtCore.so.4" from teamviewer (but only download the libQtCore.so.4 part from teamviewer)?
I guess I'm also confused why libQtCore.so.4 wouldn't have just been included with VLC if it's required...?

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 question

Post#5 by Bogomips » 11 Feb 2016, 15:17

rcrsf wrote:Well, I'm not sure what qt-4.8.7 is -- ut let's say for example that I chose "teamviewer-10.0.36281-x86_64-1_slack.txz 27556K" -- does that mean that I'm also downloading teamviewer?
Or does it mean that my download of vlc-2.2.1-x86_64-1alien.txz is going to use "libQtCore.so.4" from teamviewer
Yes to the best of my knowledge
(but only download the libQtCore.so.4 part from teamviewer)?
You have to take it all, as there may be other parts of the package, which might be needed by libQtCore.so.4.
why libQtCore.so.4 wouldn't have just been included with VLC if it's required...?
Which gets us to the core of the dependencies headache. Its to do with reusable code. Why write an almost similar bit of software, when someone somewhere else is already doing it? :twisted:
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

rcrsf
Black ninja
Black ninja
Posts: 35
Joined: 26 Apr 2015, 18:33
Distribution: v3.1-x86_64
Location: California

Re: USM question

Post#6 by rcrsf » 11 Feb 2016, 19:40

Okay, now that seems logical. Thanks!

rcrsf
Black ninja
Black ninja
Posts: 35
Joined: 26 Apr 2015, 18:33
Distribution: v3.1-x86_64
Location: California

Re: USM question

Post#7 by rcrsf » 11 Feb 2016, 22:14

So I went to download VLC, and it appeared to require that I download more than 50 different packages... Does that mean I'd have to "load="+50filenames.xzm in order to run VLC? That would probably infringe on my Porteus-ness. I think I'd prefer to get familiar with Audacious.

But please correct me if I'm wrong.

ztrapl
Contributor
Contributor
Posts: 198
Joined: 29 Aug 2013, 21:36
Distribution: Porteus 3.1 KDE4 32bit
Location: Czech Republic

Re: USM question

Post#8 by ztrapl » 11 Feb 2016, 22:41

rcrsf wrote:So I went to download VLC, and it appeared to require that I download more than 50 different packages... Does that mean I'd have to "load="+50filenames.xzm in order to run VLC? That would probably infringe on my Porteus-ness. I think I'd prefer to get familiar with Audacious.

But please correct me if I'm wrong.
VLC for Porteus x86_64 is here: https://yadi.sk/d/wJFyFih_4v48w/PORTEUS ... Multimedia
Owner: pgorodetsky - PaulBy

rcrsf
Black ninja
Black ninja
Posts: 35
Joined: 26 Apr 2015, 18:33
Distribution: v3.1-x86_64
Location: California

Re: USM question

Post#9 by rcrsf » 11 Feb 2016, 23:47

Great, thanks for that! - Found several good modules there.

*How did you find that link?
*Is there a directory of trustworthy "Porteus Package Repos" somewhere?


In particular, a few more packages I'm looking for are: Inkscape, Filezilla and Calibre. Those had so many dependencies on the System->USM utility.

ztrapl
Contributor
Contributor
Posts: 198
Joined: 29 Aug 2013, 21:36
Distribution: Porteus 3.1 KDE4 32bit
Location: Czech Republic

Re: USM question

Post#10 by ztrapl » 12 Feb 2016, 00:21

rcrsf wrote:Great, thanks for that! - Found several good modules there.

*How did you find that link?
*Is there a directory of trustworthy "Porteus Package Repos" somewhere?


In particular, a few more packages I'm looking for are: Inkscape, Filezilla and Calibre. Those had so many dependencies on the System->USM utility.
PaulBy I found here: http://forum.porteus.org/viewtopic.php?f=54&t=2482
Another good page is here: http://packages.slackonly.com/pub/packages/14.1-x86_64/
Just search the forum. :)

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

Re: USM question

Post#11 by Ed_P » 12 Feb 2016, 05:23

aus9 wrote:Is that clearer?
Yes, if you have unlimited storage space.

Say you choose a 25MB app from USM and it needs a 5MB dependency. And the dependency is a common one found in many apps. If you go thru and simply choose the first one on the list or the newest one your 25MB app may turn into a 125MB module.

A shortcoming of USM, when it lists dependencies it doesn't display the size of the various modules it is found in. So, what I do is I write down the names of the various dependencies required then manually use USM to pull each one up and check it's size, which I also write down. Then I reselect the app and as the dependencies are listed I choose the smallest one in each case. In this example you won't end up with a mere 30MB module, it will probably be 50 or 60MB but it won't be 125MB.

Just my opinion and approach.
Ed

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 question

Post#12 by Bogomips » 12 Feb 2016, 13:09

Ed_P wrote:A shortcoming of USM, when it lists dependencies it doesn't display the size of the various modules it is found in.
Another shortcoming is no option to display package description when alternatives are proposed. In that way if one of depndencies is samba, I give it a wide berth, as I know what all this brings with it, but someone without knowledge in this direction has nothing to use even as a rough guide. A frequent exmple I used to get with vlc was cups or aaelflibs. If I chose aaelflibs, if remember correctly, had to get mariadb, and then a whole load of others.

Recent example from poster in Russian section. Did usm under kde for claws-mail and ended up with 27 MB for download. Gave him the usm output to follow. However at third or fourth choice the alternatives diverged from mine. So he went on to try as best he could and ended up with a 270 MB download, almost all of Porteus! Anyway did a barebones XFCE for him and got around 50 MB download which ended up as 52 MB module, which he was happy to report worked.
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

rcrsf
Black ninja
Black ninja
Posts: 35
Joined: 26 Apr 2015, 18:33
Distribution: v3.1-x86_64
Location: California

Re: USM question

Post#13 by rcrsf » 12 Feb 2016, 13:57

Yes, I ended up with some pretty large files, which included some dependencies that I have no idea about.

Is there some other method of installing programs on Porteus that I'm missing?
----I tried deb2xzm, but that has depency challenges as well.
----On porteus.org/faq.html , mention is made of "porteus-package-manager", but when I try that command it's "not found".
----At forum.porteus.org/viewtopic.php?f=46&t=1356 , there's talk of "64bit official Porteus repository". Does it still exist?
Unless I'm missing something, then it sounds like Ed_P's approach is the best option...?

Thanks for all the input

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

Re: USM question

Post#14 by brokenman » 12 Feb 2016, 20:03

A shortcoming of USM, when it lists dependencies it doesn't display the size of the various modules it is found in.
I added this some time ago.

Processing: claws-mail-3.12.0-x86_64-1_slack.txz
Ignored libraries:

Libraries required: 101
Libraries found in system: 92
Libraries to resolve: 9

Processing library: libassuan.so.0
Processing library: libetpan.so.17

More than one package contains: libetpan.so.17
libetpan-1.2-x86_64-1gv.txz 309K salix
libetpan-1.5-x86_64-1_slack.txz 320K slackonly


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

1) libetpan-1.2-x86_64-1gv.txz
2) libetpan-1.5-x86_64-1_slack.txz
How do i become super user?
Wear your underpants on the outside and put on a cape.

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

Re: USM question

Post#15 by Ed_P » 12 Feb 2016, 21:41

I have the current 3.1.9 USM and when I see dependencies it doesn't show their sizes. See attached image.

https://drive.google.com/file/d/0B1Uj3O ... sp=sharing
Ed

Post Reply