no copyright or changelog.Debian.gz in /usr/share/doc/vim-common/

Bug #6929 reported by Debian Bug Importer
4
Affects Status Importance Assigned to Milestone
vim (Debian)
Fix Released
Unknown
vim (Ubuntu)
Invalid
Medium
Fabio Massimo Di Nitto

Bug Description

Automatically imported from Debian bug report #257449 http://bugs.debian.org/257449

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Automatically imported from Debian bug report #257449 http://bugs.debian.org/257449

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <email address hidden>
Date: Sat, 03 Jul 2004 17:05:22 +0200
From: Ludovic Rousseau <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: no copyright or changelog.Debian.gz in /usr/share/doc/vim-common/

Package: vim-common
Version: 1:6.3-010+1
Severity: serious
Justification: Policy 12.5 and 12.7 (at least)

I was also a victim of bug #257359 (vim-common 1:6.3-010+1 breaks vim
1:6.2-532+4) and discovered that /usr/share/doc/vim-common/ is _empty_.

Debian policy:

  12.7 Changelog files

  Packages that are not Debian-native must contain a compressed copy of
  the debian/changelog file from the Debian source tree in
  /usr/share/doc/package with the name changelog.Debian.gz.

  12.5 Copyright information

  Every package must be accompanied by a verbatim copy of its copyright
  and distribution license in the file /usr/share/doc/package/copyright.
  This file must neither be compressed nor be a symbolic link.

You should duplicate the files from /usr/share/doc/vim/.

I don't think a symlink (from /usr/share/doc/vim to
/usr/share/doc/vim-common) is a good since vim and vim-common may come
from different Debian package versions (as is the case in the bug
#257359
). Unless you change vim-common dependency to an _exact_ vim
version (so that both packages have the same version number and can
share the same changelog file).

Bye,

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.7
Locale: LANG=fr_FR, LC_CTYPE=fr_FR

Versions of packages vim-common depends on:
ii vim 1:6.3-010+1 Vi IMproved - enhanced vi editor

-- no debconf information

Revision history for this message
In , Norbert Tretkowski (tretkowski) wrote : Re: Bug#257449: no copyright or changelog.Debian.gz in /usr/share/doc/vim-common/

* Ludovic Rousseau wrote:
> I was also a victim of bug #257359 (vim-common 1:6.3-010+1 breaks
> vim 1:6.2-532+4) and discovered that /usr/share/doc/vim-common/ is
> _empty_.

It's not empty... /usr/share/doc/vim-common/ is a symbolic link to
/usr/share/doc/vim/

Norbert

Revision history for this message
In , Dato Simó (dato) wrote :

* Norbert Tretkowski [Sun, 04 Jul 2004 00:53:53 +0200]:
> * Ludovic Rousseau wrote:
> > I was also a victim of bug #257359 (vim-common 1:6.3-010+1 breaks
> > vim 1:6.2-532+4) and discovered that /usr/share/doc/vim-common/ is
> > _empty_.

> It's not empty... /usr/share/doc/vim-common/ is a symbolic link to
> /usr/share/doc/vim/

  uhm, dpkg -c says so, but it is not in my system:

    $ file /usr/share/doc/vim-common
    /usr/share/doc/vim-common: directory

    $ dpkg -s vim-common | grep --dwim
    Package: vim-common
    Status: install ok installed
    Version: 1:6.3-010+1

--
Adeodato Simó
    EM: asp16 [ykwim] alu.ua.es | PK: DA6AE621

The first step on the road to wisdom is the admission of ignorance. The
second step is realizing that you don't have to blab it to the world.

Revision history for this message
In , Dato Simó (dato) wrote :

* Adeodato Simó [Sun, 04 Jul 2004 01:23:31 +0200]:
> * Norbert Tretkowski [Sun, 04 Jul 2004 00:53:53 +0200]:
> > * Ludovic Rousseau wrote:
> > > I was also a victim of bug #257359 (vim-common 1:6.3-010+1 breaks
> > > vim 1:6.2-532+4) and discovered that /usr/share/doc/vim-common/ is
> > > _empty_.

