tag confirmed
thanks

On Tue, Aug 21, 2012 at 09:30:34AM +0200, Andreas Beckmann wrote:
> [resending, forgot to Cc: the bug]
> 
> On 2012-08-21 08:38, Marcin Owsiany wrote:
> >> # ls -la /usr/share/doc/ekg2
> >> total 0
> >> drwxr-xr-x   2 root root  140 Aug 21 02:42 .
> >> drwxr-xr-x 154 root root 3580 Aug 21 02:42 ..
> >> lrwxrwxrwx   1 root root   26 Nov 14  2011 commands-pl.txt -> 
> >> ../../ekg2/commands-pl.txt
> >> lrwxrwxrwx   1 root root   25 Nov 14  2011 session-en.txt -> 
> >> ../../ekg2/session-en.txt
> >> lrwxrwxrwx   1 root root   25 Nov 14  2011 session-pl.txt -> 
> >> ../../ekg2/session-pl.txt
> >> lrwxrwxrwx   1 root root   22 Nov 14  2011 vars-en.txt -> 
> >> ../../ekg2/vars-en.txt
> >> lrwxrwxrwx   1 root root   22 Nov 14  2011 vars-pl.txt -> 
> >> ../../ekg2/vars-pl.txt
> >> # ls -lad /usr/share/doc/ekg2
> >> drwxr-xr-x 2 root root 140 Aug 21 02:42 /usr/share/doc/ekg2
> > 
> > Interesting. What architecture is this? This looks different on my TV:
> 
> Observed this in a minimal sid chroot on amd64 - its probably important
> to test in a clean minimal chroot that never had anything ekg2 installed.
> 
> # dpkg -S /usr/share/doc/ekg2/*
> ekg2-core: /usr/share/doc/ekg2/commands-pl.txt
> ekg2-core: /usr/share/doc/ekg2/session-en.txt
> ekg2-core: /usr/share/doc/ekg2/session-pl.txt
> ekg2-core: /usr/share/doc/ekg2/vars-en.txt
> ekg2-core: /usr/share/doc/ekg2/vars-pl.txt
> 
> # l -d /usr/share/doc/ekg2*
> drwxr-xr-x 2 root root 140 Aug 21 02:42 /usr/share/doc/ekg2
> drwxr-xr-x 4 root root 340 Aug 21 02:42 /usr/share/doc/ekg2-core
> lrwxrwxrwx 1 root root   9 Nov 14  2011 /usr/share/doc/ekg2-jabber ->
> ekg2-core
> drwxr-xr-x 2 root root 220 Aug 21 02:42 /usr/share/doc/ekg2-ui-ncurses
> 
> # l /usr/share/doc/ekg2-core/
> total 88
> drwxr-xr-x   4 root root   340 Aug 21 02:42 .
> drwxr-xr-x 231 root root  5120 Aug 21 02:53 ..
> -rw-r--r--   1 root root  3967 Mar 19  2011 IDEAS-2.0.gz
> -rw-r--r--   1 root root  3993 Mar 19  2011 README.Debian
> -rw-r--r--   1 root root  7289 Mar 19  2011 README.gz
> -rw-r--r--   1 root root  2493 Mar 19  2011 TODO
> -rw-r--r--   1 root root 14635 Mar 19  2011 TODO.Debian.gz
> -rw-r--r--   1 root root  1396 Mar 19  2011 ULOTKA
> drwxr-xr-x   2 root root   600 Aug 21 02:42 book-en
> drwxr-xr-x   2 root root   760 Aug 21 02:42 book-pl
> -rw-r--r--   1 root root  7130 Nov 14  2011 changelog.Debian.gz
> -rw-r--r--   1 root root 18698 Mar 19  2011 copyright
> -rw-r--r--   1 root root   753 Mar 19  2011 events.txt
> -rw-r--r--   1 root root   854 Mar 19  2011 przenosny-kod.txt
> -rw-r--r--   1 root root  1697 Mar 19  2011 queries.txt
> -rw-r--r--   1 root root  1446 Mar 19  2011 sim.txt
> -rw-r--r--   1 root root   701 Mar 19  2011 voip.txt
> 
> symlinks in /usr/share/doc usually open a can of worms ... dpkg does not
> replace directories with symlinks-to-directories and vice versa, so
> special care needs to be taken on upgrades

Ah, I get it now, ekg2-core ships some of the files in
/usr/share/doc/ekg2, rather than .../ekg2-core,
and ekg2 contains /usr/share/doc/ekg2 that is a symlink.

It's a pity lintian did not complain about this.

-- 
Marcin Owsiany <[email protected]>             http://marcin.owsiany.pl/
GnuPG: 2048R/02F946FC  35E9 1344 9F77 5F43 13DD  6423 DBF4 80C6 02F9 46FC


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

Reply via email to