Michael Vogt [Wed, 13 Oct 2010 13:33:16 +0000 (15:33 +0200)]
* apt-pkg/deb/debindexfile.cc:
- Use FileFd::Size() instead of stat()ing the sources/binary/translations
indexes directly, so that we have transparent handling of gzipped
indexes.
* apt-pkg/contrib/fileutl.cc:
- Fix FileFd::Size() for gzipped files to give the size of the
uncompressed data. This fixes cache building progress going way
over 100%.
Michael Vogt [Wed, 13 Oct 2010 11:38:13 +0000 (13:38 +0200)]
* debian/apt.cron.daily:
- source /etc/default/locale (if available) so that the
apt-get update cron job fetches the right translated package
descriptions
* fix test failure on amd64
Martin Pitt [Wed, 13 Oct 2010 11:00:49 +0000 (13:00 +0200)]
* apt-pkg/contrib/fileutl.cc:
- Fix FileFd::Size() for gzipped files to give the size of the
uncompressed data. This fixes cache progress building progress going way
over 100%.
Martin Pitt [Wed, 13 Oct 2010 10:45:47 +0000 (12:45 +0200)]
* apt-pkg/deb/debindexfile.cc:
- Use FileFd::Size() instead of stat()ing the sources/binary/translations
indexes directly, so that we have transparent handling of gzipped
indexes.
* apt-pkg/depcache.cc:
- do not remove packages which the user requested for installation
explicitly while satisfying other install requests (Closes: #598669)
Michael Vogt [Fri, 1 Oct 2010 12:36:31 +0000 (14:36 +0200)]
* debian/apt.cron.daily:
- source /etc/default/locale (if available) so that the
apt-get update cron job fetches the right translated package
descriptions
* apt-pkg/depcache.cc:
- do not check endpointer packages instead of only those which prevented
NeverAutoRemove settings from having an effect (Closes: #598452)
* cmdline/apt-cache.cc:
- use the TranslatedDescription for searching and not the first
available one as it is maybe not an expected language (Closes: #597925)
* debian/apt.cron.daily:
- handle absolut directory paths correctly by loading directories
directly instead of building the paths on our own (Closes: #596421)
* apt-pkg/policy.cc:
- 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
Michael Vogt [Fri, 10 Sep 2010 10:21:06 +0000 (12:21 +0200)]
* apt-pkg/contrib/cdromutl.cc:
- 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
Michael Vogt [Thu, 9 Sep 2010 17:04:26 +0000 (19:04 +0200)]
* ftparchive/writer.cc:
- null the valid string instead of the date if Valid-Until is not set
* apt-pkg/acquire-item.cc:
- use also unsigned Release files again (Closes: #596189)
Michael Vogt [Tue, 7 Sep 2010 08:02:59 +0000 (10:02 +0200)]
* apt-pkg/indexcopy.cc:
- only use trusted.gpg.d directory if it exists
- do not replace /dev/null when running in APT::CDROM::NoAct
mode (LP: #612666), thanks to Colin Watson
check for length of Data to avoid the validness of
Pin: origin "
(no error displayed). We already know in this method that
Data is at least one char long, so we avoid the length counting
as long as the string doesn't start with "
* apt-pkg/deb/dpkgpm.cc:
- create Dir::Log if needed to support /var/log as tmpfs or similar,
inspired by Thomas Bechtold, thanks! (Closes: #523919, LP: #220239)
Easily done by moving a private method from pkgAcquire into the public
area of fileutl.cc to be able to use it also in here
Michael Vogt [Tue, 31 Aug 2010 10:27:39 +0000 (12:27 +0200)]
apt-pkg/algorithms.cc: in the case of conflicts/breaks against a Provide Start.AllTarget() returns all non-canidates as well, we want to filter them out
* apt-pkg/versionmatch.cc:
- let the pin origin actually work as advertised in the manpage
which means "" are optional and pinning a local archive does
work - even if it is a non-flat archive (Closes: #594435)
* apt-pkg/contrib/configuration.cc:
- fix autoremove by using correct config-option name and
don't make faulty assumptions in error handling (Closes: #594689)