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

Bug#107264: marked as done (tetex-src: duplicates files from tetex-extra)



Your message dated Thu, 6 Dec 2007 19:39:10 +0100
with message-id <20071206183910.GA4428@PC23>
and subject line tetex-src: duplicates files from tetex-extra
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: tetex-src
Version: 1.0.1+20000804-2
Severity: minor

Example:
        tetex-extra: /usr/share/texmf/bibtex/bst/natbib/plainnat.bst
        tetex-src: /usr/share/texmf/source/latex/natbib/plainnat.bst
these are the same. Other bsts in the same directories are duplicated
as well. I went and did more checks, and there is some intra-package
duplication as well:
        /usr/share/texmf/source/latex/misc/curves.tex
        /usr/share/texmf/source/latex/curves/curves.tex
are exactly the same, but not soft- or hard-linked. There are numerous
other examples. I listed them with the one-liner:

perl -e 'for $p (@ARGV) { open L, "dpkg -L $p|" or die "dpkg -L $p: $!"; while (<L>) { chomp; -f $_ && -s _ or next; chomp($s = `md5sum <$_`); $n = join(":",(stat _)[0,1]); $b = -s _; if (exists $f{$s} && $f{$s}{n} ne $n) { print "$f{$s}{path} ($f{$s}{pkg}) vs $_ ($p) [$b]\n"; $sum += $b } else { $f{$s} = {pkg => $p, path => $_, n => $n} }}} print "$sum bytes could be saved\n"' tetex-extra tetex-src

This gives more than 500 dupes with a total save potential in excess
of 4 MB!

It would be very nice if this duplication could be removed. One
possibility would be to symlink one location to the other, if a dupe
cannot be altogether removed.

For the inter-package cases, to ensure that the real version exists,
you'd have to use depends, or put the real file in both packages, and
use replaces.


-- System Information
Debian Release: testing/unstable
Kernel Version: Linux hoss 2.4.4-fcaps-hoss #1 Fri May 25 19:29:24 CEST 2001 i686 unknown



--- End Message ---
--- Begin Message ---
On 31.07.01 Robert Bihlmeyer (robbe@orcus.priv.at) wrote:

Hi Robert,

> Package: tetex-src
> Version: 1.0.1+20000804-2
> Severity: minor
> 
> It would be very nice if this duplication could be removed. One
> possibility would be to symlink one location to the other, if a
> dupe cannot be altogether removed.
> 
tetex-src has been removed from the archive (#454041). I guess we can
close the bug at this point.

Hilmar
-- 
sigmentation fault


--- End Message ---

Reply to: