Merge lp:~pitti/apt/compressed-indexes into lp:~ubuntu-core-dev/apt/ubuntu
- compressed-indexes
- Merge into ubuntu
Status: | Rejected |
---|---|
Rejected by: | Martin Pitt |
Proposed branch: | lp:~pitti/apt/compressed-indexes |
Merge into: | lp:~ubuntu-core-dev/apt/ubuntu |
Diff against target: |
90174 lines (+26606/-12459) (has conflicts) 118 files modified
apt-inst/contrib/arfile.h (+1/-0) apt-inst/makefile (+1/-1) apt-pkg/acquire-item.cc (+40/-5) apt-pkg/acquire-item.h (+13/-1) apt-pkg/aptconfiguration.cc (+235/-4) apt-pkg/aptconfiguration.h (+27/-0) apt-pkg/contrib/configuration.cc (+11/-11) apt-pkg/contrib/configuration.h (+19/-18) apt-pkg/contrib/fileutl.cc (+41/-6) apt-pkg/contrib/fileutl.h (+6/-3) apt-pkg/contrib/mmap.cc (+89/-46) apt-pkg/contrib/mmap.h (+7/-3) apt-pkg/contrib/strutl.cc (+18/-0) apt-pkg/contrib/strutl.h (+1/-0) apt-pkg/deb/debindexfile.cc (+34/-17) apt-pkg/deb/debindexfile.h (+3/-2) apt-pkg/deb/deblistparser.cc (+24/-5) apt-pkg/deb/deblistparser.h (+2/-1) apt-pkg/deb/debmetaindex.cc (+17/-3) apt-pkg/deb/debrecords.cc (+9/-3) apt-pkg/deb/debsrcrecords.cc (+3/-2) apt-pkg/deb/debsrcrecords.h (+3/-3) apt-pkg/deb/dpkgpm.cc (+1/-1) apt-pkg/depcache.cc (+5/-5) apt-pkg/indexfile.cc (+23/-24) apt-pkg/init.h (+1/-1) apt-pkg/makefile (+1/-1) apt-pkg/pkgcache.cc (+18/-9) apt-pkg/pkgcache.h (+2/-2) apt-pkg/policy.cc (+15/-1) apt-pkg/srcrecords.cc (+2/-2) apt-pkg/srcrecords.h (+4/-4) buildlib/apti18n.h.in (+3/-0) buildlib/library.mak (+7/-7) buildlib/libversion.mak (+3/-0) cmdline/apt-cache.cc (+14/-3) cmdline/apt-get.cc (+7/-5) cmdline/apt-key (+1/-0) cmdline/apt-mark (+11/-11) configure.in (+8/-0) debian/NEWS (+8/-1) debian/changelog (+165/-0) debian/control (+18/-0) debian/rules (+13/-12) doc/apt-cdrom.8.xml (+1/-1) doc/apt-ftparchive.1.xml (+21/-1) doc/apt.conf.5.xml (+32/-1) doc/apt_preferences.5.xml (+9/-1) doc/examples/configure-index (+9/-0) doc/po/apt-doc.pot (+411/-371) doc/po/de.po (+462/-373) doc/po/es.po (+3511/-2616) doc/po/fr.po (+390/-295) doc/po/it.po (+284/-257) doc/po/ja.po (+306/-257) doc/po/pl.po (+2580/-759) doc/po/pt_BR.po (+285/-258) ftparchive/apt-ftparchive.cc (+6/-4) ftparchive/cachedb.cc (+17/-13) ftparchive/cachedb.h (+11/-11) ftparchive/contents.cc (+1/-1) ftparchive/contents.h (+1/-1) ftparchive/multicompress.cc (+7/-7) ftparchive/multicompress.h (+6/-6) ftparchive/override.cc (+8/-8) ftparchive/override.h (+5/-5) ftparchive/writer.cc (+37/-38) ftparchive/writer.h (+20/-19) po/ar.po.OTHER (+2896/-0) po/ast.po (+200/-175) po/bg.po (+201/-176) po/bs.po (+193/-172) po/ca.po (+200/-175) po/cs.po (+200/-175) po/cy.po (+200/-173) po/da.po (+200/-174) po/de.po (+430/-410) po/dz.po (+201/-175) po/el.po (+200/-175) po/en_GB.po (+256/-231) po/es.po (+200/-175) po/eu.po (+200/-175) po/fi.po (+200/-175) po/fr.po (+6/-8) po/gl.po (+200/-175) po/hu.po (+200/-175) po/it.po (+16/-7) po/ja.po (+200/-175) po/km.po (+201/-175) po/ko.po (+200/-175) po/ku.po.OTHER (+2875/-0) po/lt.po (+200/-178) po/makefile (+1/-0) po/mr.po (+200/-175) po/nb.po (+200/-175) po/ne.po (+200/-175) po/nl.po (+329/-312) po/nn.po (+200/-173) po/pl.po (+200/-175) po/pt.po (+200/-175) po/pt_BR.po (+200/-175) po/ro.po (+200/-175) po/ru.po (+202/-188) po/sk.po (+11/-10) po/sl.po (+200/-173) po/sv.po (+200/-175) po/th.po (+200/-175) po/tl.po (+200/-174) po/uk.po.OTHER (+3161/-0) po/vi.po (+200/-175) po/zh_CN.po (+200/-174) po/zh_TW.po (+200/-175) test/libapt/assert.h (+21/-0) test/libapt/getlanguages_test.cc (+149/-0) test/libapt/makefile (+25/-0) test/libapt/parsedepends_test.cc (+128/-0) test/libapt/run-tests.sh (+7/-0) test/test-indexes.sh (+143/-0) Text conflict in apt-pkg/indexfile.cc Text conflict in buildlib/libversion.mak Text conflict in configure.in Text conflict in debian/changelog Text conflict in debian/control Text conflict in doc/po/fr.po Contents conflict in po/ar.po Contents conflict in po/ku.po Contents conflict in po/uk.po |
To merge this branch: | bzr merge lp:~pitti/apt/compressed-indexes |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Martin Pitt | Needs Fixing | ||
Michael Vogt | Pending | ||
Review via email: mp+27342@code.launchpad.net |
Commit message
Description of the change
This branch introduces support for storing gzip-compressed package indexes locally. On my system, this reduces /var/lib/apt/lists/ from 70 MB to 19 MB without introducing noticeable additional latency (mostly because my hard disk is very slow, thus the additional CPU overhead of uncompressing the indexes for building the cache is more than offset by the saved I/O). But even on netbooks or thin clients with fast SSD and slow processor this is an interesting option if the install is very space constrained.
I did not enable this option by default. To use it, one needs to create a file like
$ cat /etc/apt/
Acquire:
Acquire:
The second is necessary since the patch deliberately avoids re-compressing downloaded indexes, it just keeps an already gzip compressed index if it gets one.
I also added some test cases for this in test/test-
Note that although this introduces a new protected member in FileFD, this does _not_ change the ABI of libapt, since FileFD is an internal class only and not exported in libapt-pkg-dev. I ran the abi checker and it gave me a clean bill.
Martin Pitt (pitti) wrote : | # |
Martin Pitt (pitti) wrote : | # |
Ah, seems that lp:apt is indeed quite different, sorry :-( So please ignore the autogenerated diff here, and perhaps just use the bazaar.lp.net links for review?
Martin Pitt (pitti) wrote : | # |
Ah, I just discovered some regressions wrt. apt-get source and apt-cache showsrc. I committed test cases for those (r1982), and will re-propose the merge against the correct branch (lp:~mvo/apt/debian-sid should be a good mirror of the Debian one?) once it's fixed.
Unmerged revisions
Preview Diff
1 | === modified file 'apt-inst/contrib/arfile.h' | |||
2 | --- apt-inst/contrib/arfile.h 2006-10-02 14:16:54 +0000 | |||
3 | +++ apt-inst/contrib/arfile.h 2010-06-11 16:24:33 +0000 | |||
4 | @@ -39,6 +39,7 @@ | |||
5 | 39 | 39 | ||
6 | 40 | // Locate a member by name | 40 | // Locate a member by name |
7 | 41 | const Member *FindMember(const char *Name) const; | 41 | const Member *FindMember(const char *Name) const; |
8 | 42 | inline Member *Members() { return List; } | ||
9 | 42 | 43 | ||
10 | 43 | ARArchive(FileFd &File); | 44 | ARArchive(FileFd &File); |
11 | 44 | ~ARArchive(); | 45 | ~ARArchive(); |
12 | 45 | 46 | ||
13 | === modified file 'apt-inst/makefile' | |||
14 | --- apt-inst/makefile 2009-12-14 09:08:27 +0000 | |||
15 | +++ apt-inst/makefile 2010-06-11 16:24:33 +0000 | |||
16 | @@ -14,7 +14,7 @@ | |||
17 | 14 | 14 | ||
18 | 15 | # The library name | 15 | # The library name |
19 | 16 | LIBRARY=apt-inst | 16 | LIBRARY=apt-inst |
21 | 17 | MAJOR=1.1 | 17 | MAJOR=1.2 |
22 | 18 | MINOR=0 | 18 | MINOR=0 |
23 | 19 | SLIBS=$(PTHREADLIB) -lapt-pkg | 19 | SLIBS=$(PTHREADLIB) -lapt-pkg |
24 | 20 | APT_DOMAIN:=libapt-inst$(MAJOR) | 20 | APT_DOMAIN:=libapt-inst$(MAJOR) |
25 | 21 | 21 | ||
26 | === modified file 'apt-pkg/acquire-item.cc' | |||
27 | --- apt-pkg/acquire-item.cc 2010-02-17 21:40:05 +0000 | |||
28 | +++ apt-pkg/acquire-item.cc 2010-06-11 16:24:33 +0000 | |||
29 | @@ -360,7 +360,7 @@ | |||
30 | 360 | if(last_space != string::npos) | 360 | if(last_space != string::npos) |
31 | 361 | Description.erase(last_space, Description.size()-last_space); | 361 | Description.erase(last_space, Description.size()-last_space); |
32 | 362 | new pkgAcqIndexDiffs(Owner, RealURI, Description, Desc.ShortDesc, | 362 | new pkgAcqIndexDiffs(Owner, RealURI, Description, Desc.ShortDesc, |
34 | 363 | ExpectedHash, available_patches); | 363 | ExpectedHash, ServerSha1, available_patches); |
35 | 364 | Complete = false; | 364 | Complete = false; |
36 | 365 | Status = StatDone; | 365 | Status = StatDone; |
37 | 366 | Dequeue(); | 366 | Dequeue(); |
38 | @@ -428,9 +428,10 @@ | |||
39 | 428 | pkgAcqIndexDiffs::pkgAcqIndexDiffs(pkgAcquire *Owner, | 428 | pkgAcqIndexDiffs::pkgAcqIndexDiffs(pkgAcquire *Owner, |
40 | 429 | string URI,string URIDesc,string ShortDesc, | 429 | string URI,string URIDesc,string ShortDesc, |
41 | 430 | HashString ExpectedHash, | 430 | HashString ExpectedHash, |
42 | 431 | string ServerSha1, | ||
43 | 431 | vector<DiffInfo> diffs) | 432 | vector<DiffInfo> diffs) |
44 | 432 | : Item(Owner), RealURI(URI), ExpectedHash(ExpectedHash), | 433 | : Item(Owner), RealURI(URI), ExpectedHash(ExpectedHash), |
46 | 433 | available_patches(diffs) | 434 | available_patches(diffs), ServerSha1(ServerSha1) |
47 | 434 | { | 435 | { |
48 | 435 | 436 | ||
49 | 436 | DestFile = _config->FindDir("Dir::State::lists") + "partial/"; | 437 | DestFile = _config->FindDir("Dir::State::lists") + "partial/"; |
50 | @@ -516,6 +517,13 @@ | |||
51 | 516 | std::clog << "QueueNextDiff: " | 517 | std::clog << "QueueNextDiff: " |
52 | 517 | << FinalFile << " (" << local_sha1 << ")"<<std::endl; | 518 | << FinalFile << " (" << local_sha1 << ")"<<std::endl; |
53 | 518 | 519 | ||
54 | 520 | // final file reached before all patches are applied | ||
55 | 521 | if(local_sha1 == ServerSha1) | ||
56 | 522 | { | ||
57 | 523 | Finish(true); | ||
58 | 524 | return true; | ||
59 | 525 | } | ||
60 | 526 | |||
61 | 519 | // remove all patches until the next matching patch is found | 527 | // remove all patches until the next matching patch is found |
62 | 520 | // this requires the Index file to be ordered | 528 | // this requires the Index file to be ordered |
63 | 521 | for(vector<DiffInfo>::iterator I=available_patches.begin(); | 529 | for(vector<DiffInfo>::iterator I=available_patches.begin(); |
64 | @@ -613,7 +621,7 @@ | |||
65 | 613 | // see if there is more to download | 621 | // see if there is more to download |
66 | 614 | if(available_patches.size() > 0) { | 622 | if(available_patches.size() > 0) { |
67 | 615 | new pkgAcqIndexDiffs(Owner, RealURI, Description, Desc.ShortDesc, | 623 | new pkgAcqIndexDiffs(Owner, RealURI, Description, Desc.ShortDesc, |
69 | 616 | ExpectedHash, available_patches); | 624 | ExpectedHash, ServerSha1, available_patches); |
70 | 617 | return Finish(); | 625 | return Finish(); |
71 | 618 | } else | 626 | } else |
72 | 619 | return Finish(true); | 627 | return Finish(true); |
73 | @@ -662,6 +670,8 @@ | |||
74 | 662 | { | 670 | { |
75 | 663 | string Final = _config->FindDir("Dir::State::lists"); | 671 | string Final = _config->FindDir("Dir::State::lists"); |
76 | 664 | Final += URItoFileName(RealURI); | 672 | Final += URItoFileName(RealURI); |
77 | 673 | if (_config->FindB("Acquire::GzipIndexes",false)) | ||
78 | 674 | Final += ".gz"; | ||
79 | 665 | 675 | ||
80 | 666 | struct stat Buf; | 676 | struct stat Buf; |
81 | 667 | if (stat(Final.c_str(),&Buf) != 0) | 677 | if (stat(Final.c_str(),&Buf) != 0) |
82 | @@ -791,6 +801,21 @@ | |||
83 | 791 | string compExt = flExtension(flNotDir(URI(Desc.URI).Path)); | 801 | string compExt = flExtension(flNotDir(URI(Desc.URI).Path)); |
84 | 792 | string decompProg; | 802 | string decompProg; |
85 | 793 | 803 | ||
86 | 804 | // If we enable compressed indexes and already have gzip, keep it | ||
87 | 805 | if (_config->FindB("Acquire::GzipIndexes",false) && compExt == "gz") { | ||
88 | 806 | string FinalFile = _config->FindDir("Dir::State::lists"); | ||
89 | 807 | FinalFile += URItoFileName(RealURI) + ".gz"; | ||
90 | 808 | //if(Debug) | ||
91 | 809 | // std::clog << "pkgAcqIndex: keeping gzipped " << FinalFile << endl; | ||
92 | 810 | Rename(DestFile,FinalFile); | ||
93 | 811 | chmod(FinalFile.c_str(),0644); | ||
94 | 812 | |||
95 | 813 | // Update DestFile for .gz suffix so that the clean operation keeps it | ||
96 | 814 | DestFile = _config->FindDir("Dir::State::lists") + "partial/"; | ||
97 | 815 | DestFile += URItoFileName(RealURI) + ".gz"; | ||
98 | 816 | return; | ||
99 | 817 | } | ||
100 | 818 | |||
101 | 794 | // get the binary name for your used compression type | 819 | // get the binary name for your used compression type |
102 | 795 | decompProg = _config->Find(string("Acquire::CompressionTypes::").append(compExt),""); | 820 | decompProg = _config->Find(string("Acquire::CompressionTypes::").append(compExt),""); |
103 | 796 | if(decompProg.empty() == false); | 821 | if(decompProg.empty() == false); |
104 | @@ -1591,8 +1616,9 @@ | |||
105 | 1591 | /* The file is added to the queue */ | 1616 | /* The file is added to the queue */ |
106 | 1592 | pkgAcqFile::pkgAcqFile(pkgAcquire *Owner,string URI,string Hash, | 1617 | pkgAcqFile::pkgAcqFile(pkgAcquire *Owner,string URI,string Hash, |
107 | 1593 | unsigned long Size,string Dsc,string ShortDesc, | 1618 | unsigned long Size,string Dsc,string ShortDesc, |
110 | 1594 | const string &DestDir, const string &DestFilename) : | 1619 | const string &DestDir, const string &DestFilename, |
111 | 1595 | Item(Owner), ExpectedHash(Hash) | 1620 | bool IsIndexFile) : |
112 | 1621 | Item(Owner), ExpectedHash(Hash), IsIndexFile(IsIndexFile) | ||
113 | 1596 | { | 1622 | { |
114 | 1597 | Retries = _config->FindI("Acquire::Retries",0); | 1623 | Retries = _config->FindI("Acquire::Retries",0); |
115 | 1598 | 1624 | ||
116 | @@ -1707,3 +1733,12 @@ | |||
117 | 1707 | Item::Failed(Message,Cnf); | 1733 | Item::Failed(Message,Cnf); |
118 | 1708 | } | 1734 | } |
119 | 1709 | /*}}}*/ | 1735 | /*}}}*/ |
120 | 1736 | // AcqIndex::Custom600Headers - Insert custom request headers /*{{{*/ | ||
121 | 1737 | // --------------------------------------------------------------------- | ||
122 | 1738 | /* The only header we use is the last-modified header. */ | ||
123 | 1739 | string pkgAcqFile::Custom600Headers() | ||
124 | 1740 | { | ||
125 | 1741 | if (IsIndexFile) | ||
126 | 1742 | return "\nIndex-File: true"; | ||
127 | 1743 | } | ||
128 | 1744 | /*}}}*/ | ||
129 | 1710 | 1745 | ||
130 | === modified file 'apt-pkg/acquire-item.h' | |||
131 | --- apt-pkg/acquire-item.h 2009-09-23 15:26:43 +0000 | |||
132 | +++ apt-pkg/acquire-item.h 2010-06-11 16:24:33 +0000 | |||
133 | @@ -434,6 +434,10 @@ | |||
134 | 434 | * off the front? | 434 | * off the front? |
135 | 435 | */ | 435 | */ |
136 | 436 | vector<DiffInfo> available_patches; | 436 | vector<DiffInfo> available_patches; |
137 | 437 | |||
138 | 438 | /** Stop applying patches when reaching that sha1 */ | ||
139 | 439 | string ServerSha1; | ||
140 | 440 | |||
141 | 437 | /** The current status of this patch. */ | 441 | /** The current status of this patch. */ |
142 | 438 | enum DiffState | 442 | enum DiffState |
143 | 439 | { | 443 | { |
144 | @@ -487,6 +491,7 @@ | |||
145 | 487 | */ | 491 | */ |
146 | 488 | pkgAcqIndexDiffs(pkgAcquire *Owner,string URI,string URIDesc, | 492 | pkgAcqIndexDiffs(pkgAcquire *Owner,string URI,string URIDesc, |
147 | 489 | string ShortDesc, HashString ExpectedHash, | 493 | string ShortDesc, HashString ExpectedHash, |
148 | 494 | string ServerSha1, | ||
149 | 490 | vector<DiffInfo> diffs=vector<DiffInfo>()); | 495 | vector<DiffInfo> diffs=vector<DiffInfo>()); |
150 | 491 | }; | 496 | }; |
151 | 492 | /*}}}*/ | 497 | /*}}}*/ |
152 | @@ -868,6 +873,9 @@ | |||
153 | 868 | */ | 873 | */ |
154 | 869 | unsigned int Retries; | 874 | unsigned int Retries; |
155 | 870 | 875 | ||
156 | 876 | /** \brief Should this file be considered a index file */ | ||
157 | 877 | bool IsIndexFile; | ||
158 | 878 | |||
159 | 871 | public: | 879 | public: |
160 | 872 | 880 | ||
161 | 873 | // Specialized action members | 881 | // Specialized action members |
162 | @@ -876,6 +884,7 @@ | |||
163 | 876 | pkgAcquire::MethodConfig *Cnf); | 884 | pkgAcquire::MethodConfig *Cnf); |
164 | 877 | virtual string DescURI() {return Desc.URI;}; | 885 | virtual string DescURI() {return Desc.URI;}; |
165 | 878 | virtual string HashSum() {return ExpectedHash.toStr(); }; | 886 | virtual string HashSum() {return ExpectedHash.toStr(); }; |
166 | 887 | virtual string Custom600Headers(); | ||
167 | 879 | 888 | ||
168 | 880 | /** \brief Create a new pkgAcqFile object. | 889 | /** \brief Create a new pkgAcqFile object. |
169 | 881 | * | 890 | * |
170 | @@ -899,6 +908,8 @@ | |||
171 | 899 | * | 908 | * |
172 | 900 | * \param DestFilename The filename+path the file is downloaded to. | 909 | * \param DestFilename The filename+path the file is downloaded to. |
173 | 901 | * | 910 | * |
174 | 911 | * \param IsIndexFile The file is considered a IndexFile and cache-control | ||
175 | 912 | * headers like "cache-control: max-age=0" are send | ||
176 | 902 | * | 913 | * |
177 | 903 | * If DestFilename is empty, download to DestDir/<basename> if | 914 | * If DestFilename is empty, download to DestDir/<basename> if |
178 | 904 | * DestDir is non-empty, $CWD/<basename> otherwise. If | 915 | * DestDir is non-empty, $CWD/<basename> otherwise. If |
179 | @@ -908,7 +919,8 @@ | |||
180 | 908 | 919 | ||
181 | 909 | pkgAcqFile(pkgAcquire *Owner, string URI, string Hash, unsigned long Size, | 920 | pkgAcqFile(pkgAcquire *Owner, string URI, string Hash, unsigned long Size, |
182 | 910 | string Desc, string ShortDesc, | 921 | string Desc, string ShortDesc, |
184 | 911 | const string &DestDir="", const string &DestFilename=""); | 922 | const string &DestDir="", const string &DestFilename="", |
185 | 923 | bool IsIndexFile=false); | ||
186 | 912 | }; | 924 | }; |
187 | 913 | /*}}}*/ | 925 | /*}}}*/ |
188 | 914 | /** @} */ | 926 | /** @} */ |
189 | 915 | 927 | ||
190 | === modified file 'apt-pkg/aptconfiguration.cc' | |||
191 | --- apt-pkg/aptconfiguration.cc 2009-09-08 13:02:15 +0000 | |||
192 | +++ apt-pkg/aptconfiguration.cc 2010-06-11 16:24:33 +0000 | |||
193 | @@ -8,13 +8,18 @@ | |||
194 | 8 | ##################################################################### */ | 8 | ##################################################################### */ |
195 | 9 | /*}}}*/ | 9 | /*}}}*/ |
196 | 10 | // Include Files /*{{{*/ | 10 | // Include Files /*{{{*/ |
197 | 11 | #include <apt-pkg/fileutl.h> | ||
198 | 12 | #include <apt-pkg/aptconfiguration.h> | 11 | #include <apt-pkg/aptconfiguration.h> |
199 | 13 | #include <apt-pkg/configuration.h> | 12 | #include <apt-pkg/configuration.h> |
201 | 14 | 13 | #include <apt-pkg/fileutl.h> | |
202 | 14 | #include <apt-pkg/macros.h> | ||
203 | 15 | #include <apt-pkg/strutl.h> | ||
204 | 16 | |||
205 | 17 | #include <sys/types.h> | ||
206 | 18 | #include <dirent.h> | ||
207 | 19 | |||
208 | 20 | #include <algorithm> | ||
209 | 21 | #include <string> | ||
210 | 15 | #include <vector> | 22 | #include <vector> |
211 | 16 | #include <string> | ||
212 | 17 | #include <algorithm> | ||
213 | 18 | /*}}}*/ | 23 | /*}}}*/ |
214 | 19 | namespace APT { | 24 | namespace APT { |
215 | 20 | // getCompressionTypes - Return Vector of usbale compressiontypes /*{{{*/ | 25 | // getCompressionTypes - Return Vector of usbale compressiontypes /*{{{*/ |
216 | @@ -87,4 +92,230 @@ | |||
217 | 87 | return types; | 92 | return types; |
218 | 88 | } | 93 | } |
219 | 89 | /*}}}*/ | 94 | /*}}}*/ |
220 | 95 | // GetLanguages - Return Vector of Language Codes /*{{{*/ | ||
221 | 96 | // --------------------------------------------------------------------- | ||
222 | 97 | /* return a vector of language codes in the prefered order. | ||
223 | 98 | the special word "environment" will be replaced with the long and the short | ||
224 | 99 | code of the local settings and it will be insured that this will not add | ||
225 | 100 | duplicates. So in an german local the setting "environment, de_DE, en, de" | ||
226 | 101 | will result in "de_DE, de, en". | ||
227 | 102 | The special word "none" is the stopcode for the not-All code vector */ | ||
228 | 103 | std::vector<std::string> const Configuration::getLanguages(bool const &All, | ||
229 | 104 | bool const &Cached, char const ** const Locale) { | ||
230 | 105 | using std::string; | ||
231 | 106 | |||
232 | 107 | // The detection is boring and has a lot of cornercases, | ||
233 | 108 | // so we cache the results to calculated it only once. | ||
234 | 109 | std::vector<string> static allCodes; | ||
235 | 110 | std::vector<string> static codes; | ||
236 | 111 | |||
237 | 112 | // we have something in the cache | ||
238 | 113 | if (codes.empty() == false || allCodes.empty() == false) { | ||
239 | 114 | if (Cached == true) { | ||
240 | 115 | if(All == true && allCodes.empty() == false) | ||
241 | 116 | return allCodes; | ||
242 | 117 | else | ||
243 | 118 | return codes; | ||
244 | 119 | } else { | ||
245 | 120 | allCodes.clear(); | ||
246 | 121 | codes.clear(); | ||
247 | 122 | } | ||
248 | 123 | } | ||
249 | 124 | |||
250 | 125 | // Include all Language codes we have a Translation file for in /var/lib/apt/lists | ||
251 | 126 | // so they will be all included in the Cache. | ||
252 | 127 | std::vector<string> builtin; | ||
253 | 128 | DIR *D = opendir(_config->FindDir("Dir::State::lists").c_str()); | ||
254 | 129 | if (D != 0) { | ||
255 | 130 | builtin.push_back("none"); | ||
256 | 131 | for (struct dirent *Ent = readdir(D); Ent != 0; Ent = readdir(D)) { | ||
257 | 132 | string const name = Ent->d_name; | ||
258 | 133 | size_t const foundDash = name.rfind("-"); | ||
259 | 134 | size_t const foundUnderscore = name.rfind("_"); | ||
260 | 135 | if (foundDash == string::npos || foundUnderscore == string::npos || | ||
261 | 136 | foundDash <= foundUnderscore || | ||
262 | 137 | name.substr(foundUnderscore+1, foundDash-(foundUnderscore+1)) != "Translation") | ||
263 | 138 | continue; | ||
264 | 139 | string const c = name.substr(foundDash+1); | ||
265 | 140 | if (unlikely(c.empty() == true) || c == "en") | ||
266 | 141 | continue; | ||
267 | 142 | // Skip unusual files, like backups or that alike | ||
268 | 143 | string::const_iterator s = c.begin(); | ||
269 | 144 | for (;s != c.end(); ++s) { | ||
270 | 145 | if (isalpha(*s) == 0) | ||
271 | 146 | break; | ||
272 | 147 | } | ||
273 | 148 | if (s != c.end()) | ||
274 | 149 | continue; | ||
275 | 150 | if (std::find(builtin.begin(), builtin.end(), c) != builtin.end()) | ||
276 | 151 | continue; | ||
277 | 152 | builtin.push_back(c); | ||
278 | 153 | } | ||
279 | 154 | } | ||
280 | 155 | |||
281 | 156 | // get the environment language codes: LC_MESSAGES (and later LANGUAGE) | ||
282 | 157 | // we extract both, a long and a short code and then we will | ||
283 | 158 | // check if we actually need both (rare) or if the short is enough | ||
284 | 159 | string const envMsg = string(Locale == 0 ? std::setlocale(LC_MESSAGES, NULL) : *Locale); | ||
285 | 160 | size_t const lenShort = (envMsg.find('_') != string::npos) ? envMsg.find('_') : 2; | ||
286 | 161 | size_t const lenLong = (envMsg.find_first_of(".@") != string::npos) ? envMsg.find_first_of(".@") : (lenShort + 3); | ||
287 | 162 | |||
288 | 163 | string envLong = envMsg.substr(0,lenLong); | ||
289 | 164 | string const envShort = envLong.substr(0,lenShort); | ||
290 | 165 | bool envLongIncluded = true; | ||
291 | 166 | |||
292 | 167 | // first cornercase: LANG=C, so we use only "en" Translation | ||
293 | 168 | if (envLong == "C") { | ||
294 | 169 | codes.push_back("en"); | ||
295 | 170 | allCodes = codes; | ||
296 | 171 | allCodes.insert(allCodes.end(), builtin.begin(), builtin.end()); | ||
297 | 172 | if (All == true) | ||
298 | 173 | return allCodes; | ||
299 | 174 | else | ||
300 | 175 | return codes; | ||
301 | 176 | } | ||
302 | 177 | |||
303 | 178 | // to save the servers from unneeded queries, we only try also long codes | ||
304 | 179 | // for languages it is realistic to have a long code translation file… | ||
305 | 180 | // TODO: Improve translation acquire system to drop them dynamic | ||
306 | 181 | char const *needLong[] = { "cs", "en", "pt", "sv", "zh", NULL }; | ||
307 | 182 | if (envLong != envShort) { | ||
308 | 183 | for (char const **l = needLong; *l != NULL; l++) | ||
309 | 184 | if (envShort.compare(*l) == 0) { | ||
310 | 185 | envLongIncluded = false; | ||
311 | 186 | break; | ||
312 | 187 | } | ||
313 | 188 | } | ||
314 | 189 | |||
315 | 190 | // we don't add the long code, but we allow the user to do so | ||
316 | 191 | if (envLongIncluded == true) | ||
317 | 192 | envLong.clear(); | ||
318 | 193 | |||
319 | 194 | // FIXME: Remove support for the old APT::Acquire::Translation | ||
320 | 195 | // it was undocumented and so it should be not very widthly used | ||
321 | 196 | string const oldAcquire = _config->Find("APT::Acquire::Translation",""); | ||
322 | 197 | if (oldAcquire.empty() == false && oldAcquire != "environment") { | ||
323 | 198 | if (oldAcquire != "none") | ||
324 | 199 | codes.push_back(oldAcquire); | ||
325 | 200 | codes.push_back("en"); | ||
326 | 201 | allCodes = codes; | ||
327 | 202 | for (std::vector<string>::const_iterator b = builtin.begin(); | ||
328 | 203 | b != builtin.end(); ++b) | ||
329 | 204 | if (std::find(allCodes.begin(), allCodes.end(), *b) == allCodes.end()) | ||
330 | 205 | allCodes.push_back(*b); | ||
331 | 206 | if (All == true) | ||
332 | 207 | return allCodes; | ||
333 | 208 | else | ||
334 | 209 | return codes; | ||
335 | 210 | } | ||
336 | 211 | |||
337 | 212 | // It is very likely we will need to environment codes later, | ||
338 | 213 | // so let us generate them now from LC_MESSAGES and LANGUAGE | ||
339 | 214 | std::vector<string> environment; | ||
340 | 215 | // take care of LC_MESSAGES | ||
341 | 216 | if (envLongIncluded == false) | ||
342 | 217 | environment.push_back(envLong); | ||
343 | 218 | environment.push_back(envShort); | ||
344 | 219 | // take care of LANGUAGE | ||
345 | 220 | const char *language_env = getenv("LANGUAGE") == 0 ? "" : getenv("LANGUAGE"); | ||
346 | 221 | string envLang = Locale == 0 ? language_env : *(Locale+1); | ||
347 | 222 | if (envLang.empty() == false) { | ||
348 | 223 | std::vector<string> env = ExplodeString(envLang,':'); | ||
349 | 224 | short addedLangs = 0; // add a maximum of 3 fallbacks from the environment | ||
350 | 225 | for (std::vector<string>::const_iterator e = env.begin(); | ||
351 | 226 | e != env.end() && addedLangs < 3; ++e) { | ||
352 | 227 | if (unlikely(e->empty() == true) || *e == "en") | ||
353 | 228 | continue; | ||
354 | 229 | if (*e == envLong || *e == envShort) | ||
355 | 230 | continue; | ||
356 | 231 | if (std::find(environment.begin(), environment.end(), *e) != environment.end()) | ||
357 | 232 | continue; | ||
358 | 233 | if (e->find('_') != string::npos) { | ||
359 | 234 | // Drop LongCodes here - ShortCodes are also included | ||
360 | 235 | string const shorty = e->substr(0, e->find('_')); | ||
361 | 236 | char const **n = needLong; | ||
362 | 237 | for (; *n != NULL; ++n) | ||
363 | 238 | if (shorty == *n) | ||
364 | 239 | break; | ||
365 | 240 | if (*n == NULL) | ||
366 | 241 | continue; | ||
367 | 242 | } | ||
368 | 243 | ++addedLangs; | ||
369 | 244 | environment.push_back(*e); | ||
370 | 245 | } | ||
371 | 246 | } | ||
372 | 247 | |||
373 | 248 | // Support settings like Acquire::Translation=none on the command line to | ||
374 | 249 | // override the configuration settings vector of languages. | ||
375 | 250 | string const forceLang = _config->Find("Acquire::Languages",""); | ||
376 | 251 | if (forceLang.empty() == false) { | ||
377 | 252 | if (forceLang == "environment") { | ||
378 | 253 | codes = environment; | ||
379 | 254 | } else if (forceLang != "none") | ||
380 | 255 | codes.push_back(forceLang); | ||
381 | 256 | allCodes = codes; | ||
382 | 257 | for (std::vector<string>::const_iterator b = builtin.begin(); | ||
383 | 258 | b != builtin.end(); ++b) | ||
384 | 259 | if (std::find(allCodes.begin(), allCodes.end(), *b) == allCodes.end()) | ||
385 | 260 | allCodes.push_back(*b); | ||
386 | 261 | if (All == true) | ||
387 | 262 | return allCodes; | ||
388 | 263 | else | ||
389 | 264 | return codes; | ||
390 | 265 | } | ||
391 | 266 | |||
392 | 267 | std::vector<string> const lang = _config->FindVector("Acquire::Languages"); | ||
393 | 268 | // the default setting -> "environment, en" | ||
394 | 269 | if (lang.empty() == true) { | ||
395 | 270 | codes = environment; | ||
396 | 271 | if (envShort != "en") | ||
397 | 272 | codes.push_back("en"); | ||
398 | 273 | allCodes = codes; | ||
399 | 274 | for (std::vector<string>::const_iterator b = builtin.begin(); | ||
400 | 275 | b != builtin.end(); ++b) | ||
401 | 276 | if (std::find(allCodes.begin(), allCodes.end(), *b) == allCodes.end()) | ||
402 | 277 | allCodes.push_back(*b); | ||
403 | 278 | if (All == true) | ||
404 | 279 | return allCodes; | ||
405 | 280 | else | ||
406 | 281 | return codes; | ||
407 | 282 | } | ||
408 | 283 | |||
409 | 284 | // the configs define the order, so add the environment | ||
410 | 285 | // then needed and ensure the codes are not listed twice. | ||
411 | 286 | bool noneSeen = false; | ||
412 | 287 | for (std::vector<string>::const_iterator l = lang.begin(); | ||
413 | 288 | l != lang.end(); l++) { | ||
414 | 289 | if (*l == "environment") { | ||
415 | 290 | for (std::vector<string>::const_iterator e = environment.begin(); | ||
416 | 291 | e != environment.end(); ++e) { | ||
417 | 292 | if (std::find(allCodes.begin(), allCodes.end(), *e) != allCodes.end()) | ||
418 | 293 | continue; | ||
419 | 294 | if (noneSeen == false) | ||
420 | 295 | codes.push_back(*e); | ||
421 | 296 | allCodes.push_back(*e); | ||
422 | 297 | } | ||
423 | 298 | continue; | ||
424 | 299 | } else if (*l == "none") { | ||
425 | 300 | noneSeen = true; | ||
426 | 301 | continue; | ||
427 | 302 | } else if (std::find(allCodes.begin(), allCodes.end(), *l) != allCodes.end()) | ||
428 | 303 | continue; | ||
429 | 304 | |||
430 | 305 | if (noneSeen == false) | ||
431 | 306 | codes.push_back(*l); | ||
432 | 307 | allCodes.push_back(*l); | ||
433 | 308 | } | ||
434 | 309 | |||
435 | 310 | for (std::vector<string>::const_iterator b = builtin.begin(); | ||
436 | 311 | b != builtin.end(); ++b) | ||
437 | 312 | if (std::find(allCodes.begin(), allCodes.end(), *b) == allCodes.end()) | ||
438 | 313 | allCodes.push_back(*b); | ||
439 | 314 | |||
440 | 315 | if (All == true) | ||
441 | 316 | return allCodes; | ||
442 | 317 | else | ||
443 | 318 | return codes; | ||
444 | 319 | } | ||
445 | 320 | /*}}}*/ | ||
446 | 90 | } | 321 | } |
447 | 91 | 322 | ||
448 | === modified file 'apt-pkg/aptconfiguration.h' | |||
449 | --- apt-pkg/aptconfiguration.h 2009-08-25 13:32:40 +0000 | |||
450 | +++ apt-pkg/aptconfiguration.h 2010-06-11 16:24:33 +0000 | |||
451 | @@ -39,6 +39,33 @@ | |||
452 | 39 | * \return a vector of (all) Language Codes in the prefered usage order | 39 | * \return a vector of (all) Language Codes in the prefered usage order |
453 | 40 | */ | 40 | */ |
454 | 41 | std::vector<std::string> static const getCompressionTypes(bool const &Cached = true); | 41 | std::vector<std::string> static const getCompressionTypes(bool const &Cached = true); |
455 | 42 | |||
456 | 43 | /** \brief Returns a vector of Language Codes | ||
457 | 44 | * | ||
458 | 45 | * Languages can be defined with their two or five chars long code. | ||
459 | 46 | * This methods handles the various ways to set the prefered codes, | ||
460 | 47 | * honors the environment and ensures that the codes are not listed twice. | ||
461 | 48 | * | ||
462 | 49 | * The special word "environment" will be replaced with the long and the short | ||
463 | 50 | * code of the local settings and it will be insured that this will not add | ||
464 | 51 | * duplicates. So in an german local the setting "environment, de_DE, en, de" | ||
465 | 52 | * will result in "de_DE, de, en". | ||
466 | 53 | * | ||
467 | 54 | * Another special word is "none" which separates the prefered from all codes | ||
468 | 55 | * in this setting. So setting and method can be used to get codes the user want | ||
469 | 56 | * to see or to get all language codes APT (should) have Translations available. | ||
470 | 57 | * | ||
471 | 58 | * \param All return all codes or only codes for languages we want to use | ||
472 | 59 | * \param Cached saves the result so we need to calculated it only once | ||
473 | 60 | * this parameter should ony be used for testing purposes. | ||
474 | 61 | * \param Locale don't get the locale from the system but use this one instead | ||
475 | 62 | * this parameter should ony be used for testing purposes. | ||
476 | 63 | * | ||
477 | 64 | * \return a vector of (all) Language Codes in the prefered usage order | ||
478 | 65 | */ | ||
479 | 66 | std::vector<std::string> static const getLanguages(bool const &All = false, | ||
480 | 67 | bool const &Cached = true, char const ** const Locale = 0); | ||
481 | 68 | |||
482 | 42 | /*}}}*/ | 69 | /*}}}*/ |
483 | 43 | }; | 70 | }; |
484 | 44 | /*}}}*/ | 71 | /*}}}*/ |
485 | 45 | 72 | ||
486 | === modified file 'apt-pkg/contrib/configuration.cc' | |||
487 | --- apt-pkg/contrib/configuration.cc 2010-02-17 21:40:05 +0000 | |||
488 | +++ apt-pkg/contrib/configuration.cc 2010-06-11 16:24:33 +0000 | |||
489 | @@ -79,7 +79,7 @@ | |||
490 | 79 | /* This will lookup a single item by name below another item. It is a | 79 | /* This will lookup a single item by name below another item. It is a |
491 | 80 | helper function for the main lookup function */ | 80 | helper function for the main lookup function */ |
492 | 81 | Configuration::Item *Configuration::Lookup(Item *Head,const char *S, | 81 | Configuration::Item *Configuration::Lookup(Item *Head,const char *S, |
494 | 82 | unsigned long Len,bool Create) | 82 | unsigned long const &Len,bool const &Create) |
495 | 83 | { | 83 | { |
496 | 84 | int Res = 1; | 84 | int Res = 1; |
497 | 85 | Item *I = Head->Child; | 85 | Item *I = Head->Child; |
498 | @@ -112,7 +112,7 @@ | |||
499 | 112 | // --------------------------------------------------------------------- | 112 | // --------------------------------------------------------------------- |
500 | 113 | /* This performs a fully scoped lookup of a given name, possibly creating | 113 | /* This performs a fully scoped lookup of a given name, possibly creating |
501 | 114 | new items */ | 114 | new items */ |
503 | 115 | Configuration::Item *Configuration::Lookup(const char *Name,bool Create) | 115 | Configuration::Item *Configuration::Lookup(const char *Name,bool const &Create) |
504 | 116 | { | 116 | { |
505 | 117 | if (Name == 0) | 117 | if (Name == 0) |
506 | 118 | return Root->Child; | 118 | return Root->Child; |
507 | @@ -239,7 +239,7 @@ | |||
508 | 239 | // Configuration::FindI - Find an integer value /*{{{*/ | 239 | // Configuration::FindI - Find an integer value /*{{{*/ |
509 | 240 | // --------------------------------------------------------------------- | 240 | // --------------------------------------------------------------------- |
510 | 241 | /* */ | 241 | /* */ |
512 | 242 | int Configuration::FindI(const char *Name,int Default) const | 242 | int Configuration::FindI(const char *Name,int const &Default) const |
513 | 243 | { | 243 | { |
514 | 244 | const Item *Itm = Lookup(Name); | 244 | const Item *Itm = Lookup(Name); |
515 | 245 | if (Itm == 0 || Itm->Value.empty() == true) | 245 | if (Itm == 0 || Itm->Value.empty() == true) |
516 | @@ -256,7 +256,7 @@ | |||
517 | 256 | // Configuration::FindB - Find a boolean type /*{{{*/ | 256 | // Configuration::FindB - Find a boolean type /*{{{*/ |
518 | 257 | // --------------------------------------------------------------------- | 257 | // --------------------------------------------------------------------- |
519 | 258 | /* */ | 258 | /* */ |
521 | 259 | bool Configuration::FindB(const char *Name,bool Default) const | 259 | bool Configuration::FindB(const char *Name,bool const &Default) const |
522 | 260 | { | 260 | { |
523 | 261 | const Item *Itm = Lookup(Name); | 261 | const Item *Itm = Lookup(Name); |
524 | 262 | if (Itm == 0 || Itm->Value.empty() == true) | 262 | if (Itm == 0 || Itm->Value.empty() == true) |
525 | @@ -332,7 +332,7 @@ | |||
526 | 332 | // Configuration::Set - Set an integer value /*{{{*/ | 332 | // Configuration::Set - Set an integer value /*{{{*/ |
527 | 333 | // --------------------------------------------------------------------- | 333 | // --------------------------------------------------------------------- |
528 | 334 | /* */ | 334 | /* */ |
530 | 335 | void Configuration::Set(const char *Name,int Value) | 335 | void Configuration::Set(const char *Name,int const &Value) |
531 | 336 | { | 336 | { |
532 | 337 | Item *Itm = Lookup(Name,true); | 337 | Item *Itm = Lookup(Name,true); |
533 | 338 | if (Itm == 0) | 338 | if (Itm == 0) |
534 | @@ -345,7 +345,7 @@ | |||
535 | 345 | // Configuration::Clear - Clear an single value from a list /*{{{*/ | 345 | // Configuration::Clear - Clear an single value from a list /*{{{*/ |
536 | 346 | // --------------------------------------------------------------------- | 346 | // --------------------------------------------------------------------- |
537 | 347 | /* */ | 347 | /* */ |
539 | 348 | void Configuration::Clear(const string Name, int Value) | 348 | void Configuration::Clear(string const &Name, int const &Value) |
540 | 349 | { | 349 | { |
541 | 350 | char S[300]; | 350 | char S[300]; |
542 | 351 | snprintf(S,sizeof(S),"%i",Value); | 351 | snprintf(S,sizeof(S),"%i",Value); |
543 | @@ -355,7 +355,7 @@ | |||
544 | 355 | // Configuration::Clear - Clear an single value from a list /*{{{*/ | 355 | // Configuration::Clear - Clear an single value from a list /*{{{*/ |
545 | 356 | // --------------------------------------------------------------------- | 356 | // --------------------------------------------------------------------- |
546 | 357 | /* */ | 357 | /* */ |
548 | 358 | void Configuration::Clear(const string Name, string Value) | 358 | void Configuration::Clear(string const &Name, string const &Value) |
549 | 359 | { | 359 | { |
550 | 360 | Item *Top = Lookup(Name.c_str(),false); | 360 | Item *Top = Lookup(Name.c_str(),false); |
551 | 361 | if (Top == 0 || Top->Child == 0) | 361 | if (Top == 0 || Top->Child == 0) |
552 | @@ -386,7 +386,7 @@ | |||
553 | 386 | // Configuration::Clear - Clear an entire tree /*{{{*/ | 386 | // Configuration::Clear - Clear an entire tree /*{{{*/ |
554 | 387 | // --------------------------------------------------------------------- | 387 | // --------------------------------------------------------------------- |
555 | 388 | /* */ | 388 | /* */ |
557 | 389 | void Configuration::Clear(string Name) | 389 | void Configuration::Clear(string const &Name) |
558 | 390 | { | 390 | { |
559 | 391 | Item *Top = Lookup(Name.c_str(),false); | 391 | Item *Top = Lookup(Name.c_str(),false); |
560 | 392 | if (Top == 0) | 392 | if (Top == 0) |
561 | @@ -501,8 +501,8 @@ | |||
562 | 501 | sections like 'zone "foo.org" { .. };' This causes each section to be | 501 | sections like 'zone "foo.org" { .. };' This causes each section to be |
563 | 502 | added in with a tag like "zone::foo.org" instead of being split | 502 | added in with a tag like "zone::foo.org" instead of being split |
564 | 503 | tag/value. AsSectional enables Sectional parsing.*/ | 503 | tag/value. AsSectional enables Sectional parsing.*/ |
567 | 504 | bool ReadConfigFile(Configuration &Conf,const string &FName,bool AsSectional, | 504 | bool ReadConfigFile(Configuration &Conf,const string &FName,bool const &AsSectional, |
568 | 505 | unsigned Depth) | 505 | unsigned const &Depth) |
569 | 506 | { | 506 | { |
570 | 507 | // Open the stream for reading | 507 | // Open the stream for reading |
571 | 508 | ifstream F(FName.c_str(),ios::in); | 508 | ifstream F(FName.c_str(),ios::in); |
572 | @@ -830,7 +830,7 @@ | |||
573 | 830 | // --------------------------------------------------------------------- | 830 | // --------------------------------------------------------------------- |
574 | 831 | /* */ | 831 | /* */ |
575 | 832 | bool ReadConfigDir(Configuration &Conf,const string &Dir, | 832 | bool ReadConfigDir(Configuration &Conf,const string &Dir, |
577 | 833 | bool AsSectional, unsigned Depth) | 833 | bool const &AsSectional, unsigned const &Depth) |
578 | 834 | { | 834 | { |
579 | 835 | vector<string> const List = GetListOfFilesInDir(Dir, "conf", true, true); | 835 | vector<string> const List = GetListOfFilesInDir(Dir, "conf", true, true); |
580 | 836 | 836 | ||
581 | 837 | 837 | ||
582 | === modified file 'apt-pkg/contrib/configuration.h' | |||
583 | --- apt-pkg/contrib/configuration.h 2009-09-23 15:26:43 +0000 | |||
584 | +++ apt-pkg/contrib/configuration.h 2010-06-11 16:24:33 +0000 | |||
585 | @@ -58,8 +58,8 @@ | |||
586 | 58 | Item *Root; | 58 | Item *Root; |
587 | 59 | bool ToFree; | 59 | bool ToFree; |
588 | 60 | 60 | ||
591 | 61 | Item *Lookup(Item *Head,const char *S,unsigned long Len,bool Create); | 61 | Item *Lookup(Item *Head,const char *S,unsigned long const &Len,bool const &Create); |
592 | 62 | Item *Lookup(const char *Name,bool Create); | 62 | Item *Lookup(const char *Name,const bool &Create); |
593 | 63 | inline const Item *Lookup(const char *Name) const | 63 | inline const Item *Lookup(const char *Name) const |
594 | 64 | { | 64 | { |
595 | 65 | return ((Configuration *)this)->Lookup(Name,false); | 65 | return ((Configuration *)this)->Lookup(Name,false); |
596 | @@ -68,32 +68,33 @@ | |||
597 | 68 | public: | 68 | public: |
598 | 69 | 69 | ||
599 | 70 | string Find(const char *Name,const char *Default = 0) const; | 70 | string Find(const char *Name,const char *Default = 0) const; |
601 | 71 | string Find(const string Name,const char *Default = 0) const {return Find(Name.c_str(),Default);}; | 71 | string Find(string const &Name,const char *Default = 0) const {return Find(Name.c_str(),Default);}; |
602 | 72 | string Find(string const &Name, string const &Default) const {return Find(Name.c_str(),Default.c_str());}; | ||
603 | 72 | string FindFile(const char *Name,const char *Default = 0) const; | 73 | string FindFile(const char *Name,const char *Default = 0) const; |
604 | 73 | string FindDir(const char *Name,const char *Default = 0) const; | 74 | string FindDir(const char *Name,const char *Default = 0) const; |
606 | 74 | std::vector<string> FindVector(const string &Name) const; | 75 | std::vector<string> FindVector(string const &Name) const; |
607 | 75 | std::vector<string> FindVector(const char *Name) const; | 76 | std::vector<string> FindVector(const char *Name) const; |
612 | 76 | int FindI(const char *Name,int Default = 0) const; | 77 | int FindI(const char *Name,int const &Default = 0) const; |
613 | 77 | int FindI(const string Name,int Default = 0) const {return FindI(Name.c_str(),Default);}; | 78 | int FindI(string const &Name,int const &Default = 0) const {return FindI(Name.c_str(),Default);}; |
614 | 78 | bool FindB(const char *Name,bool Default = false) const; | 79 | bool FindB(const char *Name,bool const &Default = false) const; |
615 | 79 | bool FindB(const string Name,bool Default = false) const {return FindB(Name.c_str(),Default);}; | 80 | bool FindB(string const &Name,bool const &Default = false) const {return FindB(Name.c_str(),Default);}; |
616 | 80 | string FindAny(const char *Name,const char *Default = 0) const; | 81 | string FindAny(const char *Name,const char *Default = 0) const; |
617 | 81 | 82 | ||
619 | 82 | inline void Set(const string Name,string Value) {Set(Name.c_str(),Value);}; | 83 | inline void Set(const string &Name,const string &Value) {Set(Name.c_str(),Value);}; |
620 | 83 | void CndSet(const char *Name,const string &Value); | 84 | void CndSet(const char *Name,const string &Value); |
621 | 84 | void Set(const char *Name,const string &Value); | 85 | void Set(const char *Name,const string &Value); |
623 | 85 | void Set(const char *Name,int Value); | 86 | void Set(const char *Name,const int &Value); |
624 | 86 | 87 | ||
626 | 87 | inline bool Exists(const string Name) const {return Exists(Name.c_str());}; | 88 | inline bool Exists(const string &Name) const {return Exists(Name.c_str());}; |
627 | 88 | bool Exists(const char *Name) const; | 89 | bool Exists(const char *Name) const; |
628 | 89 | bool ExistsAny(const char *Name) const; | 90 | bool ExistsAny(const char *Name) const; |
629 | 90 | 91 | ||
630 | 91 | // clear a whole tree | 92 | // clear a whole tree |
632 | 92 | void Clear(const string Name); | 93 | void Clear(const string &Name); |
633 | 93 | 94 | ||
634 | 94 | // remove a certain value from a list (e.g. the list of "APT::Keep-Fds") | 95 | // remove a certain value from a list (e.g. the list of "APT::Keep-Fds") |
637 | 95 | void Clear(const string List, string Value); | 96 | void Clear(string const &List, string const &Value); |
638 | 96 | void Clear(const string List, int Value); | 97 | void Clear(string const &List, int const &Value); |
639 | 97 | 98 | ||
640 | 98 | inline const Item *Tree(const char *Name) const {return Lookup(Name);}; | 99 | inline const Item *Tree(const char *Name) const {return Lookup(Name);}; |
641 | 99 | 100 | ||
642 | @@ -108,11 +109,11 @@ | |||
643 | 108 | extern Configuration *_config; | 109 | extern Configuration *_config; |
644 | 109 | 110 | ||
645 | 110 | bool ReadConfigFile(Configuration &Conf,const string &FName, | 111 | bool ReadConfigFile(Configuration &Conf,const string &FName, |
648 | 111 | bool AsSectional = false, | 112 | bool const &AsSectional = false, |
649 | 112 | unsigned Depth = 0); | 113 | unsigned const &Depth = 0); |
650 | 113 | 114 | ||
651 | 114 | bool ReadConfigDir(Configuration &Conf,const string &Dir, | 115 | bool ReadConfigDir(Configuration &Conf,const string &Dir, |
654 | 115 | bool AsSectional = false, | 116 | bool const &AsSectional = false, |
655 | 116 | unsigned Depth = 0); | 117 | unsigned const &Depth = 0); |
656 | 117 | 118 | ||
657 | 118 | #endif | 119 | #endif |
658 | 119 | 120 | ||
659 | === modified file 'apt-pkg/contrib/fileutl.cc' | |||
660 | --- apt-pkg/contrib/fileutl.cc 2010-02-17 21:40:05 +0000 | |||
661 | +++ apt-pkg/contrib/fileutl.cc 2010-06-11 16:24:33 +0000 | |||
662 | @@ -11,6 +11,7 @@ | |||
663 | 11 | Most of this source is placed in the Public Domain, do with it what | 11 | Most of this source is placed in the Public Domain, do with it what |
664 | 12 | you will | 12 | you will |
665 | 13 | It was originally written by Jason Gunthorpe <jgg@debian.org>. | 13 | It was originally written by Jason Gunthorpe <jgg@debian.org>. |
666 | 14 | FileFd gzip support added by Martin Pitt <martin.pitt@canonical.com> | ||
667 | 14 | 15 | ||
668 | 15 | The exception is RunScripts() it is under the GPLv2 | 16 | The exception is RunScripts() it is under the GPLv2 |
669 | 16 | 17 | ||
670 | @@ -603,6 +604,13 @@ | |||
671 | 603 | { | 604 | { |
672 | 604 | case ReadOnly: | 605 | case ReadOnly: |
673 | 605 | iFd = open(FileName.c_str(),O_RDONLY); | 606 | iFd = open(FileName.c_str(),O_RDONLY); |
674 | 607 | if (iFd > 0 && FileName.compare(FileName.size()-3, 3, ".gz") == 0) { | ||
675 | 608 | gz = gzdopen (iFd, "r"); | ||
676 | 609 | if (gz == NULL) { | ||
677 | 610 | close (iFd); | ||
678 | 611 | iFd = -1; | ||
679 | 612 | } | ||
680 | 613 | } | ||
681 | 606 | break; | 614 | break; |
682 | 607 | 615 | ||
683 | 608 | case WriteEmpty: | 616 | case WriteEmpty: |
684 | @@ -658,7 +666,10 @@ | |||
685 | 658 | 666 | ||
686 | 659 | do | 667 | do |
687 | 660 | { | 668 | { |
689 | 661 | Res = read(iFd,To,Size); | 669 | if (gz != NULL) |
690 | 670 | Res = gzread(gz,To,Size); | ||
691 | 671 | else | ||
692 | 672 | Res = read(iFd,To,Size); | ||
693 | 662 | if (Res < 0 && errno == EINTR) | 673 | if (Res < 0 && errno == EINTR) |
694 | 663 | continue; | 674 | continue; |
695 | 664 | if (Res < 0) | 675 | if (Res < 0) |
696 | @@ -697,7 +708,10 @@ | |||
697 | 697 | errno = 0; | 708 | errno = 0; |
698 | 698 | do | 709 | do |
699 | 699 | { | 710 | { |
701 | 700 | Res = write(iFd,From,Size); | 711 | if (gz != NULL) |
702 | 712 | Res = gzwrite(gz,From,Size); | ||
703 | 713 | else | ||
704 | 714 | Res = write(iFd,From,Size); | ||
705 | 701 | if (Res < 0 && errno == EINTR) | 715 | if (Res < 0 && errno == EINTR) |
706 | 702 | continue; | 716 | continue; |
707 | 703 | if (Res < 0) | 717 | if (Res < 0) |
708 | @@ -723,7 +737,12 @@ | |||
709 | 723 | /* */ | 737 | /* */ |
710 | 724 | bool FileFd::Seek(unsigned long To) | 738 | bool FileFd::Seek(unsigned long To) |
711 | 725 | { | 739 | { |
713 | 726 | if (lseek(iFd,To,SEEK_SET) != (signed)To) | 740 | int res; |
714 | 741 | if (gz) | ||
715 | 742 | res = gzseek(gz,To,SEEK_SET); | ||
716 | 743 | else | ||
717 | 744 | res = lseek(iFd,To,SEEK_SET); | ||
718 | 745 | if (res != (signed)To) | ||
719 | 727 | { | 746 | { |
720 | 728 | Flags |= Fail; | 747 | Flags |= Fail; |
721 | 729 | return _error->Error("Unable to seek to %lu",To); | 748 | return _error->Error("Unable to seek to %lu",To); |
722 | @@ -737,7 +756,12 @@ | |||
723 | 737 | /* */ | 756 | /* */ |
724 | 738 | bool FileFd::Skip(unsigned long Over) | 757 | bool FileFd::Skip(unsigned long Over) |
725 | 739 | { | 758 | { |
727 | 740 | if (lseek(iFd,Over,SEEK_CUR) < 0) | 759 | int res; |
728 | 760 | if (gz) | ||
729 | 761 | res = gzseek(gz,Over,SEEK_CUR); | ||
730 | 762 | else | ||
731 | 763 | res = lseek(iFd,Over,SEEK_CUR); | ||
732 | 764 | if (res < 0) | ||
733 | 741 | { | 765 | { |
734 | 742 | Flags |= Fail; | 766 | Flags |= Fail; |
735 | 743 | return _error->Error("Unable to seek ahead %lu",Over); | 767 | return _error->Error("Unable to seek ahead %lu",Over); |
736 | @@ -751,6 +775,11 @@ | |||
737 | 751 | /* */ | 775 | /* */ |
738 | 752 | bool FileFd::Truncate(unsigned long To) | 776 | bool FileFd::Truncate(unsigned long To) |
739 | 753 | { | 777 | { |
740 | 778 | if (gz) | ||
741 | 779 | { | ||
742 | 780 | Flags |= Fail; | ||
743 | 781 | return _error->Error("Truncating gzipped files is not implemented (%s)", FileName.c_str()); | ||
744 | 782 | } | ||
745 | 754 | if (ftruncate(iFd,To) != 0) | 783 | if (ftruncate(iFd,To) != 0) |
746 | 755 | { | 784 | { |
747 | 756 | Flags |= Fail; | 785 | Flags |= Fail; |
748 | @@ -765,7 +794,11 @@ | |||
749 | 765 | /* */ | 794 | /* */ |
750 | 766 | unsigned long FileFd::Tell() | 795 | unsigned long FileFd::Tell() |
751 | 767 | { | 796 | { |
753 | 768 | off_t Res = lseek(iFd,0,SEEK_CUR); | 797 | off_t Res; |
754 | 798 | if (gz) | ||
755 | 799 | Res = gztell(gz); | ||
756 | 800 | else | ||
757 | 801 | Res = lseek(iFd,0,SEEK_CUR); | ||
758 | 769 | if (Res == (off_t)-1) | 802 | if (Res == (off_t)-1) |
759 | 770 | _error->Errno("lseek","Failed to determine the current file position"); | 803 | _error->Errno("lseek","Failed to determine the current file position"); |
760 | 771 | return Res; | 804 | return Res; |
761 | @@ -776,6 +809,7 @@ | |||
762 | 776 | /* */ | 809 | /* */ |
763 | 777 | unsigned long FileFd::Size() | 810 | unsigned long FileFd::Size() |
764 | 778 | { | 811 | { |
765 | 812 | //TODO: For gz, do we need the actual file size here or the uncompressed length? | ||
766 | 779 | struct stat Buf; | 813 | struct stat Buf; |
767 | 780 | if (fstat(iFd,&Buf) != 0) | 814 | if (fstat(iFd,&Buf) != 0) |
768 | 781 | return _error->Errno("fstat","Unable to determine the file size"); | 815 | return _error->Errno("fstat","Unable to determine the file size"); |
769 | @@ -789,9 +823,10 @@ | |||
770 | 789 | { | 823 | { |
771 | 790 | bool Res = true; | 824 | bool Res = true; |
772 | 791 | if ((Flags & AutoClose) == AutoClose) | 825 | if ((Flags & AutoClose) == AutoClose) |
774 | 792 | if (iFd >= 0 && close(iFd) != 0) | 826 | if ((gz != NULL && gzclose(gz) != 0) || (gz == NULL && iFd > 0 && close(iFd) != 0)) |
775 | 793 | Res &= _error->Errno("close",_("Problem closing the file")); | 827 | Res &= _error->Errno("close",_("Problem closing the file")); |
776 | 794 | iFd = -1; | 828 | iFd = -1; |
777 | 829 | gz = NULL; | ||
778 | 795 | 830 | ||
779 | 796 | if ((Flags & Fail) == Fail && (Flags & DelOnFail) == DelOnFail && | 831 | if ((Flags & Fail) == Fail && (Flags & DelOnFail) == DelOnFail && |
780 | 797 | FileName.empty() == false) | 832 | FileName.empty() == false) |
781 | 798 | 833 | ||
782 | === modified file 'apt-pkg/contrib/fileutl.h' | |||
783 | --- apt-pkg/contrib/fileutl.h 2010-02-17 21:40:05 +0000 | |||
784 | +++ apt-pkg/contrib/fileutl.h 2010-06-11 16:24:33 +0000 | |||
785 | @@ -25,6 +25,8 @@ | |||
786 | 25 | #include <string> | 25 | #include <string> |
787 | 26 | #include <vector> | 26 | #include <vector> |
788 | 27 | 27 | ||
789 | 28 | #include <zlib.h> | ||
790 | 29 | |||
791 | 28 | using std::string; | 30 | using std::string; |
792 | 29 | 31 | ||
793 | 30 | class FileFd | 32 | class FileFd |
794 | @@ -36,6 +38,7 @@ | |||
795 | 36 | HitEof = (1<<3)}; | 38 | HitEof = (1<<3)}; |
796 | 37 | unsigned long Flags; | 39 | unsigned long Flags; |
797 | 38 | string FileName; | 40 | string FileName; |
798 | 41 | gzFile gz; | ||
799 | 39 | 42 | ||
800 | 40 | public: | 43 | public: |
801 | 41 | enum OpenMode {ReadOnly,WriteEmpty,WriteExists,WriteAny,WriteTemp}; | 44 | enum OpenMode {ReadOnly,WriteEmpty,WriteExists,WriteAny,WriteTemp}; |
802 | @@ -69,12 +72,12 @@ | |||
803 | 69 | inline string &Name() {return FileName;}; | 72 | inline string &Name() {return FileName;}; |
804 | 70 | 73 | ||
805 | 71 | FileFd(string FileName,OpenMode Mode,unsigned long Perms = 0666) : iFd(-1), | 74 | FileFd(string FileName,OpenMode Mode,unsigned long Perms = 0666) : iFd(-1), |
807 | 72 | Flags(0) | 75 | Flags(0), gz(NULL) |
808 | 73 | { | 76 | { |
809 | 74 | Open(FileName,Mode,Perms); | 77 | Open(FileName,Mode,Perms); |
810 | 75 | }; | 78 | }; |
813 | 76 | FileFd(int Fd = -1) : iFd(Fd), Flags(AutoClose) {}; | 79 | FileFd(int Fd = -1) : iFd(Fd), Flags(AutoClose), gz(NULL) {}; |
814 | 77 | FileFd(int Fd,bool) : iFd(Fd), Flags(0) {}; | 80 | FileFd(int Fd,bool) : iFd(Fd), Flags(0), gz(NULL) {}; |
815 | 78 | virtual ~FileFd(); | 81 | virtual ~FileFd(); |
816 | 79 | }; | 82 | }; |
817 | 80 | 83 | ||
818 | 81 | 84 | ||
819 | === modified file 'apt-pkg/contrib/mmap.cc' | |||
820 | --- apt-pkg/contrib/mmap.cc 2009-08-24 11:30:05 +0000 | |||
821 | +++ apt-pkg/contrib/mmap.cc 2010-06-11 16:24:33 +0000 | |||
822 | @@ -140,8 +140,10 @@ | |||
823 | 140 | // DynamicMMap::DynamicMMap - Constructor /*{{{*/ | 140 | // DynamicMMap::DynamicMMap - Constructor /*{{{*/ |
824 | 141 | // --------------------------------------------------------------------- | 141 | // --------------------------------------------------------------------- |
825 | 142 | /* */ | 142 | /* */ |
828 | 143 | DynamicMMap::DynamicMMap(FileFd &F,unsigned long Flags,unsigned long WorkSpace) : | 143 | DynamicMMap::DynamicMMap(FileFd &F,unsigned long Flags,unsigned long const &Workspace, |
829 | 144 | MMap(F,Flags | NoImmMap), Fd(&F), WorkSpace(WorkSpace) | 144 | unsigned long const &Grow, unsigned long const &Limit) : |
830 | 145 | MMap(F,Flags | NoImmMap), Fd(&F), WorkSpace(Workspace), | ||
831 | 146 | GrowFactor(Grow), Limit(Limit) | ||
832 | 145 | { | 147 | { |
833 | 146 | if (_error->PendingError() == true) | 148 | if (_error->PendingError() == true) |
834 | 147 | return; | 149 | return; |
835 | @@ -165,32 +167,48 @@ | |||
836 | 165 | /* We try here to use mmap to reserve some space - this is much more | 167 | /* We try here to use mmap to reserve some space - this is much more |
837 | 166 | cooler than the fallback solution to simply allocate a char array | 168 | cooler than the fallback solution to simply allocate a char array |
838 | 167 | and could come in handy later than we are able to grow such an mmap */ | 169 | and could come in handy later than we are able to grow such an mmap */ |
841 | 168 | DynamicMMap::DynamicMMap(unsigned long Flags,unsigned long WorkSpace) : | 170 | DynamicMMap::DynamicMMap(unsigned long Flags,unsigned long const &WorkSpace, |
842 | 169 | MMap(Flags | NoImmMap | UnMapped), Fd(0), WorkSpace(WorkSpace) | 171 | unsigned long const &Grow, unsigned long const &Limit) : |
843 | 172 | MMap(Flags | NoImmMap | UnMapped), Fd(0), WorkSpace(WorkSpace), | ||
844 | 173 | GrowFactor(Grow), Limit(Limit) | ||
845 | 170 | { | 174 | { |
848 | 171 | if (_error->PendingError() == true) | 175 | if (_error->PendingError() == true) |
849 | 172 | return; | 176 | return; |
850 | 177 | |||
851 | 178 | // disable Moveable if we don't grow | ||
852 | 179 | if (Grow == 0) | ||
853 | 180 | Flags &= ~Moveable; | ||
854 | 181 | |||
855 | 182 | #ifndef __linux__ | ||
856 | 183 | // kfreebsd doesn't have mremap, so we use the fallback | ||
857 | 184 | if ((Flags & Moveable) == Moveable) | ||
858 | 185 | Flags |= Fallback; | ||
859 | 186 | #endif | ||
860 | 173 | 187 | ||
861 | 174 | #ifdef _POSIX_MAPPED_FILES | 188 | #ifdef _POSIX_MAPPED_FILES |
879 | 175 | // Set the permissions. | 189 | if ((Flags & Fallback) != Fallback) { |
880 | 176 | int Prot = PROT_READ; | 190 | // Set the permissions. |
881 | 177 | int Map = MAP_PRIVATE | MAP_ANONYMOUS; | 191 | int Prot = PROT_READ; |
882 | 178 | if ((Flags & ReadOnly) != ReadOnly) | 192 | int Map = MAP_PRIVATE | MAP_ANONYMOUS; |
883 | 179 | Prot |= PROT_WRITE; | 193 | if ((Flags & ReadOnly) != ReadOnly) |
884 | 180 | if ((Flags & Public) == Public) | 194 | Prot |= PROT_WRITE; |
885 | 181 | Map = MAP_SHARED | MAP_ANONYMOUS; | 195 | if ((Flags & Public) == Public) |
886 | 182 | 196 | Map = MAP_SHARED | MAP_ANONYMOUS; | |
887 | 183 | // use anonymous mmap() to get the memory | 197 | |
888 | 184 | Base = (unsigned char*) mmap(0, WorkSpace, Prot, Map, -1, 0); | 198 | // use anonymous mmap() to get the memory |
889 | 185 | 199 | Base = (unsigned char*) mmap(0, WorkSpace, Prot, Map, -1, 0); | |
890 | 186 | if(Base == MAP_FAILED) | 200 | |
891 | 187 | _error->Errno("DynamicMMap",_("Couldn't make mmap of %lu bytes"),WorkSpace); | 201 | if(Base == MAP_FAILED) |
892 | 188 | #else | 202 | _error->Errno("DynamicMMap",_("Couldn't make mmap of %lu bytes"),WorkSpace); |
893 | 189 | // fallback to a static allocated space | 203 | |
894 | 190 | Base = new unsigned char[WorkSpace]; | 204 | iSize = 0; |
895 | 191 | memset(Base,0,WorkSpace); | 205 | return; |
896 | 206 | } | ||
897 | 192 | #endif | 207 | #endif |
899 | 193 | iSize = 0; | 208 | // fallback to a static allocated space |
900 | 209 | Base = new unsigned char[WorkSpace]; | ||
901 | 210 | memset(Base,0,WorkSpace); | ||
902 | 211 | iSize = 0; | ||
903 | 194 | } | 212 | } |
904 | 195 | /*}}}*/ | 213 | /*}}}*/ |
905 | 196 | // DynamicMMap::~DynamicMMap - Destructor /*{{{*/ | 214 | // DynamicMMap::~DynamicMMap - Destructor /*{{{*/ |
906 | @@ -311,30 +329,55 @@ | |||
907 | 311 | /*}}}*/ | 329 | /*}}}*/ |
908 | 312 | // DynamicMMap::Grow - Grow the mmap /*{{{*/ | 330 | // DynamicMMap::Grow - Grow the mmap /*{{{*/ |
909 | 313 | // --------------------------------------------------------------------- | 331 | // --------------------------------------------------------------------- |
916 | 314 | /* This method will try to grow the mmap we currently use. This doesn't | 332 | /* This method is a wrapper around different methods to (try to) grow |
917 | 315 | work most of the time because we can't move the mmap around in the | 333 | a mmap (or our char[]-fallback). Encounterable environments: |
918 | 316 | memory for now as this would require to adjust quite a lot of pointers | 334 | 1. Moveable + !Fallback + linux -> mremap with MREMAP_MAYMOVE |
919 | 317 | but why we should not at least try to grow it before we give up? */ | 335 | 2. Moveable + !Fallback + !linux -> not possible (forbidden by constructor) |
920 | 318 | bool DynamicMMap::Grow() | 336 | 3. Moveable + Fallback -> realloc |
921 | 319 | { | 337 | 4. !Moveable + !Fallback + linux -> mremap alone - which will fail in 99,9% |
922 | 338 | 5. !Moveable + !Fallback + !linux -> not possible (forbidden by constructor) | ||
923 | 339 | 6. !Moveable + Fallback -> not possible | ||
924 | 340 | [ While Moveable and Fallback stands for the equally named flags and | ||
925 | 341 | "linux" indicates a linux kernel instead of a freebsd kernel. ] | ||
926 | 342 | So what you can see here is, that a MMAP which want to be growable need | ||
927 | 343 | to be moveable to have a real chance but that this method will at least try | ||
928 | 344 | the nearly impossible 4 to grow it before it finally give up: Never say never. */ | ||
929 | 345 | bool DynamicMMap::Grow() { | ||
930 | 346 | if (Limit != 0 && WorkSpace >= Limit) | ||
931 | 347 | return _error->Error(_("The size of a MMap has already reached the defined limit of %lu bytes," | ||
932 | 348 | "abort the try to grow the MMap."), Limit); | ||
933 | 349 | |||
934 | 350 | unsigned long const newSize = WorkSpace + 1024*1024; | ||
935 | 351 | |||
936 | 352 | if(Fd != 0) { | ||
937 | 353 | Fd->Seek(newSize - 1); | ||
938 | 354 | char C = 0; | ||
939 | 355 | Fd->Write(&C,sizeof(C)); | ||
940 | 356 | } | ||
941 | 357 | if ((Flags & Fallback) != Fallback) { | ||
942 | 320 | #if defined(_POSIX_MAPPED_FILES) && defined(__linux__) | 358 | #if defined(_POSIX_MAPPED_FILES) && defined(__linux__) |
958 | 321 | unsigned long newSize = WorkSpace + 1024*1024; | 359 | #ifdef MREMAP_MAYMOVE |
959 | 322 | 360 | if ((Flags & Moveable) == Moveable) | |
960 | 323 | if(Fd != 0) | 361 | Base = mremap(Base, WorkSpace, newSize, MREMAP_MAYMOVE); |
961 | 324 | { | 362 | else |
962 | 325 | Fd->Seek(newSize - 1); | 363 | #endif |
963 | 326 | char C = 0; | 364 | Base = mremap(Base, WorkSpace, newSize, 0); |
964 | 327 | Fd->Write(&C,sizeof(C)); | 365 | |
965 | 328 | } | 366 | if(Base == MAP_FAILED) |
966 | 329 | 367 | return false; | |
952 | 330 | Base = mremap(Base, WorkSpace, newSize, 0); | ||
953 | 331 | if(Base == MAP_FAILED) | ||
954 | 332 | return false; | ||
955 | 333 | |||
956 | 334 | WorkSpace = newSize; | ||
957 | 335 | return true; | ||
967 | 336 | #else | 368 | #else |
969 | 337 | return false; | 369 | return false; |
970 | 338 | #endif | 370 | #endif |
971 | 371 | } else { | ||
972 | 372 | if ((Flags & Moveable) != Moveable) | ||
973 | 373 | return false; | ||
974 | 374 | |||
975 | 375 | Base = realloc(Base, newSize); | ||
976 | 376 | if (Base == NULL) | ||
977 | 377 | return false; | ||
978 | 378 | } | ||
979 | 379 | |||
980 | 380 | WorkSpace = newSize; | ||
981 | 381 | return true; | ||
982 | 339 | } | 382 | } |
983 | 340 | /*}}}*/ | 383 | /*}}}*/ |
984 | 341 | 384 | ||
985 | === modified file 'apt-pkg/contrib/mmap.h' | |||
986 | --- apt-pkg/contrib/mmap.h 2009-07-30 15:34:48 +0000 | |||
987 | +++ apt-pkg/contrib/mmap.h 2010-06-11 16:24:33 +0000 | |||
988 | @@ -50,7 +50,7 @@ | |||
989 | 50 | public: | 50 | public: |
990 | 51 | 51 | ||
991 | 52 | enum OpenFlags {NoImmMap = (1<<0),Public = (1<<1),ReadOnly = (1<<2), | 52 | enum OpenFlags {NoImmMap = (1<<0),Public = (1<<1),ReadOnly = (1<<2), |
993 | 53 | UnMapped = (1<<3)}; | 53 | UnMapped = (1<<3), Moveable = (1<<4), Fallback = (1 << 5)}; |
994 | 54 | 54 | ||
995 | 55 | // Simple accessors | 55 | // Simple accessors |
996 | 56 | inline operator void *() {return Base;}; | 56 | inline operator void *() {return Base;}; |
997 | @@ -82,6 +82,8 @@ | |||
998 | 82 | 82 | ||
999 | 83 | FileFd *Fd; | 83 | FileFd *Fd; |
1000 | 84 | unsigned long WorkSpace; | 84 | unsigned long WorkSpace; |
1001 | 85 | unsigned long const GrowFactor; | ||
1002 | 86 | unsigned long const Limit; | ||
1003 | 85 | Pool *Pools; | 87 | Pool *Pools; |
1004 | 86 | unsigned int PoolCount; | 88 | unsigned int PoolCount; |
1005 | 87 | 89 | ||
1006 | @@ -96,8 +98,10 @@ | |||
1007 | 96 | inline unsigned long WriteString(const string &S) {return WriteString(S.c_str(),S.length());}; | 98 | inline unsigned long WriteString(const string &S) {return WriteString(S.c_str(),S.length());}; |
1008 | 97 | void UsePools(Pool &P,unsigned int Count) {Pools = &P; PoolCount = Count;}; | 99 | void UsePools(Pool &P,unsigned int Count) {Pools = &P; PoolCount = Count;}; |
1009 | 98 | 100 | ||
1012 | 99 | DynamicMMap(FileFd &F,unsigned long Flags,unsigned long WorkSpace = 2*1024*1024); | 101 | DynamicMMap(FileFd &F,unsigned long Flags,unsigned long const &WorkSpace = 2*1024*1024, |
1013 | 100 | DynamicMMap(unsigned long Flags,unsigned long WorkSpace = 2*1024*1024); | 102 | unsigned long const &Grow = 1024*1024, unsigned long const &Limit = 0); |
1014 | 103 | DynamicMMap(unsigned long Flags,unsigned long const &WorkSpace = 2*1024*1024, | ||
1015 | 104 | unsigned long const &Grow = 1024*1024, unsigned long const &Limit = 0); | ||
1016 | 101 | virtual ~DynamicMMap(); | 105 | virtual ~DynamicMMap(); |
1017 | 102 | }; | 106 | }; |
1018 | 103 | 107 | ||
1019 | 104 | 108 | ||
1020 | === modified file 'apt-pkg/contrib/strutl.cc' | |||
1021 | --- apt-pkg/contrib/strutl.cc 2010-03-31 20:03:34 +0000 | |||
1022 | +++ apt-pkg/contrib/strutl.cc 2010-06-11 16:24:33 +0000 | |||
1023 | @@ -1008,6 +1008,24 @@ | |||
1024 | 1008 | return true; | 1008 | return true; |
1025 | 1009 | } | 1009 | } |
1026 | 1010 | /*}}}*/ | 1010 | /*}}}*/ |
1027 | 1011 | // ExplodeString - Split a string up into a vector /*{{{*/ | ||
1028 | 1012 | // --------------------------------------------------------------------- | ||
1029 | 1013 | /* This can be used to split a given string up into a vector, so the | ||
1030 | 1014 | propose is the same as in the method above and this one is a bit slower | ||
1031 | 1015 | also, but the advantage is that we an iteratable vector */ | ||
1032 | 1016 | vector<string> ExplodeString(string const &haystack, char const &split) | ||
1033 | 1017 | { | ||
1034 | 1018 | string::const_iterator start = haystack.begin(); | ||
1035 | 1019 | string::const_iterator end = start; | ||
1036 | 1020 | vector<string> exploded; | ||
1037 | 1021 | do { | ||
1038 | 1022 | for (; end != haystack.end() && *end != split; ++end); | ||
1039 | 1023 | exploded.push_back(string(start, end)); | ||
1040 | 1024 | start = end + 1; | ||
1041 | 1025 | } while (end != haystack.end() && (++end) != haystack.end()); | ||
1042 | 1026 | return exploded; | ||
1043 | 1027 | } | ||
1044 | 1028 | /*}}}*/ | ||
1045 | 1011 | // RegexChoice - Simple regex list/list matcher /*{{{*/ | 1029 | // RegexChoice - Simple regex list/list matcher /*{{{*/ |
1046 | 1012 | // --------------------------------------------------------------------- | 1030 | // --------------------------------------------------------------------- |
1047 | 1013 | /* */ | 1031 | /* */ |
1048 | 1014 | 1032 | ||
1049 | === modified file 'apt-pkg/contrib/strutl.h' | |||
1050 | --- apt-pkg/contrib/strutl.h 2010-03-31 20:03:34 +0000 | |||
1051 | +++ apt-pkg/contrib/strutl.h 2010-06-11 16:24:33 +0000 | |||
1052 | @@ -60,6 +60,7 @@ | |||
1053 | 60 | bool Hex2Num(const string &Str,unsigned char *Num,unsigned int Length); | 60 | bool Hex2Num(const string &Str,unsigned char *Num,unsigned int Length); |
1054 | 61 | bool TokSplitString(char Tok,char *Input,char **List, | 61 | bool TokSplitString(char Tok,char *Input,char **List, |
1055 | 62 | unsigned long ListMax); | 62 | unsigned long ListMax); |
1056 | 63 | vector<string> ExplodeString(string const &haystack, char const &split); | ||
1057 | 63 | void ioprintf(ostream &out,const char *format,...) APT_FORMAT2; | 64 | void ioprintf(ostream &out,const char *format,...) APT_FORMAT2; |
1058 | 64 | void strprintf(string &out,const char *format,...) APT_FORMAT2; | 65 | void strprintf(string &out,const char *format,...) APT_FORMAT2; |
1059 | 65 | char *safe_snprintf(char *Buffer,char *End,const char *Format,...) APT_FORMAT3; | 66 | char *safe_snprintf(char *Buffer,char *End,const char *Format,...) APT_FORMAT3; |
1060 | 66 | 67 | ||
1061 | === modified file 'apt-pkg/deb/debindexfile.cc' | |||
1062 | --- apt-pkg/deb/debindexfile.cc 2010-03-08 16:46:43 +0000 | |||
1063 | +++ apt-pkg/deb/debindexfile.cc 2010-06-11 16:24:33 +0000 | |||
1064 | @@ -106,8 +106,14 @@ | |||
1065 | 106 | /* */ | 106 | /* */ |
1066 | 107 | inline string debSourcesIndex::IndexFile(const char *Type) const | 107 | inline string debSourcesIndex::IndexFile(const char *Type) const |
1067 | 108 | { | 108 | { |
1069 | 109 | return URItoFileName(IndexURI(Type)); | 109 | string s = URItoFileName(IndexURI(Type)); |
1070 | 110 | string sgzip = s + ".gz"; | ||
1071 | 111 | if (!FileExists(s) && FileExists(sgzip)) | ||
1072 | 112 | return sgzip; | ||
1073 | 113 | else | ||
1074 | 114 | return s; | ||
1075 | 110 | } | 115 | } |
1076 | 116 | |||
1077 | 111 | string debSourcesIndex::IndexURI(const char *Type) const | 117 | string debSourcesIndex::IndexURI(const char *Type) const |
1078 | 112 | { | 118 | { |
1079 | 113 | string Res; | 119 | string Res; |
1080 | @@ -213,7 +219,12 @@ | |||
1081 | 213 | /* */ | 219 | /* */ |
1082 | 214 | inline string debPackagesIndex::IndexFile(const char *Type) const | 220 | inline string debPackagesIndex::IndexFile(const char *Type) const |
1083 | 215 | { | 221 | { |
1085 | 216 | return _config->FindDir("Dir::State::lists") + URItoFileName(IndexURI(Type)); | 222 | string s =_config->FindDir("Dir::State::lists") + URItoFileName(IndexURI(Type)); |
1086 | 223 | string sgzip = s + ".gz"; | ||
1087 | 224 | if (!FileExists(s) && FileExists(sgzip)) | ||
1088 | 225 | return sgzip; | ||
1089 | 226 | else | ||
1090 | 227 | return s; | ||
1091 | 217 | } | 228 | } |
1092 | 218 | string debPackagesIndex::IndexURI(const char *Type) const | 229 | string debPackagesIndex::IndexURI(const char *Type) const |
1093 | 219 | { | 230 | { |
1094 | @@ -329,17 +340,23 @@ | |||
1095 | 329 | // TranslationsIndex::debTranslationsIndex - Contructor /*{{{*/ | 340 | // TranslationsIndex::debTranslationsIndex - Contructor /*{{{*/ |
1096 | 330 | // --------------------------------------------------------------------- | 341 | // --------------------------------------------------------------------- |
1097 | 331 | /* */ | 342 | /* */ |
1102 | 332 | debTranslationsIndex::debTranslationsIndex(string URI,string Dist,string Section) : | 343 | debTranslationsIndex::debTranslationsIndex(string URI,string Dist,string Section, |
1103 | 333 | pkgIndexFile(true), URI(URI), Dist(Dist), Section(Section) | 344 | char const * const Translation) : |
1104 | 334 | { | 345 | pkgIndexFile(true), URI(URI), Dist(Dist), Section(Section), |
1105 | 335 | } | 346 | Language(Translation) |
1106 | 347 | {} | ||
1107 | 336 | /*}}}*/ | 348 | /*}}}*/ |
1108 | 337 | // TranslationIndex::Trans* - Return the URI to the translation files /*{{{*/ | 349 | // TranslationIndex::Trans* - Return the URI to the translation files /*{{{*/ |
1109 | 338 | // --------------------------------------------------------------------- | 350 | // --------------------------------------------------------------------- |
1110 | 339 | /* */ | 351 | /* */ |
1111 | 340 | inline string debTranslationsIndex::IndexFile(const char *Type) const | 352 | inline string debTranslationsIndex::IndexFile(const char *Type) const |
1112 | 341 | { | 353 | { |
1114 | 342 | return _config->FindDir("Dir::State::lists") + URItoFileName(IndexURI(Type)); | 354 | string s =_config->FindDir("Dir::State::lists") + URItoFileName(IndexURI(Type)); |
1115 | 355 | string sgzip = s + ".gz"; | ||
1116 | 356 | if (!FileExists(s) && FileExists(sgzip)) | ||
1117 | 357 | return sgzip; | ||
1118 | 358 | else | ||
1119 | 359 | return s; | ||
1120 | 343 | } | 360 | } |
1121 | 344 | string debTranslationsIndex::IndexURI(const char *Type) const | 361 | string debTranslationsIndex::IndexURI(const char *Type) const |
1122 | 345 | { | 362 | { |
1123 | @@ -365,8 +382,8 @@ | |||
1124 | 365 | bool debTranslationsIndex::GetIndexes(pkgAcquire *Owner) const | 382 | bool debTranslationsIndex::GetIndexes(pkgAcquire *Owner) const |
1125 | 366 | { | 383 | { |
1126 | 367 | if (TranslationsAvailable()) { | 384 | if (TranslationsAvailable()) { |
1129 | 368 | string TranslationFile = "Translation-" + LanguageCode(); | 385 | string const TranslationFile = string("Translation-").append(Language); |
1130 | 369 | new pkgAcqIndexTrans(Owner, IndexURI(LanguageCode().c_str()), | 386 | new pkgAcqIndexTrans(Owner, IndexURI(Language), |
1131 | 370 | Info(TranslationFile.c_str()), | 387 | Info(TranslationFile.c_str()), |
1132 | 371 | TranslationFile); | 388 | TranslationFile); |
1133 | 372 | } | 389 | } |
1134 | @@ -385,7 +402,7 @@ | |||
1135 | 385 | snprintf(S,sizeof(S),"%s",Info(TranslationFile().c_str()).c_str()); | 402 | snprintf(S,sizeof(S),"%s",Info(TranslationFile().c_str()).c_str()); |
1136 | 386 | else | 403 | else |
1137 | 387 | snprintf(S,sizeof(S),"%s (%s)",Info(TranslationFile().c_str()).c_str(), | 404 | snprintf(S,sizeof(S),"%s (%s)",Info(TranslationFile().c_str()).c_str(), |
1139 | 388 | IndexFile(LanguageCode().c_str()).c_str()); | 405 | IndexFile(Language).c_str()); |
1140 | 389 | return S; | 406 | return S; |
1141 | 390 | } | 407 | } |
1142 | 391 | /*}}}*/ | 408 | /*}}}*/ |
1143 | @@ -407,20 +424,20 @@ | |||
1144 | 407 | return Info; | 424 | return Info; |
1145 | 408 | } | 425 | } |
1146 | 409 | /*}}}*/ | 426 | /*}}}*/ |
1148 | 410 | bool debTranslationsIndex::HasPackages() const | 427 | bool debTranslationsIndex::HasPackages() const /*{{{*/ |
1149 | 411 | { | 428 | { |
1150 | 412 | if(!TranslationsAvailable()) | 429 | if(!TranslationsAvailable()) |
1151 | 413 | return false; | 430 | return false; |
1152 | 414 | 431 | ||
1154 | 415 | return FileExists(IndexFile(LanguageCode().c_str())); | 432 | return FileExists(IndexFile(Language)); |
1155 | 416 | } | 433 | } |
1157 | 417 | 434 | /*}}}*/ | |
1158 | 418 | // TranslationsIndex::Exists - Check if the index is available /*{{{*/ | 435 | // TranslationsIndex::Exists - Check if the index is available /*{{{*/ |
1159 | 419 | // --------------------------------------------------------------------- | 436 | // --------------------------------------------------------------------- |
1160 | 420 | /* */ | 437 | /* */ |
1161 | 421 | bool debTranslationsIndex::Exists() const | 438 | bool debTranslationsIndex::Exists() const |
1162 | 422 | { | 439 | { |
1164 | 423 | return FileExists(IndexFile(LanguageCode().c_str())); | 440 | return FileExists(IndexFile(Language)); |
1165 | 424 | } | 441 | } |
1166 | 425 | /*}}}*/ | 442 | /*}}}*/ |
1167 | 426 | // TranslationsIndex::Size - Return the size of the index /*{{{*/ | 443 | // TranslationsIndex::Size - Return the size of the index /*{{{*/ |
1168 | @@ -429,7 +446,7 @@ | |||
1169 | 429 | unsigned long debTranslationsIndex::Size() const | 446 | unsigned long debTranslationsIndex::Size() const |
1170 | 430 | { | 447 | { |
1171 | 431 | struct stat S; | 448 | struct stat S; |
1173 | 432 | if (stat(IndexFile(LanguageCode().c_str()).c_str(),&S) != 0) | 449 | if (stat(IndexFile(Language).c_str(),&S) != 0) |
1174 | 433 | return 0; | 450 | return 0; |
1175 | 434 | return S.st_size; | 451 | return S.st_size; |
1176 | 435 | } | 452 | } |
1177 | @@ -440,7 +457,7 @@ | |||
1178 | 440 | bool debTranslationsIndex::Merge(pkgCacheGenerator &Gen,OpProgress &Prog) const | 457 | bool debTranslationsIndex::Merge(pkgCacheGenerator &Gen,OpProgress &Prog) const |
1179 | 441 | { | 458 | { |
1180 | 442 | // Check the translation file, if in use | 459 | // Check the translation file, if in use |
1182 | 443 | string TranslationFile = IndexFile(LanguageCode().c_str()); | 460 | string TranslationFile = IndexFile(Language); |
1183 | 444 | if (TranslationsAvailable() && FileExists(TranslationFile)) | 461 | if (TranslationsAvailable() && FileExists(TranslationFile)) |
1184 | 445 | { | 462 | { |
1185 | 446 | FileFd Trans(TranslationFile,FileFd::ReadOnly); | 463 | FileFd Trans(TranslationFile,FileFd::ReadOnly); |
1186 | @@ -472,7 +489,7 @@ | |||
1187 | 472 | /* */ | 489 | /* */ |
1188 | 473 | pkgCache::PkgFileIterator debTranslationsIndex::FindInCache(pkgCache &Cache) const | 490 | pkgCache::PkgFileIterator debTranslationsIndex::FindInCache(pkgCache &Cache) const |
1189 | 474 | { | 491 | { |
1191 | 475 | string FileName = IndexFile(LanguageCode().c_str()); | 492 | string FileName = IndexFile(Language); |
1192 | 476 | 493 | ||
1193 | 477 | pkgCache::PkgFileIterator File = Cache.FileBegin(); | 494 | pkgCache::PkgFileIterator File = Cache.FileBegin(); |
1194 | 478 | for (; File.end() == false; File++) | 495 | for (; File.end() == false; File++) |
1195 | 479 | 496 | ||
1196 | === modified file 'apt-pkg/deb/debindexfile.h' | |||
1197 | --- apt-pkg/deb/debindexfile.h 2007-06-14 09:59:13 +0000 | |||
1198 | +++ apt-pkg/deb/debindexfile.h 2010-06-11 16:24:33 +0000 | |||
1199 | @@ -77,12 +77,13 @@ | |||
1200 | 77 | string URI; | 77 | string URI; |
1201 | 78 | string Dist; | 78 | string Dist; |
1202 | 79 | string Section; | 79 | string Section; |
1203 | 80 | const char * const Language; | ||
1204 | 80 | 81 | ||
1205 | 81 | string Info(const char *Type) const; | 82 | string Info(const char *Type) const; |
1206 | 82 | string IndexFile(const char *Type) const; | 83 | string IndexFile(const char *Type) const; |
1207 | 83 | string IndexURI(const char *Type) const; | 84 | string IndexURI(const char *Type) const; |
1208 | 84 | 85 | ||
1210 | 85 | inline string TranslationFile() const {return "Translation-" + LanguageCode();}; | 86 | inline string TranslationFile() const {return string("Translation-").append(Language);}; |
1211 | 86 | 87 | ||
1212 | 87 | public: | 88 | public: |
1213 | 88 | 89 | ||
1214 | @@ -99,7 +100,7 @@ | |||
1215 | 99 | virtual bool Merge(pkgCacheGenerator &Gen,OpProgress &Prog) const; | 100 | virtual bool Merge(pkgCacheGenerator &Gen,OpProgress &Prog) const; |
1216 | 100 | virtual pkgCache::PkgFileIterator FindInCache(pkgCache &Cache) const; | 101 | virtual pkgCache::PkgFileIterator FindInCache(pkgCache &Cache) const; |
1217 | 101 | 102 | ||
1219 | 102 | debTranslationsIndex(string URI,string Dist,string Section); | 103 | debTranslationsIndex(string URI,string Dist,string Section, char const * const Language); |
1220 | 103 | }; | 104 | }; |
1221 | 104 | 105 | ||
1222 | 105 | class debSourcesIndex : public pkgIndexFile | 106 | class debSourcesIndex : public pkgIndexFile |
1223 | 106 | 107 | ||
1224 | === modified file 'apt-pkg/deb/deblistparser.cc' | |||
1225 | --- apt-pkg/deb/deblistparser.cc 2010-02-17 21:40:05 +0000 | |||
1226 | +++ apt-pkg/deb/deblistparser.cc 2010-06-11 16:24:33 +0000 | |||
1227 | @@ -13,6 +13,7 @@ | |||
1228 | 13 | #include <apt-pkg/deblistparser.h> | 13 | #include <apt-pkg/deblistparser.h> |
1229 | 14 | #include <apt-pkg/error.h> | 14 | #include <apt-pkg/error.h> |
1230 | 15 | #include <apt-pkg/configuration.h> | 15 | #include <apt-pkg/configuration.h> |
1231 | 16 | #include <apt-pkg/aptconfiguration.h> | ||
1232 | 16 | #include <apt-pkg/strutl.h> | 17 | #include <apt-pkg/strutl.h> |
1233 | 17 | #include <apt-pkg/crc-16.h> | 18 | #include <apt-pkg/crc-16.h> |
1234 | 18 | #include <apt-pkg/md5.h> | 19 | #include <apt-pkg/md5.h> |
1235 | @@ -128,10 +129,11 @@ | |||
1236 | 128 | only describe package properties */ | 129 | only describe package properties */ |
1237 | 129 | string debListParser::Description() | 130 | string debListParser::Description() |
1238 | 130 | { | 131 | { |
1240 | 131 | if (DescriptionLanguage().empty()) | 132 | string const lang = DescriptionLanguage(); |
1241 | 133 | if (lang.empty()) | ||
1242 | 132 | return Section.FindS("Description"); | 134 | return Section.FindS("Description"); |
1243 | 133 | else | 135 | else |
1245 | 134 | return Section.FindS(("Description-" + pkgIndexFile::LanguageCode()).c_str()); | 136 | return Section.FindS(string("Description-").append(lang).c_str()); |
1246 | 135 | } | 137 | } |
1247 | 136 | /*}}}*/ | 138 | /*}}}*/ |
1248 | 137 | // ListParser::DescriptionLanguage - Return the description lang string /*{{{*/ | 139 | // ListParser::DescriptionLanguage - Return the description lang string /*{{{*/ |
1249 | @@ -141,7 +143,16 @@ | |||
1250 | 141 | assumed to describe original description. */ | 143 | assumed to describe original description. */ |
1251 | 142 | string debListParser::DescriptionLanguage() | 144 | string debListParser::DescriptionLanguage() |
1252 | 143 | { | 145 | { |
1254 | 144 | return Section.FindS("Description").empty() ? pkgIndexFile::LanguageCode() : ""; | 146 | if (Section.FindS("Description").empty() == false) |
1255 | 147 | return ""; | ||
1256 | 148 | |||
1257 | 149 | std::vector<string> const lang = APT::Configuration::getLanguages(); | ||
1258 | 150 | for (std::vector<string>::const_iterator l = lang.begin(); | ||
1259 | 151 | l != lang.end(); l++) | ||
1260 | 152 | if (Section.FindS(string("Description-").append(*l).c_str()).empty() == false) | ||
1261 | 153 | return *l; | ||
1262 | 154 | |||
1263 | 155 | return ""; | ||
1264 | 145 | } | 156 | } |
1265 | 146 | /*}}}*/ | 157 | /*}}}*/ |
1266 | 147 | // ListParser::Description - Return the description_md5 MD5SumValue /*{{{*/ | 158 | // ListParser::Description - Return the description_md5 MD5SumValue /*{{{*/ |
1267 | @@ -383,7 +394,8 @@ | |||
1268 | 383 | bit by bit. */ | 394 | bit by bit. */ |
1269 | 384 | const char *debListParser::ParseDepends(const char *Start,const char *Stop, | 395 | const char *debListParser::ParseDepends(const char *Start,const char *Stop, |
1270 | 385 | string &Package,string &Ver, | 396 | string &Package,string &Ver, |
1272 | 386 | unsigned int &Op, bool ParseArchFlags) | 397 | unsigned int &Op, bool const &ParseArchFlags, |
1273 | 398 | bool const &StripMultiArch) | ||
1274 | 387 | { | 399 | { |
1275 | 388 | // Strip off leading space | 400 | // Strip off leading space |
1276 | 389 | for (;Start != Stop && isspace(*Start) != 0; Start++); | 401 | for (;Start != Stop && isspace(*Start) != 0; Start++); |
1277 | @@ -402,7 +414,14 @@ | |||
1278 | 402 | 414 | ||
1279 | 403 | // Stash the package name | 415 | // Stash the package name |
1280 | 404 | Package.assign(Start,I - Start); | 416 | Package.assign(Start,I - Start); |
1282 | 405 | 417 | ||
1283 | 418 | // We don't want to confuse library users which can't handle MultiArch | ||
1284 | 419 | if (StripMultiArch == true) { | ||
1285 | 420 | size_t const found = Package.rfind(':'); | ||
1286 | 421 | if (found != string::npos) | ||
1287 | 422 | Package = Package.substr(0,found); | ||
1288 | 423 | } | ||
1289 | 424 | |||
1290 | 406 | // Skip white space to the '(' | 425 | // Skip white space to the '(' |
1291 | 407 | for (;I != Stop && isspace(*I) != 0 ; I++); | 426 | for (;I != Stop && isspace(*I) != 0 ; I++); |
1292 | 408 | 427 | ||
1293 | 409 | 428 | ||
1294 | === modified file 'apt-pkg/deb/deblistparser.h' | |||
1295 | --- apt-pkg/deb/deblistparser.h 2006-12-14 11:39:29 +0000 | |||
1296 | +++ apt-pkg/deb/deblistparser.h 2010-06-11 16:24:33 +0000 | |||
1297 | @@ -64,7 +64,8 @@ | |||
1298 | 64 | 64 | ||
1299 | 65 | static const char *ParseDepends(const char *Start,const char *Stop, | 65 | static const char *ParseDepends(const char *Start,const char *Stop, |
1300 | 66 | string &Package,string &Ver,unsigned int &Op, | 66 | string &Package,string &Ver,unsigned int &Op, |
1302 | 67 | bool ParseArchFlags = false); | 67 | bool const &ParseArchFlags = false, |
1303 | 68 | bool const &StripMultiArch = false); | ||
1304 | 68 | static const char *ConvertRelation(const char *I,unsigned int &Op); | 69 | static const char *ConvertRelation(const char *I,unsigned int &Op); |
1305 | 69 | 70 | ||
1306 | 70 | debListParser(FileFd *File); | 71 | debListParser(FileFd *File); |
1307 | 71 | 72 | ||
1308 | === modified file 'apt-pkg/deb/debmetaindex.cc' | |||
1309 | --- apt-pkg/deb/debmetaindex.cc 2009-07-30 15:34:48 +0000 | |||
1310 | +++ apt-pkg/deb/debmetaindex.cc 2010-06-11 16:24:33 +0000 | |||
1311 | @@ -5,6 +5,7 @@ | |||
1312 | 5 | #include <apt-pkg/strutl.h> | 5 | #include <apt-pkg/strutl.h> |
1313 | 6 | #include <apt-pkg/acquire-item.h> | 6 | #include <apt-pkg/acquire-item.h> |
1314 | 7 | #include <apt-pkg/configuration.h> | 7 | #include <apt-pkg/configuration.h> |
1315 | 8 | #include <apt-pkg/aptconfiguration.h> | ||
1316 | 8 | #include <apt-pkg/error.h> | 9 | #include <apt-pkg/error.h> |
1317 | 9 | 10 | ||
1318 | 10 | using namespace std; | 11 | using namespace std; |
1319 | @@ -170,13 +171,20 @@ | |||
1320 | 170 | new indexRecords (Dist)); | 171 | new indexRecords (Dist)); |
1321 | 171 | 172 | ||
1322 | 172 | // Queue the translations | 173 | // Queue the translations |
1323 | 174 | std::vector<std::string> const lang = APT::Configuration::getLanguages(true); | ||
1324 | 173 | for (vector<const debSectionEntry *>::const_iterator I = SectionEntries.begin(); | 175 | for (vector<const debSectionEntry *>::const_iterator I = SectionEntries.begin(); |
1325 | 174 | I != SectionEntries.end(); I++) { | 176 | I != SectionEntries.end(); I++) { |
1326 | 175 | 177 | ||
1327 | 176 | if((*I)->IsSrc) | 178 | if((*I)->IsSrc) |
1328 | 177 | continue; | 179 | continue; |
1331 | 178 | debTranslationsIndex i = debTranslationsIndex(URI,Dist,(*I)->Section); | 180 | |
1332 | 179 | i.GetIndexes(Owner); | 181 | for (vector<string>::const_iterator l = lang.begin(); |
1333 | 182 | l != lang.end(); l++) | ||
1334 | 183 | { | ||
1335 | 184 | if (*l == "none") continue; | ||
1336 | 185 | debTranslationsIndex i = debTranslationsIndex(URI,Dist,(*I)->Section,(*l).c_str()); | ||
1337 | 186 | i.GetIndexes(Owner); | ||
1338 | 187 | } | ||
1339 | 180 | } | 188 | } |
1340 | 181 | 189 | ||
1341 | 182 | return true; | 190 | return true; |
1342 | @@ -202,6 +210,7 @@ | |||
1343 | 202 | return Indexes; | 210 | return Indexes; |
1344 | 203 | 211 | ||
1345 | 204 | Indexes = new vector <pkgIndexFile*>; | 212 | Indexes = new vector <pkgIndexFile*>; |
1346 | 213 | std::vector<std::string> const lang = APT::Configuration::getLanguages(true); | ||
1347 | 205 | for (vector<const debSectionEntry *>::const_iterator I = SectionEntries.begin(); | 214 | for (vector<const debSectionEntry *>::const_iterator I = SectionEntries.begin(); |
1348 | 206 | I != SectionEntries.end(); I++) { | 215 | I != SectionEntries.end(); I++) { |
1349 | 207 | if ((*I)->IsSrc) | 216 | if ((*I)->IsSrc) |
1350 | @@ -209,7 +218,12 @@ | |||
1351 | 209 | else | 218 | else |
1352 | 210 | { | 219 | { |
1353 | 211 | Indexes->push_back(new debPackagesIndex (URI, Dist, (*I)->Section, IsTrusted())); | 220 | Indexes->push_back(new debPackagesIndex (URI, Dist, (*I)->Section, IsTrusted())); |
1355 | 212 | Indexes->push_back(new debTranslationsIndex(URI, Dist, (*I)->Section)); | 221 | |
1356 | 222 | for (vector<string>::const_iterator l = lang.begin(); | ||
1357 | 223 | l != lang.end(); l++) { | ||
1358 | 224 | if (*l == "none") continue; | ||
1359 | 225 | Indexes->push_back(new debTranslationsIndex(URI,Dist,(*I)->Section,(*l).c_str())); | ||
1360 | 226 | } | ||
1361 | 213 | } | 227 | } |
1362 | 214 | } | 228 | } |
1363 | 215 | 229 | ||
1364 | 216 | 230 | ||
1365 | === modified file 'apt-pkg/deb/debrecords.cc' | |||
1366 | --- apt-pkg/deb/debrecords.cc 2010-05-05 07:58:23 +0000 | |||
1367 | +++ apt-pkg/deb/debrecords.cc 2010-06-11 16:24:33 +0000 | |||
1368 | @@ -11,6 +11,7 @@ | |||
1369 | 11 | #include <apt-pkg/debrecords.h> | 11 | #include <apt-pkg/debrecords.h> |
1370 | 12 | #include <apt-pkg/strutl.h> | 12 | #include <apt-pkg/strutl.h> |
1371 | 13 | #include <apt-pkg/error.h> | 13 | #include <apt-pkg/error.h> |
1372 | 14 | #include <apt-pkg/aptconfiguration.h> | ||
1373 | 14 | #include <langinfo.h> | 15 | #include <langinfo.h> |
1374 | 15 | /*}}}*/ | 16 | /*}}}*/ |
1375 | 16 | 17 | ||
1376 | @@ -110,13 +111,18 @@ | |||
1377 | 110 | string debRecordParser::LongDesc() | 111 | string debRecordParser::LongDesc() |
1378 | 111 | { | 112 | { |
1379 | 112 | string orig, dest; | 113 | string orig, dest; |
1380 | 113 | char *codeset = nl_langinfo(CODESET); | ||
1381 | 114 | 114 | ||
1382 | 115 | if (!Section.FindS("Description").empty()) | 115 | if (!Section.FindS("Description").empty()) |
1383 | 116 | orig = Section.FindS("Description").c_str(); | 116 | orig = Section.FindS("Description").c_str(); |
1386 | 117 | else | 117 | else |
1387 | 118 | orig = Section.FindS(("Description-" + pkgIndexFile::LanguageCode()).c_str()).c_str(); | 118 | { |
1388 | 119 | vector<string> const lang = APT::Configuration::getLanguages(); | ||
1389 | 120 | for (vector<string>::const_iterator l = lang.begin(); | ||
1390 | 121 | orig.empty() && l != lang.end(); l++) | ||
1391 | 122 | orig = Section.FindS(string("Description-").append(*l).c_str()); | ||
1392 | 123 | } | ||
1393 | 119 | 124 | ||
1394 | 125 | char const * const codeset = nl_langinfo(CODESET); | ||
1395 | 120 | if (strcmp(codeset,"UTF-8") != 0) { | 126 | if (strcmp(codeset,"UTF-8") != 0) { |
1396 | 121 | UTF8ToCodeset(codeset, orig, &dest); | 127 | UTF8ToCodeset(codeset, orig, &dest); |
1397 | 122 | orig = dest; | 128 | orig = dest; |
1398 | 123 | 129 | ||
1399 | === modified file 'apt-pkg/deb/debsrcrecords.cc' | |||
1400 | --- apt-pkg/deb/debsrcrecords.cc 2009-12-18 16:08:45 +0000 | |||
1401 | +++ apt-pkg/deb/debsrcrecords.cc 2010-06-11 16:24:33 +0000 | |||
1402 | @@ -54,7 +54,8 @@ | |||
1403 | 54 | package/version records representing the build dependency. The returned | 54 | package/version records representing the build dependency. The returned |
1404 | 55 | array need not be freed and will be reused by the next call to this | 55 | array need not be freed and will be reused by the next call to this |
1405 | 56 | function */ | 56 | function */ |
1407 | 57 | bool debSrcRecordParser::BuildDepends(vector<pkgSrcRecords::Parser::BuildDepRec> &BuildDeps, bool ArchOnly) | 57 | bool debSrcRecordParser::BuildDepends(vector<pkgSrcRecords::Parser::BuildDepRec> &BuildDeps, |
1408 | 58 | bool const &ArchOnly, bool const &StripMultiArch) | ||
1409 | 58 | { | 59 | { |
1410 | 59 | unsigned int I; | 60 | unsigned int I; |
1411 | 60 | const char *Start, *Stop; | 61 | const char *Start, *Stop; |
1412 | @@ -77,7 +78,7 @@ | |||
1413 | 77 | while (1) | 78 | while (1) |
1414 | 78 | { | 79 | { |
1415 | 79 | Start = debListParser::ParseDepends(Start, Stop, | 80 | Start = debListParser::ParseDepends(Start, Stop, |
1417 | 80 | rec.Package,rec.Version,rec.Op,true); | 81 | rec.Package,rec.Version,rec.Op,true, StripMultiArch); |
1418 | 81 | 82 | ||
1419 | 82 | if (Start == 0) | 83 | if (Start == 0) |
1420 | 83 | return _error->Error("Problem parsing dependency: %s", fields[I]); | 84 | return _error->Error("Problem parsing dependency: %s", fields[I]); |
1421 | 84 | 85 | ||
1422 | === modified file 'apt-pkg/deb/debsrcrecords.h' | |||
1423 | --- apt-pkg/deb/debsrcrecords.h 2009-07-30 15:34:48 +0000 | |||
1424 | +++ apt-pkg/deb/debsrcrecords.h 2010-06-11 16:24:33 +0000 | |||
1425 | @@ -30,14 +30,14 @@ | |||
1426 | 30 | 30 | ||
1427 | 31 | virtual bool Restart() {return Tags.Jump(Sect,0);}; | 31 | virtual bool Restart() {return Tags.Jump(Sect,0);}; |
1428 | 32 | virtual bool Step() {iOffset = Tags.Offset(); return Tags.Step(Sect);}; | 32 | virtual bool Step() {iOffset = Tags.Offset(); return Tags.Step(Sect);}; |
1430 | 33 | virtual bool Jump(unsigned long Off) {iOffset = Off; return Tags.Jump(Sect,Off);}; | 33 | virtual bool Jump(unsigned long const &Off) {iOffset = Off; return Tags.Jump(Sect,Off);}; |
1431 | 34 | 34 | ||
1432 | 35 | virtual string Package() const {return Sect.FindS("Package");}; | 35 | virtual string Package() const {return Sect.FindS("Package");}; |
1433 | 36 | virtual string Version() const {return Sect.FindS("Version");}; | 36 | virtual string Version() const {return Sect.FindS("Version");}; |
1434 | 37 | virtual string Maintainer() const {return Sect.FindS("Maintainer");}; | 37 | virtual string Maintainer() const {return Sect.FindS("Maintainer");}; |
1435 | 38 | virtual string Section() const {return Sect.FindS("Section");}; | 38 | virtual string Section() const {return Sect.FindS("Section");}; |
1436 | 39 | virtual const char **Binaries(); | 39 | virtual const char **Binaries(); |
1438 | 40 | virtual bool BuildDepends(vector<BuildDepRec> &BuildDeps, bool ArchOnly); | 40 | virtual bool BuildDepends(vector<BuildDepRec> &BuildDeps, bool const &ArchOnly, bool const &StripMultiArch = true); |
1439 | 41 | virtual unsigned long Offset() {return iOffset;}; | 41 | virtual unsigned long Offset() {return iOffset;}; |
1440 | 42 | virtual string AsStr() | 42 | virtual string AsStr() |
1441 | 43 | { | 43 | { |
1442 | @@ -47,7 +47,7 @@ | |||
1443 | 47 | }; | 47 | }; |
1444 | 48 | virtual bool Files(vector<pkgSrcRecords::File> &F); | 48 | virtual bool Files(vector<pkgSrcRecords::File> &F); |
1445 | 49 | 49 | ||
1447 | 50 | debSrcRecordParser(string File,pkgIndexFile const *Index) | 50 | debSrcRecordParser(string const &File,pkgIndexFile const *Index) |
1448 | 51 | : Parser(Index), Fd(File,FileFd::ReadOnly), Tags(&Fd,102400), | 51 | : Parser(Index), Fd(File,FileFd::ReadOnly), Tags(&Fd,102400), |
1449 | 52 | Buffer(0), BufSize(0) {} | 52 | Buffer(0), BufSize(0) {} |
1450 | 53 | ~debSrcRecordParser(); | 53 | ~debSrcRecordParser(); |
1451 | 54 | 54 | ||
1452 | === modified file 'apt-pkg/deb/dpkgpm.cc' | |||
1453 | --- apt-pkg/deb/dpkgpm.cc 2010-05-30 18:44:11 +0000 | |||
1454 | +++ apt-pkg/deb/dpkgpm.cc 2010-06-11 16:24:33 +0000 | |||
1455 | @@ -1082,7 +1082,7 @@ | |||
1456 | 1082 | } | 1082 | } |
1457 | 1083 | // wait for input or output here | 1083 | // wait for input or output here |
1458 | 1084 | FD_ZERO(&rfds); | 1084 | FD_ZERO(&rfds); |
1460 | 1085 | if (!stdin_is_dev_null) | 1085 | if (master >= 0 && !stdin_is_dev_null) |
1461 | 1086 | FD_SET(0, &rfds); | 1086 | FD_SET(0, &rfds); |
1462 | 1087 | FD_SET(_dpkgin, &rfds); | 1087 | FD_SET(_dpkgin, &rfds); |
1463 | 1088 | if(master >= 0) | 1088 | if(master >= 0) |
1464 | 1089 | 1089 | ||
1465 | === modified file 'apt-pkg/depcache.cc' | |||
1466 | --- apt-pkg/depcache.cc 2009-12-18 16:08:45 +0000 | |||
1467 | +++ apt-pkg/depcache.cc 2010-06-11 16:24:33 +0000 | |||
1468 | @@ -186,16 +186,16 @@ | |||
1469 | 186 | if(reason > 0) | 186 | if(reason > 0) |
1470 | 187 | PkgState[pkg->ID].Flags |= Flag::Auto; | 187 | PkgState[pkg->ID].Flags |= Flag::Auto; |
1471 | 188 | if(debug_autoremove) | 188 | if(debug_autoremove) |
1473 | 189 | std::cout << "Auto-Installed : " << pkgname << std::endl; | 189 | std::clog << "Auto-Installed : " << pkgname << std::endl; |
1474 | 190 | amt+=section.size(); | 190 | amt+=section.size(); |
1475 | 191 | if(Prog != NULL) | 191 | if(Prog != NULL) |
1476 | 192 | Prog->OverallProgress(amt, file_size, 1, | 192 | Prog->OverallProgress(amt, file_size, 1, |
1477 | 193 | _("Reading state information")); | 193 | _("Reading state information")); |
1478 | 194 | } | 194 | } |
1479 | 195 | if(Prog != NULL) | ||
1480 | 196 | Prog->OverallProgress(file_size, file_size, 1, | ||
1481 | 197 | _("Reading state information")); | ||
1482 | 198 | } | 195 | } |
1483 | 196 | if(Prog != NULL) | ||
1484 | 197 | Prog->OverallProgress(file_size, file_size, 1, | ||
1485 | 198 | _("Reading state information")); | ||
1486 | 199 | } | 199 | } |
1487 | 200 | 200 | ||
1488 | 201 | return true; | 201 | return true; |
1489 | @@ -1511,7 +1511,7 @@ | |||
1490 | 1511 | { | 1511 | { |
1491 | 1512 | state.Garbage=true; | 1512 | state.Garbage=true; |
1492 | 1513 | if(debug_autoremove) | 1513 | if(debug_autoremove) |
1494 | 1514 | std::cout << "Garbage: " << p.Name() << std::endl; | 1514 | std::clog << "Garbage: " << p.Name() << std::endl; |
1495 | 1515 | } | 1515 | } |
1496 | 1516 | } | 1516 | } |
1497 | 1517 | 1517 | ||
1498 | 1518 | 1518 | ||
1499 | === modified file 'apt-pkg/indexfile.cc' | |||
1500 | --- apt-pkg/indexfile.cc 2010-05-05 08:16:02 +0000 | |||
1501 | +++ apt-pkg/indexfile.cc 2010-06-11 16:24:33 +0000 | |||
1502 | @@ -8,9 +8,9 @@ | |||
1503 | 8 | ##################################################################### */ | 8 | ##################################################################### */ |
1504 | 9 | /*}}}*/ | 9 | /*}}}*/ |
1505 | 10 | // Include Files /*{{{*/ | 10 | // Include Files /*{{{*/ |
1506 | 11 | #include <apt-pkg/configuration.h> | ||
1507 | 12 | #include <apt-pkg/indexfile.h> | 11 | #include <apt-pkg/indexfile.h> |
1508 | 13 | #include <apt-pkg/error.h> | 12 | #include <apt-pkg/error.h> |
1509 | 13 | #include <apt-pkg/aptconfiguration.h> | ||
1510 | 14 | 14 | ||
1511 | 15 | #include <clocale> | 15 | #include <clocale> |
1512 | 16 | #include <cstring> | 16 | #include <cstring> |
1513 | @@ -66,34 +66,23 @@ | |||
1514 | 66 | return string(); | 66 | return string(); |
1515 | 67 | } | 67 | } |
1516 | 68 | /*}}}*/ | 68 | /*}}}*/ |
1518 | 69 | // IndexFile::TranslationsAvailable - Check if will use Translation /*{{{*/ | 69 | // IndexFile::TranslationsAvailable - Check if will use Translation /*{{{*/ |
1519 | 70 | // --------------------------------------------------------------------- | 70 | // --------------------------------------------------------------------- |
1520 | 71 | /* */ | 71 | /* */ |
1529 | 72 | bool pkgIndexFile::TranslationsAvailable() | 72 | bool pkgIndexFile::TranslationsAvailable() { |
1530 | 73 | { | 73 | return (APT::Configuration::getLanguages().empty() != true); |
1523 | 74 | const string Translation = _config->Find("APT::Acquire::Translation"); | ||
1524 | 75 | |||
1525 | 76 | if (Translation.compare("none") != 0) | ||
1526 | 77 | return CheckLanguageCode(LanguageCode().c_str()); | ||
1527 | 78 | else | ||
1528 | 79 | return false; | ||
1531 | 80 | } | 74 | } |
1532 | 81 | /*}}}*/ | 75 | /*}}}*/ |
1534 | 82 | // IndexFile::CheckLanguageCode - Check the Language Code /*{{{*/ | 76 | // IndexFile::CheckLanguageCode - Check the Language Code /*{{{*/ |
1535 | 83 | // --------------------------------------------------------------------- | 77 | // --------------------------------------------------------------------- |
1543 | 84 | /* */ | 78 | /* No intern need for this method anymore as the check for correctness |
1544 | 85 | /* common cases: de_DE, de_DE@euro, de_DE.UTF-8, de_DE.UTF-8@euro, | 79 | is already done in getLanguages(). Note also that this check is |
1545 | 86 | de_DE.ISO8859-1, tig_ER | 80 | rather bad (doesn't take three character like ast into account). |
1546 | 87 | more in /etc/gdm/locale.conf | 81 | TODO: Remove method with next API break */ |
1547 | 88 | */ | 82 | __attribute__ ((deprecated)) bool pkgIndexFile::CheckLanguageCode(const char *Lang) |
1541 | 89 | |||
1542 | 90 | bool pkgIndexFile::CheckLanguageCode(const char *Lang) | ||
1548 | 91 | { | 83 | { |
1554 | 92 | if (strlen(Lang) == 2 || | 84 | if (strlen(Lang) == 2 || (strlen(Lang) == 5 && Lang[2] == '_')) |
1555 | 93 | strlen(Lang) == 3 || | 85 | return true; |
1551 | 94 | (strlen(Lang) > 3 && Lang[3] == '_') || | ||
1552 | 95 | (strlen(Lang) == 5 && Lang[2] == '_')) | ||
1553 | 96 | return true; | ||
1556 | 97 | 86 | ||
1557 | 98 | if (strcmp(Lang,"C") != 0) | 87 | if (strcmp(Lang,"C") != 0) |
1558 | 99 | _error->Warning("Wrong language code %s", Lang); | 88 | _error->Warning("Wrong language code %s", Lang); |
1559 | @@ -101,8 +90,9 @@ | |||
1560 | 101 | return false; | 90 | return false; |
1561 | 102 | } | 91 | } |
1562 | 103 | /*}}}*/ | 92 | /*}}}*/ |
1564 | 104 | // IndexFile::LanguageCode - Return the Language Code /*{{{*/ | 93 | // IndexFile::LanguageCode - Return the Language Code /*{{{*/ |
1565 | 105 | // --------------------------------------------------------------------- | 94 | // --------------------------------------------------------------------- |
1566 | 95 | <<<<<<< TREE | ||
1567 | 106 | /* return the language code */ | 96 | /* return the language code */ |
1568 | 107 | string pkgIndexFile::LanguageCode() | 97 | string pkgIndexFile::LanguageCode() |
1569 | 108 | { | 98 | { |
1570 | @@ -133,5 +123,14 @@ | |||
1571 | 133 | } | 123 | } |
1572 | 134 | else | 124 | else |
1573 | 135 | return Translation; | 125 | return Translation; |
1574 | 126 | ======= | ||
1575 | 127 | /* As we have now possibly more than one LanguageCode this method is | ||
1576 | 128 | supersided by a) private classmembers or b) getLanguages(). | ||
1577 | 129 | TODO: Remove method with next API break */ | ||
1578 | 130 | __attribute__ ((deprecated)) string pkgIndexFile::LanguageCode() { | ||
1579 | 131 | if (TranslationsAvailable() == false) | ||
1580 | 132 | return ""; | ||
1581 | 133 | return APT::Configuration::getLanguages()[0]; | ||
1582 | 134 | >>>>>>> MERGE-SOURCE | ||
1583 | 136 | } | 135 | } |
1584 | 137 | /*}}}*/ | 136 | /*}}}*/ |
1585 | 138 | 137 | ||
1586 | === modified file 'apt-pkg/init.h' | |||
1587 | --- apt-pkg/init.h 2009-12-18 16:08:45 +0000 | |||
1588 | +++ apt-pkg/init.h 2010-06-11 16:24:33 +0000 | |||
1589 | @@ -22,7 +22,7 @@ | |||
1590 | 22 | // Non-ABI-Breaks should only increase RELEASE number. | 22 | // Non-ABI-Breaks should only increase RELEASE number. |
1591 | 23 | // See also buildlib/libversion.mak | 23 | // See also buildlib/libversion.mak |
1592 | 24 | #define APT_PKG_MAJOR 4 | 24 | #define APT_PKG_MAJOR 4 |
1594 | 25 | #define APT_PKG_MINOR 8 | 25 | #define APT_PKG_MINOR 9 |
1595 | 26 | #define APT_PKG_RELEASE 0 | 26 | #define APT_PKG_RELEASE 0 |
1596 | 27 | 27 | ||
1597 | 28 | extern const char *pkgVersion; | 28 | extern const char *pkgVersion; |
1598 | 29 | 29 | ||
1599 | === modified file 'apt-pkg/makefile' | |||
1600 | --- apt-pkg/makefile 2010-02-17 21:40:05 +0000 | |||
1601 | +++ apt-pkg/makefile 2010-06-11 16:24:33 +0000 | |||
1602 | @@ -14,7 +14,7 @@ | |||
1603 | 14 | LIBRARY=apt-pkg | 14 | LIBRARY=apt-pkg |
1604 | 15 | MAJOR=$(LIBAPTPKG_MAJOR) | 15 | MAJOR=$(LIBAPTPKG_MAJOR) |
1605 | 16 | MINOR=$(LIBAPTPKG_RELEASE) | 16 | MINOR=$(LIBAPTPKG_RELEASE) |
1607 | 17 | SLIBS=$(PTHREADLIB) $(INTLLIBS) -lutil -ldl | 17 | SLIBS=$(PTHREADLIB) $(INTLLIBS) -lutil -ldl -lz |
1608 | 18 | APT_DOMAIN:=libapt-pkg$(LIBAPTPKG_MAJOR) | 18 | APT_DOMAIN:=libapt-pkg$(LIBAPTPKG_MAJOR) |
1609 | 19 | 19 | ||
1610 | 20 | # Source code for the contributed non-core things | 20 | # Source code for the contributed non-core things |
1611 | 21 | 21 | ||
1612 | === modified file 'apt-pkg/pkgcache.cc' | |||
1613 | --- apt-pkg/pkgcache.cc 2010-02-17 21:40:05 +0000 | |||
1614 | +++ apt-pkg/pkgcache.cc 2010-06-11 16:24:33 +0000 | |||
1615 | @@ -22,11 +22,12 @@ | |||
1616 | 22 | // Include Files /*{{{*/ | 22 | // Include Files /*{{{*/ |
1617 | 23 | #include <apt-pkg/pkgcache.h> | 23 | #include <apt-pkg/pkgcache.h> |
1618 | 24 | #include <apt-pkg/policy.h> | 24 | #include <apt-pkg/policy.h> |
1619 | 25 | #include <apt-pkg/indexfile.h> | ||
1620 | 26 | #include <apt-pkg/version.h> | 25 | #include <apt-pkg/version.h> |
1621 | 27 | #include <apt-pkg/error.h> | 26 | #include <apt-pkg/error.h> |
1622 | 28 | #include <apt-pkg/strutl.h> | 27 | #include <apt-pkg/strutl.h> |
1623 | 29 | #include <apt-pkg/configuration.h> | 28 | #include <apt-pkg/configuration.h> |
1624 | 29 | #include <apt-pkg/aptconfiguration.h> | ||
1625 | 30 | #include <apt-pkg/macros.h> | ||
1626 | 30 | 31 | ||
1627 | 31 | #include <apti18n.h> | 32 | #include <apti18n.h> |
1628 | 32 | 33 | ||
1629 | @@ -673,14 +674,22 @@ | |||
1630 | 673 | */ | 674 | */ |
1631 | 674 | pkgCache::DescIterator pkgCache::VerIterator::TranslatedDescription() const | 675 | pkgCache::DescIterator pkgCache::VerIterator::TranslatedDescription() const |
1632 | 675 | { | 676 | { |
1641 | 676 | pkgCache::DescIterator DescDefault = DescriptionList(); | 677 | std::vector<string> const lang = APT::Configuration::getLanguages(); |
1642 | 677 | pkgCache::DescIterator Desc = DescDefault; | 678 | for (std::vector<string>::const_iterator l = lang.begin(); |
1643 | 678 | for (; Desc.end() == false; Desc++) | 679 | l != lang.end(); l++) |
1644 | 679 | if (pkgIndexFile::LanguageCode() == Desc.LanguageCode()) | 680 | { |
1645 | 680 | break; | 681 | pkgCache::DescIterator DescDefault = DescriptionList(); |
1646 | 681 | if (Desc.end() == true) | 682 | pkgCache::DescIterator Desc = DescDefault; |
1647 | 682 | Desc = DescDefault; | 683 | |
1648 | 683 | return Desc; | 684 | for (; Desc.end() == false; Desc++) |
1649 | 685 | if (*l == Desc.LanguageCode()) | ||
1650 | 686 | break; | ||
1651 | 687 | if (Desc.end() == true) | ||
1652 | 688 | Desc = DescDefault; | ||
1653 | 689 | return Desc; | ||
1654 | 690 | } | ||
1655 | 691 | |||
1656 | 692 | return DescriptionList(); | ||
1657 | 684 | }; | 693 | }; |
1658 | 685 | 694 | ||
1659 | 686 | /*}}}*/ | 695 | /*}}}*/ |
1660 | 687 | 696 | ||
1661 | === modified file 'apt-pkg/pkgcache.h' | |||
1662 | --- apt-pkg/pkgcache.h 2009-07-30 15:34:48 +0000 | |||
1663 | +++ apt-pkg/pkgcache.h 2010-06-11 16:24:33 +0000 | |||
1664 | @@ -245,7 +245,7 @@ | |||
1665 | 245 | map_ptrloc File; // PackageFile | 245 | map_ptrloc File; // PackageFile |
1666 | 246 | map_ptrloc NextFile; // PkgVerFile | 246 | map_ptrloc NextFile; // PkgVerFile |
1667 | 247 | map_ptrloc Offset; // File offset | 247 | map_ptrloc Offset; // File offset |
1669 | 248 | unsigned short Size; | 248 | unsigned long Size; |
1670 | 249 | }; | 249 | }; |
1671 | 250 | /*}}}*/ | 250 | /*}}}*/ |
1672 | 251 | struct pkgCache::DescFile /*{{{*/ | 251 | struct pkgCache::DescFile /*{{{*/ |
1673 | @@ -253,7 +253,7 @@ | |||
1674 | 253 | map_ptrloc File; // PackageFile | 253 | map_ptrloc File; // PackageFile |
1675 | 254 | map_ptrloc NextFile; // PkgVerFile | 254 | map_ptrloc NextFile; // PkgVerFile |
1676 | 255 | map_ptrloc Offset; // File offset | 255 | map_ptrloc Offset; // File offset |
1678 | 256 | unsigned short Size; | 256 | unsigned long Size; |
1679 | 257 | }; | 257 | }; |
1680 | 258 | /*}}}*/ | 258 | /*}}}*/ |
1681 | 259 | struct pkgCache::Version /*{{{*/ | 259 | struct pkgCache::Version /*{{{*/ |
1682 | 260 | 260 | ||
1683 | === modified file 'apt-pkg/policy.cc' | |||
1684 | --- apt-pkg/policy.cc 2010-02-17 21:40:05 +0000 | |||
1685 | +++ apt-pkg/policy.cc 2010-06-11 16:24:33 +0000 | |||
1686 | @@ -106,7 +106,7 @@ | |||
1687 | 106 | 106 | ||
1688 | 107 | if (_config->FindB("Debug::pkgPolicy",false) == true) | 107 | if (_config->FindB("Debug::pkgPolicy",false) == true) |
1689 | 108 | for (pkgCache::PkgFileIterator F = Cache->FileBegin(); F != Cache->FileEnd(); F++) | 108 | for (pkgCache::PkgFileIterator F = Cache->FileBegin(); F != Cache->FileEnd(); F++) |
1691 | 109 | cout << "Prio of " << F.FileName() << ' ' << PFPriority[F->ID] << endl; | 109 | std::clog << "Prio of " << F.FileName() << ' ' << PFPriority[F->ID] << std::endl; |
1692 | 110 | 110 | ||
1693 | 111 | return true; | 111 | return true; |
1694 | 112 | } | 112 | } |
1695 | @@ -121,6 +121,10 @@ | |||
1696 | 121 | signed Max = GetPriority(Pkg); | 121 | signed Max = GetPriority(Pkg); |
1697 | 122 | pkgCache::VerIterator Pref = GetMatch(Pkg); | 122 | pkgCache::VerIterator Pref = GetMatch(Pkg); |
1698 | 123 | 123 | ||
1699 | 124 | // Alternatives in case we can not find our package pin (Bug#512318). | ||
1700 | 125 | signed MaxAlt = 0; | ||
1701 | 126 | pkgCache::VerIterator PrefAlt; | ||
1702 | 127 | |||
1703 | 124 | // no package = no candidate version | 128 | // no package = no candidate version |
1704 | 125 | if (Pkg.end() == true) | 129 | if (Pkg.end() == true) |
1705 | 126 | return Pref; | 130 | return Pref; |
1706 | @@ -159,6 +163,11 @@ | |||
1707 | 159 | { | 163 | { |
1708 | 160 | Pref = Ver; | 164 | Pref = Ver; |
1709 | 161 | Max = Prio; | 165 | Max = Prio; |
1710 | 166 | } | ||
1711 | 167 | if (Prio > MaxAlt) | ||
1712 | 168 | { | ||
1713 | 169 | PrefAlt = Ver; | ||
1714 | 170 | MaxAlt = Prio; | ||
1715 | 162 | } | 171 | } |
1716 | 163 | } | 172 | } |
1717 | 164 | 173 | ||
1718 | @@ -175,6 +184,11 @@ | |||
1719 | 175 | break; | 184 | break; |
1720 | 176 | } | 185 | } |
1721 | 177 | } | 186 | } |
1722 | 187 | // If we do not find our candidate, use the one with the highest pin. | ||
1723 | 188 | // This means that if there is a version available with pin > 0; there | ||
1724 | 189 | // will always be a candidate (Closes: #512318) | ||
1725 | 190 | if (!Pref.IsGood() && MaxAlt > 0) | ||
1726 | 191 | Pref = PrefAlt; | ||
1727 | 178 | return Pref; | 192 | return Pref; |
1728 | 179 | } | 193 | } |
1729 | 180 | /*}}}*/ | 194 | /*}}}*/ |
1730 | 181 | 195 | ||
1731 | === modified file 'apt-pkg/srcrecords.cc' | |||
1732 | --- apt-pkg/srcrecords.cc 2007-06-14 09:59:13 +0000 | |||
1733 | +++ apt-pkg/srcrecords.cc 2010-06-11 16:24:33 +0000 | |||
1734 | @@ -77,7 +77,7 @@ | |||
1735 | 77 | /* This searches on both source package names and output binary names and | 77 | /* This searches on both source package names and output binary names and |
1736 | 78 | returns the first found. A 'cursor' like system is used to allow this | 78 | returns the first found. A 'cursor' like system is used to allow this |
1737 | 79 | function to be called multiple times to get successive entries */ | 79 | function to be called multiple times to get successive entries */ |
1739 | 80 | pkgSrcRecords::Parser *pkgSrcRecords::Find(const char *Package,bool SrcOnly) | 80 | pkgSrcRecords::Parser *pkgSrcRecords::Find(const char *Package,bool const &SrcOnly) |
1740 | 81 | { | 81 | { |
1741 | 82 | if (Current == Files.end()) | 82 | if (Current == Files.end()) |
1742 | 83 | return 0; | 83 | return 0; |
1743 | @@ -116,7 +116,7 @@ | |||
1744 | 116 | // Parser::BuildDepType - Convert a build dep to a string /*{{{*/ | 116 | // Parser::BuildDepType - Convert a build dep to a string /*{{{*/ |
1745 | 117 | // --------------------------------------------------------------------- | 117 | // --------------------------------------------------------------------- |
1746 | 118 | /* */ | 118 | /* */ |
1748 | 119 | const char *pkgSrcRecords::Parser::BuildDepType(unsigned char Type) | 119 | const char *pkgSrcRecords::Parser::BuildDepType(unsigned char const &Type) |
1749 | 120 | { | 120 | { |
1750 | 121 | const char *fields[] = {"Build-Depends", | 121 | const char *fields[] = {"Build-Depends", |
1751 | 122 | "Build-Depends-Indep", | 122 | "Build-Depends-Indep", |
1752 | 123 | 123 | ||
1753 | === modified file 'apt-pkg/srcrecords.h' | |||
1754 | --- apt-pkg/srcrecords.h 2007-06-14 09:59:13 +0000 | |||
1755 | +++ apt-pkg/srcrecords.h 2010-06-11 16:24:33 +0000 | |||
1756 | @@ -59,7 +59,7 @@ | |||
1757 | 59 | 59 | ||
1758 | 60 | virtual bool Restart() = 0; | 60 | virtual bool Restart() = 0; |
1759 | 61 | virtual bool Step() = 0; | 61 | virtual bool Step() = 0; |
1761 | 62 | virtual bool Jump(unsigned long Off) = 0; | 62 | virtual bool Jump(unsigned long const &Off) = 0; |
1762 | 63 | virtual unsigned long Offset() = 0; | 63 | virtual unsigned long Offset() = 0; |
1763 | 64 | virtual string AsStr() = 0; | 64 | virtual string AsStr() = 0; |
1764 | 65 | 65 | ||
1765 | @@ -69,8 +69,8 @@ | |||
1766 | 69 | virtual string Section() const = 0; | 69 | virtual string Section() const = 0; |
1767 | 70 | virtual const char **Binaries() = 0; // Ownership does not transfer | 70 | virtual const char **Binaries() = 0; // Ownership does not transfer |
1768 | 71 | 71 | ||
1771 | 72 | virtual bool BuildDepends(vector<BuildDepRec> &BuildDeps, bool ArchOnly) = 0; | 72 | virtual bool BuildDepends(vector<BuildDepRec> &BuildDeps, bool const &ArchOnly, bool const &StripMultiArch = true) = 0; |
1772 | 73 | static const char *BuildDepType(unsigned char Type); | 73 | static const char *BuildDepType(unsigned char const &Type); |
1773 | 74 | 74 | ||
1774 | 75 | virtual bool Files(vector<pkgSrcRecords::File> &F) = 0; | 75 | virtual bool Files(vector<pkgSrcRecords::File> &F) = 0; |
1775 | 76 | 76 | ||
1776 | @@ -90,7 +90,7 @@ | |||
1777 | 90 | bool Restart(); | 90 | bool Restart(); |
1778 | 91 | 91 | ||
1779 | 92 | // Locate a package by name | 92 | // Locate a package by name |
1781 | 93 | Parser *Find(const char *Package,bool SrcOnly = false); | 93 | Parser *Find(const char *Package,bool const &SrcOnly = false); |
1782 | 94 | 94 | ||
1783 | 95 | pkgSrcRecords(pkgSourceList &List); | 95 | pkgSrcRecords(pkgSourceList &List); |
1784 | 96 | ~pkgSrcRecords(); | 96 | ~pkgSrcRecords(); |
1785 | 97 | 97 | ||
1786 | === modified file 'buildlib/apti18n.h.in' | |||
1787 | --- buildlib/apti18n.h.in 2008-11-24 10:16:13 +0000 | |||
1788 | +++ buildlib/apti18n.h.in 2010-06-11 16:24:33 +0000 | |||
1789 | @@ -11,8 +11,10 @@ | |||
1790 | 11 | # include <libintl.h> | 11 | # include <libintl.h> |
1791 | 12 | # ifdef APT_DOMAIN | 12 | # ifdef APT_DOMAIN |
1792 | 13 | # define _(x) dgettext(APT_DOMAIN,x) | 13 | # define _(x) dgettext(APT_DOMAIN,x) |
1793 | 14 | # define P_(msg,plural,n) dngettext(APT_DOMAIN,msg,plural,n) | ||
1794 | 14 | # else | 15 | # else |
1795 | 15 | # define _(x) gettext(x) | 16 | # define _(x) gettext(x) |
1796 | 17 | # define P_(msg,plural,n) ngettext(msg,plural,n) | ||
1797 | 16 | # endif | 18 | # endif |
1798 | 17 | # define N_(x) x | 19 | # define N_(x) x |
1799 | 18 | #else | 20 | #else |
1800 | @@ -21,5 +23,6 @@ | |||
1801 | 21 | # define textdomain(a) | 23 | # define textdomain(a) |
1802 | 22 | # define bindtextdomain(a, b) | 24 | # define bindtextdomain(a, b) |
1803 | 23 | # define _(x) x | 25 | # define _(x) x |
1804 | 26 | # define P_(msg,plural,n) (n == 1 ? msg : plural) | ||
1805 | 24 | # define N_(x) x | 27 | # define N_(x) x |
1806 | 25 | #endif | 28 | #endif |
1807 | 26 | 29 | ||
1808 | === modified file 'buildlib/library.mak' | |||
1809 | --- buildlib/library.mak 2009-12-12 00:54:33 +0000 | |||
1810 | +++ buildlib/library.mak 2010-06-11 16:24:33 +0000 | |||
1811 | @@ -16,11 +16,11 @@ | |||
1812 | 16 | # See defaults.mak for information about LOCAL | 16 | # See defaults.mak for information about LOCAL |
1813 | 17 | 17 | ||
1814 | 18 | # Some local definitions | 18 | # Some local definitions |
1816 | 19 | LOCAL := lib$(LIBRARY)$(LIBEXT).so.$(MAJOR).$(MINOR) | 19 | LOCAL := lib$(LIBRARY).so.$(MAJOR).$(MINOR) |
1817 | 20 | $(LOCAL)-OBJS := $(addprefix $(OBJ)/,$(addsuffix .opic,$(notdir $(basename $(SOURCE))))) | 20 | $(LOCAL)-OBJS := $(addprefix $(OBJ)/,$(addsuffix .opic,$(notdir $(basename $(SOURCE))))) |
1818 | 21 | $(LOCAL)-DEP := $(addprefix $(DEP)/,$(addsuffix .opic.d,$(notdir $(basename $(SOURCE))))) | 21 | $(LOCAL)-DEP := $(addprefix $(DEP)/,$(addsuffix .opic.d,$(notdir $(basename $(SOURCE))))) |
1819 | 22 | $(LOCAL)-HEADERS := $(addprefix $(INCLUDE)/,$(HEADERS)) | 22 | $(LOCAL)-HEADERS := $(addprefix $(INCLUDE)/,$(HEADERS)) |
1821 | 23 | $(LOCAL)-SONAME := lib$(LIBRARY)$(LIBEXT).so.$(MAJOR) | 23 | $(LOCAL)-SONAME := lib$(LIBRARY).so.$(MAJOR) |
1822 | 24 | $(LOCAL)-SLIBS := $(SLIBS) | 24 | $(LOCAL)-SLIBS := $(SLIBS) |
1823 | 25 | $(LOCAL)-LIBRARY := $(LIBRARY) | 25 | $(LOCAL)-LIBRARY := $(LIBRARY) |
1824 | 26 | 26 | ||
1825 | @@ -29,7 +29,7 @@ | |||
1826 | 29 | 29 | ||
1827 | 30 | # Install the command hooks | 30 | # Install the command hooks |
1828 | 31 | headers: $($(LOCAL)-HEADERS) | 31 | headers: $($(LOCAL)-HEADERS) |
1830 | 32 | library: $(LIB)/lib$(LIBRARY).so $(LIB)/lib$(LIBRARY)$(LIBEXT).so.$(MAJOR) | 32 | library: $(LIB)/lib$(LIBRARY).so $(LIB)/lib$(LIBRARY).so.$(MAJOR) |
1831 | 33 | clean: clean/$(LOCAL) | 33 | clean: clean/$(LOCAL) |
1832 | 34 | veryclean: veryclean/$(LOCAL) | 34 | veryclean: veryclean/$(LOCAL) |
1833 | 35 | 35 | ||
1834 | @@ -44,14 +44,14 @@ | |||
1835 | 44 | -rm -f $($(@F)-HEADERS) $(LIB)/lib$($(@F)-LIBRARY)*.so* | 44 | -rm -f $($(@F)-HEADERS) $(LIB)/lib$($(@F)-LIBRARY)*.so* |
1836 | 45 | 45 | ||
1837 | 46 | # Build rules for the two symlinks | 46 | # Build rules for the two symlinks |
1840 | 47 | .PHONY: $(LIB)/lib$(LIBRARY)$(LIBEXT).so.$(MAJOR) $(LIB)/lib$(LIBRARY).so | 47 | .PHONY: $(LIB)/lib$(LIBRARY).so.$(MAJOR) $(LIB)/lib$(LIBRARY).so |
1841 | 48 | $(LIB)/lib$(LIBRARY)$(LIBEXT).so.$(MAJOR): $(LIB)/lib$(LIBRARY)$(LIBEXT).so.$(MAJOR).$(MINOR) | 48 | $(LIB)/lib$(LIBRARY).so.$(MAJOR): $(LIB)/lib$(LIBRARY).so.$(MAJOR).$(MINOR) |
1842 | 49 | ln -sf $(<F) $@ | 49 | ln -sf $(<F) $@ |
1844 | 50 | $(LIB)/lib$(LIBRARY).so: $(LIB)/lib$(LIBRARY)$(LIBEXT).so.$(MAJOR).$(MINOR) | 50 | $(LIB)/lib$(LIBRARY).so: $(LIB)/lib$(LIBRARY).so.$(MAJOR).$(MINOR) |
1845 | 51 | ln -sf $(<F) $@ | 51 | ln -sf $(<F) $@ |
1846 | 52 | 52 | ||
1847 | 53 | # The binary build rule | 53 | # The binary build rule |
1849 | 54 | $(LIB)/lib$(LIBRARY)$(LIBEXT).so.$(MAJOR).$(MINOR): $($(LOCAL)-HEADERS) $($(LOCAL)-OBJS) | 54 | $(LIB)/lib$(LIBRARY).so.$(MAJOR).$(MINOR): $($(LOCAL)-HEADERS) $($(LOCAL)-OBJS) |
1850 | 55 | -rm -f $(LIB)/lib$($(@F)-LIBRARY)*.so* 2> /dev/null | 55 | -rm -f $(LIB)/lib$($(@F)-LIBRARY)*.so* 2> /dev/null |
1851 | 56 | echo Building shared library $@ | 56 | echo Building shared library $@ |
1852 | 57 | $(CXX) $(CXXFLAGS) $(LDFLAGS) $(PICFLAGS) $(LFLAGS) $(LFLAGS_SO)\ | 57 | $(CXX) $(CXXFLAGS) $(LDFLAGS) $(PICFLAGS) $(LFLAGS) $(LFLAGS_SO)\ |
1853 | 58 | 58 | ||
1854 | === modified file 'buildlib/libversion.mak' | |||
1855 | --- buildlib/libversion.mak 2009-12-22 09:01:18 +0000 | |||
1856 | +++ buildlib/libversion.mak 2010-06-11 16:24:33 +0000 | |||
1857 | @@ -12,6 +12,7 @@ | |||
1858 | 12 | # The versionnumber is extracted from apt-inst/makefile - see also there. | 12 | # The versionnumber is extracted from apt-inst/makefile - see also there. |
1859 | 13 | LIBAPTINST_MAJOR=$(shell egrep '^MAJOR=' $(BASE)/apt-inst/makefile |cut -d '=' -f 2) | 13 | LIBAPTINST_MAJOR=$(shell egrep '^MAJOR=' $(BASE)/apt-inst/makefile |cut -d '=' -f 2) |
1860 | 14 | LIBAPTINST_MINOR=$(shell egrep '^MINOR=' $(BASE)/apt-inst/makefile |cut -d '=' -f 2) | 14 | LIBAPTINST_MINOR=$(shell egrep '^MINOR=' $(BASE)/apt-inst/makefile |cut -d '=' -f 2) |
1861 | 15 | <<<<<<< TREE | ||
1862 | 15 | 16 | ||
1863 | 16 | # FIXME: In previous releases this lovely variable includes | 17 | # FIXME: In previous releases this lovely variable includes |
1864 | 17 | # the detected libc and libdc++ version. As this is bogus we | 18 | # the detected libc and libdc++ version. As this is bogus we |
1865 | @@ -19,3 +20,5 @@ | |||
1866 | 19 | # And we don't want to do this now. So we hardcode a value here, | 20 | # And we don't want to do this now. So we hardcode a value here, |
1867 | 20 | # and drop it later on (hopefully as fast as possible). | 21 | # and drop it later on (hopefully as fast as possible). |
1868 | 21 | LIBEXT=-libc6.10-6 | 22 | LIBEXT=-libc6.10-6 |
1869 | 23 | ======= | ||
1870 | 24 | >>>>>>> MERGE-SOURCE | ||
1871 | 22 | 25 | ||
1872 | === modified file 'cmdline/apt-cache.cc' | |||
1873 | --- cmdline/apt-cache.cc 2010-02-17 21:40:05 +0000 | |||
1874 | +++ cmdline/apt-cache.cc 2010-06-11 16:24:33 +0000 | |||
1875 | @@ -1500,15 +1500,26 @@ | |||
1876 | 1500 | if (_error->PendingError() == true) | 1500 | if (_error->PendingError() == true) |
1877 | 1501 | return false; | 1501 | return false; |
1878 | 1502 | 1502 | ||
1879 | 1503 | unsigned found = 0; | ||
1880 | 1503 | for (const char **I = CmdL.FileList + 1; *I != 0; I++) | 1504 | for (const char **I = CmdL.FileList + 1; *I != 0; I++) |
1881 | 1504 | { | 1505 | { |
1882 | 1505 | SrcRecs.Restart(); | 1506 | SrcRecs.Restart(); |
1883 | 1506 | 1507 | ||
1884 | 1507 | pkgSrcRecords::Parser *Parse; | 1508 | pkgSrcRecords::Parser *Parse; |
1887 | 1508 | while ((Parse = SrcRecs.Find(*I,false)) != 0) | 1509 | unsigned found_this = 0; |
1888 | 1509 | cout << Parse->AsStr() << endl;; | 1510 | while ((Parse = SrcRecs.Find(*I,false)) != 0) { |
1889 | 1511 | cout << Parse->AsStr() << endl;; | ||
1890 | 1512 | found++; | ||
1891 | 1513 | found_this++; | ||
1892 | 1514 | } | ||
1893 | 1515 | if (found_this == 0) { | ||
1894 | 1516 | _error->Warning(_("Unable to locate package %s"),*I); | ||
1895 | 1517 | continue; | ||
1896 | 1518 | } | ||
1897 | 1510 | } | 1519 | } |
1899 | 1511 | return true; | 1520 | if (found > 0) |
1900 | 1521 | return true; | ||
1901 | 1522 | return _error->Error(_("No packages found")); | ||
1902 | 1512 | } | 1523 | } |
1903 | 1513 | /*}}}*/ | 1524 | /*}}}*/ |
1904 | 1514 | // Policy - Show the results of the preferences file /*{{{*/ | 1525 | // Policy - Show the results of the preferences file /*{{{*/ |
1905 | 1515 | 1526 | ||
1906 | === modified file 'cmdline/apt-get.cc' | |||
1907 | --- cmdline/apt-get.cc 2010-04-08 19:14:03 +0000 | |||
1908 | +++ cmdline/apt-get.cc 2010-06-11 16:24:33 +0000 | |||
1909 | @@ -1520,10 +1520,9 @@ | |||
1910 | 1520 | // only show stuff in the list that is not yet marked for removal | 1520 | // only show stuff in the list that is not yet marked for removal |
1911 | 1521 | if(Cache[Pkg].Delete() == false) | 1521 | if(Cache[Pkg].Delete() == false) |
1912 | 1522 | { | 1522 | { |
1913 | 1523 | ++autoRemoveCount; | ||
1914 | 1523 | // we don't need to fill the strings if we don't need them | 1524 | // we don't need to fill the strings if we don't need them |
1918 | 1524 | if (smallList == true) | 1525 | if (smallList == false) |
1916 | 1525 | ++autoRemoveCount; | ||
1917 | 1526 | else | ||
1919 | 1527 | { | 1526 | { |
1920 | 1528 | autoremovelist += string(Pkg.Name()) + " "; | 1527 | autoremovelist += string(Pkg.Name()) + " "; |
1921 | 1529 | autoremoveversions += string(Cache[Pkg].CandVersion) + "\n"; | 1528 | autoremoveversions += string(Cache[Pkg].CandVersion) + "\n"; |
1922 | @@ -1536,9 +1535,12 @@ | |||
1923 | 1536 | if (doAutoRemove == false && (autoremovelist.empty() == false || autoRemoveCount != 0)) | 1535 | if (doAutoRemove == false && (autoremovelist.empty() == false || autoRemoveCount != 0)) |
1924 | 1537 | { | 1536 | { |
1925 | 1538 | if (smallList == false) | 1537 | if (smallList == false) |
1927 | 1539 | ShowList(c1out, _("The following packages were automatically installed and are no longer required:"), autoremovelist, autoremoveversions); | 1538 | ShowList(c1out, P_("The following package is automatically installed and is no longer required:", |
1928 | 1539 | "The following packages were automatically installed and are no longer required:", | ||
1929 | 1540 | autoRemoveCount), autoremovelist, autoremoveversions); | ||
1930 | 1540 | else | 1541 | else |
1932 | 1541 | ioprintf(c1out, _("%lu packages were automatically installed and are no longer required.\n"), autoRemoveCount); | 1542 | ioprintf(c1out, P_("%lu package was automatically installed and is no longer required.\n", |
1933 | 1543 | "%lu packages were automatically installed and are no longer required.\n", autoRemoveCount), autoRemoveCount); | ||
1934 | 1542 | c1out << _("Use 'apt-get autoremove' to remove them.") << std::endl; | 1544 | c1out << _("Use 'apt-get autoremove' to remove them.") << std::endl; |
1935 | 1543 | } | 1545 | } |
1936 | 1544 | // Now see if we had destroyed anything (if we had done anything) | 1546 | // Now see if we had destroyed anything (if we had done anything) |
1937 | 1545 | 1547 | ||
1938 | === modified file 'cmdline/apt-key' | |||
1939 | --- cmdline/apt-key 2010-02-17 21:40:05 +0000 | |||
1940 | +++ cmdline/apt-key 2010-06-11 16:24:33 +0000 | |||
1941 | @@ -143,6 +143,7 @@ | |||
1942 | 143 | else | 143 | else |
1943 | 144 | #echo "generate list" | 144 | #echo "generate list" |
1944 | 145 | TRUSTEDFILE="/etc/apt/trusted.gpg" | 145 | TRUSTEDFILE="/etc/apt/trusted.gpg" |
1945 | 146 | eval $(apt-config shell TRUSTEDFILE Apt::GPGV::TrustedKeyring) | ||
1946 | 146 | if [ -r "$TRUSTEDFILE" ]; then | 147 | if [ -r "$TRUSTEDFILE" ]; then |
1947 | 147 | GPG="$GPG --keyring $TRUSTEDFILE" | 148 | GPG="$GPG --keyring $TRUSTEDFILE" |
1948 | 148 | fi | 149 | fi |
1949 | 149 | 150 | ||
1950 | === modified file 'cmdline/apt-mark' | |||
1951 | --- cmdline/apt-mark 2010-03-12 09:16:11 +0000 | |||
1952 | +++ cmdline/apt-mark 2010-06-11 16:24:33 +0000 | |||
1953 | @@ -19,10 +19,10 @@ | |||
1954 | 19 | if not os.path.exists(STATE_FILE): | 19 | if not os.path.exists(STATE_FILE): |
1955 | 20 | return | 20 | return |
1956 | 21 | auto = set() | 21 | auto = set() |
1961 | 22 | tagfile = apt_pkg.ParseTagFile(open(STATE_FILE)) | 22 | tagfile = apt_pkg.TagFile(open(STATE_FILE)) |
1962 | 23 | while tagfile.Step(): | 23 | for section in tagfile: |
1963 | 24 | pkgname = tagfile.Section.get("Package") | 24 | pkgname = section.get("Package") |
1964 | 25 | autoInst = tagfile.Section.get("Auto-Installed") | 25 | autoInst = section.get("Auto-Installed") |
1965 | 26 | if int(autoInst): | 26 | if int(autoInst): |
1966 | 27 | auto.add(pkgname) | 27 | auto.add(pkgname) |
1967 | 28 | print "\n".join(sorted(auto)) | 28 | print "\n".join(sorted(auto)) |
1968 | @@ -33,24 +33,24 @@ | |||
1969 | 33 | # open the statefile | 33 | # open the statefile |
1970 | 34 | if os.path.exists(STATE_FILE): | 34 | if os.path.exists(STATE_FILE): |
1971 | 35 | try: | 35 | try: |
1973 | 36 | tagfile = apt_pkg.ParseTagFile(open(STATE_FILE)) | 36 | tagfile = apt_pkg.TagFile(open(STATE_FILE)) |
1974 | 37 | outfile = open(STATE_FILE+".tmp","w") | 37 | outfile = open(STATE_FILE+".tmp","w") |
1975 | 38 | except IOError, msg: | 38 | except IOError, msg: |
1976 | 39 | print "%s, are you root?" % (msg) | 39 | print "%s, are you root?" % (msg) |
1977 | 40 | sys.exit(1) | 40 | sys.exit(1) |
1981 | 41 | while tagfile.Step(): | 41 | for section in tagfile: |
1982 | 42 | pkgname = tagfile.Section.get("Package") | 42 | pkgname = section.get("Package") |
1983 | 43 | autoInst = tagfile.Section.get("Auto-Installed") | 43 | autoInst = section.get("Auto-Installed") |
1984 | 44 | if pkgname in pkgs: | 44 | if pkgname in pkgs: |
1985 | 45 | if options.verbose: | 45 | if options.verbose: |
1986 | 46 | print "changing %s to %s" % (pkgname,action) | 46 | print "changing %s to %s" % (pkgname,action) |
1988 | 47 | newsec = apt_pkg.RewriteSection(tagfile.Section, | 47 | newsec = apt_pkg.rewrite_section(section, |
1989 | 48 | [], | 48 | [], |
1990 | 49 | [ ("Auto-Installed",str(action)) ]) | 49 | [ ("Auto-Installed",str(action)) ]) |
1991 | 50 | pkgs.remove(pkgname) | 50 | pkgs.remove(pkgname) |
1992 | 51 | outfile.write(newsec+"\n") | 51 | outfile.write(newsec+"\n") |
1993 | 52 | else: | 52 | else: |
1995 | 53 | outfile.write(str(tagfile.Section)+"\n") | 53 | outfile.write(str(section)+"\n") |
1996 | 54 | if action == 1: | 54 | if action == 1: |
1997 | 55 | for pkgname in pkgs: | 55 | for pkgname in pkgs: |
1998 | 56 | if options.verbose: | 56 | if options.verbose: |
1999 | @@ -78,7 +78,7 @@ | |||
2000 | 78 | 78 | ||
2001 | 79 | # get the state-file | 79 | # get the state-file |
2002 | 80 | if not options.filename: | 80 | if not options.filename: |
2004 | 81 | STATE_FILE = apt_pkg.Config.FindDir("Dir::State") + "extended_states" | 81 | STATE_FILE = apt_pkg.config.find_dir("Dir::State") + "extended_states" |
2005 | 82 | else: | 82 | else: |
2006 | 83 | STATE_FILE=options.filename | 83 | STATE_FILE=options.filename |
2007 | 84 | 84 | ||
2008 | 85 | 85 | ||
2009 | === modified file 'configure.in' | |||
2010 | --- configure.in 2010-02-17 21:40:05 +0000 | |||
2011 | +++ configure.in 2010-06-11 16:24:33 +0000 | |||
2012 | @@ -18,7 +18,11 @@ | |||
2013 | 18 | AC_CONFIG_HEADER(include/config.h:buildlib/config.h.in include/apti18n.h:buildlib/apti18n.h.in) | 18 | AC_CONFIG_HEADER(include/config.h:buildlib/config.h.in include/apti18n.h:buildlib/apti18n.h.in) |
2014 | 19 | 19 | ||
2015 | 20 | dnl -- SET THIS TO THE RELEASE VERSION -- | 20 | dnl -- SET THIS TO THE RELEASE VERSION -- |
2016 | 21 | <<<<<<< TREE | ||
2017 | 21 | AC_DEFINE_UNQUOTED(VERSION,"0.7.25ubuntu1") | 22 | AC_DEFINE_UNQUOTED(VERSION,"0.7.25ubuntu1") |
2018 | 23 | ======= | ||
2019 | 24 | AC_DEFINE_UNQUOTED(VERSION,"0.7.25.4") | ||
2020 | 25 | >>>>>>> MERGE-SOURCE | ||
2021 | 22 | PACKAGE="apt" | 26 | PACKAGE="apt" |
2022 | 23 | AC_DEFINE_UNQUOTED(PACKAGE,"$PACKAGE") | 27 | AC_DEFINE_UNQUOTED(PACKAGE,"$PACKAGE") |
2023 | 24 | AC_SUBST(PACKAGE) | 28 | AC_SUBST(PACKAGE) |
2024 | @@ -83,6 +87,10 @@ | |||
2025 | 83 | 87 | ||
2026 | 84 | AC_SUBST(BDBLIB) | 88 | AC_SUBST(BDBLIB) |
2027 | 85 | 89 | ||
2028 | 90 | AC_CHECK_LIB(z, gzopen, | ||
2029 | 91 | [AC_CHECK_HEADER(zlib.h, [], AC_MSG_ERROR([failed: zlib.h not found]))], | ||
2030 | 92 | AC_MSG_ERROR([failed: Need libz])) | ||
2031 | 93 | |||
2032 | 86 | dnl Converts the ARCH to be something singular for this general CPU family | 94 | dnl Converts the ARCH to be something singular for this general CPU family |
2033 | 87 | dnl This is often the dpkg architecture string. | 95 | dnl This is often the dpkg architecture string. |
2034 | 88 | dnl First check against the full canonical canoncial-system-type in $target | 96 | dnl First check against the full canonical canoncial-system-type in $target |
2035 | 89 | 97 | ||
2036 | === modified file 'debian/NEWS' | |||
2037 | --- debian/NEWS 2009-11-24 11:26:07 +0000 | |||
2038 | +++ debian/NEWS 2010-06-11 16:24:33 +0000 | |||
2039 | @@ -1,8 +1,15 @@ | |||
2040 | 1 | apt (0.7.26~exp3) experimental; urgency=low | ||
2041 | 2 | |||
2042 | 3 | * apt-ftparchive now reads the standard configuration files in | ||
2043 | 4 | /etc/apt/apt.conf and /etc/apt/apt.conf.d. | ||
2044 | 5 | |||
2045 | 6 | -- Julian Andres Klode <jak@debian.org> Fri, 26 Mar 2010 15:34:16 +0100 | ||
2046 | 7 | |||
2047 | 1 | apt (0.7.24) unstable; urgency=low | 8 | apt (0.7.24) unstable; urgency=low |
2048 | 2 | 9 | ||
2049 | 3 | * Already included in the last version but now with better documentation | 10 | * Already included in the last version but now with better documentation |
2050 | 4 | is the possibility to add/prefer different compression types while | 11 | is the possibility to add/prefer different compression types while |
2052 | 5 | downloading archive informations, which can decrease the time needed for | 12 | downloading archive information, which can decrease the time needed for |
2053 | 6 | update on slow machines. See apt.conf (5) manpage for details. | 13 | update on slow machines. See apt.conf (5) manpage for details. |
2054 | 7 | * APT manages his manpage translations now with po4a, thanks to Nicolas | 14 | * APT manages his manpage translations now with po4a, thanks to Nicolas |
2055 | 8 | François and Kurasawa Nozomu, who also provide the ja translation. | 15 | François and Kurasawa Nozomu, who also provide the ja translation. |
2056 | 9 | 16 | ||
2057 | === modified file 'debian/changelog' | |||
2058 | --- debian/changelog 2010-06-09 10:04:54 +0000 | |||
2059 | +++ debian/changelog 2010-06-11 16:24:33 +0000 | |||
2060 | @@ -1,3 +1,4 @@ | |||
2061 | 1 | <<<<<<< TREE | ||
2062 | 1 | apt (0.7.25.3ubuntu10) maverick; urgency=low | 2 | apt (0.7.25.3ubuntu10) maverick; urgency=low |
2063 | 2 | 3 | ||
2064 | 3 | [ Michael Vogt ] | 4 | [ Michael Vogt ] |
2065 | @@ -78,6 +79,150 @@ | |||
2066 | 78 | - fix memory leaks in error conditions in DoSource() | 79 | - fix memory leaks in error conditions in DoSource() |
2067 | 79 | * apt-pkg/deb/dpkgpm.cc: | 80 | * apt-pkg/deb/dpkgpm.cc: |
2068 | 80 | - fix error message construction in OpenLog() | 81 | - fix error message construction in OpenLog() |
2069 | 82 | ======= | ||
2070 | 83 | apt (0.7.26~exp5) UNRELEASED; urgency=low | ||
2071 | 84 | |||
2072 | 85 | [ Christian Perrier ] | ||
2073 | 86 | * Slovak translation update. Closes: #581159 | ||
2074 | 87 | * Italian translation update. Closes: #581742 | ||
2075 | 88 | |||
2076 | 89 | [ Martin Pitt ] | ||
2077 | 90 | * debian/rules: | ||
2078 | 91 | - Make DEB_BUILD_OPTIONS=noopt actually work by passing the right | ||
2079 | 92 | CXXFLAGS. | ||
2080 | 93 | * apt-pkg/contrib/fileutl.{h,cc}: | ||
2081 | 94 | - Add support for transparent reading of gzipped files. | ||
2082 | 95 | - Link against zlib (in apt-pkg/makefile) and add zlib build dependency. | ||
2083 | 96 | - [Weak internal ABI BREAK] This changes the behaviour of FileFd for | ||
2084 | 97 | reading gzipped files. | ||
2085 | 98 | * configure.in: | ||
2086 | 99 | - Check for zlib library and headers. | ||
2087 | 100 | * apt-pkg/deb/debindexfile.cc: | ||
2088 | 101 | - If we do not find uncompressed package/source/translation indexes, look | ||
2089 | 102 | for gzip compressed ones. | ||
2090 | 103 | * apt-pkg/acquire-item.cc: | ||
2091 | 104 | - If the Acquire::GzipIndexes option is true and we download a gzipped | ||
2092 | 105 | index file, keep it as it is (and rename to .gz) instead of | ||
2093 | 106 | uncompressing it. | ||
2094 | 107 | * doc/apt.conf.5.xml: | ||
2095 | 108 | - Document the new Acquire::GzipIndexes option. | ||
2096 | 109 | * doc/po/apt-doc.pot, doc/po/de.po: | ||
2097 | 110 | - German translation of new Acquire::GzipIndexes option. | ||
2098 | 111 | * Add test/test-indexes.sh: | ||
2099 | 112 | - Test behaviour of index retrieval and usage, in particular with | ||
2100 | 113 | uncompressed and gzip compressed indexes. | ||
2101 | 114 | |||
2102 | 115 | -- Christian Perrier <bubulle@debian.org> Tue, 11 May 2010 19:52:00 +0200 | ||
2103 | 116 | |||
2104 | 117 | apt (0.7.26~exp4) unstable; urgency=low | ||
2105 | 118 | |||
2106 | 119 | * [ Abi break ] apt-pkg/acquire-item.{cc,h}: | ||
2107 | 120 | - add "IsIndexFile" to constructor of pkgAcqFile so that it sends | ||
2108 | 121 | the right cache control headers | ||
2109 | 122 | * apt-pkg/depcache.cc: | ||
2110 | 123 | - fix incorrect std::cout usage for debug output | ||
2111 | 124 | * test/libapt/getlanguages_test.cc: | ||
2112 | 125 | - Add test for Esperanto that has nocounty associated with them | ||
2113 | 126 | (LP: #560956) | ||
2114 | 127 | * apt-pkg/deb/debrecords.cc: | ||
2115 | 128 | - fix max tag buffer size (LP: #545336, closes: #578959) | ||
2116 | 129 | * debian/rules: | ||
2117 | 130 | - install html doxygen in libapt-pkg-doc as well | ||
2118 | 131 | |||
2119 | 132 | -- Michael Vogt <michael.vogt@ubuntu.com> Tue, 04 May 2010 09:55:08 +0200 | ||
2120 | 133 | |||
2121 | 134 | apt (0.7.26~exp3) UNRELEASED; urgency=low | ||
2122 | 135 | |||
2123 | 136 | [ Christian Perrier ] | ||
2124 | 137 | * German translation update. Closes: #571037 | ||
2125 | 138 | * Spanish manpages translation update. Closes: #573293 | ||
2126 | 139 | * Dutch translation update. Closes: #573946 | ||
2127 | 140 | * Polish manpages translation update. Closes: #574558 | ||
2128 | 141 | * Add "manpages-pl (<< 20060617-3~)" to avoid file conflicts with | ||
2129 | 142 | that package that was providing some manpages for APT utilities. | ||
2130 | 143 | |||
2131 | 144 | [ Julian Andres Klode ] | ||
2132 | 145 | * cmdline/apt-cache.cc: | ||
2133 | 146 | - Change behavior of showsrc to match the one of show (Closes: #512046). | ||
2134 | 147 | * cmdline/apt-key: | ||
2135 | 148 | - Honor Apt::GPGV::TrustedKeyring (Closes: #316390) | ||
2136 | 149 | * cmdline/apt-mark: | ||
2137 | 150 | - Use the new python-apt API (and conflict with python-apt << 0.7.93.2). | ||
2138 | 151 | * apt-inst/contrib/arfile.h: | ||
2139 | 152 | - Add public ARArchive::Members() which returns the list of members. | ||
2140 | 153 | * apt-pkg/policy.cc: | ||
2141 | 154 | - Always return a candidate if there is at least one version pinned > 0 | ||
2142 | 155 | (Closes: #512318) | ||
2143 | 156 | * ftparchive/apt-ftparchive.cc: | ||
2144 | 157 | - Read default configuration (Closes: #383257) | ||
2145 | 158 | * debian/rules: | ||
2146 | 159 | - Fix the libraries name to be e.g. libapt-pkg4.9 instead of | ||
2147 | 160 | libapt-pkg-4.9. | ||
2148 | 161 | |||
2149 | 162 | [ Michael Vogt ] | ||
2150 | 163 | * apt-pkg/deb/dpkgpm.cc: | ||
2151 | 164 | - fix backgrounding when dpkg runs (closes: #486222) | ||
2152 | 165 | * cmdline/apt-mark: | ||
2153 | 166 | - show error on incorrect aguments (LP: #517917), thanks to | ||
2154 | 167 | Torsten Spindler | ||
2155 | 168 | * cmdline/apt-get.cc: | ||
2156 | 169 | - if apt-get source foo=version or foo/distro can not be found, | ||
2157 | 170 | error out (LP: #502641) | ||
2158 | 171 | * apt-pkg/packagemanager.cc: | ||
2159 | 172 | - better debug output | ||
2160 | 173 | * doc/examples/configure-index: | ||
2161 | 174 | - add missing Debug::pkgPackageManager option | ||
2162 | 175 | |||
2163 | 176 | -- Christian Perrier <bubulle@debian.org> Wed, 24 Feb 2010 22:13:50 +0100 | ||
2164 | 177 | |||
2165 | 178 | apt (0.7.26~exp2) experimental; urgency=low | ||
2166 | 179 | |||
2167 | 180 | * fix crash when LANGUAGE is not set | ||
2168 | 181 | |||
2169 | 182 | -- Michael Vogt <mvo@debian.org> Thu, 18 Feb 2010 22:07:23 +0100 | ||
2170 | 183 | |||
2171 | 184 | apt (0.7.26~exp1) experimental; urgency=low | ||
2172 | 185 | |||
2173 | 186 | [ David Kalnischkies ] | ||
2174 | 187 | * [BREAK] add possibility to download and use multiply | ||
2175 | 188 | Translation files, configurable with Acquire::Translation | ||
2176 | 189 | (Closes: #444222, #448216, #550564) | ||
2177 | 190 | * Ignore :qualifiers after package name in build dependencies | ||
2178 | 191 | for now as long we don't understand them (Closes: #558103) | ||
2179 | 192 | * apt-pkg/contrib/mmap.{cc,h}: | ||
2180 | 193 | - extend it to have a growable flag - unused now but maybe... | ||
2181 | 194 | * apt-pkg/pkgcache.h: | ||
2182 | 195 | - use long instead of short for {Ver,Desc}File size, | ||
2183 | 196 | patch from VÃctor Manuel Jáquez Leal, thanks! (Closes: #538917) | ||
2184 | 197 | * apt-pkg/acquire-item.cc: | ||
2185 | 198 | - allow also to skip the last patch if target is reached, | ||
2186 | 199 | thanks Bernhard R. Link! (Closes: #545699) | ||
2187 | 200 | * ftparchive/writer.{cc,h}: | ||
2188 | 201 | - add --arch option for packages and contents commands | ||
2189 | 202 | - if an arch is given accept only *_all.deb and *_arch.deb instead | ||
2190 | 203 | of *.deb. Thanks Stephan Bosch for the patch! (Closes: #319710) | ||
2191 | 204 | - add APT::FTPArchive::AlwaysStat to disable the too aggressive | ||
2192 | 205 | caching if versions are build multiply times (not recommend) | ||
2193 | 206 | Patch by Christoph Goehre, thanks! (Closes: #463260) | ||
2194 | 207 | * apt-pkg/deb/dpkgpm.cc: | ||
2195 | 208 | - stdin redirected to /dev/null takes all CPU (Closes: #569488) | ||
2196 | 209 | Thanks to Aurelien Jarno for providing (again) a patch! | ||
2197 | 210 | * buildlib/apti18n.h.in, po/makefile: | ||
2198 | 211 | - add ngettext support with P_() | ||
2199 | 212 | * aptconfiguration.cc: | ||
2200 | 213 | - include all existing Translation files in the Cache (Closes: 564137) | ||
2201 | 214 | * debian/control: | ||
2202 | 215 | - update with no changes to debian policy 3.8.4 | ||
2203 | 216 | * doc/apt_preferences.5.xml: | ||
2204 | 217 | - explicitly warn against careless use (Closes: #567669) | ||
2205 | 218 | * debian/rules: | ||
2206 | 219 | - remove creation of empty dir /usr/share/apt | ||
2207 | 220 | * doc/apt-cdrom.8.xml: | ||
2208 | 221 | - fix typo spotted by lintian: proc(c)eed | ||
2209 | 222 | |||
2210 | 223 | [ Ivan Masár ] | ||
2211 | 224 | * Slovak translation update. Closes: #568294 | ||
2212 | 225 | >>>>>>> MERGE-SOURCE | ||
2213 | 81 | 226 | ||
2214 | 82 | -- Michael Vogt <michael.vogt@ubuntu.com> Fri, 26 Mar 2010 16:57:49 +0100 | 227 | -- Michael Vogt <michael.vogt@ubuntu.com> Fri, 26 Mar 2010 16:57:49 +0100 |
2215 | 83 | 228 | ||
2216 | @@ -92,9 +237,23 @@ | |||
2217 | 92 | apt (0.7.25.3ubuntu2) lucid; urgency=low | 237 | apt (0.7.25.3ubuntu2) lucid; urgency=low |
2218 | 93 | 238 | ||
2219 | 94 | [ Michael Vogt ] | 239 | [ Michael Vogt ] |
2220 | 240 | <<<<<<< TREE | ||
2221 | 241 | ======= | ||
2222 | 242 | * [BREAK] merged lp:~mvo/apt/history | ||
2223 | 243 | - this writes a /var/log/apt/history tagfile that contains details | ||
2224 | 244 | from the transaction (complements term.log) | ||
2225 | 245 | * methods/http.cc: | ||
2226 | 246 | - add cache-control headers even if no cache is given to allow | ||
2227 | 247 | adding options for intercepting proxies | ||
2228 | 248 | - add Acquire::http::ProxyAutoDetect configuration that | ||
2229 | 249 | can be used to call a external helper to figure out the | ||
2230 | 250 | proxy configuration and return it to apt via stdout | ||
2231 | 251 | (this is a step towards WPAD and zeroconf/avahi support) | ||
2232 | 252 | >>>>>>> MERGE-SOURCE | ||
2233 | 95 | * abicheck/ | 253 | * abicheck/ |
2234 | 96 | - add new abitest tester using the ABI Compliance Checker from | 254 | - add new abitest tester using the ABI Compliance Checker from |
2235 | 97 | http://ispras.linuxfoundation.org/index.php/ABI_compliance_checker | 255 | http://ispras.linuxfoundation.org/index.php/ABI_compliance_checker |
2236 | 256 | <<<<<<< TREE | ||
2237 | 98 | * debian/apt.conf.autoremove: | 257 | * debian/apt.conf.autoremove: |
2238 | 99 | - add "oldlibs" to the APT::Never-MarkAuto-Sections as its used | 258 | - add "oldlibs" to the APT::Never-MarkAuto-Sections as its used |
2239 | 100 | for transitional packages | 259 | for transitional packages |
2240 | @@ -118,12 +277,15 @@ | |||
2241 | 118 | From that point on gnome-control-center will have to warn if | 277 | From that point on gnome-control-center will have to warn if |
2242 | 119 | the user makes changes to the proxy settings and does not apply | 278 | the user makes changes to the proxy settings and does not apply |
2243 | 120 | them system wide | 279 | them system wide |
2244 | 280 | ======= | ||
2245 | 281 | >>>>>>> MERGE-SOURCE | ||
2246 | 121 | 282 | ||
2247 | 122 | [ Robert Collins ] | 283 | [ Robert Collins ] |
2248 | 123 | * Change the package index Info methods to allow apt-cache policy to be | 284 | * Change the package index Info methods to allow apt-cache policy to be |
2249 | 124 | useful when using several different archives on the same host. | 285 | useful when using several different archives on the same host. |
2250 | 125 | (Closes: #329814, LP: #22354) | 286 | (Closes: #329814, LP: #22354) |
2251 | 126 | 287 | ||
2252 | 288 | <<<<<<< TREE | ||
2253 | 127 | -- Michael Vogt <michael.vogt@ubuntu.com> Fri, 12 Mar 2010 23:10:52 +0100 | 289 | -- Michael Vogt <michael.vogt@ubuntu.com> Fri, 12 Mar 2010 23:10:52 +0100 |
2254 | 128 | 290 | ||
2255 | 129 | apt (0.7.25.3ubuntu1) lucid; urgency=low | 291 | apt (0.7.25.3ubuntu1) lucid; urgency=low |
2256 | @@ -140,6 +302,9 @@ | |||
2257 | 140 | * Slovak translation update. Closes: #568294 | 302 | * Slovak translation update. Closes: #568294 |
2258 | 141 | 303 | ||
2259 | 142 | -- Michael Vogt <michael.vogt@ubuntu.com> Wed, 17 Feb 2010 23:33:32 +0100 | 304 | -- Michael Vogt <michael.vogt@ubuntu.com> Wed, 17 Feb 2010 23:33:32 +0100 |
2260 | 305 | ======= | ||
2261 | 306 | -- Michael Vogt <mvo@debian.org> Thu, 18 Feb 2010 16:11:39 +0100 | ||
2262 | 307 | >>>>>>> MERGE-SOURCE | ||
2263 | 143 | 308 | ||
2264 | 144 | apt (0.7.25.3) unstable; urgency=low | 309 | apt (0.7.25.3) unstable; urgency=low |
2265 | 145 | 310 | ||
2266 | 146 | 311 | ||
2267 | === modified file 'debian/control' | |||
2268 | --- debian/control 2010-04-22 08:57:37 +0000 | |||
2269 | +++ debian/control 2010-06-11 16:24:33 +0000 | |||
2270 | @@ -6,16 +6,31 @@ | |||
2271 | 6 | Uploaders: Michael Vogt <mvo@debian.org>, Otavio Salvador <otavio@debian.org>, | 6 | Uploaders: Michael Vogt <mvo@debian.org>, Otavio Salvador <otavio@debian.org>, |
2272 | 7 | Christian Perrier <bubulle@debian.org>, Daniel Burrows <dburrows@debian.org>, | 7 | Christian Perrier <bubulle@debian.org>, Daniel Burrows <dburrows@debian.org>, |
2273 | 8 | Luca Bruno <lethalman88@gmail.com>, Julian Andres Klode <jak@debian.org> | 8 | Luca Bruno <lethalman88@gmail.com>, Julian Andres Klode <jak@debian.org> |
2274 | 9 | <<<<<<< TREE | ||
2275 | 9 | Standards-Version: 3.8.3 | 10 | Standards-Version: 3.8.3 |
2276 | 10 | Build-Depends: debhelper (>= 5.0), libdb-dev, gettext (>= 0.12), libcurl4-gnutls-dev | libcurl3-gnutls-dev (>= 7.15.5), debiandoc-sgml, xsltproc, docbook-xsl, po4a (>= 0.34-2), autotools-dev, intltool | 11 | Build-Depends: debhelper (>= 5.0), libdb-dev, gettext (>= 0.12), libcurl4-gnutls-dev | libcurl3-gnutls-dev (>= 7.15.5), debiandoc-sgml, xsltproc, docbook-xsl, po4a (>= 0.34-2), autotools-dev, intltool |
2277 | 11 | Vcs-Bzr: https://code.launchpad.net/~ubuntu-core-dev/apt/ubuntu | 12 | Vcs-Bzr: https://code.launchpad.net/~ubuntu-core-dev/apt/ubuntu |
2278 | 13 | ======= | ||
2279 | 14 | Standards-Version: 3.8.4 | ||
2280 | 15 | Build-Depends: debhelper (>= 5.0), libdb-dev, gettext (>= 0.12), libcurl4-gnutls-dev | libcurl3-gnutls-dev (>= 7.15.5), zlib1g-dev | libz-dev, debiandoc-sgml, xsltproc, docbook-xsl, po4a (>= 0.34-2), autotools-dev | ||
2281 | 16 | Vcs-Bzr: http://bzr.debian.org/apt/debian-sid/ | ||
2282 | 17 | >>>>>>> MERGE-SOURCE | ||
2283 | 12 | 18 | ||
2284 | 13 | Package: apt | 19 | Package: apt |
2285 | 14 | Architecture: any | 20 | Architecture: any |
2286 | 21 | <<<<<<< TREE | ||
2287 | 15 | Depends: ${shlibs:Depends}, ${misc:Depends} | 22 | Depends: ${shlibs:Depends}, ${misc:Depends} |
2288 | 16 | Replaces: libapt-pkg-doc (<< 0.3.7), libapt-pkg-dev (<< 0.3.7) | 23 | Replaces: libapt-pkg-doc (<< 0.3.7), libapt-pkg-dev (<< 0.3.7) |
2289 | 24 | ======= | ||
2290 | 25 | Depends: ${shlibs:Depends}, debian-archive-keyring, ${misc:Depends} | ||
2291 | 26 | Replaces: libapt-pkg-doc (<< 0.3.7), libapt-pkg-dev (<< 0.3.7), manpages-pl (<< 20060617-3~) | ||
2292 | 27 | >>>>>>> MERGE-SOURCE | ||
2293 | 17 | Provides: ${libapt-pkg:provides} | 28 | Provides: ${libapt-pkg:provides} |
2294 | 29 | <<<<<<< TREE | ||
2295 | 18 | Recommends: ubuntu-keyring | 30 | Recommends: ubuntu-keyring |
2296 | 31 | ======= | ||
2297 | 32 | Conflicts: python-apt (<< 0.7.93.2~) | ||
2298 | 33 | >>>>>>> MERGE-SOURCE | ||
2299 | 19 | Suggests: aptitude | synaptic | wajig, dpkg-dev, apt-doc, bzip2, lzma, python-apt | 34 | Suggests: aptitude | synaptic | wajig, dpkg-dev, apt-doc, bzip2, lzma, python-apt |
2300 | 20 | Description: Advanced front-end for dpkg | 35 | Description: Advanced front-end for dpkg |
2301 | 21 | This is Debian's next generation front-end for the dpkg package manager. | 36 | This is Debian's next generation front-end for the dpkg package manager. |
2302 | @@ -53,6 +68,9 @@ | |||
2303 | 53 | Description: Documentation for APT development | 68 | Description: Documentation for APT development |
2304 | 54 | This package contains documentation for development of the APT | 69 | This package contains documentation for development of the APT |
2305 | 55 | Debian package manipulation program and its libraries. | 70 | Debian package manipulation program and its libraries. |
2306 | 71 | . | ||
2307 | 72 | This includes the source code documentation generated by doxygen | ||
2308 | 73 | in html format. | ||
2309 | 56 | 74 | ||
2310 | 57 | Package: apt-utils | 75 | Package: apt-utils |
2311 | 58 | Architecture: any | 76 | Architecture: any |
2312 | 59 | 77 | ||
2313 | === modified file 'debian/rules' | |||
2314 | --- debian/rules 2010-06-09 08:49:00 +0000 | |||
2315 | +++ debian/rules 2010-06-11 16:24:33 +0000 | |||
2316 | @@ -78,21 +78,21 @@ | |||
2317 | 78 | include buildlib/libversion.mak | 78 | include buildlib/libversion.mak |
2318 | 79 | 79 | ||
2319 | 80 | # Determine which package we should provide in the control files | 80 | # Determine which package we should provide in the control files |
2322 | 81 | LIBAPTPKG_PROVIDE=libapt-pkg$(LIBEXT)-$(LIBAPTPKG_MAJOR) | 81 | LIBAPTPKG_PROVIDE=libapt-pkg$(LIBAPTPKG_MAJOR) |
2323 | 82 | LIBAPTINST_PROVIDE=libapt-inst$(LIBEXT)-$(LIBAPTINST_MAJOR) | 82 | LIBAPTINST_PROVIDE=libapt-inst$(LIBAPTINST_MAJOR) |
2324 | 83 | 83 | ||
2325 | 84 | debian/shlibs.local: apt-pkg/makefile | 84 | debian/shlibs.local: apt-pkg/makefile |
2326 | 85 | # We have 3 shlibs.local files.. One for 'apt', one for 'apt-utils' and | 85 | # We have 3 shlibs.local files.. One for 'apt', one for 'apt-utils' and |
2327 | 86 | # one for the rest of the packages. This ensures that each package gets | 86 | # one for the rest of the packages. This ensures that each package gets |
2328 | 87 | # the right overrides.. | 87 | # the right overrides.. |
2329 | 88 | rm -rf $@ $@.apt $@.apt-utils | 88 | rm -rf $@ $@.apt $@.apt-utils |
2337 | 89 | echo "libapt-pkg$(LIBEXT) $(LIBAPTPKG_MAJOR)" > $@.apt | 89 | echo "libapt-pkg $(LIBAPTPKG_MAJOR)" > $@.apt |
2338 | 90 | 90 | ||
2339 | 91 | echo "libapt-pkg$(LIBEXT) $(LIBAPTPKG_MAJOR) $(LIBAPTPKG_PROVIDE)" > $@.apt-utils | 91 | echo "libapt-pkg $(LIBAPTPKG_MAJOR) $(LIBAPTPKG_PROVIDE)" > $@.apt-utils |
2340 | 92 | echo "libapt-inst$(LIBEXT) $(LIBAPTINST_MAJOR)" >> $@.apt-utils | 92 | echo "libapt-inst $(LIBAPTINST_MAJOR)" >> $@.apt-utils |
2341 | 93 | 93 | ||
2342 | 94 | echo "libapt-pkg$(LIBEXT) $(LIBAPTPKG_MAJOR) $(LIBAPTPKG_PROVIDE)" > $@ | 94 | echo "libapt-pkg $(LIBAPTPKG_MAJOR) $(LIBAPTPKG_PROVIDE)" > $@ |
2343 | 95 | echo "libapt-inst$(LIBEXT) $(LIBAPTINST_MAJOR) $(LIBAPTINST_PROVIDE)" >> $@ | 95 | echo "libapt-inst $(LIBAPTINST_MAJOR) $(LIBAPTINST_PROVIDE)" >> $@ |
2344 | 96 | 96 | ||
2345 | 97 | build: build/build-stamp | 97 | build: build/build-stamp |
2346 | 98 | build-doc: build/build-doc-stamp | 98 | build-doc: build/build-doc-stamp |
2347 | @@ -108,7 +108,7 @@ | |||
2348 | 108 | dh_testdir | 108 | dh_testdir |
2349 | 109 | -mkdir build | 109 | -mkdir build |
2350 | 110 | cp COPYING debian/copyright | 110 | cp COPYING debian/copyright |
2352 | 111 | cd build && CXXFLAGS="$(confcxxflags)" ../configure $(confflags) | 111 | cd build && CXXFLAGS="$(CXXFLAGS)" ../configure $(confflags) |
2353 | 112 | touch $@ | 112 | touch $@ |
2354 | 113 | 113 | ||
2355 | 114 | build/build-stamp: build/configure-stamp | 114 | build/build-stamp: build/configure-stamp |
2356 | @@ -144,7 +144,8 @@ | |||
2357 | 144 | # | 144 | # |
2358 | 145 | dh_installdocs -p$@ $(BLD)/docs/cache* $(BLD)/docs/design* $(BLD)/docs/dpkg-tech* \ | 145 | dh_installdocs -p$@ $(BLD)/docs/cache* $(BLD)/docs/design* $(BLD)/docs/dpkg-tech* \ |
2359 | 146 | $(BLD)/docs/files* $(BLD)/docs/method* \ | 146 | $(BLD)/docs/files* $(BLD)/docs/method* \ |
2361 | 147 | doc/libapt-pkg2_to_3.txt doc/style.txt | 147 | doc/libapt-pkg2_to_3.txt doc/style.txt \ |
2362 | 148 | $(BLD)/doc/doxygen/html/* | ||
2363 | 148 | dh_installexamples -p$@ | 149 | dh_installexamples -p$@ |
2364 | 149 | # dh_installmenu -p$@ | 150 | # dh_installmenu -p$@ |
2365 | 150 | # dh_installinit -p$@ | 151 | # dh_installinit -p$@ |
2366 | @@ -190,7 +191,7 @@ | |||
2367 | 190 | dh_testdir -p$@ | 191 | dh_testdir -p$@ |
2368 | 191 | dh_testroot -p$@ | 192 | dh_testroot -p$@ |
2369 | 192 | dh_clean -p$@ -k | 193 | dh_clean -p$@ -k |
2371 | 193 | dh_installdirs -p$@ /usr/share/bug/$@ /usr/share/$@ | 194 | dh_installdirs -p$@ |
2372 | 194 | # | 195 | # |
2373 | 195 | # apt install | 196 | # apt install |
2374 | 196 | # | 197 | # |
2375 | 197 | 198 | ||
2376 | === modified file 'doc/apt-cdrom.8.xml' | |||
2377 | --- doc/apt-cdrom.8.xml 2009-08-26 10:21:54 +0000 | |||
2378 | +++ doc/apt-cdrom.8.xml 2010-06-11 16:24:33 +0000 | |||
2379 | @@ -65,7 +65,7 @@ | |||
2380 | 65 | <varlistentry><term>add</term> | 65 | <varlistentry><term>add</term> |
2381 | 66 | <listitem><para><literal>add</literal> is used to add a new disc to the | 66 | <listitem><para><literal>add</literal> is used to add a new disc to the |
2382 | 67 | source list. It will unmount the | 67 | source list. It will unmount the |
2384 | 68 | CDROM device, prompt for a disk to be inserted and then procceed to | 68 | CDROM device, prompt for a disk to be inserted and then proceed to |
2385 | 69 | scan it and copy the index files. If the disc does not have a proper | 69 | scan it and copy the index files. If the disc does not have a proper |
2386 | 70 | <filename>disk</filename> directory you will be prompted for a descriptive | 70 | <filename>disk</filename> directory you will be prompted for a descriptive |
2387 | 71 | title. | 71 | title. |
2388 | 72 | 72 | ||
2389 | === modified file 'doc/apt-ftparchive.1.xml' | |||
2390 | --- doc/apt-ftparchive.1.xml 2009-12-12 15:32:18 +0000 | |||
2391 | +++ doc/apt-ftparchive.1.xml 2010-06-11 16:24:33 +0000 | |||
2392 | @@ -39,6 +39,7 @@ | |||
2393 | 39 | <arg><option>--delink</option></arg> | 39 | <arg><option>--delink</option></arg> |
2394 | 40 | <arg><option>--readonly</option></arg> | 40 | <arg><option>--readonly</option></arg> |
2395 | 41 | <arg><option>--contents</option></arg> | 41 | <arg><option>--contents</option></arg> |
2396 | 42 | <arg><option>--arch <replaceable>architecture</replaceable></option></arg> | ||
2397 | 42 | <arg><option>-o <replaceable>config</replaceable>=<replaceable>string</replaceable></option></arg> | 43 | <arg><option>-o <replaceable>config</replaceable>=<replaceable>string</replaceable></option></arg> |
2398 | 43 | <arg><option>-c=<replaceable>file</replaceable></option></arg> | 44 | <arg><option>-c=<replaceable>file</replaceable></option></arg> |
2399 | 44 | <group choice="req"> | 45 | <group choice="req"> |
2400 | @@ -542,7 +543,26 @@ | |||
2401 | 542 | <listitem><para> | 543 | <listitem><para> |
2402 | 543 | Make the caching databases read only. | 544 | Make the caching databases read only. |
2403 | 544 | Configuration Item: <literal>APT::FTPArchive::ReadOnlyDB</literal>.</para></listitem> | 545 | Configuration Item: <literal>APT::FTPArchive::ReadOnlyDB</literal>.</para></listitem> |
2405 | 545 | </varlistentry> | 546 | </varlistentry> |
2406 | 547 | |||
2407 | 548 | <varlistentry><term><option>-a</option></term><term><option>--arch</option></term> | ||
2408 | 549 | <listitem><para>Accept in the <literal>packages</literal> and <literal>contents</literal> | ||
2409 | 550 | commands only package files matching <literal>*_arch.deb</literal> or | ||
2410 | 551 | <literal>*_all.deb</literal> instead of all package files in the given path. | ||
2411 | 552 | Configuration Item: <literal>APT::FTPArchive::Architecture</literal>.</para></listitem> | ||
2412 | 553 | </varlistentry> | ||
2413 | 554 | |||
2414 | 555 | <varlistentry><term><option>APT::FTPArchive::AlwaysStat</option></term> | ||
2415 | 556 | <listitem><para> | ||
2416 | 557 | &apt-ftparchive; caches as much as possible of metadata in a cachedb. If packages | ||
2417 | 558 | are recompiled and/or republished with the same version again, this will lead to problems | ||
2418 | 559 | as the now outdated cached metadata like size and checksums will be used. With this option | ||
2419 | 560 | enabled this will no longer happen as it will be checked if the file was changed. | ||
2420 | 561 | Note that this option is set to "<literal>false</literal>" by default as it is not recommend | ||
2421 | 562 | to upload multiply versions/builds of a package with the same versionnumber, so in theory | ||
2422 | 563 | nobody will have these problems and therefore all these extra checks are useless. | ||
2423 | 564 | </para></listitem> | ||
2424 | 565 | </varlistentry> | ||
2425 | 546 | 566 | ||
2426 | 547 | <varlistentry><term><option>APT::FTPArchive::LongDescription</option></term> | 567 | <varlistentry><term><option>APT::FTPArchive::LongDescription</option></term> |
2427 | 548 | <listitem><para> | 568 | <listitem><para> |
2428 | 549 | 569 | ||
2429 | === modified file 'doc/apt.conf.5.xml' | |||
2430 | --- doc/apt.conf.5.xml 2010-01-22 23:37:21 +0000 | |||
2431 | +++ doc/apt.conf.5.xml 2010-06-11 16:24:33 +0000 | |||
2432 | @@ -153,7 +153,7 @@ | |||
2433 | 153 | <listitem><para>Default release to install packages from if more than one | 153 | <listitem><para>Default release to install packages from if more than one |
2434 | 154 | version available. Contains release name, codename or release version. Examples: 'stable', 'testing', 'unstable', 'lenny', 'squeeze', '4.0', '5.0*'. See also &apt-preferences;.</para></listitem> | 154 | version available. Contains release name, codename or release version. Examples: 'stable', 'testing', 'unstable', 'lenny', 'squeeze', '4.0', '5.0*'. See also &apt-preferences;.</para></listitem> |
2435 | 155 | </varlistentry> | 155 | </varlistentry> |
2437 | 156 | 156 | ||
2438 | 157 | <varlistentry><term>Ignore-Hold</term> | 157 | <varlistentry><term>Ignore-Hold</term> |
2439 | 158 | <listitem><para>Ignore Held packages; This global option causes the problem resolver to | 158 | <listitem><para>Ignore Held packages; This global option causes the problem resolver to |
2440 | 159 | ignore held packages in its decision making.</para></listitem> | 159 | ignore held packages in its decision making.</para></listitem> |
2441 | @@ -410,6 +410,36 @@ | |||
2442 | 410 | these warnings are most of the time false negatives. Future versions will maybe include a way to | 410 | these warnings are most of the time false negatives. Future versions will maybe include a way to |
2443 | 411 | really prefer uncompressed files to support the usage of local mirrors.</para></listitem> | 411 | really prefer uncompressed files to support the usage of local mirrors.</para></listitem> |
2444 | 412 | </varlistentry> | 412 | </varlistentry> |
2445 | 413 | |||
2446 | 414 | <varlistentry><term>GzipIndexes</term> | ||
2447 | 415 | <listitem><para> | ||
2448 | 416 | When downloading <literal>gzip</literal> compressed indexes (Packages, Sources, or | ||
2449 | 417 | Translations), keep them gzip compressed locally instead of unpacking | ||
2450 | 418 | them. This saves quite a lot of disk space at the expense of more CPU | ||
2451 | 419 | requirements when building the local package caches. False by default. | ||
2452 | 420 | </para></listitem> | ||
2453 | 421 | </varlistentry> | ||
2454 | 422 | |||
2455 | 423 | <varlistentry><term>Languages</term> | ||
2456 | 424 | <listitem><para>The Languages subsection controls which <filename>Translation</filename> files are downloaded | ||
2457 | 425 | and in which order APT tries to display the Description-Translations. APT will try to display the first | ||
2458 | 426 | available Description in the Language which is listed at first. Languages can be defined with their | ||
2459 | 427 | short or long Languagecodes. Note that not all archives provide <filename>Translation</filename> | ||
2460 | 428 | files for every Language - especially the long Languagecodes are rare, so please | ||
2461 | 429 | inform you which ones are available before you set here impossible values.</para> | ||
2462 | 430 | <para>The default list includes "environment" and "en". "<literal>environment</literal>" has a special meaning here: | ||
2463 | 431 | It will be replaced at runtime with the languagecodes extracted from the <literal>LC_MESSAGES</literal> environment variable. | ||
2464 | 432 | It will also ensure that these codes are not included twice in the list. If <literal>LC_MESSAGES</literal> | ||
2465 | 433 | is set to "C" only the <filename>Translation-en</filename> file (if available) will be used. | ||
2466 | 434 | To force apt to use no Translation file use the setting <literal>Acquire::Languages=none</literal>. "<literal>none</literal>" | ||
2467 | 435 | is another special meaning code which will stop the search for a fitting <filename>Translation</filename> file. | ||
2468 | 436 | This can be used by the system administrator to let APT know that it should download also this files without | ||
2469 | 437 | actually use them if the environment doesn't specify this languages. So the following example configuration will | ||
2470 | 438 | result in the order "en, de" in an english and in "de, en" in a german localization. Note that "fr" is downloaded, | ||
2471 | 439 | but not used if APT is not used in a french localization, in such an environment the order would be "fr, de, en". | ||
2472 | 440 | <programlisting>Acquire::Languages { "environment"; "de"; "en"; "none"; "fr"; };</programlisting></para></listitem> | ||
2473 | 441 | </varlistentry> | ||
2474 | 442 | |||
2475 | 413 | </variablelist> | 443 | </variablelist> |
2476 | 414 | </para> | 444 | </para> |
2477 | 415 | </refsect1> | 445 | </refsect1> |
2478 | @@ -1001,6 +1031,7 @@ | |||
2479 | 1001 | </listitem> | 1031 | </listitem> |
2480 | 1002 | </varlistentry> | 1032 | </varlistentry> |
2481 | 1003 | --> | 1033 | --> |
2482 | 1034 | |||
2483 | 1004 | </variablelist> | 1035 | </variablelist> |
2484 | 1005 | </refsect1> | 1036 | </refsect1> |
2485 | 1006 | 1037 | ||
2486 | 1007 | 1038 | ||
2487 | === modified file 'doc/apt_preferences.5.xml' | |||
2488 | --- doc/apt_preferences.5.xml 2010-02-17 21:40:05 +0000 | |||
2489 | +++ doc/apt_preferences.5.xml 2010-06-11 16:24:33 +0000 | |||
2490 | @@ -14,7 +14,7 @@ | |||
2491 | 14 | &apt-email; | 14 | &apt-email; |
2492 | 15 | &apt-product; | 15 | &apt-product; |
2493 | 16 | <!-- The last update date --> | 16 | <!-- The last update date --> |
2495 | 17 | <date>04 May 2009</date> | 17 | <date>16 February 2010</date> |
2496 | 18 | </refentryinfo> | 18 | </refentryinfo> |
2497 | 19 | 19 | ||
2498 | 20 | <refmeta> | 20 | <refmeta> |
2499 | @@ -53,6 +53,14 @@ | |||
2500 | 53 | The APT preferences file does not affect the choice of instance, only | 53 | The APT preferences file does not affect the choice of instance, only |
2501 | 54 | the choice of version.</para> | 54 | the choice of version.</para> |
2502 | 55 | 55 | ||
2503 | 56 | <para>Preferences are a strong power in the hands of a system administrator | ||
2504 | 57 | but they can become also their biggest nightmare if used without care! | ||
2505 | 58 | APT will not questioning the preferences so wrong settings will therefore | ||
2506 | 59 | lead to uninstallable packages or wrong decisions while upgrading packages. | ||
2507 | 60 | Even more problems will arise if multiply distribution releases are mixed | ||
2508 | 61 | without a good understanding of the following paragraphs. | ||
2509 | 62 | You have been warned.</para> | ||
2510 | 63 | |||
2511 | 56 | <para>Note that the files in the <filename>/etc/apt/preferences.d</filename> | 64 | <para>Note that the files in the <filename>/etc/apt/preferences.d</filename> |
2512 | 57 | directory are parsed in alphanumeric ascending order and need to obey the | 65 | directory are parsed in alphanumeric ascending order and need to obey the |
2513 | 58 | following naming convention: The files have no or "<literal>pref</literal>" | 66 | following naming convention: The files have no or "<literal>pref</literal>" |
2514 | 59 | 67 | ||
2515 | === modified file 'doc/examples/configure-index' | |||
2516 | --- doc/examples/configure-index 2010-04-14 17:51:40 +0000 | |||
2517 | +++ doc/examples/configure-index 2010-06-11 16:24:33 +0000 | |||
2518 | @@ -289,6 +289,15 @@ | |||
2519 | 289 | 289 | ||
2520 | 290 | Order { "gz"; "lzma"; "bz2"; }; | 290 | Order { "gz"; "lzma"; "bz2"; }; |
2521 | 291 | }; | 291 | }; |
2522 | 292 | |||
2523 | 293 | Languages | ||
2524 | 294 | { | ||
2525 | 295 | "environment"; | ||
2526 | 296 | "de"; | ||
2527 | 297 | "en"; | ||
2528 | 298 | "none"; | ||
2529 | 299 | "fr"; | ||
2530 | 300 | }; | ||
2531 | 292 | }; | 301 | }; |
2532 | 293 | 302 | ||
2533 | 294 | // Directory layout | 303 | // Directory layout |
2534 | 295 | 304 | ||
2535 | === modified file 'doc/po/apt-doc.pot' | |||
2536 | --- doc/po/apt-doc.pot 2010-01-22 23:37:21 +0000 | |||
2537 | +++ doc/po/apt-doc.pot 2010-06-11 16:24:33 +0000 | |||
2538 | @@ -7,7 +7,7 @@ | |||
2539 | 7 | msgid "" | 7 | msgid "" |
2540 | 8 | msgstr "" | 8 | msgstr "" |
2541 | 9 | "Project-Id-Version: PACKAGE VERSION\n" | 9 | "Project-Id-Version: PACKAGE VERSION\n" |
2543 | 10 | "POT-Creation-Date: 2010-01-20 12:18+0100\n" | 10 | "POT-Creation-Date: 2010-06-11 10:56+0300\n" |
2544 | 11 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | 11 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
2545 | 12 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | 12 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
2546 | 13 | "Language-Team: LANGUAGE <LL@li.org>\n" | 13 | "Language-Team: LANGUAGE <LL@li.org>\n" |
2547 | @@ -894,7 +894,7 @@ | |||
2548 | 894 | msgstr "" | 894 | msgstr "" |
2549 | 895 | 895 | ||
2550 | 896 | #. type: Content of: <refentry><refsect1><title> | 896 | #. type: Content of: <refentry><refsect1><title> |
2552 | 897 | #: apt-cache.8.xml:62 apt-cdrom.8.xml:47 apt-config.8.xml:47 apt-extracttemplates.1.xml:43 apt-ftparchive.1.xml:55 apt-get.8.xml:125 apt-key.8.xml:35 apt-mark.8.xml:52 apt-secure.8.xml:40 apt-sortpkgs.1.xml:44 apt.conf.5.xml:39 apt_preferences.5.xml:33 sources.list.5.xml:33 | 897 | #: apt-cache.8.xml:62 apt-cdrom.8.xml:47 apt-config.8.xml:47 apt-extracttemplates.1.xml:43 apt-ftparchive.1.xml:56 apt-get.8.xml:125 apt-key.8.xml:35 apt-mark.8.xml:52 apt-secure.8.xml:40 apt-sortpkgs.1.xml:44 apt.conf.5.xml:39 apt_preferences.5.xml:33 sources.list.5.xml:33 |
2553 | 898 | msgid "Description" | 898 | msgid "Description" |
2554 | 899 | msgstr "" | 899 | msgstr "" |
2555 | 900 | 900 | ||
2556 | @@ -1284,7 +1284,7 @@ | |||
2557 | 1284 | msgstr "" | 1284 | msgstr "" |
2558 | 1285 | 1285 | ||
2559 | 1286 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> | 1286 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> |
2561 | 1287 | #: apt-cache.8.xml:281 apt-config.8.xml:93 apt-extracttemplates.1.xml:56 apt-ftparchive.1.xml:492 apt-get.8.xml:319 apt-mark.8.xml:89 apt-sortpkgs.1.xml:54 apt.conf.5.xml:502 apt.conf.5.xml:524 | 1287 | #: apt-cache.8.xml:281 apt-config.8.xml:93 apt-extracttemplates.1.xml:56 apt-ftparchive.1.xml:493 apt-get.8.xml:319 apt-mark.8.xml:89 apt-sortpkgs.1.xml:54 apt.conf.5.xml:511 apt.conf.5.xml:533 |
2562 | 1288 | msgid "options" | 1288 | msgid "options" |
2563 | 1289 | msgstr "" | 1289 | msgstr "" |
2564 | 1290 | 1290 | ||
2565 | @@ -1307,7 +1307,7 @@ | |||
2566 | 1307 | msgstr "" | 1307 | msgstr "" |
2567 | 1308 | 1308 | ||
2568 | 1309 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> | 1309 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> |
2570 | 1310 | #: apt-cache.8.xml:291 apt-ftparchive.1.xml:535 apt-get.8.xml:376 apt-sortpkgs.1.xml:58 | 1310 | #: apt-cache.8.xml:291 apt-ftparchive.1.xml:536 apt-get.8.xml:376 apt-sortpkgs.1.xml:58 |
2571 | 1311 | msgid "<option>-s</option>" | 1311 | msgid "<option>-s</option>" |
2572 | 1312 | msgstr "" | 1312 | msgstr "" |
2573 | 1313 | 1313 | ||
2574 | @@ -1327,12 +1327,12 @@ | |||
2575 | 1327 | msgstr "" | 1327 | msgstr "" |
2576 | 1328 | 1328 | ||
2577 | 1329 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> | 1329 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> |
2579 | 1330 | #: apt-cache.8.xml:299 apt-ftparchive.1.xml:509 apt-get.8.xml:366 | 1330 | #: apt-cache.8.xml:299 apt-ftparchive.1.xml:510 apt-get.8.xml:366 |
2580 | 1331 | msgid "<option>-q</option>" | 1331 | msgid "<option>-q</option>" |
2581 | 1332 | msgstr "" | 1332 | msgstr "" |
2582 | 1333 | 1333 | ||
2583 | 1334 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> | 1334 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> |
2585 | 1335 | #: apt-cache.8.xml:299 apt-ftparchive.1.xml:509 apt-get.8.xml:366 | 1335 | #: apt-cache.8.xml:299 apt-ftparchive.1.xml:510 apt-get.8.xml:366 |
2586 | 1336 | msgid "<option>--quiet</option>" | 1336 | msgid "<option>--quiet</option>" |
2587 | 1337 | msgstr "" | 1337 | msgstr "" |
2588 | 1338 | 1338 | ||
2589 | @@ -1381,7 +1381,7 @@ | |||
2590 | 1381 | msgstr "" | 1381 | msgstr "" |
2591 | 1382 | 1382 | ||
2592 | 1383 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> | 1383 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> |
2594 | 1384 | #: apt-cache.8.xml:317 apt-cdrom.8.xml:131 | 1384 | #: apt-cache.8.xml:317 apt-cdrom.8.xml:131 apt-ftparchive.1.xml:548 |
2595 | 1385 | msgid "<option>-a</option>" | 1385 | msgid "<option>-a</option>" |
2596 | 1386 | msgstr "" | 1386 | msgstr "" |
2597 | 1387 | 1387 | ||
2598 | @@ -1477,12 +1477,12 @@ | |||
2599 | 1477 | msgstr "" | 1477 | msgstr "" |
2600 | 1478 | 1478 | ||
2601 | 1479 | #. type: Content of: <refentry><refsect1><variablelist> | 1479 | #. type: Content of: <refentry><refsect1><variablelist> |
2603 | 1480 | #: apt-cache.8.xml:356 apt-cdrom.8.xml:150 apt-config.8.xml:98 apt-extracttemplates.1.xml:67 apt-ftparchive.1.xml:568 apt-get.8.xml:554 apt-sortpkgs.1.xml:64 | 1480 | #: apt-cache.8.xml:356 apt-cdrom.8.xml:150 apt-config.8.xml:98 apt-extracttemplates.1.xml:67 apt-ftparchive.1.xml:576 apt-get.8.xml:554 apt-sortpkgs.1.xml:64 |
2604 | 1481 | msgid "&apt-commonoptions;" | 1481 | msgid "&apt-commonoptions;" |
2605 | 1482 | msgstr "" | 1482 | msgstr "" |
2606 | 1483 | 1483 | ||
2607 | 1484 | #. type: Content of: <refentry><refsect1><title> | 1484 | #. type: Content of: <refentry><refsect1><title> |
2609 | 1485 | #: apt-cache.8.xml:361 apt-get.8.xml:559 apt-key.8.xml:153 apt-mark.8.xml:122 apt.conf.5.xml:1035 apt_preferences.5.xml:622 | 1485 | #: apt-cache.8.xml:361 apt-get.8.xml:559 apt-key.8.xml:153 apt-mark.8.xml:122 apt.conf.5.xml:1044 apt_preferences.5.xml:630 |
2610 | 1486 | msgid "Files" | 1486 | msgid "Files" |
2611 | 1487 | msgstr "" | 1487 | msgstr "" |
2612 | 1488 | 1488 | ||
2613 | @@ -1492,7 +1492,7 @@ | |||
2614 | 1492 | msgstr "" | 1492 | msgstr "" |
2615 | 1493 | 1493 | ||
2616 | 1494 | #. type: Content of: <refentry><refsect1><title> | 1494 | #. type: Content of: <refentry><refsect1><title> |
2618 | 1495 | #: apt-cache.8.xml:368 apt-cdrom.8.xml:155 apt-config.8.xml:103 apt-extracttemplates.1.xml:74 apt-ftparchive.1.xml:584 apt-get.8.xml:569 apt-key.8.xml:174 apt-mark.8.xml:133 apt-secure.8.xml:181 apt-sortpkgs.1.xml:69 apt.conf.5.xml:1041 apt_preferences.5.xml:629 sources.list.5.xml:233 | 1495 | #: apt-cache.8.xml:368 apt-cdrom.8.xml:155 apt-config.8.xml:103 apt-extracttemplates.1.xml:74 apt-ftparchive.1.xml:592 apt-get.8.xml:569 apt-key.8.xml:174 apt-mark.8.xml:133 apt-secure.8.xml:181 apt-sortpkgs.1.xml:69 apt.conf.5.xml:1050 apt_preferences.5.xml:637 sources.list.5.xml:233 |
2619 | 1496 | msgid "See Also" | 1496 | msgid "See Also" |
2620 | 1497 | msgstr "" | 1497 | msgstr "" |
2621 | 1498 | 1498 | ||
2622 | @@ -1502,7 +1502,7 @@ | |||
2623 | 1502 | msgstr "" | 1502 | msgstr "" |
2624 | 1503 | 1503 | ||
2625 | 1504 | #. type: Content of: <refentry><refsect1><title> | 1504 | #. type: Content of: <refentry><refsect1><title> |
2627 | 1505 | #: apt-cache.8.xml:373 apt-cdrom.8.xml:160 apt-config.8.xml:108 apt-extracttemplates.1.xml:78 apt-ftparchive.1.xml:588 apt-get.8.xml:575 apt-mark.8.xml:137 apt-sortpkgs.1.xml:73 | 1505 | #: apt-cache.8.xml:373 apt-cdrom.8.xml:160 apt-config.8.xml:108 apt-extracttemplates.1.xml:78 apt-ftparchive.1.xml:596 apt-get.8.xml:575 apt-mark.8.xml:137 apt-sortpkgs.1.xml:73 |
2628 | 1506 | msgid "Diagnostics" | 1506 | msgid "Diagnostics" |
2629 | 1507 | msgstr "" | 1507 | msgstr "" |
2630 | 1508 | 1508 | ||
2631 | @@ -1566,7 +1566,7 @@ | |||
2632 | 1566 | #: apt-cdrom.8.xml:66 | 1566 | #: apt-cdrom.8.xml:66 |
2633 | 1567 | msgid "" | 1567 | msgid "" |
2634 | 1568 | "<literal>add</literal> is used to add a new disc to the source list. It will " | 1568 | "<literal>add</literal> is used to add a new disc to the source list. It will " |
2636 | 1569 | "unmount the CDROM device, prompt for a disk to be inserted and then procceed " | 1569 | "unmount the CDROM device, prompt for a disk to be inserted and then proceed " |
2637 | 1570 | "to scan it and copy the index files. If the disc does not have a proper " | 1570 | "to scan it and copy the index files. If the disc does not have a proper " |
2638 | 1571 | "<filename>disk</filename> directory you will be prompted for a descriptive " | 1571 | "<filename>disk</filename> directory you will be prompted for a descriptive " |
2639 | 1572 | "title." | 1572 | "title." |
2640 | @@ -1606,7 +1606,7 @@ | |||
2641 | 1606 | msgstr "" | 1606 | msgstr "" |
2642 | 1607 | 1607 | ||
2643 | 1608 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> | 1608 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> |
2645 | 1609 | #: apt-cdrom.8.xml:95 apt-ftparchive.1.xml:503 apt-get.8.xml:328 | 1609 | #: apt-cdrom.8.xml:95 apt-ftparchive.1.xml:504 apt-get.8.xml:328 |
2646 | 1610 | msgid "<option>-d</option>" | 1610 | msgid "<option>-d</option>" |
2647 | 1611 | msgstr "" | 1611 | msgstr "" |
2648 | 1612 | 1612 | ||
2649 | @@ -1750,7 +1750,7 @@ | |||
2650 | 1750 | msgstr "" | 1750 | msgstr "" |
2651 | 1751 | 1751 | ||
2652 | 1752 | #. type: Content of: <refentry><refsect1><para> | 1752 | #. type: Content of: <refentry><refsect1><para> |
2654 | 1753 | #: apt-config.8.xml:53 apt-ftparchive.1.xml:71 | 1753 | #: apt-config.8.xml:53 apt-ftparchive.1.xml:72 |
2655 | 1754 | msgid "" | 1754 | msgid "" |
2656 | 1755 | "Unless the <option>-h</option>, or <option>--help</option> option is given " | 1755 | "Unless the <option>-h</option>, or <option>--help</option> option is given " |
2657 | 1756 | "one of the commands below must be present." | 1756 | "one of the commands below must be present." |
2658 | @@ -1801,7 +1801,7 @@ | |||
2659 | 1801 | msgstr "" | 1801 | msgstr "" |
2660 | 1802 | 1802 | ||
2661 | 1803 | #. type: Content of: <refentry><refsect1><para> | 1803 | #. type: Content of: <refentry><refsect1><para> |
2663 | 1804 | #: apt-config.8.xml:104 apt-extracttemplates.1.xml:75 apt-ftparchive.1.xml:585 apt-sortpkgs.1.xml:70 | 1804 | #: apt-config.8.xml:104 apt-extracttemplates.1.xml:75 apt-ftparchive.1.xml:593 apt-sortpkgs.1.xml:70 |
2664 | 1805 | msgid "&apt-conf;" | 1805 | msgid "&apt-conf;" |
2665 | 1806 | msgstr "" | 1806 | msgstr "" |
2666 | 1807 | 1807 | ||
2667 | @@ -1910,7 +1910,8 @@ | |||
2668 | 1910 | "<command>apt-ftparchive</command> <arg><option>-hvdsq</option></arg> " | 1910 | "<command>apt-ftparchive</command> <arg><option>-hvdsq</option></arg> " |
2669 | 1911 | "<arg><option>--md5</option></arg> <arg><option>--delink</option></arg> " | 1911 | "<arg><option>--md5</option></arg> <arg><option>--delink</option></arg> " |
2670 | 1912 | "<arg><option>--readonly</option></arg> " | 1912 | "<arg><option>--readonly</option></arg> " |
2672 | 1913 | "<arg><option>--contents</option></arg> <arg><option>-o " | 1913 | "<arg><option>--contents</option></arg> <arg><option>--arch " |
2673 | 1914 | "<replaceable>architecture</replaceable></option></arg> <arg><option>-o " | ||
2674 | 1914 | "<replaceable>config</replaceable>=<replaceable>string</replaceable></option></arg> " | 1915 | "<replaceable>config</replaceable>=<replaceable>string</replaceable></option></arg> " |
2675 | 1915 | "<arg><option>-c=<replaceable>file</replaceable></option></arg> <group " | 1916 | "<arg><option>-c=<replaceable>file</replaceable></option></arg> <group " |
2676 | 1916 | "choice=\"req\"> <arg>packages<arg choice=\"plain\" " | 1917 | "choice=\"req\"> <arg>packages<arg choice=\"plain\" " |
2677 | @@ -1929,7 +1930,7 @@ | |||
2678 | 1929 | msgstr "" | 1930 | msgstr "" |
2679 | 1930 | 1931 | ||
2680 | 1931 | #. type: Content of: <refentry><refsect1><para> | 1932 | #. type: Content of: <refentry><refsect1><para> |
2682 | 1932 | #: apt-ftparchive.1.xml:56 | 1933 | #: apt-ftparchive.1.xml:57 |
2683 | 1933 | msgid "" | 1934 | msgid "" |
2684 | 1934 | "<command>apt-ftparchive</command> is the command line tool that generates " | 1935 | "<command>apt-ftparchive</command> is the command line tool that generates " |
2685 | 1935 | "the index files that APT uses to access a distribution source. The index " | 1936 | "the index files that APT uses to access a distribution source. The index " |
2686 | @@ -1938,7 +1939,7 @@ | |||
2687 | 1938 | msgstr "" | 1939 | msgstr "" |
2688 | 1939 | 1940 | ||
2689 | 1940 | #. type: Content of: <refentry><refsect1><para> | 1941 | #. type: Content of: <refentry><refsect1><para> |
2691 | 1941 | #: apt-ftparchive.1.xml:60 | 1942 | #: apt-ftparchive.1.xml:61 |
2692 | 1942 | msgid "" | 1943 | msgid "" |
2693 | 1943 | "<command>apt-ftparchive</command> is a superset of the &dpkg-scanpackages; " | 1944 | "<command>apt-ftparchive</command> is a superset of the &dpkg-scanpackages; " |
2694 | 1944 | "program, incorporating its entire functionality via the " | 1945 | "program, incorporating its entire functionality via the " |
2695 | @@ -1948,7 +1949,7 @@ | |||
2696 | 1948 | msgstr "" | 1949 | msgstr "" |
2697 | 1949 | 1950 | ||
2698 | 1950 | #. type: Content of: <refentry><refsect1><para> | 1951 | #. type: Content of: <refentry><refsect1><para> |
2700 | 1951 | #: apt-ftparchive.1.xml:66 | 1952 | #: apt-ftparchive.1.xml:67 |
2701 | 1952 | msgid "" | 1953 | msgid "" |
2702 | 1953 | "Internally <command>apt-ftparchive</command> can make use of binary " | 1954 | "Internally <command>apt-ftparchive</command> can make use of binary " |
2703 | 1954 | "databases to cache the contents of a .deb file and it does not rely on any " | 1955 | "databases to cache the contents of a .deb file and it does not rely on any " |
2704 | @@ -1958,12 +1959,12 @@ | |||
2705 | 1958 | msgstr "" | 1959 | msgstr "" |
2706 | 1959 | 1960 | ||
2707 | 1960 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> | 1961 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> |
2709 | 1961 | #: apt-ftparchive.1.xml:75 | 1962 | #: apt-ftparchive.1.xml:76 |
2710 | 1962 | msgid "packages" | 1963 | msgid "packages" |
2711 | 1963 | msgstr "" | 1964 | msgstr "" |
2712 | 1964 | 1965 | ||
2713 | 1965 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | 1966 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
2715 | 1966 | #: apt-ftparchive.1.xml:77 | 1967 | #: apt-ftparchive.1.xml:78 |
2716 | 1967 | msgid "" | 1968 | msgid "" |
2717 | 1968 | "The packages command generates a package file from a directory tree. It " | 1969 | "The packages command generates a package file from a directory tree. It " |
2718 | 1969 | "takes the given directory and recursively searches it for .deb files, " | 1970 | "takes the given directory and recursively searches it for .deb files, " |
2719 | @@ -1972,17 +1973,17 @@ | |||
2720 | 1972 | msgstr "" | 1973 | msgstr "" |
2721 | 1973 | 1974 | ||
2722 | 1974 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | 1975 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
2724 | 1975 | #: apt-ftparchive.1.xml:82 apt-ftparchive.1.xml:106 | 1976 | #: apt-ftparchive.1.xml:83 apt-ftparchive.1.xml:107 |
2725 | 1976 | msgid "The option <option>--db</option> can be used to specify a binary caching DB." | 1977 | msgid "The option <option>--db</option> can be used to specify a binary caching DB." |
2726 | 1977 | msgstr "" | 1978 | msgstr "" |
2727 | 1978 | 1979 | ||
2728 | 1979 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> | 1980 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> |
2730 | 1980 | #: apt-ftparchive.1.xml:85 | 1981 | #: apt-ftparchive.1.xml:86 |
2731 | 1981 | msgid "sources" | 1982 | msgid "sources" |
2732 | 1982 | msgstr "" | 1983 | msgstr "" |
2733 | 1983 | 1984 | ||
2734 | 1984 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | 1985 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
2736 | 1985 | #: apt-ftparchive.1.xml:87 | 1986 | #: apt-ftparchive.1.xml:88 |
2737 | 1986 | msgid "" | 1987 | msgid "" |
2738 | 1987 | "The <literal>sources</literal> command generates a source index file from a " | 1988 | "The <literal>sources</literal> command generates a source index file from a " |
2739 | 1988 | "directory tree. It takes the given directory and recursively searches it " | 1989 | "directory tree. It takes the given directory and recursively searches it " |
2740 | @@ -1991,7 +1992,7 @@ | |||
2741 | 1991 | msgstr "" | 1992 | msgstr "" |
2742 | 1992 | 1993 | ||
2743 | 1993 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | 1994 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
2745 | 1994 | #: apt-ftparchive.1.xml:92 | 1995 | #: apt-ftparchive.1.xml:93 |
2746 | 1995 | msgid "" | 1996 | msgid "" |
2747 | 1996 | "If an override file is specified then a source override file will be looked " | 1997 | "If an override file is specified then a source override file will be looked " |
2748 | 1997 | "for with an extension of .src. The --source-override option can be used to " | 1998 | "for with an extension of .src. The --source-override option can be used to " |
2749 | @@ -1999,12 +2000,12 @@ | |||
2750 | 1999 | msgstr "" | 2000 | msgstr "" |
2751 | 2000 | 2001 | ||
2752 | 2001 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> | 2002 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> |
2754 | 2002 | #: apt-ftparchive.1.xml:97 | 2003 | #: apt-ftparchive.1.xml:98 |
2755 | 2003 | msgid "contents" | 2004 | msgid "contents" |
2756 | 2004 | msgstr "" | 2005 | msgstr "" |
2757 | 2005 | 2006 | ||
2758 | 2006 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | 2007 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
2760 | 2007 | #: apt-ftparchive.1.xml:99 | 2008 | #: apt-ftparchive.1.xml:100 |
2761 | 2008 | msgid "" | 2009 | msgid "" |
2762 | 2009 | "The <literal>contents</literal> command generates a contents file from a " | 2010 | "The <literal>contents</literal> command generates a contents file from a " |
2763 | 2010 | "directory tree. It takes the given directory and recursively searches it for " | 2011 | "directory tree. It takes the given directory and recursively searches it for " |
2764 | @@ -2015,12 +2016,12 @@ | |||
2765 | 2015 | msgstr "" | 2016 | msgstr "" |
2766 | 2016 | 2017 | ||
2767 | 2017 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> | 2018 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> |
2769 | 2018 | #: apt-ftparchive.1.xml:109 | 2019 | #: apt-ftparchive.1.xml:110 |
2770 | 2019 | msgid "release" | 2020 | msgid "release" |
2771 | 2020 | msgstr "" | 2021 | msgstr "" |
2772 | 2021 | 2022 | ||
2773 | 2022 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | 2023 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
2775 | 2023 | #: apt-ftparchive.1.xml:111 | 2024 | #: apt-ftparchive.1.xml:112 |
2776 | 2024 | msgid "" | 2025 | msgid "" |
2777 | 2025 | "The <literal>release</literal> command generates a Release file from a " | 2026 | "The <literal>release</literal> command generates a Release file from a " |
2778 | 2026 | "directory tree. It recursively searches the given directory for Packages, " | 2027 | "directory tree. It recursively searches the given directory for Packages, " |
2779 | @@ -2030,7 +2031,7 @@ | |||
2780 | 2030 | msgstr "" | 2031 | msgstr "" |
2781 | 2031 | 2032 | ||
2782 | 2032 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | 2033 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
2784 | 2033 | #: apt-ftparchive.1.xml:118 | 2034 | #: apt-ftparchive.1.xml:119 |
2785 | 2034 | msgid "" | 2035 | msgid "" |
2786 | 2035 | "Values for the additional metadata fields in the Release file are taken from " | 2036 | "Values for the additional metadata fields in the Release file are taken from " |
2787 | 2036 | "the corresponding variables under " | 2037 | "the corresponding variables under " |
2788 | @@ -2044,12 +2045,12 @@ | |||
2789 | 2044 | msgstr "" | 2045 | msgstr "" |
2790 | 2045 | 2046 | ||
2791 | 2046 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> | 2047 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> |
2793 | 2047 | #: apt-ftparchive.1.xml:128 | 2048 | #: apt-ftparchive.1.xml:129 |
2794 | 2048 | msgid "generate" | 2049 | msgid "generate" |
2795 | 2049 | msgstr "" | 2050 | msgstr "" |
2796 | 2050 | 2051 | ||
2797 | 2051 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | 2052 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
2799 | 2052 | #: apt-ftparchive.1.xml:130 | 2053 | #: apt-ftparchive.1.xml:131 |
2800 | 2053 | msgid "" | 2054 | msgid "" |
2801 | 2054 | "The <literal>generate</literal> command is designed to be runnable from a " | 2055 | "The <literal>generate</literal> command is designed to be runnable from a " |
2802 | 2055 | "cron script and builds indexes according to the given config file. The " | 2056 | "cron script and builds indexes according to the given config file. The " |
2803 | @@ -2059,24 +2060,24 @@ | |||
2804 | 2059 | msgstr "" | 2060 | msgstr "" |
2805 | 2060 | 2061 | ||
2806 | 2061 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> | 2062 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> |
2808 | 2062 | #: apt-ftparchive.1.xml:137 apt-get.8.xml:292 | 2063 | #: apt-ftparchive.1.xml:138 apt-get.8.xml:292 |
2809 | 2063 | msgid "clean" | 2064 | msgid "clean" |
2810 | 2064 | msgstr "" | 2065 | msgstr "" |
2811 | 2065 | 2066 | ||
2812 | 2066 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | 2067 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
2814 | 2067 | #: apt-ftparchive.1.xml:139 | 2068 | #: apt-ftparchive.1.xml:140 |
2815 | 2068 | msgid "" | 2069 | msgid "" |
2816 | 2069 | "The <literal>clean</literal> command tidies the databases used by the given " | 2070 | "The <literal>clean</literal> command tidies the databases used by the given " |
2817 | 2070 | "configuration file by removing any records that are no longer necessary." | 2071 | "configuration file by removing any records that are no longer necessary." |
2818 | 2071 | msgstr "" | 2072 | msgstr "" |
2819 | 2072 | 2073 | ||
2820 | 2073 | #. type: Content of: <refentry><refsect1><title> | 2074 | #. type: Content of: <refentry><refsect1><title> |
2822 | 2074 | #: apt-ftparchive.1.xml:145 | 2075 | #: apt-ftparchive.1.xml:146 |
2823 | 2075 | msgid "The Generate Configuration" | 2076 | msgid "The Generate Configuration" |
2824 | 2076 | msgstr "" | 2077 | msgstr "" |
2825 | 2077 | 2078 | ||
2826 | 2078 | #. type: Content of: <refentry><refsect1><para> | 2079 | #. type: Content of: <refentry><refsect1><para> |
2828 | 2079 | #: apt-ftparchive.1.xml:147 | 2080 | #: apt-ftparchive.1.xml:148 |
2829 | 2080 | msgid "" | 2081 | msgid "" |
2830 | 2081 | "The <literal>generate</literal> command uses a configuration file to " | 2082 | "The <literal>generate</literal> command uses a configuration file to " |
2831 | 2082 | "describe the archives that are going to be generated. It follows the typical " | 2083 | "describe the archives that are going to be generated. It follows the typical " |
2832 | @@ -2087,17 +2088,17 @@ | |||
2833 | 2087 | msgstr "" | 2088 | msgstr "" |
2834 | 2088 | 2089 | ||
2835 | 2089 | #. type: Content of: <refentry><refsect1><para> | 2090 | #. type: Content of: <refentry><refsect1><para> |
2837 | 2090 | #: apt-ftparchive.1.xml:155 | 2091 | #: apt-ftparchive.1.xml:156 |
2838 | 2091 | msgid "The generate configuration has 4 separate sections, each described below." | 2092 | msgid "The generate configuration has 4 separate sections, each described below." |
2839 | 2092 | msgstr "" | 2093 | msgstr "" |
2840 | 2093 | 2094 | ||
2841 | 2094 | #. type: Content of: <refentry><refsect1><refsect2><title> | 2095 | #. type: Content of: <refentry><refsect1><refsect2><title> |
2843 | 2095 | #: apt-ftparchive.1.xml:157 | 2096 | #: apt-ftparchive.1.xml:158 |
2844 | 2096 | msgid "Dir Section" | 2097 | msgid "Dir Section" |
2845 | 2097 | msgstr "" | 2098 | msgstr "" |
2846 | 2098 | 2099 | ||
2847 | 2099 | #. type: Content of: <refentry><refsect1><refsect2><para> | 2100 | #. type: Content of: <refentry><refsect1><refsect2><para> |
2849 | 2100 | #: apt-ftparchive.1.xml:159 | 2101 | #: apt-ftparchive.1.xml:160 |
2850 | 2101 | msgid "" | 2102 | msgid "" |
2851 | 2102 | "The <literal>Dir</literal> section defines the standard directories needed " | 2103 | "The <literal>Dir</literal> section defines the standard directories needed " |
2852 | 2103 | "to locate the files required during the generation process. These " | 2104 | "to locate the files required during the generation process. These " |
2853 | @@ -2106,12 +2107,12 @@ | |||
2854 | 2106 | msgstr "" | 2107 | msgstr "" |
2855 | 2107 | 2108 | ||
2856 | 2108 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> | 2109 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> |
2858 | 2109 | #: apt-ftparchive.1.xml:164 | 2110 | #: apt-ftparchive.1.xml:165 |
2859 | 2110 | msgid "ArchiveDir" | 2111 | msgid "ArchiveDir" |
2860 | 2111 | msgstr "" | 2112 | msgstr "" |
2861 | 2112 | 2113 | ||
2862 | 2113 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> | 2114 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> |
2864 | 2114 | #: apt-ftparchive.1.xml:166 | 2115 | #: apt-ftparchive.1.xml:167 |
2865 | 2115 | msgid "" | 2116 | msgid "" |
2866 | 2116 | "Specifies the root of the FTP archive, in a standard Debian configuration " | 2117 | "Specifies the root of the FTP archive, in a standard Debian configuration " |
2867 | 2117 | "this is the directory that contains the <filename>ls-LR</filename> and dist " | 2118 | "this is the directory that contains the <filename>ls-LR</filename> and dist " |
2868 | @@ -2119,44 +2120,44 @@ | |||
2869 | 2119 | msgstr "" | 2120 | msgstr "" |
2870 | 2120 | 2121 | ||
2871 | 2121 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> | 2122 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> |
2873 | 2122 | #: apt-ftparchive.1.xml:171 | 2123 | #: apt-ftparchive.1.xml:172 |
2874 | 2123 | msgid "OverrideDir" | 2124 | msgid "OverrideDir" |
2875 | 2124 | msgstr "" | 2125 | msgstr "" |
2876 | 2125 | 2126 | ||
2877 | 2126 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> | 2127 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> |
2879 | 2127 | #: apt-ftparchive.1.xml:173 | 2128 | #: apt-ftparchive.1.xml:174 |
2880 | 2128 | msgid "Specifies the location of the override files." | 2129 | msgid "Specifies the location of the override files." |
2881 | 2129 | msgstr "" | 2130 | msgstr "" |
2882 | 2130 | 2131 | ||
2883 | 2131 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> | 2132 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> |
2885 | 2132 | #: apt-ftparchive.1.xml:176 | 2133 | #: apt-ftparchive.1.xml:177 |
2886 | 2133 | msgid "CacheDir" | 2134 | msgid "CacheDir" |
2887 | 2134 | msgstr "" | 2135 | msgstr "" |
2888 | 2135 | 2136 | ||
2889 | 2136 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> | 2137 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> |
2891 | 2137 | #: apt-ftparchive.1.xml:178 | 2138 | #: apt-ftparchive.1.xml:179 |
2892 | 2138 | msgid "Specifies the location of the cache files" | 2139 | msgid "Specifies the location of the cache files" |
2893 | 2139 | msgstr "" | 2140 | msgstr "" |
2894 | 2140 | 2141 | ||
2895 | 2141 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> | 2142 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> |
2897 | 2142 | #: apt-ftparchive.1.xml:181 | 2143 | #: apt-ftparchive.1.xml:182 |
2898 | 2143 | msgid "FileListDir" | 2144 | msgid "FileListDir" |
2899 | 2144 | msgstr "" | 2145 | msgstr "" |
2900 | 2145 | 2146 | ||
2901 | 2146 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> | 2147 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> |
2903 | 2147 | #: apt-ftparchive.1.xml:183 | 2148 | #: apt-ftparchive.1.xml:184 |
2904 | 2148 | msgid "" | 2149 | msgid "" |
2905 | 2149 | "Specifies the location of the file list files, if the " | 2150 | "Specifies the location of the file list files, if the " |
2906 | 2150 | "<literal>FileList</literal> setting is used below." | 2151 | "<literal>FileList</literal> setting is used below." |
2907 | 2151 | msgstr "" | 2152 | msgstr "" |
2908 | 2152 | 2153 | ||
2909 | 2153 | #. type: Content of: <refentry><refsect1><refsect2><title> | 2154 | #. type: Content of: <refentry><refsect1><refsect2><title> |
2911 | 2154 | #: apt-ftparchive.1.xml:189 | 2155 | #: apt-ftparchive.1.xml:190 |
2912 | 2155 | msgid "Default Section" | 2156 | msgid "Default Section" |
2913 | 2156 | msgstr "" | 2157 | msgstr "" |
2914 | 2157 | 2158 | ||
2915 | 2158 | #. type: Content of: <refentry><refsect1><refsect2><para> | 2159 | #. type: Content of: <refentry><refsect1><refsect2><para> |
2917 | 2159 | #: apt-ftparchive.1.xml:191 | 2160 | #: apt-ftparchive.1.xml:192 |
2918 | 2160 | msgid "" | 2161 | msgid "" |
2919 | 2161 | "The <literal>Default</literal> section specifies default values, and " | 2162 | "The <literal>Default</literal> section specifies default values, and " |
2920 | 2162 | "settings that control the operation of the generator. Other sections may " | 2163 | "settings that control the operation of the generator. Other sections may " |
2921 | @@ -2164,12 +2165,12 @@ | |||
2922 | 2164 | msgstr "" | 2165 | msgstr "" |
2923 | 2165 | 2166 | ||
2924 | 2166 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> | 2167 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> |
2926 | 2167 | #: apt-ftparchive.1.xml:195 | 2168 | #: apt-ftparchive.1.xml:196 |
2927 | 2168 | msgid "Packages::Compress" | 2169 | msgid "Packages::Compress" |
2928 | 2169 | msgstr "" | 2170 | msgstr "" |
2929 | 2170 | 2171 | ||
2930 | 2171 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> | 2172 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> |
2932 | 2172 | #: apt-ftparchive.1.xml:197 | 2173 | #: apt-ftparchive.1.xml:198 |
2933 | 2173 | msgid "" | 2174 | msgid "" |
2934 | 2174 | "Sets the default compression schemes to use for the Package index files. It " | 2175 | "Sets the default compression schemes to use for the Package index files. It " |
2935 | 2175 | "is a string that contains a space separated list of at least one of: '.' (no " | 2176 | "is a string that contains a space separated list of at least one of: '.' (no " |
2936 | @@ -2178,60 +2179,60 @@ | |||
2937 | 2178 | msgstr "" | 2179 | msgstr "" |
2938 | 2179 | 2180 | ||
2939 | 2180 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> | 2181 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> |
2941 | 2181 | #: apt-ftparchive.1.xml:203 | 2182 | #: apt-ftparchive.1.xml:204 |
2942 | 2182 | msgid "Packages::Extensions" | 2183 | msgid "Packages::Extensions" |
2943 | 2183 | msgstr "" | 2184 | msgstr "" |
2944 | 2184 | 2185 | ||
2945 | 2185 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> | 2186 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> |
2947 | 2186 | #: apt-ftparchive.1.xml:205 | 2187 | #: apt-ftparchive.1.xml:206 |
2948 | 2187 | msgid "" | 2188 | msgid "" |
2949 | 2188 | "Sets the default list of file extensions that are package files. This " | 2189 | "Sets the default list of file extensions that are package files. This " |
2950 | 2189 | "defaults to '.deb'." | 2190 | "defaults to '.deb'." |
2951 | 2190 | msgstr "" | 2191 | msgstr "" |
2952 | 2191 | 2192 | ||
2953 | 2192 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> | 2193 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> |
2955 | 2193 | #: apt-ftparchive.1.xml:209 | 2194 | #: apt-ftparchive.1.xml:210 |
2956 | 2194 | msgid "Sources::Compress" | 2195 | msgid "Sources::Compress" |
2957 | 2195 | msgstr "" | 2196 | msgstr "" |
2958 | 2196 | 2197 | ||
2959 | 2197 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> | 2198 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> |
2961 | 2198 | #: apt-ftparchive.1.xml:211 | 2199 | #: apt-ftparchive.1.xml:212 |
2962 | 2199 | msgid "" | 2200 | msgid "" |
2963 | 2200 | "This is similar to <literal>Packages::Compress</literal> except that it " | 2201 | "This is similar to <literal>Packages::Compress</literal> except that it " |
2964 | 2201 | "controls the compression for the Sources files." | 2202 | "controls the compression for the Sources files." |
2965 | 2202 | msgstr "" | 2203 | msgstr "" |
2966 | 2203 | 2204 | ||
2967 | 2204 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> | 2205 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> |
2969 | 2205 | #: apt-ftparchive.1.xml:215 | 2206 | #: apt-ftparchive.1.xml:216 |
2970 | 2206 | msgid "Sources::Extensions" | 2207 | msgid "Sources::Extensions" |
2971 | 2207 | msgstr "" | 2208 | msgstr "" |
2972 | 2208 | 2209 | ||
2973 | 2209 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> | 2210 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> |
2975 | 2210 | #: apt-ftparchive.1.xml:217 | 2211 | #: apt-ftparchive.1.xml:218 |
2976 | 2211 | msgid "" | 2212 | msgid "" |
2977 | 2212 | "Sets the default list of file extensions that are source files. This " | 2213 | "Sets the default list of file extensions that are source files. This " |
2978 | 2213 | "defaults to '.dsc'." | 2214 | "defaults to '.dsc'." |
2979 | 2214 | msgstr "" | 2215 | msgstr "" |
2980 | 2215 | 2216 | ||
2981 | 2216 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> | 2217 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> |
2983 | 2217 | #: apt-ftparchive.1.xml:221 | 2218 | #: apt-ftparchive.1.xml:222 |
2984 | 2218 | msgid "Contents::Compress" | 2219 | msgid "Contents::Compress" |
2985 | 2219 | msgstr "" | 2220 | msgstr "" |
2986 | 2220 | 2221 | ||
2987 | 2221 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> | 2222 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> |
2989 | 2222 | #: apt-ftparchive.1.xml:223 | 2223 | #: apt-ftparchive.1.xml:224 |
2990 | 2223 | msgid "" | 2224 | msgid "" |
2991 | 2224 | "This is similar to <literal>Packages::Compress</literal> except that it " | 2225 | "This is similar to <literal>Packages::Compress</literal> except that it " |
2992 | 2225 | "controls the compression for the Contents files." | 2226 | "controls the compression for the Contents files." |
2993 | 2226 | msgstr "" | 2227 | msgstr "" |
2994 | 2227 | 2228 | ||
2995 | 2228 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> | 2229 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> |
2997 | 2229 | #: apt-ftparchive.1.xml:227 | 2230 | #: apt-ftparchive.1.xml:228 |
2998 | 2230 | msgid "DeLinkLimit" | 2231 | msgid "DeLinkLimit" |
2999 | 2231 | msgstr "" | 2232 | msgstr "" |
3000 | 2232 | 2233 | ||
3001 | 2233 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> | 2234 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> |
3003 | 2234 | #: apt-ftparchive.1.xml:229 | 2235 | #: apt-ftparchive.1.xml:230 |
3004 | 2235 | msgid "" | 2236 | msgid "" |
3005 | 2236 | "Specifies the number of kilobytes to delink (and replace with hard links) " | 2237 | "Specifies the number of kilobytes to delink (and replace with hard links) " |
3006 | 2237 | "per run. This is used in conjunction with the per-section " | 2238 | "per run. This is used in conjunction with the per-section " |
3007 | @@ -2239,24 +2240,24 @@ | |||
3008 | 2239 | msgstr "" | 2240 | msgstr "" |
3009 | 2240 | 2241 | ||
3010 | 2241 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> | 2242 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> |
3012 | 2242 | #: apt-ftparchive.1.xml:234 | 2243 | #: apt-ftparchive.1.xml:235 |
3013 | 2243 | msgid "FileMode" | 2244 | msgid "FileMode" |
3014 | 2244 | msgstr "" | 2245 | msgstr "" |
3015 | 2245 | 2246 | ||
3016 | 2246 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> | 2247 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> |
3018 | 2247 | #: apt-ftparchive.1.xml:236 | 2248 | #: apt-ftparchive.1.xml:237 |
3019 | 2248 | msgid "" | 2249 | msgid "" |
3020 | 2249 | "Specifies the mode of all created index files. It defaults to 0644. All " | 2250 | "Specifies the mode of all created index files. It defaults to 0644. All " |
3021 | 2250 | "index files are set to this mode with no regard to the umask." | 2251 | "index files are set to this mode with no regard to the umask." |
3022 | 2251 | msgstr "" | 2252 | msgstr "" |
3023 | 2252 | 2253 | ||
3024 | 2253 | #. type: Content of: <refentry><refsect1><refsect2><title> | 2254 | #. type: Content of: <refentry><refsect1><refsect2><title> |
3026 | 2254 | #: apt-ftparchive.1.xml:243 | 2255 | #: apt-ftparchive.1.xml:244 |
3027 | 2255 | msgid "TreeDefault Section" | 2256 | msgid "TreeDefault Section" |
3028 | 2256 | msgstr "" | 2257 | msgstr "" |
3029 | 2257 | 2258 | ||
3030 | 2258 | #. type: Content of: <refentry><refsect1><refsect2><para> | 2259 | #. type: Content of: <refentry><refsect1><refsect2><para> |
3032 | 2259 | #: apt-ftparchive.1.xml:245 | 2260 | #: apt-ftparchive.1.xml:246 |
3033 | 2260 | msgid "" | 2261 | msgid "" |
3034 | 2261 | "Sets defaults specific to <literal>Tree</literal> sections. All of these " | 2262 | "Sets defaults specific to <literal>Tree</literal> sections. All of these " |
3035 | 2262 | "variables are substitution variables and have the strings $(DIST), " | 2263 | "variables are substitution variables and have the strings $(DIST), " |
3036 | @@ -2264,12 +2265,12 @@ | |||
3037 | 2264 | msgstr "" | 2265 | msgstr "" |
3038 | 2265 | 2266 | ||
3039 | 2266 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> | 2267 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> |
3041 | 2267 | #: apt-ftparchive.1.xml:250 | 2268 | #: apt-ftparchive.1.xml:251 |
3042 | 2268 | msgid "MaxContentsChange" | 2269 | msgid "MaxContentsChange" |
3043 | 2269 | msgstr "" | 2270 | msgstr "" |
3044 | 2270 | 2271 | ||
3045 | 2271 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> | 2272 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> |
3047 | 2272 | #: apt-ftparchive.1.xml:252 | 2273 | #: apt-ftparchive.1.xml:253 |
3048 | 2273 | msgid "" | 2274 | msgid "" |
3049 | 2274 | "Sets the number of kilobytes of contents files that are generated each " | 2275 | "Sets the number of kilobytes of contents files that are generated each " |
3050 | 2275 | "day. The contents files are round-robined so that over several days they " | 2276 | "day. The contents files are round-robined so that over several days they " |
3051 | @@ -2277,12 +2278,12 @@ | |||
3052 | 2277 | msgstr "" | 2278 | msgstr "" |
3053 | 2278 | 2279 | ||
3054 | 2279 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> | 2280 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> |
3056 | 2280 | #: apt-ftparchive.1.xml:257 | 2281 | #: apt-ftparchive.1.xml:258 |
3057 | 2281 | msgid "ContentsAge" | 2282 | msgid "ContentsAge" |
3058 | 2282 | msgstr "" | 2283 | msgstr "" |
3059 | 2283 | 2284 | ||
3060 | 2284 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> | 2285 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> |
3062 | 2285 | #: apt-ftparchive.1.xml:259 | 2286 | #: apt-ftparchive.1.xml:260 |
3063 | 2286 | msgid "" | 2287 | msgid "" |
3064 | 2287 | "Controls the number of days a contents file is allowed to be checked without " | 2288 | "Controls the number of days a contents file is allowed to be checked without " |
3065 | 2288 | "changing. If this limit is passed the mtime of the contents file is " | 2289 | "changing. If this limit is passed the mtime of the contents file is " |
3066 | @@ -2293,60 +2294,60 @@ | |||
3067 | 2293 | msgstr "" | 2294 | msgstr "" |
3068 | 2294 | 2295 | ||
3069 | 2295 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> | 2296 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> |
3071 | 2296 | #: apt-ftparchive.1.xml:268 | 2297 | #: apt-ftparchive.1.xml:269 |
3072 | 2297 | msgid "Directory" | 2298 | msgid "Directory" |
3073 | 2298 | msgstr "" | 2299 | msgstr "" |
3074 | 2299 | 2300 | ||
3075 | 2300 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> | 2301 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> |
3077 | 2301 | #: apt-ftparchive.1.xml:270 | 2302 | #: apt-ftparchive.1.xml:271 |
3078 | 2302 | msgid "" | 2303 | msgid "" |
3079 | 2303 | "Sets the top of the .deb directory tree. Defaults to " | 2304 | "Sets the top of the .deb directory tree. Defaults to " |
3080 | 2304 | "<filename>$(DIST)/$(SECTION)/binary-$(ARCH)/</filename>" | 2305 | "<filename>$(DIST)/$(SECTION)/binary-$(ARCH)/</filename>" |
3081 | 2305 | msgstr "" | 2306 | msgstr "" |
3082 | 2306 | 2307 | ||
3083 | 2307 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> | 2308 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> |
3085 | 2308 | #: apt-ftparchive.1.xml:274 | 2309 | #: apt-ftparchive.1.xml:275 |
3086 | 2309 | msgid "SrcDirectory" | 2310 | msgid "SrcDirectory" |
3087 | 2310 | msgstr "" | 2311 | msgstr "" |
3088 | 2311 | 2312 | ||
3089 | 2312 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> | 2313 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> |
3091 | 2313 | #: apt-ftparchive.1.xml:276 | 2314 | #: apt-ftparchive.1.xml:277 |
3092 | 2314 | msgid "" | 2315 | msgid "" |
3093 | 2315 | "Sets the top of the source package directory tree. Defaults to " | 2316 | "Sets the top of the source package directory tree. Defaults to " |
3094 | 2316 | "<filename>$(DIST)/$(SECTION)/source/</filename>" | 2317 | "<filename>$(DIST)/$(SECTION)/source/</filename>" |
3095 | 2317 | msgstr "" | 2318 | msgstr "" |
3096 | 2318 | 2319 | ||
3097 | 2319 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> | 2320 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> |
3099 | 2320 | #: apt-ftparchive.1.xml:280 apt-ftparchive.1.xml:406 | 2321 | #: apt-ftparchive.1.xml:281 apt-ftparchive.1.xml:407 |
3100 | 2321 | msgid "Packages" | 2322 | msgid "Packages" |
3101 | 2322 | msgstr "" | 2323 | msgstr "" |
3102 | 2323 | 2324 | ||
3103 | 2324 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> | 2325 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> |
3105 | 2325 | #: apt-ftparchive.1.xml:282 | 2326 | #: apt-ftparchive.1.xml:283 |
3106 | 2326 | msgid "" | 2327 | msgid "" |
3107 | 2327 | "Sets the output Packages file. Defaults to " | 2328 | "Sets the output Packages file. Defaults to " |
3108 | 2328 | "<filename>$(DIST)/$(SECTION)/binary-$(ARCH)/Packages</filename>" | 2329 | "<filename>$(DIST)/$(SECTION)/binary-$(ARCH)/Packages</filename>" |
3109 | 2329 | msgstr "" | 2330 | msgstr "" |
3110 | 2330 | 2331 | ||
3111 | 2331 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> | 2332 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> |
3113 | 2332 | #: apt-ftparchive.1.xml:286 apt-ftparchive.1.xml:411 | 2333 | #: apt-ftparchive.1.xml:287 apt-ftparchive.1.xml:412 |
3114 | 2333 | msgid "Sources" | 2334 | msgid "Sources" |
3115 | 2334 | msgstr "" | 2335 | msgstr "" |
3116 | 2335 | 2336 | ||
3117 | 2336 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> | 2337 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> |
3119 | 2337 | #: apt-ftparchive.1.xml:288 | 2338 | #: apt-ftparchive.1.xml:289 |
3120 | 2338 | msgid "" | 2339 | msgid "" |
3121 | 2339 | "Sets the output Sources file. Defaults to " | 2340 | "Sets the output Sources file. Defaults to " |
3122 | 2340 | "<filename>$(DIST)/$(SECTION)/source/Sources</filename>" | 2341 | "<filename>$(DIST)/$(SECTION)/source/Sources</filename>" |
3123 | 2341 | msgstr "" | 2342 | msgstr "" |
3124 | 2342 | 2343 | ||
3125 | 2343 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> | 2344 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> |
3127 | 2344 | #: apt-ftparchive.1.xml:292 | 2345 | #: apt-ftparchive.1.xml:293 |
3128 | 2345 | msgid "InternalPrefix" | 2346 | msgid "InternalPrefix" |
3129 | 2346 | msgstr "" | 2347 | msgstr "" |
3130 | 2347 | 2348 | ||
3131 | 2348 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> | 2349 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> |
3133 | 2349 | #: apt-ftparchive.1.xml:294 | 2350 | #: apt-ftparchive.1.xml:295 |
3134 | 2350 | msgid "" | 2351 | msgid "" |
3135 | 2351 | "Sets the path prefix that causes a symlink to be considered an internal link " | 2352 | "Sets the path prefix that causes a symlink to be considered an internal link " |
3136 | 2352 | "instead of an external link. Defaults to " | 2353 | "instead of an external link. Defaults to " |
3137 | @@ -2354,12 +2355,12 @@ | |||
3138 | 2354 | msgstr "" | 2355 | msgstr "" |
3139 | 2355 | 2356 | ||
3140 | 2356 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> | 2357 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> |
3142 | 2357 | #: apt-ftparchive.1.xml:299 apt-ftparchive.1.xml:417 | 2358 | #: apt-ftparchive.1.xml:300 apt-ftparchive.1.xml:418 |
3143 | 2358 | msgid "Contents" | 2359 | msgid "Contents" |
3144 | 2359 | msgstr "" | 2360 | msgstr "" |
3145 | 2360 | 2361 | ||
3146 | 2361 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> | 2362 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> |
3148 | 2362 | #: apt-ftparchive.1.xml:301 | 2363 | #: apt-ftparchive.1.xml:302 |
3149 | 2363 | msgid "" | 2364 | msgid "" |
3150 | 2364 | "Sets the output Contents file. Defaults to " | 2365 | "Sets the output Contents file. Defaults to " |
3151 | 2365 | "<filename>$(DIST)/Contents-$(ARCH)</filename>. If this setting causes " | 2366 | "<filename>$(DIST)/Contents-$(ARCH)</filename>. If this setting causes " |
3152 | @@ -2369,34 +2370,34 @@ | |||
3153 | 2369 | msgstr "" | 2370 | msgstr "" |
3154 | 2370 | 2371 | ||
3155 | 2371 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> | 2372 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> |
3157 | 2372 | #: apt-ftparchive.1.xml:308 | 2373 | #: apt-ftparchive.1.xml:309 |
3158 | 2373 | msgid "Contents::Header" | 2374 | msgid "Contents::Header" |
3159 | 2374 | msgstr "" | 2375 | msgstr "" |
3160 | 2375 | 2376 | ||
3161 | 2376 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> | 2377 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> |
3163 | 2377 | #: apt-ftparchive.1.xml:310 | 2378 | #: apt-ftparchive.1.xml:311 |
3164 | 2378 | msgid "Sets header file to prepend to the contents output." | 2379 | msgid "Sets header file to prepend to the contents output." |
3165 | 2379 | msgstr "" | 2380 | msgstr "" |
3166 | 2380 | 2381 | ||
3167 | 2381 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> | 2382 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> |
3169 | 2382 | #: apt-ftparchive.1.xml:313 apt-ftparchive.1.xml:442 | 2383 | #: apt-ftparchive.1.xml:314 apt-ftparchive.1.xml:443 |
3170 | 2383 | msgid "BinCacheDB" | 2384 | msgid "BinCacheDB" |
3171 | 2384 | msgstr "" | 2385 | msgstr "" |
3172 | 2385 | 2386 | ||
3173 | 2386 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> | 2387 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> |
3175 | 2387 | #: apt-ftparchive.1.xml:315 | 2388 | #: apt-ftparchive.1.xml:316 |
3176 | 2388 | msgid "" | 2389 | msgid "" |
3177 | 2389 | "Sets the binary cache database to use for this section. Multiple sections " | 2390 | "Sets the binary cache database to use for this section. Multiple sections " |
3178 | 2390 | "can share the same database." | 2391 | "can share the same database." |
3179 | 2391 | msgstr "" | 2392 | msgstr "" |
3180 | 2392 | 2393 | ||
3181 | 2393 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> | 2394 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> |
3183 | 2394 | #: apt-ftparchive.1.xml:319 | 2395 | #: apt-ftparchive.1.xml:320 |
3184 | 2395 | msgid "FileList" | 2396 | msgid "FileList" |
3185 | 2396 | msgstr "" | 2397 | msgstr "" |
3186 | 2397 | 2398 | ||
3187 | 2398 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> | 2399 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> |
3189 | 2399 | #: apt-ftparchive.1.xml:321 | 2400 | #: apt-ftparchive.1.xml:322 |
3190 | 2400 | msgid "" | 2401 | msgid "" |
3191 | 2401 | "Specifies that instead of walking the directory tree, " | 2402 | "Specifies that instead of walking the directory tree, " |
3192 | 2402 | "<command>apt-ftparchive</command> should read the list of files from the " | 2403 | "<command>apt-ftparchive</command> should read the list of files from the " |
3193 | @@ -2404,12 +2405,12 @@ | |||
3194 | 2404 | msgstr "" | 2405 | msgstr "" |
3195 | 2405 | 2406 | ||
3196 | 2406 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> | 2407 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> |
3198 | 2407 | #: apt-ftparchive.1.xml:326 | 2408 | #: apt-ftparchive.1.xml:327 |
3199 | 2408 | msgid "SourceFileList" | 2409 | msgid "SourceFileList" |
3200 | 2409 | msgstr "" | 2410 | msgstr "" |
3201 | 2410 | 2411 | ||
3202 | 2411 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> | 2412 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> |
3204 | 2412 | #: apt-ftparchive.1.xml:328 | 2413 | #: apt-ftparchive.1.xml:329 |
3205 | 2413 | msgid "" | 2414 | msgid "" |
3206 | 2414 | "Specifies that instead of walking the directory tree, " | 2415 | "Specifies that instead of walking the directory tree, " |
3207 | 2415 | "<command>apt-ftparchive</command> should read the list of files from the " | 2416 | "<command>apt-ftparchive</command> should read the list of files from the " |
3208 | @@ -2418,12 +2419,12 @@ | |||
3209 | 2418 | msgstr "" | 2419 | msgstr "" |
3210 | 2419 | 2420 | ||
3211 | 2420 | #. type: Content of: <refentry><refsect1><refsect2><title> | 2421 | #. type: Content of: <refentry><refsect1><refsect2><title> |
3213 | 2421 | #: apt-ftparchive.1.xml:336 | 2422 | #: apt-ftparchive.1.xml:337 |
3214 | 2422 | msgid "Tree Section" | 2423 | msgid "Tree Section" |
3215 | 2423 | msgstr "" | 2424 | msgstr "" |
3216 | 2424 | 2425 | ||
3217 | 2425 | #. type: Content of: <refentry><refsect1><refsect2><para> | 2426 | #. type: Content of: <refentry><refsect1><refsect2><para> |
3219 | 2426 | #: apt-ftparchive.1.xml:338 | 2427 | #: apt-ftparchive.1.xml:339 |
3220 | 2427 | msgid "" | 2428 | msgid "" |
3221 | 2428 | "The <literal>Tree</literal> section defines a standard Debian file tree " | 2429 | "The <literal>Tree</literal> section defines a standard Debian file tree " |
3222 | 2429 | "which consists of a base directory, then multiple sections in that base " | 2430 | "which consists of a base directory, then multiple sections in that base " |
3223 | @@ -2433,7 +2434,7 @@ | |||
3224 | 2433 | msgstr "" | 2434 | msgstr "" |
3225 | 2434 | 2435 | ||
3226 | 2435 | #. type: Content of: <refentry><refsect1><refsect2><para> | 2436 | #. type: Content of: <refentry><refsect1><refsect2><para> |
3228 | 2436 | #: apt-ftparchive.1.xml:343 | 2437 | #: apt-ftparchive.1.xml:344 |
3229 | 2437 | msgid "" | 2438 | msgid "" |
3230 | 2438 | "The <literal>Tree</literal> section takes a scope tag which sets the " | 2439 | "The <literal>Tree</literal> section takes a scope tag which sets the " |
3231 | 2439 | "<literal>$(DIST)</literal> variable and defines the root of the tree (the " | 2440 | "<literal>$(DIST)</literal> variable and defines the root of the tree (the " |
3232 | @@ -2442,7 +2443,7 @@ | |||
3233 | 2442 | msgstr "" | 2443 | msgstr "" |
3234 | 2443 | 2444 | ||
3235 | 2444 | #. type: Content of: <refentry><refsect1><refsect2><para> | 2445 | #. type: Content of: <refentry><refsect1><refsect2><para> |
3237 | 2445 | #: apt-ftparchive.1.xml:348 | 2446 | #: apt-ftparchive.1.xml:349 |
3238 | 2446 | msgid "" | 2447 | msgid "" |
3239 | 2447 | "All of the settings defined in the <literal>TreeDefault</literal> section " | 2448 | "All of the settings defined in the <literal>TreeDefault</literal> section " |
3240 | 2448 | "can be use in a <literal>Tree</literal> section as well as three new " | 2449 | "can be use in a <literal>Tree</literal> section as well as three new " |
3241 | @@ -2450,7 +2451,7 @@ | |||
3242 | 2450 | msgstr "" | 2451 | msgstr "" |
3243 | 2451 | 2452 | ||
3244 | 2452 | #. type: Content of: <refentry><refsect1><refsect2><para><programlisting> | 2453 | #. type: Content of: <refentry><refsect1><refsect2><para><programlisting> |
3246 | 2453 | #: apt-ftparchive.1.xml:354 | 2454 | #: apt-ftparchive.1.xml:355 |
3247 | 2454 | #, no-wrap | 2455 | #, no-wrap |
3248 | 2455 | msgid "" | 2456 | msgid "" |
3249 | 2456 | "for i in Sections do \n" | 2457 | "for i in Sections do \n" |
3250 | @@ -2460,7 +2461,7 @@ | |||
3251 | 2460 | msgstr "" | 2461 | msgstr "" |
3252 | 2461 | 2462 | ||
3253 | 2462 | #. type: Content of: <refentry><refsect1><refsect2><para> | 2463 | #. type: Content of: <refentry><refsect1><refsect2><para> |
3255 | 2463 | #: apt-ftparchive.1.xml:351 | 2464 | #: apt-ftparchive.1.xml:352 |
3256 | 2464 | msgid "" | 2465 | msgid "" |
3257 | 2465 | "When processing a <literal>Tree</literal> section " | 2466 | "When processing a <literal>Tree</literal> section " |
3258 | 2466 | "<command>apt-ftparchive</command> performs an operation similar to: " | 2467 | "<command>apt-ftparchive</command> performs an operation similar to: " |
3259 | @@ -2468,12 +2469,12 @@ | |||
3260 | 2468 | msgstr "" | 2469 | msgstr "" |
3261 | 2469 | 2470 | ||
3262 | 2470 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> | 2471 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> |
3264 | 2471 | #: apt-ftparchive.1.xml:360 | 2472 | #: apt-ftparchive.1.xml:361 |
3265 | 2472 | msgid "Sections" | 2473 | msgid "Sections" |
3266 | 2473 | msgstr "" | 2474 | msgstr "" |
3267 | 2474 | 2475 | ||
3268 | 2475 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> | 2476 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> |
3270 | 2476 | #: apt-ftparchive.1.xml:362 | 2477 | #: apt-ftparchive.1.xml:363 |
3271 | 2477 | msgid "" | 2478 | msgid "" |
3272 | 2478 | "This is a space separated list of sections which appear under the " | 2479 | "This is a space separated list of sections which appear under the " |
3273 | 2479 | "distribution, typically this is something like <literal>main contrib " | 2480 | "distribution, typically this is something like <literal>main contrib " |
3274 | @@ -2481,12 +2482,12 @@ | |||
3275 | 2481 | msgstr "" | 2482 | msgstr "" |
3276 | 2482 | 2483 | ||
3277 | 2483 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> | 2484 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> |
3279 | 2484 | #: apt-ftparchive.1.xml:367 | 2485 | #: apt-ftparchive.1.xml:368 |
3280 | 2485 | msgid "Architectures" | 2486 | msgid "Architectures" |
3281 | 2486 | msgstr "" | 2487 | msgstr "" |
3282 | 2487 | 2488 | ||
3283 | 2488 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> | 2489 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> |
3285 | 2489 | #: apt-ftparchive.1.xml:369 | 2490 | #: apt-ftparchive.1.xml:370 |
3286 | 2490 | msgid "" | 2491 | msgid "" |
3287 | 2491 | "This is a space separated list of all the architectures that appear under " | 2492 | "This is a space separated list of all the architectures that appear under " |
3288 | 2492 | "search section. The special architecture 'source' is used to indicate that " | 2493 | "search section. The special architecture 'source' is used to indicate that " |
3289 | @@ -2494,56 +2495,56 @@ | |||
3290 | 2494 | msgstr "" | 2495 | msgstr "" |
3291 | 2495 | 2496 | ||
3292 | 2496 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> | 2497 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> |
3294 | 2497 | #: apt-ftparchive.1.xml:374 apt-ftparchive.1.xml:422 | 2498 | #: apt-ftparchive.1.xml:375 apt-ftparchive.1.xml:423 |
3295 | 2498 | msgid "BinOverride" | 2499 | msgid "BinOverride" |
3296 | 2499 | msgstr "" | 2500 | msgstr "" |
3297 | 2500 | 2501 | ||
3298 | 2501 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> | 2502 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> |
3300 | 2502 | #: apt-ftparchive.1.xml:376 | 2503 | #: apt-ftparchive.1.xml:377 |
3301 | 2503 | msgid "" | 2504 | msgid "" |
3302 | 2504 | "Sets the binary override file. The override file contains section, priority " | 2505 | "Sets the binary override file. The override file contains section, priority " |
3303 | 2505 | "and maintainer address information." | 2506 | "and maintainer address information." |
3304 | 2506 | msgstr "" | 2507 | msgstr "" |
3305 | 2507 | 2508 | ||
3306 | 2508 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> | 2509 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> |
3308 | 2509 | #: apt-ftparchive.1.xml:380 apt-ftparchive.1.xml:427 | 2510 | #: apt-ftparchive.1.xml:381 apt-ftparchive.1.xml:428 |
3309 | 2510 | msgid "SrcOverride" | 2511 | msgid "SrcOverride" |
3310 | 2511 | msgstr "" | 2512 | msgstr "" |
3311 | 2512 | 2513 | ||
3312 | 2513 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> | 2514 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> |
3314 | 2514 | #: apt-ftparchive.1.xml:382 | 2515 | #: apt-ftparchive.1.xml:383 |
3315 | 2515 | msgid "" | 2516 | msgid "" |
3316 | 2516 | "Sets the source override file. The override file contains section " | 2517 | "Sets the source override file. The override file contains section " |
3317 | 2517 | "information." | 2518 | "information." |
3318 | 2518 | msgstr "" | 2519 | msgstr "" |
3319 | 2519 | 2520 | ||
3320 | 2520 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> | 2521 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> |
3322 | 2521 | #: apt-ftparchive.1.xml:386 apt-ftparchive.1.xml:432 | 2522 | #: apt-ftparchive.1.xml:387 apt-ftparchive.1.xml:433 |
3323 | 2522 | msgid "ExtraOverride" | 2523 | msgid "ExtraOverride" |
3324 | 2523 | msgstr "" | 2524 | msgstr "" |
3325 | 2524 | 2525 | ||
3326 | 2525 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> | 2526 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> |
3328 | 2526 | #: apt-ftparchive.1.xml:388 apt-ftparchive.1.xml:434 | 2527 | #: apt-ftparchive.1.xml:389 apt-ftparchive.1.xml:435 |
3329 | 2527 | msgid "Sets the binary extra override file." | 2528 | msgid "Sets the binary extra override file." |
3330 | 2528 | msgstr "" | 2529 | msgstr "" |
3331 | 2529 | 2530 | ||
3332 | 2530 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> | 2531 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> |
3334 | 2531 | #: apt-ftparchive.1.xml:391 apt-ftparchive.1.xml:437 | 2532 | #: apt-ftparchive.1.xml:392 apt-ftparchive.1.xml:438 |
3335 | 2532 | msgid "SrcExtraOverride" | 2533 | msgid "SrcExtraOverride" |
3336 | 2533 | msgstr "" | 2534 | msgstr "" |
3337 | 2534 | 2535 | ||
3338 | 2535 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> | 2536 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> |
3340 | 2536 | #: apt-ftparchive.1.xml:393 apt-ftparchive.1.xml:439 | 2537 | #: apt-ftparchive.1.xml:394 apt-ftparchive.1.xml:440 |
3341 | 2537 | msgid "Sets the source extra override file." | 2538 | msgid "Sets the source extra override file." |
3342 | 2538 | msgstr "" | 2539 | msgstr "" |
3343 | 2539 | 2540 | ||
3344 | 2540 | #. type: Content of: <refentry><refsect1><refsect2><title> | 2541 | #. type: Content of: <refentry><refsect1><refsect2><title> |
3346 | 2541 | #: apt-ftparchive.1.xml:398 | 2542 | #: apt-ftparchive.1.xml:399 |
3347 | 2542 | msgid "BinDirectory Section" | 2543 | msgid "BinDirectory Section" |
3348 | 2543 | msgstr "" | 2544 | msgstr "" |
3349 | 2544 | 2545 | ||
3350 | 2545 | #. type: Content of: <refentry><refsect1><refsect2><para> | 2546 | #. type: Content of: <refentry><refsect1><refsect2><para> |
3352 | 2546 | #: apt-ftparchive.1.xml:400 | 2547 | #: apt-ftparchive.1.xml:401 |
3353 | 2547 | msgid "" | 2548 | msgid "" |
3354 | 2548 | "The <literal>bindirectory</literal> section defines a binary directory tree " | 2549 | "The <literal>bindirectory</literal> section defines a binary directory tree " |
3355 | 2549 | "with no special structure. The scope tag specifies the location of the " | 2550 | "with no special structure. The scope tag specifies the location of the " |
3356 | @@ -2553,64 +2554,64 @@ | |||
3357 | 2553 | msgstr "" | 2554 | msgstr "" |
3358 | 2554 | 2555 | ||
3359 | 2555 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> | 2556 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> |
3361 | 2556 | #: apt-ftparchive.1.xml:408 | 2557 | #: apt-ftparchive.1.xml:409 |
3362 | 2557 | msgid "Sets the Packages file output." | 2558 | msgid "Sets the Packages file output." |
3363 | 2558 | msgstr "" | 2559 | msgstr "" |
3364 | 2559 | 2560 | ||
3365 | 2560 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> | 2561 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> |
3367 | 2561 | #: apt-ftparchive.1.xml:413 | 2562 | #: apt-ftparchive.1.xml:414 |
3368 | 2562 | msgid "" | 2563 | msgid "" |
3369 | 2563 | "Sets the Sources file output. At least one of <literal>Packages</literal> or " | 2564 | "Sets the Sources file output. At least one of <literal>Packages</literal> or " |
3370 | 2564 | "<literal>Sources</literal> is required." | 2565 | "<literal>Sources</literal> is required." |
3371 | 2565 | msgstr "" | 2566 | msgstr "" |
3372 | 2566 | 2567 | ||
3373 | 2567 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> | 2568 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> |
3375 | 2568 | #: apt-ftparchive.1.xml:419 | 2569 | #: apt-ftparchive.1.xml:420 |
3376 | 2569 | msgid "Sets the Contents file output. (optional)" | 2570 | msgid "Sets the Contents file output. (optional)" |
3377 | 2570 | msgstr "" | 2571 | msgstr "" |
3378 | 2571 | 2572 | ||
3379 | 2572 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> | 2573 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> |
3381 | 2573 | #: apt-ftparchive.1.xml:424 | 2574 | #: apt-ftparchive.1.xml:425 |
3382 | 2574 | msgid "Sets the binary override file." | 2575 | msgid "Sets the binary override file." |
3383 | 2575 | msgstr "" | 2576 | msgstr "" |
3384 | 2576 | 2577 | ||
3385 | 2577 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> | 2578 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> |
3387 | 2578 | #: apt-ftparchive.1.xml:429 | 2579 | #: apt-ftparchive.1.xml:430 |
3388 | 2579 | msgid "Sets the source override file." | 2580 | msgid "Sets the source override file." |
3389 | 2580 | msgstr "" | 2581 | msgstr "" |
3390 | 2581 | 2582 | ||
3391 | 2582 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> | 2583 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> |
3393 | 2583 | #: apt-ftparchive.1.xml:444 | 2584 | #: apt-ftparchive.1.xml:445 |
3394 | 2584 | msgid "Sets the cache DB." | 2585 | msgid "Sets the cache DB." |
3395 | 2585 | msgstr "" | 2586 | msgstr "" |
3396 | 2586 | 2587 | ||
3397 | 2587 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> | 2588 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> |
3399 | 2588 | #: apt-ftparchive.1.xml:447 | 2589 | #: apt-ftparchive.1.xml:448 |
3400 | 2589 | msgid "PathPrefix" | 2590 | msgid "PathPrefix" |
3401 | 2590 | msgstr "" | 2591 | msgstr "" |
3402 | 2591 | 2592 | ||
3403 | 2592 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> | 2593 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> |
3405 | 2593 | #: apt-ftparchive.1.xml:449 | 2594 | #: apt-ftparchive.1.xml:450 |
3406 | 2594 | msgid "Appends a path to all the output paths." | 2595 | msgid "Appends a path to all the output paths." |
3407 | 2595 | msgstr "" | 2596 | msgstr "" |
3408 | 2596 | 2597 | ||
3409 | 2597 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> | 2598 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> |
3411 | 2598 | #: apt-ftparchive.1.xml:452 | 2599 | #: apt-ftparchive.1.xml:453 |
3412 | 2599 | msgid "FileList, SourceFileList" | 2600 | msgid "FileList, SourceFileList" |
3413 | 2600 | msgstr "" | 2601 | msgstr "" |
3414 | 2601 | 2602 | ||
3415 | 2602 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> | 2603 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> |
3417 | 2603 | #: apt-ftparchive.1.xml:454 | 2604 | #: apt-ftparchive.1.xml:455 |
3418 | 2604 | msgid "Specifies the file list file." | 2605 | msgid "Specifies the file list file." |
3419 | 2605 | msgstr "" | 2606 | msgstr "" |
3420 | 2606 | 2607 | ||
3421 | 2607 | #. type: Content of: <refentry><refsect1><title> | 2608 | #. type: Content of: <refentry><refsect1><title> |
3423 | 2608 | #: apt-ftparchive.1.xml:461 | 2609 | #: apt-ftparchive.1.xml:462 |
3424 | 2609 | msgid "The Binary Override File" | 2610 | msgid "The Binary Override File" |
3425 | 2610 | msgstr "" | 2611 | msgstr "" |
3426 | 2611 | 2612 | ||
3427 | 2612 | #. type: Content of: <refentry><refsect1><para> | 2613 | #. type: Content of: <refentry><refsect1><para> |
3429 | 2613 | #: apt-ftparchive.1.xml:462 | 2614 | #: apt-ftparchive.1.xml:463 |
3430 | 2614 | msgid "" | 2615 | msgid "" |
3431 | 2615 | "The binary override file is fully compatible with &dpkg-scanpackages;. It " | 2616 | "The binary override file is fully compatible with &dpkg-scanpackages;. It " |
3432 | 2616 | "contains 4 fields separated by spaces. The first field is the package name, " | 2617 | "contains 4 fields separated by spaces. The first field is the package name, " |
3433 | @@ -2620,19 +2621,19 @@ | |||
3434 | 2620 | msgstr "" | 2621 | msgstr "" |
3435 | 2621 | 2622 | ||
3436 | 2622 | #. type: Content of: <refentry><refsect1><para><literallayout> | 2623 | #. type: Content of: <refentry><refsect1><para><literallayout> |
3438 | 2623 | #: apt-ftparchive.1.xml:468 | 2624 | #: apt-ftparchive.1.xml:469 |
3439 | 2624 | #, no-wrap | 2625 | #, no-wrap |
3440 | 2625 | msgid "old [// oldn]* => new" | 2626 | msgid "old [// oldn]* => new" |
3441 | 2626 | msgstr "" | 2627 | msgstr "" |
3442 | 2627 | 2628 | ||
3443 | 2628 | #. type: Content of: <refentry><refsect1><para><literallayout> | 2629 | #. type: Content of: <refentry><refsect1><para><literallayout> |
3445 | 2629 | #: apt-ftparchive.1.xml:470 | 2630 | #: apt-ftparchive.1.xml:471 |
3446 | 2630 | #, no-wrap | 2631 | #, no-wrap |
3447 | 2631 | msgid "new" | 2632 | msgid "new" |
3448 | 2632 | msgstr "" | 2633 | msgstr "" |
3449 | 2633 | 2634 | ||
3450 | 2634 | #. type: Content of: <refentry><refsect1><para> | 2635 | #. type: Content of: <refentry><refsect1><para> |
3452 | 2635 | #: apt-ftparchive.1.xml:467 | 2636 | #: apt-ftparchive.1.xml:468 |
3453 | 2636 | msgid "" | 2637 | msgid "" |
3454 | 2637 | "The general form of the maintainer field is: <placeholder " | 2638 | "The general form of the maintainer field is: <placeholder " |
3455 | 2638 | "type=\"literallayout\" id=\"0\"/> or simply, <placeholder " | 2639 | "type=\"literallayout\" id=\"0\"/> or simply, <placeholder " |
3456 | @@ -2643,12 +2644,12 @@ | |||
3457 | 2643 | msgstr "" | 2644 | msgstr "" |
3458 | 2644 | 2645 | ||
3459 | 2645 | #. type: Content of: <refentry><refsect1><title> | 2646 | #. type: Content of: <refentry><refsect1><title> |
3461 | 2646 | #: apt-ftparchive.1.xml:478 | 2647 | #: apt-ftparchive.1.xml:479 |
3462 | 2647 | msgid "The Source Override File" | 2648 | msgid "The Source Override File" |
3463 | 2648 | msgstr "" | 2649 | msgstr "" |
3464 | 2649 | 2650 | ||
3465 | 2650 | #. type: Content of: <refentry><refsect1><para> | 2651 | #. type: Content of: <refentry><refsect1><para> |
3467 | 2651 | #: apt-ftparchive.1.xml:480 | 2652 | #: apt-ftparchive.1.xml:481 |
3468 | 2652 | msgid "" | 2653 | msgid "" |
3469 | 2653 | "The source override file is fully compatible with &dpkg-scansources;. It " | 2654 | "The source override file is fully compatible with &dpkg-scansources;. It " |
3470 | 2654 | "contains 2 fields separated by spaces. The first fields is the source " | 2655 | "contains 2 fields separated by spaces. The first fields is the source " |
3471 | @@ -2656,12 +2657,12 @@ | |||
3472 | 2656 | msgstr "" | 2657 | msgstr "" |
3473 | 2657 | 2658 | ||
3474 | 2658 | #. type: Content of: <refentry><refsect1><title> | 2659 | #. type: Content of: <refentry><refsect1><title> |
3476 | 2659 | #: apt-ftparchive.1.xml:485 | 2660 | #: apt-ftparchive.1.xml:486 |
3477 | 2660 | msgid "The Extra Override File" | 2661 | msgid "The Extra Override File" |
3478 | 2661 | msgstr "" | 2662 | msgstr "" |
3479 | 2662 | 2663 | ||
3480 | 2663 | #. type: Content of: <refentry><refsect1><para> | 2664 | #. type: Content of: <refentry><refsect1><para> |
3482 | 2664 | #: apt-ftparchive.1.xml:487 | 2665 | #: apt-ftparchive.1.xml:488 |
3483 | 2665 | msgid "" | 2666 | msgid "" |
3484 | 2666 | "The extra override file allows any arbitrary tag to be added or replaced in " | 2667 | "The extra override file allows any arbitrary tag to be added or replaced in " |
3485 | 2667 | "the output. It has 3 columns, the first is the package, the second is the " | 2668 | "the output. It has 3 columns, the first is the package, the second is the " |
3486 | @@ -2669,12 +2670,12 @@ | |||
3487 | 2669 | msgstr "" | 2670 | msgstr "" |
3488 | 2670 | 2671 | ||
3489 | 2671 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> | 2672 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> |
3491 | 2672 | #: apt-ftparchive.1.xml:496 | 2673 | #: apt-ftparchive.1.xml:497 |
3492 | 2673 | msgid "<option>--md5</option>" | 2674 | msgid "<option>--md5</option>" |
3493 | 2674 | msgstr "" | 2675 | msgstr "" |
3494 | 2675 | 2676 | ||
3495 | 2676 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | 2677 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
3497 | 2677 | #: apt-ftparchive.1.xml:498 | 2678 | #: apt-ftparchive.1.xml:499 |
3498 | 2678 | msgid "" | 2679 | msgid "" |
3499 | 2679 | "Generate MD5 sums. This defaults to on, when turned off the generated index " | 2680 | "Generate MD5 sums. This defaults to on, when turned off the generated index " |
3500 | 2680 | "files will not have MD5Sum fields where possible. Configuration Item: " | 2681 | "files will not have MD5Sum fields where possible. Configuration Item: " |
3501 | @@ -2682,19 +2683,19 @@ | |||
3502 | 2682 | msgstr "" | 2683 | msgstr "" |
3503 | 2683 | 2684 | ||
3504 | 2684 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> | 2685 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> |
3506 | 2685 | #: apt-ftparchive.1.xml:503 | 2686 | #: apt-ftparchive.1.xml:504 |
3507 | 2686 | msgid "<option>--db</option>" | 2687 | msgid "<option>--db</option>" |
3508 | 2687 | msgstr "" | 2688 | msgstr "" |
3509 | 2688 | 2689 | ||
3510 | 2689 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | 2690 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
3512 | 2690 | #: apt-ftparchive.1.xml:505 | 2691 | #: apt-ftparchive.1.xml:506 |
3513 | 2691 | msgid "" | 2692 | msgid "" |
3514 | 2692 | "Use a binary caching DB. This has no effect on the generate command. " | 2693 | "Use a binary caching DB. This has no effect on the generate command. " |
3515 | 2693 | "Configuration Item: <literal>APT::FTPArchive::DB</literal>." | 2694 | "Configuration Item: <literal>APT::FTPArchive::DB</literal>." |
3516 | 2694 | msgstr "" | 2695 | msgstr "" |
3517 | 2695 | 2696 | ||
3518 | 2696 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | 2697 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
3520 | 2697 | #: apt-ftparchive.1.xml:511 | 2698 | #: apt-ftparchive.1.xml:512 |
3521 | 2698 | msgid "" | 2699 | msgid "" |
3522 | 2699 | "Quiet; produces output suitable for logging, omitting progress indicators. " | 2700 | "Quiet; produces output suitable for logging, omitting progress indicators. " |
3523 | 2700 | "More q's will produce more quiet up to a maximum of 2. You can also use " | 2701 | "More q's will produce more quiet up to a maximum of 2. You can also use " |
3524 | @@ -2703,12 +2704,12 @@ | |||
3525 | 2703 | msgstr "" | 2704 | msgstr "" |
3526 | 2704 | 2705 | ||
3527 | 2705 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> | 2706 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> |
3529 | 2706 | #: apt-ftparchive.1.xml:517 | 2707 | #: apt-ftparchive.1.xml:518 |
3530 | 2707 | msgid "<option>--delink</option>" | 2708 | msgid "<option>--delink</option>" |
3531 | 2708 | msgstr "" | 2709 | msgstr "" |
3532 | 2709 | 2710 | ||
3533 | 2710 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | 2711 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
3535 | 2711 | #: apt-ftparchive.1.xml:519 | 2712 | #: apt-ftparchive.1.xml:520 |
3536 | 2712 | msgid "" | 2713 | msgid "" |
3537 | 2713 | "Perform Delinking. If the <literal>External-Links</literal> setting is used " | 2714 | "Perform Delinking. If the <literal>External-Links</literal> setting is used " |
3538 | 2714 | "then this option actually enables delinking of the files. It defaults to on " | 2715 | "then this option actually enables delinking of the files. It defaults to on " |
3539 | @@ -2717,12 +2718,12 @@ | |||
3540 | 2717 | msgstr "" | 2718 | msgstr "" |
3541 | 2718 | 2719 | ||
3542 | 2719 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> | 2720 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> |
3544 | 2720 | #: apt-ftparchive.1.xml:525 | 2721 | #: apt-ftparchive.1.xml:526 |
3545 | 2721 | msgid "<option>--contents</option>" | 2722 | msgid "<option>--contents</option>" |
3546 | 2722 | msgstr "" | 2723 | msgstr "" |
3547 | 2723 | 2724 | ||
3548 | 2724 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | 2725 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
3550 | 2725 | #: apt-ftparchive.1.xml:527 | 2726 | #: apt-ftparchive.1.xml:528 |
3551 | 2726 | msgid "" | 2727 | msgid "" |
3552 | 2727 | "Perform contents generation. When this option is set and package indexes are " | 2728 | "Perform contents generation. When this option is set and package indexes are " |
3553 | 2728 | "being generated with a cache DB then the file listing will also be extracted " | 2729 | "being generated with a cache DB then the file listing will also be extracted " |
3554 | @@ -2732,12 +2733,12 @@ | |||
3555 | 2732 | msgstr "" | 2733 | msgstr "" |
3556 | 2733 | 2734 | ||
3557 | 2734 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> | 2735 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> |
3559 | 2735 | #: apt-ftparchive.1.xml:535 | 2736 | #: apt-ftparchive.1.xml:536 |
3560 | 2736 | msgid "<option>--source-override</option>" | 2737 | msgid "<option>--source-override</option>" |
3561 | 2737 | msgstr "" | 2738 | msgstr "" |
3562 | 2738 | 2739 | ||
3563 | 2739 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | 2740 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
3565 | 2740 | #: apt-ftparchive.1.xml:537 | 2741 | #: apt-ftparchive.1.xml:538 |
3566 | 2741 | msgid "" | 2742 | msgid "" |
3567 | 2742 | "Select the source override file to use with the <literal>sources</literal> " | 2743 | "Select the source override file to use with the <literal>sources</literal> " |
3568 | 2743 | "command. Configuration Item: " | 2744 | "command. Configuration Item: " |
3569 | @@ -2745,26 +2746,40 @@ | |||
3570 | 2745 | msgstr "" | 2746 | msgstr "" |
3571 | 2746 | 2747 | ||
3572 | 2747 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> | 2748 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> |
3574 | 2748 | #: apt-ftparchive.1.xml:541 | 2749 | #: apt-ftparchive.1.xml:542 |
3575 | 2749 | msgid "<option>--readonly</option>" | 2750 | msgid "<option>--readonly</option>" |
3576 | 2750 | msgstr "" | 2751 | msgstr "" |
3577 | 2751 | 2752 | ||
3578 | 2752 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | 2753 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
3580 | 2753 | #: apt-ftparchive.1.xml:543 | 2754 | #: apt-ftparchive.1.xml:544 |
3581 | 2754 | msgid "" | 2755 | msgid "" |
3582 | 2755 | "Make the caching databases read only. Configuration Item: " | 2756 | "Make the caching databases read only. Configuration Item: " |
3583 | 2756 | "<literal>APT::FTPArchive::ReadOnlyDB</literal>." | 2757 | "<literal>APT::FTPArchive::ReadOnlyDB</literal>." |
3584 | 2757 | msgstr "" | 2758 | msgstr "" |
3585 | 2758 | 2759 | ||
3586 | 2759 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> | 2760 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> |
3588 | 2760 | #: apt-ftparchive.1.xml:547 | 2761 | #: apt-ftparchive.1.xml:548 |
3589 | 2762 | msgid "<option>--arch</option>" | ||
3590 | 2763 | msgstr "" | ||
3591 | 2764 | |||
3592 | 2765 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | ||
3593 | 2766 | #: apt-ftparchive.1.xml:549 | ||
3594 | 2767 | msgid "" | ||
3595 | 2768 | "Accept in the <literal>packages</literal> and <literal>contents</literal> " | ||
3596 | 2769 | "commands only package files matching <literal>*_arch.deb</literal> or " | ||
3597 | 2770 | "<literal>*_all.deb</literal> instead of all package files in the given " | ||
3598 | 2771 | "path. Configuration Item: <literal>APT::FTPArchive::Architecture</literal>." | ||
3599 | 2772 | msgstr "" | ||
3600 | 2773 | |||
3601 | 2774 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> | ||
3602 | 2775 | #: apt-ftparchive.1.xml:555 | ||
3603 | 2761 | msgid "<option>APT::FTPArchive::AlwaysStat</option>" | 2776 | msgid "<option>APT::FTPArchive::AlwaysStat</option>" |
3604 | 2762 | msgstr "" | 2777 | msgstr "" |
3605 | 2763 | 2778 | ||
3606 | 2764 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | 2779 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
3608 | 2765 | #: apt-ftparchive.1.xml:549 | 2780 | #: apt-ftparchive.1.xml:557 |
3609 | 2766 | msgid "" | 2781 | msgid "" |
3611 | 2767 | "&apt-ftparchive; caches as much as possible of metadata in it is cachedb. If " | 2782 | "&apt-ftparchive; caches as much as possible of metadata in a cachedb. If " |
3612 | 2768 | "packages are recompiled and/or republished with the same version again, this " | 2783 | "packages are recompiled and/or republished with the same version again, this " |
3613 | 2769 | "will lead to problems as the now outdated cached metadata like size and " | 2784 | "will lead to problems as the now outdated cached metadata like size and " |
3614 | 2770 | "checksums will be used. With this option enabled this will no longer happen " | 2785 | "checksums will be used. With this option enabled this will no longer happen " |
3615 | @@ -2776,12 +2791,12 @@ | |||
3616 | 2776 | msgstr "" | 2791 | msgstr "" |
3617 | 2777 | 2792 | ||
3618 | 2778 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> | 2793 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> |
3620 | 2779 | #: apt-ftparchive.1.xml:559 | 2794 | #: apt-ftparchive.1.xml:567 |
3621 | 2780 | msgid "<option>APT::FTPArchive::LongDescription</option>" | 2795 | msgid "<option>APT::FTPArchive::LongDescription</option>" |
3622 | 2781 | msgstr "" | 2796 | msgstr "" |
3623 | 2782 | 2797 | ||
3624 | 2783 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | 2798 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
3626 | 2784 | #: apt-ftparchive.1.xml:561 | 2799 | #: apt-ftparchive.1.xml:569 |
3627 | 2785 | msgid "" | 2800 | msgid "" |
3628 | 2786 | "This configuration option defaults to \"<literal>true</literal>\" and should " | 2801 | "This configuration option defaults to \"<literal>true</literal>\" and should " |
3629 | 2787 | "only be set to <literal>\"false\"</literal> if the Archive generated with " | 2802 | "only be set to <literal>\"false\"</literal> if the Archive generated with " |
3630 | @@ -2791,12 +2806,12 @@ | |||
3631 | 2791 | msgstr "" | 2806 | msgstr "" |
3632 | 2792 | 2807 | ||
3633 | 2793 | #. type: Content of: <refentry><refsect1><title> | 2808 | #. type: Content of: <refentry><refsect1><title> |
3635 | 2794 | #: apt-ftparchive.1.xml:573 apt.conf.5.xml:1029 apt_preferences.5.xml:469 sources.list.5.xml:193 | 2809 | #: apt-ftparchive.1.xml:581 apt.conf.5.xml:1038 apt_preferences.5.xml:477 sources.list.5.xml:193 |
3636 | 2795 | msgid "Examples" | 2810 | msgid "Examples" |
3637 | 2796 | msgstr "" | 2811 | msgstr "" |
3638 | 2797 | 2812 | ||
3639 | 2798 | #. type: Content of: <refentry><refsect1><para><programlisting> | 2813 | #. type: Content of: <refentry><refsect1><para><programlisting> |
3641 | 2799 | #: apt-ftparchive.1.xml:579 | 2814 | #: apt-ftparchive.1.xml:587 |
3642 | 2800 | #, no-wrap | 2815 | #, no-wrap |
3643 | 2801 | msgid "" | 2816 | msgid "" |
3644 | 2802 | "<command>apt-ftparchive</command> packages " | 2817 | "<command>apt-ftparchive</command> packages " |
3645 | @@ -2805,14 +2820,14 @@ | |||
3646 | 2805 | msgstr "" | 2820 | msgstr "" |
3647 | 2806 | 2821 | ||
3648 | 2807 | #. type: Content of: <refentry><refsect1><para> | 2822 | #. type: Content of: <refentry><refsect1><para> |
3650 | 2808 | #: apt-ftparchive.1.xml:575 | 2823 | #: apt-ftparchive.1.xml:583 |
3651 | 2809 | msgid "" | 2824 | msgid "" |
3652 | 2810 | "To create a compressed Packages file for a directory containing binary " | 2825 | "To create a compressed Packages file for a directory containing binary " |
3653 | 2811 | "packages (.deb): <placeholder type=\"programlisting\" id=\"0\"/>" | 2826 | "packages (.deb): <placeholder type=\"programlisting\" id=\"0\"/>" |
3654 | 2812 | msgstr "" | 2827 | msgstr "" |
3655 | 2813 | 2828 | ||
3656 | 2814 | #. type: Content of: <refentry><refsect1><para> | 2829 | #. type: Content of: <refentry><refsect1><para> |
3658 | 2815 | #: apt-ftparchive.1.xml:589 | 2830 | #: apt-ftparchive.1.xml:597 |
3659 | 2816 | msgid "" | 2831 | msgid "" |
3660 | 2817 | "<command>apt-ftparchive</command> returns zero on normal operation, decimal " | 2832 | "<command>apt-ftparchive</command> returns zero on normal operation, decimal " |
3661 | 2818 | "100 on error." | 2833 | "100 on error." |
3662 | @@ -5028,11 +5043,25 @@ | |||
3663 | 5028 | 5043 | ||
3664 | 5029 | #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term> | 5044 | #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term> |
3665 | 5030 | #: apt.conf.5.xml:414 | 5045 | #: apt.conf.5.xml:414 |
3666 | 5046 | msgid "GzipIndexes" | ||
3667 | 5047 | msgstr "" | ||
3668 | 5048 | |||
3669 | 5049 | #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para> | ||
3670 | 5050 | #: apt.conf.5.xml:416 | ||
3671 | 5051 | msgid "" | ||
3672 | 5052 | "When downloading <literal>gzip</literal> compressed indexes (Packages, " | ||
3673 | 5053 | "Sources, or Translations), keep them gzip compressed locally instead of " | ||
3674 | 5054 | "unpacking them. This saves quite a lot of disk space at the expense of more " | ||
3675 | 5055 | "CPU requirements when building the local package caches. False by default." | ||
3676 | 5056 | msgstr "" | ||
3677 | 5057 | |||
3678 | 5058 | #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term> | ||
3679 | 5059 | #: apt.conf.5.xml:423 | ||
3680 | 5031 | msgid "Languages" | 5060 | msgid "Languages" |
3681 | 5032 | msgstr "" | 5061 | msgstr "" |
3682 | 5033 | 5062 | ||
3683 | 5034 | #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para> | 5063 | #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para> |
3685 | 5035 | #: apt.conf.5.xml:415 | 5064 | #: apt.conf.5.xml:424 |
3686 | 5036 | msgid "" | 5065 | msgid "" |
3687 | 5037 | "The Languages subsection controls which <filename>Translation</filename> " | 5066 | "The Languages subsection controls which <filename>Translation</filename> " |
3688 | 5038 | "files are downloaded and in which order APT tries to display the " | 5067 | "files are downloaded and in which order APT tries to display the " |
3689 | @@ -5045,13 +5074,13 @@ | |||
3690 | 5045 | msgstr "" | 5074 | msgstr "" |
3691 | 5046 | 5075 | ||
3692 | 5047 | #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para><programlisting> | 5076 | #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para><programlisting> |
3694 | 5048 | #: apt.conf.5.xml:431 | 5077 | #: apt.conf.5.xml:440 |
3695 | 5049 | #, no-wrap | 5078 | #, no-wrap |
3696 | 5050 | msgid "Acquire::Languages { \"environment\"; \"de\"; \"en\"; \"none\"; \"fr\"; };" | 5079 | msgid "Acquire::Languages { \"environment\"; \"de\"; \"en\"; \"none\"; \"fr\"; };" |
3697 | 5051 | msgstr "" | 5080 | msgstr "" |
3698 | 5052 | 5081 | ||
3699 | 5053 | #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para> | 5082 | #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para> |
3701 | 5054 | #: apt.conf.5.xml:421 | 5083 | #: apt.conf.5.xml:430 |
3702 | 5055 | msgid "" | 5084 | msgid "" |
3703 | 5056 | "The default list includes \"environment\" and " | 5085 | "The default list includes \"environment\" and " |
3704 | 5057 | "\"en\". \"<literal>environment</literal>\" has a special meaning here: It " | 5086 | "\"en\". \"<literal>environment</literal>\" has a special meaning here: It " |
3705 | @@ -5082,12 +5111,12 @@ | |||
3706 | 5082 | msgstr "" | 5111 | msgstr "" |
3707 | 5083 | 5112 | ||
3708 | 5084 | #. type: Content of: <refentry><refsect1><title> | 5113 | #. type: Content of: <refentry><refsect1><title> |
3710 | 5085 | #: apt.conf.5.xml:438 | 5114 | #: apt.conf.5.xml:447 |
3711 | 5086 | msgid "Directories" | 5115 | msgid "Directories" |
3712 | 5087 | msgstr "" | 5116 | msgstr "" |
3713 | 5088 | 5117 | ||
3714 | 5089 | #. type: Content of: <refentry><refsect1><para> | 5118 | #. type: Content of: <refentry><refsect1><para> |
3716 | 5090 | #: apt.conf.5.xml:440 | 5119 | #: apt.conf.5.xml:449 |
3717 | 5091 | msgid "" | 5120 | msgid "" |
3718 | 5092 | "The <literal>Dir::State</literal> section has directories that pertain to " | 5121 | "The <literal>Dir::State</literal> section has directories that pertain to " |
3719 | 5093 | "local state information. <literal>lists</literal> is the directory to place " | 5122 | "local state information. <literal>lists</literal> is the directory to place " |
3720 | @@ -5099,7 +5128,7 @@ | |||
3721 | 5099 | msgstr "" | 5128 | msgstr "" |
3722 | 5100 | 5129 | ||
3723 | 5101 | #. type: Content of: <refentry><refsect1><para> | 5130 | #. type: Content of: <refentry><refsect1><para> |
3725 | 5102 | #: apt.conf.5.xml:447 | 5131 | #: apt.conf.5.xml:456 |
3726 | 5103 | msgid "" | 5132 | msgid "" |
3727 | 5104 | "<literal>Dir::Cache</literal> contains locations pertaining to local cache " | 5133 | "<literal>Dir::Cache</literal> contains locations pertaining to local cache " |
3728 | 5105 | "information, such as the two package caches <literal>srcpkgcache</literal> " | 5134 | "information, such as the two package caches <literal>srcpkgcache</literal> " |
3729 | @@ -5112,7 +5141,7 @@ | |||
3730 | 5112 | msgstr "" | 5141 | msgstr "" |
3731 | 5113 | 5142 | ||
3732 | 5114 | #. type: Content of: <refentry><refsect1><para> | 5143 | #. type: Content of: <refentry><refsect1><para> |
3734 | 5115 | #: apt.conf.5.xml:456 | 5144 | #: apt.conf.5.xml:465 |
3735 | 5116 | msgid "" | 5145 | msgid "" |
3736 | 5117 | "<literal>Dir::Etc</literal> contains the location of configuration files, " | 5146 | "<literal>Dir::Etc</literal> contains the location of configuration files, " |
3737 | 5118 | "<literal>sourcelist</literal> gives the location of the sourcelist and " | 5147 | "<literal>sourcelist</literal> gives the location of the sourcelist and " |
3738 | @@ -5122,7 +5151,7 @@ | |||
3739 | 5122 | msgstr "" | 5151 | msgstr "" |
3740 | 5123 | 5152 | ||
3741 | 5124 | #. type: Content of: <refentry><refsect1><para> | 5153 | #. type: Content of: <refentry><refsect1><para> |
3743 | 5125 | #: apt.conf.5.xml:462 | 5154 | #: apt.conf.5.xml:471 |
3744 | 5126 | msgid "" | 5155 | msgid "" |
3745 | 5127 | "The <literal>Dir::Parts</literal> setting reads in all the config fragments " | 5156 | "The <literal>Dir::Parts</literal> setting reads in all the config fragments " |
3746 | 5128 | "in lexical order from the directory specified. After this is done then the " | 5157 | "in lexical order from the directory specified. After this is done then the " |
3747 | @@ -5130,7 +5159,7 @@ | |||
3748 | 5130 | msgstr "" | 5159 | msgstr "" |
3749 | 5131 | 5160 | ||
3750 | 5132 | #. type: Content of: <refentry><refsect1><para> | 5161 | #. type: Content of: <refentry><refsect1><para> |
3752 | 5133 | #: apt.conf.5.xml:466 | 5162 | #: apt.conf.5.xml:475 |
3753 | 5134 | msgid "" | 5163 | msgid "" |
3754 | 5135 | "Binary programs are pointed to by " | 5164 | "Binary programs are pointed to by " |
3755 | 5136 | "<literal>Dir::Bin</literal>. <literal>Dir::Bin::Methods</literal> specifies " | 5165 | "<literal>Dir::Bin</literal>. <literal>Dir::Bin::Methods</literal> specifies " |
3756 | @@ -5142,7 +5171,7 @@ | |||
3757 | 5142 | msgstr "" | 5171 | msgstr "" |
3758 | 5143 | 5172 | ||
3759 | 5144 | #. type: Content of: <refentry><refsect1><para> | 5173 | #. type: Content of: <refentry><refsect1><para> |
3761 | 5145 | #: apt.conf.5.xml:474 | 5174 | #: apt.conf.5.xml:483 |
3762 | 5146 | msgid "" | 5175 | msgid "" |
3763 | 5147 | "The configuration item <literal>RootDir</literal> has a special meaning. If " | 5176 | "The configuration item <literal>RootDir</literal> has a special meaning. If " |
3764 | 5148 | "set, all paths in <literal>Dir::</literal> will be relative to " | 5177 | "set, all paths in <literal>Dir::</literal> will be relative to " |
3765 | @@ -5155,12 +5184,12 @@ | |||
3766 | 5155 | msgstr "" | 5184 | msgstr "" |
3767 | 5156 | 5185 | ||
3768 | 5157 | #. type: Content of: <refentry><refsect1><title> | 5186 | #. type: Content of: <refentry><refsect1><title> |
3770 | 5158 | #: apt.conf.5.xml:487 | 5187 | #: apt.conf.5.xml:496 |
3771 | 5159 | msgid "APT in DSelect" | 5188 | msgid "APT in DSelect" |
3772 | 5160 | msgstr "" | 5189 | msgstr "" |
3773 | 5161 | 5190 | ||
3774 | 5162 | #. type: Content of: <refentry><refsect1><para> | 5191 | #. type: Content of: <refentry><refsect1><para> |
3776 | 5163 | #: apt.conf.5.xml:489 | 5192 | #: apt.conf.5.xml:498 |
3777 | 5164 | msgid "" | 5193 | msgid "" |
3778 | 5165 | "When APT is used as a &dselect; method several configuration directives " | 5194 | "When APT is used as a &dselect; method several configuration directives " |
3779 | 5166 | "control the default behaviour. These are in the <literal>DSelect</literal> " | 5195 | "control the default behaviour. These are in the <literal>DSelect</literal> " |
3780 | @@ -5168,12 +5197,12 @@ | |||
3781 | 5168 | msgstr "" | 5197 | msgstr "" |
3782 | 5169 | 5198 | ||
3783 | 5170 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> | 5199 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> |
3785 | 5171 | #: apt.conf.5.xml:493 | 5200 | #: apt.conf.5.xml:502 |
3786 | 5172 | msgid "Clean" | 5201 | msgid "Clean" |
3787 | 5173 | msgstr "" | 5202 | msgstr "" |
3788 | 5174 | 5203 | ||
3789 | 5175 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | 5204 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
3791 | 5176 | #: apt.conf.5.xml:494 | 5205 | #: apt.conf.5.xml:503 |
3792 | 5177 | msgid "" | 5206 | msgid "" |
3793 | 5178 | "Cache Clean mode; this value may be one of always, prompt, auto, pre-auto " | 5207 | "Cache Clean mode; this value may be one of always, prompt, auto, pre-auto " |
3794 | 5179 | "and never. always and prompt will remove all packages from the cache after " | 5208 | "and never. always and prompt will remove all packages from the cache after " |
3795 | @@ -5184,50 +5213,50 @@ | |||
3796 | 5184 | msgstr "" | 5213 | msgstr "" |
3797 | 5185 | 5214 | ||
3798 | 5186 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | 5215 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
3800 | 5187 | #: apt.conf.5.xml:503 | 5216 | #: apt.conf.5.xml:512 |
3801 | 5188 | msgid "" | 5217 | msgid "" |
3802 | 5189 | "The contents of this variable is passed to &apt-get; as command line options " | 5218 | "The contents of this variable is passed to &apt-get; as command line options " |
3803 | 5190 | "when it is run for the install phase." | 5219 | "when it is run for the install phase." |
3804 | 5191 | msgstr "" | 5220 | msgstr "" |
3805 | 5192 | 5221 | ||
3806 | 5193 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> | 5222 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> |
3808 | 5194 | #: apt.conf.5.xml:507 | 5223 | #: apt.conf.5.xml:516 |
3809 | 5195 | msgid "Updateoptions" | 5224 | msgid "Updateoptions" |
3810 | 5196 | msgstr "" | 5225 | msgstr "" |
3811 | 5197 | 5226 | ||
3812 | 5198 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | 5227 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
3814 | 5199 | #: apt.conf.5.xml:508 | 5228 | #: apt.conf.5.xml:517 |
3815 | 5200 | msgid "" | 5229 | msgid "" |
3816 | 5201 | "The contents of this variable is passed to &apt-get; as command line options " | 5230 | "The contents of this variable is passed to &apt-get; as command line options " |
3817 | 5202 | "when it is run for the update phase." | 5231 | "when it is run for the update phase." |
3818 | 5203 | msgstr "" | 5232 | msgstr "" |
3819 | 5204 | 5233 | ||
3820 | 5205 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> | 5234 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> |
3822 | 5206 | #: apt.conf.5.xml:512 | 5235 | #: apt.conf.5.xml:521 |
3823 | 5207 | msgid "PromptAfterUpdate" | 5236 | msgid "PromptAfterUpdate" |
3824 | 5208 | msgstr "" | 5237 | msgstr "" |
3825 | 5209 | 5238 | ||
3826 | 5210 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | 5239 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
3828 | 5211 | #: apt.conf.5.xml:513 | 5240 | #: apt.conf.5.xml:522 |
3829 | 5212 | msgid "" | 5241 | msgid "" |
3830 | 5213 | "If true the [U]pdate operation in &dselect; will always prompt to continue. " | 5242 | "If true the [U]pdate operation in &dselect; will always prompt to continue. " |
3831 | 5214 | "The default is to prompt only on error." | 5243 | "The default is to prompt only on error." |
3832 | 5215 | msgstr "" | 5244 | msgstr "" |
3833 | 5216 | 5245 | ||
3834 | 5217 | #. type: Content of: <refentry><refsect1><title> | 5246 | #. type: Content of: <refentry><refsect1><title> |
3836 | 5218 | #: apt.conf.5.xml:519 | 5247 | #: apt.conf.5.xml:528 |
3837 | 5219 | msgid "How APT calls dpkg" | 5248 | msgid "How APT calls dpkg" |
3838 | 5220 | msgstr "" | 5249 | msgstr "" |
3839 | 5221 | 5250 | ||
3840 | 5222 | #. type: Content of: <refentry><refsect1><para> | 5251 | #. type: Content of: <refentry><refsect1><para> |
3842 | 5223 | #: apt.conf.5.xml:520 | 5252 | #: apt.conf.5.xml:529 |
3843 | 5224 | msgid "" | 5253 | msgid "" |
3844 | 5225 | "Several configuration directives control how APT invokes &dpkg;. These are " | 5254 | "Several configuration directives control how APT invokes &dpkg;. These are " |
3845 | 5226 | "in the <literal>DPkg</literal> section." | 5255 | "in the <literal>DPkg</literal> section." |
3846 | 5227 | msgstr "" | 5256 | msgstr "" |
3847 | 5228 | 5257 | ||
3848 | 5229 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | 5258 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
3850 | 5230 | #: apt.conf.5.xml:525 | 5259 | #: apt.conf.5.xml:534 |
3851 | 5231 | msgid "" | 5260 | msgid "" |
3852 | 5232 | "This is a list of options to pass to dpkg. The options must be specified " | 5261 | "This is a list of options to pass to dpkg. The options must be specified " |
3853 | 5233 | "using the list notation and each list item is passed as a single argument to " | 5262 | "using the list notation and each list item is passed as a single argument to " |
3854 | @@ -5235,17 +5264,17 @@ | |||
3855 | 5235 | msgstr "" | 5264 | msgstr "" |
3856 | 5236 | 5265 | ||
3857 | 5237 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> | 5266 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> |
3859 | 5238 | #: apt.conf.5.xml:530 | 5267 | #: apt.conf.5.xml:539 |
3860 | 5239 | msgid "Pre-Invoke" | 5268 | msgid "Pre-Invoke" |
3861 | 5240 | msgstr "" | 5269 | msgstr "" |
3862 | 5241 | 5270 | ||
3863 | 5242 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> | 5271 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> |
3865 | 5243 | #: apt.conf.5.xml:530 | 5272 | #: apt.conf.5.xml:539 |
3866 | 5244 | msgid "Post-Invoke" | 5273 | msgid "Post-Invoke" |
3867 | 5245 | msgstr "" | 5274 | msgstr "" |
3868 | 5246 | 5275 | ||
3869 | 5247 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | 5276 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
3871 | 5248 | #: apt.conf.5.xml:531 | 5277 | #: apt.conf.5.xml:540 |
3872 | 5249 | msgid "" | 5278 | msgid "" |
3873 | 5250 | "This is a list of shell commands to run before/after invoking &dpkg;. Like " | 5279 | "This is a list of shell commands to run before/after invoking &dpkg;. Like " |
3874 | 5251 | "<literal>options</literal> this must be specified in list notation. The " | 5280 | "<literal>options</literal> this must be specified in list notation. The " |
3875 | @@ -5254,12 +5283,12 @@ | |||
3876 | 5254 | msgstr "" | 5283 | msgstr "" |
3877 | 5255 | 5284 | ||
3878 | 5256 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> | 5285 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> |
3880 | 5257 | #: apt.conf.5.xml:537 | 5286 | #: apt.conf.5.xml:546 |
3881 | 5258 | msgid "Pre-Install-Pkgs" | 5287 | msgid "Pre-Install-Pkgs" |
3882 | 5259 | msgstr "" | 5288 | msgstr "" |
3883 | 5260 | 5289 | ||
3884 | 5261 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | 5290 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
3886 | 5262 | #: apt.conf.5.xml:538 | 5291 | #: apt.conf.5.xml:547 |
3887 | 5263 | msgid "" | 5292 | msgid "" |
3888 | 5264 | "This is a list of shell commands to run before invoking dpkg. Like " | 5293 | "This is a list of shell commands to run before invoking dpkg. Like " |
3889 | 5265 | "<literal>options</literal> this must be specified in list notation. The " | 5294 | "<literal>options</literal> this must be specified in list notation. The " |
3890 | @@ -5269,7 +5298,7 @@ | |||
3891 | 5269 | msgstr "" | 5298 | msgstr "" |
3892 | 5270 | 5299 | ||
3893 | 5271 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | 5300 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
3895 | 5272 | #: apt.conf.5.xml:544 | 5301 | #: apt.conf.5.xml:553 |
3896 | 5273 | msgid "" | 5302 | msgid "" |
3897 | 5274 | "Version 2 of this protocol dumps more information, including the protocol " | 5303 | "Version 2 of this protocol dumps more information, including the protocol " |
3898 | 5275 | "version, the APT configuration space and the packages, files and versions " | 5304 | "version, the APT configuration space and the packages, files and versions " |
3899 | @@ -5280,36 +5309,36 @@ | |||
3900 | 5280 | msgstr "" | 5309 | msgstr "" |
3901 | 5281 | 5310 | ||
3902 | 5282 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> | 5311 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> |
3904 | 5283 | #: apt.conf.5.xml:551 | 5312 | #: apt.conf.5.xml:560 |
3905 | 5284 | msgid "Run-Directory" | 5313 | msgid "Run-Directory" |
3906 | 5285 | msgstr "" | 5314 | msgstr "" |
3907 | 5286 | 5315 | ||
3908 | 5287 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | 5316 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
3910 | 5288 | #: apt.conf.5.xml:552 | 5317 | #: apt.conf.5.xml:561 |
3911 | 5289 | msgid "" | 5318 | msgid "" |
3912 | 5290 | "APT chdirs to this directory before invoking dpkg, the default is " | 5319 | "APT chdirs to this directory before invoking dpkg, the default is " |
3913 | 5291 | "<filename>/</filename>." | 5320 | "<filename>/</filename>." |
3914 | 5292 | msgstr "" | 5321 | msgstr "" |
3915 | 5293 | 5322 | ||
3916 | 5294 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> | 5323 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> |
3918 | 5295 | #: apt.conf.5.xml:556 | 5324 | #: apt.conf.5.xml:565 |
3919 | 5296 | msgid "Build-options" | 5325 | msgid "Build-options" |
3920 | 5297 | msgstr "" | 5326 | msgstr "" |
3921 | 5298 | 5327 | ||
3922 | 5299 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | 5328 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
3924 | 5300 | #: apt.conf.5.xml:557 | 5329 | #: apt.conf.5.xml:566 |
3925 | 5301 | msgid "" | 5330 | msgid "" |
3926 | 5302 | "These options are passed to &dpkg-buildpackage; when compiling packages, the " | 5331 | "These options are passed to &dpkg-buildpackage; when compiling packages, the " |
3927 | 5303 | "default is to disable signing and produce all binaries." | 5332 | "default is to disable signing and produce all binaries." |
3928 | 5304 | msgstr "" | 5333 | msgstr "" |
3929 | 5305 | 5334 | ||
3930 | 5306 | #. type: Content of: <refentry><refsect1><refsect2><title> | 5335 | #. type: Content of: <refentry><refsect1><refsect2><title> |
3932 | 5307 | #: apt.conf.5.xml:562 | 5336 | #: apt.conf.5.xml:571 |
3933 | 5308 | msgid "dpkg trigger usage (and related options)" | 5337 | msgid "dpkg trigger usage (and related options)" |
3934 | 5309 | msgstr "" | 5338 | msgstr "" |
3935 | 5310 | 5339 | ||
3936 | 5311 | #. type: Content of: <refentry><refsect1><refsect2><para> | 5340 | #. type: Content of: <refentry><refsect1><refsect2><para> |
3938 | 5312 | #: apt.conf.5.xml:563 | 5341 | #: apt.conf.5.xml:572 |
3939 | 5313 | msgid "" | 5342 | msgid "" |
3940 | 5314 | "APT can call dpkg in a way so it can make aggressive use of triggers over " | 5343 | "APT can call dpkg in a way so it can make aggressive use of triggers over " |
3941 | 5315 | "multiply calls of dpkg. Without further options dpkg will use triggers only " | 5344 | "multiply calls of dpkg. Without further options dpkg will use triggers only " |
3942 | @@ -5324,7 +5353,7 @@ | |||
3943 | 5324 | msgstr "" | 5353 | msgstr "" |
3944 | 5325 | 5354 | ||
3945 | 5326 | #. type: Content of: <refentry><refsect1><refsect2><para><literallayout> | 5355 | #. type: Content of: <refentry><refsect1><refsect2><para><literallayout> |
3947 | 5327 | #: apt.conf.5.xml:578 | 5356 | #: apt.conf.5.xml:587 |
3948 | 5328 | #, no-wrap | 5357 | #, no-wrap |
3949 | 5329 | msgid "" | 5358 | msgid "" |
3950 | 5330 | "DPkg::NoTriggers \"true\";\n" | 5359 | "DPkg::NoTriggers \"true\";\n" |
3951 | @@ -5334,7 +5363,7 @@ | |||
3952 | 5334 | msgstr "" | 5363 | msgstr "" |
3953 | 5335 | 5364 | ||
3954 | 5336 | #. type: Content of: <refentry><refsect1><refsect2><para> | 5365 | #. type: Content of: <refentry><refsect1><refsect2><para> |
3956 | 5337 | #: apt.conf.5.xml:572 | 5366 | #: apt.conf.5.xml:581 |
3957 | 5338 | msgid "" | 5367 | msgid "" |
3958 | 5339 | "Note that it is not guaranteed that APT will support these options or that " | 5368 | "Note that it is not guaranteed that APT will support these options or that " |
3959 | 5340 | "these options will not cause (big) trouble in the future. If you have " | 5369 | "these options will not cause (big) trouble in the future. If you have " |
3960 | @@ -5348,12 +5377,12 @@ | |||
3961 | 5348 | msgstr "" | 5377 | msgstr "" |
3962 | 5349 | 5378 | ||
3963 | 5350 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> | 5379 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> |
3965 | 5351 | #: apt.conf.5.xml:584 | 5380 | #: apt.conf.5.xml:593 |
3966 | 5352 | msgid "DPkg::NoTriggers" | 5381 | msgid "DPkg::NoTriggers" |
3967 | 5353 | msgstr "" | 5382 | msgstr "" |
3968 | 5354 | 5383 | ||
3969 | 5355 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> | 5384 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> |
3971 | 5356 | #: apt.conf.5.xml:585 | 5385 | #: apt.conf.5.xml:594 |
3972 | 5357 | msgid "" | 5386 | msgid "" |
3973 | 5358 | "Add the no triggers flag to all dpkg calls (except the ConfigurePending " | 5387 | "Add the no triggers flag to all dpkg calls (except the ConfigurePending " |
3974 | 5359 | "call). See &dpkg; if you are interested in what this actually means. In " | 5388 | "call). See &dpkg; if you are interested in what this actually means. In " |
3975 | @@ -5365,12 +5394,12 @@ | |||
3976 | 5365 | msgstr "" | 5394 | msgstr "" |
3977 | 5366 | 5395 | ||
3978 | 5367 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> | 5396 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> |
3980 | 5368 | #: apt.conf.5.xml:592 | 5397 | #: apt.conf.5.xml:601 |
3981 | 5369 | msgid "PackageManager::Configure" | 5398 | msgid "PackageManager::Configure" |
3982 | 5370 | msgstr "" | 5399 | msgstr "" |
3983 | 5371 | 5400 | ||
3984 | 5372 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> | 5401 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> |
3986 | 5373 | #: apt.conf.5.xml:593 | 5402 | #: apt.conf.5.xml:602 |
3987 | 5374 | msgid "" | 5403 | msgid "" |
3988 | 5375 | "Valid values are \"<literal>all</literal>\", \"<literal>smart</literal>\" " | 5404 | "Valid values are \"<literal>all</literal>\", \"<literal>smart</literal>\" " |
3989 | 5376 | "and \"<literal>no</literal>\". \"<literal>all</literal>\" is the default " | 5405 | "and \"<literal>no</literal>\". \"<literal>all</literal>\" is the default " |
3990 | @@ -5387,12 +5416,12 @@ | |||
3991 | 5387 | msgstr "" | 5416 | msgstr "" |
3992 | 5388 | 5417 | ||
3993 | 5389 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> | 5418 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> |
3995 | 5390 | #: apt.conf.5.xml:603 | 5419 | #: apt.conf.5.xml:612 |
3996 | 5391 | msgid "DPkg::ConfigurePending" | 5420 | msgid "DPkg::ConfigurePending" |
3997 | 5392 | msgstr "" | 5421 | msgstr "" |
3998 | 5393 | 5422 | ||
3999 | 5394 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> | 5423 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> |
4001 | 5395 | #: apt.conf.5.xml:604 | 5424 | #: apt.conf.5.xml:613 |
4002 | 5396 | msgid "" | 5425 | msgid "" |
4003 | 5397 | "If this option is set apt will call <command>dpkg --configure " | 5426 | "If this option is set apt will call <command>dpkg --configure " |
4004 | 5398 | "--pending</command> to let dpkg handle all required configurations and " | 5427 | "--pending</command> to let dpkg handle all required configurations and " |
4005 | @@ -5404,12 +5433,12 @@ | |||
4006 | 5404 | msgstr "" | 5433 | msgstr "" |
4007 | 5405 | 5434 | ||
4008 | 5406 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> | 5435 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> |
4010 | 5407 | #: apt.conf.5.xml:610 | 5436 | #: apt.conf.5.xml:619 |
4011 | 5408 | msgid "DPkg::TriggersPending" | 5437 | msgid "DPkg::TriggersPending" |
4012 | 5409 | msgstr "" | 5438 | msgstr "" |
4013 | 5410 | 5439 | ||
4014 | 5411 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> | 5440 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> |
4016 | 5412 | #: apt.conf.5.xml:611 | 5441 | #: apt.conf.5.xml:620 |
4017 | 5413 | msgid "" | 5442 | msgid "" |
4018 | 5414 | "Useful for <literal>smart</literal> configuration as a package which has " | 5443 | "Useful for <literal>smart</literal> configuration as a package which has " |
4019 | 5415 | "pending triggers is not considered as <literal>installed</literal> and dpkg " | 5444 | "pending triggers is not considered as <literal>installed</literal> and dpkg " |
4020 | @@ -5419,12 +5448,12 @@ | |||
4021 | 5419 | msgstr "" | 5448 | msgstr "" |
4022 | 5420 | 5449 | ||
4023 | 5421 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> | 5450 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> |
4025 | 5422 | #: apt.conf.5.xml:616 | 5451 | #: apt.conf.5.xml:625 |
4026 | 5423 | msgid "PackageManager::UnpackAll" | 5452 | msgid "PackageManager::UnpackAll" |
4027 | 5424 | msgstr "" | 5453 | msgstr "" |
4028 | 5425 | 5454 | ||
4029 | 5426 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> | 5455 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> |
4031 | 5427 | #: apt.conf.5.xml:617 | 5456 | #: apt.conf.5.xml:626 |
4032 | 5428 | msgid "" | 5457 | msgid "" |
4033 | 5429 | "As the configuration can be deferred to be done at the end by dpkg it can be " | 5458 | "As the configuration can be deferred to be done at the end by dpkg it can be " |
4034 | 5430 | "tried to order the unpack series only by critical needs, e.g. by " | 5459 | "tried to order the unpack series only by critical needs, e.g. by " |
4035 | @@ -5436,12 +5465,12 @@ | |||
4036 | 5436 | msgstr "" | 5465 | msgstr "" |
4037 | 5437 | 5466 | ||
4038 | 5438 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> | 5467 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> |
4040 | 5439 | #: apt.conf.5.xml:624 | 5468 | #: apt.conf.5.xml:633 |
4041 | 5440 | msgid "OrderList::Score::Immediate" | 5469 | msgid "OrderList::Score::Immediate" |
4042 | 5441 | msgstr "" | 5470 | msgstr "" |
4043 | 5442 | 5471 | ||
4044 | 5443 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para><literallayout> | 5472 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para><literallayout> |
4046 | 5444 | #: apt.conf.5.xml:632 | 5473 | #: apt.conf.5.xml:641 |
4047 | 5445 | #, no-wrap | 5474 | #, no-wrap |
4048 | 5446 | msgid "" | 5475 | msgid "" |
4049 | 5447 | "OrderList::Score {\n" | 5476 | "OrderList::Score {\n" |
4050 | @@ -5453,7 +5482,7 @@ | |||
4051 | 5453 | msgstr "" | 5482 | msgstr "" |
4052 | 5454 | 5483 | ||
4053 | 5455 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> | 5484 | #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> |
4055 | 5456 | #: apt.conf.5.xml:625 | 5485 | #: apt.conf.5.xml:634 |
4056 | 5457 | msgid "" | 5486 | msgid "" |
4057 | 5458 | "Essential packages (and there dependencies) should be configured immediately " | 5487 | "Essential packages (and there dependencies) should be configured immediately " |
4058 | 5459 | "after unpacking. It will be a good idea to do this quite early in the " | 5488 | "after unpacking. It will be a good idea to do this quite early in the " |
4059 | @@ -5467,12 +5496,12 @@ | |||
4060 | 5467 | msgstr "" | 5496 | msgstr "" |
4061 | 5468 | 5497 | ||
4062 | 5469 | #. type: Content of: <refentry><refsect1><title> | 5498 | #. type: Content of: <refentry><refsect1><title> |
4064 | 5470 | #: apt.conf.5.xml:645 | 5499 | #: apt.conf.5.xml:654 |
4065 | 5471 | msgid "Periodic and Archives options" | 5500 | msgid "Periodic and Archives options" |
4066 | 5472 | msgstr "" | 5501 | msgstr "" |
4067 | 5473 | 5502 | ||
4068 | 5474 | #. type: Content of: <refentry><refsect1><para> | 5503 | #. type: Content of: <refentry><refsect1><para> |
4070 | 5475 | #: apt.conf.5.xml:646 | 5504 | #: apt.conf.5.xml:655 |
4071 | 5476 | msgid "" | 5505 | msgid "" |
4072 | 5477 | "<literal>APT::Periodic</literal> and <literal>APT::Archives</literal> groups " | 5506 | "<literal>APT::Periodic</literal> and <literal>APT::Archives</literal> groups " |
4073 | 5478 | "of options configure behavior of apt periodic updates, which is done by " | 5507 | "of options configure behavior of apt periodic updates, which is done by " |
4074 | @@ -5481,12 +5510,12 @@ | |||
4075 | 5481 | msgstr "" | 5510 | msgstr "" |
4076 | 5482 | 5511 | ||
4077 | 5483 | #. type: Content of: <refentry><refsect1><title> | 5512 | #. type: Content of: <refentry><refsect1><title> |
4079 | 5484 | #: apt.conf.5.xml:654 | 5513 | #: apt.conf.5.xml:663 |
4080 | 5485 | msgid "Debug options" | 5514 | msgid "Debug options" |
4081 | 5486 | msgstr "" | 5515 | msgstr "" |
4082 | 5487 | 5516 | ||
4083 | 5488 | #. type: Content of: <refentry><refsect1><para> | 5517 | #. type: Content of: <refentry><refsect1><para> |
4085 | 5489 | #: apt.conf.5.xml:656 | 5518 | #: apt.conf.5.xml:665 |
4086 | 5490 | msgid "" | 5519 | msgid "" |
4087 | 5491 | "Enabling options in the <literal>Debug::</literal> section will cause " | 5520 | "Enabling options in the <literal>Debug::</literal> section will cause " |
4088 | 5492 | "debugging information to be sent to the standard error stream of the program " | 5521 | "debugging information to be sent to the standard error stream of the program " |
4089 | @@ -5497,7 +5526,7 @@ | |||
4090 | 5497 | msgstr "" | 5526 | msgstr "" |
4091 | 5498 | 5527 | ||
4092 | 5499 | #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para> | 5528 | #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para> |
4094 | 5500 | #: apt.conf.5.xml:667 | 5529 | #: apt.conf.5.xml:676 |
4095 | 5501 | msgid "" | 5530 | msgid "" |
4096 | 5502 | "<literal>Debug::pkgProblemResolver</literal> enables output about the " | 5531 | "<literal>Debug::pkgProblemResolver</literal> enables output about the " |
4097 | 5503 | "decisions made by <literal>dist-upgrade, upgrade, install, remove, " | 5532 | "decisions made by <literal>dist-upgrade, upgrade, install, remove, " |
4098 | @@ -5505,7 +5534,7 @@ | |||
4099 | 5505 | msgstr "" | 5534 | msgstr "" |
4100 | 5506 | 5535 | ||
4101 | 5507 | #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para> | 5536 | #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para> |
4103 | 5508 | #: apt.conf.5.xml:675 | 5537 | #: apt.conf.5.xml:684 |
4104 | 5509 | msgid "" | 5538 | msgid "" |
4105 | 5510 | "<literal>Debug::NoLocking</literal> disables all file locking. This can be " | 5539 | "<literal>Debug::NoLocking</literal> disables all file locking. This can be " |
4106 | 5511 | "used to run some operations (for instance, <literal>apt-get -s " | 5540 | "used to run some operations (for instance, <literal>apt-get -s " |
4107 | @@ -5513,7 +5542,7 @@ | |||
4108 | 5513 | msgstr "" | 5542 | msgstr "" |
4109 | 5514 | 5543 | ||
4110 | 5515 | #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para> | 5544 | #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para> |
4112 | 5516 | #: apt.conf.5.xml:684 | 5545 | #: apt.conf.5.xml:693 |
4113 | 5517 | msgid "" | 5546 | msgid "" |
4114 | 5518 | "<literal>Debug::pkgDPkgPM</literal> prints out the actual command line each " | 5547 | "<literal>Debug::pkgDPkgPM</literal> prints out the actual command line each " |
4115 | 5519 | "time that <literal>apt</literal> invokes &dpkg;." | 5548 | "time that <literal>apt</literal> invokes &dpkg;." |
4116 | @@ -5523,110 +5552,110 @@ | |||
4117 | 5523 | #. motivating example, except I haven't a clue why you'd want | 5552 | #. motivating example, except I haven't a clue why you'd want |
4118 | 5524 | #. to do this. | 5553 | #. to do this. |
4119 | 5525 | #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para> | 5554 | #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para> |
4121 | 5526 | #: apt.conf.5.xml:692 | 5555 | #: apt.conf.5.xml:701 |
4122 | 5527 | msgid "" | 5556 | msgid "" |
4123 | 5528 | "<literal>Debug::IdentCdrom</literal> disables the inclusion of statfs data " | 5557 | "<literal>Debug::IdentCdrom</literal> disables the inclusion of statfs data " |
4124 | 5529 | "in CDROM IDs." | 5558 | "in CDROM IDs." |
4125 | 5530 | msgstr "" | 5559 | msgstr "" |
4126 | 5531 | 5560 | ||
4127 | 5532 | #. type: Content of: <refentry><refsect1><para> | 5561 | #. type: Content of: <refentry><refsect1><para> |
4129 | 5533 | #: apt.conf.5.xml:702 | 5562 | #: apt.conf.5.xml:711 |
4130 | 5534 | msgid "A full list of debugging options to apt follows." | 5563 | msgid "A full list of debugging options to apt follows." |
4131 | 5535 | msgstr "" | 5564 | msgstr "" |
4132 | 5536 | 5565 | ||
4133 | 5537 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> | 5566 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> |
4135 | 5538 | #: apt.conf.5.xml:707 | 5567 | #: apt.conf.5.xml:716 |
4136 | 5539 | msgid "<literal>Debug::Acquire::cdrom</literal>" | 5568 | msgid "<literal>Debug::Acquire::cdrom</literal>" |
4137 | 5540 | msgstr "" | 5569 | msgstr "" |
4138 | 5541 | 5570 | ||
4139 | 5542 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | 5571 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
4141 | 5543 | #: apt.conf.5.xml:711 | 5572 | #: apt.conf.5.xml:720 |
4142 | 5544 | msgid "Print information related to accessing <literal>cdrom://</literal> sources." | 5573 | msgid "Print information related to accessing <literal>cdrom://</literal> sources." |
4143 | 5545 | msgstr "" | 5574 | msgstr "" |
4144 | 5546 | 5575 | ||
4145 | 5547 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> | 5576 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> |
4147 | 5548 | #: apt.conf.5.xml:718 | 5577 | #: apt.conf.5.xml:727 |
4148 | 5549 | msgid "<literal>Debug::Acquire::ftp</literal>" | 5578 | msgid "<literal>Debug::Acquire::ftp</literal>" |
4149 | 5550 | msgstr "" | 5579 | msgstr "" |
4150 | 5551 | 5580 | ||
4151 | 5552 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | 5581 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
4153 | 5553 | #: apt.conf.5.xml:722 | 5582 | #: apt.conf.5.xml:731 |
4154 | 5554 | msgid "Print information related to downloading packages using FTP." | 5583 | msgid "Print information related to downloading packages using FTP." |
4155 | 5555 | msgstr "" | 5584 | msgstr "" |
4156 | 5556 | 5585 | ||
4157 | 5557 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> | 5586 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> |
4159 | 5558 | #: apt.conf.5.xml:729 | 5587 | #: apt.conf.5.xml:738 |
4160 | 5559 | msgid "<literal>Debug::Acquire::http</literal>" | 5588 | msgid "<literal>Debug::Acquire::http</literal>" |
4161 | 5560 | msgstr "" | 5589 | msgstr "" |
4162 | 5561 | 5590 | ||
4163 | 5562 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | 5591 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
4165 | 5563 | #: apt.conf.5.xml:733 | 5592 | #: apt.conf.5.xml:742 |
4166 | 5564 | msgid "Print information related to downloading packages using HTTP." | 5593 | msgid "Print information related to downloading packages using HTTP." |
4167 | 5565 | msgstr "" | 5594 | msgstr "" |
4168 | 5566 | 5595 | ||
4169 | 5567 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> | 5596 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> |
4171 | 5568 | #: apt.conf.5.xml:740 | 5597 | #: apt.conf.5.xml:749 |
4172 | 5569 | msgid "<literal>Debug::Acquire::https</literal>" | 5598 | msgid "<literal>Debug::Acquire::https</literal>" |
4173 | 5570 | msgstr "" | 5599 | msgstr "" |
4174 | 5571 | 5600 | ||
4175 | 5572 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | 5601 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
4177 | 5573 | #: apt.conf.5.xml:744 | 5602 | #: apt.conf.5.xml:753 |
4178 | 5574 | msgid "Print information related to downloading packages using HTTPS." | 5603 | msgid "Print information related to downloading packages using HTTPS." |
4179 | 5575 | msgstr "" | 5604 | msgstr "" |
4180 | 5576 | 5605 | ||
4181 | 5577 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> | 5606 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> |
4183 | 5578 | #: apt.conf.5.xml:751 | 5607 | #: apt.conf.5.xml:760 |
4184 | 5579 | msgid "<literal>Debug::Acquire::gpgv</literal>" | 5608 | msgid "<literal>Debug::Acquire::gpgv</literal>" |
4185 | 5580 | msgstr "" | 5609 | msgstr "" |
4186 | 5581 | 5610 | ||
4187 | 5582 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | 5611 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
4189 | 5583 | #: apt.conf.5.xml:755 | 5612 | #: apt.conf.5.xml:764 |
4190 | 5584 | msgid "" | 5613 | msgid "" |
4191 | 5585 | "Print information related to verifying cryptographic signatures using " | 5614 | "Print information related to verifying cryptographic signatures using " |
4192 | 5586 | "<literal>gpg</literal>." | 5615 | "<literal>gpg</literal>." |
4193 | 5587 | msgstr "" | 5616 | msgstr "" |
4194 | 5588 | 5617 | ||
4195 | 5589 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> | 5618 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> |
4197 | 5590 | #: apt.conf.5.xml:762 | 5619 | #: apt.conf.5.xml:771 |
4198 | 5591 | msgid "<literal>Debug::aptcdrom</literal>" | 5620 | msgid "<literal>Debug::aptcdrom</literal>" |
4199 | 5592 | msgstr "" | 5621 | msgstr "" |
4200 | 5593 | 5622 | ||
4201 | 5594 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | 5623 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
4203 | 5595 | #: apt.conf.5.xml:766 | 5624 | #: apt.conf.5.xml:775 |
4204 | 5596 | msgid "" | 5625 | msgid "" |
4205 | 5597 | "Output information about the process of accessing collections of packages " | 5626 | "Output information about the process of accessing collections of packages " |
4206 | 5598 | "stored on CD-ROMs." | 5627 | "stored on CD-ROMs." |
4207 | 5599 | msgstr "" | 5628 | msgstr "" |
4208 | 5600 | 5629 | ||
4209 | 5601 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> | 5630 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> |
4211 | 5602 | #: apt.conf.5.xml:773 | 5631 | #: apt.conf.5.xml:782 |
4212 | 5603 | msgid "<literal>Debug::BuildDeps</literal>" | 5632 | msgid "<literal>Debug::BuildDeps</literal>" |
4213 | 5604 | msgstr "" | 5633 | msgstr "" |
4214 | 5605 | 5634 | ||
4215 | 5606 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | 5635 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
4217 | 5607 | #: apt.conf.5.xml:776 | 5636 | #: apt.conf.5.xml:785 |
4218 | 5608 | msgid "Describes the process of resolving build-dependencies in &apt-get;." | 5637 | msgid "Describes the process of resolving build-dependencies in &apt-get;." |
4219 | 5609 | msgstr "" | 5638 | msgstr "" |
4220 | 5610 | 5639 | ||
4221 | 5611 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> | 5640 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> |
4223 | 5612 | #: apt.conf.5.xml:783 | 5641 | #: apt.conf.5.xml:792 |
4224 | 5613 | msgid "<literal>Debug::Hashes</literal>" | 5642 | msgid "<literal>Debug::Hashes</literal>" |
4225 | 5614 | msgstr "" | 5643 | msgstr "" |
4226 | 5615 | 5644 | ||
4227 | 5616 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | 5645 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
4229 | 5617 | #: apt.conf.5.xml:786 | 5646 | #: apt.conf.5.xml:795 |
4230 | 5618 | msgid "" | 5647 | msgid "" |
4231 | 5619 | "Output each cryptographic hash that is generated by the " | 5648 | "Output each cryptographic hash that is generated by the " |
4232 | 5620 | "<literal>apt</literal> libraries." | 5649 | "<literal>apt</literal> libraries." |
4233 | 5621 | msgstr "" | 5650 | msgstr "" |
4234 | 5622 | 5651 | ||
4235 | 5623 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> | 5652 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> |
4237 | 5624 | #: apt.conf.5.xml:793 | 5653 | #: apt.conf.5.xml:802 |
4238 | 5625 | msgid "<literal>Debug::IdentCDROM</literal>" | 5654 | msgid "<literal>Debug::IdentCDROM</literal>" |
4239 | 5626 | msgstr "" | 5655 | msgstr "" |
4240 | 5627 | 5656 | ||
4241 | 5628 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | 5657 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
4243 | 5629 | #: apt.conf.5.xml:796 | 5658 | #: apt.conf.5.xml:805 |
4244 | 5630 | msgid "" | 5659 | msgid "" |
4245 | 5631 | "Do not include information from <literal>statfs</literal>, namely the number " | 5660 | "Do not include information from <literal>statfs</literal>, namely the number " |
4246 | 5632 | "of used and free blocks on the CD-ROM filesystem, when generating an ID for " | 5661 | "of used and free blocks on the CD-ROM filesystem, when generating an ID for " |
4247 | @@ -5634,92 +5663,92 @@ | |||
4248 | 5634 | msgstr "" | 5663 | msgstr "" |
4249 | 5635 | 5664 | ||
4250 | 5636 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> | 5665 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> |
4252 | 5637 | #: apt.conf.5.xml:804 | 5666 | #: apt.conf.5.xml:813 |
4253 | 5638 | msgid "<literal>Debug::NoLocking</literal>" | 5667 | msgid "<literal>Debug::NoLocking</literal>" |
4254 | 5639 | msgstr "" | 5668 | msgstr "" |
4255 | 5640 | 5669 | ||
4256 | 5641 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | 5670 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
4258 | 5642 | #: apt.conf.5.xml:807 | 5671 | #: apt.conf.5.xml:816 |
4259 | 5643 | msgid "" | 5672 | msgid "" |
4260 | 5644 | "Disable all file locking. For instance, this will allow two instances of " | 5673 | "Disable all file locking. For instance, this will allow two instances of " |
4261 | 5645 | "<quote><literal>apt-get update</literal></quote> to run at the same time." | 5674 | "<quote><literal>apt-get update</literal></quote> to run at the same time." |
4262 | 5646 | msgstr "" | 5675 | msgstr "" |
4263 | 5647 | 5676 | ||
4264 | 5648 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> | 5677 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> |
4266 | 5649 | #: apt.conf.5.xml:815 | 5678 | #: apt.conf.5.xml:824 |
4267 | 5650 | msgid "<literal>Debug::pkgAcquire</literal>" | 5679 | msgid "<literal>Debug::pkgAcquire</literal>" |
4268 | 5651 | msgstr "" | 5680 | msgstr "" |
4269 | 5652 | 5681 | ||
4270 | 5653 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | 5682 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
4272 | 5654 | #: apt.conf.5.xml:819 | 5683 | #: apt.conf.5.xml:828 |
4273 | 5655 | msgid "Log when items are added to or removed from the global download queue." | 5684 | msgid "Log when items are added to or removed from the global download queue." |
4274 | 5656 | msgstr "" | 5685 | msgstr "" |
4275 | 5657 | 5686 | ||
4276 | 5658 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> | 5687 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> |
4278 | 5659 | #: apt.conf.5.xml:826 | 5688 | #: apt.conf.5.xml:835 |
4279 | 5660 | msgid "<literal>Debug::pkgAcquire::Auth</literal>" | 5689 | msgid "<literal>Debug::pkgAcquire::Auth</literal>" |
4280 | 5661 | msgstr "" | 5690 | msgstr "" |
4281 | 5662 | 5691 | ||
4282 | 5663 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | 5692 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
4284 | 5664 | #: apt.conf.5.xml:829 | 5693 | #: apt.conf.5.xml:838 |
4285 | 5665 | msgid "" | 5694 | msgid "" |
4286 | 5666 | "Output status messages and errors related to verifying checksums and " | 5695 | "Output status messages and errors related to verifying checksums and " |
4287 | 5667 | "cryptographic signatures of downloaded files." | 5696 | "cryptographic signatures of downloaded files." |
4288 | 5668 | msgstr "" | 5697 | msgstr "" |
4289 | 5669 | 5698 | ||
4290 | 5670 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> | 5699 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> |
4292 | 5671 | #: apt.conf.5.xml:836 | 5700 | #: apt.conf.5.xml:845 |
4293 | 5672 | msgid "<literal>Debug::pkgAcquire::Diffs</literal>" | 5701 | msgid "<literal>Debug::pkgAcquire::Diffs</literal>" |
4294 | 5673 | msgstr "" | 5702 | msgstr "" |
4295 | 5674 | 5703 | ||
4296 | 5675 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | 5704 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
4298 | 5676 | #: apt.conf.5.xml:839 | 5705 | #: apt.conf.5.xml:848 |
4299 | 5677 | msgid "" | 5706 | msgid "" |
4300 | 5678 | "Output information about downloading and applying package index list diffs, " | 5707 | "Output information about downloading and applying package index list diffs, " |
4301 | 5679 | "and errors relating to package index list diffs." | 5708 | "and errors relating to package index list diffs." |
4302 | 5680 | msgstr "" | 5709 | msgstr "" |
4303 | 5681 | 5710 | ||
4304 | 5682 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> | 5711 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> |
4306 | 5683 | #: apt.conf.5.xml:847 | 5712 | #: apt.conf.5.xml:856 |
4307 | 5684 | msgid "<literal>Debug::pkgAcquire::RRed</literal>" | 5713 | msgid "<literal>Debug::pkgAcquire::RRed</literal>" |
4308 | 5685 | msgstr "" | 5714 | msgstr "" |
4309 | 5686 | 5715 | ||
4310 | 5687 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | 5716 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
4312 | 5688 | #: apt.conf.5.xml:851 | 5717 | #: apt.conf.5.xml:860 |
4313 | 5689 | msgid "" | 5718 | msgid "" |
4314 | 5690 | "Output information related to patching apt package lists when downloading " | 5719 | "Output information related to patching apt package lists when downloading " |
4315 | 5691 | "index diffs instead of full indices." | 5720 | "index diffs instead of full indices." |
4316 | 5692 | msgstr "" | 5721 | msgstr "" |
4317 | 5693 | 5722 | ||
4318 | 5694 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> | 5723 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> |
4320 | 5695 | #: apt.conf.5.xml:858 | 5724 | #: apt.conf.5.xml:867 |
4321 | 5696 | msgid "<literal>Debug::pkgAcquire::Worker</literal>" | 5725 | msgid "<literal>Debug::pkgAcquire::Worker</literal>" |
4322 | 5697 | msgstr "" | 5726 | msgstr "" |
4323 | 5698 | 5727 | ||
4324 | 5699 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | 5728 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
4326 | 5700 | #: apt.conf.5.xml:862 | 5729 | #: apt.conf.5.xml:871 |
4327 | 5701 | msgid "Log all interactions with the sub-processes that actually perform downloads." | 5730 | msgid "Log all interactions with the sub-processes that actually perform downloads." |
4328 | 5702 | msgstr "" | 5731 | msgstr "" |
4329 | 5703 | 5732 | ||
4330 | 5704 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> | 5733 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> |
4332 | 5705 | #: apt.conf.5.xml:869 | 5734 | #: apt.conf.5.xml:878 |
4333 | 5706 | msgid "<literal>Debug::pkgAutoRemove</literal>" | 5735 | msgid "<literal>Debug::pkgAutoRemove</literal>" |
4334 | 5707 | msgstr "" | 5736 | msgstr "" |
4335 | 5708 | 5737 | ||
4336 | 5709 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | 5738 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
4338 | 5710 | #: apt.conf.5.xml:873 | 5739 | #: apt.conf.5.xml:882 |
4339 | 5711 | msgid "" | 5740 | msgid "" |
4340 | 5712 | "Log events related to the automatically-installed status of packages and to " | 5741 | "Log events related to the automatically-installed status of packages and to " |
4341 | 5713 | "the removal of unused packages." | 5742 | "the removal of unused packages." |
4342 | 5714 | msgstr "" | 5743 | msgstr "" |
4343 | 5715 | 5744 | ||
4344 | 5716 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> | 5745 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> |
4346 | 5717 | #: apt.conf.5.xml:880 | 5746 | #: apt.conf.5.xml:889 |
4347 | 5718 | msgid "<literal>Debug::pkgDepCache::AutoInstall</literal>" | 5747 | msgid "<literal>Debug::pkgDepCache::AutoInstall</literal>" |
4348 | 5719 | msgstr "" | 5748 | msgstr "" |
4349 | 5720 | 5749 | ||
4350 | 5721 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | 5750 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
4352 | 5722 | #: apt.conf.5.xml:883 | 5751 | #: apt.conf.5.xml:892 |
4353 | 5723 | msgid "" | 5752 | msgid "" |
4354 | 5724 | "Generate debug messages describing which packages are being automatically " | 5753 | "Generate debug messages describing which packages are being automatically " |
4355 | 5725 | "installed to resolve dependencies. This corresponds to the initial " | 5754 | "installed to resolve dependencies. This corresponds to the initial " |
4356 | @@ -5729,12 +5758,12 @@ | |||
4357 | 5729 | msgstr "" | 5758 | msgstr "" |
4358 | 5730 | 5759 | ||
4359 | 5731 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> | 5760 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> |
4361 | 5732 | #: apt.conf.5.xml:894 | 5761 | #: apt.conf.5.xml:903 |
4362 | 5733 | msgid "<literal>Debug::pkgDepCache::Marker</literal>" | 5762 | msgid "<literal>Debug::pkgDepCache::Marker</literal>" |
4363 | 5734 | msgstr "" | 5763 | msgstr "" |
4364 | 5735 | 5764 | ||
4365 | 5736 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | 5765 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
4367 | 5737 | #: apt.conf.5.xml:897 | 5766 | #: apt.conf.5.xml:906 |
4368 | 5738 | msgid "" | 5767 | msgid "" |
4369 | 5739 | "Generate debug messages describing which package is marked as " | 5768 | "Generate debug messages describing which package is marked as " |
4370 | 5740 | "keep/install/remove while the ProblemResolver does his work. Each addition " | 5769 | "keep/install/remove while the ProblemResolver does his work. Each addition " |
4371 | @@ -5752,90 +5781,90 @@ | |||
4372 | 5752 | msgstr "" | 5781 | msgstr "" |
4373 | 5753 | 5782 | ||
4374 | 5754 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> | 5783 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> |
4376 | 5755 | #: apt.conf.5.xml:916 | 5784 | #: apt.conf.5.xml:925 |
4377 | 5756 | msgid "<literal>Debug::pkgInitConfig</literal>" | 5785 | msgid "<literal>Debug::pkgInitConfig</literal>" |
4378 | 5757 | msgstr "" | 5786 | msgstr "" |
4379 | 5758 | 5787 | ||
4380 | 5759 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | 5788 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
4382 | 5760 | #: apt.conf.5.xml:919 | 5789 | #: apt.conf.5.xml:928 |
4383 | 5761 | msgid "Dump the default configuration to standard error on startup." | 5790 | msgid "Dump the default configuration to standard error on startup." |
4384 | 5762 | msgstr "" | 5791 | msgstr "" |
4385 | 5763 | 5792 | ||
4386 | 5764 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> | 5793 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> |
4388 | 5765 | #: apt.conf.5.xml:926 | 5794 | #: apt.conf.5.xml:935 |
4389 | 5766 | msgid "<literal>Debug::pkgDPkgPM</literal>" | 5795 | msgid "<literal>Debug::pkgDPkgPM</literal>" |
4390 | 5767 | msgstr "" | 5796 | msgstr "" |
4391 | 5768 | 5797 | ||
4392 | 5769 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | 5798 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
4394 | 5770 | #: apt.conf.5.xml:929 | 5799 | #: apt.conf.5.xml:938 |
4395 | 5771 | msgid "" | 5800 | msgid "" |
4396 | 5772 | "When invoking &dpkg;, output the precise command line with which it is being " | 5801 | "When invoking &dpkg;, output the precise command line with which it is being " |
4397 | 5773 | "invoked, with arguments separated by a single space character." | 5802 | "invoked, with arguments separated by a single space character." |
4398 | 5774 | msgstr "" | 5803 | msgstr "" |
4399 | 5775 | 5804 | ||
4400 | 5776 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> | 5805 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> |
4402 | 5777 | #: apt.conf.5.xml:937 | 5806 | #: apt.conf.5.xml:946 |
4403 | 5778 | msgid "<literal>Debug::pkgDPkgProgressReporting</literal>" | 5807 | msgid "<literal>Debug::pkgDPkgProgressReporting</literal>" |
4404 | 5779 | msgstr "" | 5808 | msgstr "" |
4405 | 5780 | 5809 | ||
4406 | 5781 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | 5810 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
4408 | 5782 | #: apt.conf.5.xml:940 | 5811 | #: apt.conf.5.xml:949 |
4409 | 5783 | msgid "" | 5812 | msgid "" |
4410 | 5784 | "Output all the data received from &dpkg; on the status file descriptor and " | 5813 | "Output all the data received from &dpkg; on the status file descriptor and " |
4411 | 5785 | "any errors encountered while parsing it." | 5814 | "any errors encountered while parsing it." |
4412 | 5786 | msgstr "" | 5815 | msgstr "" |
4413 | 5787 | 5816 | ||
4414 | 5788 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> | 5817 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> |
4416 | 5789 | #: apt.conf.5.xml:947 | 5818 | #: apt.conf.5.xml:956 |
4417 | 5790 | msgid "<literal>Debug::pkgOrderList</literal>" | 5819 | msgid "<literal>Debug::pkgOrderList</literal>" |
4418 | 5791 | msgstr "" | 5820 | msgstr "" |
4419 | 5792 | 5821 | ||
4420 | 5793 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | 5822 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
4422 | 5794 | #: apt.conf.5.xml:951 | 5823 | #: apt.conf.5.xml:960 |
4423 | 5795 | msgid "" | 5824 | msgid "" |
4424 | 5796 | "Generate a trace of the algorithm that decides the order in which " | 5825 | "Generate a trace of the algorithm that decides the order in which " |
4425 | 5797 | "<literal>apt</literal> should pass packages to &dpkg;." | 5826 | "<literal>apt</literal> should pass packages to &dpkg;." |
4426 | 5798 | msgstr "" | 5827 | msgstr "" |
4427 | 5799 | 5828 | ||
4428 | 5800 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> | 5829 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> |
4430 | 5801 | #: apt.conf.5.xml:959 | 5830 | #: apt.conf.5.xml:968 |
4431 | 5802 | msgid "<literal>Debug::pkgPackageManager</literal>" | 5831 | msgid "<literal>Debug::pkgPackageManager</literal>" |
4432 | 5803 | msgstr "" | 5832 | msgstr "" |
4433 | 5804 | 5833 | ||
4434 | 5805 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | 5834 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
4436 | 5806 | #: apt.conf.5.xml:963 | 5835 | #: apt.conf.5.xml:972 |
4437 | 5807 | msgid "Output status messages tracing the steps performed when invoking &dpkg;." | 5836 | msgid "Output status messages tracing the steps performed when invoking &dpkg;." |
4438 | 5808 | msgstr "" | 5837 | msgstr "" |
4439 | 5809 | 5838 | ||
4440 | 5810 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> | 5839 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> |
4442 | 5811 | #: apt.conf.5.xml:970 | 5840 | #: apt.conf.5.xml:979 |
4443 | 5812 | msgid "<literal>Debug::pkgPolicy</literal>" | 5841 | msgid "<literal>Debug::pkgPolicy</literal>" |
4444 | 5813 | msgstr "" | 5842 | msgstr "" |
4445 | 5814 | 5843 | ||
4446 | 5815 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | 5844 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
4448 | 5816 | #: apt.conf.5.xml:974 | 5845 | #: apt.conf.5.xml:983 |
4449 | 5817 | msgid "Output the priority of each package list on startup." | 5846 | msgid "Output the priority of each package list on startup." |
4450 | 5818 | msgstr "" | 5847 | msgstr "" |
4451 | 5819 | 5848 | ||
4452 | 5820 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> | 5849 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> |
4454 | 5821 | #: apt.conf.5.xml:980 | 5850 | #: apt.conf.5.xml:989 |
4455 | 5822 | msgid "<literal>Debug::pkgProblemResolver</literal>" | 5851 | msgid "<literal>Debug::pkgProblemResolver</literal>" |
4456 | 5823 | msgstr "" | 5852 | msgstr "" |
4457 | 5824 | 5853 | ||
4458 | 5825 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | 5854 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
4460 | 5826 | #: apt.conf.5.xml:984 | 5855 | #: apt.conf.5.xml:993 |
4461 | 5827 | msgid "" | 5856 | msgid "" |
4462 | 5828 | "Trace the execution of the dependency resolver (this applies only to what " | 5857 | "Trace the execution of the dependency resolver (this applies only to what " |
4463 | 5829 | "happens when a complex dependency problem is encountered)." | 5858 | "happens when a complex dependency problem is encountered)." |
4464 | 5830 | msgstr "" | 5859 | msgstr "" |
4465 | 5831 | 5860 | ||
4466 | 5832 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> | 5861 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> |
4468 | 5833 | #: apt.conf.5.xml:992 | 5862 | #: apt.conf.5.xml:1001 |
4469 | 5834 | msgid "<literal>Debug::pkgProblemResolver::ShowScores</literal>" | 5863 | msgid "<literal>Debug::pkgProblemResolver::ShowScores</literal>" |
4470 | 5835 | msgstr "" | 5864 | msgstr "" |
4471 | 5836 | 5865 | ||
4472 | 5837 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | 5866 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
4474 | 5838 | #: apt.conf.5.xml:995 | 5867 | #: apt.conf.5.xml:1004 |
4475 | 5839 | msgid "" | 5868 | msgid "" |
4476 | 5840 | "Display a list of all installed packages with their calculated score used by " | 5869 | "Display a list of all installed packages with their calculated score used by " |
4477 | 5841 | "the pkgProblemResolver. The description of the package is the same as " | 5870 | "the pkgProblemResolver. The description of the package is the same as " |
4478 | @@ -5843,39 +5872,39 @@ | |||
4479 | 5843 | msgstr "" | 5872 | msgstr "" |
4480 | 5844 | 5873 | ||
4481 | 5845 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> | 5874 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> |
4483 | 5846 | #: apt.conf.5.xml:1003 | 5875 | #: apt.conf.5.xml:1012 |
4484 | 5847 | msgid "<literal>Debug::sourceList</literal>" | 5876 | msgid "<literal>Debug::sourceList</literal>" |
4485 | 5848 | msgstr "" | 5877 | msgstr "" |
4486 | 5849 | 5878 | ||
4487 | 5850 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> | 5879 | #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> |
4489 | 5851 | #: apt.conf.5.xml:1007 | 5880 | #: apt.conf.5.xml:1016 |
4490 | 5852 | msgid "" | 5881 | msgid "" |
4491 | 5853 | "Print information about the vendors read from " | 5882 | "Print information about the vendors read from " |
4492 | 5854 | "<filename>/etc/apt/vendors.list</filename>." | 5883 | "<filename>/etc/apt/vendors.list</filename>." |
4493 | 5855 | msgstr "" | 5884 | msgstr "" |
4494 | 5856 | 5885 | ||
4495 | 5857 | #. type: Content of: <refentry><refsect1><para> | 5886 | #. type: Content of: <refentry><refsect1><para> |
4497 | 5858 | #: apt.conf.5.xml:1030 | 5887 | #: apt.conf.5.xml:1039 |
4498 | 5859 | msgid "" | 5888 | msgid "" |
4499 | 5860 | "&configureindex; is a configuration file showing example values for all " | 5889 | "&configureindex; is a configuration file showing example values for all " |
4500 | 5861 | "possible options." | 5890 | "possible options." |
4501 | 5862 | msgstr "" | 5891 | msgstr "" |
4502 | 5863 | 5892 | ||
4503 | 5864 | #. type: Content of: <refentry><refsect1><variablelist> | 5893 | #. type: Content of: <refentry><refsect1><variablelist> |
4505 | 5865 | #: apt.conf.5.xml:1037 | 5894 | #: apt.conf.5.xml:1046 |
4506 | 5866 | msgid "&file-aptconf;" | 5895 | msgid "&file-aptconf;" |
4507 | 5867 | msgstr "" | 5896 | msgstr "" |
4508 | 5868 | 5897 | ||
4509 | 5869 | #. ? reading apt.conf | 5898 | #. ? reading apt.conf |
4510 | 5870 | #. type: Content of: <refentry><refsect1><para> | 5899 | #. type: Content of: <refentry><refsect1><para> |
4512 | 5871 | #: apt.conf.5.xml:1042 | 5900 | #: apt.conf.5.xml:1051 |
4513 | 5872 | msgid "&apt-cache;, &apt-config;, &apt-preferences;." | 5901 | msgid "&apt-cache;, &apt-config;, &apt-preferences;." |
4514 | 5873 | msgstr "" | 5902 | msgstr "" |
4515 | 5874 | 5903 | ||
4516 | 5875 | #. The last update date | 5904 | #. The last update date |
4517 | 5876 | #. type: Content of: <refentry><refentryinfo> | 5905 | #. type: Content of: <refentry><refentryinfo> |
4518 | 5877 | #: apt_preferences.5.xml:13 | 5906 | #: apt_preferences.5.xml:13 |
4520 | 5878 | msgid "&apt-author.team; &apt-email; &apt-product; <date>04 May 2009</date>" | 5907 | msgid "&apt-author.team; &apt-email; &apt-product; <date>16 February 2010</date>" |
4521 | 5879 | msgstr "" | 5908 | msgstr "" |
4522 | 5880 | 5909 | ||
4523 | 5881 | #. type: Content of: <refentry><refnamediv><refname> | 5910 | #. type: Content of: <refentry><refnamediv><refname> |
4524 | @@ -5923,6 +5952,17 @@ | |||
4525 | 5923 | #. type: Content of: <refentry><refsect1><para> | 5952 | #. type: Content of: <refentry><refsect1><para> |
4526 | 5924 | #: apt_preferences.5.xml:56 | 5953 | #: apt_preferences.5.xml:56 |
4527 | 5925 | msgid "" | 5954 | msgid "" |
4528 | 5955 | "Preferences are a strong power in the hands of a system administrator but " | ||
4529 | 5956 | "they can become also their biggest nightmare if used without care! APT will " | ||
4530 | 5957 | "not questioning the preferences so wrong settings will therefore lead to " | ||
4531 | 5958 | "uninstallable packages or wrong decisions while upgrading packages. Even " | ||
4532 | 5959 | "more problems will arise if multiply distribution releases are mixed without " | ||
4533 | 5960 | "a good understanding of the following paragraphs. You have been warned." | ||
4534 | 5961 | msgstr "" | ||
4535 | 5962 | |||
4536 | 5963 | #. type: Content of: <refentry><refsect1><para> | ||
4537 | 5964 | #: apt_preferences.5.xml:64 | ||
4538 | 5965 | msgid "" | ||
4539 | 5926 | "Note that the files in the <filename>/etc/apt/preferences.d</filename> " | 5966 | "Note that the files in the <filename>/etc/apt/preferences.d</filename> " |
4540 | 5927 | "directory are parsed in alphanumeric ascending order and need to obey the " | 5967 | "directory are parsed in alphanumeric ascending order and need to obey the " |
4541 | 5928 | "following naming convention: The files have no or " | 5968 | "following naming convention: The files have no or " |
4542 | @@ -5932,12 +5972,12 @@ | |||
4543 | 5932 | msgstr "" | 5972 | msgstr "" |
4544 | 5933 | 5973 | ||
4545 | 5934 | #. type: Content of: <refentry><refsect1><refsect2><title> | 5974 | #. type: Content of: <refentry><refsect1><refsect2><title> |
4547 | 5935 | #: apt_preferences.5.xml:63 | 5975 | #: apt_preferences.5.xml:71 |
4548 | 5936 | msgid "APT's Default Priority Assignments" | 5976 | msgid "APT's Default Priority Assignments" |
4549 | 5937 | msgstr "" | 5977 | msgstr "" |
4550 | 5938 | 5978 | ||
4551 | 5939 | #. type: Content of: <refentry><refsect1><refsect2><para><programlisting> | 5979 | #. type: Content of: <refentry><refsect1><refsect2><para><programlisting> |
4553 | 5940 | #: apt_preferences.5.xml:78 | 5980 | #: apt_preferences.5.xml:86 |
4554 | 5941 | #, no-wrap | 5981 | #, no-wrap |
4555 | 5942 | msgid "" | 5982 | msgid "" |
4556 | 5943 | "<command>apt-get install -t testing " | 5983 | "<command>apt-get install -t testing " |
4557 | @@ -5945,13 +5985,13 @@ | |||
4558 | 5945 | msgstr "" | 5985 | msgstr "" |
4559 | 5946 | 5986 | ||
4560 | 5947 | #. type: Content of: <refentry><refsect1><refsect2><para><programlisting> | 5987 | #. type: Content of: <refentry><refsect1><refsect2><para><programlisting> |
4562 | 5948 | #: apt_preferences.5.xml:81 | 5988 | #: apt_preferences.5.xml:89 |
4563 | 5949 | #, no-wrap | 5989 | #, no-wrap |
4564 | 5950 | msgid "APT::Default-Release \"stable\";\n" | 5990 | msgid "APT::Default-Release \"stable\";\n" |
4565 | 5951 | msgstr "" | 5991 | msgstr "" |
4566 | 5952 | 5992 | ||
4567 | 5953 | #. type: Content of: <refentry><refsect1><refsect2><para> | 5993 | #. type: Content of: <refentry><refsect1><refsect2><para> |
4569 | 5954 | #: apt_preferences.5.xml:65 | 5994 | #: apt_preferences.5.xml:73 |
4570 | 5955 | msgid "" | 5995 | msgid "" |
4571 | 5956 | "If there is no preferences file or if there is no entry in the file that " | 5996 | "If there is no preferences file or if there is no entry in the file that " |
4572 | 5957 | "applies to a particular version then the priority assigned to that version " | 5997 | "applies to a particular version then the priority assigned to that version " |
4573 | @@ -5968,39 +6008,39 @@ | |||
4574 | 5968 | msgstr "" | 6008 | msgstr "" |
4575 | 5969 | 6009 | ||
4576 | 5970 | #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term> | 6010 | #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term> |
4578 | 5971 | #: apt_preferences.5.xml:90 | 6011 | #: apt_preferences.5.xml:98 |
4579 | 5972 | msgid "priority 100" | 6012 | msgid "priority 100" |
4580 | 5973 | msgstr "" | 6013 | msgstr "" |
4581 | 5974 | 6014 | ||
4582 | 5975 | #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara> | 6015 | #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara> |
4584 | 5976 | #: apt_preferences.5.xml:91 | 6016 | #: apt_preferences.5.xml:99 |
4585 | 5977 | msgid "to the version that is already installed (if any)." | 6017 | msgid "to the version that is already installed (if any)." |
4586 | 5978 | msgstr "" | 6018 | msgstr "" |
4587 | 5979 | 6019 | ||
4588 | 5980 | #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term> | 6020 | #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term> |
4590 | 5981 | #: apt_preferences.5.xml:95 | 6021 | #: apt_preferences.5.xml:103 |
4591 | 5982 | msgid "priority 500" | 6022 | msgid "priority 500" |
4592 | 5983 | msgstr "" | 6023 | msgstr "" |
4593 | 5984 | 6024 | ||
4594 | 5985 | #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara> | 6025 | #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara> |
4596 | 5986 | #: apt_preferences.5.xml:96 | 6026 | #: apt_preferences.5.xml:104 |
4597 | 5987 | msgid "" | 6027 | msgid "" |
4598 | 5988 | "to the versions that are not installed and do not belong to the target " | 6028 | "to the versions that are not installed and do not belong to the target " |
4599 | 5989 | "release." | 6029 | "release." |
4600 | 5990 | msgstr "" | 6030 | msgstr "" |
4601 | 5991 | 6031 | ||
4602 | 5992 | #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term> | 6032 | #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term> |
4604 | 5993 | #: apt_preferences.5.xml:100 | 6033 | #: apt_preferences.5.xml:108 |
4605 | 5994 | msgid "priority 990" | 6034 | msgid "priority 990" |
4606 | 5995 | msgstr "" | 6035 | msgstr "" |
4607 | 5996 | 6036 | ||
4608 | 5997 | #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara> | 6037 | #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara> |
4610 | 5998 | #: apt_preferences.5.xml:101 | 6038 | #: apt_preferences.5.xml:109 |
4611 | 5999 | msgid "to the versions that are not installed and belong to the target release." | 6039 | msgid "to the versions that are not installed and belong to the target release." |
4612 | 6000 | msgstr "" | 6040 | msgstr "" |
4613 | 6001 | 6041 | ||
4614 | 6002 | #. type: Content of: <refentry><refsect1><refsect2><para> | 6042 | #. type: Content of: <refentry><refsect1><refsect2><para> |
4616 | 6003 | #: apt_preferences.5.xml:85 | 6043 | #: apt_preferences.5.xml:93 |
4617 | 6004 | msgid "" | 6044 | msgid "" |
4618 | 6005 | "If the target release has been specified then APT uses the following " | 6045 | "If the target release has been specified then APT uses the following " |
4619 | 6006 | "algorithm to set the priorities of the versions of a package. Assign: " | 6046 | "algorithm to set the priorities of the versions of a package. Assign: " |
4620 | @@ -6008,7 +6048,7 @@ | |||
4621 | 6008 | msgstr "" | 6048 | msgstr "" |
4622 | 6009 | 6049 | ||
4623 | 6010 | #. type: Content of: <refentry><refsect1><refsect2><para> | 6050 | #. type: Content of: <refentry><refsect1><refsect2><para> |
4625 | 6011 | #: apt_preferences.5.xml:106 | 6051 | #: apt_preferences.5.xml:114 |
4626 | 6012 | msgid "" | 6052 | msgid "" |
4627 | 6013 | "If the target release has not been specified then APT simply assigns " | 6053 | "If the target release has not been specified then APT simply assigns " |
4628 | 6014 | "priority 100 to all installed package versions and priority 500 to all " | 6054 | "priority 100 to all installed package versions and priority 500 to all " |
4629 | @@ -6016,14 +6056,14 @@ | |||
4630 | 6016 | msgstr "" | 6056 | msgstr "" |
4631 | 6017 | 6057 | ||
4632 | 6018 | #. type: Content of: <refentry><refsect1><refsect2><para> | 6058 | #. type: Content of: <refentry><refsect1><refsect2><para> |
4634 | 6019 | #: apt_preferences.5.xml:110 | 6059 | #: apt_preferences.5.xml:118 |
4635 | 6020 | msgid "" | 6060 | msgid "" |
4636 | 6021 | "APT then applies the following rules, listed in order of precedence, to " | 6061 | "APT then applies the following rules, listed in order of precedence, to " |
4637 | 6022 | "determine which version of a package to install." | 6062 | "determine which version of a package to install." |
4638 | 6023 | msgstr "" | 6063 | msgstr "" |
4639 | 6024 | 6064 | ||
4640 | 6025 | #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara> | 6065 | #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara> |
4642 | 6026 | #: apt_preferences.5.xml:113 | 6066 | #: apt_preferences.5.xml:121 |
4643 | 6027 | msgid "" | 6067 | msgid "" |
4644 | 6028 | "Never downgrade unless the priority of an available version exceeds 1000. " | 6068 | "Never downgrade unless the priority of an available version exceeds 1000. " |
4645 | 6029 | "(\"Downgrading\" is installing a less recent version of a package in place " | 6069 | "(\"Downgrading\" is installing a less recent version of a package in place " |
4646 | @@ -6033,19 +6073,19 @@ | |||
4647 | 6033 | msgstr "" | 6073 | msgstr "" |
4648 | 6034 | 6074 | ||
4649 | 6035 | #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara> | 6075 | #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara> |
4651 | 6036 | #: apt_preferences.5.xml:119 | 6076 | #: apt_preferences.5.xml:127 |
4652 | 6037 | msgid "Install the highest priority version." | 6077 | msgid "Install the highest priority version." |
4653 | 6038 | msgstr "" | 6078 | msgstr "" |
4654 | 6039 | 6079 | ||
4655 | 6040 | #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara> | 6080 | #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara> |
4657 | 6041 | #: apt_preferences.5.xml:120 | 6081 | #: apt_preferences.5.xml:128 |
4658 | 6042 | msgid "" | 6082 | msgid "" |
4659 | 6043 | "If two or more versions have the same priority, install the most recent one " | 6083 | "If two or more versions have the same priority, install the most recent one " |
4660 | 6044 | "(that is, the one with the higher version number)." | 6084 | "(that is, the one with the higher version number)." |
4661 | 6045 | msgstr "" | 6085 | msgstr "" |
4662 | 6046 | 6086 | ||
4663 | 6047 | #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara> | 6087 | #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara> |
4665 | 6048 | #: apt_preferences.5.xml:123 | 6088 | #: apt_preferences.5.xml:131 |
4666 | 6049 | msgid "" | 6089 | msgid "" |
4667 | 6050 | "If two or more versions have the same priority and version number but either " | 6090 | "If two or more versions have the same priority and version number but either " |
4668 | 6051 | "the packages differ in some of their metadata or the " | 6091 | "the packages differ in some of their metadata or the " |
4669 | @@ -6053,7 +6093,7 @@ | |||
4670 | 6053 | msgstr "" | 6093 | msgstr "" |
4671 | 6054 | 6094 | ||
4672 | 6055 | #. type: Content of: <refentry><refsect1><refsect2><para> | 6095 | #. type: Content of: <refentry><refsect1><refsect2><para> |
4674 | 6056 | #: apt_preferences.5.xml:129 | 6096 | #: apt_preferences.5.xml:137 |
4675 | 6057 | msgid "" | 6097 | msgid "" |
4676 | 6058 | "In a typical situation, the installed version of a package (priority 100) " | 6098 | "In a typical situation, the installed version of a package (priority 100) " |
4677 | 6059 | "is not as recent as one of the versions available from the sources listed in " | 6099 | "is not as recent as one of the versions available from the sources listed in " |
4678 | @@ -6064,7 +6104,7 @@ | |||
4679 | 6064 | msgstr "" | 6104 | msgstr "" |
4680 | 6065 | 6105 | ||
4681 | 6066 | #. type: Content of: <refentry><refsect1><refsect2><para> | 6106 | #. type: Content of: <refentry><refsect1><refsect2><para> |
4683 | 6067 | #: apt_preferences.5.xml:136 | 6107 | #: apt_preferences.5.xml:144 |
4684 | 6068 | msgid "" | 6108 | msgid "" |
4685 | 6069 | "More rarely, the installed version of a package is <emphasis>more</emphasis> " | 6109 | "More rarely, the installed version of a package is <emphasis>more</emphasis> " |
4686 | 6070 | "recent than any of the other available versions. The package will not be " | 6110 | "recent than any of the other available versions. The package will not be " |
4687 | @@ -6074,7 +6114,7 @@ | |||
4688 | 6074 | msgstr "" | 6114 | msgstr "" |
4689 | 6075 | 6115 | ||
4690 | 6076 | #. type: Content of: <refentry><refsect1><refsect2><para> | 6116 | #. type: Content of: <refentry><refsect1><refsect2><para> |
4692 | 6077 | #: apt_preferences.5.xml:141 | 6117 | #: apt_preferences.5.xml:149 |
4693 | 6078 | msgid "" | 6118 | msgid "" |
4694 | 6079 | "Sometimes the installed version of a package is more recent than the version " | 6119 | "Sometimes the installed version of a package is more recent than the version " |
4695 | 6080 | "belonging to the target release, but not as recent as a version belonging to " | 6120 | "belonging to the target release, but not as recent as a version belonging to " |
4696 | @@ -6086,12 +6126,12 @@ | |||
4697 | 6086 | msgstr "" | 6126 | msgstr "" |
4698 | 6087 | 6127 | ||
4699 | 6088 | #. type: Content of: <refentry><refsect1><refsect2><title> | 6128 | #. type: Content of: <refentry><refsect1><refsect2><title> |
4701 | 6089 | #: apt_preferences.5.xml:150 | 6129 | #: apt_preferences.5.xml:158 |
4702 | 6090 | msgid "The Effect of APT Preferences" | 6130 | msgid "The Effect of APT Preferences" |
4703 | 6091 | msgstr "" | 6131 | msgstr "" |
4704 | 6092 | 6132 | ||
4705 | 6093 | #. type: Content of: <refentry><refsect1><refsect2><para> | 6133 | #. type: Content of: <refentry><refsect1><refsect2><para> |
4707 | 6094 | #: apt_preferences.5.xml:152 | 6134 | #: apt_preferences.5.xml:160 |
4708 | 6095 | msgid "" | 6135 | msgid "" |
4709 | 6096 | "The APT preferences file allows the system administrator to control the " | 6136 | "The APT preferences file allows the system administrator to control the " |
4710 | 6097 | "assignment of priorities. The file consists of one or more multi-line " | 6137 | "assignment of priorities. The file consists of one or more multi-line " |
4711 | @@ -6100,7 +6140,7 @@ | |||
4712 | 6100 | msgstr "" | 6140 | msgstr "" |
4713 | 6101 | 6141 | ||
4714 | 6102 | #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara> | 6142 | #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara> |
4716 | 6103 | #: apt_preferences.5.xml:158 | 6143 | #: apt_preferences.5.xml:166 |
4717 | 6104 | msgid "" | 6144 | msgid "" |
4718 | 6105 | "The specific form assigns a priority (a \"Pin-Priority\") to one or more " | 6145 | "The specific form assigns a priority (a \"Pin-Priority\") to one or more " |
4719 | 6106 | "specified packages and specified version or version range. For example, the " | 6146 | "specified packages and specified version or version range. For example, the " |
4720 | @@ -6110,7 +6150,7 @@ | |||
4721 | 6110 | msgstr "" | 6150 | msgstr "" |
4722 | 6111 | 6151 | ||
4723 | 6112 | #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting> | 6152 | #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting> |
4725 | 6113 | #: apt_preferences.5.xml:165 | 6153 | #: apt_preferences.5.xml:173 |
4726 | 6114 | #, no-wrap | 6154 | #, no-wrap |
4727 | 6115 | msgid "" | 6155 | msgid "" |
4728 | 6116 | "Package: perl\n" | 6156 | "Package: perl\n" |
4729 | @@ -6119,7 +6159,7 @@ | |||
4730 | 6119 | msgstr "" | 6159 | msgstr "" |
4731 | 6120 | 6160 | ||
4732 | 6121 | #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara> | 6161 | #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara> |
4734 | 6122 | #: apt_preferences.5.xml:171 | 6162 | #: apt_preferences.5.xml:179 |
4735 | 6123 | msgid "" | 6163 | msgid "" |
4736 | 6124 | "The general form assigns a priority to all of the package versions in a " | 6164 | "The general form assigns a priority to all of the package versions in a " |
4737 | 6125 | "given distribution (that is, to all the versions of packages that are listed " | 6165 | "given distribution (that is, to all the versions of packages that are listed " |
4738 | @@ -6129,7 +6169,7 @@ | |||
4739 | 6129 | msgstr "" | 6169 | msgstr "" |
4740 | 6130 | 6170 | ||
4741 | 6131 | #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara> | 6171 | #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara> |
4743 | 6132 | #: apt_preferences.5.xml:177 | 6172 | #: apt_preferences.5.xml:185 |
4744 | 6133 | msgid "" | 6173 | msgid "" |
4745 | 6134 | "This general-form entry in the APT preferences file applies only to groups " | 6174 | "This general-form entry in the APT preferences file applies only to groups " |
4746 | 6135 | "of packages. For example, the following record assigns a high priority to " | 6175 | "of packages. For example, the following record assigns a high priority to " |
4747 | @@ -6137,7 +6177,7 @@ | |||
4748 | 6137 | msgstr "" | 6177 | msgstr "" |
4749 | 6138 | 6178 | ||
4750 | 6139 | #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting> | 6179 | #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting> |
4752 | 6140 | #: apt_preferences.5.xml:182 | 6180 | #: apt_preferences.5.xml:190 |
4753 | 6141 | #, no-wrap | 6181 | #, no-wrap |
4754 | 6142 | msgid "" | 6182 | msgid "" |
4755 | 6143 | "Package: *\n" | 6183 | "Package: *\n" |
4756 | @@ -6146,7 +6186,7 @@ | |||
4757 | 6146 | msgstr "" | 6186 | msgstr "" |
4758 | 6147 | 6187 | ||
4759 | 6148 | #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara> | 6188 | #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara> |
4761 | 6149 | #: apt_preferences.5.xml:187 | 6189 | #: apt_preferences.5.xml:195 |
4762 | 6150 | msgid "" | 6190 | msgid "" |
4763 | 6151 | "A note of caution: the keyword used here is \"<literal>origin</literal>\". " | 6191 | "A note of caution: the keyword used here is \"<literal>origin</literal>\". " |
4764 | 6152 | "This should not be confused with the Origin of a distribution as specified " | 6192 | "This should not be confused with the Origin of a distribution as specified " |
4765 | @@ -6156,7 +6196,7 @@ | |||
4766 | 6156 | msgstr "" | 6196 | msgstr "" |
4767 | 6157 | 6197 | ||
4768 | 6158 | #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara> | 6198 | #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara> |
4770 | 6159 | #: apt_preferences.5.xml:193 | 6199 | #: apt_preferences.5.xml:201 |
4771 | 6160 | msgid "" | 6200 | msgid "" |
4772 | 6161 | "The following record assigns a low priority to all package versions " | 6201 | "The following record assigns a low priority to all package versions " |
4773 | 6162 | "belonging to any distribution whose Archive name is " | 6202 | "belonging to any distribution whose Archive name is " |
4774 | @@ -6164,7 +6204,7 @@ | |||
4775 | 6164 | msgstr "" | 6204 | msgstr "" |
4776 | 6165 | 6205 | ||
4777 | 6166 | #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting> | 6206 | #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting> |
4779 | 6167 | #: apt_preferences.5.xml:197 | 6207 | #: apt_preferences.5.xml:205 |
4780 | 6168 | #, no-wrap | 6208 | #, no-wrap |
4781 | 6169 | msgid "" | 6209 | msgid "" |
4782 | 6170 | "Package: *\n" | 6210 | "Package: *\n" |
4783 | @@ -6173,7 +6213,7 @@ | |||
4784 | 6173 | msgstr "" | 6213 | msgstr "" |
4785 | 6174 | 6214 | ||
4786 | 6175 | #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara> | 6215 | #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara> |
4788 | 6176 | #: apt_preferences.5.xml:202 | 6216 | #: apt_preferences.5.xml:210 |
4789 | 6177 | msgid "" | 6217 | msgid "" |
4790 | 6178 | "The following record assigns a high priority to all package versions " | 6218 | "The following record assigns a high priority to all package versions " |
4791 | 6179 | "belonging to any distribution whose Codename is " | 6219 | "belonging to any distribution whose Codename is " |
4792 | @@ -6181,7 +6221,7 @@ | |||
4793 | 6181 | msgstr "" | 6221 | msgstr "" |
4794 | 6182 | 6222 | ||
4795 | 6183 | #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting> | 6223 | #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting> |
4797 | 6184 | #: apt_preferences.5.xml:206 | 6224 | #: apt_preferences.5.xml:214 |
4798 | 6185 | #, no-wrap | 6225 | #, no-wrap |
4799 | 6186 | msgid "" | 6226 | msgid "" |
4800 | 6187 | "Package: *\n" | 6227 | "Package: *\n" |
4801 | @@ -6190,7 +6230,7 @@ | |||
4802 | 6190 | msgstr "" | 6230 | msgstr "" |
4803 | 6191 | 6231 | ||
4804 | 6192 | #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara> | 6232 | #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara> |
4806 | 6193 | #: apt_preferences.5.xml:211 | 6233 | #: apt_preferences.5.xml:219 |
4807 | 6194 | msgid "" | 6234 | msgid "" |
4808 | 6195 | "The following record assigns a high priority to all package versions " | 6235 | "The following record assigns a high priority to all package versions " |
4809 | 6196 | "belonging to any release whose Archive name is \"<literal>stable</literal>\" " | 6236 | "belonging to any release whose Archive name is \"<literal>stable</literal>\" " |
4810 | @@ -6198,7 +6238,7 @@ | |||
4811 | 6198 | msgstr "" | 6238 | msgstr "" |
4812 | 6199 | 6239 | ||
4813 | 6200 | #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting> | 6240 | #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting> |
4815 | 6201 | #: apt_preferences.5.xml:216 | 6241 | #: apt_preferences.5.xml:224 |
4816 | 6202 | #, no-wrap | 6242 | #, no-wrap |
4817 | 6203 | msgid "" | 6243 | msgid "" |
4818 | 6204 | "Package: *\n" | 6244 | "Package: *\n" |
4819 | @@ -6207,82 +6247,82 @@ | |||
4820 | 6207 | msgstr "" | 6247 | msgstr "" |
4821 | 6208 | 6248 | ||
4822 | 6209 | #. type: Content of: <refentry><refsect1><refsect2><title> | 6249 | #. type: Content of: <refentry><refsect1><refsect2><title> |
4824 | 6210 | #: apt_preferences.5.xml:227 | 6250 | #: apt_preferences.5.xml:235 |
4825 | 6211 | msgid "How APT Interprets Priorities" | 6251 | msgid "How APT Interprets Priorities" |
4826 | 6212 | msgstr "" | 6252 | msgstr "" |
4827 | 6213 | 6253 | ||
4828 | 6214 | #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term> | 6254 | #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term> |
4830 | 6215 | #: apt_preferences.5.xml:235 | 6255 | #: apt_preferences.5.xml:243 |
4831 | 6216 | msgid "P > 1000" | 6256 | msgid "P > 1000" |
4832 | 6217 | msgstr "" | 6257 | msgstr "" |
4833 | 6218 | 6258 | ||
4834 | 6219 | #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara> | 6259 | #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara> |
4836 | 6220 | #: apt_preferences.5.xml:236 | 6260 | #: apt_preferences.5.xml:244 |
4837 | 6221 | msgid "" | 6261 | msgid "" |
4838 | 6222 | "causes a version to be installed even if this constitutes a downgrade of the " | 6262 | "causes a version to be installed even if this constitutes a downgrade of the " |
4839 | 6223 | "package" | 6263 | "package" |
4840 | 6224 | msgstr "" | 6264 | msgstr "" |
4841 | 6225 | 6265 | ||
4842 | 6226 | #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term> | 6266 | #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term> |
4844 | 6227 | #: apt_preferences.5.xml:240 | 6267 | #: apt_preferences.5.xml:248 |
4845 | 6228 | msgid "990 < P <=1000" | 6268 | msgid "990 < P <=1000" |
4846 | 6229 | msgstr "" | 6269 | msgstr "" |
4847 | 6230 | 6270 | ||
4848 | 6231 | #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara> | 6271 | #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara> |
4850 | 6232 | #: apt_preferences.5.xml:241 | 6272 | #: apt_preferences.5.xml:249 |
4851 | 6233 | msgid "" | 6273 | msgid "" |
4852 | 6234 | "causes a version to be installed even if it does not come from the target " | 6274 | "causes a version to be installed even if it does not come from the target " |
4853 | 6235 | "release, unless the installed version is more recent" | 6275 | "release, unless the installed version is more recent" |
4854 | 6236 | msgstr "" | 6276 | msgstr "" |
4855 | 6237 | 6277 | ||
4856 | 6238 | #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term> | 6278 | #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term> |
4858 | 6239 | #: apt_preferences.5.xml:246 | 6279 | #: apt_preferences.5.xml:254 |
4859 | 6240 | msgid "500 < P <=990" | 6280 | msgid "500 < P <=990" |
4860 | 6241 | msgstr "" | 6281 | msgstr "" |
4861 | 6242 | 6282 | ||
4862 | 6243 | #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara> | 6283 | #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara> |
4864 | 6244 | #: apt_preferences.5.xml:247 | 6284 | #: apt_preferences.5.xml:255 |
4865 | 6245 | msgid "" | 6285 | msgid "" |
4866 | 6246 | "causes a version to be installed unless there is a version available " | 6286 | "causes a version to be installed unless there is a version available " |
4867 | 6247 | "belonging to the target release or the installed version is more recent" | 6287 | "belonging to the target release or the installed version is more recent" |
4868 | 6248 | msgstr "" | 6288 | msgstr "" |
4869 | 6249 | 6289 | ||
4870 | 6250 | #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term> | 6290 | #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term> |
4872 | 6251 | #: apt_preferences.5.xml:252 | 6291 | #: apt_preferences.5.xml:260 |
4873 | 6252 | msgid "100 < P <=500" | 6292 | msgid "100 < P <=500" |
4874 | 6253 | msgstr "" | 6293 | msgstr "" |
4875 | 6254 | 6294 | ||
4876 | 6255 | #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara> | 6295 | #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara> |
4878 | 6256 | #: apt_preferences.5.xml:253 | 6296 | #: apt_preferences.5.xml:261 |
4879 | 6257 | msgid "" | 6297 | msgid "" |
4880 | 6258 | "causes a version to be installed unless there is a version available " | 6298 | "causes a version to be installed unless there is a version available " |
4881 | 6259 | "belonging to some other distribution or the installed version is more recent" | 6299 | "belonging to some other distribution or the installed version is more recent" |
4882 | 6260 | msgstr "" | 6300 | msgstr "" |
4883 | 6261 | 6301 | ||
4884 | 6262 | #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term> | 6302 | #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term> |
4886 | 6263 | #: apt_preferences.5.xml:258 | 6303 | #: apt_preferences.5.xml:266 |
4887 | 6264 | msgid "0 < P <=100" | 6304 | msgid "0 < P <=100" |
4888 | 6265 | msgstr "" | 6305 | msgstr "" |
4889 | 6266 | 6306 | ||
4890 | 6267 | #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara> | 6307 | #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara> |
4892 | 6268 | #: apt_preferences.5.xml:259 | 6308 | #: apt_preferences.5.xml:267 |
4893 | 6269 | msgid "" | 6309 | msgid "" |
4894 | 6270 | "causes a version to be installed only if there is no installed version of " | 6310 | "causes a version to be installed only if there is no installed version of " |
4895 | 6271 | "the package" | 6311 | "the package" |
4896 | 6272 | msgstr "" | 6312 | msgstr "" |
4897 | 6273 | 6313 | ||
4898 | 6274 | #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term> | 6314 | #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term> |
4900 | 6275 | #: apt_preferences.5.xml:263 | 6315 | #: apt_preferences.5.xml:271 |
4901 | 6276 | msgid "P < 0" | 6316 | msgid "P < 0" |
4902 | 6277 | msgstr "" | 6317 | msgstr "" |
4903 | 6278 | 6318 | ||
4904 | 6279 | #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara> | 6319 | #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara> |
4906 | 6280 | #: apt_preferences.5.xml:264 | 6320 | #: apt_preferences.5.xml:272 |
4907 | 6281 | msgid "prevents the version from being installed" | 6321 | msgid "prevents the version from being installed" |
4908 | 6282 | msgstr "" | 6322 | msgstr "" |
4909 | 6283 | 6323 | ||
4910 | 6284 | #. type: Content of: <refentry><refsect1><refsect2><para> | 6324 | #. type: Content of: <refentry><refsect1><refsect2><para> |
4912 | 6285 | #: apt_preferences.5.xml:230 | 6325 | #: apt_preferences.5.xml:238 |
4913 | 6286 | msgid "" | 6326 | msgid "" |
4914 | 6287 | "Priorities (P) assigned in the APT preferences file must be positive or " | 6327 | "Priorities (P) assigned in the APT preferences file must be positive or " |
4915 | 6288 | "negative integers. They are interpreted as follows (roughly speaking): " | 6328 | "negative integers. They are interpreted as follows (roughly speaking): " |
4916 | @@ -6290,7 +6330,7 @@ | |||
4917 | 6290 | msgstr "" | 6330 | msgstr "" |
4918 | 6291 | 6331 | ||
4919 | 6292 | #. type: Content of: <refentry><refsect1><refsect2><para> | 6332 | #. type: Content of: <refentry><refsect1><refsect2><para> |
4921 | 6293 | #: apt_preferences.5.xml:269 | 6333 | #: apt_preferences.5.xml:277 |
4922 | 6294 | msgid "" | 6334 | msgid "" |
4923 | 6295 | "If any specific-form records match an available package version then the " | 6335 | "If any specific-form records match an available package version then the " |
4924 | 6296 | "first such record determines the priority of the package version. Failing " | 6336 | "first such record determines the priority of the package version. Failing " |
4925 | @@ -6299,14 +6339,14 @@ | |||
4926 | 6299 | msgstr "" | 6339 | msgstr "" |
4927 | 6300 | 6340 | ||
4928 | 6301 | #. type: Content of: <refentry><refsect1><refsect2><para> | 6341 | #. type: Content of: <refentry><refsect1><refsect2><para> |
4930 | 6302 | #: apt_preferences.5.xml:275 | 6342 | #: apt_preferences.5.xml:283 |
4931 | 6303 | msgid "" | 6343 | msgid "" |
4932 | 6304 | "For example, suppose the APT preferences file contains the three records " | 6344 | "For example, suppose the APT preferences file contains the three records " |
4933 | 6305 | "presented earlier:" | 6345 | "presented earlier:" |
4934 | 6306 | msgstr "" | 6346 | msgstr "" |
4935 | 6307 | 6347 | ||
4936 | 6308 | #. type: Content of: <refentry><refsect1><refsect2><programlisting> | 6348 | #. type: Content of: <refentry><refsect1><refsect2><programlisting> |
4938 | 6309 | #: apt_preferences.5.xml:279 | 6349 | #: apt_preferences.5.xml:287 |
4939 | 6310 | #, no-wrap | 6350 | #, no-wrap |
4940 | 6311 | msgid "" | 6351 | msgid "" |
4941 | 6312 | "Package: perl\n" | 6352 | "Package: perl\n" |
4942 | @@ -6323,12 +6363,12 @@ | |||
4943 | 6323 | msgstr "" | 6363 | msgstr "" |
4944 | 6324 | 6364 | ||
4945 | 6325 | #. type: Content of: <refentry><refsect1><refsect2><para> | 6365 | #. type: Content of: <refentry><refsect1><refsect2><para> |
4947 | 6326 | #: apt_preferences.5.xml:292 | 6366 | #: apt_preferences.5.xml:300 |
4948 | 6327 | msgid "Then:" | 6367 | msgid "Then:" |
4949 | 6328 | msgstr "" | 6368 | msgstr "" |
4950 | 6329 | 6369 | ||
4951 | 6330 | #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara> | 6370 | #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara> |
4953 | 6331 | #: apt_preferences.5.xml:294 | 6371 | #: apt_preferences.5.xml:302 |
4954 | 6332 | msgid "" | 6372 | msgid "" |
4955 | 6333 | "The most recent available version of the <literal>perl</literal> package " | 6373 | "The most recent available version of the <literal>perl</literal> package " |
4956 | 6334 | "will be installed, so long as that version's version number begins with " | 6374 | "will be installed, so long as that version's version number begins with " |
4957 | @@ -6338,7 +6378,7 @@ | |||
4958 | 6338 | msgstr "" | 6378 | msgstr "" |
4959 | 6339 | 6379 | ||
4960 | 6340 | #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara> | 6380 | #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara> |
4962 | 6341 | #: apt_preferences.5.xml:299 | 6381 | #: apt_preferences.5.xml:307 |
4963 | 6342 | msgid "" | 6382 | msgid "" |
4964 | 6343 | "A version of any package other than <literal>perl</literal> that is " | 6383 | "A version of any package other than <literal>perl</literal> that is " |
4965 | 6344 | "available from the local system has priority over other versions, even " | 6384 | "available from the local system has priority over other versions, even " |
4966 | @@ -6346,7 +6386,7 @@ | |||
4967 | 6346 | msgstr "" | 6386 | msgstr "" |
4968 | 6347 | 6387 | ||
4969 | 6348 | #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara> | 6388 | #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara> |
4971 | 6349 | #: apt_preferences.5.xml:303 | 6389 | #: apt_preferences.5.xml:311 |
4972 | 6350 | msgid "" | 6390 | msgid "" |
4973 | 6351 | "A version of a package whose origin is not the local system but some other " | 6391 | "A version of a package whose origin is not the local system but some other " |
4974 | 6352 | "site listed in &sources-list; and which belongs to an " | 6392 | "site listed in &sources-list; and which belongs to an " |
4975 | @@ -6355,12 +6395,12 @@ | |||
4976 | 6355 | msgstr "" | 6395 | msgstr "" |
4977 | 6356 | 6396 | ||
4978 | 6357 | #. type: Content of: <refentry><refsect1><refsect2><title> | 6397 | #. type: Content of: <refentry><refsect1><refsect2><title> |
4980 | 6358 | #: apt_preferences.5.xml:313 | 6398 | #: apt_preferences.5.xml:321 |
4981 | 6359 | msgid "Determination of Package Version and Distribution Properties" | 6399 | msgid "Determination of Package Version and Distribution Properties" |
4982 | 6360 | msgstr "" | 6400 | msgstr "" |
4983 | 6361 | 6401 | ||
4984 | 6362 | #. type: Content of: <refentry><refsect1><refsect2><para> | 6402 | #. type: Content of: <refentry><refsect1><refsect2><para> |
4986 | 6363 | #: apt_preferences.5.xml:315 | 6403 | #: apt_preferences.5.xml:323 |
4987 | 6364 | msgid "" | 6404 | msgid "" |
4988 | 6365 | "The locations listed in the &sources-list; file should provide " | 6405 | "The locations listed in the &sources-list; file should provide " |
4989 | 6366 | "<filename>Packages</filename> and <filename>Release</filename> files to " | 6406 | "<filename>Packages</filename> and <filename>Release</filename> files to " |
4990 | @@ -6368,27 +6408,27 @@ | |||
4991 | 6368 | msgstr "" | 6408 | msgstr "" |
4992 | 6369 | 6409 | ||
4993 | 6370 | #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term> | 6410 | #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term> |
4995 | 6371 | #: apt_preferences.5.xml:327 | 6411 | #: apt_preferences.5.xml:335 |
4996 | 6372 | msgid "the <literal>Package:</literal> line" | 6412 | msgid "the <literal>Package:</literal> line" |
4997 | 6373 | msgstr "" | 6413 | msgstr "" |
4998 | 6374 | 6414 | ||
4999 | 6375 | #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara> | 6415 | #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara> |
5000 | 6376 | #: apt_preferences.5.xml:328 |
Oh, forgot: I based this branch off http:// bzr.debian. org/apt/ debian- sid/, so lp:apt might not actually be the correct target here. My intention for this is to land in the upstream (Debian) trunk.
FYI, I backported the changes to lucid, and are now running with this version on my desktop (with compressed indexes).