Bug#374947: jikes: Cheksum mismatch even after fresh reinstall - cause found

2006-06-28 Thread Helge Hafting

Adam Majer wrote:

Now, long time ago /usr/share/doc/jikes-{classpath,gij,sablevm} all were
symlinks to /usr/share/doc/jikes. My guess is that you still have these
as symlinks. If yes, remove these symlinks and reinstall. In either
case, let me know. These symlinks were created with debhelper hence I
assumed they would go away automatically.
  

Thanks, that solved the problem.

There were indeed symlinks, there were nothing wrong with
your packages at all.

Helge Hafting


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#374947: jikes: Cheksum mismatch even after fresh reinstall - cause found

2006-06-27 Thread Adam Majer
Helge Hafting wrote:
> Now I found the problem.
>
> The three packages jikes, jikes-kaffe and jikes-classpath
> all overwrite each others copyright files.
>
> So:
> Installing jikes wrecks the checksums of jikes-classpath and jikes-kaffe
> Installing jikes-kaffe wrecks the checksums of jikes and jikes-classpath
> Installing jikes-classpath wrecks the checksums of jikes and jikes-kaffe
>
After installing all of these,

$ debsums jikes
/usr/include/jikesapi.h  
OK
/usr/bin/jikes   
OK
/usr/share/doc/jikes/README.Debian   
OK
/usr/share/doc/jikes/copyright   
OK
/usr/share/doc/jikes/changelog.gz
OK
/usr/share/doc/jikes/NEWS.gz 
OK
/usr/share/doc/jikes/changelog.Debian.gz 
OK
/usr/share/man/man1/jikes.1.gz   
OK

$ debsums jikes-classpath
/usr/bin/jikes-classpath 
OK
/usr/share/doc/jikes-classpath/copyright 
OK
/usr/share/doc/jikes-classpath/changelog.gz  
OK
/usr/share/doc/jikes-classpath/changelog.Debian.gz   
OK

$ debsums jikes-gij 
/usr/share/lintian/overrides/jikes-gij   
OK
/usr/bin/jikes-gij   
OK


Now, long time ago /usr/share/doc/jikes-{classpath,gij,sablevm} all were
symlinks to /usr/share/doc/jikes. My guess is that you still have these
as symlinks. If yes, remove these symlinks and reinstall. In either
case, let me know. These symlinks were created with debhelper hence I
assumed they would go away automatically.




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#374947: jikes: Cheksum mismatch even after fresh reinstall - cause found

2006-06-27 Thread Helge Hafting

Now I found the problem.

The three packages jikes, jikes-kaffe and jikes-classpath
all overwrite each others copyright files.

So:
Installing jikes wrecks the checksums of jikes-classpath and jikes-kaffe
Installing jikes-kaffe wrecks the checksums of jikes and jikes-classpath
Installing jikes-classpath wrecks the checksums of jikes and jikes-kaffe


Just try it.  Install all three packages.
Then, apt-get --reinstall install 
run
debsums jikes jikes-kaffe jikes-classpath
and see that the one installed is ok, and the other two is not.
This is fully repeatable and works for any of the three packages.

My guess: over-eager cut&paste when making postinst scripts? ;-)

Probably not a real problem, except it trips up debsums and
stores wrong licencing info.

Helge Hafting


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#374947: jikes: Cheksum mismatch even after fresh reinstall

2006-06-27 Thread Helge Hafting

Adam Majer wrote:


These seem OK. That is, the package is consistent with itself. Check if
your checksums match the ones here. You can check the file one by one.
Which mirror are you using? I'm assuming you are using the crypto
version of apt with up to date archive keys (ie. you get no warnings
about untrusted sources).

  

I found the same problem with jikes-kaffe and jikes-classpath.
Checksum errors, and it is the copyright files that are affected.

So I made backups of the mismatching jikes-kaffe files that were wrong,
before reinstalling the package from my .deb file.
(The wrong files for the jikes package is now lost.)

