diff options
-rw-r--r-- | cmdline/apt-get.cc | 5 | ||||
-rw-r--r-- | debian/changelog | 2 | ||||
-rw-r--r-- | po/apt-all.pot | 118 |
3 files changed, 65 insertions, 60 deletions
diff --git a/cmdline/apt-get.cc b/cmdline/apt-get.cc index 34ffaf11a..71566fd55 100644 --- a/cmdline/apt-get.cc +++ b/cmdline/apt-get.cc @@ -1255,7 +1255,10 @@ pkgSrcRecords::Parser *FindSrc(const char *Name,pkgRecords &Recs, //std::cout << VF.File().Archive() << std::endl; if(VF.File().Archive() && (VF.File().Archive() == DefRel)) { - VerTag = Ver.VerStr(); + pkgRecords::Parser &Parse = Recs.Lookup(VF); + VerTag = Parse.SourceVer(); + if (VerTag.empty()) + VerTag = Ver.VerStr(); break; } } diff --git a/debian/changelog b/debian/changelog index 0f7669930..3407cdcec 100644 --- a/debian/changelog +++ b/debian/changelog @@ -7,6 +7,8 @@ apt (0.7.22.3) unstable; urgency=low - ShowBroken() in build-dep (by Mike O'Connor, Closes: #145916) - check for statfs.f_type (by Robert Millan, Closes: #509313) - correct the order of picked package binary vs source in source + - use SourceVersion instead of the BinaryVersion to get the source + Patch by Matt Kraai, thanks! (Closes: #382826) * apt-pkg/contrib/strutl.cc: - enable thousand separator according to the current locale (by Luca Bruno, Closes: #223712) diff --git a/po/apt-all.pot b/po/apt-all.pot index 8f3d4cf60..767d9f060 100644 --- a/po/apt-all.pot +++ b/po/apt-all.pot @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2009-08-10 23:54+0200\n" +"POT-Creation-Date: 2009-08-12 13:14+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -151,7 +151,7 @@ msgstr "" #: cmdline/apt-cache.cc:1718 cmdline/apt-cdrom.cc:134 cmdline/apt-config.cc:70 #: cmdline/apt-extracttemplates.cc:225 ftparchive/apt-ftparchive.cc:547 -#: cmdline/apt-get.cc:2615 cmdline/apt-sortpkgs.cc:144 +#: cmdline/apt-get.cc:2618 cmdline/apt-sortpkgs.cc:144 #, c-format msgid "%s %s for %s compiled on %s %s\n" msgstr "" @@ -549,7 +549,7 @@ msgstr "" msgid "Y" msgstr "" -#: cmdline/apt-get.cc:149 cmdline/apt-get.cc:1684 +#: cmdline/apt-get.cc:149 cmdline/apt-get.cc:1687 #, c-format msgid "Regex compilation error - %s" msgstr "" @@ -708,11 +708,11 @@ msgstr "" msgid "Internal error, Ordering didn't finish" msgstr "" -#: cmdline/apt-get.cc:811 cmdline/apt-get.cc:2026 cmdline/apt-get.cc:2059 +#: cmdline/apt-get.cc:811 cmdline/apt-get.cc:2029 cmdline/apt-get.cc:2062 msgid "Unable to lock the download directory" msgstr "" -#: cmdline/apt-get.cc:821 cmdline/apt-get.cc:2107 cmdline/apt-get.cc:2356 +#: cmdline/apt-get.cc:821 cmdline/apt-get.cc:2110 cmdline/apt-get.cc:2359 #: apt-pkg/cachefile.cc:65 msgid "The list of sources could not be read." msgstr "" @@ -741,7 +741,7 @@ msgstr "" msgid "After this operation, %sB disk space will be freed.\n" msgstr "" -#: cmdline/apt-get.cc:866 cmdline/apt-get.cc:2202 +#: cmdline/apt-get.cc:866 cmdline/apt-get.cc:2205 #, c-format msgid "Couldn't determine free space in %s" msgstr "" @@ -775,7 +775,7 @@ msgstr "" msgid "Do you want to continue [Y/n]? " msgstr "" -#: cmdline/apt-get.cc:989 cmdline/apt-get.cc:2253 apt-pkg/algorithms.cc:1389 +#: cmdline/apt-get.cc:989 cmdline/apt-get.cc:2256 apt-pkg/algorithms.cc:1389 #, c-format msgid "Failed to fetch %s %s\n" msgstr "" @@ -784,7 +784,7 @@ msgstr "" msgid "Some files failed to download" msgstr "" -#: cmdline/apt-get.cc:1008 cmdline/apt-get.cc:2262 +#: cmdline/apt-get.cc:1008 cmdline/apt-get.cc:2265 msgid "Download complete and in download only mode" msgstr "" @@ -876,39 +876,39 @@ msgstr "" msgid "Selected version %s (%s) for %s\n" msgstr "" -#: cmdline/apt-get.cc:1312 +#: cmdline/apt-get.cc:1315 #, c-format msgid "No source package '%s' picking '%s' instead\n" msgstr "" -#: cmdline/apt-get.cc:1349 +#: cmdline/apt-get.cc:1352 msgid "The update command takes no arguments" msgstr "" -#: cmdline/apt-get.cc:1362 +#: cmdline/apt-get.cc:1365 msgid "Unable to lock the list directory" msgstr "" -#: cmdline/apt-get.cc:1418 +#: cmdline/apt-get.cc:1421 msgid "We are not supposed to delete stuff, can't start AutoRemover" msgstr "" -#: cmdline/apt-get.cc:1467 +#: cmdline/apt-get.cc:1470 msgid "" "The following packages were automatically installed and are no longer " "required:" msgstr "" -#: cmdline/apt-get.cc:1469 +#: cmdline/apt-get.cc:1472 #, c-format msgid "%lu packages were automatically installed and are no longer required.\n" msgstr "" -#: cmdline/apt-get.cc:1470 +#: cmdline/apt-get.cc:1473 msgid "Use 'apt-get autoremove' to remove them." msgstr "" -#: cmdline/apt-get.cc:1475 +#: cmdline/apt-get.cc:1478 msgid "" "Hmm, seems like the AutoRemover destroyed something which really\n" "shouldn't happen. Please file a bug report against apt." @@ -924,49 +924,49 @@ msgstr "" #. "that package should be filed.") << endl; #. } #. -#: cmdline/apt-get.cc:1478 cmdline/apt-get.cc:1768 +#: cmdline/apt-get.cc:1481 cmdline/apt-get.cc:1771 msgid "The following information may help to resolve the situation:" msgstr "" -#: cmdline/apt-get.cc:1482 +#: cmdline/apt-get.cc:1485 msgid "Internal Error, AutoRemover broke stuff" msgstr "" -#: cmdline/apt-get.cc:1501 +#: cmdline/apt-get.cc:1504 msgid "Internal error, AllUpgrade broke stuff" msgstr "" -#: cmdline/apt-get.cc:1556 +#: cmdline/apt-get.cc:1559 #, c-format msgid "Couldn't find task %s" msgstr "" -#: cmdline/apt-get.cc:1671 cmdline/apt-get.cc:1707 +#: cmdline/apt-get.cc:1674 cmdline/apt-get.cc:1710 #, c-format msgid "Couldn't find package %s" msgstr "" -#: cmdline/apt-get.cc:1694 +#: cmdline/apt-get.cc:1697 #, c-format msgid "Note, selecting %s for regex '%s'\n" msgstr "" -#: cmdline/apt-get.cc:1725 +#: cmdline/apt-get.cc:1728 #, c-format msgid "%s set to manually installed.\n" msgstr "" -#: cmdline/apt-get.cc:1738 +#: cmdline/apt-get.cc:1741 msgid "You might want to run `apt-get -f install' to correct these:" msgstr "" -#: cmdline/apt-get.cc:1741 +#: cmdline/apt-get.cc:1744 msgid "" "Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a " "solution)." msgstr "" -#: cmdline/apt-get.cc:1753 +#: cmdline/apt-get.cc:1756 msgid "" "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" @@ -974,152 +974,152 @@ msgid "" "or been moved out of Incoming." msgstr "" -#: cmdline/apt-get.cc:1771 +#: cmdline/apt-get.cc:1774 msgid "Broken packages" msgstr "" -#: cmdline/apt-get.cc:1800 +#: cmdline/apt-get.cc:1803 msgid "The following extra packages will be installed:" msgstr "" -#: cmdline/apt-get.cc:1889 +#: cmdline/apt-get.cc:1892 msgid "Suggested packages:" msgstr "" -#: cmdline/apt-get.cc:1890 +#: cmdline/apt-get.cc:1893 msgid "Recommended packages:" msgstr "" -#: cmdline/apt-get.cc:1919 +#: cmdline/apt-get.cc:1922 msgid "Calculating upgrade... " msgstr "" -#: cmdline/apt-get.cc:1922 methods/ftp.cc:702 methods/connect.cc:112 +#: cmdline/apt-get.cc:1925 methods/ftp.cc:702 methods/connect.cc:112 msgid "Failed" msgstr "" -#: cmdline/apt-get.cc:1927 +#: cmdline/apt-get.cc:1930 msgid "Done" msgstr "" -#: cmdline/apt-get.cc:1994 cmdline/apt-get.cc:2002 +#: cmdline/apt-get.cc:1997 cmdline/apt-get.cc:2005 msgid "Internal error, problem resolver broke stuff" msgstr "" -#: cmdline/apt-get.cc:2102 +#: cmdline/apt-get.cc:2105 msgid "Must specify at least one package to fetch source for" msgstr "" -#: cmdline/apt-get.cc:2132 cmdline/apt-get.cc:2374 +#: cmdline/apt-get.cc:2135 cmdline/apt-get.cc:2377 #, c-format msgid "Unable to find a source package for %s" msgstr "" -#: cmdline/apt-get.cc:2181 +#: cmdline/apt-get.cc:2184 #, c-format msgid "Skipping already downloaded file '%s'\n" msgstr "" -#: cmdline/apt-get.cc:2212 +#: cmdline/apt-get.cc:2215 #, c-format msgid "You don't have enough free space in %s" msgstr "" -#: cmdline/apt-get.cc:2218 +#: cmdline/apt-get.cc:2221 #, c-format msgid "Need to get %sB/%sB of source archives.\n" msgstr "" -#: cmdline/apt-get.cc:2221 +#: cmdline/apt-get.cc:2224 #, c-format msgid "Need to get %sB of source archives.\n" msgstr "" -#: cmdline/apt-get.cc:2227 +#: cmdline/apt-get.cc:2230 #, c-format msgid "Fetch source %s\n" msgstr "" -#: cmdline/apt-get.cc:2258 +#: cmdline/apt-get.cc:2261 msgid "Failed to fetch some archives." msgstr "" -#: cmdline/apt-get.cc:2286 +#: cmdline/apt-get.cc:2289 #, c-format msgid "Skipping unpack of already unpacked source in %s\n" msgstr "" -#: cmdline/apt-get.cc:2298 +#: cmdline/apt-get.cc:2301 #, c-format msgid "Unpack command '%s' failed.\n" msgstr "" -#: cmdline/apt-get.cc:2299 +#: cmdline/apt-get.cc:2302 #, c-format msgid "Check if the 'dpkg-dev' package is installed.\n" msgstr "" -#: cmdline/apt-get.cc:2316 +#: cmdline/apt-get.cc:2319 #, c-format msgid "Build command '%s' failed.\n" msgstr "" -#: cmdline/apt-get.cc:2335 +#: cmdline/apt-get.cc:2338 msgid "Child process failed" msgstr "" -#: cmdline/apt-get.cc:2351 +#: cmdline/apt-get.cc:2354 msgid "Must specify at least one package to check builddeps for" msgstr "" -#: cmdline/apt-get.cc:2379 +#: cmdline/apt-get.cc:2382 #, c-format msgid "Unable to get build-dependency information for %s" msgstr "" -#: cmdline/apt-get.cc:2399 +#: cmdline/apt-get.cc:2402 #, c-format msgid "%s has no build depends.\n" msgstr "" -#: cmdline/apt-get.cc:2451 +#: cmdline/apt-get.cc:2454 #, c-format msgid "" "%s dependency for %s cannot be satisfied because the package %s cannot be " "found" msgstr "" -#: cmdline/apt-get.cc:2504 +#: cmdline/apt-get.cc:2507 #, c-format msgid "" "%s dependency for %s cannot be satisfied because no available versions of " "package %s can satisfy version requirements" msgstr "" -#: cmdline/apt-get.cc:2540 +#: cmdline/apt-get.cc:2543 #, c-format msgid "Failed to satisfy %s dependency for %s: Installed package %s is too new" msgstr "" -#: cmdline/apt-get.cc:2567 +#: cmdline/apt-get.cc:2570 #, c-format msgid "Failed to satisfy %s dependency for %s: %s" msgstr "" -#: cmdline/apt-get.cc:2583 +#: cmdline/apt-get.cc:2586 #, c-format msgid "Build-dependencies for %s could not be satisfied." msgstr "" -#: cmdline/apt-get.cc:2588 +#: cmdline/apt-get.cc:2591 msgid "Failed to process build dependencies" msgstr "" -#: cmdline/apt-get.cc:2620 +#: cmdline/apt-get.cc:2623 msgid "Supported modules:" msgstr "" -#: cmdline/apt-get.cc:2661 +#: cmdline/apt-get.cc:2664 msgid "" "Usage: apt-get [options] command\n" " apt-get [options] install|remove pkg1 [pkg2 ...]\n" @@ -1163,7 +1163,7 @@ msgid "" " This APT has Super Cow Powers.\n" msgstr "" -#: cmdline/apt-get.cc:2828 +#: cmdline/apt-get.cc:2831 msgid "" "NOTE: This is only a simulation!\n" " apt-get needs root privileges for real execution.\n" |