configuring Debian 7 for internet banking

Getting your soundcard to work, using Debian on non-i386 hardware, etc

configuring Debian 7 for internet banking

Postby andrei186 » 2015-12-30 13:29

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?
andrei186
 
Posts: 115
Joined: 2014-10-23 10:54

Re: configuring Debian 7 for internet banking

Postby Head_on_a_Stick » 2015-12-30 13:51

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
User avatar
Head_on_a_Stick
 
Posts: 10377
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: configuring Debian 7 for internet banking

Postby andrei186 » 2015-12-30 15:20

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?

Head_on_a_Stick wrote:https://packages.debian.org/wheezy/pcscd

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

Postby andrei186 » 2015-12-30 15:22

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:
andrei186
 
Posts: 115
Joined: 2014-10-23 10:54

Re: configuring Debian 7 for internet banking

Postby arochester » 2015-12-30 16:16

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/
arochester
 
Posts: 1523
Joined: 2010-12-07 19:55

Re: configuring Debian 7 for internet banking

Postby Head_on_a_Stick » 2015-12-30 16:17

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...
User avatar
Head_on_a_Stick
 
Posts: 10377
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: configuring Debian 7 for internet banking

Postby andrei186 » 2015-12-30 16:36

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
andrei186
 
Posts: 115
Joined: 2014-10-23 10:54

Re: configuring Debian 7 for internet banking

Postby Head_on_a_Stick » 2015-12-30 16:39

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
User avatar
Head_on_a_Stick
 
Posts: 10377
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: configuring Debian 7 for internet banking

Postby andrei186 » 2015-12-30 16:44

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
andrei186
 
Posts: 115
Joined: 2014-10-23 10:54

Re: configuring Debian 7 for internet banking

Postby Head_on_a_Stick » 2015-12-30 16:46

^ yup.

Always best to try to stick as close to Mother Debian as possible, IMO
User avatar
Head_on_a_Stick
 
Posts: 10377
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: configuring Debian 7 for internet banking

Postby andrei186 » 2015-12-30 16:54

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
andrei186
 
Posts: 115
Joined: 2014-10-23 10:54

Re: configuring Debian 7 for internet banking

Postby stevepusser » 2015-12-30 20:03

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?
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Calibre 3.48.0, QMPlay2 19.09.03, wine-staging 4.16, Telegram-desktop 1.8.8, Pale Moon 28.7.1, Waterfox 56.2.14
User avatar
stevepusser
 
Posts: 11096
Joined: 2009-10-06 05:53

Re: configuring Debian 7 for internet banking

Postby andrei186 » 2015-12-30 21:13

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

Postby andrei186 » 2015-12-30 21:35

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
andrei186
 
Posts: 115
Joined: 2014-10-23 10:54

Re: configuring Debian 7 for internet banking

Postby brian_p » 2015-12-30 23:38

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_p
 
Posts: 84
Joined: 2015-11-05 10:32

Next

Return to Hardware

Who is online

Users browsing this forum: No registered users and 6 guests

fashionable