Просмотр исходного кода

* fix FTBFS with gcc 4.3, closes: #417090
(thanks to Martin Michlmayr for the patch)

Michael Vogt лет назад: 19
Родитель
Сommit
152ab79e05

+ 2 - 0
apt-pkg/algorithms.cc

@@ -24,6 +24,8 @@
     
     
 #include <apti18n.h>
 #include <apti18n.h>
     
     
+#include <cstdlib>
+#include <algorithm>
 #include <iostream>
 #include <iostream>
 									/*}}}*/
 									/*}}}*/
 using namespace std;
 using namespace std;

+ 1 - 0
apt-pkg/cdrom.cc

@@ -18,6 +18,7 @@
 #include <dirent.h>
 #include <dirent.h>
 #include <unistd.h>
 #include <unistd.h>
 #include <stdio.h>
 #include <stdio.h>
+#include <algorithm>
 
 
 
 
 #include "indexcopy.h"
 #include "indexcopy.h"

+ 1 - 0
apt-pkg/contrib/fileutl.cc

@@ -24,6 +24,7 @@
 
 
 #include <apti18n.h>
 #include <apti18n.h>
 
 
+#include <cstdlib>
 #include <iostream>
 #include <iostream>
 #include <unistd.h>
 #include <unistd.h>
 #include <fcntl.h>
 #include <fcntl.h>

+ 1 - 0
apt-pkg/contrib/strutl.cc

@@ -28,6 +28,7 @@
 #include <ctype.h>
 #include <ctype.h>
 #include <string.h>
 #include <string.h>
 #include <stdio.h>
 #include <stdio.h>
+#include <algorithm>
 #include <unistd.h>
 #include <unistd.h>
 #include <regex.h>
 #include <regex.h>
 #include <errno.h>
 #include <errno.h>

+ 1 - 0
apt-pkg/init.cc

@@ -14,6 +14,7 @@
 
 
 #include <apti18n.h>
 #include <apti18n.h>
 #include <config.h>
 #include <config.h>
+#include <cstdlib>
 #include <sys/stat.h>
 #include <sys/stat.h>
 									/*}}}*/
 									/*}}}*/
 
 

+ 1 - 1
cmdline/apt-sortpkgs.cc

@@ -162,7 +162,7 @@ int ShowHelp()
 }
 }
 									/*}}}*/
 									/*}}}*/
 
 
