summaryrefslogtreecommitdiff
path: root/apt-pkg
Commit message (Collapse)AuthorAgeFilesLines
* Dont try to configure packages using SmartConfigure when not performing ↵Christopher Baines2011-07-162-3/+4
| | | | immediate configuration.
* Inproved errors and warnings, will now warn if package configuration fails, ↵Christopher Baines2011-07-141-16/+28
| | | | but only error if the package is not configured at the end.
* More changes to make imediate configuration work for all packages, Christopher Baines2011-07-142-35/+62
| | | | I have stolen the Loop flag from orderlist.cc as it didnt seem to use it anymore.
* More changes to the SmartUnpack method to allow imediate configuration of ↵Christopher Baines2011-07-131-54/+155
| | | | all packages.
* Added a APT::Immediate-Configure-All option to enable imediate configuration ↵Christopher Baines2011-07-062-11/+95
| | | | | | for all packages. Began adding to the SmartUnpack method to prevent dependancy loops breaking apt.
* Flag the package in the SmartUnPack method as UnPacked while solving ↵Christopher Baines2011-07-051-3/+7
| | | | breakages to prevent loops.
* Fix for reinstallation of packagesChristopher Baines2011-07-051-9/+3
|
* [ David Kalnischkies ]Christopher Baines2011-07-0510-62/+124
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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: - remove invalid pkgcache.bin and rebuild it if possible - log reinstall commands in history.log * apt-pkg/init.cc: - don't set deprecated APT::Acquire::Translation, thanks Jörg Sommer! * cmdline/apt-config.cc: - show Acquire::Languages and APT::Architectures settings in 'dump' (Closes: 626739) * apt-pkg/orderlist.cc: - ensure that an old version of a package with a provides can never satisfy a dependency of a newer version of this package [ Michael Vogt ] * methods/mirror.cc: - ignore lines starting with "#" in the mirror file - ignore non http urls in the mirrors - append the dist (e.g. sid, wheezy) as a query string when asking for a suitable mirror * apt-pkg/deb/deblistparser.cc: - include all known languages when building the apt cache (LP: #794907) * apt-pkg/deb/debindexfile.cc: - remove some no longer valid checks for "TranslationsAvailable()" [ Kenneth Solbø Andersen ] * apt-pkg/deb/dpkgpm.cc: - set permissions of term.log to root.adm and 644 (LP: #404724) [ Chris Leick ] * various typo and syntax corrections in doc/*.xml [Chris Baines] * Began to fix DepAdd for imediate configuration of all packages
| * * doc/makefile:Michael Vogt2011-06-302-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:
| * merged from lp:~mvo/apt/mvoMichael Vogt2011-06-283-12/+15
| |\
| | * * apt-pkg/deb/dpkgpm.cc:Michael Vogt2011-06-271-1/+9
| | | | | | | | | - set permissions of term.log to root.adm and 644 (LP: #404724)
| | * apt-pkg/deb/debindexfile.cc: kill off another TranslationsAvailable() usage ↵Michael Vogt2011-06-091-6/+4
| | | | | | | | | | | | that is not needed
| | * apt-pkg/deb/debindexfile.cc: remove tests for TranslationsAvailable() as ↵Michael Vogt2011-06-091-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
| | * * apt-pkg/deb/deblistparser.cc:Michael Vogt2011-06-091-1/+1
| | | | | | | | | | | | - include all known languages when building the apt cache (LP: #794907)
| * | merged from donkultMichael Vogt2011-06-285-28/+55
| |\ \
| | * | * apt-pkg/init.cc:Jörg Sommer2011-05-281-3/+0
| | | | | | | | | | | | | | | | - don't set deprecated APT::Acquire::Translation, thanks Jörg Sommer!
| | * | 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
| | |/ | |/|
* | | Changed check in the SmartUnpack method, reverted change in the DepAdd method.Christopher Baines2011-07-051-3/+4
| | |
* | | Removed some debug stuff, corrected the VerifyConfigure calls to ↵Christopher Baines2011-07-051-9/+4
| | | | | | | | | | | | VerifyAndConfigure
* | | Added temp debug statement.Christopher Baines2011-07-041-0/+2
| | |
* | | Added debug output to package manager.Christopher Baines2011-07-031-0/+3
| | |
* | | The modification to orderlist.cc is from a patch DonKult (David) gave me, ↵Christopher Baines2011-07-022-0/+23
| | | | | | | | | | | | The modifications to the packagemanager should fix the test-provides-gone-with-upgrade testcase.
* | | Removed temp debug lines.Christopher Baines2011-06-271-2/+0
| | |
* | | Fixed missing argument in VerifyConfigure call.Christopher Baines2011-06-271-2/+2
| | |
* | | Initial commit from my GSoC project. Added a verification function ↵Christopher Baines2011-06-272-3/+92
|/ / | | | | | | (VerifyConfigure) to the configuration methods.
* | 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
| |