The reinstalled jikes-kaffe had correct checksums.  So I
compared the "old" and "new" copyright files, and found
them to be completely different.

The correct /usr/share/doc/jikes-kaffe/copyright starts like this:
  KAFFE LICENSES

Kaffe includes code from many different sources. Currently it contains a
great deal of code under the GPL and LGPL. Those licenses can be found in
/usr/share/common-licenses. Some parts of Kaffe under those licenses have
various exceptions detailed below. Additionally, some parts of Kaffe are
from work by the W3C and is therefore under a W3C license. That license
is also included in this file.


The wrong file starts like this:
This package was originaly debianized by Mike Goldman <[EMAIL PROTECTED]> on
Sun, 14 Mar 1999 12:46:09 -0500.

Current maintainer is Adam Majer <[EMAIL PROTECTED]>

and it continues with an "IBM public licence". for the jikes compiler.
The word IBM isn't even mentioned in the correct file.

So I wonder, has there been a change of licence without an update in
the version number?  Or is wrong file versions something that can happen
when I break apt-get/dpkg with ctrl+C?  I do that occationally, I 
believed that

any half-written package should be re-unpacked upon rerunning the
apt-get command later. 


Or is this assumption wrong?  It'd be strange for apt-get to update its
database with a new version number installed if the unpacking
(or some pre-/post-install script) got interrupted.

Helge Hafting






--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#374947: jikes: Cheksum mismatch even after fresh reinstall

2006-06-27 Thread Helge Hafting

Adam Majer wrote:

Helge Hafting wrote:
  

Package: jikes
Version: 1:1.22-4
Severity: minor

debsums: checksum mismatch jikes file /usr/share/doc/jikes/copyright
debsums: checksum mismatch jikes file /usr/share/doc/jikes/changelog.gz
debsums: checksum mismatch jikes file
/usr/share/doc/jikes/changelog.Debian.gz

  


I changed debsums config not to generate checksums when they are
missing. Anyway, I get,

[EMAIL PROTECTED]:~$ debsums jikes
/usr/include/jikesapi.h  
OK
/usr/bin/jikes   
OK
/usr/share/doc/jikes/README.Debian   
OK
/usr/share/doc/jikes/copyright   
OK
/usr/share/doc/jikes/changelog.gz
OK
/usr/share/doc/jikes/NEWS.gz 
OK
/usr/share/doc/jikes/changelog.Debian.gz 
OK
/usr/share/man/man1/jikes.1.gz   
OK


so, I reinstalled jikes,

[EMAIL PROTECTED]:~$ sudo aptitude reinstall jikes
[snip]
Setting up jikes (1.22-4) ...


[EMAIL PROTECTED]:~$ debsums jikes
/usr/include/jikesapi.h  
OK
/usr/bin/jikes   
OK
/usr/share/doc/jikes/README.Debian   
OK
/usr/share/doc/jikes/copyright   
OK
/usr/share/doc/jikes/changelog.gz
OK
/usr/share/doc/jikes/NEWS.gz 
OK
/usr/share/doc/jikes/changelog.Debian.gz 
OK
/usr/share/man/man1/jikes.1.gz   
OK



Then I downloaded from the mirrors.kernel.org debian mirror jikes.deb,
extracted it and checked the internal md5sums,

[EMAIL PROTECTED]:/tmp/a$ ls -ltr
total 12
drwxr-xr-x 5 adamm adamm 4096 Feb 11 15:58 usr
-rw-r--r-- 1 adamm adamm  773 Feb 11 15:59 control
-rw-r--r-- 1 adamm adamm  504 Feb 11 15:59 md5sums

