ntk/apt.git
13 years agoFix missing space after dot in a message from apt-pkg
bubulle@debian.org [Thu, 9 Sep 2010 20:23:31 +0000 (22:23 +0200)]
Fix missing space after dot in a message from apt-pkg
Translations unfuzzied. Thanks to Holger Wansing.

13 years agoGerman (Holger Wansing). Closes: #596141
bubulle@debian.org [Thu, 9 Sep 2010 18:46:41 +0000 (20:46 +0200)]
German (Holger Wansing). Closes: #596141

13 years ago* ftparchive/writer.cc:
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)

13 years ago* apt-pkg/acquire-item.cc:
David Kalnischkies [Thu, 9 Sep 2010 16:23:08 +0000 (18:23 +0200)]
* apt-pkg/acquire-item.cc:
  - use also unsigned Release files again (Closes: #596189)

13 years ago* ftparchive/writer.cc:
Michael Vogt [Thu, 9 Sep 2010 13:36:42 +0000 (15:36 +0200)]
* ftparchive/writer.cc:
  - write out {Files,Checksum-Sha1,Checksum-Sha256} only if
    available LP: #633967. Thanks to Colin Watson

13 years ago* ftparchive/writer.cc:
David Kalnischkies [Thu, 9 Sep 2010 09:26:18 +0000 (11:26 +0200)]
* ftparchive/writer.cc:
  - null the valid string instead of the date if Valid-Until is not set

13 years agoreleasing version 0.8.3 0.8.3
Michael Vogt [Tue, 7 Sep 2010 13:56:51 +0000 (15:56 +0200)]
releasing version 0.8.3

13 years agomerged from lp:~donkult/apt/sid
Michael Vogt [Tue, 7 Sep 2010 13:15:23 +0000 (15:15 +0200)]
merged from lp:~donkult/apt/sid

13 years ago* ftparchive/apt-ftparchive.cc:
David Kalnischkies [Tue, 7 Sep 2010 13:08:19 +0000 (15:08 +0200)]
* ftparchive/apt-ftparchive.cc:
  - ensure that BinDirectory as well as Tree settings get
    the correct default FileMode setting (Closes: #595922)

13 years agoJapanese (KURASAWA Nozomu). Closes: #595862
bubulle@debian.org [Tue, 7 Sep 2010 08:56:07 +0000 (10:56 +0200)]
Japanese (KURASAWA Nozomu). Closes: #595862

13 years ago* apt-pkg/indexcopy.cc:
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

13 years agodo not replace /dev/null when running in APT::CDROM::NoAct
Michael Vogt [Tue, 7 Sep 2010 07:57:09 +0000 (09:57 +0200)]
do not replace /dev/null when running in APT::CDROM::NoAct
mode (LP: #612666), thanks to Colin Watson

13 years agoreleasing version 0.8.2 0.8.2
Michael Vogt [Tue, 7 Sep 2010 07:23:11 +0000 (09:23 +0200)]
releasing version 0.8.2

13 years agomerged from lp:~donkult/apt/sid
Michael Vogt [Mon, 6 Sep 2010 16:11:49 +0000 (18:11 +0200)]
merged from lp:~donkult/apt/sid

13 years agorename the newly public CheckDirectory method to CreateAPTDirectoryIfNeeded
David Kalnischkies [Mon, 6 Sep 2010 12:10:26 +0000 (14:10 +0200)]
rename the newly public CheckDirectory method to CreateAPTDirectoryIfNeeded
to give a better indication what this method will do if called.

13 years ago* methods/{gzip,bzip2}.cc:
David Kalnischkies [Mon, 6 Sep 2010 10:17:15 +0000 (12:17 +0200)]
* methods/{gzip,bzip2}.cc:
  - empty files can never be valid archives (Closes: #595691)

13 years agoSpanish (Omar Campagne). Closes: #595557
bubulle@debian.org [Sun, 5 Sep 2010 05:54:08 +0000 (07:54 +0200)]
Spanish (Omar Campagne). Closes: #595557

13 years ago* cmdline/apt-key:
David Kalnischkies [Sat, 4 Sep 2010 13:28:47 +0000 (15:28 +0200)]
* cmdline/apt-key:
  - support also Dir::Etc::Trusted so that apt-key works in the same
    way as the library part which works with the trusted files

13 years ago* apt-pkg/indexcopy.cc:
David Kalnischkies [Sat, 4 Sep 2010 08:46:36 +0000 (10:46 +0200)]
* apt-pkg/indexcopy.cc:
  - support really still the APT::GPGV::TrustedKeyring setting,
    as it breaks d-i badly otherwise (Closes: #595428)

13 years agoapt-pkg/indexcopy.cc: include trustedFile (if it exists)
Michael Vogt [Fri, 3 Sep 2010 18:49:09 +0000 (20:49 +0200)]
apt-pkg/indexcopy.cc: include trustedFile (if it exists)

13 years ago* apt-pkg/indexcopy.cc:
Michael Vogt [Fri, 3 Sep 2010 18:22:15 +0000 (20:22 +0200)]
* apt-pkg/indexcopy.cc:
  - only use trusted.gpg.d directory if it exists

13 years agoupdate the version number to the upcoming 0.8.2 and
David Kalnischkies [Fri, 3 Sep 2010 17:35:51 +0000 (19:35 +0200)]
update the version number to the upcoming 0.8.2 and
bump the release version of the library also

13 years agomerge with official v0.8.1
David Kalnischkies [Fri, 3 Sep 2010 17:34:36 +0000 (19:34 +0200)]
merge with official v0.8.1

13 years agoreleasing version 0.8.1 0.8.1
Michael Vogt [Fri, 3 Sep 2010 17:04:22 +0000 (19:04 +0200)]
releasing version 0.8.1

13 years agomerged from lp:~donkult/apt/sid
Michael Vogt [Fri, 3 Sep 2010 12:04:50 +0000 (14:04 +0200)]
merged from lp:~donkult/apt/sid

13 years ago* Norwegian Bokmål (Hans Nordhaug). Closes: #595182
bubulle@debian.org [Thu, 2 Sep 2010 18:14:12 +0000 (20:14 +0200)]
* Norwegian Bokmål (Hans Nordhaug). Closes: #595182
* Danish (Joe Hansen). Closes: #595176
* Catalan (Agustí Grau). Closes: #595234

13 years agodo the right thing(TM) even if the (unfinished) testcase is named
David Kalnischkies [Thu, 2 Sep 2010 13:24:44 +0000 (15:24 +0200)]
do the right thing(TM) even if the (unfinished) testcase is named
skip-* instead of test-* to avoid calling him with run-tests

13 years agocheck for length of Data to avoid the validness of
David Kalnischkies [Thu, 2 Sep 2010 13:19:51 +0000 (15:19 +0200)]
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 "

13 years agoshow only the basename of the running test
David Kalnischkies [Thu, 2 Sep 2010 11:03:38 +0000 (13:03 +0200)]
show only the basename of the running test

13 years agoset the quiet value for apt-cache so the tests will actually see
David Kalnischkies [Thu, 2 Sep 2010 10:52:04 +0000 (12:52 +0200)]
set the quiet value for apt-cache so the tests will actually see
the notices as they will not be shown otherwise

13 years ago* apt-pkg/deb/dpkgpm.cc:
David Kalnischkies [Thu, 2 Sep 2010 10:47:48 +0000 (12:47 +0200)]
* 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

13 years agoadd wrapper around dpkg to be able to use it easily in the tests
David Kalnischkies [Thu, 2 Sep 2010 10:22:33 +0000 (12:22 +0200)]
add wrapper around dpkg to be able to use it easily in the tests

13 years agoFrench translation fixed
bubulle@debian.org [Tue, 31 Aug 2010 20:19:39 +0000 (22:19 +0200)]
French translation fixed

13 years agoapt-pkg/algorithms.cc: show debug output only if debug option is given
Michael Vogt [Tue, 31 Aug 2010 11:32:50 +0000 (13:32 +0200)]
apt-pkg/algorithms.cc: show debug output only if debug option is given

13 years agoapt-pkg/algorithms.cc: if a package was added to the kill list via a DpkgBreaks,...
Michael Vogt [Tue, 31 Aug 2010 11:27:59 +0000 (13:27 +0200)]
apt-pkg/algorithms.cc: if a package was added to the kill list via a DpkgBreaks, make sure to break in the loop (just like for a conflict)

13 years agoapt-pkg/algorithms.cc: in the case of conflicts/breaks against a Provide Start.AllTar...
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

13 years agodoc/po/fr.po: fix xml errors in the fr translation
Michael Vogt [Mon, 30 Aug 2010 11:55:24 +0000 (13:55 +0200)]
doc/po/fr.po: fix xml errors in the fr translation

13 years agomerged lp:~donkult/apt/sid
Michael Vogt [Mon, 30 Aug 2010 09:57:14 +0000 (11:57 +0200)]
merged lp:~donkult/apt/sid

13 years ago* apt-pkg/versionmatch.cc:
David Kalnischkies [Mon, 30 Aug 2010 09:39:43 +0000 (11:39 +0200)]
* 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)

13 years agoKorean (Changwoo Ryu). Closes: #594809
bubulle@debian.org [Sun, 29 Aug 2010 18:41:41 +0000 (20:41 +0200)]
Korean (Changwoo Ryu). Closes: #594809

13 years ago* apt-pkg/contrib/configuration.cc:
David Kalnischkies [Sat, 28 Aug 2010 20:26:32 +0000 (22:26 +0200)]
* apt-pkg/contrib/configuration.cc:
  - fix autoremove by using correct config-option name and
    don't make faulty assumptions in error handling (Closes: #594689)

13 years agoremove useless GetInitialize method
David Kalnischkies [Sat, 28 Aug 2010 15:54:29 +0000 (17:54 +0200)]
remove useless GetInitialize method

13 years agoremove death code by removing unused GetInitialize
David Kalnischkies [Sat, 28 Aug 2010 15:52:55 +0000 (17:52 +0200)]
remove death code by removing unused GetInitialize

13 years ago* apt-pkg/contrib/fileutl.cc:
David Kalnischkies [Sat, 28 Aug 2010 15:34:06 +0000 (17:34 +0200)]
* apt-pkg/contrib/fileutl.cc:
  - apply SilentlyIgnore also on files without an extension

13 years agoPortuguese (Miguel Figueiredo). Closes: #594668
bubulle@debian.org [Sat, 28 Aug 2010 12:21:46 +0000 (14:21 +0200)]
Portuguese (Miguel Figueiredo). Closes: #594668

13 years agoCorrected Bulgarian translation
bubulle@debian.org [Sat, 28 Aug 2010 06:35:37 +0000 (08:35 +0200)]
Corrected Bulgarian translation

13 years agoUpdated Italian translation
bubulle@debian.org [Fri, 27 Aug 2010 20:24:53 +0000 (22:24 +0200)]
Updated Italian translation

13 years agoBulgarian (Damyan Ivanov). Closes: #594627
bubulle@debian.org [Fri, 27 Aug 2010 20:24:03 +0000 (22:24 +0200)]
Bulgarian (Damyan Ivanov). Closes: #594627

13 years ago* Simplified Chinese (Aron Xu). Closes: #594458
bubulle@debian.org [Fri, 27 Aug 2010 20:22:30 +0000 (22:22 +0200)]
* Simplified Chinese (Aron Xu). Closes: #594458
* Portuguese (Américo Monteiro)

13 years ago* apt-pkg/depcache.cc:
David Kalnischkies [Fri, 27 Aug 2010 10:05:55 +0000 (12:05 +0200)]
* apt-pkg/depcache.cc:
  - now that apt-get purge works on 'rc' packages let the MarkDelete
    pass this purge forward to the non-pseudo package for pseudos

13 years ago* cmdline/apt-get.cc:
David Kalnischkies [Thu, 26 Aug 2010 20:41:40 +0000 (22:41 +0200)]
* cmdline/apt-get.cc:
  - remove direct calls of ReadMainList and use the wrapper instead
    to protect us from useless re-reads and two-times notice display

13 years agoshow in madison command again also source packages (LP: #614589)
Michael Vogt [Wed, 25 Aug 2010 18:14:42 +0000 (20:14 +0200)]
show in madison command again also source packages (LP: #614589)

13 years agoshow in madison command again also source packages (LP: #614589)
David Kalnischkies [Wed, 25 Aug 2010 15:48:52 +0000 (17:48 +0200)]
show in madison command again also source packages (LP: #614589)

13 years agoAsturian (maacub). Closes: #594303
bubulle@debian.org [Wed, 25 Aug 2010 07:32:20 +0000 (09:32 +0200)]
Asturian (maacub). Closes: #594303

13 years agoItalian (Milo Casagrande). Closes: #594238
bubulle@debian.org [Wed, 25 Aug 2010 06:52:03 +0000 (08:52 +0200)]
Italian (Milo Casagrande). Closes: #594238

13 years agoJapanese (Kenshi Muto, Osamu Aoki). Closes: #594265
bubulle@debian.org [Wed, 25 Aug 2010 06:45:37 +0000 (08:45 +0200)]
Japanese (Kenshi Muto, Osamu Aoki). Closes: #594265

13 years agoSwedish (Daniel Nylander). Closes: #594241
bubulle@debian.org [Wed, 25 Aug 2010 06:42:22 +0000 (08:42 +0200)]
Swedish (Daniel Nylander). Closes: #594241

13 years agoSlovak (Ivan Masár). Closes: #594255
bubulle@debian.org [Wed, 25 Aug 2010 06:41:11 +0000 (08:41 +0200)]
Slovak (Ivan Masár). Closes: #594255

13 years agoMove typo fix to 0.8.1 entry
bubulle@debian.org [Wed, 25 Aug 2010 06:39:06 +0000 (08:39 +0200)]
Move typo fix to 0.8.1 entry

13 years agoFix from Florentin Duneau review
bubulle@debian.org [Wed, 25 Aug 2010 06:38:34 +0000 (08:38 +0200)]
Fix from Florentin Duneau review

13 years agoOpen new changelog entry. Move Thai and Russian translations there
bubulle@debian.org [Wed, 25 Aug 2010 06:36:40 +0000 (08:36 +0200)]
Open new changelog entry. Move Thai and Russian translations there

13 years agopo/LINGUAS: remove en_GB
Michael Vogt [Tue, 24 Aug 2010 19:58:04 +0000 (21:58 +0200)]
po/LINGUAS: remove en_GB

13 years agoconfigure.in: drop en_GB from configure.in now that it got deleted from po/
Michael Vogt [Tue, 24 Aug 2010 19:51:42 +0000 (21:51 +0200)]
configure.in: drop en_GB from configure.in now that it got deleted from po/

13 years agoDrop en_GB translation as per request of Neil Williams
bubulle@debian.org [Tue, 24 Aug 2010 19:31:21 +0000 (21:31 +0200)]
Drop en_GB translation as per request of Neil Williams

13 years agoRussian (Yuri Kozlov). Closes: #594232
bubulle@debian.org [Tue, 24 Aug 2010 17:54:46 +0000 (19:54 +0200)]
Russian (Yuri Kozlov). Closes: #594232

13 years agoFix spelling error in cmdline/apt-get.cc. Thanks to Osamu Aoki
bubulle@debian.org [Tue, 24 Aug 2010 17:51:50 +0000 (19:51 +0200)]
Fix spelling error in cmdline/apt-get.cc. Thanks to Osamu Aoki
Closes: #594211

13 years agoThai translation completed
bubulle@debian.org [Tue, 24 Aug 2010 17:28:05 +0000 (19:28 +0200)]
Thai translation completed

13 years agoFrench translation completed
bubulle@debian.org [Tue, 24 Aug 2010 17:27:00 +0000 (19:27 +0200)]
French translation completed

13 years agomerged from debian-experimental-ma 0.8.0
Michael Vogt [Tue, 24 Aug 2010 14:34:12 +0000 (16:34 +0200)]
merged from debian-experimental-ma

13 years agoUpdate PO(T) files
bubulle@debian.org [Mon, 23 Aug 2010 22:48:40 +0000 (18:48 -0400)]
Update PO(T) files

13 years agoFrench manpages translation update
bubulle@debian.org [Mon, 23 Aug 2010 22:46:04 +0000 (18:46 -0400)]
French manpages translation update

13 years agoUpdate PO(T) files
bubulle@debian.org [Mon, 23 Aug 2010 22:42:48 +0000 (18:42 -0400)]
Update PO(T) files

13 years agoreleasing version 0.8.0~pre2
Michael Vogt [Mon, 23 Aug 2010 18:08:29 +0000 (20:08 +0200)]
releasing version 0.8.0~pre2

13 years agomerged from lp:~donkult/apt/sid
Michael Vogt [Mon, 23 Aug 2010 16:56:03 +0000 (18:56 +0200)]
merged from lp:~donkult/apt/sid

13 years agoChange the translation of mmap
bubulle@debian.org [Sun, 22 Aug 2010 13:59:56 +0000 (09:59 -0400)]
Change the translation of mmap

13 years agoFrench translation update
bubulle@debian.org [Sun, 22 Aug 2010 13:12:53 +0000 (09:12 -0400)]
French translation update

13 years ago* apt-pkg/acquire-item.cc:
David Kalnischkies [Sat, 21 Aug 2010 20:19:56 +0000 (22:19 +0200)]
* apt-pkg/acquire-item.cc:
  - 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.

13 years ago* methods/http.cc:
David Kalnischkies [Fri, 20 Aug 2010 22:52:59 +0000 (00:52 +0200)]
* methods/http.cc:
  - some http servers violate HTTP1.1 by not issuing a Reason-Phrase
    (or at least a space after the code) especially for 200, but lets
    be nice and ignore it as we don't need the reason in general

13 years ago* apt-pkg/deb/dpkgpm.cc:
David Kalnischkies [Fri, 20 Aug 2010 17:09:16 +0000 (19:09 +0200)]
* apt-pkg/deb/dpkgpm.cc:
  - use the InstVer instead of the CurrentVer for the autobit transfer

Add also a small testcase to check the handling automatical

13 years agosign the created Release files with our own dummy key "Joe Sixpack"
David Kalnischkies [Wed, 18 Aug 2010 22:32:56 +0000 (00:32 +0200)]
sign the created Release files with our own dummy key "Joe Sixpack"

13 years ago* apt-pkg/deb/debsystem.cc:
David Kalnischkies [Wed, 18 Aug 2010 22:31:55 +0000 (00:31 +0200)]
* apt-pkg/deb/debsystem.cc:
  - set dir::state::status based at least on dir

13 years ago* ftparchive/writer.cc:
David Kalnischkies [Wed, 18 Aug 2010 22:10:25 +0000 (00:10 +0200)]
* ftparchive/writer.cc:
  - init valid-until correctly to prevent garbage entering Release file

13 years ago* apt-pkg/init.cc:
David Kalnischkies [Wed, 18 Aug 2010 22:04:05 +0000 (00:04 +0200)]
* apt-pkg/init.cc:
  - set the default values for dir::etc::trusted options correctly

13 years agosetup the environment correctly for dpkg, too
David Kalnischkies [Wed, 18 Aug 2010 19:03:50 +0000 (21:03 +0200)]
setup the environment correctly for dpkg, too

13 years agoextend the magic which creates the test archive by using FileLists to
David Kalnischkies [Wed, 18 Aug 2010 16:21:34 +0000 (18:21 +0200)]
extend the magic which creates the test archive by using FileLists to
ship the build packages in the correct distribution and section

13 years agoadd proper MSGLEVEL handling by overriding methods dynamic
David Kalnischkies [Wed, 18 Aug 2010 11:20:16 +0000 (13:20 +0200)]
add proper MSGLEVEL handling by overriding methods dynamic

13 years agoimplement the first round of automated dummy package building and
David Kalnischkies [Wed, 18 Aug 2010 10:56:57 +0000 (12:56 +0200)]
implement the first round of automated dummy package building and
archive building

13 years ago* debian/apt.cron.daily:
David Kalnischkies [Wed, 18 Aug 2010 09:23:49 +0000 (11:23 +0200)]
* debian/apt.cron.daily:
  - create backups for our extended_states file (Closes: #593430)

13 years agomerge with debian-experimental-ma to get the final 0.8.0~pre1
David Kalnischkies [Tue, 17 Aug 2010 23:35:26 +0000 (01:35 +0200)]
Merge ... debian-experimental-ma to get the final 0.8.0~pre1

13 years ago* methods/bzip2.cc:
David Kalnischkies [Mon, 16 Aug 2010 10:12:51 +0000 (12:12 +0200)]
* methods/bzip2.cc:
  - fix error checking for read in case of failing bzip2/lzma/whatever

Spotted by -Wextra:
bzip2.cc: In member function ‘virtual bool Bzip2Method::Fetch(pkgAcqMethod::FetchItem*)’:
bzip2.cc:108:19: warning: comparison of unsigned expression < 0 is always false
bzip2.cc:111:19: warning: comparison of unsigned expression < 0 is always false

13 years ago* apt-pkg/contrib/strutl.cc:
David Kalnischkies [Mon, 16 Aug 2010 09:38:20 +0000 (11:38 +0200)]
* apt-pkg/contrib/strutl.cc:
  - 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

13 years agoadd finally my very small testcase for the conkeror problem resulting
David Kalnischkies [Sun, 15 Aug 2010 17:12:35 +0000 (19:12 +0200)]
add finally my very small testcase for the conkeror problem resulting
in the FixByInstall code we currently "experiment" with

13 years agodo not unconditional print the new debugoutput for "FixByInstall"
David Kalnischkies [Fri, 13 Aug 2010 23:21:50 +0000 (01:21 +0200)]
do not unconditional print the new debugoutput for "FixByInstall"

13 years agofix testcase framework to test correctly for virtual packages
David Kalnischkies [Fri, 13 Aug 2010 23:18:11 +0000 (01:18 +0200)]
fix testcase framework to test correctly for virtual packages

13 years agoadd a small script to automate the task of creating Packages and status
David Kalnischkies [Fri, 13 Aug 2010 22:25:57 +0000 (00:25 +0200)]
add a small script to automate the task of creating Packages and status
files for tests with "real" problems

13 years agoreleasing version 0.8.0~pre1
Michael Vogt [Fri, 13 Aug 2010 15:35:25 +0000 (17:35 +0200)]
releasing version 0.8.0~pre1

13 years ago* apt-pkg/pkgcache.cc:
Michael Vogt [Fri, 13 Aug 2010 14:48:32 +0000 (16:48 +0200)]
* apt-pkg/pkgcache.cc:
  - fix LongDesc handling in LANG=C environment

13 years ago* apt-pkg/pkgcache.cc:
David Kalnischkies [Fri, 13 Aug 2010 14:42:38 +0000 (16:42 +0200)]
* apt-pkg/pkgcache.cc:
  - fix LongDesc handling in LANG=C environment

13 years ago - let the problem resolver install packages to fix or-groups
Michael Vogt [Fri, 13 Aug 2010 14:09:25 +0000 (16:09 +0200)]
  - let the problem resolver install packages to fix or-groups
    as a needed remove nuked another or-member (helps for #591882)
  - purge packages in 'rc' state, thanks Rogier! (Closes: #150831)

13 years ago* apt-pkg/algorithms.cc:
David Kalnischkies [Fri, 13 Aug 2010 12:41:55 +0000 (14:41 +0200)]
* apt-pkg/algorithms.cc:
  - 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