Page 1 of 1

deb2xzm errors question

Posted: 06 May 2015, 21:26
by Ed_P
I recently downloaded the multibootusb .deb package and used Porteus' deb2xzm command to convert it to a module. But the conversion yielded several errors which are preventing the package from running.

Code: Select all

guest@porteus:~$ cd Downloads
guest@porteus:~/Downloads$ deb2xzm multibootusb*.deb
Verifying package multibootusb_7.5.0-1_all.tgz.
Installing package multibootusb_7.5.0-1_all.tgz:
PACKAGE DESCRIPTION:
WARNING:  Package has not been created with 'makepkg'
/sbin/ldconfig: /usr/lib/libv4lconvert.so.0 is not a symbolic link

/sbin/ldconfig: /usr/lib/libv4l2.so.0 is not a symbolic link

/sbin/ldconfig: /usr/lib/libv4l1.so.0 is not a symbolic link

Package multibootusb_7.5.0-1_all.tgz installed.

Creating /tmp/deb2xzm3089/multibootusb_7.5.0-1_all.xzm

guest@porteus:~/Downloads$ activate multibootusb_7.5.0-1_all.xzm
Updating shared library links:  /sbin/ldconfig
/sbin/ldconfig: /usr/lib/libv4lconvert.so.0 is not a symbolic link 

/sbin/ldconfig: /usr/lib/libv4l2.so.0 is not a symbolic link

/sbin/ldconfig: /usr/lib/libv4l1.so.0 is not a symbolic link

Updating Razor menu: update-desktop-database
guest@porteus:~/Downloads$ 
How do I resolve the symbolic link errors? When I click on the Razor menu item nothing happens.

Re: deb2xzm errors question

Posted: 06 May 2015, 22:10
by Bogomips
So tried another way using deb2txz,sh Quick Script from Tutorials:

Code: Select all

guest@porteus:~$ sh deb2txz.sh multibootusb_7.5.0-1_all.deb 
dataname = data.tar.xz
Creating Package: /home/guest/multibootusb_7.5.0-1_all.tgz
->  multibootusb-7.5.0-all-1.txz
<slack-desc>
multibootusb: 7.5.0 (multibootusb_7.5.0-1_all.deb)

Slackware package maker, version 3.14159.

Searching for symbolic links:

No symbolic links were found, so we won't make an installation script.
You can make your own later in ./install/doinst.sh and rebuild the
package if you like.

This next step is optional - you can set the directories in your package
to some sane permissions. If any of the directories in your package have
special permissions, then DO NOT reset them here!

Would you like to reset all directory permissions to 755 (drwxr-xr-x) and
directory ownerships to root.root ([y]es, [n]o)? n

Creating Slackware package:  /home/guest/multibootusb-7.5.0-all-1.txz

./
install/
install/slack-desc
usr/
usr/share/
usr/share/pixmaps/
usr/share/pixmaps/multibootusb.png
usr/share/doc/
usr/share/doc/multibootusb/
usr/share/doc/multibootusb/changelog.Debian.gz
usr/share/applications/
usr/share/applications/multibootusb.desktop
usr/multibootusb/
usr/multibootusb/tools/
usr/multibootusb/tools/version.txt
usr/multibootusb/tools/syslinux/
usr/multibootusb/tools/syslinux/syslinux_windows.zip
usr/multibootusb/tools/syslinux/syslinux_modules.zip
usr/multibootusb/tools/syslinux/syslinux_linux_64.zip
usr/multibootusb/tools/syslinux/syslinux_linux.zip
usr/multibootusb/tools/persistence_data/
usr/multibootusb/tools/persistence_data/768.tar.bz2
usr/multibootusb/tools/persistence_data/768.ext4.tar.bz2
usr/multibootusb/tools/persistence_data/512.tar.bz2
usr/multibootusb/tools/persistence_data/512.ext4.tar.bz2
usr/multibootusb/tools/persistence_data/4096.ext4.tar.bz2
usr/multibootusb/tools/persistence_data/3072.tar.bz2
usr/multibootusb/tools/persistence_data/3072.ext4.tar.bz2
usr/multibootusb/tools/persistence_data/256.tar.bz2
usr/multibootusb/tools/persistence_data/256.ext4.tar.bz2
usr/multibootusb/tools/persistence_data/2048.tar.bz2
usr/multibootusb/tools/persistence_data/2048.ext4.tar.bz2
usr/multibootusb/tools/persistence_data/1024.tar.bz2
usr/multibootusb/tools/persistence_data/1024.ext4.tar.bz2
usr/multibootusb/tools/multibootusb.png
usr/multibootusb/tools/multibootusb/
usr/multibootusb/tools/multibootusb/vesamenu.c32
usr/multibootusb/tools/multibootusb/syslinux.cfg
usr/multibootusb/tools/multibootusb/menu.lst
usr/multibootusb/tools/multibootusb/menu.c32
usr/multibootusb/tools/multibootusb/memdisk
usr/multibootusb/tools/multibootusb/grub.exe
usr/multibootusb/tools/multibootusb/extlinux.cfg
usr/multibootusb/tools/multibootusb/chain.c32
usr/multibootusb/tools/multibootusb/bg.png
usr/multibootusb/tools/mbr.bin
usr/multibootusb/tools/dd/
usr/multibootusb/tools/dd/diskio.dll
usr/multibootusb/tools/dd/dd.exe
usr/lib/
usr/lib/python2.7/
usr/lib/python2.7/dist-packages/
usr/lib/python2.7/dist-packages/scripts/
usr/lib/python2.7/dist-packages/scripts/__init__.py
usr/lib/python2.7/dist-packages/scripts/usb.py
usr/lib/python2.7/dist-packages/scripts/update_cfg.py
usr/lib/python2.7/dist-packages/scripts/uninstall_distro.py
usr/lib/python2.7/dist-packages/scripts/syslinux.py
usr/lib/python2.7/dist-packages/scripts/qemu.py
usr/lib/python2.7/dist-packages/scripts/pyudev/
usr/lib/python2.7/dist-packages/scripts/pyudev/__init__.py
usr/lib/python2.7/dist-packages/scripts/pyudev/_util.py
usr/lib/python2.7/dist-packages/scripts/pyudev/_qt_base.py
usr/lib/python2.7/dist-packages/scripts/pyudev/_libudev.py
usr/lib/python2.7/dist-packages/scripts/pyudev/_compat.py
usr/lib/python2.7/dist-packages/scripts/pyudev/wx.py
usr/lib/python2.7/dist-packages/scripts/pyudev/pyside.py
usr/lib/python2.7/dist-packages/scripts/pyudev/pyqt4.py
usr/lib/python2.7/dist-packages/scripts/pyudev/monitor.py
usr/lib/python2.7/dist-packages/scripts/pyudev/glib.py
usr/lib/python2.7/dist-packages/scripts/pyudev/device.py
usr/lib/python2.7/dist-packages/scripts/pyudev/core.py
usr/lib/python2.7/dist-packages/scripts/persistence.py
usr/lib/python2.7/dist-packages/scripts/isodump.py
usr/lib/python2.7/dist-packages/scripts/iso.py
usr/lib/python2.7/dist-packages/scripts/install_distro.py
usr/lib/python2.7/dist-packages/scripts/imager.py
usr/lib/python2.7/dist-packages/scripts/gui/
usr/lib/python2.7/dist-packages/scripts/gui/__init__.py
usr/lib/python2.7/dist-packages/scripts/gui/ui_progress.py
usr/lib/python2.7/dist-packages/scripts/gui/ui_persistence_size.py
usr/lib/python2.7/dist-packages/scripts/gui/ui_password.py
usr/lib/python2.7/dist-packages/scripts/gui/ui_multibootusb.py
usr/lib/python2.7/dist-packages/scripts/gen_fun.py
usr/lib/python2.7/dist-packages/scripts/config.py
usr/lib/python2.7/dist-packages/scripts/admin.py
usr/lib/python2.7/dist-packages/multibootusb-7.5.0.egg-info
usr/bin/
usr/bin/multibootusb
WARNING:  zero length file usr/multibootusb/tools/multibootusb/extlinux.cfg