[EMAIL PROTECTED]:/tmp/a$ cat md5sums
1e922f7a325e2830b2333930fcf136db  usr/include/jikesapi.h
5ecffeed4b7e6dbbdd769d659a78cacf  usr/bin/jikes
1ba2a7615432a66e5351b29e117c0815  usr/share/doc/jikes/README.Debian
8e5b25a65f953a13dbd14a42743fc49a  usr/share/doc/jikes/copyright
b358064567d9e6ee3d083f19e12d8632  usr/share/doc/jikes/changelog.gz
db9f8ca2ce0362696dac063b007a25a4  usr/share/doc/jikes/NEWS.gz
d98e84392af31efd2b587136c0f8260e  usr/share/doc/jikes/changelog.Debian.gz
512e3b0d978e1e8c2201f4a459aca843  usr/share/man/man1/jikes.1.gz

[EMAIL PROTECTED]:/tmp/a$ md5sum -c md5sums
usr/include/jikesapi.h: OK
usr/bin/jikes: OK
usr/share/doc/jikes/README.Debian: OK
usr/share/doc/jikes/copyright: OK
usr/share/doc/jikes/changelog.gz: OK
usr/share/doc/jikes/NEWS.gz: OK
usr/share/doc/jikes/changelog.Debian.gz: OK
usr/share/man/man1/jikes.1.gz: OK



These seem OK. That is, the package is consistent with itself. Check if
your checksums match the ones here. You can check the file one by one.
Which mirror are you using? I'm assuming you are using the crypto
version of apt with up to date archive keys (ie. you get no warnings
about untrusted sources).
  

This is strange. I ran debsums jikes again, and got:
/usr/include/jikesapi.h   
OK
/usr/bin/jikes
OK
/usr/share/doc/jikes/README.Debian
OK
/usr/share/doc/jikes/copyright
FAILED
/usr/share/doc/jikes/changelog.gz 
FAILED
/usr/share/doc/jikes/NEWS.gz  
OK
/usr/share/doc/jikes/changelog.Debian.gz  
FAILED
/usr/share/man/man1/jikes.1.gz
OK


After an apt-get update, my jikes was still the last version.  But I
reinstalled it anyway with apt-get -t unstable --reinstall install jikes
And now the checksums match! 


This is strange -- nothing was downloaded because I already have the latest
package.  Last time it gave me checksum errors, now it doesn't?
I have a newer kernel now, (2.6.17-mm1) that could theoretically
make a difference if the old one had a rare filesystem error or something.

All the file chekcsums matches yours now, so I guess the
problem is solved, whatever it was.

Helge Hafting


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#374947: jikes: Cheksum mismatch even after fresh reinstall

2006-06-22 Thread Adam Majer
Helge Hafting wrote:
> Package: jikes
> Version: 1:1.22-4
> Severity: minor
>
> debsums: checksum mismatch jikes file /usr/share/doc/jikes/copyright
> debsums: checksum mismatch jikes file /usr/share/doc/jikes/changelog.gz
> debsums: checksum mismatch jikes file
> /usr/share/doc/jikes/changelog.Debian.gz
>
>   
I changed debsums config not to generate checksums when they are
missing. Anyway, I get,

[EMAIL PROTECTED]:~$ debsums jikes
/usr/include/jikesapi.h  
OK
/usr/bin/jikes   
OK
/usr/share/doc/jikes/README.Debian   
OK
/usr/share/doc/jikes/copyright   
OK
/usr/share/doc/jikes/changelog.gz
OK
/usr/share/doc/jikes/NEWS.gz 
OK
/usr/share/doc/jikes/changelog.Debian.gz 
OK
/usr/share/man/man1/jikes.1.gz   
OK

so, I reinstalled jikes,

[EMAIL PROTECTED]:~$ sudo aptitude reinstall jikes
[snip]
Setting up jikes (1.22-4) ...


