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

Bug#657902: marked as done (apt: Please make use of pdiffs for Translation files, once available)



Your message dated Sat, 03 Mar 2012 13:44:42 +0100
with message-id <87eht997lx.fsf@lennier.ganneff.de>
and subject line close
has caused the Debian Bug report #657902,
regarding apt: Please make use of pdiffs for Translation files, once available
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
657902: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=657902
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: aptitude
Version: 0.6.4-1.2
Severity: normal

Dear Maintainer,
I read a few days back and was glad to know about your Description
less Packages file [1] and wanted to know if there is a way or are
going to be ways so that we could have pdiffs for the translations
when we are updating the aptitude index as we have do for others.

If I understand the idea correctly what it would do is that those
users who do not want/or need english descriptions of packages would
not get any hence saving bandwidth and hdd as well. The problem is
that this change comes along with a slight bandwidth spike of its own.

As of right now everytime I run

$sudo aptitude update

I get something along these lines :-

Hit http://ftp.au.debian.org stable Release
Get: 36 http://ftp.au.debian.org testing/main 2012-01-23-0213.39.pdiff [35.1 kB]
Get: 37 http://ftp.au.debian.org testing/main 2012-01-23-0213.39.pdiff [35.1 kB]
Get: 38 http://ftp.au.debian.org testing/non-free
2012-01-23-0213.39.pdiff [716 B]
Get: 39 http://ftp.au.debian.org testing/main amd64
2012-01-23-0213.39.pdiff [42.3 kB]
Get: 40 http://ftp.au.debian.org testing/non-free
2012-01-23-0213.39.pdiff [716 B]
Get: 41 http://ftp.au.debian.org testing/non-free amd64
2012-01-23-0213.39.pdiff [457 B]
Get: 42 http://ftp.au.debian.org testing/main amd64
2012-01-23-0213.39.pdiff [42.3 kB]
Get: 43 http://ftp.au.debian.org testing/contrib Translation-en [34.8 kB]
Get: 44 http://ftp.au.debian.org testing/non-free amd64
2012-01-23-0213.39.pdiff [457 B]
Get: 45 http://ftp.au.debian.org testing/main Translation-en [3,698 kB]
Get: 46 http://ftp.au.debian.org testing/non-free Translation-en [62.0 kB]

Please see lines 44 and line 45 specifically

Get: 44 http://ftp.au.debian.org testing/non-free amd64
2012-01-23-0213.39.pdiff [457 B]
Get: 45 http://ftp.au.debian.org testing/main Translation-en [3,698 kB]

Now as can be seen the pdiff is fine just in some bytes but for
Translation each time it downloads the full file. This is same for
unstable, testing as well as for experimental with experimental being
the smallest update each time but is still significant.

Before this change index updation use to be between 500 to 800 KB of
change, now its around 9-11 MB per index update :-

Fetched 8,711 kB in 7min 54s (18.4 kB/s)

Current status: 14 updates [+14], 11 new [+11].

I do not know whom to approach this, whether you have to do something
or the aptitude people or somebody else somewhere else. Please let me
know if I need to take it up with somebody else.

Looking forward to hearing from  you.

[1] http://lists.debian.org/debian-devel/2011/11/msg00103.html

-- Package-specific info:
aptitude 0.6.4 compiled at Oct 29 2011 20:08:13
Compiler: g++ 4.6.2
Compiled against:
  apt version 4.10.1
  NCurses version 5.9
  libsigc++ version: 2.2.9
  Ept support enabled.
  Gtk+ support disabled.
  Qt support disabled.

