summaryrefslogtreecommitdiff
path: root/apt-pkg
AgeCommit message (Collapse)AuthorFilesLines
2011-05-03implement external solver calling for upgrade and dist-upgrade, tooDavid Kalnischkies4-52/+80
2011-05-02parse correctly the Hold: lines into Pkg->SelectedState = HoldDavid Kalnischkies1-2/+5
2011-05-02doesn't execute autoremove marker setting if an external solver is calledDavid Kalnischkies3-2/+23
and instead rely on the Autoremove tagging to show us what could be done. (apt-internal-solver doesn't support this currently as it doesn't load the auto-information into the cache)
2011-05-02refactor: move solver execution into his own EDSP methodDavid Kalnischkies3-37/+48
2011-05-02handle Dir::Bin::Solvers as a list of directories and find theDavid Kalnischkies2-4/+14
solver in this list of directories
2011-05-02reduce the buffer size so we get a sort of realtime progress reportDavid Kalnischkies1-1/+2
and print the time of output at the front of the progress report so we can see the delay
2011-05-02move the mapping generation to the top as the response reading isDavid Kalnischkies1-5/+5
currently waiting for the solver to complete and not non-blocking so we can generate the map while waiting for the solver
2011-05-02implement optional Progress report in EDSPDavid Kalnischkies2-2/+20
2011-05-02merge single-arch :arch fix from my sid branchDavid Kalnischkies1-3/+6
2011-04-25reorganize WriteScenario to add a WriteLimitedScenario in which a scenarioDavid Kalnischkies2-80/+192
can be limited to a subset of packages with only relevant dependencies
2011-04-19use the version id instead of the mmap offset as APT-IDDavid Kalnischkies1-4/+18
This leads to a small performance decrease as we need to build this mapping now while interpreting the Response but a (buggy) solver can't point us to dangerous memory locations anymore this way and VersionCount remains useful for other mapping proposes
2011-04-19Interpret Remove and Install lines in Responses correctlyDavid Kalnischkies1-5/+12
2011-04-02disable automatical installation of dependencies in MarkInstall if weDavid Kalnischkies1-1/+1
will not use the default internal resolver later on
2011-04-02send the scenario through a pipe to the solver and get the solution backDavid Kalnischkies3-10/+62
The solution is NOT interpreted so far.
2011-04-01parse also the action flags Upgrade, Dist-Upgrade and alike from the requestDavid Kalnischkies2-11/+43
2011-04-01Read and apply install/remove requests correctlyDavid Kalnischkies3-12/+97
2011-03-31WriteRequest according to current EDSP draftDavid Kalnischkies2-8/+21
2011-03-31rename edspwriter to straight edsp in toplevel as it does more thanDavid Kalnischkies4-23/+22
just writing stuff… it also reads and can work for both: - APT talking to an external solver - an external solver (understanding EDSP) talking to APT
2011-03-31add the methods we will need to write to make working with EDSP possibleDavid Kalnischkies2-2/+24
2011-03-31strip the Dir::state from the config name as it will never be thereDavid Kalnischkies1-4/+4
2011-03-31parse the state of the package from the scenario file correctlyDavid Kalnischkies1-30/+8
2011-03-31rename the 'universe' to 'scenario' to reflect the naming in the draftDavid Kalnischkies6-13/+13
2011-03-31add a special scenario filename for using stdinDavid Kalnischkies2-3/+14
2011-03-30be able to write solutions, tooDavid Kalnischkies3-0/+27
2011-03-30add a first round of stuff needed for talking between APT and solversDavid Kalnischkies18-18/+609
based on a very early draft for EDSP by Stefano APT can now write a scenario as well as load most stuff from it.
2011-03-28* apt-pkg/deb/deblistparser.cc:David Kalnischkies3-17/+19
- create foo:any provides for all architectures for an allowed package
2011-03-26do not change protected packages in autoinstall (Closes: #618848)David Kalnischkies3-4/+20
2011-03-26* apt-pkg/aptconfiguration.cc:David Kalnischkies1-1/+32
- use dpkg --print-foreign-architectures to get multiarch configuration if non is specified with APT::Architectures (Closes: #612958)
2011-03-25* apt-pkg/cacheiterator.h:David Kalnischkies4-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
2011-03-25* apt-pkg/pkgcachegen.cc:David Kalnischkies2-9/+5
- make "all"->"native" an implementation detail of NewPackage rather than rewrite it in higher methods
2011-03-25* apt-pkg/depcache.cc:David Kalnischkies1-5/+0
- remove pseudo handling leftover from SetReInstall
2011-03-23* apt-pkg/deb/deblistparser.h:David Kalnischkies1-1/+1
- enable StripMultiArch by default for ParseDepends
2011-03-20reorganize the marker methods a bit by moving the common part to aDavid Kalnischkies2-59/+75
seperate IsModeChangeOk which checks sanity and dpkg holds
2011-03-16* apt-pkg/vendor.cc, apt-pkg/vendorlist.cc:David Kalnischkies4-27/+14
- mark them as deprecated as they are unused
2011-03-16* apt-pkg/deb/dpkgpm.cc:David Kalnischkies1-2/+6
- skip --configure if all packages disappeared
2011-03-15apt-pkg/acquire-method.cc: fix copy/paste errorMichael Vogt1-1/+1
2011-03-14apt-pkg/acquire-item.cc: add some more missing Fail-IgnoreMichael Vogt1-4/+10
2011-03-14apt-pkg/acquire-item.{cc,h}: mark InRelease with Fail-Ignore to ensure the ↵Michael Vogt2-0/+16
mirror methods does not retry on each mirror
2011-03-14* mirror method:Michael Vogt2-5/+23
- when downloading data, show the mirror being used
2011-03-11* apt-pkg/acquire-item.cc:Michael Vogt1-2/+2
- mark pkgAcqIndexTrans as Index-File to avoid asking the user to insert the CD on each apt-get update
2011-03-10apt-pkg/cdrom.{cc,h}: add (ugly) workaround to ensure the ABI is not broken ↵Michael Vogt2-1/+10
(also in this case its probably not needed because pkgUDevCDrom is not used outside libapt itself, still its better to be on the save side)
2011-03-10merged the lp:~mvo/apt/mvo branchMichael Vogt7-6/+88
2011-03-10* apt-pkg/contrib/cdromutl.{cc,h}, apt-pkg/cdrom.{cc,h}:Michael Vogt1-1/+2
- deal with missing FSTAB_DIR when using libudev to discover cdrom - add experimental APT::cdrom::CdromOnly option (on by default). When this is set to false apt-cdrom will handle any removable deivce (like a usb-stick) as a "cdrom/dvd" source
2011-03-09apt-pkg/contrib/cdromutl.{cc,h}: return string for mountpath; ↵Michael Vogt3-7/+12
apt-pkg/cdrom.cc: use string
2011-03-09apt-pkg/cdrom.{cc,h}: add ScanForRemovable helperMichael Vogt2-8/+22
2011-03-09apt-pkg/cdrom.h: move new member to the end to minimize ABI riskMichael Vogt1-1/+1
2011-03-08Remove the "pseudopackage" handling of Architecture: all packages forDavid Kalnischkies12-527/+62
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
2011-03-07use FullName and strdup instead of handmade and new[]David Kalnischkies1-5/+3
2011-03-07* apt-pkg/deb/dpkgpm.cc:Steve Langasek1-2/+19
- make sure that for multiarch packages, we are passing the full qualified package name to dpkg for removals. (Closes: #614298)
2011-03-04apt-pkg/contrib/cdromutl.{cc,h}: add FindMountPointForDevice helper; ↵Michael Vogt3-0/+39
apt-pkg/cdrom.cc: deal with missing FSTAB_DIR