Julian Andres Klode
fe9a05dfc9
When looking if Provides match, OR them with the normal patches
Simply overriding the value caused patterns that previously matched
a real package name to not match anymore.
Closes : #760868
7 years ago
Julian Andres Klode
35ea8b154b
Document the general effect of the comma operator
Closes : #574939
7 years ago
Julian Andres Klode
a0a6695515
Add GetPriority(VerIterator) to pkgDepCache::Policy
Also unify the case of considerFiles and ConsiderFiles to be
ConsiderFiles in all cases.
Gbp-Dch: ignore
7 years ago
Julian Andres Klode
91e42c2b4e
cachefile.cc: Do not ignore return value of pkgDepCache::Init()
Currently, this always returns true, but it might start returning
false at some point in the future...
Gbp-Dch: ignore
7 years ago
Julian Andres Klode
7a139fa8bf
update: Check if the cache could be opened, don't just assume it
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
7 years ago
Julian Andres Klode
7f97aa7482
doc/files.dbk: Improve documentation for {src,}pkgcache.bin
This should be enough for most persons.
Closes : #465551
7 years ago
Julian Andres Klode
df53919b1e
apt-get: allow non-root --print-uris build-dep
Closes : #283400
7 years ago
David Kalnischkies
516582f486
add {contrib,non-free}/{metapackages,oldlibs} to section specialhandling
Closes: 788320
7 years ago
Julian Andres Klode
dd5978bff4
apt-cache(8): Drop the #versions >= #package names comparison
Closes : #691281
7 years ago
Julian Andres Klode
71510743f4
Also add 'in combination with the other options.' to another error
Gbp-Dch: ignore
7 years ago
Julian Andres Klode
0885c46f0c
Set Acquire::Changelogs::URI::Origin::Tanglu for Tanglu changelogs
7 years ago
Julian Andres Klode
a24d67a2b7
debian/control: Remove XS- from Testsuite and bump Standards-Version
Thanks: Lintian
7 years ago
Julian Andres Klode
40ce4d9a25
debian/control: Drop the versioned python-apt conflict
Thanks: Lintian
7 years ago
Julian Andres Klode
a0abb75b8d
debian/control: Replace debian by Debian
Thanks: Lintian
7 years ago
Julian Andres Klode
ee75963e1e
changelog: Replace reenable by re-enable everywhere
Thanks: Lintian
7 years ago
Julian Andres Klode
825220b5ae
apt: Add autoremove and auto-remove commands
7 years ago
Michael Vogt
f8043f219f
Make apt compile with clang++ again
This allows us to run the clang static analyzer and to run the
testsuite with the clang MemorySanitizer.
7 years ago
Julian Andres Klode
f66738d7fb
Make auto-remove and auto-clean aliases for the versions without -
Some people type them instead of autoremove and autoclean, so make
them happy.
Closes : #274159
Makes-Happy: Ansgar
7 years ago
Julian Andres Klode
c38847ebbb
apt_preferences(5): Mention overlapping of pin matches
7 years ago
Julian Andres Klode
1bdfd2c9de
apt_preferences(5): Correct default pin assignment documentation
This was broken, as higher pins were also assigned to versions
that are installed.
Closes : #623706
7 years ago
Julian Andres Klode
5fba9462b6
apt-cache(8): Mention that --names-only search provides
Closes : #618017
7 years ago
Julian Andres Klode
714c23a791
apt-cache: Show an error if stats gets any arguments
Closes : #153161
7 years ago
Julian Andres Klode
b7bbde2520
Say "in combination with the other options" if an option is not understood
Closes : #762758
7 years ago
Julian Andres Klode
2e38192cec
Mention that source order only matter per version
Closes : #617445
7 years ago
Julian Andres Klode
adfa4116e7
Replace UINT_MAX with std::numeric_limits<unsigned int>::max()
Gbp-Dch: ignore
7 years ago
Julian Andres Klode
e916a815e1
Add integration test for Pin-Priority range checks
Gbp-Dch: ignore
7 years ago
Julian Andres Klode
b381a482ea
Replace --force-yes by various options starting with --allow
This enables more fine grained control over such exceptions.
7 years ago
Julian Andres Klode
51c4e07f4c
Merge branch 'debian/experimental' of https://github.com/DonKult/apt into debian/experimental
7 years ago
Julian Andres Klode
dd14b7a562
po/fr.po: Remove the unbreakable space before ! in the confirm string
This was probably really annoying for French people wanting to remove
essential packages, sorry about that.
Closes : #727680
7 years ago
Julian Andres Klode
df7c9fd222
Accept --upgradeable as synonym for --upgradable
It's a tiny diff, so why not? But no need to document it.
Closes : #787846
7 years ago
Julian Andres Klode
5a3264396f
Use setresuid() and setresgid() where available
7 years ago
Julian Andres Klode
98cc7fd2c1
Deprecate SPtrArray<T> and convert everyone to unique_ptr<T[]>
More standardization
7 years ago
Julian Andres Klode
6c413b1886
Mark SPtr as deprecated, and convert users to std::unique_ptr
Switch to std::unique_ptr, as this is safer than SPtr.
7 years ago
Julian Andres Klode
47c37a1bfc
C++11: Switch from auto_ptr to unique_ptr
This is nicer
7 years ago
Julian Andres Klode
eb8ef1bb77
Remove an invalid fi from a testcase
Gbp-Dch: ignore
7 years ago
Julian Andres Klode
bb08e2046e
Fix integration tests for the removal of the Package pin output
This should make them work again.
7 years ago
Julian Andres Klode
a1dfe33790
Drop the Section field from pkgCache::Package again
This somehow got back, we don't really know why. Emulate the
Section() method in the PkgIterator by looking at the section
of the head of the VersionList.
7 years ago
Julian Andres Klode
85b9b32933
apt_preferences(5): Re-document how priorities are calculated
The old text did not match either the old or the new implementation,
so let's rewrite it to explain the new implementation.
Closes : #554773
7 years ago
Julian Andres Klode
809aa216c6
policy: Be more strict about parsing pin files, and document prio 0
Treat invalid pin priorities and overflows as an error.
Closes : #429912
7 years ago
Julian Andres Klode
f3f06cae53
apt-cache: Improve translateability of the "with priority" thing
Gbp-Dch: ignore
7 years ago
Julian Andres Klode
32cc424bf5
Only make Upgradable() return true for packages with a candidate
If there is no candidate, the package should not be considered
upgradeable.
LP: #896689
7 years ago
Julian Andres Klode
e595c45791
apt-cache: Modify policy output to use per-version pins
Also optionally enable old output by setting APT::Policy=0.
7 years ago
Julian Andres Klode
10b39ae62d
Add a parameter ConsiderFiles to GetPriority(VerIterator)
This allows us to exclude files from being considered for the
priority, so it will return only specific-version matches.
7 years ago
Johannes Schauer
14c50b58e9
use a=experimental instead n=experimental in pin documentation
Closes: 783343
7 years ago
Tomas Pospisek
1d6afdd9b1
document APT::Periodic::RandomSleep
The documentation in the patch is from
https://help.ubuntu.com/community/AutomaticSecurityUpdates
That page is licensed under Creative Commons Attribution-ShareAlike
3.0. Because I'm unsure how that license meshes with apt's license
I've not copied the text but formulated the same information freely
in my own words.
The original text was contributed by Chris Bainbridge [1][3]
and Kees Cook [2]. Thanks to them.
[1] https://help.ubuntu.com/community/AutomaticSecurityUpdates?action=diff&rev1=40&rev2=41
[2] https://help.ubuntu.com/community/AutomaticSecurityUpdates?action=diff&rev1=38&rev2=39
[3] https://help.ubuntu.com/community/AutomaticSecurityUpdates?action=diff&rev1=37&rev2=38
Closes: 776380
Thanks: Chris Bainbridge and Kees Cook for initial text
7 years ago
Guillem Jover
a4256c6bb5
Do not set unhonored DPKG_NO_TSTP variable for dpkg
Support for that variable was removed in dpkg in 1.15.6, in commit
6f037003e8b96878b485efb7cbd1f846e3bf4e97.
Closes : #765366
7 years ago
Jonathan Nieder
29efb9dda7
document VERSION 2 (and 3) pre-install-pkgs hook interface
[Commiter: Patch adapted to apply to current version of the manpage and
added/moved a few words about Version 3 to make it fit better]
Closes: 627188
7 years ago
Luca Bruno
94171725b1
Replace all "press enter" occurrences with "press [Enter]"
Thanks: Andre Felipe Machado for initial patch
Closes: 414848
7 years ago
Daniel Hartwig
ad42ed4698
replace direct calls to egrep with grep -E
The rest of the initial patch is not needed or incorrect in our usage.
Big changes for the dselect scripts seem unneeded as well as those are
hardly used by anyone anymore…
[commit message written by commiter]
Closes: 255577
Thanks: David Weinehall for initial patch
7 years ago
David Kalnischkies
35bf76cf30
remove Dir:: scope limit of RootDir in the documentation
RootDir doesn't only effect Dir-scope but all FindDir directories, so
document it accordingly.
Closes: 659387
7 years ago