Slackware package /home/guest/multibootusb-7.5.0-all-1.txz created.

root@porteus:/home/guest# txz2xzm multibootusb-7.5.0-all-1.txz 
Verifying package multibootusb-7.5.0-all-1.txz.
Installing package multibootusb-7.5.0-all-1.txz:
PACKAGE DESCRIPTION:
# 7.5.0 (multibootusb_7.5.0-1_all.deb)
#
Package multibootusb-7.5.0-all-1.txz installed.

Creating /home/guest/multibootusb-7.5.0-all-1.xzm

root@porteus:/home/guest# activate multibootusb-7.5.0-all-1.xzm 
Updating shared library links:  /sbin/ldconfig
Updating KDE menu: kbuildsycoca4
No errors reported.

Re: deb2xzm errors question

Posted: 06 May 2015, 22:26
by Ed_P
Bogomips wrote:No errors reported.
A DE problem then?

Re: deb2xzm errors question

Posted: 06 May 2015, 22:46
by Bogomips
Well, just try what I did and see if it turns out any different, with a different variation.

Re: deb2xzm errors question

Posted: 27 May 2015, 03:27
by Ed_P
Hi Bogomips.

I did not pick up on the name of the script you used was named deb2txz rather than deb2xzm initially. :( But when I tried the one you recommended it didn't work for me.

Code: Select all

guest@porteus:~$ cd Downloads
guest@porteus:~/Downloads$ deb2txz.sh multibootusb_7.5.0-1_all.deb
bash: deb2txz.sh: command not found
guest@porteus:~/Downloads$ 

Re: deb2xzm errors question

Posted: 27 May 2015, 04:20
by sunnysideofthesun
Hi!
I know really little about linux, but when I encounter problem I first google to see if this problem already was solved by someone before.
Just putting "/sbin/ldconfig: /usr/lib/libv4lconvert.so.0 is not a symbolic link" in search field brings up number of results when people had same issue. It might happen you have in /usr/lib files which have their names starting similarly and are identical.
Then you have to remove those which are expected to be symlink and create real symlink instead.
http://stackoverflow.com/questions/1154 ... bolic-link
https://bbs.archlinux.org/viewtopic.php?id=136408
https://forums.opensuse.org/showthread. ... blic-links

But I as well might be wrong, so I'd rather waited for confirmation from somebody more experienced.

Re: deb2xzm errors question

Posted: 27 May 2015, 05:24
by Ed_P
sunnysideofthesun wrote:Hi!
I know really little about linux, but when I encounter problem I first google to see if this problem already was solved by someone before.
Actually sunnysideofthesun Googling is a good suggestion. But Googling on deb2txz.sh was more enlightening than searching on the symbolic link errors,.

So Bogomips, I found your script and followed the steps you suggested:

Code: Select all

guest@porteus:~$ sh deb2txz.sh /home/guest/Downloads/multibootusb_7.5.0-1_all.deb
dataname = data.tar.xz
Creating Package: /home/guest/Downloads/multibootusb_7.5.0-1_all.tgz
->  multibootusb-7.5.0-all-1.txz
<slack-desc>
multibootusb: 7.5.0 (multibootusb_7.5.0-1_all.deb)

Slackware package maker, version 3.14159.

Searching for symbolic links:

No symbolic links were found, so we won't make an installation script.
You can make your own later in ./install/doinst.sh and rebuild the
package if you like.

This next step is optional - you can set the directories in your package
to some sane permissions. If any of the directories in your package have
special permissions, then DO NOT reset them here!

Would you like to reset all directory permissions to 755 (drwxr-xr-x) and
directory ownerships to root.root ([y]es, [n]o)? n

Creating Slackware package:  /home/guest/Downloads/multibootusb-7.5.0-all-1.txz

./
install/
install/slack-desc
usr/
usr/share/
usr/share/pixmaps/
usr/share/pixmaps/multibootusb.png
usr/share/doc/
usr/share/doc/multibootusb/
usr/share/doc/multibootusb/changelog.Debian.gz
usr/share/applications/
usr/share/applications/multibootusb.desktop
usr/multibootusb/
usr/multibootusb/tools/
usr/multibootusb/tools/version.txt
usr/multibootusb/tools/syslinux/
usr/multibootusb/tools/syslinux/syslinux_windows.zip
usr/multibootusb/tools/syslinux/syslinux_modules.zip
usr/multibootusb/tools/syslinux/syslinux_linux_64.zip
usr/multibootusb/tools/syslinux/syslinux_linux.zip
usr/multibootusb/tools/persistence_data/
usr/multibootusb/tools/persistence_data/768.tar.bz2
usr/multibootusb/tools/persistence_data/768.ext4.tar.bz2
usr/multibootusb/tools/persistence_data/512.tar.bz2
usr/multibootusb/tools/persistence_data/512.ext4.tar.bz2
usr/multibootusb/tools/persistence_data/4096.ext4.tar.bz2
usr/multibootusb/tools/persistence_data/3072.tar.bz2
usr/multibootusb/tools/persistence_data/3072.ext4.tar.bz2
usr/multibootusb/tools/persistence_data/256.tar.bz2
usr/multibootusb/tools/persistence_data/256.ext4.tar.bz2
usr/multibootusb/tools/persistence_data/2048.tar.bz2
usr/multibootusb/tools/persistence_data/2048.ext4.tar.bz2
usr/multibootusb/tools/persistence_data/1024.tar.bz2
usr/multibootusb/tools/persistence_data/1024.ext4.tar.bz2
usr/multibootusb/tools/multibootusb.png
usr/multibootusb/tools/multibootusb/
usr/multibootusb/tools/multibootusb/vesamenu.c32
usr/multibootusb/tools/multibootusb/syslinux.cfg
usr/multibootusb/tools/multibootusb/menu.lst
usr/multibootusb/tools/multibootusb/menu.c32
usr/multibootusb/tools/multibootusb/memdisk
usr/multibootusb/tools/multibootusb/grub.exe
usr/multibootusb/tools/multibootusb/extlinux.cfg
usr/multibootusb/tools/multibootusb/chain.c32
usr/multibootusb/tools/multibootusb/bg.png
usr/multibootusb/tools/mbr.bin
usr/multibootusb/tools/dd/
usr/multibootusb/tools/dd/diskio.dll
usr/multibootusb/tools/dd/dd.exe
usr/lib/
usr/lib/python2.7/
usr/lib/python2.7/dist-packages/
usr/lib/python2.7/dist-packages/scripts/
usr/lib/python2.7/dist-packages/scripts/__init__.py
usr/lib/python2.7/dist-packages/scripts/usb.py
usr/lib/python2.7/dist-packages/scripts/update_cfg.py
usr/lib/python2.7/dist-packages/scripts/uninstall_distro.py
usr/lib/python2.7/dist-packages/scripts/syslinux.py
usr/lib/python2.7/dist-packages/scripts/qemu.py
usr/lib/python2.7/dist-packages/scripts/pyudev/
usr/lib/python2.7/dist-packages/scripts/pyudev/__init__.py
usr/lib/python2.7/dist-packages/scripts/pyudev/_util.py
usr/lib/python2.7/dist-packages/scripts/pyudev/_qt_base.py
usr/lib/python2.7/dist-packages/scripts/pyudev/_libudev.py
usr/lib/python2.7/dist-packages/scripts/pyudev/_compat.py
usr/lib/python2.7/dist-packages/scripts/pyudev/wx.py
usr/lib/python2.7/dist-packages/scripts/pyudev/pyside.py
usr/lib/python2.7/dist-packages/scripts/pyudev/pyqt4.py
usr/lib/python2.7/dist-packages/scripts/pyudev/monitor.py
usr/lib/python2.7/dist-packages/scripts/pyudev/glib.py
usr/lib/python2.7/dist-packages/scripts/pyudev/device.py
usr/lib/python2.7/dist-packages/scripts/pyudev/core.py
usr/lib/python2.7/dist-packages/scripts/persistence.py
usr/lib/python2.7/dist-packages/scripts/isodump.py
usr/lib/python2.7/dist-packages/scripts/iso.py
usr/lib/python2.7/dist-packages/scripts/install_distro.py
usr/lib/python2.7/dist-packages/scripts/imager.py
usr/lib/python2.7/dist-packages/scripts/gui/
usr/lib/python2.7/dist-packages/scripts/gui/__init__.py
usr/lib/python2.7/dist-packages/scripts/gui/ui_progress.py
usr/lib/python2.7/dist-packages/scripts/gui/ui_persistence_size.py
usr/lib/python2.7/dist-packages/scripts/gui/ui_password.py
usr/lib/python2.7/dist-packages/scripts/gui/ui_multibootusb.py
usr/lib/python2.7/dist-packages/scripts/gen_fun.py
usr/lib/python2.7/dist-packages/scripts/config.py
usr/lib/python2.7/dist-packages/scripts/admin.py
usr/lib/python2.7/dist-packages/multibootusb-7.5.0.egg-info
usr/bin/
usr/bin/multibootusb
WARNING:  zero length file usr/multibootusb/tools/multibootusb/extlinux.cfg

Slackware package /home/guest/Downloads/multibootusb-7.5.0-all-1.txz created.

guest@porteus:~$ txz2xzm /home/guest/Downloads/multibootusb-7.5.0-all-1.txz
Verifying package multibootusb-7.5.0-all-1.txz.
Installing package multibootusb-7.5.0-all-1.txz:
PACKAGE DESCRIPTION:
# 7.5.0 (multibootusb_7.5.0-1_all.deb)
#
/sbin/ldconfig: /usr/lib/libv4lconvert.so.0 is not a symbolic link

/sbin/ldconfig: /usr/lib/libv4l2.so.0 is not a symbolic link

/sbin/ldconfig: /usr/lib/libv4l1.so.0 is not a symbolic link

Package multibootusb-7.5.0-all-1.txz installed.

Creating /home/guest/Downloads/multibootusb-7.5.0-all-1.xzm

guest@porteus:~$ activate /home/guest/Downloads/multibootusb-7.5.0-all-1.xzm
Updating shared library links:  /sbin/ldconfig
/sbin/ldconfig: /usr/lib/libv4lconvert.so.0 is not a symbolic link

/sbin/ldconfig: /usr/lib/libv4l2.so.0 is not a symbolic link

/sbin/ldconfig: /usr/lib/libv4l1.so.0 is not a symbolic link

Updating Razor menu: update-desktop-database
guest@porteus:~$ 
But the symbolic link errors persist. :(

Re: deb2xzm errors question

Posted: 27 May 2015, 14:33
by Bogomips
Bogomips 7th May 2015 wrote:tried another way using deb2txz,sh Quick Script from Tutorials
So was no need to google. 8)
@Ed_P
Finally it seems that you might perhaps have more joy switching to KDE to activate the module you have created. If all goes well, the multiboot can then be set up from KDE. After all you will not be having to work in KDE once you have booted into another Linux. :wink:

Re: deb2xzm errors question

Posted: 27 May 2015, 20:10
by sunnysideofthesun
If you will be brave enough to try this method, then here it is.
To look for these files.

Code: Select all

ls -lah /usr/lib | grep 'libv4lconvert\|libv4l2\|libv4l1'
If there are any symbolic links, then you'll receive an output strings containing
libv4lconvert.so -> libv4lconvert.so.0.x.x
.x.x in my example stands for numbers in filename which I don't know, but I expect it to be .0.0
You'll have to replace it in commands with actual numbers.
Files which aren't symbolic links will be listed alone.
Files of symbolic links have size of few bytes, libraries are few Kb.
Symbolic links and libraries have different icons when I look at them in PCmanFM file manager too.
To change current directory to /usr/lib, to remove old files and then to create symbolic links (lib4vlconvert.so.0 for file lib4lconvert.so.0.x.x etc.):

Code: Select all

cd /usr/lib
rm libv4lconvert.so.0
rm libv4l2.so.0
rm libv4l1.so.0
ln -s libv4lconvert.so.0.x.x libv4lconvert.so.0
ln -s libv4l2.so.0.x.x libv4l2.so.0
ln -s libv4l1.so.0.x.x libv4l1.so.0
I tried as well to recreate your issue, but multibootusb from .deb package was converted without error messages.
But don't you worry, this application didn't work after activation of xzm module too.
Neither I have on 64bit LXQt Porteus files like libv4lconvert.so etc. in /usr/lib folder, all of them are located in /usr/lib64.
May be multibootusb is not suppposed to work on 64bit, who knows.

Re: deb2xzm errors question

Posted: 27 May 2015, 20:19
by Bogomips
sunnysideofthesun wrote:May be multibootusb is not suppposed to work on 64bit, who knows.
multibootusb_7.5.0-1_all.deb

Re: deb2xzm errors question

Posted: 27 May 2015, 22:05
by Ed_P
Bogomips wrote:
Bogomips 7th May 2015 wrote:tried another way using deb2txz,sh Quick Script from Tutorials
So was no need to google. 8)
Actually there was since you didn't give a link to your script's posting. viewtopic.php?f=39&t=4577
sunnysideofthesun wrote:May be multibootusb is not suppposed to work on 64bit, who knows.
Thanks for the suggestions sunnysideofthesun. The next time I'm on Porteus I will try them. I'm on 64bit also and using the RazorQT DE so that may also be a limitation. I liked the LXQT DE when I was working with 3.1 but since it is being discontinued and 3.1 doesn't support Suspend for lid closing I'm still on 3.0.1.

