summaryrefslogtreecommitdiff
path: root/apt-pkg/packagemanager.cc
Commit message (Collapse)AuthorAgeFilesLines
...
| * 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-141-33/+60
| | | | | | | | 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-061-11/+94
| | | | | | | | | | | | 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-051-1/+8
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
| * | 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-021-0/+17
| | | | | | | | | | | | 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-271-2/+89
| |/ | | | | | | (VerifyConfigure) to the configuration methods.
* | merge with debian/sidDavid Kalnischkies2011-09-131-6/+28
|\ \
| * | M-A:same lockstep unpack should operate on installedDavid Kalnischkies2011-09-091-5/+26
| | | | | | | | | packages first (LP: #835625)
| * | * apt-pkg/packagemanager.cc, apt-pkg/pkgcache.cc:David Kalnischkies2011-08-171-1/+2
| | | | | | | | | | | | | | | - ignore "self"-conflicts for all architectures of a package instead of just for the architecture of the package locked at in the ordering of installations too (Closes: #802901)
* | | merge with debian/experimentalDavid Kalnischkies2011-09-131-16/+16
|\ \ \
| * | | merged from the debian-sid branchMichael Vogt2011-08-151-16/+16
| |\| |
| | * | fix a few more cppcheck performance and scope warningsDavid Kalnischkies2011-08-111-6/+6
| | | |
| | * | cppcheck complains about some possible speed improvements which could beDavid Kalnischkies2011-08-111-10/+10
| | |/ | | | | | | | | | | | | | | | done on the mirco-optimazation level, so lets fix them: (performance) Possible inefficient checking for emptiness. (performance) Prefer prefix ++/-- operators for non-primitive types.
* | / reorder includes: add <config.h> if needed and include it at firstDavid Kalnischkies2011-09-131-3/+5
|/ /
* / * apt-pkg/pkgcache.h:David Kalnischkies2011-05-171-2/+2
|/ | | | - clean up mess with the "all" handling in MultiArch to fix LP: #733741 cleanly for everyone now
* * apt-pkg/packagemanager.cc:David Kalnischkies2011-05-161-7/+37
| | | | - ensure for Multi-Arch:same packages that they are unpacked in lock step even in immediate configuration (Closes: #618288)
* Remove the "pseudopackage" handling of Architecture: all packages forDavid Kalnischkies2011-03-081-29/+6
| | | | | | | | | Multi-Arch; instead, Arch: all packages only satisfy dependencies for the native arch, except where the Arch: all package is declared Multi-Arch: foreign. (Closes: #613584) This has the sideeffect that arch:all packages internally show up as coming from the native arch - so packages with the architecture "all" doesn't exist any longer in the pkgcache
* * apt-pkg/packagemanager.cc:David Kalnischkies2010-09-291-3/+3
| | | - Add a space between period and 'Please' and unfuzzy all translations
* * apt-pkg/orderlist.cc:David Kalnischkies2010-06-101-1/+2
| | | | | - untouched packages are never missing * apt-pkg/packagemanager.cc: - packages that are not touched doesn't need to be unpacked
* * apt-pkg/packagemanager.cc:David Kalnischkies2010-04-031-3/+11
| | | - don't try to "unpack" pseudo packages twice
* merged from lp:~donkult/apt/sidMichael Vogt2010-04-011-8/+24
|\
| * Remove and Unpack operations should not be ignored for pseudo packages -David Kalnischkies2010-03-011-4/+9
| | | | | | | | | | | | | | | | | | | | | | they should trigger the remove/unpack of the "all" package. Otherwise - as this package has no dependencies - it will be triggered to late. The Configuration step doesn't need it as the "all" package is a dependency of the pseudo-package, so it will be configured before the pseudo packages are tried: So at this step the ignorance is okay. Also IsMissing() should report the status of the all package if an pseudo package is checked instead of always reporting no-miss.
| * [BREAK] merge MultiArch-ABI. We don't support MultiArch,David Kalnischkies2010-02-131-6/+17
| |\ | | | | | | | | | | | | | | | | | | | | | | | | but we support the usage of the new ABI so libapt users can start to prepare for MultiArch (Closes: #536029) MultiArch isn't ready for Primetime usage for now, but the branch has managed to be a NOP if used in SingleArch-mode so we can start to promote the use of the new MultiArchable API-extensions.
| | * Add yet another pseudo package which isn't as pseudo as the others:David Kalnischkies2010-02-121-6/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Arch all packages are now represented by arch depending packages which all depend on a package with the same name and the special arch "all". This packages has NO dependencies, but beside this the same information. It is the only package which has a size, the arch depending ones all have a zero size. While the arch depending pseudo packages are used for dependency resolution the arch "all" package is used for downloading and ordering of the package.
* | | apt-pkg/packagemanager.cc: more debug output for debug::pkgPackageManagerMichael Vogt2010-03-161-0/+5
|/ /
* | merged -r1887..1901 from lp:~donkult/apt/sidMichael Vogt2009-12-101-5/+6
|\|
| * add more description to the manpage for the Immediate-Configuration andDavid Kalnischkies2009-10-191-5/+6
| | | | | | | | change another message to be also translatable.
* | merged -r1875..1886 from lp:~donkult/apt/sidMichael Vogt2009-12-101-6/+4
|\|
| * improve the documentation and errormessages regarding a failingDavid Kalnischkies2009-10-011-2/+4
| | | | | | | | | | immediate configuration as the old message was quite a bit scare and uninformative.
| * backout revno 1875 - as this aggressive immediate propergation is something ↵David Kalnischkies2009-10-011-4/+0
| | | | | | | | we want sometimes
* | * apt-pkg/packagemanager.cc:Michael Vogt2009-12-021-0/+10
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | - add output about pre-depends configuring when debug::pkgPackageManager is used * methods/https.cc: - fix incorrect use of CURLOPT_TIMEOUT, closes: #497983, LP: #354972 thanks to Brian Thomason for the patch * apt-pkg/depcache.cc, apt-pkg/indexcopy.cc: - typo fix (LP: #462328) * cmdline/apt-key: - Emit a warning if removed keys keyring is missing and skip associated checks (LP: #218971)
| * more debug output in SmartConfigureMichael Vogt2009-10-211-0/+6
| |
| * * apt-pkg/packagemanager.cc:Michael Vogt2009-10-211-0/+7
| | | | | | | | - add output about pre-depends configuring when debug::pkgPackageManager is used
* | * apt-pkg/packagemanager.cc:Michael Vogt2009-09-291-3/+7
| | | | | | | | - fix overly aggressive immediate config propergation (thanks to David Kalnischkies)
* | Add even more config options and try to handle configuration problemsDavid Kalnischkies2009-09-151-12/+25
|/ | | | | arising if we upgrade essential or predependencies which need to be configured before even unpacking packages depending on them.
* add the various foldmarkers in apt-pkg & cmdline (no code change)David Kalnischkies2009-06-301-3/+1
|
* * apt-pkg/packagemanager.cc, apt-pkg/deb/dpkgpm.cc:Michael Vogt2008-10-011-4/+0
| | | | | | | - move the state file writting into the Go() implementation of dpkgpm (closes: #498799) * apt-pkg/algorithms.cc: - fix simulation performance drop (thanks to Ferenc Wagner for reporting the issue)
* * apt-pkg/packagemanager.{cc,h}:Michael Vogt2008-01-031-12/+41
| | | | | - propergate the Immediate flag to make hitting the "E: Internal Error, Could not perform immediate configuration (2)" harder
* * apt-pkg/packagemanager.{cc,h}:Michael Vogt2007-09-141-1/+21
| | | | - move DoInstallPostFork() out of the header into the .cc file
* * Removed the more leftover #pragma interface/implementationMichael Vogt2007-06-081-4/+0
|\ | | | | closes: #306937 (thanks to Andreas Henriksson for the patch)
| * * remove all the remaining #pragma implementationMichael Vogt2007-06-081-4/+0
| |