]> git.saurik.com Git - apt.git/commitdiff
merged from lp:~pitti/apt/compressed-indexes
authorMichael Vogt <mvo@debian.org>
Thu, 25 Nov 2010 15:08:40 +0000 (16:08 +0100)
committerMichael Vogt <mvo@debian.org>
Thu, 25 Nov 2010 15:08:40 +0000 (16:08 +0100)
cmdline/acqprogress.cc
debian/changelog
po/de.po

index 32e8243bfe574aa82441a72174de0bfc9f0815cd..ba334ce05737c7057707239a0f12dcb54dc74da9 100644 (file)
@@ -11,6 +11,7 @@
 #include "acqprogress.h"
 #include <apt-pkg/acquire-item.h>
 #include <apt-pkg/acquire-worker.h>
+#include <apt-pkg/configuration.h>
 #include <apt-pkg/strutl.h>
 #include <apt-pkg/error.h>
 
@@ -19,6 +20,7 @@
 #include <stdio.h>
 #include <signal.h>
 #include <iostream>
+#include <unistd.h>
                                                                        /*}}}*/
 
 using namespace std;
@@ -266,6 +268,16 @@ bool AcqTextStatus::Pulse(pkgAcquire *Owner)
 /* Prompt for a media swap */
 bool AcqTextStatus::MediaChange(string Media,string Drive)
 {
+   // If we do not output on a terminal and one of the options to avoid user
+   // interaction is given, we assume that no user is present who could react
+   // on your media change request
+   if (isatty(STDOUT_FILENO) != 1 && Quiet >= 2 &&
+       (_config->FindB("APT::Get::Assume-Yes",false) == true ||
+       _config->FindB("APT::Get::Force-Yes",false) == true ||
+       _config->FindB("APT::Get::Trivial-Only",false) == true))
+
+      return false;
+
    if (Quiet <= 0)
       cout << '\r' << BlankLine << '\r';
    ioprintf(cout,_("Media change: please insert the disc labeled\n"
index cbf3a5dcc13adf00df2a44aa260b6f6869d3fb99..a786d43df005f971359b3f4a4673b5ed3a1aaa05 100644 (file)
@@ -1,4 +1,14 @@
-apt (0.8.9) UNRELEASED; urgency=low
+apt (0.8.10) UNRELEASED; urgency=low
+
+  [ Martin Pitt ]
+  * test/integration/test-compressed-indexes, test/test-indexes.sh:
+    - Explicitly disable compressed indexes at the start. This ensures that we
+      will actually test uncompressed indexes regardless of the internal
+      default value of Acquire::GzipIndexes.
+
+ -- Michael Vogt <mvo@debian.org>  Thu, 25 Nov 2010 16:08:01 +0100
+
+apt (0.8.9) unstable; urgency=low
 
   [ Christian Perrier ]
   * Fix "typos" in French manpages translations. Thanks to
@@ -7,6 +17,7 @@ apt (0.8.9) UNRELEASED; urgency=low
 
   [ Programs translations ]
   * Slovenian update by Andrej Žnidaršič and Rosetta Slovenian team
+  ! German update by Holger Wansing. Closes: #603619
 
   [ David Kalnischkies ]
   * apt-pkg/aptconfiguration.cc:
@@ -20,14 +31,13 @@ apt (0.8.9) UNRELEASED; urgency=low
   * apt-pkg/depcache.cc:
     - don't install previously not installed providers in a try
       to statisfy a "Breaks: provides" dependency by upgrade
+  * cmdline/acqprogress.cc:
+    - don't ask the user for media change if quiet >= 2, stdout is not
+      a tty and assume-yes, force-yes or trivial-only option is set to
+      avoid cpu eating endless loops in unattended runs like apt.cron
+      (Closes: #602354, LP: #665580)
 
-  [ Martin Pitt ]
-  * test/integration/test-compressed-indexes, test/test-indexes.sh:
-    - Explicitly disable compressed indexes at the start. This ensures that we
-      will actually test uncompressed indexes regardless of the internal
-      default value of Acquire::GzipIndexes.
-
- -- David Kalnischkies <kalnischkies@gmail.com>  Wed, 10 Nov 2010 13:22:39 +0100
+ -- Michael Vogt <mvo@debian.org>  Thu, 18 Nov 2010 09:25:04 +0100
 
 apt (0.8.8) unstable; urgency=low
 
index 4e4e9bf0eaa86f485421fe43ae6f9de224a65607..9d26712480a7f211500bdf7f76a9286ea2df1119 100644 (file)
--- a/po/de.po
+++ b/po/de.po
@@ -8,10 +8,10 @@
 #
 msgid ""
 msgstr ""
-"Project-Id-Version: apt 0.8.0\n"
+"Project-Id-Version: apt 0.8.8\n"
 "Report-Msgid-Bugs-To: \n"
 "POT-Creation-Date: 2010-09-28 17:23+0200\n"
-"PO-Revision-Date: 2010-09-08 22:37+0200\n"
+"PO-Revision-Date: 2010-11-15 21:42+0100\n"
 "Last-Translator: Holger Wansing <linux@wansing-online.de>\n"
 "Language-Team: Debian German <debian-l10n-german@lists.debian.org>\n"
 "Language: \n"
@@ -730,11 +730,11 @@ msgstr "Die folgenden Pakete werden aktualisiert (Upgrade):"
 #: cmdline/apt-get.cc:488
 msgid "The following packages will be DOWNGRADED:"
 msgstr ""
-"Die folgenden Pakete werden DEAKTUALISIERT (ältere Version wird installiert):"
+"Die folgenden Pakete werden durch eine ÄLTERE VERSION ERSETZT (Downgrade):"
 
 #: cmdline/apt-get.cc:508
 msgid "The following held packages will be changed:"
-msgstr "Die folgenden gehaltenen Pakete werden verändert:"
+msgstr "Die folgenden zurückgehaltenen Pakete werden verändert:"
 
 #: cmdline/apt-get.cc:561
 #, c-format
@@ -762,7 +762,7 @@ msgstr "%lu erneut installiert, "
 #: cmdline/apt-get.cc:609
 #, c-format
 msgid "%lu downgraded, "
-msgstr "%lu deaktualisiert, "
+msgstr "%lu durch eine ältere Version ersetzt, "
 
 #: cmdline/apt-get.cc:611
 #, c-format
@@ -814,8 +814,8 @@ msgid ""
 "is only available from another source\n"
 msgstr ""
 "Paket %s ist nicht verfügbar, wird aber von einem anderen Paket\n"
-"referenziert. Das kann heißen, dass das Paket fehlt, dass es veraltet\n"
-"ist oder nur aus einer anderen Quelle verfügbar ist.\n"
+"referenziert. Das kann heißen, dass das Paket fehlt, dass es abgelöst\n"
+"wurde oder nur aus einer anderen Quelle verfügbar ist.\n"
 
 #: cmdline/apt-get.cc:701
 msgid "However the following packages replace it:"
@@ -1799,7 +1799,7 @@ msgstr "Interner Fehler beim Hinzufügen einer Umleitung"
 
 #: apt-inst/deb/dpkgdb.cc:379
 msgid "The pkg cache must be initialized first"
-msgstr "Der Paket-Cache muss erst initialisiert werden"
+msgstr "Der Paketzwischenspeicher muss zuerst initialisiert werden"
 
 #: apt-inst/deb/dpkgdb.cc:439
 #, c-format
@@ -2530,15 +2530,16 @@ msgstr "Problem beim Synchronisieren der Datei"
 
 #: apt-pkg/pkgcache.cc:145
 msgid "Empty package cache"
-msgstr "Leerer Paket-Cache"
+msgstr "Leerer Paketzwischenspeicher"
 
 #: apt-pkg/pkgcache.cc:151
 msgid "The package cache file is corrupted"
-msgstr "Die Paket-Cache-Datei ist beschädigt"
+msgstr "Die Paketzwischenspeicher-Datei ist beschädigt"
 
 #: apt-pkg/pkgcache.cc:156
 msgid "The package cache file is an incompatible version"
-msgstr "Die Paket-Cache-Datei liegt in einer inkompatiblen Version vor"
+msgstr ""
+"Die Paketzwischenspeicher-Datei liegt in einer inkompatiblen Version vor"
 
 #: apt-pkg/pkgcache.cc:161
 #, c-format
@@ -2547,7 +2548,7 @@ msgstr "Das Versionssystem »%s« wird durch dieses APT nicht unterstützt"
 
 #: apt-pkg/pkgcache.cc:166
 msgid "The package cache was built for a different architecture"
-msgstr "Der Paket-Cache wurde für eine andere Architektur aufgebaut"
+msgstr "Der Paketzwischenspeicher wurde für eine andere Architektur aufgebaut"
 
 #: apt-pkg/pkgcache.cc:293
 msgid "Depends"
@@ -2575,11 +2576,11 @@ msgstr "Ersetzt"
 
 #: apt-pkg/pkgcache.cc:295
 msgid "Obsoletes"
-msgstr "Veraltet"
+msgstr "Löst ab"
 
 #: apt-pkg/pkgcache.cc:295
 msgid "Breaks"
-msgstr "Stört"
+msgstr "Beschädigt"
 
 #: apt-pkg/pkgcache.cc:295
 msgid "Enhances"
@@ -2767,12 +2768,13 @@ msgid ""
 "held packages."
 msgstr ""
 "Fehler: Unterbrechungen durch pkgProblemResolver::Resolve hervorgerufen; "
-"dies könnte durch gehaltene Pakete verursacht worden sein."
+"dies könnte durch zurückgehaltene Pakete verursacht worden sein."
 
 #: apt-pkg/algorithms.cc:1212
 msgid "Unable to correct problems, you have held broken packages."
 msgstr ""
-"Probleme können nicht korrigiert werden, Sie haben gehaltene defekte Pakete."
+"Probleme können nicht korrigiert werden, Sie haben zurückgehaltene defekte "
+"Pakete."
 
 #: apt-pkg/algorithms.cc:1488 apt-pkg/algorithms.cc:1490
 msgid ""
@@ -2877,7 +2879,7 @@ msgstr "Keine Priorität (oder Null) für Pin angegeben"
 
 #: apt-pkg/pkgcachegen.cc:80
 msgid "Cache has an incompatible versioning system"
-msgstr "Cache hat ein inkompatibles Versionssystem"
+msgstr "Zwischenspeicher hat ein inkompatibles Versionssystem"
 
 #: apt-pkg/pkgcachegen.cc:198
 #, c-format