Age | Commit message (Collapse) | Author |
|
- 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)
|
|
|
|
|
|
for non-gzip files
|
|
|
|
- fix issues with dir::state::status and dir::state::extended_states
when alternative rootdirs are used
|
|
the rootdir later anyway)
|
|
* apt-pkg/deb/debsystem.cc:
- set dir::state::status based at least on dir
This causes problems with alternative rootdirs
|
|
- Fix FileFd::Size() for gzipped files to give the size of the
uncompressed data. This fixes cache progress building progress going way
over 100%.
|
|
- Use FileFd::Size() instead of stat()ing the sources/binary/translations
indexes directly, so that we have transparent handling of gzipped
indexes.
|
|
- support ArmHardFloat port in CompleteArch, thanks to Sebastian
Andrzej Siewior for the patch!
|
|
- do not remove packages which the user requested for installation
explicitly while satisfying other install requests (Closes: #598669)
|
|
- Add a space between period and 'Please' and unfuzzy all translations
|
|
- do not check endpointer packages instead of only those which prevented
NeverAutoRemove settings from having an effect (Closes: #598452)
|
|
- add a space between number and unit as required by SI (Closes: #598352)
|
|
|
|
conflicts/breaks against virtual packages (LP: #614993)
|
|
|
|
- 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
|
|
|
|
writable media
|
|
|
|
- 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
|
|
Translations unfuzzied. Thanks to Holger Wansing.
|
|
- use also unsigned Release files again (Closes: #596189)
|
|
- 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
|
|
mode (LP: #612666), thanks to Colin Watson
|
|
to give a better indication what this method will do if called.
|
|
- support really still the APT::GPGV::TrustedKeyring setting,
as it breaks d-i badly otherwise (Closes: #595428)
|
|
|
|
- only use trusted.gpg.d directory if it exists
|
|
bump the release version of the library also
|
|
|
|
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 "
|
|
- 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
|
|
|
|
DpkgBreaks, make sure to break in the loop (just like for a conflict)
|
|
Start.AllTarget() returns all non-canidates as well, we want to filter them out
|
|
- 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)
|
|
- fix autoremove by using correct config-option name and
don't make faulty assumptions in error handling (Closes: #594689)
|
|
- apply SilentlyIgnore also on files without an extension
|
|
- now that apt-get purge works on 'rc' packages let the MarkDelete
pass this purge forward to the non-pseudo package for pseudos
|
|
- don't use ReadOnlyGzip mode for PDiffs as this mode doesn't work
in combination with the AddFd methods of our hashclasses
Add also 2 testcases: one to test pdiffs in general and
one to test the handling of compressed indexes.
|
|
- use the InstVer instead of the CurrentVer for the autobit transfer
Add also a small testcase to check the handling automatical
|
|
- set dir::state::status based at least on dir
|
|
- set the default values for dir::etc::trusted options correctly
|
|
- fix error checking for vsnprintf in its safe variant
Spotted by -Wextra:
contrib/strutl.cc: In function 'char* safe_snprintf(char*, char*, const char*, ...)':
contrib/strutl.cc:1172:14: warning: comparison of unsigned expression < 0 is always false
|
|
|
|
- fix LongDesc handling in LANG=C environment
|
|
- let the problem resolver install packages to fix or-groups
as a needed remove nuked another or-member (helps for #591882)
The resolver sometimes need to break or-groups because he need to
remove the previous satisfier as a result of a breaks/conflicts.
In such broken or-groups he now tries to install a non-installed
non-deleted member of the or-group to statisfy it again.
This move is dangerous as it introduces the possibility of a
bunch of "new" broken breaks/conflicts on the new statisfier or
its dependencies and we don't know about them beforehand.
We also don't have the infrastructure to undo the decision later,
so we just do it and pray!
For now a test option is provided to disable this behavior on the
fly to test if the situation is worse: pkgProblemResolver::FixByInstall
|