Untidy situation regarding p11-kit packaging causing setup inconsistency

Shaddy Baddah lithium-cygwin@shaddybaddah.name
Wed Mar 26 03:06:00 GMT 2014


Hi,

On 26/03/14 13:30, Shaddy Baddah wrote:
<snip/>
> Regardless, the problem still exists. Because for whatever reason, I
> cannot force-ably select 0.18.7-1 in the Install (from local) run of
> setup.exe. I can only keep libp11-kit0 at 0.19.1-1 or uninstall. The
> latter triggers the dependency check to prompt for it to be installed
> anyway, as it is needed by p11-kit.
<snip/>

Well... I'll be darned... tipped off by the following line in
setup.log.full:

INVALID PACKAGE: 
file://C:\Users\Public\Downloads\cygwin_setup_area/http%3a%2f%2fmirror.internode.on.net%2fpub%2fcygwin%2f/x86/release/p11-kit/libp11-kit0/libp11-kit0-0.18.7-1.tar.xz 
- Size mismatch: Ini-file: 41704 != On-disk: 0

(actually there were quite a few of these)

I removed the file and tried again. This time the Download -> Install
went through OK:

$ cygcheck -cd p11-kit libp11-kit0 p11-kit0-trust ca-certificates
Cygwin Package Information
Package              Version
ca-certificates      1.96-3
libp11-kit0          0.18.7-1
p11-kit              0.18.7-1

At this point, I've investigated further and determined what the issue
is.

Unfortunately, some packages have be ended up with non-permissive
permissions:

$ ls -l x86/release/p11-kit/libp11-kit0/libp11-kit0-0.18.7-1.tar.xz 
x86/release/p11-kit/p11-kit-trust/p11-kit-trust-0.18.7-1.tar.xz
-rw-r--r-- 1 sbaddah Domain Users 41704 Mar 26 13:34 
x86/release/p11-kit/libp11-kit0/libp11-kit0-0.18.7-1.tar.xz
-rwx------ 1 sbaddah Domain Users 54048 Dec 17 15:32 
x86/release/p11-kit/p11-kit-trust/p11-kit-trust-0.18.7-1.tar.xz

In my case this is significant, because I install under a different user
account to that that I Download from.

I don't understand how I ended up with these non-permissive permissions,
but removing and re-downloading obviously resolves that. In any case, I
will fix the permissions and update my entire install.

-- 
Regards,
Shaddy



More information about the Cygwin-apps mailing list