summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | lintian: don't show the typofix as a typoDavid Kalnischkies2015-08-271-3/+3
| | | | | | | | Git-Dch: Ignore
* | add a libapt-pkg recommends aptDavid Kalnischkies2015-08-271-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | For many usecases like the acquire system libapt-pkg actually needs tools and config found in the apt package. apt tends to be installed everywhere libapt-pkg appears usually anyhow, but just in case to nudge users (and tools) in the right direction. Note that this isn't and shouldn't be a hard depends as there are usecases working perfectly without 'apt' and as this is such an esoteric problem incurring the costs arising from a Depends-Breaks-loop isn't deemd as worth it.
* | ignore AllowMem parameter in cache generationDavid Kalnischkies2015-08-272-16/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The parameter name suggests that it should forbid the building of the entire cache in memory, but this isn't how it was previously and as AllowMem is false by default it actually prevents previous usecases from working like being root and configuring apt to build no caches at all. This should be fixed at some point to actually work, but that is hard to pull off as it means switching the default and some callers (including apt itself) actually did call it explicitly with false in certain cases for no apparent reason (at least now where it is common to have enough memory to throw at every problem and even if not is a slow apt usally better than an apt erroring out). Closes: 796459
* | correct 'apt update' download summary lineDavid Kalnischkies2015-08-271-5/+6
| | | | | | | | | | | | | | | | Fetched() was reported for mostly nothing, while we should be calling it for files worked with from non-local sources (e.g. http, but not file or xz). Previously this was called from an acquire item, but got moved to the acquire worker instead to avoid having it (re)implemented in all items, but the checks were faulty.
* | Swedish program translation updateAnders Jonsson2015-08-271-878/+972
| | | | | | | | Closes: 796059
* | just-in-time removal of broken essential packagesDavid Kalnischkies2015-08-274-5/+64
| | | | | | | | | | | | | | | | We deal with Conflicts in SmartUnpack in pretty much the same way, but Breaks weren't handled in SmartConfigure so that the remove was sheduled after the configuration of the package breaking the to-be-removed. Closes: 796070
* | test for #796070: downgrades involving essential packagesJulian Andres Klode2015-08-271-0/+67
| | | | | | | | Git-Dch: Ignore
* | tests: check apt-get source release name switching with -tDavid Kalnischkies2015-08-271-0/+9
| | | | | | | | Git-Dch: Ignore
* | Fix more instances of missing remapping handlingJulian Andres Klode2015-08-271-7/+22
| | | | | | | | | | | | | | | | | | | | | | | | After fixing Bug#796999, we noticed that there were some more instances of iterators which had no associated Dynamic object, causing them to not be updated when the cache was remapped. This happened in two places: In NewPackage() and in NewProvidesAllArch(). Gbp-Dch: ignore
* | pkgcachegen: Account for remapping when parsing depends from NewPackageJulian Andres Klode2015-08-271-2/+6
|/ | | | | | | | | | | | | | | In both the Ver and Dep variables, we need to account for remapping, as otherwise we would still reference the old bug. Reproduction environment: * An i386 system with amd64 foreign architecture * A sources.list with deb http://snapshot.debian.org/archive/debian/20150826T102846Z/ unstable main deb http://snapshot.debian.org/archive/debian/20150826T102846Z/ experimental main Thanks: Jakub Wilk for the bug report and the backtraces Closes: #796999
* releasing package apt version 1.1~exp10Michael Vogt2015-08-2456-64374/+74970
|
* Fix typoMichael Vogt2015-08-242-2/+2
| | | | | Thanks: Julian Andres Klode Git-Dch: ignore
* doc/apt.conf.5.xml: document Acquire::EnableSrvRecodsMichael Vogt2015-08-211-0/+9
| | | | Git-Dch: ignore
* postinst: Correctly pass --home instead of -home, and fixup old userJulian Andres Klode2015-08-201-1/+6
| | | | Thanks: Niels Thykier for reporting this on IRC
* Re-indent GetCandidateVerNew() and make ConsiderFiles argument explicitJulian Andres Klode2015-08-201-7/+7
| | | | Gbp-Dch: ignore
* Merge remote-tracking branch 'mvo/feature/srv-records' into debian/experimentalMichael Vogt2015-08-208-14/+353
|\
| * Add basic (non weight adjusted) shuffling for SrvRecords selectionMichael Vogt2015-08-204-5/+97
| | | | | | | | | | Also add "Debug::Acquire::SrvRecs" debug option and the option "Acquire::EnableSrvRecods" to allow disabling this lookup.
| * apt-pkg/contrib/srvrec.cc: res_query() should not generate a _error->Warning()Michael Vogt2015-08-181-0/+2
| |
| * cleanupMichael Vogt2015-08-184-19/+20
| |
| * Merge remote-tracking branch 'upstream/debian/experimental' into ↵Michael Vogt2015-08-18368-13251/+17360
| |\ | | | | | | | | | feature/srv-records
| * \ Merge branch 'debian/experimental' into feature/srv-recordsMichael Vogt2015-08-18475-85638/+107322
| |\ \ | | | | | | | | | | | | | | | | | | | | Conflicts: cmdline/apt-helper.cc cmdline/makefile
| * | | WIP start randomizingMichael Vogt2014-05-232-2/+34
| | | |
| * | | when using srv records, use the next server if one fails to connectMichael Vogt2014-05-232-18/+41
| | | |
| * | | WIP make connect use GetSrvRecordsMichael Vogt2014-05-224-4/+37
| | | |
| * | | add sorting by priorityMichael Vogt2014-05-202-2/+10
| | | |
| * | | add GetSrvRecord helper to apt-pkg/contrib/srvrec.{cc,h}Michael Vogt2014-05-204-1/+149
| | | |
* | | | Support tabs in sources.list filesJulian Andres Klode2015-08-192-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | Also support vertical tabs, as isspace() does the same. Closes: #796067
* | | | Add support for "apt-cache showsrc --only-source srcpkgname"Michael Vogt2015-08-185-5/+48
| | | | | | | | | | | | | | | | | | | | Thanks: Steve Slangasek for the suggestion Closes: 695633
* | | | Provide "apt-get full-upgrade" to match "apt full-upgrade"Michael Vogt2015-08-181-0/+1
| |_|/ |/| |
* | | releasing package apt version 1.1~exp9Michael Vogt2015-08-182-1/+283
| | |
* | | Do not fail if building test/ fails (issues with parallel builds)Michael Vogt2015-08-181-1/+2
| | | | | | | | | | | | Git-Dch: ignore
* | | Fix the test suite harderJulian Andres Klode2015-08-171-3/+3
| | | | | | | | | | | | Gbp-Dch: ignore
* | | Fix the test suite againJulian Andres Klode2015-08-1732-118/+118
| | | | | | | | | | | | Gbp-Dch: ignore
* | | Re-add support for G++ 4.8 and configure travis to use itJulian Andres Klode2015-08-175-8/+10
| | | | | | | | | | | | | | | | | | This makes tests work again! Gbp-Dch: ignore
* | | Really fix all iwyu issuesMichael Vogt2015-08-171-0/+1
| | | | | | | | | | | | Git-Dch: ignore
* | | debian/NEWS: Mention new pinning algorithm added in 2.0~exp1Julian Andres Klode2015-08-171-0/+12
| | |
* | | Fix all the wrong removals of includes that iwyu got wrongMichael Vogt2015-08-1710-0/+16
| | | | | | | | | | | | Git-Dch: ignore
* | | Cleanup includes after running iwyuMichael Vogt2015-08-1728-70/+3
| | |
* | | Do not crash in 'apt show' for non-installed packagesJulian Andres Klode2015-08-171-1/+1
| | | | | | | | | | | | | | | | | | | | | For a non-installed package, manual_installed was set to the null pointer. This was passed to Tag::Rewrite, which expects an string (empty for null-type values) and the conversion from null pointer to string does not work correctly.
* | | Replace "extra" in "the following extra packages [...]" by "additional"Julian Andres Klode2015-08-161-1/+1
| | | | | | | | | | | | | | | | | | | | | This breaks the translation for no big gain, but we broke enough strings already for that to not really matter anymore. Closes: #82430
* | | Make pkgCache::Priority() static, it does not need the instanceJulian Andres Klode2015-08-161-1/+1
| | | | | | | | | | | | | | | | | | It still compiles after the change, so just merge it. Closes: #448627
* | | install: If package already is the newest version, display versionJulian Andres Klode2015-08-161-2/+3
| | | | | | | | | | | | | | | | | | Also do it unconditionally, as it does not hurt. Closes: #315149
* | | Use terminfo's typical save_cursor/restore_cursor sequencesJames McCoy2015-08-161-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | Not all terminals understand DOS' escape sequences for save/restore cursor, so use the more typical sequences from terminfo. Closes: #772521 Signed-off-by: James McCoy <jamessan@debian.org>
* | | Show full package records in apt-cache search -fKusanagi Kouichi2015-08-161-7/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | This just changes the DoSearch code to use DisplayRecord to display the record when the full record is requested. Closes: #660851 [jak@debian.org: Wrote the commit message]
* | | When looking if Provides match, OR them with the normal patchesJulian Andres Klode2015-08-161-1/+1
| | | | | | | | | | | | | | | | | | | | | Simply overriding the value caused patterns that previously matched a real package name to not match anymore. Closes: #760868
* | | Document the general effect of the comma operatorJulian Andres Klode2015-08-151-0/+5
| | | | | | | | | | | | Closes: #574939
* | | Add GetPriority(VerIterator) to pkgDepCache::PolicyJulian Andres Klode2015-08-154-3/+6
| | | | | | | | | | | | | | | | | | | | | Also unify the case of considerFiles and ConsiderFiles to be ConsiderFiles in all cases. Gbp-Dch: ignore
* | | cachefile.cc: Do not ignore return value of pkgDepCache::Init()Julian Andres Klode2015-08-151-2/+1
| | | | | | | | | | | | | | | | | | | | | Currently, this always returns true, but it might start returning false at some point in the future... Gbp-Dch: ignore
* | | update: Check if the cache could be opened, don't just assume itJulian Andres Klode2015-08-151-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This seems to cause Bug#756162, as in that case the depcache was NULL. I'm not entirely sure how that happens, but it's better to be check here rather then crash later on. Closes: #756162
* | | doc/files.dbk: Improve documentation for {src,}pkgcache.binJulian Andres Klode2015-08-141-3/+3
| | | | | | | | | | | | | | | | | | This should be enough for most persons. Closes: #465551