[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#346171: gcc-4.0-base: Not installing changelog.Debian properly



Hi!

On 1/6/06, Matthias Klose <doko@cs.tu-berlin.de> wrote:
> I'm unable to reproduce that. please could you send the log of your
> upgrade?

I think that I've found the problem:

Install happens in this way:

Preparing to replace cpp-4.0 4.0.2-5 (using cpp-4.0_4.0.2-6_i386.deb) ...
Unpacking replacement cpp-4.0 ...
Preparing to replace g++-4.0 4.0.2-5 (using g++-4.0_4.0.2-6_i386.deb) ...
Unpacking replacement g++-4.0 ...
Preparing to replace gcc-4.0-base 4.0.2-5 (using
gcc-4.0-base_4.0.2-6_i386.deb) ...
Unpacking replacement gcc-4.0-base ...
Preparing to replace gcc-4.0 4.0.2-5 (using gcc-4.0_4.0.2-6_i386.deb) ...
Unpacking replacement gcc-4.0 ...
Preparing to replace libstdc++6-4.0-dev 4.0.2-5 (using
libstdc++6-4.0-dev_4.0.2-6_i386.deb) ...
Unpacking replacement libstdc++6-4.0-dev ...
Preparing to replace libstdc++6 4.0.2-5 (using libstdc++6_4.0.2-6_i386.deb) ...
Unpacking replacement libstdc++6 ...
Setting up gcc-4.0-base (4.0.2-6) ...
Setting up libstdc++6 (4.0.2-6) ...

Setting up cpp-4.0 (4.0.2-6) ...
Setting up gcc-4.0 (4.0.2-6) ...
Setting up libstdc++6-4.0-dev (4.0.2-6) ...
Setting up g++-4.0 (4.0.2-6) ...

Good. Let see what happened.

It first installs gcc-4.0-base. This packages contains the
changelog.Debian.gz and also the copyright file (that is missing too,
when upgrading).

If we have all packages on version 4.0.2-5 and we install *just*
gcc-4.0-base from version 4.0.2-6, the changelog.Debian.gz is there.
So, the problem is not on this package.
The problem is on libstdc++6!

libstdc++6 from version 4.0.2-5 has the files (an other too):

-rw-r--r-- root/root     27904 2005-09-17 12:36:48 ./usr/share/doc/libstdc++6/co
pyright
-rw-r--r-- root/root        53 2005-12-01 22:10:32 ./usr/share/doc/libstdc++6/RE
ADME.Debian
-rw-r--r-- root/root     62788 2005-12-01 17:08:04 ./usr/share/doc/libstdc++6/ch
angelog.Debian.gz

BUT:
# ls -l /usr/share/doc/libstdc++6
lrwxrwxrwx 1 root root 12 Jan  7 02:11 /usr/share/doc/libstdc++6 -> gcc-4.0-base

So, actually, it installed the files on /usr/share/doc/gcc-4.0-base,
and not on /usr/share/doc/libstdc++6

I am doing all this on my machine, using packages from version 4.0.2-5

Going back to our analysis of what happens on the install:

gcc-4.0-base installs all the files correctly.
When libstdc++6 is going to be installed, it first removes the old
files (including changelog.Debian.gz and copyright), and after that,
installs the new ones, right?

So, it removes changelog.Debian.gz and copyright that was installed
from gcc-4.0-base.

Since libstdc++6 from version 4.0.2-6 doesn't include those files
anymore, we end with a system without changelog.Debian.gz and
copyright.

Am I right? (Or not?)

I hope I could help and that I was clear.

Best regards,
Nelson



Reply to: