summaryrefslogtreecommitdiff
path: root/apt-pkg
Commit message (Collapse)AuthorAgeFilesLines
* fix failing ./test/integration/test-disappearing-packages (thanks Donkult!)Michael Vogt2013-10-221-4/+4
|
* use Pkg.FullName() in disappearedPkgs and remove duplicated checkMichael Vogt2013-10-221-11/+2
|
* fix install-progress locationMichael Vogt2013-10-223-6/+3
|
* move install-progress.{cc,h} to apt-pkgMichael Vogt2013-10-223-2/+446
|
* restore binary compatiblity with the pkgPackageManager interfaceMichael Vogt2013-10-213-11/+35
|
* fix apt output ordering and update test to match the new human friendly ↵Michael Vogt2013-10-211-5/+5
| | | | messages that include the architecture
* move iprogress.{cc,h} to private-progress.{cc,h} until its fully stableMichael Vogt2013-10-213-332/+2
|
* re-add missing APT::String::StripMichael Vogt2013-10-185-5/+36
|
* merged debian/sidMichael Vogt2013-10-181-130/+127
|
* cleanupMichael Vogt2013-10-183-35/+74
|
* ensure that short-name -> long-name detection for dpkg-status works for ↵Michael Vogt2013-10-171-1/+4
| | | | reinstalls too
* Merge branch 'debian/sid' into feature/install-progress-refactorMichael Vogt2013-10-172-10/+37
|\ | | | | | | | | Conflicts: apt-pkg/deb/dpkgpm.cc
| * fix broken clean when apt was finished and ensure that terminal progress is ↵Michael Vogt2013-10-172-9/+20
| | | | | | | | updated when a new dpkg-loop is entered in dpkgpm.cc
| * tests, do not send pkgname with arch via the status-fdMichael Vogt2013-10-151-1/+1
| |
| * Merge remote-tracking branch 'upstream/debian/sid' into bugfix/bts-726156-2Michael Vogt2013-10-151-3/+3
| |\
| | * fix progress-segfault in case of dpkg errors/promptsDavid Kalnischkies2013-10-141-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Errors and conffile prompts have a fourth information piece, which the "old" code access which isn't provided by the "new" one. This isn't checking if the messages are really well-formed, so it could still segfault on misformed messages, but this code needs more work anyway, so one step at a time. Closes: 726047
| | * add missing _() around the new "Progress" stringMichael Vogt2013-10-111-1/+1
| | |
| * | fix logic for finding what package dpkg means in the --status-fd and only ↵Michael Vogt2013-10-151-4/+19
| |/ | | | | | | send out short packagenames
* | re-add APT::Keep-Fds:: for the dpkg status-fd in dpkgpm.cc as we always need ↵Michael Vogt2013-10-143-15/+18
| | | | | | | | this
* | rename APT::Progress::Packagemanager Started->Start, Finished->Stop to match ↵Michael Vogt2013-10-143-17/+14
| | | | | | | | pkgAcquireStatus
* | refactor writing to WriteToStatusFd()Michael Vogt2013-10-142-14/+19
| |
* | add APT::Progress::PackageManager::Pulse()Michael Vogt2013-10-132-3/+9
| |
* | move the status-fd progress reporting out of the pkgDPkgPM class, at this ↵Michael Vogt2013-10-136-100/+189
| | | | | | | | point, breaks ABI/API, lets see what we can do about this
* | move common code into PackageManager::StatusChanged()Michael Vogt2013-10-113-29/+38
| |
* | deal with nr_terminal_rows unavailableMichael Vogt2013-10-112-6/+13
| |
* | first iteration of install progress refactorMichael Vogt2013-10-116-93/+194
|/
* Merge remote-tracking branch 'mvo/feature/limit-default-pdiffs' into debian/sidMichael Vogt2013-10-091-1/+1
|\
| * set Acquire::PDiffs::FileLimit to 20 to avoid needless huge fetchesMichael Vogt2013-08-261-1/+1
| |
* | apt-pkg/deb/dpkgpm.cc: fix off-by-one in SetupTerminalScrollArea resetMichael Vogt2013-10-081-1/+1
| |
* | Merge remote-tracking branch 'mvo/feature/dpkg-progress-fancy' into debian/sidMichael Vogt2013-10-082-9/+81
|\ \
| * | fix off-by-one error in pkgDPkgPM::SetupTerminalScrollArea()Michael Vogt2013-10-071-1/+1
| | |
| * | use Dpkg::Progress-Fancy to be consitent with Dpkg::ProgressMichael Vogt2013-10-071-1/+1
| | |
| * | add -o DpkgPM::Progress-Fancy for better dpkg progress output on vt100+ ↵Michael Vogt2013-10-072-9/+81
| | | | | | | | | | | | terminals
* | | fix libapt-inst for >2G debs (closes: #725483)Michael Vogt2013-10-071-8/+8
| | |
* | | Merge remote-tracking branch 'donkult/debian/sid' into debian/sidMichael Vogt2013-10-055-42/+68
|\ \ \
| * | | fix lzma-support detection via xz binaryDavid Kalnischkies2013-10-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Clear() only clears a config option, not removing it and an empty setting still exists. Hence we set the option instead to the xz path so that the later existance check can find a binary for the test
| * | | use pkgAcqArchive in 'download' for proper errorsDavid Kalnischkies2013-10-031-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | With a bit of trickery we can reuse the usual infrastructure we have in place to acquire deb files for the 'download' operation as well, which gains us authentification check & display, error messages, correct filenames and "downloads" from the root-owned archives.
| * | | refactor onError relabeling of DestFile as '.FAILED'David Kalnischkies2013-10-032-34/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This helps ensure three things: - each error is reported via ReportMirrorFailure - if DestFile doesn't exist, do not attempt rename - renames happen for every error The last one wasn't the case for Size mismatches, which isn't nice, but not a exploitable problem per-se as the file isn't picked up and remains in partial/ where the following download-try will at most take it for a partial request which fails the hashsum verification later on Git-Dch: Ignore
| * | | don't consider holds for autoremovalDavid Kalnischkies2013-10-012-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We can't remove packages which are held back by the user with a hold, so marking them (or its dependencies) as garbage will lead our autoremover into madness – and given that the package is important enough that the user has held it back it can't be garbage (at least at the moment), so even if a front-end wants to use the info just for information display its a good idea to not consider it garbage for them. Closes: 724995
* | | | Merge remote-tracking branch 'mvo/bugfix/dpkg-progress-multiarch' into ↵Michael Vogt2013-10-053-28/+96
|\ \ \ \ | |/ / / |/| / / | |/ / debian/sid
| * | Merge remote-tracking branch 'origin/bugfix/dpkg-progress-multiarch' into ↵Michael Vogt2013-10-022-8/+21
| |\ \ | | | | | | | | | | | | bugfix/dpkg-progress-multiarch
| | * | change maxsplit default from "0" to maxintMichael Vogt2013-10-012-3/+3
| | | |
| | * | improve documentation for StringSplit()Michael Vogt2013-10-012-6/+19
| | | |
| * | | make dpkg progress slightly nicerMichael Vogt2013-10-021-3/+17
| |/ /
| * | doc updateMichael Vogt2013-09-072-8/+17
| | |
| * | fix multiarch status-fd progress calculationMichael Vogt2013-09-071-24/+24
| | |
| * | add maxsplit parameter to StringSplitMichael Vogt2013-09-072-6/+14
| | |
| * | implement StringSplit() as we need this to fix the dpkg status-fd output parsingMichael Vogt2013-09-072-0/+24
| | |
* | | pkg from only trusted sources keeps being trustedDavid Kalnischkies2013-09-261-8/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | --allow-unauthenticated switches the download to a pre-0.6 system in which a package can come from any source, rather than that trusted packages can only come from trusted sources. To allow this the flag used to set all packages as untrusted, which is a bit much, so we check now if the package can be acquired via an untrusted source and only if this is the case set it as untrusted. As APT nowadays supports setting sources as trusted via a flag in the sources.list this mode shouldn't be used that much anymore though. [Note that this is not the patch from the BTS] Closes: 617690
* | | don't strip :any from dependencies in single-archDavid Kalnischkies2013-09-261-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The parser goes a bit to far by stripping :any from dependencies in a single architecture environment. the flag "Multi-Arch: allowed" doesn't care any architecture restrictions in that case (as in single arch everything is native), but it still limits the possible versions statisfying the dependency so stripping :any over-simplifies in upgrade situations from "Multi-Arch: none" to "Multi-Arch: allowed". Closes: 723586