USM Does Not Get All Dependencies

Post here if you are a new Porteus member and you're looking for some help.
Post Reply
johnywhy
White ninja
White ninja
Posts: 22
Joined: 29 Mar 2017, 17:26
Distribution: Kiosk
Location: Cali

USM Does Not Get All Dependencies

Post#1 by johnywhy » 12 Apr 2017, 19:13

Hi

I installed surf and xombrero web browsers in USM. i successfully converted and activated the modules, and they are now listed in the Whisker menu.

But when i try to run them, i get:
libwebp.so.6: cannot open shared object file: No such file
How to fix?

thx

donald
Full of knowledge
Full of knowledge
Posts: 1123
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

Re: USM Does Not Get All Dependencies

Post#2 by donald » 12 Apr 2017, 19:57

root@porteus:/home/guest# usm -s libwebp.so.6
-----------------------------
Are you searching for a library file?

libwebp.so.6, it seems a library.
Would you like to find the package for it? [y/n]

libwebp.so.6 was found in libwebp-0.5.2-i586-1ponce.txz

root@porteus:/home/guest# usm -g libwebp-0.5.2-i586-1ponce.txz

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

1) libwebp-0.5.2-i586-1ponce.txz
#?

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 Does Not Get All Dependencies

Post#3 by Bogomips » 12 Apr 2017, 20:02

