Bug#629617: marked as done (apt: provide a way to run pkgInitConfig() that doesn't parse the default configuration files)
Your message dated Mon, 25 Jul 2011 15:02:40 +0000
with message-id <E1QlMg4-00054l-AY@franck.debian.org>
and subject line Bug#629617: fixed in apt 0.8.15.3
has caused the Debian Bug report #629617,
regarding apt: provide a way to run pkgInitConfig() that doesn't parse the default configuration files
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.)
--
629617: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=629617
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: apt: provide a way to run pkgInitConfig() that doesn't parse the default configuration files
- From: Raphaël Hertzog <hertzog@debian.org>
- Date: Wed, 08 Jun 2011 08:54:19 +0200
- Message-id: <20110608065419.15554.57919.reportbug@rivendell.localdomain>
Package: apt
Version: 0.8.14.1
Severity: wishlist
Hello,
I would like to use python-apt to manage several APT caches that are
completely unrelated to the system installation. This means I do not want
to parse the configuration files in /etc/apt unfortunately pkgInitConfig()
doesn't provide a way to skip those: "Dir::Etc" is always set to "etc/apt"
and the config files parsing is done in the same function.
I would like to just execute the part that sets sensible defaults to
the variables that are needed without parsing the user configuration
files.
One way to do it would be to not overwrite the various "Dir"
configuration items if they are pre-existing. That way I can point
them to directories without any configuration file.
Cheers,
-- System Information:
Debian Release: wheezy/sid
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (150, 'experimental')
Architecture: i386 (x86_64)
Kernel: Linux 2.6.38-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages apt depends on:
ii debian-archive-keyring 2010.08.28 GnuPG archive keys of the Debian a
ii gnupg 1.4.11-3 GNU privacy guard - a free PGP rep
ii libc6 2.13-5 Embedded GNU C Library: Shared lib
ii libgcc1 1:4.6.0-11 GCC support library
ii libstdc++6 4.6.0-11 The GNU Standard C++ Library v3
ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime
apt recommends no packages.
Versions of packages apt suggests:
pn apt-doc <none> (no description available)
ii aptitude 0.6.4-1 terminal-based package manager (te
ii bzip2 1.0.5-6 high-quality block-sorting file co
ii dpkg-dev 1.16.1 Debian package development tools
ii lzma 4.43-14 Compression method of 7z format in
ii python-apt 0.8.0 Python interface to libapt-pkg
ii synaptic 0.75.1 Graphical package manager
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: apt
Source-Version: 0.8.15.3
We believe that the bug you reported is fixed in the latest version of
apt, which is due to be installed in the Debian FTP archive:
apt-doc_0.8.15.3_all.deb
to main/a/apt/apt-doc_0.8.15.3_all.deb
apt-transport-https_0.8.15.3_amd64.deb
to main/a/apt/apt-transport-https_0.8.15.3_amd64.deb
apt-utils_0.8.15.3_amd64.deb
to main/a/apt/apt-utils_0.8.15.3_amd64.deb
apt_0.8.15.3.dsc
to main/a/apt/apt_0.8.15.3.dsc
apt_0.8.15.3.tar.gz
to main/a/apt/apt_0.8.15.3.tar.gz
apt_0.8.15.3_amd64.deb
to main/a/apt/apt_0.8.15.3_amd64.deb
libapt-pkg-dev_0.8.15.3_amd64.deb
to main/a/apt/libapt-pkg-dev_0.8.15.3_amd64.deb
libapt-pkg-doc_0.8.15.3_all.deb
to main/a/apt/libapt-pkg-doc_0.8.15.3_all.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 629617@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Michael Vogt <mvo@debian.org> (supplier of updated apt package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Mon, 25 Jul 2011 15:04:43 +0200
Source: apt
Binary: apt apt-doc libapt-pkg-dev libapt-pkg-doc apt-utils apt-transport-https
Architecture: source all amd64
Version: 0.8.15.3
Distribution: unstable
Urgency: low
Maintainer: APT Development Team <deity@lists.debian.org>
Changed-By: Michael Vogt <mvo@debian.org>
Description:
apt - Advanced front-end for dpkg
apt-doc - Documentation for APT
apt-transport-https - APT https transport
apt-utils - APT utility programs
libapt-pkg-dev - Development files for APT's libapt-pkg and libapt-inst
libapt-pkg-doc - Documentation for APT development
Closes: 407511 612102 629617 630591 632221 632441 632596 633455 633510
Changes:
apt (0.8.15.3) unstable; urgency=low
.
[ Michael Vogt ]
* apt-pkg/acquire-item.cc:
- improve error message for a expired Release file
* apt-pkg/algorithms.cc:
- Hold back packages that would enter "policy-broken" state on upgrade
when doing a "apt-get upgrade"
* cmdline/apt-get.cc:
- fix missing download progress in apt-get download
.
[ David Kalnischkies ]
* apt-pkg/pkgcachegen.cc:
- fallback to memory if file is not writeable even if access()
told us the opposite before (e.g. in fakeroot 1.16) (Closes: #630591)
* doc/sources.list.5.xml:
- document available [options] for sources.list entries (Closes: 632441)
* doc/apt.conf.5.xml:
- document APT::Architectures list (Closes: #612102)
* cmdline/apt-get.cc:
- restore all important dependencies for garbage packages (LP: #806274)
- do not require unused partial dirs in 'source' (Closes: #633510)
- buildconflicts effect all architectures
- implement MultiarchCross for build-dep and source (Closes: #632221)
* apt-pkg/init.cc:
- use CndSet in pkgInitConfig (Closes: #629617)
* apt-pkg/depcache.cc:
- change default of APT::AutoRemove::SuggestsImportant to true
* cmdline/apt-key:
- use a tmpfile instead of /etc/apt/secring.gpg (Closes: #632596)
* debian/apt.postinst:
- remove /etc/apt/secring.gpg if it is an empty file
* doc/apt-cache.8.xml:
- apply madison typofix from John Feuerstein, thanks! (Closes: #633455)
* apt-pkg/policy.cc:
- emit an error on unknown APT::Default-Release value (Closes: #407511)
* apt-pkg/aptconfiguration.cc:
- ensure that native architecture is if not specified otherwise the
first architecture in the Architectures vector
* apt-pkg/deb/deblistparser.cc:
- Strip only :any and :native if MultiArch should be stripped as it is
save to ignore them in non-MultiArch contexts but if the dependency
is a specific architecture (and not the native) do not strip
Checksums-Sha1:
4026bf2f3f090ff5b1c92ccf759d3a9649b7326e 1358 apt_0.8.15.3.dsc
91c9d330ee78b437255745d8e9c6c43561561b34 3376358 apt_0.8.15.3.tar.gz
2fb101b470f21a85df0f38f3a7349f26c7f2de87 240496 apt-doc_0.8.15.3_all.deb
dbf779af827be7e0160f0abd8cd9723ffdf27e38 737560 libapt-pkg-doc_0.8.15.3_all.deb
c09425be225c221c746032f8c6502f0cbee49fd6 2183336 apt_0.8.15.3_amd64.deb
86b1cf56e9331262d4bf0882b86bd42fa9ca3ae5 160398 libapt-pkg-dev_0.8.15.3_amd64.deb
bde4683e9face861f00ad2daf0a006e621f90304 288604 apt-utils_0.8.15.3_amd64.deb
b8bd392bad1725c0e8e208a3094f2efb9eeb182d 90398 apt-transport-https_0.8.15.3_amd64.deb
Checksums-Sha256:
de19e90f6f8186500c8ec0f208c84c1f53fe9039ab7e9cc7ddf76c0ff29c0290 1358 apt_0.8.15.3.dsc
03332dfc134c7a7c7b6a50e5aa7865cd8928266aeaf6105df48f9b0410039152 3376358 apt_0.8.15.3.tar.gz
a889cb25a32229e979d82816b3743353118a4c9579c5a5d07be66f9400594ad3 240496 apt-doc_0.8.15.3_all.deb
36a3e6688fa3c70fb9689bb584ea0a08749336e3064930f0023c0e0ee99063fb 737560 libapt-pkg-doc_0.8.15.3_all.deb
c28b898c069b150827aa611af918fc02018a3613d1197afcc5a239d49030d3c0 2183336 apt_0.8.15.3_amd64.deb
d16a39ed06c63d349d3a153a6d1593ccd0aa0fb89ba7cf0fa0c79db736546ce7 160398 libapt-pkg-dev_0.8.15.3_amd64.deb
d662b40d067762edb6b0d6224f12f1403b2874574b2688fdb2f6105b5f13ddea 288604 apt-utils_0.8.15.3_amd64.deb
742bc4927772455d8e275ae49c6e9c9f6e5130fddfba03f1dea3a93034eb823a 90398 apt-transport-https_0.8.15.3_amd64.deb
Files:
f3509a71136bedd9ed4884ad41f49f18 1358 admin important apt_0.8.15.3.dsc
21f34a582cfa6bb3a0694980eda6fa4c 3376358 admin important apt_0.8.15.3.tar.gz
28b895f161abc07d520e3cbb80e4a30e 240496 doc optional apt-doc_0.8.15.3_all.deb
822e450284fc8063e3725b81cc3e4101 737560 doc optional libapt-pkg-doc_0.8.15.3_all.deb
962d5f7c1c367100bc4881ffc4bae919 2183336 admin important apt_0.8.15.3_amd64.deb
d8985b00d5da8c7074ca15339bbd8d82 160398 libdevel optional libapt-pkg-dev_0.8.15.3_amd64.deb
ec1838107e981aad18d44f98bbce74d6 288604 admin important apt-utils_0.8.15.3_amd64.deb
bdfd38e4ae76eff048ecf601f73605ec 90398 admin optional apt-transport-https_0.8.15.3_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iEYEARECAAYFAk4tcrcACgkQliSD4VZixzS7eACfRz6+aGhlIwq1izJ/YkbrF7MG
p5AAnjHh1rkTEZflrxkIpg4f2w5ZtDXJ
=InMn
-----END PGP SIGNATURE-----
--- End Message ---
Reply to: