Package: apt Version: 0.9.7.9 Dear APT Development Team,
The scenario: # cat /etc/debian_version 7.1 # LC_ALL=C apt-get -v apt 0.9.7.9 for amd64 compiled on Jun 4 2013 09:30:58 Supported modules: *Ver: Standard .deb *Pkg: Debian dpkg interface (Priority 30) Pkg: Debian APT solver interface (Priority -1000) S.L: 'deb' Standard Debian binary tree S.L: 'deb-src' Standard Debian source tree Idx: Debian Source Index Idx: Debian Package Index Idx: Debian Translation Index Idx: Debian dpkg status file Idx: EDSP scenario file I use iso dvd images mounted in loop to keep updated Wheezy, my sources.list: # egrep -v "^#" /etc/apt/sources.list deb file:/media/sdb1/wheezy/dvd-1/ wheezy main contrib deb file:/media/sdb1/wheezy/dvd-2/ wheezy main contrib deb file:/media/sdb1/wheezy/dvd-3/ wheezy main contrib deb file:/media/sdb1/wheezy/dvd-4/ wheezy main contrib deb file:/media/sdb1/wheezy/dvd-5/ wheezy main contrib deb file:/media/sdb1/wheezy/dvd-6/ wheezy main contrib deb file:/media/sdb1/wheezy/dvd-7/ wheezy main contrib deb file:/media/sdb1/wheezy/dvd-8/ wheezy main contrib deb file:/media/sdb1/wheezy/dvd-9/ wheezy main contrib deb file:/media/sdb1/wheezy/dvd-10/ wheezy main contrib deb http://security.debian.org/ wheezy/updates main contrib They are directories mount points to each iso image, relevant part of my /etc/fstab: ... # Wheezy dvd iso. /media/sdb1/wheezy/amd64-1.iso /media/sdb1/wheezy/dvd-1 iso9660 ro,noauto,loop 0 0 /media/sdb1/wheezy/amd64-2.iso /media/sdb1/wheezy/dvd-2 iso9660 ro,noauto,loop 0 0 /media/sdb1/wheezy/amd64-3.iso /media/sdb1/wheezy/dvd-3 iso9660 ro,noauto,loop 0 0 /media/sdb1/wheezy/amd64-4.iso /media/sdb1/wheezy/dvd-4 iso9660 ro,noauto,loop 0 0 /media/sdb1/wheezy/amd64-5.iso /media/sdb1/wheezy/dvd-5 iso9660 ro,noauto,loop 0 0 /media/sdb1/wheezy/amd64-6.iso /media/sdb1/wheezy/dvd-6 iso9660 ro,noauto,loop 0 0 /media/sdb1/wheezy/amd64-7.iso /media/sdb1/wheezy/dvd-7 iso9660 ro,noauto,loop 0 0 /media/sdb1/wheezy/amd64-8.iso /media/sdb1/wheezy/dvd-8 iso9660 ro,noauto,loop 0 0 /media/sdb1/wheezy/amd64-9.iso /media/sdb1/wheezy/dvd-9 iso9660 ro,noauto,loop 0 0 /media/sdb1/wheezy/amd64-10.iso /media/sdb1/wheezy/dvd-10 iso9660 ro,noauto,loop 0 0 Each amd64*.iso are sym links to the actual dvd iso images: ~# ls -l /media/sdb1/wheezy/amd64-1.iso lrwxrwxrwx 1 foo bar 28 giu 20 16:26 /media/sdb1/wheezy/amd64-1.iso -> debian-7.1.0-amd64-DVD-1.iso I added 20language file to /etc/apt/apt.conf.d/ directory in order to have english translation when descriptions are shown: # cat /etc/apt/apt.conf.d/20language Acquire::Languages "en"; ~# LC_ALL=C apt-get update Ign file: wheezy Release.gpg Ign file: wheezy Release.gpg Ign file: wheezy Release.gpg Ign file: wheezy Release.gpg Ign file: wheezy Release.gpg Ign file: wheezy Release.gpg Ign file: wheezy Release.gpg Ign file: wheezy Release.gpg Ign file: wheezy Release.gpg Ign file: wheezy Release.gpg Get:1 file: wheezy Release [18.6 kB] Get:2 file: wheezy Release [17.3 kB] Get:3 file: wheezy Release [13.8 kB] Get:4 file: wheezy Release [17.7 kB] Get:5 file: wheezy Release [17.7 kB] Get:6 file: wheezy Release [16.0 kB] Get:7 file: wheezy Release [15.5 kB] Get:8 file: wheezy Release [17.7 kB] Get:9 file: wheezy Release [16.0 kB] Get:10 file: wheezy Release [12.1 kB] Get:11 http://security.debian.org wheezy/updates Release.gpg [836 B] Get:12 http://security.debian.org wheezy/updates Release [102 kB] Get:13 http://security.debian.org wheezy/updates/main amd64 Packages [85.1 kB] Get:14 http://security.debian.org wheezy/updates/contrib amd64 Packages [14 B] Get:15 http://security.debian.org wheezy/updates/contrib Translation-en [14 B] Get:16 http://security.debian.org wheezy/updates/main Translation-en [49.3 kB] Fetched 238 kB in 13s (18.0 kB/s) Reading package lists... Done When I show details of a package with apt-cache command I got a short description of the searched package. It seems that english translation files aren't merged into /var/lib/apt/lists/ directory: ~# apt-cache show less Package: less Version: 444-4 Installed-Size: 286 Maintainer: Anibal Monsalve Salazar <ani...@debian.org> Architecture: amd64 Depends: libc6 (>= 2.11), libtinfo5, debianutils (>= 1.8) Description: pager program similar to more Homepage: http://www.greenwoodsoftware.com/less/ Description-md5: a2c2d2eff1fb9762b71faf7540cf8dce Tag: implemented-in::c, interface::text-mode, role::program, scope::utility, uitoolkit::ncurses, use::viewing, works-with::text Section: text Priority: standard Filename: pool/main/l/less/less_444-4_amd64.deb Size: 134872 ... So I try to copy Translation-en file from the first loop mounted dvd iso image (dvd-1) to /var/lib/apt/lists directory (renamed opportunely) and translations are shown: # cd /var/lib/apt/lists /var/lib/apt/lists# cp /media/sdb1/wheezy/dvd-1/dists/wheezy/main/i18n/Translation-en.gz _media_sdb1_wheezy_dvd-1_dists_wheezy_main_i18n_Translation-en.gz /var/lib/apt/lists# apt-cache show less Package: less Version: 444-4 Installed-Size: 286 Maintainer: Anibal Monsalve Salazar <ani...@debian.org> Architecture: amd64 Depends: libc6 (>= 2.11), libtinfo5, debianutils (>= 1.8) Description-en: pager program similar to more This package provides "less", a file pager (that is, a memory-efficient utility for displaying text one screenful at a time). Less has many more features than the basic pager "more". As part of the GNU project, it is widely regarded as the standard pager on UNIX-derived systems. . Also provided are "lessecho", a simple utility for ensuring arguments with spaces are correctly quoted; "lesskey", a tool for modifying the standard (vi-like) keybindings; and "lesspipe", a filter for specific types of input, such as .doc or .txt.gz files. Homepage: http://www.greenwoodsoftware.com/less/ Description-md5: a2c2d2eff1fb9762b71faf7540cf8dce Tag: implemented-in::c, interface::text-mode, role::program, scope::utility, uitoolkit::ncurses, use::viewing, works-with::text Section: text Priority: standard Filename: pool/main/l/less/less_444-4_amd64.deb Size: 134872 ... Briefly, archives gets with "file" URI in sources.list they are missing of Translation-en.gz files in "/var/lib/apt/list" directory, while archives gets with "http" URI they have Translation-en and description-en are shown regularly. Therefore is it known behavior of the "file" URI? How can I enable Description-en gets via "file" URI without copy those Translation-en.gz files by hand? Thank you very much for your attention. Regards. -- Franco Martelli. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org