summaryrefslogtreecommitdiff
path: root/apt-pkg
Commit message (Collapse)AuthorAgeFilesLines
* Strip user/password from URL in error message.Eugene V. Lyubimkin2008-10-251-1/+17
|
* Added fallback to uncompressed files while acquiring index files (Sources ↵Eugene V. Lyubimkin2008-10-251-6/+19
| | | | and Packages)
* Applying #298821 patch for further arbitary typosLuca Bruno2008-10-032-3/+3
|
* Fix some typos in docs and translations (thanks to timeless, closes: 368665)Luca Bruno2008-10-034-4/+4
|
* * apt-pkg/packagemanager.cc, apt-pkg/deb/dpkgpm.cc:Michael Vogt2008-10-014-5/+5
| | | | | | | - move the state file writting into the Go() implementation of dpkgpm (closes: #498799) * apt-pkg/algorithms.cc: - fix simulation performance drop (thanks to Ferenc Wagner for reporting the issue)
* Restore the apt ABI.Daniel Burrows2008-09-252-13/+40
| | | | | | | | | | | | | The problem was that the size of pkgDpkgPM and its member offsets changed because a map giving the names of the trigger states was inserted into the middle of the structure. I fixed it by using a statically allocated array instead. This changes the procedure for looking up a string to a linear search, which should be fine (or even faster than before) since there are only 4 state strings. If it becomes a problem, sorting the array by key will allow us to use std::equal_range(), but I would advise against this unless it's really necessary, since sooner or later someone will forget to maintain the sort order.
* * apt-pkg/pkgcachegen.cc:egon2008-09-232-5/+18
| | | | - do not add multiple identical descriptions for the same language (closes: #400768)
* * add DPkg::NoTriggers option so that applications that callMichael Vogt2008-07-251-0/+3
| | | | | apt/aptitude (like the installer) defer trigger processing (thanks to Joey Hess)
* * improve apt progress reporting, display trigger actionsMichael Vogt2008-07-252-1/+43
|
* * apt-pkg/depcache.cc:Michael Vogt2008-07-251-2/+3
| | | | | - when checking for new important deps, skip critical ones (closes: #485943)
* Apply patch to avoid truncating of arbitrary files. Thanks to BryanOtavio Salvador2008-05-231-1/+3
| | | Donlan <bdonlan@fushizen.net> for the patch. Closes: #482476
* Improve the debugging of the auto-remove code.Daniel Burrows2008-04-271-2/+43
|
* Fix ReadMessages to handle messages that are longer than 64000 bytes.Daniel Burrows2008-04-021-4/+40
| | | | | There's a bug in this code that needs to be fixed, but it existed prior to this change.
* Improve the names used for the non-whitespace iterators.Daniel Burrows2008-04-011-6/+6
|
* Remove a debugging message that I left in by accident (if it ever triggers ↵Daniel Burrows2008-04-011-5/+0
| | | | the program is about to crash anyway).
* Improve some comments in the configuration parser.Daniel Burrows2008-04-011-4/+8
|
* Lift the 1024-character limit on configuration file lines.Daniel Burrows2008-04-011-49/+117
| | | | | | | | To do this, I changed the configuration parser so that instead of reading the line into a buffer and munging it in-place, it builds a string containing the current line (via successive getline() calls) and then walks down that string. Instead of skipping comments and whitespace by erasing them from the buffer, the new code just skips over them.
* When a line in a config file is too long, say which config file it is.Daniel Burrows2008-03-311-1/+2
|
* Patch MarkInstall to follow currently satisfied Recommends even if they ↵Daniel Burrows2008-03-181-7/+29
| | | | | | | | aren't "new". (Closes: #470115) This handles situations where a recommendation's version requirement has been tightened. Instead of breaking the Recommends, the recommendee will be upgraded.
* typo fixesMichael Vogt2008-03-111-2/+2
|
* * Fix typos in manpages. Thanks to Daniel Leidert for the fixesMichael Vogt2008-02-212-3/+3
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Closes: #444922 [ Raise urgency to critical since it fixes a critical but for Debian Installer Lenny Beta1 release ] - Vietnamese updated. Closes: #460825 - Basque updated. Closes: #461166 - Galician updated. Closes: #461468 - Portuguese updated. Closes: #464575 - Korean updated. Closes: #448430 - Simplified Chinese updated. Closes: #465866 * Applied patch from Robert Millan <rmh@aybabtu.com> to fix the error message when gpgv isn't installed, closes: #452640. * Fix regression about APT::Get::List-Cleanup setting being ignored, closes: #466052. * Fix compilation warnings in apt-pkg/cdrom.cc and apt-pkg/contrib/configuration.cc. * Fix typo in debian/copyright file ("licened" instead of "licensed"), closes: #458966. - Vietnamese updated. Closes: #453774, #459013 - Simplified Chinese updated. Closes: #458039 - Norwegian Bokmål updated. Closes: #457917 * Fix wording for "After unpacking...". Thanks to Michael Gilbert
| * * Fix regression about APT::Get::List-Cleanup setting being ignored,Otavio Salvador2008-02-161-1/+1
| | | | | | closes: #466052.
| * * apt-pkg/packagemanager.{cc,h}:Michael Vogt2008-01-0711-81/+198
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | - propergate the Immediate flag to make hitting the "E: Internal Error, Could not perform immediate configuration (2)" harder * debian/control: - build against libdb-dev (instead of libdb4.4-dev) * merged the apt--DoListUpdate branch, this provides a common interface for "apt-get update" like operations for the frontends and also provides hooks to run stuff in APT::Update::{Pre,Post}-Invoke
| * | * Fix compilation warnings in apt-pkg/cdrom.cc andOtavio Salvador2007-12-272-3/+3
| | | | | | | | | apt-pkg/contrib/configuration.cc.
* | | - Make the breaks handling use the kill list. This means, that aMichael Vogt2008-02-061-6/+7
| | | | | | | | | Breaks: Pkg (<< version) may put Pkg onto the remove list.
* | | * apt-pkg/deb/debmetaindex.cc:Michael Vogt2008-02-041-0/+9
| | | | | | | | | | | | - add missing "Release" file uri when apt-get update --print-uris is run
* | | * apt-pkg/algorithms.cc: Michael Vogt2008-02-011-1/+5
| | | | | | | | | - add APT::Update::Post-Invoke-Success script slot
* | | * apt-pkg/deb/dpkgpm.cc:Michael Vogt2008-01-311-1/+3
| | | | | | | | | | | | - merged patch from Kees Cook to fix anoying upper-case display on amd64 in sbuild
* | | * apt-pkg/algorithms.cc:Michael Vogt2008-01-101-1/+1
| |/ |/| | | | | | | | | | | - Since APT::Get::List-Cleanup and APT::List-Cleanup both default to true, the effect of the compatibility code was to require both of them to be set to false in order to disable list cleanup; this broke the installer. Instead, disable list cleanup if either of them is set to false.
* | * apt-pkg/acquire-worker.cc, methods/connect.cc:Michael Vogt2008-01-071-0/+1
| | | | | | | | - consider a ResolveError a transient-network problem
* | * move the ListUpdate() code from cachefile.h into algorithms.{cc,h}Michael Vogt2008-01-074-76/+78
| | | | | | | | as it does not require a cachefile at all
* | support optional PulseInterval in ListUpdateMichael Vogt2008-01-042-4/+12
| |
* | * merged the apt--DoListUpdate branch, this provides a common interfaceMichael Vogt2008-01-046-64/+140
|\ \ | | | | | | | | | for apt-get update like operations for the frontends and also provides hooks to run stuff in APT::Update::{Pre,Post}-Invoke
| * | * doc/examples/configure-index:Michael Vogt2006-06-072-2/+2
| | | | | | | | | | | | | | | | | | - document the new features * apt-pkg/init.h, apt-pkg/makefile, methods/makefile: - we break the ABI, record this
| * | * apt-pkg/deb/dpkgpm.cc, apt-pkg/contrib/fileutl.{cc,h}:Michael Vogt2006-06-074-55/+75
| | | | | | | | | | | | | | | | | | - move the RunScripts() code into fileutl.{cc,h} * apt-pkg/cachefile.cc: - add support for "APT::Update::{Pre,Post}-Invoke" scripts
| * | * apt-pkg/cachefile, cmdline/apt-get.cc:Michael Vogt2006-06-072-0/+49
| | | | | | | | | | | | - move the code that does the work from apt-get.cc to pkgCacheFile::ListUpdate()
* | | * apt-pkg/packagemanager.{cc,h}:Michael Vogt2008-01-032-12/+42
| | | | | | | | | | | | | | | - propergate the Immediate flag to make hitting the "E: Internal Error, Could not perform immediate configuration (2)" harder
* | | merged from bzr.debian.netMichael Vogt2007-12-192-3/+8
|\ \ \ | | |/ | |/|
| * | * apt-pkg/contrib/configuration.cc:Otavio Salvador2007-12-161-1/+6
| | | | | | | | | | | | - if RootDir is set, then FindFile and FindDir will return paths relative to the directory stored in RootDir, closes: #456457.
| * | * Applied patch from Peter Eisentraut <peter_e@gmx.net> to fix aOtavio Salvador2007-12-161-2/+2
| | | | | | | | | | | | | | | grammatical error ("manual installed" -> "manually installed"), closes: #438136. *
* | | apt-pkg/deb/dpkgpm.cc: fix typesMichael Vogt2007-12-171-4/+4
|/ /
* | merged from debian-sidMichael Vogt2007-12-131-3/+3
|\ \
| * | * Applied patch from Alexander Winston <alexander.winston@comcast.net>Otavio Salvador2007-12-081-3/+3
| | | | | | | | | to use 'min' as symbol for minute, closes: #219034.
* | | * apt-pkg/acquire-item.{cc,h}:Michael Vogt2007-12-072-6/+19
|/ / | | | | | | - make the authentication download code more robust against servers/proxies with broken If-Range implementations
* | * Applied patch from Aurelien Jarno <aurel32@debian.org> to avoid CPUOtavio Salvador2007-11-262-2/+10
| | | | | | | | getting crazy when /dev/null is redirected to stdin (which breaks buildds), closes: #452858.
* | Minor fixes on racy_pselectOtavio Salvador2007-10-311-3/+3
| |
* | * Umount CD-ROM when calling apt-cdrom ident, except when called withOtavio Salvador2007-10-291-0/+7
| | | | | | -m, closes: #448521.
* | * Applied patch from Brian M. Carlson <sandals@crustytoothpaste.ath.cx>Otavio Salvador2007-10-291-0/+24
| | | | | | | | to add backward support for arches that lacks pselect support, closes: #448406.
* | * Applied patch from Frans Pop <elendil@planet.nl> to fix a trailingOtavio Salvador2007-10-261-2/+2
| | | | | | space after cd label, closes: #448187.
* | Changed ABIOtavio Salvador2007-10-252-2/+2
| |