Installing Debian package

Post here if you are a new Porteus member and you're looking for some help.
pstrg
White ninja
White ninja
Posts: 6
Joined: 19 Dec 2019, 14:43
Distribution: Desktop

Installing Debian package

Post#1 by pstrg » 19 Dec 2019, 15:03

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?

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

Installing Debian package

Post#2 by Ed_P » 19 Dec 2019, 16:52

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?
Ed

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

Installing Debian package

Post#3 by donald » 19 Dec 2019, 19:26

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# 

pstrg
White ninja
White ninja
Posts: 6
Joined: 19 Dec 2019, 14:43
Distribution: Desktop

Installing Debian package

Post#4 by pstrg » 20 Dec 2019, 02:25

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.

pstrg
White ninja
White ninja
Posts: 6
Joined: 19 Dec 2019, 14:43
Distribution: Desktop

Installing Debian package

Post#5 by pstrg » 20 Dec 2019, 02:38

@Ed_P; @donald

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

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 2361
Joined: 20 Mar 2012, 03:42
Distribution: 5.0rc1-64bit all-DE+more
Location: australia
Contact:

Installing Debian package

Post#6 by ncmprhnsbl » 20 Dec 2019, 02:53

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
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

beny
Full of knowledge
Full of knowledge
Posts: 801
Joined: 02 Jan 2011, 11:33
Location: italy

Installing Debian package

Post#7 by beny » 20 Dec 2019, 22:25

hi, for slackware side isn't better to use alien? for the deb2tgz option

pstrg
White ninja
White ninja
Posts: 6
Joined: 19 Dec 2019, 14:43
Distribution: Desktop

Installing Debian package

Post#8 by pstrg » 21 Dec 2019, 22:25

@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.

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

Installing Debian package

Post#9 by francois » 21 Dec 2019, 23:41

Should be in the /tmp folder, move it to modules folder. :)
Prendre son temps, profiter de celui qui passe.

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 2361
Joined: 20 Mar 2012, 03:42
Distribution: 5.0rc1-64bit all-DE+more
Location: australia
Contact:

Installing Debian package

Post#10 by ncmprhnsbl » 22 Dec 2019, 02:10

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..
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 2361
Joined: 20 Mar 2012, 03:42
Distribution: 5.0rc1-64bit all-DE+more
Location: australia
Contact:

Installing Debian package

Post#11 by ncmprhnsbl » 22 Dec 2019, 03:58

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..
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

beny
Full of knowledge
Full of knowledge
Posts: 801
Joined: 02 Jan 2011, 11:33
Location: italy

Installing Debian package

Post#12 by beny » 22 Dec 2019, 11:15

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

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 2361
Joined: 20 Mar 2012, 03:42
Distribution: 5.0rc1-64bit all-DE+more
Location: australia
Contact:

Installing Debian package

Post#13 by ncmprhnsbl » 22 Dec 2019, 12:07

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..
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

beny
Full of knowledge
Full of knowledge
Posts: 801
Joined: 02 Jan 2011, 11:33
Location: italy

Installing Debian package

Post#14 by beny » 22 Dec 2019, 12:33

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

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 2361
Joined: 20 Mar 2012, 03:42
Distribution: 5.0rc1-64bit all-DE+more
Location: australia
Contact:

Installing Debian package

Post#15 by ncmprhnsbl » 22 Dec 2019, 13:09

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..
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

Post Reply