Re: deb2xzm errors question

Posted: 28 May 2015, 04:15
by Ed_P
Ok I'm back into Porteus.
sunnysideofthesun wrote:If you will be brave enough to try this method, then here it is.
To look for these files.

Code: Select all

ls -lah /usr/lib | grep 'libv4lconvert\|libv4l2\|libv4l1'
If there are any symbolic links, then you'll receive an output strings containing
libv4lconvert.so -> libv4lconvert.so.0.x.x
Here's what I see:

Code: Select all

guest@porteus:~$ ls -lah /usr/lib | grep 'libv4lconvert\|libv4l2\|libv4l1'
lrwxrwxrwx   1 root root   16 Sep 15  2014 libv4l1.so -> libv4l1.so.0.0.0*
-rwxr-xr-x   1 root root  20K Jul  4  2012 libv4l1.so.0*
-rwxr-xr-x   1 root root  21K Jun 22  2013 libv4l1.so.0.0.0*
lrwxrwxrwx   1 root root   16 Sep 15  2014 libv4l2.so -> libv4l2.so.0.0.0*
-rwxr-xr-x   1 root root  41K Jul  4  2012 libv4l2.so.0*
-rwxr-xr-x   1 root root  45K Jun 22  2013 libv4l2.so.0.0.0*
lrwxrwxrwx   1 root root   19 Sep 15  2014 libv4l2rds.so -> libv4l2rds.so.0.0.0*
lrwxrwxrwx   1 root root   19 Sep 15  2014 libv4l2rds.so.0 -> libv4l2rds.so.0.0.0*
-rwxr-xr-x   1 root root  16K Jun 22  2013 libv4l2rds.so.0.0.0*
lrwxrwxrwx   1 root root   22 Sep 15  2014 libv4lconvert.so -> libv4lconvert.so.0.0.0*
-rwxr-xr-x   1 root root 140K Jul  4  2012 libv4lconvert.so.0*
-rwxr-xr-x   1 root root 148K Jun 22  2013 libv4lconvert.so.0.0.0*
guest@porteus:~$ 
To change current directory to /usr/lib, to remove old files and then to create symbolic links (lib4vlconvert.so.0 for file lib4lconvert.so.0.x.x etc.):

Code: Select all

cd /usr/lib
rm libv4lconvert.so.0
rm libv4l2.so.0
rm libv4l1.so.0
ln -s libv4lconvert.so.0.x.x libv4lconvert.so.0
ln -s libv4l2.so.0.x.x libv4l2.so.0
ln -s libv4l1.so.0.x.x libv4l1.so.0
I'm concerned about the impact to other app/modules if I remove the current links.