Normally
  1. Check (saves extra work)
    1. Code: Select all

      file /usr/bin/surf
      If it is there good,
    2. then if it is a binarey ELF go on to

      Code: Select all

      ldd  file /usr/bin/surf | grep found
      should then furnish further missing dependencies to be found :wink:
    1. For each missing dependency do like so:

      Code: Select all

      root@porteus:/home/guest# usm -s libwebp.so.6
      find: `/tmp/xdg-runtime-guest/gvfs': Permission denied
      
       ----------------------------- 
       Are you searching for a library file? 
      
      libwebp.so.6, it seems a library.
      Would you like to find the package for it? [y/n]
      
       libwebp.so.6  was found in   libwebp-0.5.2-x86_64-1ponce.txz
    2. and

      Code: Select all

      usm -g  libwebp
      to get it!
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

johnywhy
White ninja
White ninja
Posts: 22
Joined: 29 Mar 2017, 17:26
Distribution: Kiosk
Location: Cali

Re: USM Does Not Get All Dependencies

Post#4 by johnywhy » 12 Apr 2017, 21:07

donald wrote:# usm -s libwebp.so.6
thx for reply.
i got:
You need the following programs to continue:
installpkg
removepkg
Also, i get a $, not a # at command prompt. Maybe we are on a different version of Porteus? I'm on Porteus-XFCE-v3.2.2-i586.

Also, i searched USM GUI front-end for libwebp.so.6 on 'keyword' and 'package', and found nothing.

johnywhy
White ninja
White ninja
Posts: 22
Joined: 29 Mar 2017, 17:26
Distribution: Kiosk
Location: Cali

Re: USM Does Not Get All Dependencies

Post#5 by johnywhy » 12 Apr 2017, 21:22

Bogomips wrote:

Code: Select all

ldd  file /usr/bin/surf | grep found
should then furnish further missing dependencies to be found
Hi, thx for reply.

Yep, above finds the same missing library.
Bogomips wrote:

Code: Select all

# usm -s libwebp.so.6
Gives same error as my reply above.

So, then it's correct to say USM failed to find all dependencies? Is there a fix for that?

Note, i have to sudo:

Code: Select all

# sudo usm -s libwebp.so.6
Why don't you sudo?

Also, when asks for password, it does not accept admin password, it accepts guest password. Is that normal?

thx!

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

Re: USM Does Not Get All Dependencies

Post#6 by Ed_P » 12 Apr 2017, 22:13

^ Have you done a USM update of the databases? Can be done via the GUI or command line.

And yes the password for sudo is the same as the one for guest.
Ed

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 Does Not Get All Dependencies

Post#7 by Bogomips » 13 Apr 2017, 00:01

johnywhy wrote:Why don't you sudo?
Sudo as a rule. But in this instance with usm it's easier to work in a root terminal:

Code: Select all

guest@porteus:~$ su
Password:
8)
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

donald
Full of knowledge
Full of knowledge
Posts: 1123
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

Re: USM Does Not Get All Dependencies

Post#8 by donald » 13 Apr 2017, 02:40

johnywhy wrote: Also, i searched USM GUI front-end for libwebp.so.6 on 'keyword' and 'package', and found nothing.
When using the GUI you have to search for a library in this case.
Image

johnywhy
White ninja
White ninja
Posts: 22
Joined: 29 Mar 2017, 17:26
Distribution: Kiosk
Location: Cali

Re: USM Does Not Get All Dependencies

Post#9 by johnywhy » 13 Apr 2017, 07:23

donald wrote:When using the GUI you have to search for a library in this case.
yep, did that too.
so, this works for you, donald?
ed_p wrote:Have you done a USM update of the databases? Can be done via the GUI or command line.
yep, but i just updated all sources again, and tried again. still nothing.
so, this works for you, ed_p?

if i remove the `.6`, then the gui finds `libwebp-0.4.3-i586-1sl.txz` in the `slacky` repo.
i don't know if that will work.

thx

donald
Full of knowledge
Full of knowledge
Posts: 1123
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

Re: USM Does Not Get All Dependencies

Post#10 by donald » 13 Apr 2017, 19:05

I've tried to build "xombrero" via USM.-- It works fine
All packages were found, downloaded, and are contained in the resulting xzm.

Code: Select all

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

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

1) xombrero-1.6.4-i486-1_slonly.txz
#? 1

Processing:   xombrero-1.6.4-i486-1_slonly.txz 
Ignored libraries: 

Libraries required:  58
Libraries found in system: 55
Libraries to resolve: 3

Processing library: libbsd.so.0
Processing library: libjavascriptcoregtk-3.0.so.0
Processing library: libwebkitgtk-3.0.so.0


Processing:   libbsd-0.8.3-i486-1_slonly.txz 
Ignored libraries: 

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



Processing:   webkitgtk3-2.4.11-i486-1_slonly.txz 
Ignored libraries: 

Libraries required:  87
Libraries found in system: 83
Libraries to resolve: 4

Processing library: libenchant.so.1
Processing library: libjavascriptcoregtk-3.0.so.0
Processing library: libwebkit2gtk-3.0.so.25
Processing library: libwebp.so.6
awk: cmd. line:1: (FILENAME=- FNR=1) fatal: attempt to access field -1

 More than one package contains:  libwebp.so.6
libwebp-0.5.0-i586-1gv.txz
libwebp-0.5.2-i486-1_slonly.txz  372K  slackonly

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

1) libwebp-0.5.0-i586-1gv.txz
2) libwebp-0.5.2-i486-1_slonly.txz
#? 2


Processing:   enchant-1.6.0-i486-1.txz 
Ignored libraries: 

Libraries required:  11
Libraries found in system: 8
Libraries to resolve: 3

Processing library: libaspell.so.15
Processing library: libenchant.so.1
Processing library: libhunspell-1.3.so.0


Processing:   libwebp-0.5.2-i486-1_slonly.txz 
Ignored libraries: 

Libraries required:  31
Libraries found in system: 26
Libraries to resolve: 5

Processing library: libpython2.7.so.1.0

 More than one package contains:  libpython2.7.so.1.0
python-2.7.13-i586-2_slack14.2.txz            14092K    slackwarepatches
python-2.7.11-i586-2.txz                      14084K    slackware
calibre1-1.48.0-i486-2alien.txz               37456K    alien
calibre-2.79.1-i486-1alien.txz                44380K    alien
openoffice.org-4.1.3_en_US-i586-1_slonly.txz  107528K   slackonly
komodo-ide-10.2.0-i486-1_slonly.txz           52200K    slackonly
komodo-edit-10.2.0-i486-1_slonly.txz          53892K    slackonly
sage-7.5.1-i486-1_slonly.txz                  1015520K  slackonly

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

1) python-2.7.13-i586-2_slack14.2.txz
2) python-2.7.11-i586-2.txz
3) calibre1-1.48.0-i486-2alien.txz
4) calibre-2.79.1-i486-1alien.txz
5) openoffice.org-4.1.3_en_US-i586-1_slonly.txz
6) komodo-ide-10.2.0-i486-1_slonly.txz
7) komodo-edit-10.2.0-i486-1_slonly.txz
8) sage-7.5.1-i486-1_slonly.txz
#? 1
Processing library: libwebp.so.6
Processing library: libwebpdecoder.so.2
Processing library: libwebpdemux.so.2
Processing library: libwebpmux.so.2


Processing:   aspell-0.60.6.1-i586-1.txz 
Ignored libraries: 

Libraries required:  6
Libraries found in system: 5
Libraries to resolve: 1

Processing library: libaspell.so.15


Processing:   hunspell-1.3.3-i486-1.txz 
Ignored libraries: 

Libraries required:  8
Libraries found in system: 7
Libraries to resolve: 1

Processing library: libhunspell-1.3.so.0


Processing:   python-2.7.13-i586-2_slack14.2.txz 
Ignored libraries: 

Libraries required:  23
Libraries found in system: 20
Libraries to resolve: 3

Processing library: libpython2.7.so.1.0
Processing library: libtcl8.6.so
Processing library: libtk8.6.so


Processing:   tcl-8.6.5-i586-2.txz 
Ignored libraries: 

Libraries required:  5
Libraries found in system: 4
Libraries to resolve: 1

Processing library: libtcl8.6.so


Processing:   tk-8.6.5-i586-2.txz 
Ignored libraries: 

Libraries required:  19
Libraries found in system: 17
Libraries to resolve: 2

Processing library: libtcl8.6.so
Processing library: libtk8.6.so


 The following packages are required. 
aspell-0.60.6.1-i586-1.txz [600K] [not installed]
enchant-1.6.0-i486-1.txz [64K] [not installed]
hunspell-1.3.3-i486-1.txz [236K] [not installed]
libbsd-0.8.3-i486-1_slonly.txz [168K] [not installed]
libwebp-0.5.2-i486-1_slonly.txz [372K] [upgrade]
python-2.7.13-i586-2_slack14.2.txz [14092K] [not installed]
tcl-8.6.5-i586-2.txz [2792K] [not installed]
tk-8.6.5-i586-2.txz [1720K] [not installed]
webkitgtk3-2.4.11-i486-1_slonly.txz [24956K] [not installed]
xombrero-1.6.4-i486-1_slonly.txz [212K] [not installed]

Total size: 45 MB

 Multiple packages were detected.
 Would you like to merge the packages into one module? [y/n]

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

Downloading: aspell-0.60.6.1-i586-1.txz  DONE
Downloading: enchant-1.6.0-i486-1.txz  DONE
Downloading: hunspell-1.3.3-i486-1.txz  DONE
Downloading: libbsd-0.8.3-i486-1_slonly.txz  DONE
Downloading: libwebp-0.5.2-i486-1_slonly.txz  DONE
Downloading: python-2.7.13-i586-2_slack14.2.txz  DONE
Downloading: tcl-8.6.5-i586-2.txz  DONE
Downloading: tk-8.6.5-i586-2.txz  DONE
Downloading: webkitgtk3-2.4.11-i486-1_slonly.txz  DONE
Downloading: xombrero-1.6.4-i486-1_slonly.txz  DONE
aspell-0.60.6.1-i586-1: spell checker .................................. [3.2M]
enchant-1.6.0-i486-1: Enchant a wrapper for spellcheck libraries ....... [220K]
hunspell-1.3.3-i486-1: spell checker and morphological analyzer library  [890K]
libbsd-0.8.3-i486-1_slonly: library of BSD functions ................... [520K]
libwebp-0.5.2-i486-1_slonly: WebP photo compression library ............ [1.3M]
python-2.7.13-i586-2_slack14.2: object-oriented interpreted programming  [79M] 
tcl-8.6.5-i586-2: Tool Command Language ................................ [7.8M]
tk-8.6.5-i586-2: Tk toolkit for Tcl .................................... [4.3M]
webkitgtk3-2.4.11-i486-1_slonly: GTK+ port of the WebKit ............... [113M]
xombrero-1.6.4-i486-1_slonly: keyboard-centric web browser, formerly xxx [720K]
gzip: /tmp/usm/merged/usr/man/man1/python.1.gz: No such file or directory
Parallel mksquashfs: Using 2 processors
Creating 4.0 filesystem on /tmp/usm/xombrero-1.6.4-i486-bundle.xzm, block size 262144.
[===================================================================================================================|] 8748/8748 100%

Exportable Squashfs 4.0 filesystem, xz compressed, data block size 262144
	compressed data, compressed metadata, compressed fragments, compressed xattrs
	duplicates are removed
Filesystem size 47758.09 Kbytes (46.64 Mbytes)
	20.58% of uncompressed filesystem size (232005.98 Kbytes)
Inode table size 57830 bytes (56.47 Kbytes)
	20.55% of uncompressed inode table size (281383 bytes)
Directory table size 72786 bytes (71.08 Kbytes)
	36.85% of uncompressed directory table size (197496 bytes)
Number of duplicate files found 1997
Number of inodes 8705
Number of files 8315
Number of fragments 365
Number of symbolic links  42
Number of device nodes 0
Number of fifo nodes 0
Number of socket nodes 0
Number of directories 348
Number of ids (unique uids + gids) 1
Number of uids 1
	root (0)
Number of gids 1
	root (0)
Quiet mode: off
Updating shared library links:  /sbin/ldconfig
Updating XFCE menu: update-desktop-database

/tmp/usm/xombrero-1.6.4-i486-bundle.xzm is ready.
when being asked:
Would you like to merge the packages into one module? [y/n]
choose yes

When opening some pages ( like google) xombrero spits out:
TLS/SSL support not available; install glib-networking
so do this -- download glib-networking

Code: Select all

root@porteus:/home/guest# usm -g glib-networking

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

1) glib-networking-2.46.1-i586-1.txz
#? 1

Processing:   glib-networking-2.46.1-i586-1.txz 
Ignored libraries: 

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



 The following packages are required. 
glib-networking-2.46.1-i586-1.txz [104K] [not installed]

Total size: 104 KB

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

 Downloading: glib-networking-2.46.1-i586-1.txz  DONE
go into /tmp/usm/ convert the glib-networking-2.46.1-i586-1.txz to xzm
(right-click > txz2xzm) and activate...done.

johnywhy
White ninja
White ninja
Posts: 22
Joined: 29 Mar 2017, 17:26
Distribution: Kiosk
Location: Cali

Re: USM Does Not Get All Dependencies

Post#11 by johnywhy » 13 Apr 2017, 22:48

donald wrote:I've tried to build "xombrero" via USM.-- It works fine
Hey, build worked for me too!

And also for surf ☺

Great!

Curious why usm missed that one dependency.
Also, surf functionality also has minor flaw (with no explanatory message).

Thx!

donald
Full of knowledge
Full of knowledge
Posts: 1123
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

Re: USM Does Not Get All Dependencies

Post#12 by donald » 14 Apr 2017, 02:56

johnywhy wrote:Hey, build worked for me too!

And also for surf ☺
excellent -- case closed.. :)

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 Does Not Get All Dependencies

Post#13 by Bogomips » 14 Apr 2017, 10:56

Now the topic title can be prefixed with [Solved]. :)
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

Post Reply