-int main(unsigned int argc,const char *argv[])
+int main(int argc,const char *argv[])
 {
 {
    CommandLine::Args Args[] = {
    CommandLine::Args Args[] = {
       {'h',"help","help",0},
       {'h',"help","help",0},

+ 2 - 0
debian/changelog

@@ -54,6 +54,8 @@ apt (0.6.47) UNRELEASED; urgency=low
     (thanks to Israel G. Lugo for the patch)
     (thanks to Israel G. Lugo for the patch)
   * add "purge" commandline argument, closes: #133421)
   * add "purge" commandline argument, closes: #133421)
     (thanks to Julien Danjou for the patch)
     (thanks to Julien Danjou for the patch)
+  * fix FTBFS with gcc 4.3, closes: #417090
+    (thanks to Martin Michlmayr for the patch)
   
   
  -- Michael Vogt <michael.vogt@ubuntu.com>  Mon, 18 Dec 2006 19:39:05 +0100
  -- Michael Vogt <michael.vogt@ubuntu.com>  Mon, 18 Dec 2006 19:39:05 +0100
 
 

+ 1 - 0
ftparchive/apt-ftparchive.cc

@@ -24,6 +24,7 @@
 #include <apti18n.h>
 #include <apti18n.h>
 #include <algorithm>
 #include <algorithm>
 
 
+#include <climits>
 #include <sys/time.h>
 #include <sys/time.h>
 #include <regex.h>
 #include <regex.h>
 
 

+ 98 - 97
po/apt-all.pot

@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: \n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2007-05-08 11:09+0200\n"
+"POT-Creation-Date: 2007-06-08 22:53+0200\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
 "Language-Team: LANGUAGE <LL@li.org>\n"
 "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -147,8 +147,8 @@ msgid "       %4i %s\n"
 msgstr ""
 msgstr ""
 
 
 #: cmdline/apt-cache.cc:1652 cmdline/apt-cdrom.cc:138 cmdline/apt-config.cc:70
 #: cmdline/apt-cache.cc:1652 cmdline/apt-cdrom.cc:138 cmdline/apt-config.cc:70
-#: cmdline/apt-extracttemplates.cc:225 ftparchive/apt-ftparchive.cc:550
-#: cmdline/apt-get.cc:2387 cmdline/apt-sortpkgs.cc:144
+#: cmdline/apt-extracttemplates.cc:225 ftparchive/apt-ftparchive.cc:551
+#: cmdline/apt-get.cc:2391 cmdline/apt-sortpkgs.cc:144
 #, c-format
 #, c-format
 msgid "%s %s for %s %s compiled on %s %s\n"
 msgid "%s %s for %s %s compiled on %s %s\n"
 msgstr ""
 msgstr ""
@@ -252,31 +252,31 @@ msgstr ""
 msgid "Cannot get debconf version. Is debconf installed?"
 msgid "Cannot get debconf version. Is debconf installed?"
 msgstr ""
 msgstr ""
 
 
-#: ftparchive/apt-ftparchive.cc:167 ftparchive/apt-ftparchive.cc:341
+#: ftparchive/apt-ftparchive.cc:168 ftparchive/apt-ftparchive.cc:342
 msgid "Package extension list is too long"
 msgid "Package extension list is too long"
 msgstr ""
 msgstr ""
 
 
-#: ftparchive/apt-ftparchive.cc:169 ftparchive/apt-ftparchive.cc:183
-#: ftparchive/apt-ftparchive.cc:206 ftparchive/apt-ftparchive.cc:256
-#: ftparchive/apt-ftparchive.cc:270 ftparchive/apt-ftparchive.cc:292
+#: ftparchive/apt-ftparchive.cc:170 ftparchive/apt-ftparchive.cc:184
+#: ftparchive/apt-ftparchive.cc:207 ftparchive/apt-ftparchive.cc:257
+#: ftparchive/apt-ftparchive.cc:271 ftparchive/apt-ftparchive.cc:293
 #, c-format
 #, c-format
 msgid "Error processing directory %s"
 msgid "Error processing directory %s"
 msgstr ""
 msgstr ""
 
 
-#: ftparchive/apt-ftparchive.cc:254
+#: ftparchive/apt-ftparchive.cc:255
 msgid "Source extension list is too long"
 msgid "Source extension list is too long"
 msgstr ""
 msgstr ""
 
 
-#: ftparchive/apt-ftparchive.cc:371
+#: ftparchive/apt-ftparchive.cc:372
 msgid "Error writing header to contents file"
 msgid "Error writing header to contents file"
 msgstr ""
 msgstr ""
 
 
-#: ftparchive/apt-ftparchive.cc:401
+#: ftparchive/apt-ftparchive.cc:402
 #, c-format
 #, c-format
 msgid "Error processing contents %s"
 msgid "Error processing contents %s"
 msgstr ""
 msgstr ""
 
 
-#: ftparchive/apt-ftparchive.cc:556
+#: ftparchive/apt-ftparchive.cc:557
 msgid ""
 msgid ""
 "Usage: apt-ftparchive [options] command\n"
 "Usage: apt-ftparchive [options] command\n"
 "Commands: packages binarypath [overridefile [pathprefix]]\n"
 "Commands: packages binarypath [overridefile [pathprefix]]\n"
@@ -318,11 +318,11 @@ msgid ""
 "  -o=?  Set an arbitrary configuration option"
 "  -o=?  Set an arbitrary configuration option"
 msgstr ""
 msgstr ""
 
 
-#: ftparchive/apt-ftparchive.cc:762
+#: ftparchive/apt-ftparchive.cc:763
 msgid "No selections matched"
 msgid "No selections matched"
 msgstr ""
 msgstr ""
 
 
-#: ftparchive/apt-ftparchive.cc:835
+#: ftparchive/apt-ftparchive.cc:836
 #, c-format
 #, c-format
 msgid "Some files are missing in the package file group `%s'"
 msgid "Some files are missing in the package file group `%s'"
 msgstr ""
 msgstr ""
@@ -546,7 +546,7 @@ msgstr ""
 msgid "Y"
 msgid "Y"
 msgstr ""
 msgstr ""
 
 
-#: cmdline/apt-get.cc:142 cmdline/apt-get.cc:1506
+#: cmdline/apt-get.cc:142 cmdline/apt-get.cc:1510
 #, c-format
 #, c-format
 msgid "Regex compilation error - %s"
 msgid "Regex compilation error - %s"
 msgstr ""
 msgstr ""
@@ -705,11 +705,11 @@ msgstr ""
 msgid "Internal error, Ordering didn't finish"
 msgid "Internal error, Ordering didn't finish"
 msgstr ""
 msgstr ""
 
 
-#: cmdline/apt-get.cc:791 cmdline/apt-get.cc:1818 cmdline/apt-get.cc:1851
+#: cmdline/apt-get.cc:791 cmdline/apt-get.cc:1822 cmdline/apt-get.cc:1855
 msgid "Unable to lock the download directory"
 msgid "Unable to lock the download directory"
 msgstr ""
 msgstr ""
 
 
-#: cmdline/apt-get.cc:801 cmdline/apt-get.cc:1899 cmdline/apt-get.cc:2135
+#: cmdline/apt-get.cc:801 cmdline/apt-get.cc:1903 cmdline/apt-get.cc:2139
 #: apt-pkg/cachefile.cc:67
 #: apt-pkg/cachefile.cc:67
 msgid "The list of sources could not be read."
 msgid "The list of sources could not be read."
 msgstr ""
 msgstr ""
@@ -738,7 +738,7 @@ msgstr ""
 msgid "After unpacking %sB disk space will be freed.\n"
 msgid "After unpacking %sB disk space will be freed.\n"
 msgstr ""
 msgstr ""
 
 
-#: cmdline/apt-get.cc:846 cmdline/apt-get.cc:1989
+#: cmdline/apt-get.cc:846 cmdline/apt-get.cc:1993
 #, c-format
 #, c-format
 msgid "Couldn't determine free space in %s"
 msgid "Couldn't determine free space in %s"
 msgstr ""
 msgstr ""
@@ -772,7 +772,7 @@ msgstr ""
 msgid "Do you want to continue [Y/n]? "
 msgid "Do you want to continue [Y/n]? "
 msgstr ""
 msgstr ""
 
 
-#: cmdline/apt-get.cc:961 cmdline/apt-get.cc:1365 cmdline/apt-get.cc:2032
+#: cmdline/apt-get.cc:961 cmdline/apt-get.cc:1365 cmdline/apt-get.cc:2036
 #, c-format
 #, c-format
 msgid "Failed to fetch %s  %s\n"
 msgid "Failed to fetch %s  %s\n"
 msgstr ""
 msgstr ""
@@ -781,7 +781,7 @@ msgstr ""
 msgid "Some files failed to download"
 msgid "Some files failed to download"
 msgstr ""
 msgstr ""
 
 
-#: cmdline/apt-get.cc:980 cmdline/apt-get.cc:2041
+#: cmdline/apt-get.cc:980 cmdline/apt-get.cc:2045
 msgid "Download complete and in download only mode"
 msgid "Download complete and in download only mode"
 msgstr ""
 msgstr ""
 
 
@@ -891,27 +891,27 @@ msgstr ""
 msgid "Internal error, AllUpgrade broke stuff"
 msgid "Internal error, AllUpgrade broke stuff"
 msgstr ""
 msgstr ""
 
 
-#: cmdline/apt-get.cc:1493 cmdline/apt-get.cc:1529
+#: cmdline/apt-get.cc:1497 cmdline/apt-get.cc:1533
 #, c-format
 #, c-format
 msgid "Couldn't find package %s"
 msgid "Couldn't find package %s"
 msgstr ""
 msgstr ""
 
 
-#: cmdline/apt-get.cc:1516
+#: cmdline/apt-get.cc:1520
 #, c-format
 #, c-format
 msgid "Note, selecting %s for regex '%s'\n"
 msgid "Note, selecting %s for regex '%s'\n"
 msgstr ""
 msgstr ""
 
 
-#: cmdline/apt-get.cc:1546
+#: cmdline/apt-get.cc:1550
 msgid "You might want to run `apt-get -f install' to correct these:"
 msgid "You might want to run `apt-get -f install' to correct these:"
 msgstr ""
 msgstr ""
 
 
-#: cmdline/apt-get.cc:1549
+#: cmdline/apt-get.cc:1553
 msgid ""
 msgid ""
 "Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a "
 "Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a "
 "solution)."
 "solution)."
 msgstr ""
 msgstr ""
 
 
-#: cmdline/apt-get.cc:1561
+#: cmdline/apt-get.cc:1565
 msgid ""
 msgid ""
 "Some packages could not be installed. This may mean that you have\n"
 "Some packages could not be installed. This may mean that you have\n"
 "requested an impossible situation or if you are using the unstable\n"
 "requested an impossible situation or if you are using the unstable\n"
@@ -919,163 +919,163 @@ msgid ""
 "or been moved out of Incoming."
 "or been moved out of Incoming."
 msgstr ""
 msgstr ""
 
 
-#: cmdline/apt-get.cc:1569
+#: cmdline/apt-get.cc:1573
 msgid ""
 msgid ""
 "Since you only requested a single operation it is extremely likely that\n"
 "Since you only requested a single operation it is extremely likely that\n"
 "the package is simply not installable and a bug report against\n"
 "the package is simply not installable and a bug report against\n"
 "that package should be filed."
 "that package should be filed."
 msgstr ""
 msgstr ""
 
 
-#: cmdline/apt-get.cc:1574
+#: cmdline/apt-get.cc:1578
 msgid "The following information may help to resolve the situation:"
 msgid "The following information may help to resolve the situation:"
 msgstr ""
 msgstr ""
 
 
-#: cmdline/apt-get.cc:1577
+#: cmdline/apt-get.cc:1581
 msgid "Broken packages"
 msgid "Broken packages"
 msgstr ""
 msgstr ""
 
 
-#: cmdline/apt-get.cc:1603
+#: cmdline/apt-get.cc:1607
 msgid "The following extra packages will be installed:"
 msgid "The following extra packages will be installed:"
 msgstr ""
 msgstr ""
 
 
-#: cmdline/apt-get.cc:1692
+#: cmdline/apt-get.cc:1696
 msgid "Suggested packages:"
 msgid "Suggested packages:"
 msgstr ""
 msgstr ""
 
 
-#: cmdline/apt-get.cc:1693
+#: cmdline/apt-get.cc:1697
 msgid "Recommended packages:"
 msgid "Recommended packages:"
 msgstr ""
 msgstr ""
 
 
-#: cmdline/apt-get.cc:1713
+#: cmdline/apt-get.cc:1717
 msgid "Calculating upgrade... "
 msgid "Calculating upgrade... "
 msgstr ""
 msgstr ""
 
 
-#: cmdline/apt-get.cc:1716 methods/ftp.cc:702 methods/connect.cc:101
+#: cmdline/apt-get.cc:1720 methods/ftp.cc:702 methods/connect.cc:101
 msgid "Failed"
 msgid "Failed"
 msgstr ""
 msgstr ""
 
 
-#: cmdline/apt-get.cc:1721
+#: cmdline/apt-get.cc:1725
 msgid "Done"
 msgid "Done"
 msgstr ""
 msgstr ""
 
 
-#: cmdline/apt-get.cc:1786 cmdline/apt-get.cc:1794
+#: cmdline/apt-get.cc:1790 cmdline/apt-get.cc:1798
 msgid "Internal error, problem resolver broke stuff"
 msgid "Internal error, problem resolver broke stuff"
 msgstr ""
 msgstr ""
 
 
-#: cmdline/apt-get.cc:1894
+#: cmdline/apt-get.cc:1898
 msgid "Must specify at least one package to fetch source for"
 msgid "Must specify at least one package to fetch source for"
 msgstr ""
 msgstr ""
 
 
-#: cmdline/apt-get.cc:1924 cmdline/apt-get.cc:2153
+#: cmdline/apt-get.cc:1928 cmdline/apt-get.cc:2157
 #, c-format
 #, c-format
 msgid "Unable to find a source package for %s"
 msgid "Unable to find a source package for %s"
 msgstr ""
 msgstr ""
 
 
-#: cmdline/apt-get.cc:1968
+#: cmdline/apt-get.cc:1972
 #, c-format
 #, c-format
 msgid "Skipping already downloaded file '%s'\n"
 msgid "Skipping already downloaded file '%s'\n"
 msgstr ""
 msgstr ""
 
 
-#: cmdline/apt-get.cc:1992
+#: cmdline/apt-get.cc:1996
 #, c-format
 #, c-format
 msgid "You don't have enough free space in %s"
 msgid "You don't have enough free space in %s"
 msgstr ""
 msgstr ""
 
 
-#: cmdline/apt-get.cc:1997
+#: cmdline/apt-get.cc:2001
 #, c-format
 #, c-format
 msgid "Need to get %sB/%sB of source archives.\n"
 msgid "Need to get %sB/%sB of source archives.\n"
 msgstr ""
 msgstr ""
 
 
-#: cmdline/apt-get.cc:2000
+#: cmdline/apt-get.cc:2004
 #, c-format
 #, c-format
 msgid "Need to get %sB of source archives.\n"
 msgid "Need to get %sB of source archives.\n"
 msgstr ""
 msgstr ""
 
 
-#: cmdline/apt-get.cc:2006
+#: cmdline/apt-get.cc:2010
 #, c-format
 #, c-format
 msgid "Fetch source %s\n"
 msgid "Fetch source %s\n"
 msgstr ""
 msgstr ""
 
 
-#: cmdline/apt-get.cc:2037
+#: cmdline/apt-get.cc:2041
 msgid "Failed to fetch some archives."
 msgid "Failed to fetch some archives."
 msgstr ""
 msgstr ""
 
 
-#: cmdline/apt-get.cc:2065
+#: cmdline/apt-get.cc:2069
 #, c-format
 #, c-format
 msgid "Skipping unpack of already unpacked source in %s\n"
 msgid "Skipping unpack of already unpacked source in %s\n"
 msgstr ""
 msgstr ""
 
 
-#: cmdline/apt-get.cc:2077
+#: cmdline/apt-get.cc:2081
 #, c-format
 #, c-format
 msgid "Unpack command '%s' failed.\n"
 msgid "Unpack command '%s' failed.\n"
 msgstr ""
 msgstr ""
 
 
-#: cmdline/apt-get.cc:2078
+#: cmdline/apt-get.cc:2082
 #, c-format
 #, c-format
 msgid "Check if the 'dpkg-dev' package is installed.\n"
 msgid "Check if the 'dpkg-dev' package is installed.\n"
 msgstr ""
 msgstr ""
 
 
-#: cmdline/apt-get.cc:2095
+#: cmdline/apt-get.cc:2099
 #, c-format
 #, c-format
 msgid "Build command '%s' failed.\n"
 msgid "Build command '%s' failed.\n"
 msgstr ""
 msgstr ""
 
 
-#: cmdline/apt-get.cc:2114
+#: cmdline/apt-get.cc:2118
 msgid "Child process failed"
 msgid "Child process failed"
 msgstr ""
 msgstr ""
 
 
-#: cmdline/apt-get.cc:2130
+#: cmdline/apt-get.cc:2134
 msgid "Must specify at least one package to check builddeps for"
 msgid "Must specify at least one package to check builddeps for"
 msgstr ""
 msgstr ""
 
 
-#: cmdline/apt-get.cc:2158
+#: cmdline/apt-get.cc:2162
 #, c-format
 #, c-format
 msgid "Unable to get build-dependency information for %s"
 msgid "Unable to get build-dependency information for %s"
 msgstr ""
 msgstr ""
 
 
-#: cmdline/apt-get.cc:2178
+#: cmdline/apt-get.cc:2182
 #, c-format
 #, c-format
 msgid "%s has no build depends.\n"
 msgid "%s has no build depends.\n"
 msgstr ""
 msgstr ""
 
 
-#: cmdline/apt-get.cc:2230
+#: cmdline/apt-get.cc:2234
 #, c-format
 #, c-format
 msgid ""
 msgid ""
 "%s dependency for %s cannot be satisfied because the package %s cannot be "
 "%s dependency for %s cannot be satisfied because the package %s cannot be "
 "found"
 "found"
 msgstr ""
 msgstr ""
 
 
-#: cmdline/apt-get.cc:2282
+#: cmdline/apt-get.cc:2286
 #, c-format
 #, c-format
 msgid ""
 msgid ""
 "%s dependency for %s cannot be satisfied because no available versions of "
 "%s dependency for %s cannot be satisfied because no available versions of "
 "package %s can satisfy version requirements"
 "package %s can satisfy version requirements"
 msgstr ""
 msgstr ""
 
 
-#: cmdline/apt-get.cc:2317
+#: cmdline/apt-get.cc:2321
 #, c-format
 #, c-format
 msgid "Failed to satisfy %s dependency for %s: Installed package %s is too new"
 msgid "Failed to satisfy %s dependency for %s: Installed package %s is too new"
 msgstr ""
 msgstr ""
 
 
-#: cmdline/apt-get.cc:2342
+#: cmdline/apt-get.cc:2346
 #, c-format
 #, c-format
 msgid "Failed to satisfy %s dependency for %s: %s"
 msgid "Failed to satisfy %s dependency for %s: %s"
 msgstr ""
 msgstr ""
 
 
-#: cmdline/apt-get.cc:2356
+#: cmdline/apt-get.cc:2360
 #, c-format
 #, c-format
 msgid "Build-dependencies for %s could not be satisfied."
 msgid "Build-dependencies for %s could not be satisfied."
 msgstr ""
 msgstr ""
 
 
-#: cmdline/apt-get.cc:2360
+#: cmdline/apt-get.cc:2364
 msgid "Failed to process build dependencies"
 msgid "Failed to process build dependencies"
 msgstr ""
 msgstr ""
 
 
-#: cmdline/apt-get.cc:2392
+#: cmdline/apt-get.cc:2396
 msgid "Supported modules:"
 msgid "Supported modules:"
 msgstr ""
 msgstr ""
 
 
-#: cmdline/apt-get.cc:2433
+#: cmdline/apt-get.cc:2437
 msgid ""
 msgid ""
 "Usage: apt-get [options] command\n"
 "Usage: apt-get [options] command\n"
 "       apt-get [options] install|remove pkg1 [pkg2 ...]\n"
 "       apt-get [options] install|remove pkg1 [pkg2 ...]\n"
@@ -1090,6 +1090,7 @@ msgid ""
 "   upgrade - Perform an upgrade\n"
 "   upgrade - Perform an upgrade\n"
 "   install - Install new packages (pkg is libc6 not libc6.deb)\n"
 "   install - Install new packages (pkg is libc6 not libc6.deb)\n"
 "   remove - Remove packages\n"
 "   remove - Remove packages\n"
+"   purge - Remove and purge packages\n"
 "   source - Download source archives\n"
 "   source - Download source archives\n"
 "   build-dep - Configure build-dependencies for source packages\n"
 "   build-dep - Configure build-dependencies for source packages\n"
 "   dist-upgrade - Distribution upgrade, see apt-get(8)\n"
 "   dist-upgrade - Distribution upgrade, see apt-get(8)\n"
@@ -1555,7 +1556,7 @@ msgstr ""
 msgid "Server closed the connection"
 msgid "Server closed the connection"
 msgstr ""
 msgstr ""
 
 
-#: methods/ftp.cc:338 apt-pkg/contrib/fileutl.cc:471 methods/rsh.cc:190
+#: methods/ftp.cc:338 apt-pkg/contrib/fileutl.cc:472 methods/rsh.cc:190
 msgid "Read error"
 msgid "Read error"
 msgstr ""
 msgstr ""
 
 
@@ -1567,7 +1568,7 @@ msgstr ""
 msgid "Protocol corruption"
 msgid "Protocol corruption"
 msgstr ""
 msgstr ""
 
 
-#: methods/ftp.cc:446 apt-pkg/contrib/fileutl.cc:510 methods/rsh.cc:232
+#: methods/ftp.cc:446 apt-pkg/contrib/fileutl.cc:511 methods/rsh.cc:232
 msgid "Write error"
 msgid "Write error"
 msgstr ""
 msgstr ""
 
 
@@ -1834,7 +1835,7 @@ msgstr ""
 msgid "Couldn't make mmap of %lu bytes"
 msgid "Couldn't make mmap of %lu bytes"
 msgstr ""
 msgstr ""
 
 
-#: apt-pkg/contrib/strutl.cc:938
+#: apt-pkg/contrib/strutl.cc:939
 #, c-format
 #, c-format
 msgid "Selection %s not found"
 msgid "Selection %s not found"
 msgstr ""
 msgstr ""
@@ -1964,70 +1965,70 @@ msgstr ""
 msgid "Failed to stat the cdrom"
 msgid "Failed to stat the cdrom"
 msgstr ""
 msgstr ""
 
 
-#: apt-pkg/contrib/fileutl.cc:82
+#: apt-pkg/contrib/fileutl.cc:83
 #, c-format
 #, c-format
 msgid "Not using locking for read only lock file %s"
 msgid "Not using locking for read only lock file %s"
 msgstr ""
 msgstr ""
 
 
-#: apt-pkg/contrib/fileutl.cc:87
+#: apt-pkg/contrib/fileutl.cc:88
 #, c-format
 #, c-format
 msgid "Could not open lock file %s"
 msgid "Could not open lock file %s"
 msgstr ""
 msgstr ""
 
 
-#: apt-pkg/contrib/fileutl.cc:105
+#: apt-pkg/contrib/fileutl.cc:106
 #, c-format
 #, c-format
 msgid "Not using locking for nfs mounted lock file %s"
 msgid "Not using locking for nfs mounted lock file %s"
 msgstr ""
 msgstr ""
 
 
-#: apt-pkg/contrib/fileutl.cc:109
+#: apt-pkg/contrib/fileutl.cc:110
 #, c-format
 #, c-format
 msgid "Could not get lock %s"
 msgid "Could not get lock %s"
 msgstr ""
 msgstr ""
 
 
-#: apt-pkg/contrib/fileutl.cc:377
+#: apt-pkg/contrib/fileutl.cc:378
 #, c-format
 #, c-format
 msgid "Waited for %s but it wasn't there"
 msgid "Waited for %s but it wasn't there"
 msgstr ""
 msgstr ""
 
 
-#: apt-pkg/contrib/fileutl.cc:387
+#: apt-pkg/contrib/fileutl.cc:388
 #, c-format
 #, c-format
 msgid "Sub-process %s received a segmentation fault."
 msgid "Sub-process %s received a segmentation fault."
 msgstr ""
 msgstr ""
 
 
-#: apt-pkg/contrib/fileutl.cc:390
+#: apt-pkg/contrib/fileutl.cc:391
 #, c-format
 #, c-format
 msgid "Sub-process %s returned an error code (%u)"
 msgid "Sub-process %s returned an error code (%u)"
 msgstr ""
 msgstr ""
 
 
-#: apt-pkg/contrib/fileutl.cc:392
+#: apt-pkg/contrib/fileutl.cc:393
 #, c-format
 #, c-format
 msgid "Sub-process %s exited unexpectedly"
 msgid "Sub-process %s exited unexpectedly"
 msgstr ""
 msgstr ""
 
 
-#: apt-pkg/contrib/fileutl.cc:436
+#: apt-pkg/contrib/fileutl.cc:437
 #, c-format
 #, c-format
 msgid "Could not open file %s"
 msgid "Could not open file %s"
 msgstr ""
 msgstr ""
 
 
-#: apt-pkg/contrib/fileutl.cc:492
+#: apt-pkg/contrib/fileutl.cc:493
 #, c-format
 #, c-format
 msgid "read, still have %lu to read but none left"
 msgid "read, still have %lu to read but none left"
 msgstr ""
 msgstr ""
 
 
-#: apt-pkg/contrib/fileutl.cc:522
+#: apt-pkg/contrib/fileutl.cc:523
 #, c-format
 #, c-format
 msgid "write, still have %lu to write but couldn't"
 msgid "write, still have %lu to write but couldn't"
 msgstr ""
 msgstr ""
 
 
-#: apt-pkg/contrib/fileutl.cc:597
+#: apt-pkg/contrib/fileutl.cc:598
 msgid "Problem closing the file"
 msgid "Problem closing the file"
 msgstr ""
 msgstr ""
 
 
-#: apt-pkg/contrib/fileutl.cc:603
+#: apt-pkg/contrib/fileutl.cc:604
 msgid "Problem unlinking the file"
 msgid "Problem unlinking the file"
 msgstr ""
 msgstr ""
 
 
-#: apt-pkg/contrib/fileutl.cc:614
+#: apt-pkg/contrib/fileutl.cc:615
 msgid "Problem syncing the file"
 msgid "Problem syncing the file"
 msgstr ""
 msgstr ""
 
 
@@ -2152,7 +2153,7 @@ msgstr ""
 msgid "Opening %s"
 msgid "Opening %s"
 msgstr ""
 msgstr ""
 
 
-#: apt-pkg/sourcelist.cc:220 apt-pkg/cdrom.cc:426
+#: apt-pkg/sourcelist.cc:220 apt-pkg/cdrom.cc:427
 #, c-format
 #, c-format
 msgid "Line %u too long in source list %s."
 msgid "Line %u too long in source list %s."
 msgstr ""
 msgstr ""
@@ -2185,19 +2186,19 @@ msgstr ""
 msgid "Index file type '%s' is not supported"
 msgid "Index file type '%s' is not supported"
 msgstr ""
 msgstr ""
 
 
-#: apt-pkg/algorithms.cc:241
+#: apt-pkg/algorithms.cc:243
 #, c-format
 #, c-format
 msgid ""
 msgid ""
 "The package %s needs to be reinstalled, but I can't find an archive for it."
 "The package %s needs to be reinstalled, but I can't find an archive for it."
 msgstr ""
 msgstr ""
 
 
-#: apt-pkg/algorithms.cc:1066
+#: apt-pkg/algorithms.cc:1068
 msgid ""
 msgid ""
 "Error, pkgProblemResolver::Resolve generated breaks, this may be caused by "
 "Error, pkgProblemResolver::Resolve generated breaks, this may be caused by "
 "held packages."
 "held packages."
 msgstr ""
 msgstr ""
 
 
-#: apt-pkg/algorithms.cc:1068
+#: apt-pkg/algorithms.cc:1070
 msgid "Unable to correct problems, you have held broken packages."
 msgid "Unable to correct problems, you have held broken packages."
 msgstr ""
 msgstr ""
 
 
@@ -2238,12 +2239,12 @@ msgstr ""
 msgid "Please insert the disc labeled: '%s' in the drive '%s' and press enter."
 msgid "Please insert the disc labeled: '%s' in the drive '%s' and press enter."
 msgstr ""
 msgstr ""
 
 
-#: apt-pkg/init.cc:120
+#: apt-pkg/init.cc:121
 #, c-format
 #, c-format
 msgid "Packaging system '%s' is not supported"
 msgid "Packaging system '%s' is not supported"
 msgstr ""
 msgstr ""
 
 
-#: apt-pkg/init.cc:136
+#: apt-pkg/init.cc:137
 msgid "Unable to determine a suitable packaging system type"
 msgid "Unable to determine a suitable packaging system type"
 msgstr ""
 msgstr ""
 
 
@@ -2398,78 +2399,78 @@ msgstr ""
 msgid "Vendor block %s contains no fingerprint"
 msgid "Vendor block %s contains no fingerprint"
 msgstr ""
 msgstr ""
 
 
-#: apt-pkg/cdrom.cc:507
+#: apt-pkg/cdrom.cc:508
 #, c-format
 #, c-format
 msgid ""
 msgid ""
 "Using CD-ROM mount point %s\n"
 "Using CD-ROM mount point %s\n"
 "Mounting CD-ROM\n"
 "Mounting CD-ROM\n"
 msgstr ""
 msgstr ""
 
 
-#: apt-pkg/cdrom.cc:516 apt-pkg/cdrom.cc:598
+#: apt-pkg/cdrom.cc:517 apt-pkg/cdrom.cc:599
 msgid "Identifying.. "
 msgid "Identifying.. "
 msgstr ""
 msgstr ""
 
 
-#: apt-pkg/cdrom.cc:541
+#: apt-pkg/cdrom.cc:542
 #, c-format
 #, c-format
 msgid "Stored label: %s \n"
 msgid "Stored label: %s \n"
 msgstr ""
 msgstr ""
 
 
-#: apt-pkg/cdrom.cc:561
+#: apt-pkg/cdrom.cc:562
 #, c-format
 #, c-format
 msgid "Using CD-ROM mount point %s\n"
 msgid "Using CD-ROM mount point %s\n"
 msgstr ""
 msgstr ""
 
 
-#: apt-pkg/cdrom.cc:579
+#: apt-pkg/cdrom.cc:580
 msgid "Unmounting CD-ROM\n"
 msgid "Unmounting CD-ROM\n"
 msgstr ""
 msgstr ""
 
 
-#: apt-pkg/cdrom.cc:583
+#: apt-pkg/cdrom.cc:584
 msgid "Waiting for disc...\n"
 msgid "Waiting for disc...\n"
 msgstr ""
 msgstr ""
 
 
 #. Mount the new CDROM
 #. Mount the new CDROM
-#: apt-pkg/cdrom.cc:591
+#: apt-pkg/cdrom.cc:592
 msgid "Mounting CD-ROM...\n"
 msgid "Mounting CD-ROM...\n"
 msgstr ""
 msgstr ""
 
 
-#: apt-pkg/cdrom.cc:609
+#: apt-pkg/cdrom.cc:610
 msgid "Scanning disc for index files..\n"
 msgid "Scanning disc for index files..\n"
 msgstr ""
 msgstr ""
 
 
-#: apt-pkg/cdrom.cc:647
+#: apt-pkg/cdrom.cc:648
 #, c-format
 #, c-format
 msgid "Found %i package indexes, %i source indexes and %i signatures\n"
 msgid "Found %i package indexes, %i source indexes and %i signatures\n"
 msgstr ""
 msgstr ""
 
 
-#: apt-pkg/cdrom.cc:683
+#: apt-pkg/cdrom.cc:684
 #, c-format
 #, c-format
 msgid "Found label '%s'\n"
 msgid "Found label '%s'\n"
 msgstr ""
 msgstr ""
 
 
-#: apt-pkg/cdrom.cc:712
+#: apt-pkg/cdrom.cc:713
 msgid "That is not a valid name, try again.\n"
 msgid "That is not a valid name, try again.\n"
 msgstr ""
 msgstr ""
 
 
-#: apt-pkg/cdrom.cc:728
+#: apt-pkg/cdrom.cc:729
 #, c-format
 #, c-format
 msgid ""
 msgid ""
 "This disc is called: \n"
 "This disc is called: \n"
 "'%s'\n"
 "'%s'\n"
 msgstr ""
 msgstr ""
 
 
-#: apt-pkg/cdrom.cc:732
+#: apt-pkg/cdrom.cc:733
 msgid "Copying package lists..."
 msgid "Copying package lists..."
 msgstr ""
 msgstr ""
 
 
-#: apt-pkg/cdrom.cc:756
+#: apt-pkg/cdrom.cc:757
 msgid "Writing new source list\n"
 msgid "Writing new source list\n"
 msgstr ""
 msgstr ""
 
 
-#: apt-pkg/cdrom.cc:765
+#: apt-pkg/cdrom.cc:766
 msgid "Source list entries for this disc are:\n"
 msgid "Source list entries for this disc are:\n"
 msgstr ""
 msgstr ""
 
 
-#: apt-pkg/cdrom.cc:807
+#: apt-pkg/cdrom.cc:808
 msgid "Unmounting CD-ROM...\n"
 msgid "Unmounting CD-ROM...\n"
 msgstr ""
 msgstr ""