summaryrefslogtreecommitdiff
path: root/apt-pkg
Commit message (Collapse)AuthorAgeFilesLines
* - change the internal handling of Extensions in pkgAcqIndexDavid Kalnischkies2011-01-263-52/+79
| | | | | - add a special uncompressed compression type to prefer those files * methods/{gzip,bzip}.cc: - print a good error message if FileSize() is zero
* - try downloading clearsigned InRelease before trying Release.gpgDavid Kalnischkies2011-01-209-70/+205
| | | | * apt-pkg/deb/deblistparser.cc: - rewrite LoadReleaseInfo to cope with clearsigned Releasefiles
* * methods/rred.cc:David Kalnischkies2011-01-153-19/+3
| | | | | - operate optional on gzip compressed pdiffs * apt-pkg/acquire-item.cc: - don't uncompress downloaded pdiff files before feeding it to rred
* ignore non-regular files in GetListOfFilesInDir (Closes: #594694)David Kalnischkies2011-01-131-12/+16
|
* * apt-pkg/cacheiterator.h:David Kalnischkies2011-01-132-9/+11
| | | - do not segfault if cache is not build (Closes: #254770)
* * apt-inst/contrib/extracttar.cc:David Kalnischkies2011-01-132-0/+18
|\ | | | | | | - let apt-utils work with encoded tar headers if uid/gid are large. Thanks to Nobuhiro Hayashi for the patch! (Closes: #330162)
| * Permit base256 encoded value in the numeric field of tar header.Nobuhiro Hayashi2010-12-032-0/+19
| |
* | * deb/dpkgpm.cc:Petter Reinholdtsen2011-01-121-2/+2
| | | | | | | | | | - fix popen/fclose mismatch reported by cppcheck. Thanks to Petter Reinholdtsen for report and patch! (Closes: #607803)
* | remove the unused Die boolean - error reporting is done by ExecWaitDavid Kalnischkies2011-01-121-5/+1
| |
* | remove two unused variables gcc-4.6 reports from depcache.ccDavid Kalnischkies2011-01-121-3/+2
| |
* | * apt-pkg/contrib/weakptr.h:David Kalnischkies2011-01-121-0/+2
| | | | | | - include stddefs.h to fix compile error (undefined NULL) with gcc-4.6
* | * apt-pkg/contrib/fileutl.cc:David Kalnischkies2011-01-127-12/+31
| | | | | | | | - add a RealFileExists method and check that your configuration files are real files to avoid endless loops if not (Closes: #604401)
* | check in the DepCache::SetCandidateVersion that the package is marked toDavid Kalnischkies2010-12-051-1/+2
| | | | | | | | | | | | | | be installed before setting the InstallVer as otherwise the Sizes states will be confused in some cases - this can happen now as SetCandidateRelease works also on packages which are not installed now (or will never in the final solution)
* | * apt-pkg/depcache.cc:David Kalnischkies2010-12-032-0/+180
| | | | | | | | | | | | | | - add SetCandidateRelease() to set a candidate version and the candidates of dependencies if needed to a specified release (Closes: #572709) - change pkg/release behavior to use the new SetCandidateRelease so installing packages from experimental or backports is easier
* | add the possibility to disable only the progress reporting stuff as theDavid Kalnischkies2010-11-301-1/+1
| | | | | | | | | | quiet level 1 does this, but also disables other stuff we might want to test against in a testcase
* | apply a very simple speed-up in case we try to set the candidate versionDavid Kalnischkies2010-11-301-2/+9
|/ | | | | of a package to the version which is already the candidate (apt-get does that for all packages it installs for simplicity)
* * apt-pkg/algorithms.cc:David Kalnischkies2010-11-291-0/+7
| | | | | - mark all installed packages first without auto installation in a dist-upgrade to prefer upgrading packages instead of installing new packages in versioned or-groups (Closes: #605394)
* * apt-pkg/depcache.cc:David Kalnischkies2010-11-101-2/+5
| | | | - don't install previously not installed providers in a try to statisfy a "Breaks: provides" dependency by upgrade
* * apt-pkg/algorithms.cc:David Kalnischkies2010-11-101-0/+1
| | | | - if the package was explicitly marked as ToRemove don't consider it as a candidate for FixByInstall
* evaluate Acquire::Languages= before LANG= (Closes: #602573)David Kalnischkies2010-11-091-40/+42
|
* * apt-pkg/orderlist.cc:David Kalnischkies2010-11-061-7/+27
| | | | - try fixing before removing even if the fix is hidden in a provides, hidden in the #590438 testcase
* * apt-pkg/aptconfiguration.cc:David Kalnischkies2010-11-061-1/+2
| | | - respect the none-force even in LANG=C (Closes: #602573)
* merged from donkultMichael Vogt2010-10-283-13/+21
|\
| * * apt-pkg/pkgcache.cc:David Kalnischkies2010-10-261-7/+8
| | | | | | - fallback always to a suitable description (Closes: #601016)
| * * apt-pkg/contrib/fileutl.cc:David Kalnischkies2010-10-212-6/+13
| | | | | | | | | | | | | | - Add a FileFd::FileSize() method to get the size of the underlying file and not the size of the content in the file as FileFd::Size() does - the sizes can differ since the direct gzip integration * methods/{gzip,bzip2}.cc: - use FileSize() to determine if the file is invalid (Closes: #600852)
* | * apt-pkg/deb/dpkgpm.cc:Michael Vogt2010-10-281-0/+1
|\ \ | |/ |/| | | - ensure that history.log gets closed to avoid leaking a FD (closes: #601649)
| * * apt-pkg/deb/dpkgpm.cc:Michael Vogt2010-10-281-0/+1
| | | | | | | | - ensure that history.log gets closed to avoid leaking a FD (closes: #601649)
* | add test case for having no indexes, and fix regression in that caseMartin Pitt2010-10-151-9/+35
| |
* | merge with debian-sidDavid Kalnischkies2010-10-133-13/+41
|\|
| * apt-pkg/contrib/fileutl.cc: fix FileFd::Size() for files that are empty or ↵Michael Vogt2010-10-131-5/+10
| | | | | | | | for non-gzip files
| * merge from trunkMartin Pitt2010-10-131-2/+2
| |\
| | * * apt-pkg/deb/debsystem.cc:Michael Vogt2010-10-131-2/+2
| | |\ | | | | | | | | | | | | - fix issues with dir::state::status and dir::state::extended_states when alternative rootdirs are used
| | | * apt-pkg/deb/debsystem.cc: remove duplicated rootdir (FindFile will prepend ↵Michael Vogt2010-10-131-1/+1
| | | | | | | | | | | | | | | | the rootdir later anyway)
| | | * * revert commit:Michael Vogt2010-10-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | * apt-pkg/deb/debsystem.cc: - set dir::state::status based at least on dir This causes problems with alternative rootdirs
| * | | * apt-pkg/contrib/fileutl.cc:Martin Pitt2010-10-131-1/+20
| | | | | | | | | | | | | | | | | | | | - Fix FileFd::Size() for gzipped files to give the size of the uncompressed data. This fixes cache progress building progress going way over 100%.
| * | | * apt-pkg/deb/debindexfile.cc:Martin Pitt2010-10-131-9/+13
| |/ / | | | | | | | | | | | | - Use FileFd::Size() instead of stat()ing the sources/binary/translations indexes directly, so that we have transparent handling of gzipped indexes.
* / / * apt-pkg/deb/deblistparser.cc:Sebastian Andrzej Siewior2010-10-071-0/+1
|/ / | | | | | | | | - support ArmHardFloat port in CompleteArch, thanks to Sebastian Andrzej Siewior for the patch!
* | * apt-pkg/depcache.cc:David Kalnischkies2010-10-021-0/+10
| | | | | | | | - do not remove packages which the user requested for installation explicitly while satisfying other install requests (Closes: #598669)
* | * apt-pkg/packagemanager.cc:David Kalnischkies2010-09-291-3/+3
| | | | | | - Add a space between period and 'Please' and unfuzzy all translations
* | * apt-pkg/depcache.cc:David Kalnischkies2010-09-291-1/+1
| | | | | | | | - do not check endpointer packages instead of only those which prevented NeverAutoRemove settings from having an effect (Closes: #598452)
* | * apt-pkg/contrib/strutl.cc:David Kalnischkies2010-09-281-2/+2
| | | | | | - add a space between number and unit as required by SI (Closes: #598352)
* | merged lp:~donkult/apt/sid Michael Vogt2010-09-155-6/+15
|\ \
| * \ merge with debian-sid to get final 0.8.4David Kalnischkies2010-09-142-4/+22
| |\ \
| * | | * apt-pkg/policy.cc:David Kalnischkies2010-09-145-6/+15
| | | | | | | | | | | | | | | | | | | | | | | | - support 100-pinning in Release file with ButAutomaticUpgrades as requested by the backports crew (Closes: #596097) * apt-pkg/deb/deblistparser.cc: - overrule NotAutomatic in case of ButAutomaticUpgrades
* | | | merged lp:~mvo/apt/conflicts-on-virtuals to better deal withMichael Vogt2010-09-151-10/+19
|\ \ \ \ | |_|/ / |/| | | conflicts/breaks against virtual packages (LP: #614993)
| * | | remove duplicated test, move test for conflicts higher up, better debug outputMichael Vogt2010-09-031-24/+15
| | | |
* | | | merged from lp:~mvo/apt/mvoMichael Vogt2010-09-101-3/+21
|\ \ \ \ | | |_|/ | |/| |
| * | | apt-pkg/contrib/cdromutl.cc: do not take Buf.f_bfree into account on ↵Michael Vogt2010-09-101-4/+12
| | | | | | | | | | | | | | | | writable media
| * | | apt-pkg/contrib/cdromutl.cc: style fixes (thanks to David for his code-review)Michael Vogt2010-09-101-3/+3
| | | |
| * | | * apt-pkg/contrib/cdromutl.cc:Michael Vogt2010-09-101-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | - if apt-cdrom is used on writable media (like usb-sticks), do not use the root directory to identify the medium (as all changes there change the ident id). Use the .disk directory instead