summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* fail in CopyFile if the FileFds have error flag setDavid Kalnischkies2013-06-093-5/+5
| | | | | | | | | Testing for global PendingErrors in users of CopyFile is incorrect in so far as unrelated errors will prevent us from copying perfectly fine files and checking for the validity of the files is just better in CopyFiles as it already checks if files are at least opened. Add also a higher-level error message to the error stack if it fails.
* stop building l10n if strings are unchangedDavid Kalnischkies2013-06-096-7/+21
| | | | | | The buildsystem tried to build l10n for test applications which never produced the output it expected causing it to try building it all the time.
* depend on libapt-pkg in the libapt-inst build processDavid Kalnischkies2013-06-092-2/+3
| | | | | | | fixing parallel build in the handcrafted buildsystem is a pain, so its not enabled by default, but its works for me – sometimes Git-Dch: Ignore
* tests: add expected port for cve-2013-105 testcaseDavid Kalnischkies2013-06-091-1/+1
| | | | Git-Dch: Ignore
* tests: trap-adding can be post- as well as prefixDavid Kalnischkies2013-06-092-4/+7
| | | | | | | | | For testcases it might sometimes be handy to add trap-actions before the general cleanup, e.g. if it has set directories read- only which rm doesn't want to remove even with --force applied (its fine with files though) Git-Dch: Ignore
* OpenDescriptor should autoclose fd always on errorDavid Kalnischkies2013-06-092-4/+20
| | | | | | | | | OpenInternDescriptor failures would cause additional errors to be generated by double-closing an fd. Other errors (although these are generated if the method is used incorrectly, so unlikely) didn't close the fd aswell. Closes: 704608
* don't explicitly init ExtractTar InFd with invalid fdDavid Kalnischkies2013-06-092-1/+1
| | | | | | | The default constructor of the FileFd will kick in anyway, which will know that the Fd is invalid while with this explicit call it must be assumed that the fd is in fact valid, which might generate errors in the future
* set Fail flag in FileFd on all errors consistentlyDavid Kalnischkies2013-06-093-96/+76
| | | | | | Previously some errors would set the Fail flag while some didn't without a clear reason as all errors leave a bad FileFd behind, so we use a helper now to ensure that all errors set the flag.
* make the vprintf like _error->Insert publicDavid Kalnischkies2013-06-091-6/+35
| | | | Git-Dch: Ignore
* fix support for multiple patterns in apt-cache searchDavid Kalnischkies2013-06-094-36/+94
| | | | | | | Patterns can appear in the name as well as in the description, they don't have to match all in the name/description only. Closes: 691453
* initialize the whole search array with zeroDavid Kalnischkies2013-06-091-1/+1
| | | | Git-Dch: Ignore
* deprecate InstallProtect as a cpu-eating no-opDavid Kalnischkies2013-06-093-8/+9
| | | | | | | | | | | | In the past packages were flagged "Protected" so that install/ remove markings where issued before the ProblemResolver. Nowadays, the marking methods check if they are allowed to modify the marking of a package instead, so that markings set by FromUser calls are not overwritten anymore by automatic calls which elimates the need for InstallProtect which just eats CPU now. The method itself is left untouched for now in case frontend needs it still for some wierd usecase, but they should be eliminated.
* do unpacks before configures in SmartConfigureDavid Kalnischkies2013-06-093-45/+115
| | | | | | | | | | | | | | | | | | Splits the big loop over dependencies in SmartConfigure which unpacks and configures dependencies into two loops and reverse their order, so that all dependencies which need to be unpacked are handled first and only after that configures are issued for dependencies. This is needed as otherwise the unpack of a (new) dependency will be issued in between a configure call for two (or more) packages which form a loop, which means the configure calls aren't part of the same dpkg call and therefore dpkg bails out. Such tight loops should really be avoided as they are usually wrong – and in reality the dependencies in libreoffice were greatly simplified thanks to Rene Engelhard so the problem is gone for the benefit of all. Closes: 707578
* try all providers in order if uninstallable in MarkInstallDavid Kalnischkies2013-06-093-5/+84
|
* fix priority sorting by prefering higher in MarkInstallDavid Kalnischkies2013-06-093-1/+38
| | | | | | | Used to work until a certain (here unnamed) person came along and used the wrong operator causing low-priority packages to be sorted above high-priority packages while choosing a provider in commit 2b5c35c7bb915dbd46fefd7c79f05364ba22f93b from Nov 2011
* prefer Essentials over Removals in ordering scoreDavid Kalnischkies2013-06-092-3/+3
| | | | | | | | | | | | | | Doing Removes early is good to have them out of the way, so they don't break 'Inst' or 'Conf' chains, but scoring them above Essentials means that we end up upgrading (many) less important packages before we handle big stuff like libc6 or debconf which not only fails if those less important packages have unannounced (strict) dependencies, but also leads to having these packages unconfigured for a long time triggering bugs in maintainer scripts for no good reason (#708831). So this commits sets the default value for remove scores to 100, which is below the one for essentials (200) and a lot lower than the previous default value (500).
* rewrite pkgOrderList::DepRemove to stop incorrect immediate settingDavid Kalnischkies2013-06-092-116/+105
| | | | | | | | | | | | Some squeeze → wheezy upgrades indicate that DepRemove runs amok in complicated setups as it wasn't correctly working with or-groups. Completely rewritten the check is now moving from or-group to or-group instead. The behavior should be the same as the code before, but (hopefully) with less bugs and more comments. Closes: 645713
* remove -ldl from cdrom and -lutil from apt-get linkageDavid Kalnischkies2013-06-093-3/+3
| | | | | | | | | | Building src:apt shows: dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/apt/usr/lib/apt/methods/cdrom was not linked against libdl.so.2 (it uses none of the library's symbols) dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/apt/usr/bin/apt-get was not linked against libutil.so.1 (it uses none of the library's symbols)
* build the en manpages in subdirectory doc/enDavid Kalnischkies2013-06-096-60/+74
| | | | | Building manpages becames more consistent this way and it is simpler to ignore build artefacts, too.
* streamline .gitignore furtherDavid Kalnischkies2013-06-091-30/+36
| | | | | | | adding some comments, regrouping files and use some patterns to avoid updating the ignore file for new translations or abi changes Git-Dch: Ignore
* merged trunkMichael Vogt2013-06-062-1/+26
|\
| * Merge branch 'debian/sid' of https://github.com/ion1/apt into debian/sidMichael Vogt2013-06-062-1/+25
| |\
| | * cmdline/apt-key: Accept nonexistent --keyring file with adv as wellJohan Kiviniemi2013-05-222-2/+4
| | |
| | * cmdline/apt-key: Create new keyrings with mode 0644 instead of 0600Johan Kiviniemi2013-05-222-0/+22
| | |
* | | prepare releaseMichael Vogt2013-06-061-2/+2
|/ /
* | Fix double free (closes: #711045)Michael Vogt2013-06-062-1/+8
| | | | | | | | | | | | | | * Fix double free (closes: #711045) * Fix crash when the "mirror" method does not find any entry (closes: #699303)
* | fix double free (closes: #711045)Michael Vogt2013-06-062-2/+8
|/
* * buildlib/apti18n.h.in:Michael Vogt2013-05-162-0/+5
| | | | - fix build failure when building without NLS (closes: #671587)
* debian/gbp.conf: add debian-tag key to ensure git-dch worksMichael Vogt2013-05-161-0/+1
|
* Update changelog to include Vcs-* changesJulian Andres Klode2013-05-161-0/+3
|
* French translation : typo fix. Closes: #677272Christian PERRIER2013-05-162-2/+9
|
* Update Vcs fieldsGuillem Jover2013-05-161-2/+2
| | | | | | Use the canonical URLs. Rename Vcs-Bzr to Vcs-Git and use the more efficient git protocol instead of http. Point Vcs-Browser to the gitweb interface.
* add export-dir and debian-branchMichael Vogt2013-05-161-0/+2
|
* update .gitignoreMichael Vogt2013-05-161-0/+12
|
* prepare uploadMichael Vogt2013-05-162-9/+5
|
* merged previous bzr commitMichael Vogt2013-05-167-10/+10
|\
| * releasing version 0.9.8Michael Vogt2013-05-082-3/+3
| |
| * fix uri testMichael Vogt2013-05-081-1/+1
| |
| * refresh translationsMichael Vogt2013-05-0846-756/+657
| |
* | moved to git, updated gbp.conf to match the bzr versionMichael Vogt2013-05-162-2/+5
| |
* | non-inline RunGPGV methods to restore ABI compatibility with previous ↵David Kalnischkies2013-05-163-8/+23
| | | | | | | | | | | | | | | | versions to fix partial upgrades (Closes: #707771) The rename in 0.9.7.9~exp2 moved the method body to the class definition which means it became inline, which isn't ABI compatibile. The reverse of moving inline to non-inline is safe though.
* | rebuild poMichael Vogt2013-05-1647-757/+658
| |
* | add .gitignore and gbp.confMichael Vogt2013-05-162-0/+21
|/
* merged patch from Daniel Hartwig to fix URI and proxy releated issuesMichael Vogt2013-05-087-21/+65
|
* merged from the debian-wheezy branchMichael Vogt2013-05-085-9/+34
|\
| * * apt-pkg/algorithms.cc:Michael Vogt2013-05-082-2/+11
| | | | | | | | | | | | - Do not propagate negative scores from rdepends. Propagating the absolute value of a negative score may boost obsolete packages and keep them installed instead of installing their successors. (Closes: #699759)
| * properly handle if-modfied-since with libcurl/https Michael Vogt2013-05-084-5/+25
| | | | | | | | (closes: #705648)
* | Fix English spelling error in a message ('A error'). Unfuzzybubulle@debian.org2013-04-1047-46/+50
| | | | | | translations. Closes: #705087
* | Changelog entry for translation fixesbubulle@debian.org2013-04-091-0/+6
| |
* | Complete French translationbubulle@debian.org2013-04-091-3/+3
| |