summaryrefslogtreecommitdiff
path: root/apt-private/private-install.h
Commit message (Collapse)AuthorAgeFilesLines
* support "install ./foo.changes"David Kalnischkies2016-07-221-2/+2
| | | | | | | | | | | | We support installing ./foo.deb (and ./foo.dsc for source) for a while now, but it can be a bit clunky to work with those directly if you e.g. build packages locally in a 'central' build-area. The changes files also include hashsums and can be signed, so this can also be considered an enhancement in terms of security as a user "just" has to verify the signature on the changes file then rather than checking all deb files individually in these manual installation procedures.
* reimplement build-dep via apts normal resolverDavid Kalnischkies2016-01-251-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | build-dep was implemented by parsing the build-dependencies of a package and figuring out which packages to install/remove based on this. That means that for the first level of dependencies build-dep was implementing its very own resolver with all the benefits (aka: bugs) this gives us for not using the existing resolver for all levels. Making this work involves generating a dummy binary package with fitting Depends and Conflicts and as we can't create them out of thin air the cache generation needs to be involved so we end up writing a Packages file which we want to parse – after we have parsed the other Packages files already. With .dsc/.deb files we could add them before we started parsing anything. With a bit of care we can avoid generating too much data we have to throw away again (as many parts assume that e.g. the count of packages doesn't change midair), so that on a speed front there shouldn't be much of a difference, but output can be slightly confusing as if we have a completely valid cache on disk the "Reading package lists... Done" is printed two times – but apt is pretty quick about it in that case. Closes: #137560, #444930, #489911, #583914, #728317, #812173
* drop some needlessly public declarations in libapt-privateDavid Kalnischkies2015-11-291-2/+2
| | | | Git-Dch: Ignore
* support .deb files in upgrade operations as wellDavid Kalnischkies2015-11-041-1/+2
| | | | | | The main part is refactoring through to allow hiding the magic needed to support .deb files in deeper layers of libapt so that frontends have less exposure to Debian specific classes like debDebPkgFileIndex.
* check for available space, excluding root reserved blocksDavid Kalnischkies2014-10-151-2/+0
| | | | | | | | | | | We are checking the space requirements for ages, but the check uses the free blocks count, which includes the blocks reserved for usage by root. Now that we use an unprivileged user it has no access to these blocks anymore – and more importantly these blocks are a reserve, they shouldn't be used by apt without special encouragement by the user as it would be bad to have dpkg run out of diskspace and maintainerscripts like man-db skip certain actions if not enough space is available freely.
* do not call resolver twice on (dist-)upgradeDavid Kalnischkies2014-06-181-2/+2
|
* separate implementation from declaration of TryTo{Install,Remove}David Kalnischkies2014-06-091-149/+7
| | | | Git-Dch: Ignore
* enable fvisibility=hidden for our private libraryDavid Kalnischkies2014-03-211-3/+5
| | | | | | | | | | While it is a huge undertaking to enable it for our public libraries as basically everything we exported so far could be seen as public interface our private library is new and under our full control, so we can do whatever we like with it. The benefits are not that big in return of course, but it reduces the size a bit, so thats great nontheless. Git-Dch: ignore
* cleanup headers and especially #includes everywhereDavid Kalnischkies2014-03-131-2/+16
| | | | | | | | Beside being a bit cleaner it hopefully also resolves oddball problems I have with high levels of parallel jobs. Git-Dch: Ignore Reported-By: iwyu (include-what-you-use)
* fix crash when SetCandidateRelease is usedMichael Vogt2013-11-291-0/+3
|
* allow pkg manipulation in the upgrade/dist-upgrade commandline, e.g. apt-get ↵Michael Vogt2013-08-271-0/+3
| | | | dist-upgrade 2vcard- 4g8+
* squash merge of the feature/apt-binary branch without the changes from ↵Michael Vogt2013-08-121-0/+181
experimental