]> git.saurik.com Git - apt.git/log
apt.git
10 years agoMerge remote-tracking branch 'debian/debian/experimental' into feature/acq-trans
Michael Vogt [Tue, 23 Sep 2014 13:49:05 +0000 (15:49 +0200)] 
Merge remote-tracking branch 'debian/debian/experimental' into feature/acq-trans

10 years agoMerge remote-tracking branch 'upstream/debian/experimental' into feature/acq-trans
Michael Vogt [Tue, 23 Sep 2014 13:47:44 +0000 (15:47 +0200)] 
Merge remote-tracking branch 'upstream/debian/experimental' into feature/acq-trans

Conflicts:
apt-pkg/acquire-item.cc
apt-pkg/acquire-item.h
methods/copy.cc
test/integration/test-hashsum-verification

10 years agofix tests
Michael Vogt [Tue, 23 Sep 2014 12:57:10 +0000 (14:57 +0200)] 
fix tests

10 years agoMerge branch 'debian/sid' into debian/experimental
Michael Vogt [Tue, 23 Sep 2014 12:20:27 +0000 (14:20 +0200)] 
Merge branch 'debian/sid' into debian/experimental

Conflicts:
apt-pkg/acquire-item.cc
apt-pkg/acquire-item.h
apt-pkg/cachefilter.h
configure.ac
debian/changelog

10 years agoEnsure that iTFRewritePackageOrder is "MD5sum" to match apt-ftparchive
Michael Vogt [Sun, 21 Sep 2014 19:40:10 +0000 (21:40 +0200)] 
Ensure that iTFRewritePackageOrder is "MD5sum" to match apt-ftparchive

The iTFRewritePackageOrder is used in indexcopy to copy and normalize
cdrom Packages files. This change will ensure that there is no
"normalization" that changes MD5sum -> MD5Sum which alters the hash
of the Packages file on disk (oh the irony).

10 years agoFix regression for cdrom: sources from latest security update
Michael Vogt [Sun, 21 Sep 2014 19:23:04 +0000 (21:23 +0200)] 
Fix regression for cdrom: sources from latest security update

Skip a reverify for cdrom: sources. The reverify step is actually
harmful here because the apt-cdrom add code uses the indexcopy.cc
which will "normalize" the Packages file from the cdrom when it
writes it to the local disk. This leads to changing the "MD5sum"
field (notice the lower case "s") on the cdrom Packages file to
a "MD5Sum" field on the local file in /var/lib/apt/lists. Which
of course alters the hash and makes apt fail to reverify the file.

10 years agorelax grep to support newer curl output format
David Kalnischkies [Fri, 19 Sep 2014 22:12:13 +0000 (00:12 +0200)] 
relax grep to support newer curl output format

Git-Dch: Ignore

10 years agodisable timestamps in the footer of docs by doxygen
Jérémy Bobbio [Fri, 19 Sep 2014 21:03:55 +0000 (23:03 +0200)] 
disable timestamps in the footer of docs by doxygen

