Re: [Reiner SCT] [solved] CTAPI: Could not open device at 0

Micha Lenk <[email protected]> Mon, 28 Sep 2009 23:17:34 +0200
Newsgroups gmane.comp.lib.libchipcard.devel
Message-ID <[email protected]>
Hi Paul,

Paul Menzel wrote:
> Am Montag, den 28.09.2009, 18:10 +0200 schrieb Martin Preuss:
>> On Montag, 28. September 2009, Paul Menzel wrote:
>>> Am Freitag, den 04.09.2009, 00:07 +0200 schrieb Paul Menzel:
>>>> Am Donnerstag, den 03.09.2009, 23:36 +0200 schrieb Micha Lenk:
>>>>> Paul Menzel schrieb:
>>>>>> I did not find the rules file on my system.
>>>>>>
>>>>>> $ LANG=C ls -l /etc/udev/rules.d/z80_cyberjack.rules
>>>>>> ls: cannot access /etc/udev/rules.d/z80_cyberjack.rules: No such file
>>>>>> or directory
>> [...]
>>
>> Oddly enough, I had the same problem: I verified that the rules file actually 
>> *is* inside the dpkg package, but still dpkg silently ignores it.
>>
>> I then went ahead and deinstalled the package with the purge command ("apt-get 
>> purge libctapi-cyberjack2") and reinstalled it. I don't know why but after 
>> that the rules file was installed...
> 
> Was that on a new system or have you had libctapi-cyberjack2 installed
> and removed before?
> 
>> Anyway, I don't know enough about the guts of dpkg to have an idea why dpkg 
>> would silenty ignore files inside a package but still installs them when 
>> purging the predecessor first...
> 
> Could it be that the conffile is executable?

No, I'd rather guess that it's a bug in dpkg regarding symlinks and
conffiles, which causes this behaviour. I haven't checked the situation
in detail yet, but it looks quite similar to what Marc Haber describes
in http://bugs.debian.org/421344

Regards
  Micha

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf