summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* enable APT in unpack/configure ordering to handle loops as wellDavid Kalnischkies2011-09-1411-169/+445
|\ | | | | | | | | as tight dependencies between immediate packages better enabling also the possibility to mark all packages as immediate (at least Closes: #353290, #540227, #559733, #621836, #639290)
| * Fixed a problem where the loop flag would be removed prematurely.Christopher Baines2011-08-161-15/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | SmartConfigure xserver-xorg-video-apm (1:1.2.3-0ubuntu1) SmartConfigure xserver-xorg-core (2:1.9.0-0ubuntu7.3) <- Loop flag set on xserver-xorg-core SmartConfigure xserver-xorg (1:7.5+6ubuntu3) SmartConfigure xserver-xorg-core (2:1.9.0-0ubuntu7.3) (Only Correct Dependancies) <- Loop flag removed prematurely SmartConfigure libpciaccess0 (0.12.0-1) SmartConfigure libpixman-1-0 (0.18.4-1) SmartConfigure xserver-xorg-video-all (1:7.5+6ubuntu3) SmartConfigure xserver-xorg-video-apm (1:1.2.3-0ubuntu1) (Only Correct Dependancies) SmartConfigure xserver-xorg-core (2:1.9.0-0ubuntu7.3) <- Incorrectly detects first run as no loop flag Also applied this fix to the SmartUnpack method.
| * Fixed a bug where SmartUnPack would be called with Immediate=true (to ↵Christopher Baines2011-08-152-37/+42
| | | | | | | | | | | | | | | | | | resolve dependancies in SmartConfigure) yet Pkg would not be immediately configured. This was because SmartUnPack still required the immediate flag to be set on Pkg. Also inproved the debuging adding indented output for SmartUnPack and SmartConfigure and specifying in the output if SmartConfigure or SmartUnPack was called just to Correct something (PkgLoop = true) or not.
| * Applied DonKult (David)'s excellent fix for inproving the loop management. ↵Christopher Baines2011-08-141-8/+11
| | | | | | | | | | | | | | Now both SmartConfigure and SmartUnPack can be called mutiple times on the same package, this is to make sure that when loops are broken all packages that are required are kept in the same dpkg run.
| * Fix a bug introduced in Rev.2159 on line 398, also fix another potential bug.Christopher Baines2011-08-131-5/+5
| |
| * Added code to allow SmartConfigure to be called mutiple times on the same ↵Christopher Baines2011-08-121-9/+17
| | | | | | | | package to ensure all dependancies are satisfied.
| * Inproved debug with versioningChristopher Baines2011-08-121-5/+13
| |
| * Small fix for loop handeling.Christopher Baines2011-08-121-1/+1
| |
| * Added a RmFlag function to remvoe the loop flag, this should prevent any ↵Christopher Baines2011-08-112-4/+13
| | | | | | | | | | | | errors or wierd behaviour because of the loop flag being used at mutiple stages in both SmartUnpack and SmartConfigure.
| * More inproved comments about loops.Christopher Baines2011-08-092-1/+9
| |
| * Improved errors and messages in general and improved the comments.Christopher Baines2011-08-071-132/+63
| | | | | | | | | | | | Removed quite a bit of code I used while learning about how apt handles things. Added some extra checks and warnings relevent for Immediate Configuration. Removed a wierd section I put in to prevent a segfault at 724+, this appears no longer to be needed.
| * Fixed a bug on line 623, I picked this up after seeing SmartUnpack trying to ↵Christopher Baines2011-08-071-6/+8
| | | | | | | | | | | | | | | | remove packages once they were confiured to solve Conflicts with the previous version! Luckily EarlyRemove is sane, and properly checks, so I think this was just cosmetic. Also fixed a bug on line 374 with SmartUnpack not checking if a dependancy has been removed, this bug was definately harmful.
| * Inproved the SIGINT stop in the dpkgpm, not perfect yet but it should work ↵Christopher Baines2011-08-021-3/+9
| | | | | | | | when using Immediate-Configure-All.
| * Only stop on SigInt if the system state is right (still needs more testing).Christopher Baines2011-08-012-2/+14
| | | | | | | | | | More inprovements to the package manager to prevent packages from being configured twice.
| * Only allow interupts when using, Immediate-Configure-All.Christopher Baines2011-07-311-3/+5
| | | | | | | | | | | | TODO for dpkgpm: Useful messages about the interupt, what was done to what packages and what was not done to what packages. Only fail when the system is in a clean state, at the moment it will fail either a configure or install run.
| * SmartConfigure and SmartUnPack have got smarter! The full descriptions of ↵Christopher Baines2011-07-274-314/+141
| | | | | | | | | | | | | | | | | | | | | | | | | | | | what they now do is in the apt-pkg/packagemanager.cc file. The short version is that they will both put the system in a state where there operation can be achived, this involves calling themselves and each other recursively. Because SmartConfigure can now configure a package and all its dependancies itself, there is no current need for DepAdd (at least in packagemanager.cc), SmartConfigure also performs the function of the short lived VerifyConfigure as it checks through all the dependancies before performing configuration. Another change is to use the ConfigureAll method in OrderInstall to clean up any packages left unconfigured during ImmConfigureAll. This is necessary to inprove the safety of ImmConfiguration and because of the new SIGINT functionality of dpkgpm.cc relies on no packages being left unconfigured between pairs of dpkg calls. While writing this commit log, I have realised that the SIGINT stuff is a prototype and not ready to be used yet as I have only tested it twice.
| * 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.
| * Added test for conflicts loopChristopher Baines2011-07-131-0/+18
| |
| * 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-0581-19268/+24071
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
| * | Commit some stuff so that I can mergeChristopher Baines2011-07-051-1/+1
| | |
| * | 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-053-9/+67
| | | | | | | | | | | | 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.
* | | update symbolsDavid Kalnischkies2011-09-142-68/+181
| | |
* | | update package names too for the new abiMichael Vogt2011-09-147-4/+5
| | |
* | | * [abi-break] Support large files in the complete toolset. Indexes of thisMichael Vogt2011-09-143-3/+6
| | | | | | | | | * bump ABI version
* | | merged from lp:~donkult/apt/experimentalMichael Vogt2011-09-14200-2578/+1292
|\ \ \
| * \ \ merge with debian/sidDavid Kalnischkies2011-09-1390-2234/+733
| |\ \ \
| | * | | releasing version 0.8.15.7Michael Vogt2011-09-121-2/+2
| | | | |
| | * | | merged from lp:~donkult/apt/sidMichael Vogt2011-09-1227-124/+375
| | |\ \ \
| | | * | | fix changelog typos and bugfix-linkDavid Kalnischkies2011-09-091-3/+3
| | | | | |
| | | * | | M-A:same lockstep unpack should operate on installedDavid Kalnischkies2011-09-095-16/+70
| | | | | | | | | | | | | | | | | | packages first (LP: #835625)
| | | * | | fix bashism (local outside function) and releasefile creation in testcasesDavid Kalnischkies2011-09-094-10/+20
| | | | | |
| | | * | | - add an Acquire::Min-ValidTime option (Closes: #640122)David Kalnischkies2011-09-054-13/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/apt.conf.5.xml: - reword Acquire::Max-ValidTime documentation to make clear that it doesn't provide the new Min-ValidTime functionality
| | | * | | * apt-pkg/indexrecords.cc:David Kalnischkies2011-09-054-16/+90
| | | | | | | | | | | | | | | | | | | | | | | | - fix Acquire::Max-ValidTime option by interpreting it really as seconds as specified in the manpage and not as days
| | | * | | * apt-pkg/orderlist.cc:David Kalnischkies2011-08-242-8/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - prefer visiting packages marked for deletion in VisitProvides if we are operating on a negative dependency so that we can deal early with the fallout of this remove
| | | * | | print from their the visit came fromDavid Kalnischkies2011-08-232-12/+14
| | | | | |
| | | * | | * cmdline/apt-key:David Kalnischkies2011-08-232-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | - if command is 'add' do not error out if the specified keyring doesn't exist, it will be created by gpg
| | | * | | remove the caches in 'apt-get update', too, as they will beDavid Kalnischkies2011-08-2213-28/+29
| | | | | | | | | | | | | | | | | | invalid in most cases anyway