The default being 'yes', but this spoils the effort of reproducible
builds for no real gain. (https://wiki.debian.org/ReproducibleBuilds)

10 years agoGerman program translation update
Holger Wansing [Fri, 19 Sep 2014 20:32:14 +0000 (22:32 +0200)] 
German program translation update

Closes: 762223
10 years agoFix regression when copy: is used for a relative path
Michael Vogt [Fri, 19 Sep 2014 14:41:55 +0000 (16:41 +0200)] 
Fix regression when copy: is used for a relative path

When we do a ReverifyAfterIMS() we use the copy: method to
verify the hashes again. If the user uses -o Dir=./something/relative
this fails because we use the URI class in copy.cc that strips
away the leading relative part. By not using URI this is fixed.

Closes: #762160
10 years agotest/integration/test-apt-update-file: improve test
Michael Vogt [Fri, 19 Sep 2014 14:41:50 +0000 (16:41 +0200)] 
test/integration/test-apt-update-file: improve test

10 years ago./pre-release pre-export
Michael Vogt [Thu, 18 Sep 2014 05:59:01 +0000 (07:59 +0200)] 
./pre-release pre-export

10 years agoreleasing package apt version 1.0.9.1 1.0.9.1
Michael Vogt [Wed, 17 Sep 2014 20:05:51 +0000 (22:05 +0200)] 
releasing package apt version 1.0.9.1

10 years agoMerge remote-tracking branch 'vnwildman/debian/sid' into debian/sid
Michael Vogt [Wed, 17 Sep 2014 20:04:30 +0000 (22:04 +0200)] 
Merge remote-tracking branch 'vnwildman/debian/sid' into debian/sid

10 years agoimprove test for commit daff4a
Michael Vogt [Wed, 17 Sep 2014 15:48:27 +0000 (17:48 +0200)] 
improve test for commit daff4a

10 years agoFix regression for file:/// uris from CVE-2014-0487
Michael Vogt [Wed, 17 Sep 2014 12:57:05 +0000 (14:57 +0200)] 
Fix regression for file:/// uris from CVE-2014-0487

Do not run ReverifyAfterIMS() for local file URIs as this will
causes apt to mess around in the file:/// uri space. This is
wrong in itself, but it will also cause a incorrect verification
failure when the archive and the lists directory are on different
partitions as rename().

10 years agofix gcc warnings
Michael Vogt [Wed, 17 Sep 2014 07:24:19 +0000 (09:24 +0200)] 
fix gcc warnings

10 years agouse pkgAcqMetaBase as the transactionManager
Michael Vogt [Wed, 17 Sep 2014 07:17:49 +0000 (09:17 +0200)] 
use pkgAcqMetaBase as the transactionManager

10 years agoprepare 1.0.9.1
Michael Vogt [Tue, 16 Sep 2014 18:53:35 +0000 (20:53 +0200)] 
prepare 1.0.9.1

10 years agomerge previous upload
Michael Vogt [Tue, 16 Sep 2014 18:51:19 +0000 (20:51 +0200)] 
merge previous upload

10 years agoSECURITY UPDATE for CVE-2014-{0488,0487,0489}
Michael Vogt [Tue, 16 Sep 2014 18:23:43 +0000 (20:23 +0200)] 
SECURITY UPDATE for CVE-2014-{0488,0487,0489}

incorrect invalidating of unauthenticated data (CVE-2014-0488)
incorect verification of 304 reply (CVE-2014-0487)
incorrect verification of Acquire::Gzip indexes (CVE-2014-0489)

10 years agoadd a bunch of dpointers
Michael Vogt [Tue, 16 Sep 2014 15:13:09 +0000 (17:13 +0200)] 
add a bunch of dpointers

10 years agoremove pkgAcqSubIndex
Michael Vogt [Tue, 16 Sep 2014 15:03:04 +0000 (17:03 +0200)] 
remove pkgAcqSubIndex

10 years agoadd a 'coverage' command to generate reports
David Kalnischkies [Sun, 14 Sep 2014 20:48:01 +0000 (22:48 +0200)] 
add a 'coverage' command to generate reports

Builds, runs and generates everything needed to have a coverage report
at the end for apt. The report isn't perfect as most childs apt forks do
not have a regular exit and so data is never written for them, which
results in e.g. most methods to have zero coverage reported.

Git-Dch: Ignore

10 years agoTurkish program translation update
Mert Dirik [Sun, 14 Sep 2014 21:04:03 +0000 (23:04 +0200)] 
Turkish program translation update

Closes: 761394
10 years agoUpdated German documentation translation
Chris Leick [Sun, 14 Sep 2014 12:48:10 +0000 (14:48 +0200)] 
Updated German documentation translation

10 years agol10n: vi.po (636t): Update program translation
Trần Ngọc Quân [Fri, 12 Sep 2014 07:13:36 +0000 (14:13 +0700)] 
l10n: vi.po (636t): Update program translation

Signed-off-by: Trần Ngọc Quân <vnwildman@gmail.com>
10 years agoAllow override of Proxy-Auto-Detect by the users configuration
Michael Vogt [Fri, 12 Sep 2014 09:44:11 +0000 (11:44 +0200)] 
Allow override of Proxy-Auto-Detect by the users configuration

Only run the Proxy-Auto-Detect code if there is not already
a host specific configuration.

Closes: 759264
10 years agoprepare 1.0.8 1.0.8
Michael Vogt [Tue, 9 Sep 2014 18:10:41 +0000 (20:10 +0200)] 
prepare 1.0.8

10 years agodebian/gbp.conf: use export-dir
Michael Vogt [Tue, 9 Sep 2014 18:50:34 +0000 (20:50 +0200)] 
debian/gbp.conf: use export-dir

10 years agodon't call pager in non-terminals for changelog
David Kalnischkies [Tue, 9 Sep 2014 11:52:32 +0000 (13:52 +0200)] 
don't call pager in non-terminals for changelog

Most pagers are nice and default to running non-interactively if they
aren't connected to a terminal and we relied on that. On ci.debian.net
the configured pager is printing a header out of nowhere though, so if
we are printing to a non-terminal we call "cat" instead.

In the rework we also "remove" the dependency on sensible-utils in sofar
as we call some alternatives if calling the utils fail.

This seems to be the last problem preventing a "PASS" status on
ci.debian.net, so we close the associated bugreport.

Closes: 755040
10 years agorework PTY magic to fix stair-stepping on kfreebsd
David Kalnischkies [Mon, 8 Sep 2014 19:05:11 +0000 (21:05 +0200)] 
rework PTY magic to fix stair-stepping on kfreebsd

A pty slave we have got from openpty can only be used for one dpkg
child, if we give it to a second child on kfreebsd setting TIOCSCTTY
fails causing the output to be stair-stepped from now on.

By switching the code to creating a master and opening a new slave in
the child for each child we can fix this glitch, so that at least the
master remains stable.

Closes: 759684
10 years agofix progress report for upgrade and reinstall
David Kalnischkies [Mon, 8 Sep 2014 15:14:17 +0000 (17:14 +0200)] 
fix progress report for upgrade and reinstall

APT treats upgrades like installs and dpkg is very similar in this, but
prints still a slightly different processing message indicating that it
is really an upgrade which we hadn't parsed so far, but this wasn't
really visible as we quickly moved on to a 'known' state.

More problematic was the reinstall case as apt hadn't recognized this
for the package name detection, so that reinstalls had no progress since
we introduced MultiArch.

10 years agofix and non-silent fail dpkg-overwrite error test
David Kalnischkies [Sun, 7 Sep 2014 20:08:01 +0000 (22:08 +0200)] 
fix and non-silent fail dpkg-overwrite error test

Commit cbcdd3ee9d86379d1b3a44e41ae8b17dc23111d0 removes the space at the
end of the debfile name dpkg send to us and we previously had included
in the pmerror message we printed on the statusfd.

Git-Dch: Ignore

10 years agostrip everything spacey in APT::String::Strip
David Kalnischkies [Sun, 7 Sep 2014 19:27:57 +0000 (21:27 +0200)] 
strip everything spacey in APT::String::Strip

Git-Dch: Ignore

10 years agodetect terminal output with 'test -t' in tests
David Kalnischkies [Sun, 7 Sep 2014 17:30:33 +0000 (19:30 +0200)] 
detect terminal output with 'test -t' in tests

Instead of trying to inspect /proc and the fds inside we use "test -t 1"
instead as this is available and working on kfreebsd as well – not that
something breaks if we wouldn't, but we like color.

Git-Dch: Ignore

10 years agodo use an 'unknown' arch-specification in test
David Kalnischkies [Sun, 7 Sep 2014 17:28:21 +0000 (19:28 +0200)] 
do use an 'unknown' arch-specification in test

Using 'kfreebsd' here makes the test fail on a kfreebsd system
(obviously), so we just use something totally madeup in the hope that
this is less like to conflict in the future.

Git-Dch: Ignore

10 years agomake GetLocalitySortedVersionSet more generic
David Kalnischkies [Tue, 2 Sep 2014 16:20:49 +0000 (18:20 +0200)] 
make GetLocalitySortedVersionSet more generic

No reason in and of by itself at the moment, but prepares for the goal
of having 'apt search' and 'apt-cache search' using the same code now
that they at least support the same stuff. The 'apt' code is just a
multitude slower at the moment…

Git-Dch: Ignore

10 years agoimplement --full in apt search
David Kalnischkies [Tue, 2 Sep 2014 12:32:48 +0000 (14:32 +0200)] 
implement --full in apt search

10 years agouse a format string in ListSingleVersion
David Kalnischkies [Mon, 1 Sep 2014 19:43:15 +0000 (21:43 +0200)] 
use a format string in ListSingleVersion

The method already deals with a format string, but had an else path
doing a hardcoded format as well. This is changed now to use the same
code for both - the format in the second case is still fixed though.

Git-Dch: Ignore

10 years agoskip version if we already have this package as search-result
David Kalnischkies [Mon, 1 Sep 2014 17:09:40 +0000 (19:09 +0200)] 
skip version if we already have this package as search-result

Git-Dch: Ignore

10 years agosupport regular expressions in 'apt search'
David Kalnischkies [Sat, 30 Aug 2014 09:29:45 +0000 (11:29 +0200)] 
support regular expressions in 'apt search'

apt-cache search supported this since ever and in the code for apt was a
fixme indicating this should be added here as well, so here we go.

10 years agoImprove Debug::Acquire::http debug output
Michael Vogt [Fri, 5 Sep 2014 14:24:32 +0000 (16:24 +0200)] 
Improve Debug::Acquire::http debug output

Prefix all answers with the URL that the answer is for. This
helps when debugging and pipeline is enabled.

10 years agoMerge remote-tracking branch 'upstream/debian/experimental' into feature/acq-trans
Michael Vogt [Fri, 5 Sep 2014 12:47:22 +0000 (14:47 +0200)] 
Merge remote-tracking branch 'upstream/debian/experimental' into feature/acq-trans

10 years agoMerge branch 'debian/sid' into debian/experimental
Michael Vogt [Fri, 5 Sep 2014 12:41:54 +0000 (14:41 +0200)] 
Merge branch 'debian/sid' into debian/experimental

Conflicts:
apt-pkg/acquire-item.cc
configure.ac
debian/changelog
doc/apt-verbatim.ent
doc/po/apt-doc.pot
doc/po/de.po
doc/po/es.po
doc/po/fr.po
doc/po/it.po
doc/po/ja.po
doc/po/pt.po
po/ar.po
po/ast.po
po/bg.po
po/bs.po
po/ca.po
po/cs.po
po/cy.po
po/da.po
po/de.po
po/dz.po
po/el.po
po/es.po
po/eu.po
po/fi.po
po/fr.po
po/gl.po
po/hu.po
po/it.po
po/ja.po
po/km.po
po/ko.po
po/ku.po
po/lt.po
po/mr.po
po/nb.po
po/ne.po
po/nl.po
po/nn.po
po/pl.po
po/pt.po
po/pt_BR.po
po/ro.po
po/ru.po
po/sk.po
po/sl.po
po/sv.po
po/th.po
po/tl.po
po/tr.po
po/uk.po
po/vi.po
po/zh_CN.po
po/zh_TW.po
test/integration/test-ubuntu-bug-346386-apt-get-update-paywall

10 years agoEnsure we have a Policy in CacheFile.BuildDepCache()
Michael Vogt [Fri, 5 Sep 2014 10:50:15 +0000 (12:50 +0200)] 
Ensure we have a Policy in CacheFile.BuildDepCache()

This partly reverts d059cc2 and fixes bug #753297 in a more
general way by ensuring that CacheFile.BuildDepCache() builds
a pkgPolicy if there isn't one already.

10 years agoFix incorrect upgradable listing in "apt list" (thanks to Michael Musenbrock)
Michael Vogt [Fri, 5 Sep 2014 10:03:28 +0000 (12:03 +0200)] 
Fix incorrect upgradable listing in "apt list" (thanks to Michael Musenbrock)

The "apt list" command was using only the pkgDepCache but not the
pkgPolicy to figure out if a package is upgradable. This lead to
incorrect display of upgradable package when the user used the
policy to pin-down packages. Thanks to Michael Musenbrock for the
initial patch.

Closes: #753297
10 years agotest/integration/test-ubuntu-bug-346386-apt-get-update-paywall: use downloadfile()
Michael Vogt [Wed, 3 Sep 2014 14:54:16 +0000 (16:54 +0200)] 
test/integration/test-ubuntu-bug-346386-apt-get-update-paywall: use downloadfile()

10 years agoRun autopkgtest tests with "env -i" to avoid pollution from the host env
Michael Vogt [Tue, 2 Sep 2014 15:30:45 +0000 (17:30 +0200)] 
Run autopkgtest tests with "env -i" to avoid pollution from the host env

Closes: #759655
10 years agoMake Packages & Sources generation optional, during Generate call
Dimitri John Ledkov [Fri, 18 Jul 2014 15:06:34 +0000 (16:06 +0100)] 
Make Packages & Sources generation optional, during Generate call

refactor a bit, extract code out of Generate() into
DoGenerate{PackagesAndSources,Contents}, add new
APT::FTPArchive::ContentsOnly option to allow skipping the generation
of Package/Source files (if they are generated e.g. by some db outside
of apt-ftparchives control)

10 years agoUse heap to allocate PatternMatch to avoid potential stack overflow
Michael Vogt [Tue, 2 Sep 2014 15:06:52 +0000 (17:06 +0200)] 
Use heap to allocate PatternMatch to avoid potential stack overflow

When apt-cache search with many args (> 130) is given the allocation
of PatternMatch on the stack may fail resulting in a segmentation
fault. By using the heap the max size is much bigger and we also
get a bad_alloc expection instead of a segfault (which we can catch
*if* this ever becomes a pratical problem). No test for the crash
as its not reproducable with the MALLOC_ settings in framework.

Closes: 759612
10 years ago* apt-pkg/deb/dpkgpm.cc:
Michael Vogt [Tue, 2 Sep 2014 15:24:24 +0000 (17:24 +0200)] 
* apt-pkg/deb/dpkgpm.cc:
    - update string matching for dpkg I/O errors. (LP: #1363257)
    - properly parse the dpkg status line so that package name is properly set
      and an apport report is created. Thanks to Anders Kaseorg for the patch.
      (LP: #1353171)

10 years agoAdd testcase for apt list --all-versions
Michael Vogt [Tue, 2 Sep 2014 14:36:32 +0000 (16:36 +0200)] 
Add testcase for apt list --all-versions

Dch-Ignore: true

10 years agoAvoid yielding blank lines with APT::Cmd::use-format=true
Andreas Oberritter [Tue, 2 Sep 2014 14:34:05 +0000 (16:34 +0200)] 
Avoid yielding blank lines with APT::Cmd::use-format=true

10 years agoMake Proxy-Auto-Detect check for each host
Michael Vogt [Tue, 2 Sep 2014 13:50:19 +0000 (15:50 +0200)] 
Make Proxy-Auto-Detect check for each host

When doing Acquire::http{,s}::Proxy-Auto-Detect, run the auto-detect
command for each host instead of only once. This should make using
"proxy" from libproxy-tools feasible which can then be used for PAC
style or other proxy configurations.

Closes: #759264
10 years agoinitialize iPolicyBrokenCount in DepCache::Update
Warren He [Fri, 29 Aug 2014 09:15:30 +0000 (11:15 +0200)] 
initialize iPolicyBrokenCount in DepCache::Update

All other counters are correctly initialized here, expect this one. The
practical effect is low as in apt we usually just do "!= 0" checks, but
only correct counters are good counters.

Closes: 758397
10 years agoPortuguese manpages translation update
Américo Monteiro [Fri, 29 Aug 2014 09:07:23 +0000 (11:07 +0200)] 
Portuguese manpages translation update

Closes: 759608
10 years agoThe following command otherwise yields many blank lines:
Andreas Oberritter [Thu, 28 Aug 2014 22:04:20 +0000 (15:04 -0700)] 
The following command otherwise yields many blank lines:
apt list -o APT::Cmd::use-format=true -o APT::Cmd::format=\${Package}

And even worse when adding "-o APT::Cmd::All-Versions=true".

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
10 years agoGerman program translation update
Holger Wansing [Thu, 28 Aug 2014 16:16:02 +0000 (18:16 +0200)] 
German program translation update

Closes: 758837
10 years agoreleasing 1.0.7 1.0.7
Michael Vogt [Thu, 28 Aug 2014 00:24:03 +0000 (00:24 +0000)] 
releasing 1.0.7

10 years agoprepare 1.0.7
Michael Vogt [Thu, 28 Aug 2014 00:14:51 +0000 (17:14 -0700)] 
prepare 1.0.7

10 years agosupport versioned provides as implemented by dpkg
David Kalnischkies [Sat, 16 Aug 2014 14:33:46 +0000 (16:33 +0200)] 
support versioned provides as implemented by dpkg

APT supported versioned provides for a long while in an attempt to get
it working with rpm. While this support is old, we can be relatively
sure that it works as versioned provides are used internally to make
Multi-Arch:foreign work.

Previous versions of apt will print a warning indicating that the
versioned provides is ignored, so that something which "Provides: foo (=
2)" doesn't provide anything.

Note that dpkg does allow only a equals-relation in the provides line
as anything else is deemed too complex. apt doesn't support anything
else either and such a support would require potentially big changes.

Closes: 758153
10 years agoadd dpkg::source-options for dpkg-source invocation
David Kalnischkies [Sat, 16 Aug 2014 11:29:10 +0000 (13:29 +0200)] 
add dpkg::source-options for dpkg-source invocation

dpkg-source can be told to enforce signature checks with
--require-valid-signature, but while this isn't feasible as default for
Debian itself at the moment, a local admin should be able to use it.

This commit also fixes the size limit on the construction of the command
being called for dpkg-source and dpkg-buildpackage.

Closes: 757534
10 years agoCzech program translation update
Miroslav Kure [Fri, 15 Aug 2014 17:42:41 +0000 (19:42 +0200)] 
Czech program translation update

Closes: 758208
10 years agoTurkish program translation update
Mert Dirik [Fri, 15 Aug 2014 17:37:39 +0000 (19:37 +0200)] 
Turkish program translation update

Closes: 756710
10 years agorewrite and extend new README file
David Kalnischkies [Sat, 19 Jul 2014 11:30:48 +0000 (13:30 +0200)] 
rewrite and extend new README file

Reuse description from the package descriptions and add various
subsection describing useful debug options and general information.

Git-Dch: Ignore

10 years agoremove obsolete documentation bits
David Kalnischkies [Sat, 19 Jul 2014 11:30:08 +0000 (13:30 +0200)] 
remove obsolete documentation bits

Git-Dch: Ignore

10 years agoensure that all docs use all entities files
David Kalnischkies [Fri, 18 Jul 2014 14:42:40 +0000 (16:42 +0200)] 
ensure that all docs use all entities files

Not all are needed for all files at the moment, but the new docbook
building hadn't available some of the entities it used as the files
weren't correctly copied around in all cases and having the same across
the bord makes working with all of them a little easier.

Git-Dch: Ignore

10 years agoparse debian/tests/control for test dependencies
David Kalnischkies [Fri, 18 Jul 2014 10:28:21 +0000 (12:28 +0200)] 
parse debian/tests/control for test dependencies

Our integration tests need some additional dependencies to run and
function correctly, but while multiple places run them, there is no need
to also specify the these dependencies in multiple places.

Git-Dch: Ignore

10 years agoadd shared code into pkgAcqMetaSigBase::GenerateAuthWarning()
Michael Vogt [Tue, 26 Aug 2014 03:58:02 +0000 (20:58 -0700)] 
add shared code into pkgAcqMetaSigBase::GenerateAuthWarning()

10 years agoall tests pass
Michael Vogt [Mon, 25 Aug 2014 04:30:44 +0000 (21:30 -0700)] 
all tests pass

10 years agomake the test-pdiff-usage code work again
Michael Vogt [Sun, 24 Aug 2014 23:16:49 +0000 (16:16 -0700)] 
make the test-pdiff-usage code work again

10 years agomake compressed-indexes test pass again
Michael Vogt [Sun, 24 Aug 2014 23:00:36 +0000 (16:00 -0700)] 
make compressed-indexes test pass again

10 years agocleanup
Michael Vogt [Sun, 24 Aug 2014 22:26:12 +0000 (15:26 -0700)] 
cleanup

10 years agoFix debListParser to accept "no" as a value for the Multi-Arch field
Julian Andres Klode [Sun, 24 Aug 2014 16:43:07 +0000 (18:43 +0200)] 
Fix debListParser to accept "no" as a value for the Multi-Arch field

Seems this was missed somehow.

Closes: #759099
10 years agoFix debListParser to accept "no" as a value for the Multi-Arch field
Julian Andres Klode [Sun, 24 Aug 2014 16:43:07 +0000 (18:43 +0200)] 
Fix debListParser to accept "no" as a value for the Multi-Arch field

Seems this was missed somehow.

Closes: #759099
10 years agoreally move clearsign check into pkgAcqMetaClearSig::Done()
Michael Vogt [Sat, 2 Aug 2014 03:44:50 +0000 (05:44 +0200)] 
really move clearsign check into pkgAcqMetaClearSig::Done()

10 years agoadd ims check verify
Michael Vogt [Sat, 2 Aug 2014 03:37:43 +0000 (05:37 +0200)] 
add ims check verify

10 years agomove clearsign check into pkgAcqMetaClearSig::Failed()
Michael Vogt [Sat, 2 Aug 2014 03:09:13 +0000 (05:09 +0200)] 
move clearsign check into pkgAcqMetaClearSig::Failed()

10 years agomake i-m-s work again
Michael Vogt [Fri, 1 Aug 2014 17:25:00 +0000 (19:25 +0200)] 
make i-m-s work again

10 years agoadd gzip test and todo
Michael Vogt [Fri, 1 Aug 2014 15:20:19 +0000 (17:20 +0200)] 
add gzip test and todo

10 years agomake errors more consistent
Michael Vogt [Fri, 1 Aug 2014 15:15:53 +0000 (17:15 +0200)] 
make errors more consistent

10 years agocheck hashes of compressed files as well
Michael Vogt [Fri, 1 Aug 2014 15:13:15 +0000 (17:13 +0200)] 
check hashes of compressed files as well

10 years agofix transactionid passing
Michael Vogt [Fri, 1 Aug 2014 09:46:16 +0000 (11:46 +0200)] 
fix transactionid passing

10 years agomve MetaKey into pkgAcqBaseIndex
Michael Vogt [Fri, 1 Aug 2014 09:06:47 +0000 (11:06 +0200)] 
mve MetaKey into pkgAcqBaseIndex

10 years agofail early (again) on gpg sig failures
Michael Vogt [Thu, 31 Jul 2014 17:24:36 +0000 (19:24 +0200)] 
fail early (again) on gpg sig failures

10 years agoensure InRelease->Release is transactional as well
Michael Vogt [Thu, 31 Jul 2014 16:40:05 +0000 (18:40 +0200)] 
ensure InRelease->Release is transactional as well

10 years agomake test_unauthenticated_to_invalid_inrelease work
Michael Vogt [Thu, 31 Jul 2014 08:02:27 +0000 (10:02 +0200)] 
make test_unauthenticated_to_invalid_inrelease work

10 years agomake test_inreleae_to_release_reverts_all work
Michael Vogt [Thu, 31 Jul 2014 08:00:26 +0000 (10:00 +0200)] 
make test_inreleae_to_release_reverts_all work

10 years agoRework TransactionID stuff
Michael Vogt [Thu, 31 Jul 2014 07:53:13 +0000 (09:53 +0200)] 
Rework TransactionID stuff

10 years agodoc/po/pt.po: updated, thanks to Américo Monteir
Michael Vogt [Tue, 29 Jul 2014 16:07:44 +0000 (18:07 +0200)] 
doc/po/pt.po: updated, thanks to Américo Monteir

Closes: #756200
10 years agodoc/apt.8.xml: fix typo, thanks to Jakub Wilk
Michael Vogt [Tue, 29 Jul 2014 15:54:03 +0000 (17:54 +0200)] 
doc/apt.8.xml: fix typo, thanks to Jakub Wilk

Closes: #756056
10 years agoFix SmartConfigure to ignore ordering of packages that are already valid
Michael Vogt [Tue, 29 Jul 2014 13:01:13 +0000 (15:01 +0200)] 
Fix SmartConfigure to ignore ordering of packages that are already valid

With the change of SmartConfigure() in git commit 42d51f the ordering
code was trying to re-order dependencies, even when at this point in
time this was not needed. Now it will first check all targets of the
given dependency and only if there is not a good one try to reorder
and unpack/configure as needed.

Closes: LP: #1347721
10 years agol10n: vi.po (636t): Update one new string
Trần Ngọc Quân [Thu, 24 Jul 2014 08:03:45 +0000 (15:03 +0700)] 
l10n: vi.po (636t): Update one new string

Signed-off-by: Trần Ngọc Quân <vnwildman@gmail.com>
10 years agoWIP cleanup pkgAcqMetaSig
Michael Vogt [Tue, 22 Jul 2014 09:35:30 +0000 (11:35 +0200)] 
WIP cleanup pkgAcqMetaSig

10 years agoDownload Release first, then Release.gpg
Michael Vogt [Mon, 21 Jul 2014 09:19:37 +0000 (11:19 +0200)] 
Download Release first, then Release.gpg

The old way of handling this was that pkgAcqMetaIndex was responsible
to check/move both Release and Release.gpg in place. This breaks
the assumption of the transaction that each pkgAcquire::Item has
a single File that its responsible for.

10 years agoadd pkgAcquire::TransactionHasError()
Michael Vogt [Fri, 18 Jul 2014 21:41:29 +0000 (23:41 +0200)] 
add pkgAcquire::TransactionHasError()

10 years agoWIP transaction based update
Michael Vogt [Fri, 18 Jul 2014 21:21:46 +0000 (23:21 +0200)] 
WIP transaction based update

10 years agoapt-pkg/acquire-item.cc: make pkgAcqDiffIndex more uniform
Michael Vogt [Thu, 17 Jul 2014 07:59:55 +0000 (09:59 +0200)] 
apt-pkg/acquire-item.cc: make pkgAcqDiffIndex more uniform

10 years agoUse @builddeps@ in the debian/tests/control file
Michael Vogt [Thu, 17 Jul 2014 07:59:01 +0000 (09:59 +0200)] 
Use @builddeps@ in the debian/tests/control file