David Kalnischkies [Wed, 30 Nov 2011 15:37:09 +0000 (16:37 +0100)]
ensure that we exit instead of proceed in execution after the trap
(the execution leads to hard failures anyway)
David Kalnischkies [Tue, 29 Nov 2011 11:14:31 +0000 (12:14 +0100)]
split up the OpenMode into OpenMode and CompressionMode and
provide ReadOnly, WriteOnly and ReadWrite as flags alongside
the additional flags as decompression will be one-way later,
but certain parts really depend on Write* openmodes being
ReadWrite opens, so we will have to fail for those.
Michael Vogt [Mon, 28 Nov 2011 11:07:55 +0000 (12:07 +0100)]
revert libapt-common addition because of http://lists.debian.org/debian-devel/2011/11/msg00742.html
David Kalnischkies [Wed, 23 Nov 2011 23:53:47 +0000 (00:53 +0100)]
use getCompressors() instead of getCompressorTypes() and use it everywhere
to replace hardcoding of compressiontypes and compressors
David Kalnischkies [Wed, 23 Nov 2011 18:48:07 +0000 (19:48 +0100)]
fix another hickup in the changelog
Steve McIntyre [Wed, 23 Nov 2011 18:34:58 +0000 (19:34 +0100)]
factored out the decompressor code in IndexCopy::CopyPackages() and
TranslationsCopy::CopyTranslations() into a single common function
Michael Vogt [Wed, 23 Nov 2011 10:04:24 +0000 (11:04 +0100)]
fixup changelog
Michael Vogt [Wed, 23 Nov 2011 09:58:44 +0000 (10:58 +0100)]
merged from lp:~donkult/apt/experimental
Michael Vogt [Wed, 23 Nov 2011 09:46:56 +0000 (10:46 +0100)]
merged lp:~mvo/apt/convert-to-multiarch-lib-thanks-colin
David Kalnischkies [Wed, 23 Nov 2011 08:54:17 +0000 (09:54 +0100)]
* cmdline/apt-get.cc:
- ignore foreign architectures if we check if a provides has only one
resolver as it's basically the same for the user, so no need to choose
David Kalnischkies [Tue, 22 Nov 2011 23:49:45 +0000 (00:49 +0100)]
* apt-pkg/depcache.cc:
- prefer native providers over foreigns even if the chain is foreign
The code preferred real over virtual packages and based on priorities.
This is changed in so far that a real package from any arch is preferred
over any virtual provider and if priorities doesn't help in choosing the
best provider we choose it based on architectures
David Kalnischkies [Tue, 22 Nov 2011 20:54:32 +0000 (21:54 +0100)]
fix the operator++ implementations in the cachesets
Michael Vogt [Tue, 22 Nov 2011 17:59:28 +0000 (18:59 +0100)]
* apt-pkg/cdrom.cc:
- use aptconfiguration to get the supported compression types
Michael Vogt [Tue, 22 Nov 2011 12:25:27 +0000 (13:25 +0100)]
merged from lp:~donkult/apt/sid
Michael Vogt [Tue, 22 Nov 2011 10:34:01 +0000 (11:34 +0100)]
fix remaining rename
Michael Vogt [Tue, 22 Nov 2011 10:20:33 +0000 (11:20 +0100)]
rename .install to .install.in when needed
Michael Vogt [Tue, 22 Nov 2011 09:41:25 +0000 (10:41 +0100)]
merged libapt multiarch enable patch from Colin Watson, many thanks!
Julian Andres Klode [Mon, 21 Nov 2011 17:53:29 +0000 (18:53 +0100)]
apt-pkg/cdrom.cc: Accept .bz2, .xz files in addition to .gz files (Closes: #649451)
Chris Leick [Sun, 20 Nov 2011 17:11:56 +0000 (18:11 +0100)]
* German manpage translation update
* doc/*.xml:
- find and fix a bunch of misspellings
David Kalnischkies [Sun, 20 Nov 2011 16:12:15 +0000 (17:12 +0100)]
* doc/manpage-style.xml:
- put <brackets> around email addresses
David Kalnischkies [Fri, 11 Nov 2011 15:03:40 +0000 (16:03 +0100)]
- provide a {Package,Version}List similar to {Package,Version}Set
* cmdline/apt-{get,cache,mark}.cc:
- use Lists instead of Sets if input order should be preserved for
commands accepting lists of packages, e.g. policy (Closes: #625960)
Michael Vogt [Thu, 10 Nov 2011 15:32:52 +0000 (16:32 +0100)]
merged from http://bzr.debian.org/bzr/apt/apt/debian-experimental2
Michael Vogt [Thu, 10 Nov 2011 15:10:55 +0000 (16:10 +0100)]
merged from lp:~donkult/apt/experimental
David Kalnischkies [Wed, 9 Nov 2011 16:22:57 +0000 (17:22 +0100)]
* apt-pkg/cacheset.cc:
- make the cachesets real containers which can embedding any container
to be able to use the same interface regardless of set or list usage
David Kalnischkies [Thu, 3 Nov 2011 14:41:14 +0000 (09:41 -0500)]
* apt-pkg/deb/deblistparser.cc:
- M-A: foreign packages provide for other archs, too
David Kalnischkies [Mon, 31 Oct 2011 19:36:05 +0000 (14:36 -0500)]
do not enter an endless loop for (essential) pre-dependency loops
David Kalnischkies [Sun, 30 Oct 2011 19:17:09 +0000 (14:17 -0500)]
* apt-pkg/contrib/sha2_internal.cc:
- use a pointer-union to peace gcc strict-aliasing warning
David Kalnischkies [Sun, 30 Oct 2011 18:48:05 +0000 (13:48 -0500)]
merge with my debian-sid branch
bubulle@debian.org [Mon, 24 Oct 2011 23:50:03 +0000 (05:20 +0530)]
French translation update
Michael Vogt [Thu, 20 Oct 2011 09:45:44 +0000 (11:45 +0200)]
merged from donkult
Michael Vogt [Thu, 20 Oct 2011 09:44:44 +0000 (11:44 +0200)]
merged from donkult
David Kalnischkies [Mon, 17 Oct 2011 14:41:54 +0000 (16:41 +0200)]
* algorithms.cc:
- show a debug why a package was kept by ResolveByKeep()
David Kalnischkies [Mon, 17 Oct 2011 09:22:45 +0000 (11:22 +0200)]
* apt-pkg/packagemanager.cc:
- do not fail on unpacked packages in SmartUnPack, just don't
shedule them for unpack, but do all checks and configure them
David Kalnischkies [Mon, 17 Oct 2011 09:21:12 +0000 (11:21 +0200)]
create "real" testcases out of the tests for chris
Michael Vogt [Fri, 14 Oct 2011 12:05:03 +0000 (14:05 +0200)]
releasing version 0.8.16~exp7
Michael Vogt [Fri, 14 Oct 2011 11:55:50 +0000 (13:55 +0200)]
merged lp:~donkult/apt/experimental
Michael Vogt [Fri, 14 Oct 2011 11:27:49 +0000 (13:27 +0200)]
releasing version 0.8.15.9
Michael Vogt [Fri, 14 Oct 2011 09:54:12 +0000 (11:54 +0200)]
merged from lp:~donkult/apt/sid
David Kalnischkies [Wed, 12 Oct 2011 20:28:46 +0000 (22:28 +0200)]
* apt-pkg/pkgcache.cc:
- always prefer "en" over "" for "en"-language regardless of cache-order
David Kalnischkies [Wed, 12 Oct 2011 18:16:02 +0000 (20:16 +0200)]
add implicit dependencies needed for Multi-Arch at the time a Version
struct is created and not at the end of the cache generation
This allows us to be independent from the configured architectures for
these kind of conflicts, we get natural progress for free and
only the needed dependencies are in th respective binary cache.
David Kalnischkies [Wed, 12 Oct 2011 17:34:06 +0000 (19:34 +0200)]
use one string to construct the error message instead of using multiple
just with different debugging information at the end
David Kalnischkies [Wed, 12 Oct 2011 13:47:56 +0000 (15:47 +0200)]
a version can have only a single md5 for descriptions, so we can optimize
the merging with this knowledge a bit and by correctly sharing the lists
we only need to have a single description list for possibly many different
versions. This also means that description translations are shared between
different sources
David Kalnischkies [Tue, 11 Oct 2011 19:10:31 +0000 (21:10 +0200)]
share description list between "same" versions (LP: #868977)
David Kalnischkies [Tue, 11 Oct 2011 16:34:21 +0000 (18:34 +0200)]
* apt-pkg/pkgcachegen.cc:
- refactor MergeList by creating -Group, -Package and -Version specialist
David Kalnischkies [Tue, 11 Oct 2011 12:44:05 +0000 (14:44 +0200)]
run apt-get download in quiet mode as it messes with output otherwise
David Kalnischkies [Tue, 11 Oct 2011 12:37:03 +0000 (14:37 +0200)]
run integration tests on my new amd64 box without failures
David Kalnischkies [Tue, 11 Oct 2011 11:05:40 +0000 (13:05 +0200)]
fix compiler warning about signed comparision on amd64, too
David Kalnischkies [Wed, 5 Oct 2011 21:09:09 +0000 (23:09 +0200)]
* doc/apt.conf.5.xml:
- apply spelling fix by Kevin Lyda, thanks! (Closes: #644104)
David Kalnischkies [Wed, 5 Oct 2011 21:06:26 +0000 (23:06 +0200)]
merge with current debian apt/sid
David Kalnischkies [Wed, 5 Oct 2011 21:00:47 +0000 (23:00 +0200)]
cherrypick from my apt/experimental branch
* apt-pkg/deb/debmetaindex.cc:
- none is a separator, not a language: no need for Index (Closes: #624218)
* apt-pkg/aptconfiguration.cc:
- do not builtin languages only if none is forced (Closes: #643787)
David Kalnischkies [Wed, 5 Oct 2011 20:45:22 +0000 (22:45 +0200)]
* apt-pkg/deb/debmetaindex.cc:
- none is a separator, not a language: no need for Index (Closes: #624218)
* apt-pkg/aptconfiguration.cc:
- do not builtin languages only if none is forced (Closes: #643787)
David Kalnischkies [Wed, 5 Oct 2011 16:43:00 +0000 (18:43 +0200)]
merge with current debian apt/experimental
Michael Vogt [Wed, 5 Oct 2011 16:14:38 +0000 (18:14 +0200)]
* apt-pkg/contrib/configuration.cc:
- fix double delete (LP: #848907)
- ignore only the invalid regexp instead of all options
* apt-pkg/acquire-item.h, apt-pkg/deb/debmetaindex.cc:
- fix fetching language information by adding OptionalSubIndexTarget
* methods/https.cc:
- cleanup broken downloads properly
* ftparchive/cachedb.cc:
- fix buffersize in bytes2hex
* apt-pkg/deb/deblistparser.cc:
- fix crash when the dynamic mmap needs to be grown in
LoadReleaseInfo (LP: #854090)
David Kalnischkies [Mon, 3 Oct 2011 22:14:38 +0000 (00:14 +0200)]
* apt-pkg/policy.cc:
- accept generic release pin expressions again in -t (Closes: #644166)
Michael Vogt [Mon, 26 Sep 2011 11:30:19 +0000 (13:30 +0200)]
merged fix from donkult
Michael Vogt [Sat, 24 Sep 2011 08:49:49 +0000 (10:49 +0200)]
* ftparchive/cachedb.cc:
- fix buffersize in bytes2hex
* ftparchive/cachedb.cc:
- make buffer fully dynamic (thanks to Colin Watson)
Michael Vogt [Sat, 24 Sep 2011 08:46:03 +0000 (10:46 +0200)]
Symbol file update
Michael Vogt [Thu, 22 Sep 2011 13:15:30 +0000 (15:15 +0200)]
ftparchive/cachedb.cc: rewrite to fix the fixed length field
Michael Vogt [Thu, 22 Sep 2011 12:17:13 +0000 (14:17 +0200)]
* ftparchive/cachedb.cc:
- fix buffersize in bytes2hex
David Kalnischkies [Wed, 21 Sep 2011 17:37:31 +0000 (19:37 +0200)]
* apt-pkg/init.cc:
- silently ignore *.orig and *.save files by default
David Kalnischkies [Wed, 21 Sep 2011 17:31:03 +0000 (19:31 +0200)]
* apt-pkg/deb/debsrcrecords.cc:
- remove the limit of 400 Binaries for a source package (Closes: #622110)
David Kalnischkies [Wed, 21 Sep 2011 16:42:08 +0000 (18:42 +0200)]
convert a few for-loop char finds to proper strchr and memchr
Michael Vogt [Tue, 20 Sep 2011 16:21:21 +0000 (18:21 +0200)]
* methods/https.cc:
- cleanup broken downloads properly
David Kalnischkies [Tue, 20 Sep 2011 12:30:31 +0000 (14:30 +0200)]
* apt-pkg/deb/dpkgpm.cc:
- use std::vector instead of fixed size arrays to store args and
multiarch-packagename strings
- load the dpkg base arguments only one time and reuse them later
* cmdline/apt-get.cc:
- follow Provides in the evaluation of saving candidates, too, for
statisfying garbage package dependencies (Closes: #640590)
* apt-pkg/algorithms.cc:
- if a package is garbage, don't try to save it with FixByInstall
David Kalnischkies [Tue, 20 Sep 2011 12:21:23 +0000 (14:21 +0200)]
* apt-pkg/algorithms.cc:
- if a package is garbage, don't try to save it with FixByInstall
David Kalnischkies [Tue, 20 Sep 2011 11:27:53 +0000 (13:27 +0200)]
* cmdline/apt-get.cc:
- follow Provides in the evaluation of saving candidates, too, for
statisfying garbage package dependencies (Closes: #640590)
David Kalnischkies [Tue, 20 Sep 2011 09:54:15 +0000 (11:54 +0200)]
load the dpkg base arguments only one time and reuse them later
David Kalnischkies [Tue, 20 Sep 2011 09:34:37 +0000 (11:34 +0200)]
* apt-pkg/deb/dpkgpm.cc:
- use std::vector instead of fixed size arrays to store args and
multiarch-packagename strings
David Kalnischkies [Mon, 19 Sep 2011 19:05:00 +0000 (21:05 +0200)]
fix foldmarker in algorithms.h
David Kalnischkies [Mon, 19 Sep 2011 17:27:07 +0000 (19:27 +0200)]
remove old APT_COMPATIBILITY ifdef's
David Kalnischkies [Mon, 19 Sep 2011 17:14:19 +0000 (19:14 +0200)]
use forward declaration in headers if possible instead of includes
David Kalnischkies [Mon, 19 Sep 2011 11:31:29 +0000 (13:31 +0200)]
do not pollute namespace in the headers with using (Closes: #500198)
David Kalnischkies [Mon, 19 Sep 2011 10:26:56 +0000 (12:26 +0200)]
remove an extra argument for the error mesage format
Michael Vogt [Fri, 16 Sep 2011 07:15:17 +0000 (09:15 +0200)]
* apt-pkg/acquire-item.h, apt-pkg/deb/debmetaindex.cc:
- fix fetching language information by adding OptionalSubIndexTarget
David Kalnischkies [Thu, 15 Sep 2011 09:02:43 +0000 (11:02 +0200)]
update the test to ensure that NotAutomatic and co is used also
if the archive is signed, but the signature can't be checked
as the key is missing (debbugs #597301 - fix in r2105)
Michael Vogt [Wed, 14 Sep 2011 19:19:05 +0000 (21:19 +0200)]
releasing version 0.8.16~exp6
David Kalnischkies [Wed, 14 Sep 2011 19:02:54 +0000 (21:02 +0200)]
* doc/apt-get.8.xml:
- change wording of autoremove description as suggested
by Robert Simmons, thanks! (Closes: #641490)
Michael Vogt [Wed, 14 Sep 2011 18:30:15 +0000 (20:30 +0200)]
merged from donkult
David Kalnischkies [Wed, 14 Sep 2011 18:22:31 +0000 (20:22 +0200)]
enable APT in unpack/configure ordering to handle loops as well
as tight dependencies between immediate packages better
enabling also the possibility to mark all packages as immediate
(at least Closes: #353290, #540227, #559733, #621836, #639290)
bubulle@debian.org [Wed, 14 Sep 2011 18:14:43 +0000 (20:14 +0200)]
Changelog entry forspelling fix
Michael Vogt [Wed, 14 Sep 2011 18:14:30 +0000 (20:14 +0200)]
merged from donkult
bubulle@debian.org [Wed, 14 Sep 2011 18:13:21 +0000 (20:13 +0200)]
Fix spelling error
David Kalnischkies [Wed, 14 Sep 2011 13:48:18 +0000 (15:48 +0200)]
update symbols
David Kalnischkies [Wed, 14 Sep 2011 12:48:40 +0000 (14:48 +0200)]
update symbols file
Michael Vogt [Wed, 14 Sep 2011 11:56:33 +0000 (13:56 +0200)]
update package names too for the new abi
Michael Vogt [Wed, 14 Sep 2011 11:24:23 +0000 (13:24 +0200)]
* [abi-break] Support large files in the complete toolset. Indexes of this
* bump ABI version
Michael Vogt [Wed, 14 Sep 2011 11:22:19 +0000 (13:22 +0200)]
merged from lp:~donkult/apt/experimental
Michael Vogt [Wed, 14 Sep 2011 11:09:49 +0000 (13:09 +0200)]
releasing version 0.8.15.8
Michael Vogt [Wed, 14 Sep 2011 08:17:37 +0000 (10:17 +0200)]
* apt-pkg/contrib/configuration.cc:
- fix double delete (LP: #848907)
- ignore only the invalid regexp instead of all options
Michael Vogt [Wed, 14 Sep 2011 08:14:13 +0000 (10:14 +0200)]
* cmdline/apt-get.cc:
- output list of virtual package providers to c1out in -q=1
instead of /dev/null to unbreak sbuild (LP: #816155)
David Kalnischkies [Tue, 13 Sep 2011 16:00:22 +0000 (18:00 +0200)]
merge with debian/sid
David Kalnischkies [Tue, 13 Sep 2011 15:52:22 +0000 (17:52 +0200)]
merge with debian/experimental
David Kalnischkies [Tue, 13 Sep 2011 15:46:48 +0000 (17:46 +0200)]
Support large files in the complete toolset. Indexes of this
size are pretty unlikely for now, but we need it for deb
packages which could become bigger than 4GB now (LP: #815895)
David Kalnischkies [Tue, 13 Sep 2011 15:39:57 +0000 (17:39 +0200)]
* cmdline/apt-get.cc:
- output list of virtual package providers to c1out in -q=1
instead of /dev/null to unbreak sbuild (LP: #816155)
Michael Vogt [Tue, 13 Sep 2011 14:19:09 +0000 (16:19 +0200)]
* apt-pkg/contrib/configuration.cc:
- fix double delete (LP: #848907)
- ignore only the invalid regexp instead of all options
David Kalnischkies [Tue, 13 Sep 2011 08:09:00 +0000 (10:09 +0200)]
reorder includes: add <config.h> if needed and include it at first
Michael Vogt [Mon, 12 Sep 2011 16:25:41 +0000 (18:25 +0200)]
releasing version 0.8.15.7
Michael Vogt [Mon, 12 Sep 2011 14:09:53 +0000 (16:09 +0200)]
merged from lp:~donkult/apt/sid
David Kalnischkies [Fri, 9 Sep 2011 10:51:18 +0000 (12:51 +0200)]
fix changelog typos and bugfix-link
David Kalnischkies [Fri, 9 Sep 2011 10:35:22 +0000 (12:35 +0200)]
M-A:same lockstep unpack should operate on installed
packages first (LP: #835625)