Current library versions:
  NCurses version: ncurses 5.9.20110404
  cwidget version: 0.5.16
  Apt version: 4.10.1
	linux-vdso.so.1 =>  (0x00007fff08dff000)
	libapt-pkg.so.4.10 => /usr/lib/libapt-pkg.so.4.10 (0x00007f7b66a18000)
	libncursesw.so.5 => /lib/x86_64-linux-gnu/libncursesw.so.5 (0x00007f7b667e9000)
	libtinfo.so.5 => /lib/x86_64-linux-gnu/libtinfo.so.5 (0x00007f7b665c0000)
	libsigc-2.0.so.0 => /usr/lib/libsigc-2.0.so.0 (0x00007f7b663bb000)
	libcwidget.so.3 => /usr/lib/libcwidget.so.3 (0x00007f7b660b3000)
	libept.so.1 => /usr/lib/libept.so.1 (0x00007f7b65e56000)
	libxapian.so.22 => /usr/lib/libxapian.so.22 (0x00007f7b65a59000)
	libz.so.1 => /usr/lib/libz.so.1 (0x00007f7b65842000)
	libsqlite3.so.0 => /usr/lib/libsqlite3.so.0 (0x00007f7b6559d000)
	libboost_iostreams.so.1.46.1 => /usr/lib/libboost_iostreams.so.1.46.1
(0x00007f7b65384000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f7b65168000)
	libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f7b64e63000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f7b64be1000)
	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f7b649cb000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f7b64646000)
	libutil.so.1 => /lib/x86_64-linux-gnu/libutil.so.1 (0x00007f7b64443000)
	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f7b6423f000)
	libuuid.so.1 => /lib/libuuid.so.1 (0x00007f7b6403a000)
	libbz2.so.1.0 => /lib/x86_64-linux-gnu/libbz2.so.1.0 (0x00007f7b63e2a000)
	librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f7b63c21000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f7b66d5e000)
Terminal: xterm
$DISPLAY is set.
`which aptitude`: /usr/bin/aptitude
aptitude version information:

aptitude linkage:

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'),
(1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages aptitude depends on:
ii  apt [libapt-pkg4.10]      0.8.15.9
ii  libboost-iostreams1.46.1  1.46.1-8
ii  libc6                     2.13-24
ii  libcwidget3               0.5.16-3.1
ii  libept1                   1.0.5
ii  libgcc1                   1:4.6.2-12
ii  libncursesw5              5.9-4
ii  libsigc++-2.0-0c2a        2.2.9-1.1
ii  libsqlite3-0              3.7.9-3
ii  libstdc++6                4.6.2-12
ii  libtinfo5                 5.9-4
ii  libxapian22               1.2.8-1
ii  zlib1g                    1:1.2.3.4.dfsg-3

Versions of packages aptitude recommends:
ii  apt-xapian-index                0.45
ii  aptitude-doc-en [aptitude-doc]  0.6.4-1.2
ii  libparse-debianchangelog-perl   1.2.0-1
ii  sensible-utils                  0.0.6

Versions of packages aptitude suggests:
ii  debtags  1.8.0
ii  tasksel  3.07

-- no debconf information

-- 
          Regards,
          Shirish Agarwal  शिरीष अग्रवाल
  My quotes in this email licensed under CC 3.0
http://creativecommons.org/licenses/by-nc/3.0/
http://flossexperiences.wordpress.com
065C 6D79 A68C E7EA 52B3  8D70 950D 53FB 729A 8B17



--- End Message ---
--- Begin Message ---
commit 603631668f779ca24d08b554f7053d46ba562348
Author: Joerg Jaspert <joerg@debian.org>
Date:   Sat Mar 3 13:42:55 2012 +0100

    pdiff files for translations
    
    i believe this should generate pdiff files for translation files now,
    which then ends up as (closes: #657902)
    
    alternatively this will just break our archive, lets see in next dinstall...
    
    Signed-off-by: Joerg Jaspert <joerg@debian.org>

-- 
bye, Joerg
Some NM:
> FTBFS=Fails to Build from Start
Err, yes? How do you start in the middle?

Attachment: pgpxiqYG7WcaG.pgp
Description: PGP signature


--- End Message ---

Reply to: