]>
git.saurik.com Git - apt.git/log
David Kalnischkies [Mon, 25 Jul 2011 10:52:50 +0000 (12:52 +0200)]
* 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
David Kalnischkies [Mon, 25 Jul 2011 10:37:06 +0000 (12:37 +0200)]
* apt-pkg/aptconfiguration.cc:
- ensure that native architecture is if not specified otherwise the
first architecture in the Architectures vector
David Kalnischkies [Sun, 24 Jul 2011 17:37:49 +0000 (19:37 +0200)]
move debug message about attempt install/remove to the responsible method
David Kalnischkies [Sun, 24 Jul 2011 17:26:38 +0000 (19:26 +0200)]
alternatively check in a versioned depends if the candidate is good
The old code used to do move on to versions behind the candidate in
cases the candidate wasn't a match, but as the Install request later
always installs the candidate (witch wasn't switched) this could have
never worked - and shouldn't in most cases anyway as:
a) it could only work for <, <=, != depends which are unusal
b) doesn't respect pinning, so it could install -1 versions
David Kalnischkies [Sun, 24 Jul 2011 17:15:20 +0000 (19:15 +0200)]
after this consider providing packages (if it is not a versioned dep)
David Kalnischkies [Sun, 24 Jul 2011 17:06:01 +0000 (19:06 +0200)]
move the detection for installed versions up as it is the easiest case
David Kalnischkies [Sun, 24 Jul 2011 17:04:18 +0000 (19:04 +0200)]
first round of reorder code without changing result
David Kalnischkies [Sun, 24 Jul 2011 17:03:15 +0000 (19:03 +0200)]
buildconflicts effect all architectures
David Kalnischkies [Sat, 23 Jul 2011 09:50:49 +0000 (11:50 +0200)]
you want to be nice and quote a filename just to be reminded by gpg
that it doesn't like that… remove superficial quoting to fix apt-key
David Kalnischkies [Sat, 16 Jul 2011 14:48:03 +0000 (16:48 +0200)]
* apt-pkg/policy.cc:
- emit an error on unknown APT::Default-Release value (Closes: #407511)
David Kalnischkies [Sat, 16 Jul 2011 12:57:37 +0000 (14:57 +0200)]
do not require unused partial dirs in 'source' (Closes: #633510)
John Feuerstein [Sat, 16 Jul 2011 12:37:52 +0000 (14:37 +0200)]
* doc/apt-cache.8.xml:
- apply madison typofix from John Feuerstein, thanks! (Closes: #633455)
David Kalnischkies [Sat, 16 Jul 2011 12:21:51 +0000 (14:21 +0200)]
* 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
Michael Vogt [Fri, 15 Jul 2011 08:39:58 +0000 (10:39 +0200)]
apt-pkg/contrib/configuration.cc: revert Configuration::Set() ABI break
Michael Vogt [Fri, 15 Jul 2011 07:45:33 +0000 (09:45 +0200)]
merged from lp:~donkult/apt/sid
David Kalnischkies [Fri, 15 Jul 2011 07:33:36 +0000 (09:33 +0200)]
* apt-pkg/depcache.cc:
- change default of APT::AutoRemove::SuggestsImportant to true
David Kalnischkies [Thu, 14 Jul 2011 19:28:50 +0000 (21:28 +0200)]
merge with debian-sid 0.8.15.2
Michael Vogt [Thu, 14 Jul 2011 09:30:02 +0000 (11:30 +0200)]
merged from the mvo branch and add proper changelog
Michael Vogt [Thu, 14 Jul 2011 09:20:28 +0000 (11:20 +0200)]
merged from debian-sid
Michael Vogt [Thu, 14 Jul 2011 09:03:55 +0000 (11:03 +0200)]
make ResolveByKeep() more clever and hold back packages that would go into a broken policy state by the upgrade
Michael Vogt [Wed, 13 Jul 2011 17:02:10 +0000 (19:02 +0200)]
fix from David Kalnischkies for the InRelease gpg verification
code (LP: #784473)
Michael Vogt [Wed, 13 Jul 2011 11:47:25 +0000 (13:47 +0200)]
apt-pkg/aptconfiguration.h: fix copy/paste error in getCompressionTypes() description
David Kalnischkies [Wed, 6 Jul 2011 11:41:18 +0000 (13:41 +0200)]
* apt-pkg/init.cc:
- use CndSet in pkgInitConfig (Closes: #629617)
David Kalnischkies [Wed, 6 Jul 2011 10:46:29 +0000 (12:46 +0200)]
* cmdline/apt-get.cc:
- restore all important dependencies for garbage packages (LP: #806274)
David Kalnischkies [Tue, 5 Jul 2011 13:34:43 +0000 (15:34 +0200)]
* doc/apt.conf.5.xml:
- document APT::Architectures list (Closes: #612102)
David Kalnischkies [Tue, 5 Jul 2011 13:14:25 +0000 (15:14 +0200)]
* doc/sources.list.5.xml:
- document available [options] for sources.list entries (Closes: 632441)
Michael Vogt [Fri, 1 Jul 2011 13:10:28 +0000 (14:10 +0100)]
apt-pkg/acquire-item.cc: improve error message for valid-until
David Kalnischkies [Thu, 30 Jun 2011 12:24:59 +0000 (14:24 +0200)]
remove empty line dpkg-gensymbols complains about
David Kalnischkies [Thu, 30 Jun 2011 12:05:03 +0000 (14:05 +0200)]
* 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)
David Kalnischkies [Thu, 30 Jun 2011 11:59:36 +0000 (13:59 +0200)]
merge with debian-sid 0.8.15.1
Michael Vogt [Thu, 30 Jun 2011 08:14:38 +0000 (10:14 +0200)]
releasing version 0.8.15.1
Michael Vogt [Thu, 30 Jun 2011 07:33:19 +0000 (08:33 +0100)]
* doc/makefile:
- create doxygen directory to avoid depending on magic (Closes: #628799)
* cmdline/apt-key:
- explicitly state that net-update is not supported if no url is set
- require to be root for add, rm, update and net-update
- clarify update vs. net-update in different distros (Closes: #632043)
* debian/apt.symbols:
- forgot 'mips' in the list for all architecture dependent symbols
- comment out gcc-4.5 specific symbols as gcc-4.6 is now default
- the symbol for PrintStatus() is architecture dependent
* apt-pkg/policy.cc:
- do not segfault in pinning if a package with this name doesn't exist.
Thanks to Ferdinand Thommes for the report!
- Defaults is a vector of Pin not of PkgPin
- ensure that only the first specific stanza for a package is used
- save all stanzas which had no effect in Unmatched
- allow package:architecure in Package:
David Kalnischkies [Wed, 29 Jun 2011 22:03:26 +0000 (00:03 +0200)]
allow package:architecure in Package:
David Kalnischkies [Wed, 29 Jun 2011 21:26:38 +0000 (23:26 +0200)]
- ensure that only the first specific stanza for a package is used
- save all stanzas which had no effect in Unmatched
David Kalnischkies [Wed, 29 Jun 2011 21:16:00 +0000 (23:16 +0200)]
Defaults is a vector of Pin not of PkgPin
David Kalnischkies [Wed, 29 Jun 2011 20:38:59 +0000 (22:38 +0200)]
* apt-pkg/policy.cc:
- do not segfault in pinning if a package with this name doesn't exist.
Thanks to Ferdinand Thommes for the report!
David Kalnischkies [Wed, 29 Jun 2011 16:46:20 +0000 (18:46 +0200)]
the symbol for PrintStatus() is architecture dependent
David Kalnischkies [Wed, 29 Jun 2011 16:46:01 +0000 (18:46 +0200)]
comment out gcc-4.5 specific symbols as gcc-4.6 is now default
David Kalnischkies [Wed, 29 Jun 2011 16:15:56 +0000 (18:15 +0200)]
* debian/apt.symbols:
- forgot 'mips' in the list for all architecture dependent symbols
David Kalnischkies [Wed, 29 Jun 2011 16:15:44 +0000 (18:15 +0200)]
clarify update vs. net-update in different distros (Closes: #632043)
David Kalnischkies [Wed, 29 Jun 2011 15:24:47 +0000 (17:24 +0200)]
require to be root for add, rm, update and net-update
David Kalnischkies [Wed, 29 Jun 2011 15:15:56 +0000 (17:15 +0200)]
* cmdline/apt-key:
- explicitly state that net-update is not supported if no url is set
David Kalnischkies [Wed, 29 Jun 2011 14:38:49 +0000 (16:38 +0200)]
* doc/makefile:
- create doxygen directory to avoid depending on magic (Closes: #628799)
David Kalnischkies [Wed, 29 Jun 2011 14:29:54 +0000 (16:29 +0200)]
merge with debian-sid release 0.8.15
Michael Vogt [Wed, 29 Jun 2011 10:15:35 +0000 (11:15 +0100)]
merged from debian-sid
Michael Vogt [Tue, 28 Jun 2011 16:49:01 +0000 (18:49 +0200)]
releasing version 0.8.15
Michael Vogt [Tue, 28 Jun 2011 16:00:07 +0000 (17:00 +0100)]
various typo and syntax corrections in doc/*.xml
Michael Vogt [Tue, 28 Jun 2011 15:27:48 +0000 (16:27 +0100)]
update symbol file (thanks to david)
Michael Vogt [Tue, 28 Jun 2011 14:51:33 +0000 (15:51 +0100)]
merged from lp:~mvo/apt/mvo
Michael Vogt [Tue, 28 Jun 2011 14:49:45 +0000 (15:49 +0100)]
merged from donkult
Michael Vogt [Tue, 28 Jun 2011 14:46:28 +0000 (15:46 +0100)]
change to 0.8.14.2
Michael Vogt [Tue, 28 Jun 2011 14:45:59 +0000 (15:45 +0100)]
cherry pick from donkult
Michael Vogt [Mon, 27 Jun 2011 08:46:41 +0000 (10:46 +0200)]
* apt-pkg/deb/dpkgpm.cc:
- set permissions of term.log to root.adm and 644 (LP: #404724)
bubulle@debian.org [Sat, 18 Jun 2011 11:56:21 +0000 (13:56 +0200)]
Catalan translation update (Jordi Mallach). Closes: #630657
bubulle@debian.org [Thu, 9 Jun 2011 20:48:35 +0000 (22:48 +0200)]
German documentation translation update (Chris Leick). Closes: #629949
Michael Vogt [Thu, 9 Jun 2011 12:02:03 +0000 (14:02 +0200)]
update changelog for the previous two commits
Michael Vogt [Thu, 9 Jun 2011 11:30:08 +0000 (13:30 +0200)]
apt-pkg/deb/debindexfile.cc: kill off another TranslationsAvailable() usage that is not needed
Michael Vogt [Thu, 9 Jun 2011 11:24:36 +0000 (13:24 +0200)]
apt-pkg/deb/debindexfile.cc: remove tests for TranslationsAvailable() as this will break adding translations to the cache if the current environment does not include the language (e.g. LANG=C but german translations). testing for existance of the file is the better approach
Michael Vogt [Thu, 9 Jun 2011 09:51:45 +0000 (11:51 +0200)]
* apt-pkg/deb/deblistparser.cc:
- include all known languages when building the apt cache
(LP: #794907)
Michael Vogt [Tue, 7 Jun 2011 11:21:47 +0000 (13:21 +0200)]
append the dist (e.g. sid, wheezy) as a query string when
asking for a suitable mirror
Michael Vogt [Tue, 7 Jun 2011 06:48:09 +0000 (08:48 +0200)]
* methods/mirror.cc:
- ignore lines starting with "#" in the mirror file
- ignore non http urls in the mirrors
David Kalnischkies [Mon, 6 Jun 2011 19:33:55 +0000 (21:33 +0200)]
revert 2114.1.12 as doxygen does this for use now
David Kalnischkies [Mon, 6 Jun 2011 19:29:16 +0000 (21:29 +0200)]
* apt-pkg/indexcopy.cc:
- Verify that the first line of an InRelease file is a PGP header
for a signed message. Otherwise a man-in-the-middle can prefix
a valid InRelease file with his own data! (CVE-2011-1829)
David Kalnischkies [Mon, 6 Jun 2011 19:23:00 +0000 (21:23 +0200)]
add a very dumb pause method to stop test-execution
Michael Vogt [Tue, 31 May 2011 08:56:06 +0000 (10:56 +0200)]
merge from lp:~mvo/apt/mvo
Michael Vogt [Tue, 31 May 2011 08:40:53 +0000 (10:40 +0200)]
apt-pkg/acquire-item.cc: only test packages file for correctness if its not empty (its ok to have empty packages files)
Michael Vogt [Tue, 31 May 2011 08:34:56 +0000 (10:34 +0200)]
merged from the debian branch
Julian Andres Klode [Mon, 30 May 2011 12:14:11 +0000 (14:14 +0200)]
Reject files known to be invalid (LP: #346386) (Closes: #627642)
Julian Andres Klode [Mon, 30 May 2011 12:04:01 +0000 (14:04 +0200)]
apt-pkg/acquire-item.cc: Reject files known to be invalid (LP: #346386) (Closes: #195301)
This commit deals with the following cases:
- First section of index file (Packages,Sources,Translation) without Package field
- Signed release files without GPG data (NODATA)
- i18n/Index files without hash sums
Handling unsigned Release files is more complicated, and the example code
using indexRecords is disabled as it can reject correct Release files
without hashes. How we can reliably check unsigned Release files is
another question, and not urgent anyway, as it should have no
dramatic effect (we could check that it is a valid RFC-822 section,
but that's a bit too long to write)
David Kalnischkies [Sat, 28 May 2011 08:56:46 +0000 (10:56 +0200)]
* cmdline/apt-config.cc:
- show Acquire::Languages and APT::Architectures settings
in 'dump' (Closes: 626739)
Jörg Sommer [Sat, 28 May 2011 08:54:10 +0000 (10:54 +0200)]
* apt-pkg/init.cc:
- don't set deprecated APT::Acquire::Translation, thanks Jörg Sommer!
Jörg Sommer [Sat, 28 May 2011 08:14:43 +0000 (10:14 +0200)]
use the correct option name in comment for Acquire::Languages
bubulle@debian.org [Wed, 25 May 2011 12:45:04 +0000 (14:45 +0200)]
Italian translation update (Milo Casagrande). Closes: #627834
Michael Vogt [Wed, 25 May 2011 12:43:05 +0000 (14:43 +0200)]
debian/changelog: next version will be 0.8.15
David Kalnischkies [Mon, 23 May 2011 16:10:48 +0000 (18:10 +0200)]
log reinstall commands in history.log
David Kalnischkies [Thu, 19 May 2011 12:16:43 +0000 (14:16 +0200)]
remove invalid pkgcache.bin and rebuild it if possible
The next invocation of APT tried to load an outdated big
(and possible io-cold) file just to end up rebuilding it
(possibly only as non-root in memory again and again), so
we remove it here and if we have a srcpkgcache we are
going to rebuild, too.
David Kalnischkies [Tue, 17 May 2011 13:15:13 +0000 (15:15 +0200)]
rename I to J to avoid redefining a variable (clang warning)
David Kalnischkies [Tue, 17 May 2011 13:13:56 +0000 (15:13 +0200)]
ServerState is a struct and not a class (clang mismatch type warning)
David Kalnischkies [Tue, 17 May 2011 13:12:04 +0000 (15:12 +0200)]
remove Size >= 0 check as Itm.Size is an unsigned variable (clang warning)
Michael Vogt [Mon, 16 May 2011 13:57:52 +0000 (15:57 +0200)]
merged from lp:~donkult/apt/sid
David Kalnischkies [Mon, 16 May 2011 09:41:43 +0000 (11:41 +0200)]
* apt-pkg/packagemanager.cc:
- ensure for Multi-Arch:same packages that they are unpacked in
lock step even in immediate configuration (Closes: #618288)
bubulle@debian.org [Fri, 13 May 2011 21:00:18 +0000 (23:00 +0200)]
Galician translation update (Miguel Anxo Bouzada). Closes: #626505
David Kalnischkies [Thu, 12 May 2011 23:14:50 +0000 (01:14 +0200)]
MAP_ANON is deprecated in favor of MAP_ANONYMOUS, but telesphoreo needs
to ships a patch for this so pretend to be nice and make it work (TM)
David Kalnischkies [Thu, 12 May 2011 23:12:21 +0000 (01:12 +0200)]
* apt-pkg/contrib/netrc.cc:
- replace non-posix gnu-extension strdupa with strdup
David Kalnischkies [Thu, 12 May 2011 22:07:22 +0000 (00:07 +0200)]
rewrite new and previously satisfied important dependency detection in
MarkInstall to be a bit more easy to read and possibily a bit faster -
and add a small testcase for these situations to ensure the same behaviour
David Kalnischkies [Thu, 12 May 2011 10:45:37 +0000 (12:45 +0200)]
move the broken dependency detection above the new recommends detection
as if the recommends can't be installed there is not much sense in checking
if it a new recommends or not
David Kalnischkies [Wed, 11 May 2011 14:05:30 +0000 (16:05 +0200)]
convert a lot of places to use IsNegative instead of checking by hand
for the three different dependencies
David Kalnischkies [Wed, 11 May 2011 12:09:18 +0000 (14:09 +0200)]
if critical or-group can't be satisfied, exit directly.
David Kalnischkies [Tue, 10 May 2011 16:51:29 +0000 (18:51 +0200)]
fix order of CurrentURI and UsedMirror in Status() and Log()
David Kalnischkies [Tue, 10 May 2011 13:49:25 +0000 (15:49 +0200)]
dequote URL taken from Location in redirects as we will otherwise
quote an already quoted string in the request later (Closes: #602412)
David Kalnischkies [Thu, 28 Apr 2011 23:20:44 +0000 (01:20 +0200)]
Location header in redirects should be absolute URI, but some
servers just send an absolute path so still deal with it properly
Julian Andres Klode [Wed, 27 Apr 2011 12:52:49 +0000 (14:52 +0200)]
* debian/control:
- Move ${shlibs:Depends} to Pre-Depends, as we do not want APT
unpacked if a library is too old and thus break upgrades
David Kalnischkies [Wed, 27 Apr 2011 12:38:48 +0000 (14:38 +0200)]
support lighttpd as test webserver but still prefer weborf
David Kalnischkies [Wed, 27 Apr 2011 08:32:53 +0000 (10:32 +0200)]
* methods/http.cc:
- add config option to ignore a closed stdin to be able to easily
use the method as a simple standalone downloader
Ben Finney [Tue, 26 Apr 2011 20:45:31 +0000 (22:45 +0200)]
* apt-pkg/acquire-item.cc:
- apply fix for poorly worded 'locate file' error message from
Ben Finney, thanks! (Closes: #623171)
David Kalnischkies [Tue, 26 Apr 2011 20:37:46 +0000 (22:37 +0200)]
* apt-pkg/acquire-worker.cc:
- print filename in the unmatching size warning (Closes: #623137)
David Kalnischkies [Tue, 26 Apr 2011 17:30:21 +0000 (19:30 +0200)]
* test/versions.lst:
- disable obscure version number tests with versions dpkg doesn't
allow any more as they don't start with a number
David Kalnischkies [Tue, 26 Apr 2011 17:15:29 +0000 (19:15 +0200)]
* apt-pkg/deb/debmetaindex.cc:
- do not download TranslationIndex if no Translation-* will be
downloaded later on anyway (Closes: #624218)
Chris Leick [Tue, 26 Apr 2011 15:43:15 +0000 (17:43 +0200)]
* doc/po/de.po:
- undo the translation of the command 'dump' in manpage of apt-config
as report by Burghard Grossmann on debian-l10n-german, thanks!
David Kalnischkies [Tue, 26 Apr 2011 15:29:54 +0000 (17:29 +0200)]
provide a 'dpkg --set-selections' wrapper to set/release holds