Page 1 of 2

Installing Debian package

Posted: 19 Dec 2019, 15:03
by pstrg
Stopped here because I'm a (linux) newbie...

Installing and starting were a pleasure.
To access my bank, only Firefox, Chrome and Opera are supported - installed Firefox very easily and moved it to modules folder.
However, besides the browser, the bank also requires me to install a security package with .deb extension.
The thing complains that there's no libbfd-2.26.20160125.so.

I tried the following after searching for help:
Downloaded binutils-2.26-x86_64-3.txz.
From the tmp directory, opened a terminal and typed # upgradepkg --install-new binutils-2.26-x86_64-3.txz - nothing happened.

To make things short: how to install the .deb thing?

Installing Debian package

Posted: 19 Dec 2019, 16:52
by Ed_P
Many of us were newbies at some point pstrg. I know I was.

What's the full name of the security package? Have you tried searching for it using USM?

Installing Debian package

Posted: 19 Dec 2019, 19:26
by donald
libbfd, binutils are in the 05-devel.xzm module.

lsxzm 05-devel.xzm
..................
/usr/lib64/libbfd-2.30-slack15.so
..................
/var/log/packages/binutils-2.30-x86_64-1
..................
From the tmp directory, opened a terminal and typed # upgradepkg --install-new binutils-2.26-x86_64-3.txz - nothing happened.
If you got the package via USM it is in:

Code: Select all

root@blabla:/tmp/usm# upgradepkg --install-new binutils-2.26-x86_64-3.txz

+==============================================================================
| Installing new package ./binutils-2.26-x86_64-3.txz
+==============================================================================

Verifying package binutils-2.26-x86_64-3.txz.
Installing package binutils-2.26-x86_64-3.txz:
PACKAGE DESCRIPTION:
# binutils (GNU binary development tools)
#
# Binutils is a collection of binary utilities.  It includes "as" (the 
# portable GNU assembler), "ld" (the GNU linker), and other utilities
# for creating and working with binary programs.
#
# These utilities are REQUIRED to compile C, C++, Objective-C, Fortran,
# and most other programming languages.
#
Executing install script for binutils-2.26-x86_64-3.txz.
Package binutils-2.26-x86_64-3.txz installed.

root@blabla:/tmp/usm# 

Installing Debian package

Posted: 20 Dec 2019, 02:25
by pstrg
Thanks for the kind words.

It's a proprietary package developed by Diebold Nixdorf (the ATM company) and adopted by some banks in Brazil.
A huge nuisance, as it eats cpu even when you're not accessing the bank, but if you don't have it installed, access is denied.
No problem obtaining it - just have not been able to install it yet.

Installing Debian package

Posted: 20 Dec 2019, 02:38
by pstrg
@Ed_P; @donald

Thanks a lot.
It's quite late here, will try tomorrow.

Installing Debian package

Posted: 20 Dec 2019, 02:53
by ncmprhnsbl
pstrg wrote:
19 Dec 2019, 15:03
From the tmp directory, opened a terminal and typed # upgradepkg --install-new binutils-2.26-x86_64-3.txz - nothing happened.
did you check that the package was in /tmp?
this can all be done via your filemanager (which DE are you using? (cinnamon,kde,mate,xfce,lxde,lxqt,openbox)
1. go to the directory where binutils-2.26-x86_64-3.txz is
2.rightclick on it > look for (something like) "Convert Slackware package to xzm" > do that
3. move that module to somewhere(i would put it in <USB>/porteus/optional) then rightclick> choose activate
4. find your .deb , move it to /tmp, go there, rightclick on it> look for and choose (something like)"Convert Deb to xzm"
5. move that module to somewhere(i would put it in <USB>/porteus/optional(or modules if you want it activated everytime you boot) then rightclick> choose activate

Installing Debian package

Posted: 20 Dec 2019, 22:25
by beny
hi, for slackware side isn't better to use alien? for the deb2tgz option

Installing Debian package

Posted: 21 Dec 2019, 22:25
by pstrg
@ncmprhnsbl

Thank you for the step by step instructions.
I'm using XFCE.
Followed the instructions and successfully converted binutils-2.26-x86_64-3.txz to binutils-2.26-x86_64-3.xzm.
However, when I tried to convert warsaw_setup64.deb, although the results window says Conversion complete! no corresponding xzm file is created.

Installing Debian package

Posted: 21 Dec 2019, 23:41
by francois
Should be in the /tmp folder, move it to modules folder. :)

Installing Debian package

Posted: 22 Dec 2019, 02:10
by ncmprhnsbl
francois wrote:
21 Dec 2019, 23:41
Should be in the /tmp folder, move it to modules folder
yeah, no .. should turn up in the same directory as the .deb your're converting ..
looking at: https://aur.archlinux.org/cgit/aur.git/ ... warsaw-bin (it's arch but gives useful info)
there could be a bit more to this .. i'll fire up 4.0 (you're using porteus 4.0, right?) and look into it..

Installing Debian package

Posted: 22 Dec 2019, 03:58
by ncmprhnsbl
pstrg wrote:
21 Dec 2019, 22:25
Followed the instructions and successfully converted binutils-2.26-x86_64-3.txz to binutils-2.26-x86_64-3.xzm.
However, when I tried to convert warsaw_setup64.deb, although the results window says Conversion complete! no corresponding xzm file is created.
are you sure you activated binutils--.xzm?
anyways, i managed to convert the deb to xzm..
appears to need python3 and after activating that and running(as root) warsaw start the daemon(core) appears to be running ..
beyond that, i have no idea what else is supposed to happen..
possible other deps:
zenity
mini-amf, pyopenssl, python-unicodecsv (but these are python2, so i don't know)
mostly the deps listed here: https://aur.archlinux.org/packages/warsaw-bin/ should be already there..

Installing Debian package

Posted: 22 Dec 2019, 11:15
by beny
hi ncmprhnsbl and pstrg the warsaw package work with systemd so into porteus or slackware do not work maybe your nemesis work better than porteus for this task, the package is this warsaw-1.13.1.tgz

[Unit]
Description=Warsaw Desktop
After=network.target auditd.service

[Service]
ExecStart=/usr/bin/warsaw start
RemainAfterExit=yes
Type=oneshot

[Install]
WantedBy=multi-user.target

Installing Debian package

Posted: 22 Dec 2019, 12:07
by ncmprhnsbl
hi beny, i don't think that's a problem .. that systemd service file is just a startup script, similar to slackware rc files.. it's quite ok to start it manually when you want it, better actually, for less overhead(btw nemesis doesn't have systemd, that's nekos aporteus)
there is also an autostart .desktop in /etc/xdg/autostart that should probly be disabled ..
whats a little confusing is the aur package say that it depends on python2 when /usr/bin/warsaw clearly states python3..
as well as not having the bank interaction to have any clue what it's supposed to be doing..
anyway, if pstrg has no luck with the conversion i'll share what i have..

Installing Debian package

Posted: 22 Dec 2019, 12:33
by beny
hi i have installed the warsaw package on a slackware current and do not start i try to reinstall it but once again don't run

Installing Debian package

Posted: 22 Dec 2019, 13:09
by ncmprhnsbl
do you see a process called "core" . because that's what starts when you run 'warsaw start'
also, i tested with an older python3 ..which probly shouldn't matter..