[EMAIL PROTECTED]:~$ debsums jikes
/usr/include/jikesapi.h  
OK
/usr/bin/jikes   
OK
/usr/share/doc/jikes/README.Debian   
OK
/usr/share/doc/jikes/copyright   
OK
/usr/share/doc/jikes/changelog.gz
OK
/usr/share/doc/jikes/NEWS.gz 
OK
/usr/share/doc/jikes/changelog.Debian.gz 
OK
/usr/share/man/man1/jikes.1.gz   
OK


Then I downloaded from the mirrors.kernel.org debian mirror jikes.deb,
extracted it and checked the internal md5sums,

[EMAIL PROTECTED]:/tmp/a$ ls -ltr
total 12
drwxr-xr-x 5 adamm adamm 4096 Feb 11 15:58 usr
-rw-r--r-- 1 adamm adamm  773 Feb 11 15:59 control
-rw-r--r-- 1 adamm adamm  504 Feb 11 15:59 md5sums

[EMAIL PROTECTED]:/tmp/a$ cat md5sums
1e922f7a325e2830b2333930fcf136db  usr/include/jikesapi.h
5ecffeed4b7e6dbbdd769d659a78cacf  usr/bin/jikes
1ba2a7615432a66e5351b29e117c0815  usr/share/doc/jikes/README.Debian
8e5b25a65f953a13dbd14a42743fc49a  usr/share/doc/jikes/copyright
b358064567d9e6ee3d083f19e12d8632  usr/share/doc/jikes/changelog.gz
db9f8ca2ce0362696dac063b007a25a4  usr/share/doc/jikes/NEWS.gz
d98e84392af31efd2b587136c0f8260e  usr/share/doc/jikes/changelog.Debian.gz
512e3b0d978e1e8c2201f4a459aca843  usr/share/man/man1/jikes.1.gz

[EMAIL PROTECTED]:/tmp/a$ md5sum -c md5sums
usr/include/jikesapi.h: OK
usr/bin/jikes: OK
usr/share/doc/jikes/README.Debian: OK
usr/share/doc/jikes/copyright: OK
usr/share/doc/jikes/changelog.gz: OK
usr/share/doc/jikes/NEWS.gz: OK
usr/share/doc/jikes/changelog.Debian.gz: OK
usr/share/man/man1/jikes.1.gz: OK



These seem OK. That is, the package is consistent with itself. Check if
your checksums match the ones here. You can check the file one by one.
Which mirror are you using? I'm assuming you are using the crypto
version of apt with up to date archive keys (ie. you get no warnings
about untrusted sources).

- Adam



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#374947: jikes: Cheksum mismatch even after fresh reinstall

2006-06-22 Thread Helge Hafting
Package: jikes
Version: 1:1.22-4
Severity: minor


I run debsums now and then, looking for signs of intrusion or disk
errors.  When a package have errors, I reinstall it with
apt-get --reinstall install package
and retests. Suggested fix: update the wrong checksums.
This package installs with the following
checksum errors:

debsums: checksum mismatch jikes file /usr/share/doc/jikes/copyright
debsums: checksum mismatch jikes file /usr/share/doc/jikes/changelog.gz
debsums: checksum mismatch jikes file
/usr/share/doc/jikes/changelog.Debian.gz

Helge Hafting

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (900, 'testing'), (800, 'unstable'), (800, 'stable'), (700, 
'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-mm1
Locale: LANG=nb_NO.UTF-8, LC_CTYPE=nb_NO.UTF-8 (charmap=UTF-8)

Versions of packages jikes depends on:
ii  libc6 2.3.6-13   GNU C Library: Shared libraries
ii  libgcc1   1:4.1.1-5  GCC support library
ii  libstdc++64.1.1-5The GNU Standard C++ Library v3

Versions of packages jikes recommends:
ii  jikes-classpath   2:0.91-3   wrapper for jikes using classes fr
ii  jikes-gij 1:1.22-4   Wrapper for jikes using GNU GIJ cl
ii  jikes-kaffe   2:1.1.6-3  Wrapper for jikes using Kaffe clas

-- debconf-show failed


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]