Age | Commit message (Collapse) | Author |
|
|
|
- do not segfault in pinning if a package with this name doesn't exist.
Thanks to Ferdinand Thommes for the report!
|
|
|
|
|
|
|
|
|
|
- set permissions of term.log to root.adm and 644 (LP: #404724)
|
|
that is not needed
|
|
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
|
|
- include all known languages when building the apt cache
(LP: #794907)
|
|
- 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)
|
|
empty (its ok to have empty packages files)
|
|
|
|
(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)
|
|
- don't set deprecated APT::Acquire::Translation, thanks Jörg Sommer!
|
|
|
|
|
|
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.
|
|
|
|
- ensure for Multi-Arch:same packages that they are unpacked in
lock step even in immediate configuration (Closes: #618288)
|
|
to ships a patch for this so pretend to be nice and make it work (TM)
|
|
- replace non-posix gnu-extension strdupa with strdup
|
|
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
|
|
as if the recommends can't be installed there is not much sense in checking
if it a new recommends or not
|
|
for the three different dependencies
|
|
|
|
|
|
- apply fix for poorly worded 'locate file' error message from
Ben Finney, thanks! (Closes: #623171)
|
|
- print filename in the unmatching size warning (Closes: #623137)
|
|
- do not download TranslationIndex if no Translation-* will be
downloaded later on anyway (Closes: #624218)
|
|
- really ignore :arch in FindPkg() in non-multiarch environment
|
|
|
|
* apt-pkg/depcache.cc:
- Really release action groups only once (Closes: #622744)
* apt-pkg/acquire-item.cc:
- Only try to rename existing Release files (Closes: #622912)
|
|
|
|
- replace obsolete usleep with nanosleep
|
|
|
|
- let VisitRProvides report if the calls were successful
|
|
|
|
- write directly to stdout instead of creating the message in
memory first before writing to avoid hitting limits
|
|
#622912)
|
|
Niels Thykier, thanks! (Closes: #622805)
|
|
- really include 'rc' packages in the delete count by fixing a
typo which exists since 1999 in the source… (LP: #761175)
|
|
|
|
- Allow pinning by glob() expressions, and regular expressions
surrounded by slashes (the "/" character).
|
|
- Handle no space before "[" in build-dependencies (LP: #72344)
|
|
|
|
- Use Release files even if they cannot be verified (LP: #704595)
|
|
- Use RealFileExists() instead of FileExists(), allows amongst other
things a directory named Sources to exist on a CD-ROM (LP: #750694).
|
|
- use the native Architecture stored in the cache header instead of
loading it from configuration as suggested by Julian Andres Klode
|
|
that it is a needed "hack" to support multi-arch in the least breaking way
|