summaryrefslogtreecommitdiff
path: root/apt-pkg
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | use the correct option name in comment for Acquire::LanguagesJörg Sommer2011-05-281-1/+1
| | | | | | |
| * | | | | | log reinstall commands in history.logDavid Kalnischkies2011-05-232-18/+31
| | | | | | |
| * | | | | | remove invalid pkgcache.bin and rebuild it if possibleDavid Kalnischkies2011-05-191-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.
| * | | | | rename I to J to avoid redefining a variable (clang warning)David Kalnischkies2011-05-171-5/+5
| | | | | |
* | | | | | cherry pick from donkultMichael Vogt2011-06-281-0/+6
| |/ / / / |/| | | |
* | | | | apt-pkg/acquire-item.cc: only test packages file for correctness if its not ↵Michael Vogt2011-05-311-11/+14
| | | | | | | | | | | | | | | | | | | | empty (its ok to have empty packages files)
* | | | | Reject files known to be invalid (LP: #346386) (Closes: #627642)Julian Andres Klode2011-05-301-4/+4
| | | | |
* | | | | apt-pkg/acquire-item.cc: Reject files known to be invalid (LP: #346386) ↵Julian Andres Klode2011-05-301-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)
* | | | * apt-pkg/packagemanager.cc:David Kalnischkies2011-05-162-7/+39
| | | | | | | | | | | | | | | | - ensure for Multi-Arch:same packages that they are unpacked in lock step even in immediate configuration (Closes: #618288)
* | | | MAP_ANON is deprecated in favor of MAP_ANONYMOUS, but telesphoreo needsDavid Kalnischkies2011-05-131-0/+8
| | | | | | | | | | | | | | | | to ships a patch for this so pretend to be nice and make it work (TM)
* | | | * apt-pkg/contrib/netrc.cc:David Kalnischkies2011-05-131-4/+8
| | | | | | | | | | | | - replace non-posix gnu-extension strdupa with strdup
* | | | rewrite new and previously satisfied important dependency detection inDavid Kalnischkies2011-05-131-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
* | | | move the broken dependency detection above the new recommends detectionDavid Kalnischkies2011-05-121-16/+16
| | | | | | | | | | | | | | | | | | | | as if the recommends can't be installed there is not much sense in checking if it a new recommends or not
* | | | convert a lot of places to use IsNegative instead of checking by handDavid Kalnischkies2011-05-114-62/+22
| | | | | | | | | | | | | | | | for the three different dependencies
* | | | if critical or-group can't be satisfied, exit directly.David Kalnischkies2011-05-113-2/+24
| | | |
* | | | fix order of CurrentURI and UsedMirror in Status() and Log()David Kalnischkies2011-05-102-18/+23
| | | |
* | | | * apt-pkg/acquire-item.cc:Ben Finney2011-04-261-1/+1
| | | | | | | | | | | | | | | | | | | | - apply fix for poorly worded 'locate file' error message from Ben Finney, thanks! (Closes: #623171)
* | | | * apt-pkg/acquire-worker.cc:David Kalnischkies2011-04-261-6/+5
| | | | | | | | | | | | - print filename in the unmatching size warning (Closes: #623137)
* | | | * apt-pkg/deb/debmetaindex.cc:David Kalnischkies2011-04-261-1/+4
| | | | | | | | | | | | | | | | - do not download TranslationIndex if no Translation-* will be downloaded later on anyway (Closes: #624218)
* | | | * apt-pkg/pkgcache.cc:David Kalnischkies2011-04-251-3/+6
| | | | | | | | | | | | - really ignore :arch in FindPkg() in non-multiarch environment
* | | | simplify the code for wildcard pinning a bitDavid Kalnischkies2011-04-211-10/+7
| | | |
* | | | merge with debian-sid branch and 0.8.14.1 releaseDavid Kalnischkies2011-04-202-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)
| * | | | apt-pkg/depcache.cc: Really release action groups only once (Closes: #622744)Julian Andres Klode2011-04-181-1/+1
| | | | |
| * | | | apt-pkg/acquire-item.cc: Only try to rename existing Release files (Closes: ↵Julian Andres Klode2011-04-161-1/+1
| | | | | | | | | | | | | | | | | | | | #622912)
* | | | | * apt-pkg/deb/dpkgpm.cc:David Kalnischkies2011-04-161-2/+3
| | | | | | | | | | | | | | | - replace obsolete usleep with nanosleep
* | | | | cppcheck: (style) Variable 'State' is assigned a value that is never usedDavid Kalnischkies2011-04-161-3/+1
| | | | |
* | | | | * apt-pkg/orderlist.cc:David Kalnischkies2011-04-161-1/+1
| | | | | | | | | | | | | | | - let VisitRProvides report if the calls were successful
* | | | | remove the extra unnecessary qualification cppcheck complains aboutDavid Kalnischkies2011-04-161-13/+13
| | | | |
* | | | | * apt-pkg/acquire-method.cc:David Kalnischkies2011-04-161-139/+90
| | | | | | | | | | | | | | | | | | | | - write directly to stdout instead of creating the message in memory first before writing to avoid hitting limits
* | | | | fix a bunch of cppcheck warnings/errors based on a patch byDavid Kalnischkies2011-04-163-40/+66
| | | | | | | | | | | | | | | Niels Thykier, thanks! (Closes: #622805)
* | | | | * apt-pkg/depcache.cc:David Kalnischkies2011-04-161-2/+2
|/ / / / | | | | | | | | | | | | - really include 'rc' packages in the delete count by fixing a typo which exists since 1999 in the source… (LP: #761175)
* | | | Merge from DonKultJulian Andres Klode2011-04-153-7/+18
|\ \ \ \
| * | | | * apt-pkg/pkgcache.cc:David Kalnischkies2011-04-063-7/+15
| | | | | | | | | | | | | | | | | | | | - use the native Architecture stored in the cache header instead of loading it from configuration as suggested by Julian Andres Klode
| * | | | document the pkg:any specialcasing in FindPkg as well to make it clearDavid Kalnischkies2011-04-061-0/+3
| | | | | | | | | | | | | | | | | | | | that it is a needed "hack" to support multi-arch in the least breaking way
* | | | | * apt-pkg/policy.cc:Julian Andres Klode2011-04-151-0/+15
| | | | | | | | | | | | | | | | | | | | - Allow pinning by glob() expressions, and regular expressions surrounded by slashes (the "/" character).
* | | | | * apt-pkg/deb/deblistparser.cc:Julian Andres Klode2011-04-141-1/+1
| | | | | | | | | | | | | | | - Handle no space before "[" in build-dependencies (LP: #72344)
* | | | | merged from the mvo branchMichael Vogt2011-04-081-1/+1
|\ \ \ \ \
| * | | | | * apt-pkg/aptconfiguration.cc:Michael Vogt2011-04-051-1/+1
| |/ / / / | | | | | | | | | | - fix comparing for a empty string
* | | | | * apt-pkg/acquire-item.cc:Julian Andres Klode2011-04-081-0/+20
| | | | | | | | | | | | | | | - Use Release files even if they cannot be verified (LP: #704595)
* | | | | * apt-pkg/indexcopy.cc:Julian Andres Klode2011-04-071-5/+5
|/ / / / | | | | | | | | | | | | - Use RealFileExists() instead of FileExists(), allows amongst other things a directory named Sources to exist on a CD-ROM (LP: #750694).
* | | | merged from lp:~donkult/apt/sidMichael Vogt2011-04-0416-130/+191
|\ \ \ \
| * | | | let TimeRFC1123 return an empty string if gmtime() failsDavid Kalnischkies2011-04-021-2/+4
| | | | |
| * | | | impossible to be too long but just to be sure use snprintfDavid Kalnischkies2011-04-021-1/+1
| |/ / /
| * | | * apt-pkg/deb/deblistparser.cc:David Kalnischkies2011-03-283-17/+19
| | | | | | | | | | | | - create foo:any provides for all architectures for an allowed package
| * | | do not change protected packages in autoinstall (Closes: #618848)David Kalnischkies2011-03-263-4/+20
| | | |
| * | | * apt-pkg/aptconfiguration.cc:David Kalnischkies2011-03-261-1/+32
| | | | | | | | | | | | | | | | - use dpkg --print-foreign-architectures to get multiarch configuration if non is specified with APT::Architectures (Closes: #612958)
| * | | * apt-pkg/cacheiterator.h:David Kalnischkies2011-03-254-6/+18
| | | | | | | | | | | | | | | | | | | | | | | | - return "all" instead of native architecture without breaking the abi (too much) by extending enum instead of using bitflags (LP: #733741) With the next abi break that enum should be a char bitflag instead
| * | | * apt-pkg/pkgcachegen.cc:David Kalnischkies2011-03-252-9/+5
| | | | | | | | | | | | | | | | - make "all"->"native" an implementation detail of NewPackage rather than rewrite it in higher methods
| * | | * apt-pkg/depcache.cc:David Kalnischkies2011-03-251-5/+0
| | | | | | | | | | | | - remove pseudo handling leftover from SetReInstall
| * | | * apt-pkg/deb/deblistparser.h:David Kalnischkies2011-03-231-1/+1
| | | | | | | | | | | | - enable StripMultiArch by default for ParseDepends