summaryrefslogtreecommitdiff
path: root/apt-pkg
AgeCommit message (Collapse)AuthorFilesLines
2011-06-30* doc/makefile:Michael Vogt2-20/+45
- 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:
2011-06-28merged from lp:~mvo/apt/mvoMichael Vogt3-12/+15
2011-06-28merged from donkultMichael Vogt5-28/+55
2011-06-28cherry pick from donkultMichael Vogt1-0/+6
2011-06-27* apt-pkg/deb/dpkgpm.cc:Michael Vogt1-1/+9
- set permissions of term.log to root.adm and 644 (LP: #404724)
2011-06-09apt-pkg/deb/debindexfile.cc: kill off another TranslationsAvailable() usage ↵Michael Vogt1-6/+4
that is not needed
2011-06-09apt-pkg/deb/debindexfile.cc: remove tests for TranslationsAvailable() as ↵Michael Vogt1-4/+1
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
2011-06-09* apt-pkg/deb/deblistparser.cc:Michael Vogt1-1/+1
- include all known languages when building the apt cache (LP: #794907)
2011-05-31apt-pkg/acquire-item.cc: only test packages file for correctness if its not ↵Michael Vogt1-11/+14
empty (its ok to have empty packages files)
2011-05-30Reject files known to be invalid (LP: #346386) (Closes: #627642)Julian Andres Klode1-4/+4
2011-05-30apt-pkg/acquire-item.cc: Reject files known to be invalid (LP: #346386) ↵Julian Andres Klode1-0/+45
(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)
2011-05-28* apt-pkg/init.cc:Jörg Sommer1-3/+0
- don't set deprecated APT::Acquire::Translation, thanks Jörg Sommer!
2011-05-28use the correct option name in comment for Acquire::LanguagesJörg Sommer1-1/+1
2011-05-23log reinstall commands in history.logDavid Kalnischkies2-18/+31
2011-05-19remove invalid pkgcache.bin and rebuild it if possibleDavid Kalnischkies1-1/+18
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.
2011-05-17rename I to J to avoid redefining a variable (clang warning)David Kalnischkies1-5/+5
2011-05-16* apt-pkg/packagemanager.cc:David Kalnischkies2-7/+39
- ensure for Multi-Arch:same packages that they are unpacked in lock step even in immediate configuration (Closes: #618288)
2011-05-13MAP_ANON is deprecated in favor of MAP_ANONYMOUS, but telesphoreo needsDavid Kalnischkies1-0/+8
to ships a patch for this so pretend to be nice and make it work (TM)
2011-05-13* apt-pkg/contrib/netrc.cc:David Kalnischkies1-4/+8
- replace non-posix gnu-extension strdupa with strdup
2011-05-13rewrite new and previously satisfied important dependency detection inDavid Kalnischkies1-43/+40
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
2011-05-12move the broken dependency detection above the new recommends detectionDavid Kalnischkies1-16/+16
as if the recommends can't be installed there is not much sense in checking if it a new recommends or not
2011-05-11convert a lot of places to use IsNegative instead of checking by handDavid Kalnischkies4-62/+22
for the three different dependencies
2011-05-11if critical or-group can't be satisfied, exit directly.David Kalnischkies3-2/+24
2011-05-10fix order of CurrentURI and UsedMirror in Status() and Log()David Kalnischkies2-18/+23
2011-04-26* apt-pkg/acquire-item.cc:Ben Finney1-1/+1
- apply fix for poorly worded 'locate file' error message from Ben Finney, thanks! (Closes: #623171)
2011-04-26* apt-pkg/acquire-worker.cc:David Kalnischkies1-6/+5
- print filename in the unmatching size warning (Closes: #623137)
2011-04-26* apt-pkg/deb/debmetaindex.cc:David Kalnischkies1-1/+4
- do not download TranslationIndex if no Translation-* will be downloaded later on anyway (Closes: #624218)
2011-04-25* apt-pkg/pkgcache.cc:David Kalnischkies1-3/+6
- really ignore :arch in FindPkg() in non-multiarch environment
2011-04-21simplify the code for wildcard pinning a bitDavid Kalnischkies1-10/+7
2011-04-20merge with debian-sid branch and 0.8.14.1 releaseDavid Kalnischkies2-2/+2
* 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)
2011-04-18apt-pkg/depcache.cc: Really release action groups only once (Closes: #622744)Julian Andres Klode1-1/+1
2011-04-16* apt-pkg/deb/dpkgpm.cc:David Kalnischkies1-2/+3
- replace obsolete usleep with nanosleep
2011-04-16cppcheck: (style) Variable 'State' is assigned a value that is never usedDavid Kalnischkies1-3/+1
2011-04-16* apt-pkg/orderlist.cc:David Kalnischkies1-1/+1
- let VisitRProvides report if the calls were successful
2011-04-16remove the extra unnecessary qualification cppcheck complains aboutDavid Kalnischkies1-13/+13
2011-04-16* apt-pkg/acquire-method.cc:David Kalnischkies1-139/+90
- write directly to stdout instead of creating the message in memory first before writing to avoid hitting limits
2011-04-16apt-pkg/acquire-item.cc: Only try to rename existing Release files (Closes: ↵Julian Andres Klode1-1/+1
#622912)
2011-04-16fix a bunch of cppcheck warnings/errors based on a patch byDavid Kalnischkies3-40/+66
Niels Thykier, thanks! (Closes: #622805)
2011-04-16* apt-pkg/depcache.cc:David Kalnischkies1-2/+2
- really include 'rc' packages in the delete count by fixing a typo which exists since 1999 in the source… (LP: #761175)
2011-04-15Merge from DonKultJulian Andres Klode3-7/+18
2011-04-15* apt-pkg/policy.cc:Julian Andres Klode1-0/+15
- Allow pinning by glob() expressions, and regular expressions surrounded by slashes (the "/" character).
2011-04-14* apt-pkg/deb/deblistparser.cc:Julian Andres Klode1-1/+1
- Handle no space before "[" in build-dependencies (LP: #72344)
2011-04-08merged from the mvo branchMichael Vogt1-1/+1
2011-04-08* apt-pkg/acquire-item.cc:Julian Andres Klode1-0/+20
- Use Release files even if they cannot be verified (LP: #704595)
2011-04-07* apt-pkg/indexcopy.cc:Julian Andres Klode1-5/+5
- Use RealFileExists() instead of FileExists(), allows amongst other things a directory named Sources to exist on a CD-ROM (LP: #750694).
2011-04-06* apt-pkg/pkgcache.cc:David Kalnischkies3-7/+15
- use the native Architecture stored in the cache header instead of loading it from configuration as suggested by Julian Andres Klode
2011-04-06document the pkg:any specialcasing in FindPkg as well to make it clearDavid Kalnischkies1-0/+3
that it is a needed "hack" to support multi-arch in the least breaking way
2011-04-05* apt-pkg/aptconfiguration.cc:Michael Vogt1-1/+1
- fix comparing for a empty string
2011-04-04merged from lp:~donkult/apt/sidMichael Vogt16-130/+191
2011-04-02apt-pkg/acquire-item.cc: Use stat buffer if stat was0.8.13.1Julian Andres Klode1-1/+1
successful, not if it failed (Closes: #620546)