]>
git.saurik.com Git - apt.git/log
David Kalnischkies [Sat, 5 May 2012 00:06:49 +0000 (02:06 +0200)]
check if we work on a valid description in IsDuplicateDescription as
we end up working on dangling pointers otherwise which segfaults on
s390x and ppc64 (Closes: #669427)
David Kalnischkies [Wed, 2 May 2012 21:13:26 +0000 (23:13 +0200)]
add a simple test for HashSumValue classes
David Kalnischkies [Wed, 2 May 2012 20:31:49 +0000 (22:31 +0200)]
* apt-pkg/deb/deblistparser.cc:
- check length and containing chars for a given description md5sum
David Kalnischkies [Wed, 2 May 2012 20:00:02 +0000 (22:00 +0200)]
* apt-pkg/pkgcachegen.cc:
- check if NewDescription allocation has failed and error out accordingly
David Kalnischkies [Wed, 2 May 2012 17:20:56 +0000 (19:20 +0200)]
* debian/libapt-inst1.5.symbols:
- use the correct library name the symbols header
Michael Vogt [Wed, 25 Apr 2012 15:02:24 +0000 (17:02 +0200)]
merged from donkult
David Kalnischkies [Mon, 23 Apr 2012 20:03:23 +0000 (22:03 +0200)]
provider is only a possible solution if the provides has the right
version (or none as we have no versioned provides in debian) and not
if the version of the provider matches
David Kalnischkies [Mon, 23 Apr 2012 17:33:32 +0000 (19:33 +0200)]
/dev/null is a special absolute path as it has no subdirectories
David Kalnischkies [Mon, 23 Apr 2012 17:11:11 +0000 (19:11 +0200)]
normalize a bit by replacing // and /./ with / in FindFile
David Kalnischkies [Mon, 23 Apr 2012 16:24:19 +0000 (18:24 +0200)]
* edsp/edspsystem.cc:
- check with RealFileExists for scenario file as otherwise a directory
like one provided with RootDir triggers the usage of EDSP
David Kalnischkies [Mon, 23 Apr 2012 15:46:11 +0000 (17:46 +0200)]
* apt-pkg/depcache.cc:
- clearly separate 'positive' and 'negative' dependencies and
their upgrade-resolution tries in MarkInstall and especially don't
treat Conflicts differently compared to Breaks here
David Kalnischkies [Sun, 22 Apr 2012 11:01:37 +0000 (13:01 +0200)]
* apt-pkg/cdrom.cc:
- use Dump() to generate the configuration output
David Kalnischkies [Sun, 22 Apr 2012 10:29:24 +0000 (12:29 +0200)]
* cmdline/apt-config.cc:
- make it possible to limit dump to a subtree
- implement --empty and --format option for dump
David Kalnischkies [Sun, 22 Apr 2012 10:28:54 +0000 (12:28 +0200)]
* apt-pkg/acquire-worker.cc:
- use Dump() to generate the configuration message for sending
David Kalnischkies [Sun, 22 Apr 2012 10:28:10 +0000 (12:28 +0200)]
* apt-pkg/contrib/configuration.cc:
- add a more versatile Dump() method
David Kalnischkies [Sat, 21 Apr 2012 16:26:49 +0000 (18:26 +0200)]
* apt-pkg/contrib/strutl.cc:
- remove the message size limit from ioprintf and strprintf
Michael Vogt [Fri, 20 Apr 2012 12:30:39 +0000 (14:30 +0200)]
releasing version 0.9.2
Michael Vogt [Fri, 20 Apr 2012 09:11:21 +0000 (11:11 +0200)]
merged from bzr+ssh://bazaar.launchpad.net/~donkult/apt/sid/
David Kalnischkies [Fri, 20 Apr 2012 09:05:35 +0000 (11:05 +0200)]
fix a bug uncovered by the previous commit which checks if a Compressor
preference given by the Order setting is really available before adding
it as possible CompressionType.
Michael Vogt [Fri, 20 Apr 2012 08:37:04 +0000 (10:37 +0200)]
merged from lp:~donkult/apt/sid
David Kalnischkies [Fri, 20 Apr 2012 08:13:17 +0000 (10:13 +0200)]
* apt-pkg/cacheset.cc:
- actually return to the fallback modifier if we have detected we
should for packagenames which look like modifiers (Closes: #669591)
David Kalnischkies [Fri, 20 Apr 2012 07:53:24 +0000 (09:53 +0200)]
* apt-pkg/contrib/sha2_internal.cc:
- do not use the input data directly but memcpy it instead as
it could be unaligned as in the http-transport which causes
a sigbus error on sparc (Closes: #669061)
David Kalnischkies [Fri, 20 Apr 2012 07:52:17 +0000 (09:52 +0200)]
* apt-pkg/aptconfiguration.cc:
- if the compressor is not installed, but we link against it's
library accept it as a CompressionType (Closes: #669328)
Michael Vogt [Fri, 20 Apr 2012 07:18:26 +0000 (09:18 +0200)]
merge from the lp:~mvo/apt/mvo branch
Michael Vogt [Fri, 20 Apr 2012 07:12:56 +0000 (09:12 +0200)]
cherry pick r1975 from lp:~ubuntu-core-dev/apt/ubuntu
David Kalnischkies [Thu, 19 Apr 2012 20:41:25 +0000 (22:41 +0200)]
add a very simple testcase for the lp#985852 fix in the previous commit
Malcolm Scott [Thu, 19 Apr 2012 20:38:30 +0000 (22:38 +0200)]
* apt-pkg/packagemanager.cc:
- iterate over all pre-depends or-group member instead of looping
endlessly over the first member in SmartUnpack (LP: #985852)
David Kalnischkies [Thu, 19 Apr 2012 13:53:27 +0000 (15:53 +0200)]
update the changelog with a Closes tag for the newly reported all apt
essential issue
David Kalnischkies [Thu, 19 Apr 2012 09:05:41 +0000 (11:05 +0200)]
* apt-pkg/contrib/fileutl.cc:
- redirect stderr from compressors to /dev/null
Michael Vogt [Thu, 19 Apr 2012 08:54:44 +0000 (10:54 +0200)]
* apt-inst/contrib/extracttar.cc:
- ensure that in StartGzip the InFd is set to "AutoClose" to ensure
that the pipe is closed when InFd is closed. This fixes a Fd leak
(LP: #985452)
David Kalnischkies [Thu, 19 Apr 2012 08:29:02 +0000 (10:29 +0200)]
ignore the order used for the 'apt' package as long as it is valid either way
David Kalnischkies [Wed, 18 Apr 2012 16:13:30 +0000 (18:13 +0200)]
* apt-pkg/deb/deblistparser.cc:
- only treat the native apt as essential by default
David Kalnischkies [Tue, 17 Apr 2012 21:47:35 +0000 (23:47 +0200)]
newer gcc versions seems to have no problem with that, but while working
with g++-4.1 it complains about this so lets be extra clear
David Kalnischkies [Tue, 17 Apr 2012 21:45:52 +0000 (23:45 +0200)]
ensure that not --assert-multi-arch supporting dpkg's do not generate
output in the testcases by redirecting to /dev/null
Michael Vogt [Tue, 17 Apr 2012 07:56:44 +0000 (09:56 +0200)]
releasing version 0.9.1
Michael Vogt [Tue, 17 Apr 2012 07:55:54 +0000 (09:55 +0200)]
doc/* i18n refresh
Michael Vogt [Tue, 17 Apr 2012 07:18:34 +0000 (09:18 +0200)]
merged from lp:~donkult/apt/sid
David Kalnischkies [Mon, 16 Apr 2012 21:55:39 +0000 (23:55 +0200)]
* apt-pkg/packagemanager.cc:
- init counter in SmartConfigure so that the loop-breaker isn't
triggered at random… (Closes: #669060)
David Kalnischkies [Mon, 16 Apr 2012 21:55:21 +0000 (23:55 +0200)]
* cmdline/apt-get.cc:
- if pkgCacheFile::Generate is disabled in 'update' don't
remove the caches (and don't try to open them)
Michael Vogt [Mon, 16 Apr 2012 17:24:07 +0000 (19:24 +0200)]
merge from the expermental2 branch
Michael Vogt [Mon, 16 Apr 2012 17:05:31 +0000 (19:05 +0200)]
releasing version 0.9.0
Michael Vogt [Thu, 12 Apr 2012 13:14:57 +0000 (15:14 +0200)]
releasing version 0.9.0~exp1
Michael Vogt [Thu, 12 Apr 2012 13:13:53 +0000 (15:13 +0200)]
(semi)automatic translations update
Michael Vogt [Thu, 12 Apr 2012 13:13:08 +0000 (15:13 +0200)]
apt-pkg/packagemanager.cc: tweak MaxLoopCount to 500 and improve the error message
Michael Vogt [Thu, 12 Apr 2012 10:23:57 +0000 (12:23 +0200)]
merged r1972 from lp:~paolorotolo/apt/fix-for-967393
Michael Vogt [Thu, 12 Apr 2012 10:18:43 +0000 (12:18 +0200)]
merged r1970 lp:~vorlon/apt/lp.968828
Michael Vogt [Wed, 11 Apr 2012 16:12:50 +0000 (18:12 +0200)]
prepare new experimtnal upload
Michael Vogt [Wed, 11 Apr 2012 15:45:36 +0000 (17:45 +0200)]
merged from donkults experimental branch
David Kalnischkies [Wed, 11 Apr 2012 11:25:28 +0000 (13:25 +0200)]
use a static FileFd::Write overload to reduce duplication of write()-retry code
David Kalnischkies [Wed, 11 Apr 2012 10:36:32 +0000 (12:36 +0200)]
fix the remaining lzma calls with xz --format=lzma in the testcases
David Kalnischkies [Wed, 11 Apr 2012 10:12:24 +0000 (12:12 +0200)]
* cmdline/apt-get.cc:
- print list of autoremoves in alphabetical order (Closes: #639008)
David Kalnischkies [Wed, 11 Apr 2012 09:57:48 +0000 (11:57 +0200)]
use xz-utils in the testcases instead of lzma and ensure that we really
ignore the presents (or absence) of lzma if we decided to use xz
Michael Vogt [Wed, 11 Apr 2012 08:21:05 +0000 (10:21 +0200)]
* debian/control:
- suggest xz-lzma instead of lzma
bubulle@debian.org [Fri, 6 Apr 2012 18:09:13 +0000 (20:09 +0200)]
Drop hardcoded "en.html" suffix in apt-secure manpage.
Thanks to David Prevot.
David Kalnischkies [Thu, 5 Apr 2012 19:37:57 +0000 (21:37 +0200)]
suggest xz-utils instead of bzip2 and lzma
David Kalnischkies [Thu, 5 Apr 2012 18:51:36 +0000 (20:51 +0200)]
- add libbz2-dev as new build-dependency
- remove the libz-dev alternative from zlib1g-dev build-dependency
- do the same for bz2 builtin if available
* apt-pkg/contrib/fileutl.cc:
- use libz2 library for (de)compression instead of the bzip2 binary as
the first is a dependency of dpkg and the later just priority:optional
so we gain 'easier' access to bz2-compressed Translation files this way
David Kalnischkies [Thu, 5 Apr 2012 17:02:08 +0000 (19:02 +0200)]
if we have zlib builtin insert add a dummy gzip compressor for FileFD
David Kalnischkies [Thu, 5 Apr 2012 16:51:06 +0000 (18:51 +0200)]
* methods/bzip2.cc:
- remove it as the functionality for all compressors can be
provided by gzip.cc now with the usage of FileFD
David Kalnischkies [Thu, 5 Apr 2012 16:49:13 +0000 (18:49 +0200)]
* apt-pkg/aptconfiguration.cc:
- if present, prefer xz binary over lzma
David Kalnischkies [Thu, 5 Apr 2012 13:18:03 +0000 (15:18 +0200)]
detect zlib correctly. We still don't allow to build without it to remain
compatible with users accessing it directly, but this prepares for a drop
of this strict requirement in the future
David Kalnischkies [Thu, 5 Apr 2012 12:54:45 +0000 (14:54 +0200)]
db2 isn't used for ages now, so complain about missing libdb instead
Bogdan Purcareata [Thu, 5 Apr 2012 10:03:37 +0000 (12:03 +0200)]
* cmdline/apt-get.cc:
- distinguish information about 'apt-get autoremove' based on the
number of auto-removed packages both before and after the list
of packages (Closes: #665833)
David Kalnischkies [Thu, 5 Apr 2012 09:54:36 +0000 (11:54 +0200)]
* doc/*:
- move the command synopsis out of each manpage into apt-verbatim.ent
as they are a hell to translate and just single out the parameters
which can be translated to apt.ent
David Kalnischkies [Wed, 4 Apr 2012 21:04:57 +0000 (23:04 +0200)]
apt-verbatim.ent is an INCLUDE file as well
Bogdan Purcareata [Wed, 4 Apr 2012 20:43:53 +0000 (22:43 +0200)]
[ Bogdan Purcareata ]
* doc/apt-get.8.xml:
- add 'download' to the usage line (Closes: #649340)
bubulle@debian.org [Tue, 3 Apr 2012 19:39:06 +0000 (21:39 +0200)]
Replace "argument" by "paramètre" in French translation.
Merci, les Titeps!
bubulle@debian.org [Tue, 27 Mar 2012 18:32:10 +0000 (20:32 +0200)]
Fix typo in apt-get(8). Closes: #664833
Michael Vogt [Tue, 27 Mar 2012 13:14:38 +0000 (15:14 +0200)]
* apt-pkg/deb/dpkgpm.cc:
- do not crash if (*I).Pkg is NULL (LP: #939867)
David Kalnischkies [Thu, 22 Mar 2012 21:18:05 +0000 (22:18 +0100)]
make these retry_write methods static so that they don't end up as symbols
David Kalnischkies [Thu, 22 Mar 2012 18:29:53 +0000 (19:29 +0100)]
* debian/rules:
- do not sed in configure.in to set the version-number
* prepare-release:
- add as a small script to lazy check and prepare releases
David Kalnischkies [Thu, 22 Mar 2012 16:34:41 +0000 (17:34 +0100)]
merge with debian-sid (some version screw going on here)
David Kalnischkies [Thu, 22 Mar 2012 12:42:59 +0000 (13:42 +0100)]
use the variables as the rest of the tests to avoid escapes in the output
David Kalnischkies [Thu, 22 Mar 2012 12:09:22 +0000 (13:09 +0100)]
* apt-inst/database.{cc,h}, apt-inst/deb/dpkgdb.{cc,h}:
- drop instead of fix as it is only needed if you want to reimplement dpkg
and comes straight from the beginning of last decade (Closes: #663372)
* apt-inst/deb/debfile.cc:
- {Extract,Merge}Control() is another instance of "lets reimplement dpkg"
so shot of this code before someone ends up using this…
Mike Erickson [Thu, 22 Mar 2012 09:37:53 +0000 (10:37 +0100)]
* doc/apt-get.8.xml:
- typofix: respect → respecting, thanks Mike Erickson! (Closes: #664833)
David Kalnischkies [Thu, 22 Mar 2012 00:02:22 +0000 (01:02 +0100)]
* debian/control
- bump Standards-Version to 3.9.3 (no changes needed)
David Kalnischkies [Wed, 21 Mar 2012 23:59:51 +0000 (00:59 +0100)]
use the correct line to get the currently configure.in version
David Kalnischkies [Wed, 21 Mar 2012 23:51:44 +0000 (00:51 +0100)]
* debian/apt-utils.install:
- ship the ftparchive, apt-extractemplates and apt-sortpkgs locales
in the apt-utils package instead of the apt package
David Kalnischkies [Wed, 21 Mar 2012 23:16:11 +0000 (00:16 +0100)]
the previously used VERSION didn't work everywhere so we are switching
to the more standard PACKAGE_VERSION and make it work in every file
David Kalnischkies [Wed, 21 Mar 2012 22:47:54 +0000 (23:47 +0100)]
do not update po and pot files in the process of the build as this
causes timestamp changes for the mo files which therefore can't
be refcounted by dpkg for your M-A: same packages
(Closes: #659333, LP: #924628)
The commit also enables a top-level 'make update-po' and does
all the needed changes to let this work now that update-po might
be called in a freshly checkout tree
David Kalnischkies [Tue, 20 Mar 2012 20:08:15 +0000 (21:08 +0100)]
for these helpers we don't need too much checks,
but no warnings from gcc helps
David Kalnischkies [Tue, 20 Mar 2012 18:23:32 +0000 (19:23 +0100)]
* methods/rred.cc:
- check return of writev() as gcc recommends
* methods/mirror.cc:
- check return of chdir() as gcc recommends
* apt-pkg/deb/dpkgpm.cc:
- check return of write() a gcc recommends
* apt-inst/deb/debfile.cc:
- check return of chdir() as gcc recommends
* apt-inst/deb/dpkgdb.cc:
- check return of chdir() as gcc recommends
David Kalnischkies [Tue, 20 Mar 2012 17:30:32 +0000 (18:30 +0100)]
* debian/libapt-pkg4.12:
- update symbols file
David Kalnischkies [Tue, 20 Mar 2012 16:08:08 +0000 (17:08 +0100)]
* methods/makefile:
- do not link rred against libz anymore as FileFd handles all
this transparently now
David Kalnischkies [Tue, 20 Mar 2012 16:05:11 +0000 (17:05 +0100)]
* apt-pkg/acquire-worker.cc:
- check return of write() as gcc recommends
* apt-pkg/acquire.cc:
- check return of write() as gcc recommends
* apt-pkg/cdrom.cc:
- check return of chdir() and link() as gcc recommends
* apt-pkg/clean.cc:
- check return of chdir() as gcc recommends
* apt-pkg/contrib/netrc.cc:
- check return of asprintf() as gcc recommends
David Kalnischkies [Tue, 20 Mar 2012 16:03:35 +0000 (17:03 +0100)]
update the versionnumber of the faked dpkg in the testcases for multiarch
and add a comment about the need of this number
Michael Vogt [Tue, 13 Mar 2012 13:33:23 +0000 (14:33 +0100)]
merged from lp:~mvo/apt/mvo
Michael Vogt [Tue, 13 Mar 2012 13:32:40 +0000 (14:32 +0100)]
add APT::pkgPackageManager::MaxLoopCount to ensure that the
ordering code does not get into a endless loop when it flip-flops
between two states
Michael Vogt [Tue, 13 Mar 2012 13:21:00 +0000 (14:21 +0100)]
merged from debian-experimental2
David Kalnischkies [Tue, 13 Mar 2012 12:34:47 +0000 (13:34 +0100)]
now that stdout/stdlog are used consistently, the message order changed
Michael Vogt [Tue, 13 Mar 2012 12:29:52 +0000 (13:29 +0100)]
merged from lp:~donkult/apt/experimental
David Kalnischkies [Tue, 13 Mar 2012 11:39:05 +0000 (12:39 +0100)]
recheck dependencies in SmartUnpack after a change, too
David Kalnischkies [Tue, 13 Mar 2012 10:37:15 +0000 (11:37 +0100)]
* apt-pkg/packagemanager.cc:
- recheck all dependencies if we changed a package in SmartConfigure
as this could break an earlier dependency (LP: #940396)
David Kalnischkies [Mon, 12 Mar 2012 18:30:48 +0000 (19:30 +0100)]
ensure that the fullname of a package is displayed in the debug output
David Kalnischkies [Mon, 12 Mar 2012 18:29:59 +0000 (19:29 +0100)]
improve the testcode so that we do not depend on the order of unpacking
of specific packages as long as the order is okay in general
David Kalnischkies [Mon, 12 Mar 2012 18:02:57 +0000 (19:02 +0100)]
now that the package name 'apt' is a magic word enabling essential status
for said package i can't use it anymore in the testcase, so use another name
David Kalnischkies [Wed, 7 Mar 2012 10:16:58 +0000 (11:16 +0100)]
show which dependency couldn't be satisfied in the debug output
Michael Vogt [Wed, 7 Mar 2012 08:20:31 +0000 (09:20 +0100)]
* apt-pkg/packagemanager.cc:
- fix inconsistent clog/cout usage in the debug output
Michael Vogt [Tue, 6 Mar 2012 17:21:02 +0000 (18:21 +0100)]
releasing version 0.8.16~exp13
Michael Vogt [Tue, 6 Mar 2012 17:10:02 +0000 (18:10 +0100)]
merged from lp:~donkult/apt/experimental
David Kalnischkies [Tue, 6 Mar 2012 16:58:16 +0000 (17:58 +0100)]
add Debug::pkgAcqArchive::NoQueue to disable package downloading