Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

configuring Debian 7 for internet banking

Need help with peripherals or devices?
Message
Author
andrei186
Posts: 115
Joined: 2014-10-23 10:54

configuring Debian 7 for internet banking

#1 Post by andrei186 »

I am trying to configure my Debian 7 to work with Internet banking system iBank-2 (I do not know if this is an internationally know system, or it is only known in Russia).
My bank gave my a USB token, and suggested I download from their website token's driver for Linux
iBank2Key-Driver-Linux-x86-1.08.sh
I started it with command sh iBank2Key-Driver-Linux-x86-1.08.sh, yet it aborted saying
============
Package pcscd is not available, but is referred to by another package.
E: Package 'pcscd' has no installation candidate
E: Unable to locate package pcsc-tools
WARNING: Failed to install PC/SC Daemon (pcscd)
=========
The bank support advised that I need to install libpcsclite-dev first, which I did.
Yet sh iBank2Key-Driver-Linux-x86-1.08.sh returned
============
The following packages have unmet dependencies:
libglib2.0-0 : Breaks: glib-networking (< 2.33.12) but 2.32.3-1 is to be installed
pcsc-tools : Depends: libgtk2-perl but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
WARNING: Failed to install PC/SC Daemon (pcscd).
WARNING: USB smart card reader drivers location was not found on your system.
Enter path to USB smart card reader drivers directory (usbdropdir):
Downloads/iBank2Key-Driver-Linux-x86-1.08.sh: 61: printf: Illegal option -n
=========
what is wrong and how do I fix it?

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: configuring Debian 7 for internet banking

#2 Post by Head_on_a_Stick »

https://packages.debian.org/wheezy/pcscd
andrei186 wrote:what is wrong
You have broken your system, well done :D

Please read this:
https://wiki.debian.org/DontBreakDebian

For further support, please post the output of:

Code: Select all

cat /etc/apt/sources.list{,.d/*}; apt-cache policy
deadbang

andrei186
Posts: 115
Joined: 2014-10-23 10:54

Re: configuring Debian 7 for internet banking

#3 Post by andrei186 »

Head_on_a_Stick wrote:You have broken your system, well done :D
Thank you, Head_on_a_Stick . Which particular line in my post makes you think so?
Yes, this is exactly where I started this exercise

Head_on_a_Stick wrote:
https://wiki.debian.org/DontBreakDebian
For further support, please post the output of:

Code: Select all

cat /etc/apt/sources.list{,.d/*}; apt-cache policy
Thanks for DontBreakDebian. Among other good advices it prescribes not to blindly follow advice from strangers ;)
I understand cat /etc/apt/sources.list will printout my sources.list file. What {,.d/*} is for? And if you want to see my sources.list file, perhaps I can just copy-and-paste it here?

andrei186
Posts: 115
Joined: 2014-10-23 10:54

Re: configuring Debian 7 for internet banking

#4 Post by andrei186 »

Head_on_a_Stick wrote: For further support, please post the output of:

Code: Select all

cat /etc/apt/sources.list{,.d/*}; apt-cache policy
output of apt-cache policy runs as follows:

Package files:
100 /var/lib/dpkg/status
release a=now
500 http://www.deb-multimedia.org/ wheezy/non-free i386 Packages
release o=Unofficial Multimedia Packages,a=oldstable,n=wheezy,l=Unofficial Multimedia Packages,c=non-free
origin www.deb-multimedia.org
500 http://www.deb-multimedia.org/ wheezy/main i386 Packages
release o=Unofficial Multimedia Packages,a=oldstable,n=wheezy,l=Unofficial Multimedia Packages,c=main
origin www.deb-multimedia.org
500 http://http.debian.net/debian/ wheezy-backports/main Translation-en
100 http://http.debian.net/debian/ wheezy-backports/main i386 Packages
release v=,o=Debian Backports,a=wheezy-backports,n=wheezy-backports,l=Debian Backports,c=main
origin http.debian.net
500 http://deb.opera.com/opera/ stable/non-free i386 Packages
release o=Opera Software ASA,a=stable,n=stable,l=The Opera web browser,c=non-free
origin deb.opera.com
500 http://security.debian.org/ wheezy/updates/non-free Translation-en
500 http://security.debian.org/ wheezy/updates/main Translation-en
500 http://security.debian.org/ wheezy/updates/contrib Translation-en
500 http://security.debian.org/ wheezy/updates/non-free i386 Packages
release v=7.0,o=Debian,a=oldstable,n=wheezy,l=Debian-Security,c=non-free
origin security.debian.org
500 http://security.debian.org/ wheezy/updates/contrib i386 Packages
release v=7.0,o=Debian,a=oldstable,n=wheezy,l=Debian-Security,c=contrib
origin security.debian.org
500 http://security.debian.org/ wheezy/updates/main i386 Packages
release v=7.0,o=Debian,a=oldstable,n=wheezy,l=Debian-Security,c=main
origin security.debian.org
500 http://ftp.ru.debian.org/debian/ stable/non-free Translation-en
500 http://ftp.ru.debian.org/debian/ stable/main Translation-en
500 http://ftp.ru.debian.org/debian/ stable/contrib i386 Packages
release v=8.2,o=Debian,a=stable,n=jessie,l=Debian,c=contrib
origin ftp.ru.debian.org
500 http://ftp.ru.debian.org/debian/ stable/main i386 Packages
release v=8.2,o=Debian,a=stable,n=jessie,l=Debian,c=main
origin ftp.ru.debian.org
500 http://ftp.ru.debian.org/debian/ wheezy/main Translation-en
500 http://ftp.ru.debian.org/debian/ wheezy/main i386 Packages
release v=7.9,o=Debian,a=oldstable,n=wheezy,l=Debian,c=main
origin ftp.ru.debian.org
500 http://ftp.debian.org/debian/ wheezy-updates/non-free Translation-en
500 http://ftp.debian.org/debian/ wheezy-updates/main Translation-en
500 http://ftp.debian.org/debian/ wheezy-updates/contrib Translation-en
500 http://ftp.debian.org/debian/ wheezy-updates/non-free i386 Packages
release o=Debian,a=oldstable-updates,n=wheezy-updates,l=Debian,c=non-free
origin ftp.debian.org
500 http://ftp.debian.org/debian/ wheezy-updates/contrib i386 Packages
release o=Debian,a=oldstable-updates,n=wheezy-updates,l=Debian,c=contrib
origin ftp.debian.org
500 http://ftp.debian.org/debian/ wheezy-updates/main i386 Packages
release o=Debian,a=oldstable-updates,n=wheezy-updates,l=Debian,c=main
origin ftp.debian.org
Pinned packages:

arochester
Emeritus
Emeritus
Posts: 2435
Joined: 2010-12-07 19:55
Has thanked: 14 times
Been thanked: 54 times

Re: configuring Debian 7 for internet banking

#5 Post by arochester »

You have a mixture of Wheezy, Debian 7 - which is the obsolete stable release, and Stable, which is currently Jessie Debian 8.

https://www.debian.org/releases/

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: configuring Debian 7 for internet banking

#6 Post by Head_on_a_Stick »

andrei186 wrote:
Head_on_a_Stick wrote:You have broken your system, well done :D
Thank you, Head_on_a_Stick . Which particular line in my post makes you think so?
The bit where you couldn't install a wheezy package in a wheezy system.
andrei186 wrote:I understand cat /etc/apt/sources.list will printout my sources.list file. What {,.d/*} is for?
The command will concatenate /etc/apt/sources.list & any files under /etc/apt/sources.list.d and print them to STDOUT
andrei186 wrote:if you want to see my sources.list file, perhaps I can just copy-and-paste it here?
Yes indeed, but no hiding :P

At any rate, the `apt-cache policy` output shows that you have some "Debian stable" lines in your sources -- these now point to the jessie repositories.

As a result, you are now the proud parent of a FrankenDebian system ;)

The best thing is probably to change your sources.list to point to jessie explicitly and solely then attempt a `dist-upgrade`

This may/may not completely wreck your system.

Read this before attempting the upgrade:
https://www.debian.org/releases/stable/ ... ng.en.html

EDIT: Too slow...
deadbang

andrei186
Posts: 115
Joined: 2014-10-23 10:54

Re: configuring Debian 7 for internet banking

#7 Post by andrei186 »

Head_on_a_Stick wrote:
At any rate, the `apt-cache policy` output shows that you have some "Debian stable" lines in your sources -- these now point to the jessie repositories. .
if you refer to
deb http://ftp.ru.debian.org/debian stable main contrib non-free
in my sources, then I added it time ago before Jessie became got the stable status.
Do you mean that the "stable" attribute is a sort of a dymamic pointer which used to point to wheezy, but now points to jessie?
As I do not want to upgrade to jessie for the moment, how shall I change this line to point to wheezy? Like that:
deb http://ftp.ru.debian.org/debian wheezy main contrib non-free

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: configuring Debian 7 for internet banking

#8 Post by Head_on_a_Stick »

andrei186 wrote:Do you mean that the "stable" attribute is a sort of a dymamic pointer which used to point to wheezy, but now points to jessie?
Yes, exactly so.
andrei186 wrote:As I do not want to upgrade to jessie for the moment, how shall I change this line to point to wheezy? Like that:
deb http://ftp.ru.debian.org/debian wheezy main contrib non-free
That probably wouldn't work.

You could try https://www.debian.org/doc/manuals/debi ... owngrading but wiser minds than me have pointed out that this is *not* intended for Debian stable systems, let alone oldstable
deadbang

andrei186
Posts: 115
Joined: 2014-10-23 10:54

Re: configuring Debian 7 for internet banking

#9 Post by andrei186 »

also after reading that article about destroying Debin I conclude that the line
deb-src http://download.videolan.org/pub/videolan/debian stable main
is not kosher for wheezy on two accounts:
1. refers to stable jessie
2. Does not belong to official repository and therefore can potentially cause havoc

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: configuring Debian 7 for internet banking

#10 Post by Head_on_a_Stick »

^ yup.

Always best to try to stick as close to Mother Debian as possible, IMO
deadbang

andrei186
Posts: 115
Joined: 2014-10-23 10:54

Re: configuring Debian 7 for internet banking

#11 Post by andrei186 »

Head_on_a_Stick wrote: please post the output of:

Code: Select all

cat /etc/apt/sources.list{,.d/*}; apt-cache policy
cat /etc/apt/sources.list{,.d/*} returns as follows:

# deb cdrom:[Debian GNU/Linux 7.3.0 _Wheezy_ - Official i386 DVD Binary-1 20131215-03:40]/ wheezy contrib main
# deb cdrom:[Debian GNU/Linux 7.3.0 _Wheezy_ - Official i386 DVD Binary-1 20131215-03:40]/ wheezy contrib main
# Line commented out by installer because it failed to verify:
#deb http://security.debian.org/ wheezy/updates main contrib
# Line commented out by installer because it failed to verify:
#deb-src http://security.debian.org/ wheezy/updates main contrib
# wheezy-updates, previously known as 'volatile'
# A network mirror was not selected during install. The following entries
# are provided as examples, but you should amend them as appropriate
# for your mirror of choice.
#
deb http://ftp.debian.org/debian/ wheezy-updates main contrib
deb-src http://ftp.debian.org/debian/ wheezy-updates main contrib

#apt-get update

deb http://ftp.ru.debian.org/debian/ wheezy main
#deb https://packages.debian.org/ wheezy
#deb-src https://packages.debian.org/ wheezy
deb http://ftp.ru.debian.org/debian stable main contrib non-free
deb http://ftp.debian.org/debian/ wheezy-updates main contrib non-free

deb http://security.debian.org/ wheezy/updates main contrib non-free
deb http://deb.opera.com/opera/ stable non-free #Opera Browser (final releases)

deb http://download.videolan.org/pub/videolan/debian stable main
deb-src http://download.videolan.org/pub/videolan/debian stable main
deb http://http.debian.net/debian wheezy-backports main
deb http://www.deb-multimedia.org/ wheezy main non-free
cat: /etc/apt/sources.list.d/*: No such file or directory

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: configuring Debian 7 for internet banking

#12 Post by stevepusser »

If you are lucky, you may not have installed anything from Jessie that will cause your system to become unstable. Do you still have the problem installing the banking software, now that you've disabled the Jessie repositories and updated the apt database?
MX Linux packager and developer

andrei186
Posts: 115
Joined: 2014-10-23 10:54

Re: configuring Debian 7 for internet banking

#13 Post by andrei186 »

stevepusser wrote:If you are lucky, you may not have installed anything from Jessie that will cause your system to become unstable. Do you still have the problem installing the banking software, now that you've disabled the Jessie repositories and updated the apt database?
apt-get update called after the Jessie repositories have been commented out returned several errors:
======
Err http://ftp.ru.debian.org wheezy/main Translation-en
Bad header line
Fetched 5,859 kB in 6s (881 kB/s)
W: GPG error: http://www.deb-multimedia.org wheezy Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 5C808C2B65558117
W: Failed to fetch http://ftp.ru.debian.org/debian/dists/w ... slation-en Bad header line

E: Some index files failed to download. They have been ignored, or old ones used instead.
============

andrei186
Posts: 115
Joined: 2014-10-23 10:54

Re: configuring Debian 7 for internet banking

#14 Post by andrei186 »

stevepusser wrote:If you are lucky, you may not have installed anything from Jessie that will cause your system to become unstable. Do you still have the problem installing the banking software, now that you've disabled the Jessie repositories and updated the apt database?
attempt to install the banking software resulted in the following errors:
================
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
pcsc-tools : Depends: libpcsclite1 but it is not going to be installed
Depends: libpcsc-perl but it is not going to be installed
pcscd : Depends: libpcsclite1 (= 1.8.4-1+deb7u1) but it is not going to be installed
W: Duplicate sources.list entry http://ftp.debian.org/debian/ wheezy-updates/main i386 Packages (/var/lib/apt/lists/ftp.debian.org_debian_dists_wheezy-updates_main_binary-i386_Packages)
W: Duplicate sources.list entry http://ftp.debian.org/debian/ wheezy-updates/contrib i386 Packages (/var/lib/apt/lists/ftp.debian.org_debian_dists_wheezy-updates_contrib_binary-i386_Packages)
W: You may want to run apt-get update to correct these problems
E: Unable to correct problems, you have held broken packages.
WARNING: Failed to install PC/SC Daemon (pcscd).
WARNING: USB smart card reader drivers location was not found on your system.
Enter path to USB smart card reader drivers directory (usbdropdir):
Downloads/iBank2Key-Driver-Linux-x86-1.08.sh: 61: printf: Illegal option -n
=============
Regarding duplications in sources.list mentioned above.
Do
deb http://ftp.debian.org/debian/ wheezy-updates main contrib
and
deb http://ftp.debian.org/debian/ wheezy-updates main contrib non-free
constitute duplication?

BTW, every time I try to install it, after desplayng the errors Terminal stops responding and I have to close it down

brian_p
Posts: 196
Joined: 2015-11-05 10:32
Has thanked: 1 time
Been thanked: 5 times

Re: configuring Debian 7 for internet banking

#15 Post by brian_p »

andrei186 wrote:
stevepusser wrote:If you are lucky, you may not have installed anything from Jessie that will cause your system to become unstable. Do you still have the problem installing the banking software, now that you've disabled the Jessie repositories and updated the apt database?
attempt to install the banking software resulted in the following errors:
Which software are you attempting to install?
--
Brian.

andrei186
Posts: 115
Joined: 2014-10-23 10:54

Re: configuring Debian 7 for internet banking

#16 Post by andrei186 »

brian_p wrote:Which software are you attempting to install?
iBank2Key-Driver-Linux-x86-1.08.sh which is installing driver for USB token to work with internet banking system iBank-2

andrei186
Posts: 115
Joined: 2014-10-23 10:54

Re: configuring Debian 7 for internet banking

#17 Post by andrei186 »

the driver for iBank2 token got installed after the sources.list has been updated for Jessie and then Wheezy was upgraded to Jassie using

Code: Select all

apt-get update
apt-get -f install
apt-get upgrade
apt-get dist-upgrade
this went without errors, although a couple of warning were present
Yet it turned out that to work, Java-8 had to be installed too, which I did and it too has been completed without errors.
Now, when connecting to the bank's site with Iceweasel, it responds that Java is not enabled.
How do I enable Java on Iceweasel?

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: configuring Debian 7 for internet banking

#18 Post by Head_on_a_Stick »

andrei186 wrote:How do I enable Java on Iceweasel?
Do you have JRE installed?

Try:

Code: Select all

# apt install default-jre
This will provide an IcedTea plugin that can be activated to display Java content.

If that won't work, perhaps try the official version from Oracle:
http://www.oracle.com/technetwork/java/ ... 33155.html

I've never tried that though.
deadbang

andrei186
Posts: 115
Joined: 2014-10-23 10:54

Re: configuring Debian 7 for internet banking

#19 Post by andrei186 »

Head_on_a_Stick wrote:
andrei186 wrote:How do I enable Java on Iceweasel?
Do you have JRE installed?

Try:

Code: Select all

# apt install default-jre
This will provide an IcedTea plugin that can be activated to display Java content.
God knows if JRE is installed there. I did not installed it explicitly, yet XFCE menu in Settings alongside
Oracle Java 8 Plugin Control Panel
and
Oracle Java 8 Policy Tool
shows
IcedTea Web Control Panel

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: configuring Debian 7 for internet banking

#20 Post by Head_on_a_Stick »

All I can suggest is that perhaps you installed Java 8 wrong.

Debian jessie uses version 7 by default, Arch offers version 8 in the official repositories.
deadbang

Post Reply