> > It's not empty... /usr/share/doc/vim-common/ is a symbolic link to
> > /usr/share/doc/vim/

> uhm, dpkg -c says so, but it is not in my system:

> $ file /usr/share/doc/vim-common
> /usr/share/doc/vim-common: directory

  of course, "rmdir doc/vim-common && dpkg -i vim-common" gets it right.

--
Adeodato Simó
    EM: asp16 [ykwim] alu.ua.es | PK: DA6AE621

Marriage is the sole cause of divorce.

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Sun, 4 Jul 2004 00:53:53 +0200
From: Norbert Tretkowski <email address hidden>
To: Ludovic Rousseau <email address hidden>, <email address hidden>
Subject: Re: Bug#257449: no copyright or changelog.Debian.gz in /usr/share/doc/vim-common/

* Ludovic Rousseau wrote:
> I was also a victim of bug #257359 (vim-common 1:6.3-010+1 breaks
> vim 1:6.2-532+4) and discovered that /usr/share/doc/vim-common/ is
> _empty_.

It's not empty... /usr/share/doc/vim-common/ is a symbolic link to
/usr/share/doc/vim/

Norbert

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Sun, 4 Jul 2004 01:23:31 +0200
From: Adeodato =?iso-8859-1?Q?Sim=F3?= <email address hidden>
To: Norbert Tretkowski <email address hidden>, <email address hidden>
Subject: Re: Bug#257449: no copyright or changelog.Debian.gz in /usr/share/doc/vim-common/

* Norbert Tretkowski [Sun, 04 Jul 2004 00:53:53 +0200]:
> * Ludovic Rousseau wrote:
> > I was also a victim of bug #257359 (vim-common 1:6.3-010+1 breaks
> > vim 1:6.2-532+4) and discovered that /usr/share/doc/vim-common/ is
> > _empty_.

> It's not empty... /usr/share/doc/vim-common/ is a symbolic link to
> /usr/share/doc/vim/

  uhm, dpkg -c says so, but it is not in my system:

    $ file /usr/share/doc/vim-common
    /usr/share/doc/vim-common: directory

    $ dpkg -s vim-common | grep --dwim
    Package: vim-common
    Status: install ok installed
    Version: 1:6.3-010+1

--
Adeodato Sim� EM: asp16 [ykwim] alu.ua.es | PK: DA6AE621

The first step on the road to wisdom is the admission of ignorance. The
second step is realizing that you don't have to blab it to the world.

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Sun, 4 Jul 2004 01:26:41 +0200
From: Adeodato =?iso-8859-1?Q?Sim=F3?= <email address hidden>
To: Norbert Tretkowski <email address hidden>, <email address hidden>
Subject: Re: Bug#257449: no copyright or changelog.Debian.gz in /usr/share/doc/vim-common/

* Adeodato Sim�un, 04 Jul 2004 01:23:31 +0200]:
> * Norbert Tretkowski [Sun, 04 Jul 2004 00:53:53 +0200]:
> > * Ludovic Rousseau wrote:
> > > I was also a victim of bug #257359 (vim-common 1:6.3-010+1 breaks
> > > vim 1:6.2-532+4) and discovered that /usr/share/doc/vim-common/ is
> > > _empty_.

> > It's not empty... /usr/share/doc/vim-common/ is a symbolic link to
> > /usr/share/doc/vim/

> uhm, dpkg -c says so, but it is not in my system:

> $ file /usr/share/doc/vim-common
> /usr/share/doc/vim-common: directory

  of course, "rmdir doc/vim-common && dpkg -i vim-common" gets it right.

--
Adeodato Sim� EM: asp16 [ykwim] alu.ua.es | PK: DA6AE621

Marriage is the sole cause of divorce.

Revision history for this message
In , Ludovic Rousseau (ludovic-rousseau-gmail) wrote :

