summaryrefslogtreecommitdiff
path: root/apt-pkg
AgeCommit message (Collapse)Author
2011-05-02move the mapping generation to the top as the response reading isDavid Kalnischkies
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 Kalnischkies
2011-05-02merge single-arch :arch fix from my sid branchDavid Kalnischkies
2011-04-25reorganize WriteScenario to add a WriteLimitedScenario in which a scenarioDavid Kalnischkies
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 Kalnischkies
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 Kalnischkies
2011-04-02disable automatical installation of dependencies in MarkInstall if weDavid Kalnischkies
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 Kalnischkies
The solution is NOT interpreted so far.
2011-04-01parse also the action flags Upgrade, Dist-Upgrade and alike from the requestDavid Kalnischkies
2011-04-01Read and apply install/remove requests correctlyDavid Kalnischkies
2011-03-31WriteRequest according to current EDSP draftDavid Kalnischkies
2011-03-31rename edspwriter to straight edsp in toplevel as it does more thanDavid Kalnischkies
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 Kalnischkies
2011-03-31strip the Dir::state from the config name as it will never be thereDavid Kalnischkies
2011-03-31parse the state of the package from the scenario file correctlyDavid Kalnischkies
2011-03-31rename the 'universe' to 'scenario' to reflect the naming in the draftDavid Kalnischkies
2011-03-31add a special scenario filename for using stdinDavid Kalnischkies
2011-03-30be able to write solutions, tooDavid Kalnischkies
2011-03-30add a first round of stuff needed for talking between APT and solversDavid Kalnischkies
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 Kalnischkies
- create foo:any provides for all architectures for an allowed package
2011-03-26do not change protected packages in autoinstall (Closes: #618848)David Kalnischkies
2011-03-26* apt-pkg/aptconfiguration.cc:David Kalnischkies
- 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 Kalnischkies
- 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 Kalnischkies
- make "all"->"native" an implementation detail of NewPackage rather than rewrite it in higher methods
2011-03-25* apt-pkg/depcache.cc:David Kalnischkies
- remove pseudo handling leftover from SetReInstall
2011-03-23* apt-pkg/deb/deblistparser.h:David Kalnischkies
- enable StripMultiArch by default for ParseDepends
2011-03-20reorganize the marker methods a bit by moving the common part to aDavid Kalnischkies
seperate IsModeChangeOk which checks sanity and dpkg holds
2011-03-16* apt-pkg/vendor.cc, apt-pkg/vendorlist.cc:David Kalnischkies
- mark them as deprecated as they are unused
2011-03-16* apt-pkg/deb/dpkgpm.cc:David Kalnischkies
- skip --configure if all packages disappeared
2011-03-15apt-pkg/acquire-method.cc: fix copy/paste errorMichael Vogt
2011-03-14apt-pkg/acquire-item.cc: add some more missing Fail-IgnoreMichael Vogt
2011-03-14apt-pkg/acquire-item.{cc,h}: mark InRelease with Fail-Ignore to ensure the ↵Michael Vogt
mirror methods does not retry on each mirror
2011-03-14* mirror method:Michael Vogt
- when downloading data, show the mirror being used
2011-03-11* apt-pkg/acquire-item.cc:Michael Vogt
- 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 Vogt
(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 Vogt
2011-03-10* apt-pkg/contrib/cdromutl.{cc,h}, apt-pkg/cdrom.{cc,h}:Michael Vogt
- 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 Vogt
apt-pkg/cdrom.cc: use string
2011-03-09apt-pkg/cdrom.{cc,h}: add ScanForRemovable helperMichael Vogt
2011-03-09apt-pkg/cdrom.h: move new member to the end to minimize ABI riskMichael Vogt
2011-03-08Remove the "pseudopackage" handling of Architecture: all packages forDavid Kalnischkies
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 Kalnischkies
2011-03-07* apt-pkg/deb/dpkgpm.cc:Steve Langasek
- 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 Vogt
apt-pkg/cdrom.cc: deal with missing FSTAB_DIR
2011-03-04apt-pkg/cdrom.{cc,h}: add udev_enumerate_add_match_sysattr to the libudev classMichael Vogt
2011-03-03* apt-pkg/contrib/fileutl.cc, apt-pkg/deb/dpkgpm.cc:Michael Vogt
- honor Dpkg::Chroot-Directory in the RunScripts*() methods
2011-02-27support every compression we have a compressor configuredDavid Kalnischkies
2011-02-27 - load the supported compressors from configurationDavid Kalnischkies
- support adding new compressors by configuration
2011-02-27d'uh! implement and not only declare the string wrapper for FindVectorDavid Kalnischkies
2011-02-25* apt-pkg/deb/debindexfile.cc:Michael Vogt
- ignore missing deb-src files in /var/lib/apt/lists, thanks to Thorsten Spindler (LP: #85590)