[Pkg-ia32-libs-maintainers] Bug#535473: ia32-apt-get seems to ignore directory settings in apt.conf

Ole Marggraf marggraf at astro.uni-bonn.de
Thu Jul 2 13:47:35 UTC 2009

Package: ia32-apt-get
Version: 20
Severity: important

Hello Goswin,

as it seems, ia32-apt-get deliberately ignores alternate list/cache
directories defined in apt-conf... 

We are using an apt.conf with the following Dir section:

 Cache "/myaptetc_amd64/cache";
 Cache::archives "/myaptetc_amd64/archives/";

 Etc "/myaptetc_amd64";

 State "/aibn38_1/debian/apt/sid_amd64/state";
 State:lists "/myaptetc_amd64/lists";

(where /myaptetc_amd64 is located on an nfs volume, but that should not 
matter here).

This being far from a standard configuration, I expected some additional 
adjustments on our side (such as manually creating the i386 and amd64 
dirs in place). 

However, it seems that ia32-apt-get ignores any directory modification
in an "update" run, putting lists in the standard locations in /var/lib,
and tries to respect at least some of the dir modifications in an 
"upgrade" run, but finding only some old lists of course and not doing
any upgrade at all (ia32-lib* are equally not being found).

Removing the Dir section from apt.conf and running with standard
directories works without a problem, ia32-lib* and all.

I do not find anything on changed Dir variables or anything in the apt
manpages, so I suppose the apt.conf is still valid in this form.

apt-config shows the correct settings:

APT "";
APT::Architecture "amd64";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
APT::Install-Recommends "0";
APT::Install-Suggests "0";
APT::Acquire "";
APT::Acquire::Translation "environment";
APT::Update "";
APT::Update::Post-Invoke "";
APT::Update::Post-Invoke:: "[ ! -x /usr/lib/ia32-libs-tools/mangle ] || cat /var/lib/apt/lists/*_Packages | /usr/lib/ia32-libs-tools/mangle --index >/dev/null";
APT::NeverAutoRemove "";
APT::NeverAutoRemove:: "^linux-image.*";
APT::NeverAutoRemove:: "^linux-restricted-modules.*";
APT::Periodic "";
APT::Periodic::Update-Package-Lists "0";
APT::Cache-Limit "50000000";
Dir "/";
Dir::State "/myaptetc_amd64/state";
Dir::State::lists "lists/";
Dir::State::cdroms "cdroms.list";
Dir::State::userstatus "status.user";
Dir::State::status "/var/lib/dpkg/status";
Dir::Cache "/myaptetc_amd64/cache";
Dir::Cache::archives "/myaptetc_amd64/archives/";
Dir::Cache::srcpkgcache "srcpkgcache.bin";
Dir::Cache::pkgcache "pkgcache.bin";
Dir::Etc "/myaptetc_amd64";
Dir::Etc::sourcelist "sources.list";
Dir::Etc::sourceparts "sources.list.d";
Dir::Etc::vendorlist "vendors.list";
Dir::Etc::vendorparts "vendors.list.d";
Dir::Etc::main "apt.conf";
Dir::Etc::parts "apt.conf.d";
Dir::Etc::preferences "preferences";
Dir::Bin "";
Dir::Bin::methods "/usr/lib/apt/methods";
Dir::Bin::dpkg "/usr/bin/dpkg";
Dir::Log "var/log/apt";
Dir::Log::Terminal "term.log";
Dir::State:lists "/myaptetc_amd64/lists";
DPkg "";
DPkg::Pre-Install-Pkgs "";
DPkg::Pre-Install-Pkgs:: "/usr/bin/apt-listchanges --apt || test $? -ne 10";
DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true";
DPkg::Tools "";
DPkg::Tools::Options "";
DPkg::Tools::Options::/usr/bin/apt-listchanges "";
DPkg::Tools::Options::/usr/bin/apt-listchanges::Version "2";
DPkg::Options "";
DPkg::Options:: "--force-confdef";

Any idea?

Best regards,


-- System Information:
Debian Release: squeeze/sid
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30
Locale: LANG=de_DE, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages ia32-apt-get depends on:
ii  debconf                       1.5.26     Debian configuration management sy
ii  ia32-libs-tools               20         Tools for converting i386 debs for

ia32-apt-get recommends no packages.

ia32-apt-get suggests no packages.

-- debconf information:
* ia32-apt-get/allowed-packages: Libraries

More information about the Pkg-ia32-libs-maintainers mailing list