Le Sunday 04 July 2004 à 00:53:53, Norbert Tretkowski a écrit:
> * Ludovic Rousseau wrote:
> > I was also a victim of bug #257359 (vim-common 1:6.3-010+1 breaks
> > vim 1:6.2-532+4) and discovered that /usr/share/doc/vim-common/ is
> > _empty_.
>
> It's not empty... /usr/share/doc/vim-common/ is a symbolic link to
> /usr/share/doc/vim/

On my system it is a real directory and it is empty.
$ ls -dl /usr/share/doc/vim-common/
drwxr-xr-x 2 root root 4096 2004-05-19 18:40 /usr/share/doc/vim-common/
$ ls -al /usr/share/doc/vim-common/
total 36
drwxr-xr-x 2 root root 4096 2004-05-19 18:40 .
drwxr-xr-x 1155 root root 32768 2004-07-03 16:26 ..

I checked in the .deb package and I have the symlink
./usr/share/doc/vim-common -> vim

But even after reinstallation of vim-common_1%3a6.3-010+1_all.deb I
still have the empty directory and not the symlink.

Maybe it is a bug/feature of dpkg that prevent replacing a directory by
a symlink.

But as I already said you should not use a symlink if vim and vim-common
do not have the _exact_ same version numbers.

Regards,

--
 Dr. Ludovic Rousseau <email address hidden>
 -- Normaliser Unix c'est comme pasteuriser le camembert, L.R. --

Revision history for this message
In , Norbert Tretkowski (tretkowski) wrote :

* Ludovic Rousseau wrote:
> Maybe it is a bug/feature of dpkg that prevent replacing a directory
> by a symlink.

Seems so. I'll try to workaround this.

Norbert

Revision history for this message
In , Norbert Tretkowski (tretkowski) wrote : Bug#257449: fixed in vim 1:6.3-011+1
Download full text (5.5 KiB)

Source: vim
Source-Version: 1:6.3-011+1

We believe that the bug you reported is fixed in the latest version of
vim, which is due to be installed in the Debian FTP archive:

kvim-perl_6.3-011+1_sparc.deb
  to pool/main/v/vim/kvim-perl_6.3-011+1_sparc.deb
kvim-python_6.3-011+1_sparc.deb
  to pool/main/v/vim/kvim-python_6.3-011+1_sparc.deb
kvim-ruby_6.3-011+1_sparc.deb
  to pool/main/v/vim/kvim-ruby_6.3-011+1_sparc.deb
kvim-tcl_6.3-011+1_sparc.deb
  to pool/main/v/vim/kvim-tcl_6.3-011+1_sparc.deb
kvim_6.3-011+1_sparc.deb
  to pool/main/v/vim/kvim_6.3-011+1_sparc.deb
vim-common_6.3-011+1_all.deb
  to pool/main/v/vim/vim-common_6.3-011+1_all.deb
vim-doc_6.3-011+1_all.deb
  to pool/main/v/vim/vim-doc_6.3-011+1_all.deb
vim-gnome_6.3-011+1_sparc.deb
  to pool/main/v/vim/vim-gnome_6.3-011+1_sparc.deb
vim-gtk_6.3-011+1_sparc.deb
  to pool/main/v/vim/vim-gtk_6.3-011+1_sparc.deb
vim-lesstif_6.3-011+1_sparc.deb
  to pool/main/v/vim/vim-lesstif_6.3-011+1_sparc.deb
vim-perl_6.3-011+1_sparc.deb
  to pool/main/v/vim/vim-perl_6.3-011+1_sparc.deb
vim-python_6.3-011+1_sparc.deb
  to pool/main/v/vim/vim-python_6.3-011+1_sparc.deb
vim-ruby_6.3-011+1_sparc.deb
  to pool/main/v/vim/vim-ruby_6.3-011+1_sparc.deb
vim-tcl_6.3-011+1_sparc.deb
  to pool/main/v/vim/vim-tcl_6.3-011+1_sparc.deb
vim_6.3-011+1.diff.gz
  to pool/main/v/vim/vim_6.3-011+1.diff.gz
vim_6.3-011+1.dsc
  to pool/main/v/vim/vim_6.3-011+1.dsc
vim_6.3-011+1_sparc.deb
  to pool/main/v/vim/vim_6.3-011+1_sparc.deb

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to <email address hidden>,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Norbert Tretkowski <email address hidden> (supplier of updated vim package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing <email address hidden>)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sun, 04 Jul 2004 11:21:36 +0200
Source: vim
Binary: vim-lesstif vim-common vim-doc vim-gnome kvim-ruby vim vim-gtk kvim-perl vim-perl kvim-tcl vim-tiny vim-ruby vim-python vim-tcl kvim-python kvim
Architecture: source sparc all
Version: 1:6.3-011+1
Distribution: unstable
Urgency: low
Maintainer: Norbert Tretkowski <email address hidden>
Changed-By: Norbert Tretkowski <email address hidden>
Description:
 kvim - Vi IMproved - KDE 3.x version
 kvim-perl - Vi IMproved - KDE 3.x version with Perl scripting support
 kvim-python - Vi IMproved - KDE 3.x version with Python scripting support
 kvim-ruby - Vi IMproved - KDE 3.x version with Ruby scripting support
 kvim-tcl - Vi IMproved - KDE 3.x version with TCL scripting support
 vim - Vi IMproved - enhanced vi editor
 vim-common - Vi IMproved - Common files
 vim-doc - Vi IMproved - Documentation files
 vim-gnome - Vi IMproved - GNOME2 Version
 vim-gtk - Vi IMproved - GTK2 Version
 vim-lesstif - Vi IMproved - LessTif Version
 vim-perl - Vi IMproved, with perl scripting support
 vim-python - Vi IMpro...

Read more...

Revision history for this message
Fabio Massimo Di Nitto (fabbione) wrote :

The bug has been introduced with new vim upstream. It doesn't affect warty

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Sun, 4 Jul 2004 10:54:00 +0200
From: Ludovic Rousseau <email address hidden>
To: Norbert Tretkowski <email address hidden>
Cc: <email address hidden>
Subject: Re: Bug#257449: no copyright or changelog.Debian.gz in /usr/share/doc/vim-common/

Le Sunday 04 July 2004 �0:53:53, Norbert Tretkowski a �it:
> * Ludovic Rousseau wrote:
> > I was also a victim of bug #257359 (vim-common 1:6.3-010+1 breaks
> > vim 1:6.2-532+4) and discovered that /usr/share/doc/vim-common/ is
> > _empty_.
>
> It's not empty... /usr/share/doc/vim-common/ is a symbolic link to
> /usr/share/doc/vim/

On my system it is a real directory and it is empty.
$ ls -dl /usr/share/doc/vim-common/
drwxr-xr-x 2 root root 4096 2004-05-19 18:40 /usr/share/doc/vim-common/
$ ls -al /usr/share/doc/vim-common/
total 36
drwxr-xr-x 2 root root 4096 2004-05-19 18:40 .
drwxr-xr-x 1155 root root 32768 2004-07-03 16:26 ..

I checked in the .deb package and I have the symlink
./usr/share/doc/vim-common -> vim

But even after reinstallation of vim-common_1%3a6.3-010+1_all.deb I
still have the empty directory and not the symlink.

Maybe it is a bug/feature of dpkg that prevent replacing a directory by
a symlink.

But as I already said you should not use a symlink if vim and vim-common
do not have the _exact_ same version numbers.

Regards,

--
 Dr. Ludovic Rousseau <email address hidden>
 -- Normaliser Unix c'est comme pasteuriser le camembert, L.R. --

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Sun, 4 Jul 2004 11:19:10 +0200
From: Norbert Tretkowski <email address hidden>
To: Ludovic Rousseau <email address hidden>,
 <email address hidden>
Subject: Re: Bug#257449: no copyright or changelog.Debian.gz in /usr/share/doc/vim-common/

* Ludovic Rousseau wrote:
> Maybe it is a bug/feature of dpkg that prevent replacing a directory
> by a symlink.

Seems so. I'll try to workaround this.

Norbert

Revision history for this message
Debian Bug Importer (debzilla) wrote :
Download full text (5.7 KiB)

Message-Id: <email address hidden>
Date: Sun, 04 Jul 2004 12:32:18 -0400
From: Norbert Tretkowski <email address hidden>
To: <email address hidden>
Subject: Bug#257449: fixed in vim 1:6.3-011+1

Source: vim
Source-Version: 1:6.3-011+1

We believe that the bug you reported is fixed in the latest version of
vim, which is due to be installed in the Debian FTP archive:

kvim-perl_6.3-011+1_sparc.deb
  to pool/main/v/vim/kvim-perl_6.3-011+1_sparc.deb
kvim-python_6.3-011+1_sparc.deb
  to pool/main/v/vim/kvim-python_6.3-011+1_sparc.deb
kvim-ruby_6.3-011+1_sparc.deb
  to pool/main/v/vim/kvim-ruby_6.3-011+1_sparc.deb
kvim-tcl_6.3-011+1_sparc.deb
  to pool/main/v/vim/kvim-tcl_6.3-011+1_sparc.deb
kvim_6.3-011+1_sparc.deb
  to pool/main/v/vim/kvim_6.3-011+1_sparc.deb
vim-common_6.3-011+1_all.deb
  to pool/main/v/vim/vim-common_6.3-011+1_all.deb
vim-doc_6.3-011+1_all.deb
  to pool/main/v/vim/vim-doc_6.3-011+1_all.deb
vim-gnome_6.3-011+1_sparc.deb
  to pool/main/v/vim/vim-gnome_6.3-011+1_sparc.deb
vim-gtk_6.3-011+1_sparc.deb
  to pool/main/v/vim/vim-gtk_6.3-011+1_sparc.deb
vim-lesstif_6.3-011+1_sparc.deb
  to pool/main/v/vim/vim-lesstif_6.3-011+1_sparc.deb
vim-perl_6.3-011+1_sparc.deb
  to pool/main/v/vim/vim-perl_6.3-011+1_sparc.deb
vim-python_6.3-011+1_sparc.deb
  to pool/main/v/vim/vim-python_6.3-011+1_sparc.deb
vim-ruby_6.3-011+1_sparc.deb
  to pool/main/v/vim/vim-ruby_6.3-011+1_sparc.deb
vim-tcl_6.3-011+1_sparc.deb
  to pool/main/v/vim/vim-tcl_6.3-011+1_sparc.deb
vim_6.3-011+1.diff.gz
  to pool/main/v/vim/vim_6.3-011+1.diff.gz
vim_6.3-011+1.dsc
  to pool/main/v/vim/vim_6.3-011+1.dsc
vim_6.3-011+1_sparc.deb
  to pool/main/v/vim/vim_6.3-011+1_sparc.deb

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to <email address hidden>,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Norbert Tretkowski <email address hidden> (supplier of updated vim package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing <email address hidden>)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sun, 04 Jul 2004 11:21:36 +0200
Source: vim
Binary: vim-lesstif vim-common vim-doc vim-gnome kvim-ruby vim vim-gtk kvim-perl vim-perl kvim-tcl vim-tiny vim-ruby vim-python vim-tcl kvim-python kvim
Architecture: source sparc all
Version: 1:6.3-011+1
Distribution: unstable
Urgency: low
Maintainer: Norbert Tretkowski <email address hidden>
Changed-By: Norbert Tretkowski <email address hidden>
Description:
 kvim - Vi IMproved - KDE 3.x version
 kvim-perl - Vi IMproved - KDE 3.x version with Perl scripting support
 kvim-python - Vi IMproved - KDE 3.x version with Python scripting support
 kvim-ruby - Vi IMproved - KDE 3.x version with Ruby scripting support
 kvim-tcl - Vi IMproved - KDE 3.x version with TCL scripting support
 vim - Vi IMproved - enhanced vi editor
 vim-common - Vi IMproved - Common files
 vim-doc - Vi IMproved - Documentation...

Read more...

Changed in vim:
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.