summaryrefslogtreecommitdiff
path: root/apt-pkg
AgeCommit message (Collapse)Author
2011-05-30apt-pkg/acquire-item.cc: Reject files known to be invalid (LP: #346386) ↵Julian Andres Klode
(Closes: #195301) This commit deals with the following cases: - First section of index file (Packages,Sources,Translation) without Package field - Signed release files without GPG data (NODATA) - i18n/Index files without hash sums Handling unsigned Release files is more complicated, and the example code using indexRecords is disabled as it can reject correct Release files without hashes. How we can reliably check unsigned Release files is another question, and not urgent anyway, as it should have no dramatic effect (we could check that it is a valid RFC-822 section, but that's a bit too long to write)
2011-05-16* apt-pkg/packagemanager.cc:David Kalnischkies
- ensure for Multi-Arch:same packages that they are unpacked in lock step even in immediate configuration (Closes: #618288)
2011-05-13MAP_ANON is deprecated in favor of MAP_ANONYMOUS, but telesphoreo needsDavid Kalnischkies
to ships a patch for this so pretend to be nice and make it work (TM)
2011-05-13* apt-pkg/contrib/netrc.cc:David Kalnischkies
- replace non-posix gnu-extension strdupa with strdup
2011-05-13rewrite new and previously satisfied important dependency detection inDavid Kalnischkies
MarkInstall to be a bit more easy to read and possibily a bit faster - and add a small testcase for these situations to ensure the same behaviour
2011-05-12move the broken dependency detection above the new recommends detectionDavid Kalnischkies
as if the recommends can't be installed there is not much sense in checking if it a new recommends or not
2011-05-11convert a lot of places to use IsNegative instead of checking by handDavid Kalnischkies
for the three different dependencies
2011-05-11if critical or-group can't be satisfied, exit directly.David Kalnischkies
2011-05-10fix order of CurrentURI and UsedMirror in Status() and Log()David Kalnischkies
2011-04-26* apt-pkg/acquire-item.cc:Ben Finney
- apply fix for poorly worded 'locate file' error message from Ben Finney, thanks! (Closes: #623171)
2011-04-26* apt-pkg/acquire-worker.cc:David Kalnischkies
- print filename in the unmatching size warning (Closes: #623137)
2011-04-26* apt-pkg/deb/debmetaindex.cc:David Kalnischkies
- do not download TranslationIndex if no Translation-* will be downloaded later on anyway (Closes: #624218)
2011-04-25* apt-pkg/pkgcache.cc:David Kalnischkies
- really ignore :arch in FindPkg() in non-multiarch environment
2011-04-21simplify the code for wildcard pinning a bitDavid Kalnischkies
2011-04-20merge with debian-sid branch and 0.8.14.1 releaseDavid Kalnischkies
* apt-pkg/depcache.cc: - Really release action groups only once (Closes: #622744) * apt-pkg/acquire-item.cc: - Only try to rename existing Release files (Closes: #622912)
2011-04-18apt-pkg/depcache.cc: Really release action groups only once (Closes: #622744)Julian Andres Klode
2011-04-16* apt-pkg/deb/dpkgpm.cc:David Kalnischkies
- replace obsolete usleep with nanosleep
2011-04-16cppcheck: (style) Variable 'State' is assigned a value that is never usedDavid Kalnischkies
2011-04-16* apt-pkg/orderlist.cc:David Kalnischkies
- let VisitRProvides report if the calls were successful
2011-04-16remove the extra unnecessary qualification cppcheck complains aboutDavid Kalnischkies
2011-04-16* apt-pkg/acquire-method.cc:David Kalnischkies
- write directly to stdout instead of creating the message in memory first before writing to avoid hitting limits
2011-04-16apt-pkg/acquire-item.cc: Only try to rename existing Release files (Closes: ↵Julian Andres Klode
#622912)
2011-04-16fix a bunch of cppcheck warnings/errors based on a patch byDavid Kalnischkies
Niels Thykier, thanks! (Closes: #622805)
2011-04-16* apt-pkg/depcache.cc:David Kalnischkies
- really include 'rc' packages in the delete count by fixing a typo which exists since 1999 in the source… (LP: #761175)
2011-04-15Merge from DonKultJulian Andres Klode
2011-04-15* apt-pkg/policy.cc:Julian Andres Klode
- Allow pinning by glob() expressions, and regular expressions surrounded by slashes (the "/" character).
2011-04-14* apt-pkg/deb/deblistparser.cc:Julian Andres Klode
- Handle no space before "[" in build-dependencies (LP: #72344)
2011-04-08merged from the mvo branchMichael Vogt
2011-04-08* apt-pkg/acquire-item.cc:Julian Andres Klode
- Use Release files even if they cannot be verified (LP: #704595)
2011-04-07* apt-pkg/indexcopy.cc:Julian Andres Klode
- Use RealFileExists() instead of FileExists(), allows amongst other things a directory named Sources to exist on a CD-ROM (LP: #750694).
2011-04-06* apt-pkg/pkgcache.cc:David Kalnischkies
- use the native Architecture stored in the cache header instead of loading it from configuration as suggested by Julian Andres Klode
2011-04-06document the pkg:any specialcasing in FindPkg as well to make it clearDavid Kalnischkies
that it is a needed "hack" to support multi-arch in the least breaking way
2011-04-05* apt-pkg/aptconfiguration.cc:Michael Vogt
- fix comparing for a empty string
2011-04-04merged from lp:~donkult/apt/sidMichael Vogt
2011-04-02apt-pkg/acquire-item.cc: Use stat buffer if stat was0.8.13.1Julian Andres Klode
successful, not if it failed (Closes: #620546)
2011-04-02let TimeRFC1123 return an empty string if gmtime() failsDavid Kalnischkies
2011-04-02impossible to be too long but just to be sure use snprintfDavid Kalnischkies
2011-03-28* apt-pkg/deb/deblistparser.cc:David Kalnischkies
- create foo:any provides for all architectures for an allowed package
2011-03-26do not change protected packages in autoinstall (Closes: #618848)David Kalnischkies
2011-03-26* apt-pkg/aptconfiguration.cc:David Kalnischkies
- use dpkg --print-foreign-architectures to get multiarch configuration if non is specified with APT::Architectures (Closes: #612958)
2011-03-25* apt-pkg/cacheiterator.h:David Kalnischkies
- return "all" instead of native architecture without breaking the abi (too much) by extending enum instead of using bitflags (LP: #733741) With the next abi break that enum should be a char bitflag instead
2011-03-25* apt-pkg/pkgcachegen.cc:David Kalnischkies
- make "all"->"native" an implementation detail of NewPackage rather than rewrite it in higher methods
2011-03-25* apt-pkg/depcache.cc:David Kalnischkies
- remove pseudo handling leftover from SetReInstall
2011-03-23* apt-pkg/deb/deblistparser.h:David Kalnischkies
- enable StripMultiArch by default for ParseDepends
2011-03-20reorganize the marker methods a bit by moving the common part to aDavid Kalnischkies
seperate IsModeChangeOk which checks sanity and dpkg holds
2011-03-16* apt-pkg/vendor.cc, apt-pkg/vendorlist.cc:David Kalnischkies
- mark them as deprecated as they are unused
2011-03-16* apt-pkg/deb/dpkgpm.cc:David Kalnischkies
- skip --configure if all packages disappeared
2011-03-15apt-pkg/acquire-method.cc: fix copy/paste errorMichael Vogt
2011-03-14apt-pkg/acquire-item.cc: add some more missing Fail-IgnoreMichael Vogt
2011-03-14apt-pkg/acquire-item.{cc,h}: mark InRelease with Fail-Ignore to ensure the ↵Michael Vogt
mirror methods does not retry on each mirror