apt-doc.pot 307 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850
  1. # Translation of apt manpages and documentation to LANGUAGE
  2. # This file is distributed under the same license as the apt-doc package.
  3. # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
  4. #
  5. #, fuzzy
  6. msgid ""
  7. msgstr ""
  8. "Project-Id-Version: apt-doc 1.2~exp1\n"
  9. "Report-Msgid-Bugs-To: APT Development Team <deity@lists.debian.org>\n"
  10. "POT-Creation-Date: 2016-01-08 21:45+0100\n"
  11. "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
  12. "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  13. "Language-Team: LANGUAGE <LL@li.org>\n"
  14. "Language: \n"
  15. "MIME-Version: 1.0\n"
  16. "Content-Type: text/plain; charset=UTF-8\n"
  17. "Content-Transfer-Encoding: 8bit\n"
  18. #. type: Plain text
  19. #: apt.ent:1
  20. #, no-wrap
  21. msgid ""
  22. "<!ENTITY apt-author.team \"\n"
  23. " <author>\n"
  24. " <othername>APT team</othername>\n"
  25. " <contrib></contrib>\n"
  26. " </author>\n"
  27. "\">\n"
  28. msgstr ""
  29. #. type: Plain text
  30. #: apt.ent:1
  31. #, no-wrap
  32. msgid ""
  33. "<!ENTITY apt-qapage \"\n"
  34. "\t<para>\n"
  35. "\t\t<ulink url='http://packages.qa.debian.org/a/apt.html'>QA Page</ulink>\n"
  36. "\t</para>\n"
  37. "\">\n"
  38. msgstr ""
  39. #. type: Plain text
  40. #: apt.ent:1
  41. #, no-wrap
  42. msgid ""
  43. "<!-- Boiler plate Bug reporting section -->\n"
  44. "<!ENTITY manbugs \"\n"
  45. " <refsect1><title>Bugs</title>\n"
  46. " <para><ulink url='http://bugs.debian.org/src:apt'>APT bug page</ulink>.\n"
  47. " If you wish to report a bug in APT, please see\n"
  48. " <filename>/usr/share/doc/debian/bug-reporting.txt</filename> or the\n"
  49. " &reportbug; command.\n"
  50. " </para>\n"
  51. " </refsect1>\n"
  52. "\">\n"
  53. msgstr ""
  54. #. type: Plain text
  55. #: apt.ent:1
  56. #, no-wrap
  57. msgid ""
  58. "<!-- Boiler plate Author section -->\n"
  59. "<!ENTITY manauthor \"\n"
  60. " <refsect1><title>Author</title>\n"
  61. " <para>APT was written by the APT team "
  62. "<email>apt@packages.debian.org</email>.\n"
  63. " </para>\n"
  64. " </refsect1>\n"
  65. "\">\n"
  66. msgstr ""
  67. #. type: Plain text
  68. #: apt.ent:1
  69. #, no-wrap
  70. msgid ""
  71. "<!-- Should be used within the option section of the text to\n"
  72. " put in the blurb about -h, -v, -c and -o -->\n"
  73. "<!ENTITY apt-commonoptions \"\n"
  74. " <varlistentry><term><option>-h</option></term>\n"
  75. " <term><option>--help</option></term>\n"
  76. " <listitem><para>Show a short usage summary.\n"
  77. " </para>\n"
  78. " </listitem>\n"
  79. " </varlistentry>\n"
  80. msgstr ""
  81. #. type: Plain text
  82. #: apt.ent:1
  83. #, no-wrap
  84. msgid ""
  85. " <varlistentry>\n"
  86. " <term><option>-v</option></term>\n"
  87. " <term><option>--version</option></term>\n"
  88. " <listitem><para>Show the program version.\n"
  89. " </para>\n"
  90. " </listitem>\n"
  91. " </varlistentry>\n"
  92. msgstr ""
  93. #. type: Plain text
  94. #: apt.ent:1
  95. #, no-wrap
  96. msgid ""
  97. " <varlistentry>\n"
  98. " <term><option>-c</option></term>\n"
  99. " <term><option>--config-file</option></term>\n"
  100. " <listitem><para>Configuration File; Specify a configuration file to "
  101. "use. \n"
  102. " The program will read the default configuration file and then this \n"
  103. " configuration file. If configuration settings need to be set before "
  104. "the\n"
  105. " default configuration files are parsed specify a file with the "
  106. "<envar>APT_CONFIG</envar>\n"
  107. " environment variable. See &apt-conf; for syntax information.\n"
  108. " </para>\n"
  109. " </listitem>\n"
  110. " </varlistentry>\n"
  111. msgstr ""
  112. #. type: Plain text
  113. #: apt.ent:1
  114. #, no-wrap
  115. msgid ""
  116. " <varlistentry>\n"
  117. " <term><option>-o</option></term>\n"
  118. " <term><option>--option</option></term>\n"
  119. " <listitem><para>Set a Configuration Option; This will set an "
  120. "arbitrary\n"
  121. " configuration option. The syntax is <option>-o "
  122. "Foo::Bar=bar</option>.\n"
  123. " <option>-o</option> and <option>--option</option> can be used "
  124. "multiple\n"
  125. " times to set different options.\n"
  126. " </para>\n"
  127. " </listitem>\n"
  128. " </varlistentry>\n"
  129. "\">\n"
  130. msgstr ""
  131. #. type: Plain text
  132. #: apt.ent:1
  133. #, no-wrap
  134. msgid ""
  135. "<!-- Should be used within the option section of the text to\n"
  136. " put in the blurb about -h, -v, -c and -o -->\n"
  137. "<!ENTITY apt-cmdblurb \"\n"
  138. " <para>All command line options may be set using the configuration file, "
  139. "the\n"
  140. " descriptions indicate the configuration option to set. For boolean\n"
  141. " options you can override the config file by using something like \n"
  142. " <option>-f-</option>,<option>--no-f</option>, <option>-f=no</option>\n"
  143. " or several other variations.\n"
  144. " </para>\n"
  145. "\">\n"
  146. msgstr ""
  147. #. type: Plain text
  148. #: apt.ent:1
  149. #, no-wrap
  150. msgid ""
  151. "<!ENTITY file-aptconf \"\n"
  152. " <varlistentry><term><filename>/etc/apt/apt.conf</filename></term>\n"
  153. " <listitem><para>APT configuration file.\n"
  154. " Configuration Item: "
  155. "<literal>Dir::Etc::Main</literal>.</para></listitem>\n"
  156. " </varlistentry>\n"
  157. msgstr ""
  158. #. type: Plain text
  159. #: apt.ent:1
  160. #, no-wrap
  161. msgid ""
  162. " <varlistentry><term><filename>/etc/apt/apt.conf.d/</filename></term>\n"
  163. " <listitem><para>APT configuration file fragments.\n"
  164. " Configuration Item: "
  165. "<literal>Dir::Etc::Parts</literal>.</para></listitem>\n"
  166. " </varlistentry>\n"
  167. "\">\n"
  168. msgstr ""
  169. #. type: Plain text
  170. #: apt.ent:1
  171. #, no-wrap
  172. msgid ""
  173. "<!ENTITY file-cachearchives \"\n"
  174. " <varlistentry><term><filename>&cachedir;/archives/</filename></term>\n"
  175. " <listitem><para>Storage area for retrieved package files.\n"
  176. " Configuration Item: "
  177. "<literal>Dir::Cache::Archives</literal>.</para></listitem>\n"
  178. " </varlistentry>\n"
  179. msgstr ""
  180. #. type: Plain text
  181. #: apt.ent:1
  182. #, no-wrap
  183. msgid ""
  184. " "
  185. "<varlistentry><term><filename>&cachedir;/archives/partial/</filename></term>\n"
  186. " <listitem><para>Storage area for package files in transit.\n"
  187. " Configuration Item: <literal>Dir::Cache::Archives</literal> "
  188. "(<filename>partial</filename> will be implicitly "
  189. "appended)</para></listitem>\n"
  190. " </varlistentry>\n"
  191. "\">\n"
  192. msgstr ""
  193. #. type: Plain text
  194. #: apt.ent:1
  195. #, no-wrap
  196. msgid ""
  197. "<!ENTITY file-preferences \"\n"
  198. " <varlistentry><term><filename>/etc/apt/preferences</filename></term>\n"
  199. " <listitem><para>Version preferences file.\n"
  200. " This is where you would specify &quot;pinning&quot;,\n"
  201. " i.e. a preference to get certain packages\n"
  202. " from a separate source\n"
  203. " or from a different version of a distribution.\n"
  204. " Configuration Item: "
  205. "<literal>Dir::Etc::Preferences</literal>.</para></listitem>\n"
  206. " </varlistentry>\n"
  207. msgstr ""
  208. #. type: Plain text
  209. #: apt.ent:1
  210. #, no-wrap
  211. msgid ""
  212. " "
  213. "<varlistentry><term><filename>/etc/apt/preferences.d/</filename></term>\n"
  214. " <listitem><para>File fragments for the version preferences.\n"
  215. " Configuration Item: "
  216. "<literal>Dir::Etc::PreferencesParts</literal>.</para></listitem>\n"
  217. " </varlistentry>\n"
  218. "\">\n"
  219. msgstr ""
  220. #. type: Plain text
  221. #: apt.ent:1
  222. #, no-wrap
  223. msgid ""
  224. "<!ENTITY file-sourceslist \"\n"
  225. " <varlistentry><term><filename>/etc/apt/sources.list</filename></term>\n"
  226. " <listitem><para>Locations to fetch packages from.\n"
  227. " Configuration Item: "
  228. "<literal>Dir::Etc::SourceList</literal>.</para></listitem>\n"
  229. " </varlistentry>\n"
  230. msgstr ""
  231. #. type: Plain text
  232. #: apt.ent:1
  233. #, no-wrap
  234. msgid ""
  235. " "
  236. "<varlistentry><term><filename>/etc/apt/sources.list.d/</filename></term>\n"
  237. " <listitem><para>File fragments for locations to fetch packages from.\n"
  238. " Configuration Item: "
  239. "<literal>Dir::Etc::SourceParts</literal>.</para></listitem>\n"
  240. " </varlistentry>\n"
  241. "\">\n"
  242. msgstr ""
  243. #. type: Plain text
  244. #: apt.ent:1
  245. #, no-wrap
  246. msgid ""
  247. "<!ENTITY file-statelists \"\n"
  248. " <varlistentry><term><filename>&statedir;/lists/</filename></term>\n"
  249. " <listitem><para>Storage area for state information for each package "
  250. "resource specified in\n"
  251. " &sources-list;\n"
  252. " Configuration Item: "
  253. "<literal>Dir::State::Lists</literal>.</para></listitem>\n"
  254. " </varlistentry>\n"
  255. msgstr ""
  256. #. type: Plain text
  257. #: apt.ent:1
  258. #, no-wrap
  259. msgid ""
  260. " "
  261. "<varlistentry><term><filename>&statedir;/lists/partial/</filename></term>\n"
  262. " <listitem><para>Storage area for state information in transit.\n"
  263. " Configuration Item: <literal>Dir::State::Lists</literal> "
  264. "(<filename>partial</filename> will be implicitly "
  265. "appended)</para></listitem>\n"
  266. " </varlistentry>\n"
  267. "\">\n"
  268. msgstr ""
  269. #. type: Plain text
  270. #: apt.ent:1
  271. #, no-wrap
  272. msgid ""
  273. "<!ENTITY file-trustedgpg \"\n"
  274. " <varlistentry><term><filename>/etc/apt/trusted.gpg</filename></term>\n"
  275. " <listitem><para>Keyring of local trusted keys, new keys will be added "
  276. "here.\n"
  277. " Configuration Item: "
  278. "<literal>Dir::Etc::Trusted</literal>.</para></listitem>\n"
  279. " </varlistentry>\n"
  280. msgstr ""
  281. #. type: Plain text
  282. #: apt.ent:1
  283. #, no-wrap
  284. msgid ""
  285. " "
  286. "<varlistentry><term><filename>/etc/apt/trusted.gpg.d/</filename></term>\n"
  287. " <listitem><para>File fragments for the trusted keys, additional "
  288. "keyrings can\n"
  289. " be stored here (by other packages or the administrator).\n"
  290. " Configuration Item "
  291. "<literal>Dir::Etc::TrustedParts</literal>.</para></listitem>\n"
  292. " </varlistentry>\n"
  293. "\">\n"
  294. msgstr ""
  295. #. type: Plain text
  296. #: apt.ent:1
  297. #, no-wrap
  298. msgid ""
  299. "<!ENTITY file-extended_states \"\n"
  300. " "
  301. "<varlistentry><term><filename>/var/lib/apt/extended_states</filename></term>\n"
  302. " <listitem><para>Status list of auto-installed packages.\n"
  303. " Configuration Item: <literal>Dir::State::extended_states</literal>.\n"
  304. " </para></listitem>\n"
  305. " </varlistentry>\n"
  306. "\">\n"
  307. msgstr ""
  308. #. type: Plain text
  309. #: apt.ent:1
  310. #, no-wrap
  311. msgid ""
  312. "<!-- TRANSLATOR: This is the section header for the following paragraphs - "
  313. "comparable\n"
  314. " to the other headers like NAME and DESCRIPTION and should therefore be "
  315. "uppercase. -->\n"
  316. "<!ENTITY translation-title \"TRANSLATION\">\n"
  317. msgstr ""
  318. #. type: Plain text
  319. #: apt.ent:1
  320. #, no-wrap
  321. msgid ""
  322. "<!-- TRANSLATOR: This is a placeholder. You should write here who has "
  323. "contributed\n"
  324. " to the translation in the past, who is responsible now and maybe "
  325. "further information\n"
  326. " specially related to your translation. -->\n"
  327. "<!ENTITY translation-holder \"\n"
  328. " The english translation was done by John Doe "
  329. "<email>john@doe.org</email> in 2009,\n"
  330. " 2010 and Daniela Acme <email>daniela@acme.us</email> in 2010 together "
  331. "with the\n"
  332. " Debian Dummy l10n Team "
  333. "<email>debian-l10n-dummy@lists.debian.org</email>.\n"
  334. "\">\n"
  335. msgstr ""
  336. #. type: Plain text
  337. #: apt.ent:1
  338. #, no-wrap
  339. msgid ""
  340. "<!-- TRANSLATOR: As a translation is allowed to have 20% of "
  341. "untranslated/fuzzy strings\n"
  342. " in a shipped manpage newer/modified paragraphs will maybe appear in "
  343. "english in\n"
  344. " the generated manpage. This sentence is therefore here to tell the "
  345. "reader that this\n"
  346. " is not a mistake by the translator - obviously the target is that at "
  347. "least for stable\n"
  348. " releases this sentence is not needed. :) -->\n"
  349. "<!ENTITY translation-english \"\n"
  350. " Note that this translated document may contain untranslated parts.\n"
  351. " This is done on purpose, to avoid losing content when the\n"
  352. " translation is lagging behind the original content.\n"
  353. "\">\n"
  354. msgstr ""
  355. #. type: Plain text
  356. #: apt.ent:1
  357. msgid ""
  358. "<!-- TRANSLATOR: used as in -o=config_string "
  359. "e.g. -o=Debug::pkgProblemResolver=1 --> <!ENTITY synopsis-config-string "
  360. "\"config_string\">"
  361. msgstr ""
  362. #. type: Plain text
  363. #: apt.ent:1
  364. msgid ""
  365. "<!-- TRANSLATOR: used as in -c=config_file e.g. -c=./apt.conf --> <!ENTITY "
  366. "synopsis-config-file \"config_file\">"
  367. msgstr ""
  368. #. type: Plain text
  369. #: apt.ent:1
  370. msgid ""
  371. "<!-- TRANSLATOR: used as in -t=target_release or pkg/target_release "
  372. "e.g. -t=squeeze apt/experimental --> <!ENTITY synopsis-target-release "
  373. "\"target_release\">"
  374. msgstr ""
  375. #. type: Plain text
  376. #: apt.ent:1
  377. msgid ""
  378. "<!-- TRANSLATOR: used as in -a=architecture e.g. -a=armel --> <!ENTITY "
  379. "synopsis-architecture \"architecture\">"
  380. msgstr ""
  381. #. type: Plain text
  382. #: apt.ent:1
  383. msgid ""
  384. "<!-- TRANSLATOR: used as in apt-get install pkg e.g. apt-get install awesome "
  385. "--> <!ENTITY synopsis-pkg \"pkg\">"
  386. msgstr ""
  387. #. type: Plain text
  388. #: apt.ent:1
  389. msgid ""
  390. "<!-- TRANSLATOR: used as in pkg=pkg_version_number e.g. apt=0.8.15 --> "
  391. "<!ENTITY synopsis-pkg-ver-number \"pkg_version_number\">"
  392. msgstr ""
  393. #. type: Plain text
  394. #: apt.ent:1
  395. msgid ""
  396. "<!-- TRANSLATOR: used as in apt-cache pkgnames prefix e.g. apt-cache "
  397. "pkgnames apt --> <!ENTITY synopsis-prefix \"prefix\">"
  398. msgstr ""
  399. #. type: Plain text
  400. #: apt.ent:1
  401. msgid ""
  402. "<!-- TRANSLATOR: used as in apt-cache search regex e.g. apt-cache search "
  403. "awesome --> <!ENTITY synopsis-regex \"regex\">"
  404. msgstr ""
  405. #. type: Plain text
  406. #: apt.ent:1
  407. msgid ""
  408. "<!-- TRANSLATOR: used as in apt-cdrom -d=cdrom_mount_point e.g. apt-cdrom "
  409. "-d=/media/cdrom --> <!ENTITY synopsis-cdrom-mount \"cdrom_mount_point\">"
  410. msgstr ""
  411. #. type: Plain text
  412. #: apt.ent:1
  413. msgid ""
  414. "<!-- TRANSLATOR: used as in apt-extracttemplates -t=temporary_directory "
  415. "e.g. apt-extracttemplates -t=/tmp --> <!ENTITY synopsis-tmp-directory "
  416. "\"temporary_directory\">"
  417. msgstr ""
  418. #. type: Plain text
  419. #: apt.ent:1
  420. msgid ""
  421. "<!-- TRANSLATOR: used as in apt-extracttemplates filename --> <!ENTITY "
  422. "synopsis-filename \"filename\">"
  423. msgstr ""
  424. #. type: Plain text
  425. #: apt.ent:1
  426. msgid ""
  427. "<!-- TRANSLATOR: used as parameter for apt-ftparchive e.g. apt-ftparchive "
  428. "packages path override-file pathprefix --> <!ENTITY synopsis-path \"path\">"
  429. msgstr ""
  430. #. type: Plain text
  431. #: apt.ent:1
  432. msgid ""
  433. "<!-- TRANSLATOR: used as parameter for apt-ftparchive e.g. apt-ftparchive "
  434. "packages path override-file pathprefix --> <!ENTITY synopsis-override "
  435. "\"override-file\">"
  436. msgstr ""
  437. #. type: Plain text
  438. #: apt.ent:1
  439. msgid ""
  440. "<!-- TRANSLATOR: used as parameter for apt-ftparchive e.g. apt-ftparchive "
  441. "packages path override-file pathprefix --> <!ENTITY synopsis-pathprefix "
  442. "\"pathprefix\">"
  443. msgstr ""
  444. #. type: Plain text
  445. #: apt.ent:1
  446. msgid ""
  447. "<!-- TRANSLATOR: used as parameter for apt-ftparchive e.g. apt-ftparchive "
  448. "generate section --> <!ENTITY synopsis-section \"section\">"
  449. msgstr ""
  450. #. type: Plain text
  451. #: apt.ent:1
  452. msgid ""
  453. "<!-- TRANSLATOR: used as in apt-key export keyid e.g. apt-key export "
  454. "473041FA --> <!ENTITY synopsis-keyid \"keyid\">"
  455. msgstr ""
  456. #. type: Content of: <refentry><refmeta><manvolnum>
  457. #: apt.8.xml:1 apt-get.8.xml:1 apt-cache.8.xml:1 apt-key.8.xml:1
  458. #: apt-mark.8.xml:1 apt-secure.8.xml:1 apt-cdrom.8.xml:1 apt-config.8.xml:1
  459. msgid "8"
  460. msgstr ""
  461. #. type: Content of: <refentry><refmeta><refmiscinfo>
  462. #: apt.8.xml:1 apt-get.8.xml:1 apt-cache.8.xml:1 apt-key.8.xml:1
  463. #: apt-mark.8.xml:1 apt-secure.8.xml:1 apt-cdrom.8.xml:1 apt-config.8.xml:1
  464. #: apt.conf.5.xml:1 apt_preferences.5.xml:1 sources.list.5.xml:1
  465. #: apt-extracttemplates.1.xml:1 apt-sortpkgs.1.xml:1 apt-ftparchive.1.xml:1
  466. msgid "APT"
  467. msgstr ""
  468. #. type: Content of: <refentry><refnamediv><refpurpose>
  469. #: apt.8.xml:1
  470. msgid "command-line interface"
  471. msgstr ""
  472. #. type: Content of: <refentry><refsect1><title>
  473. #: apt.8.xml:1 apt-get.8.xml:1 apt-cache.8.xml:1 apt-key.8.xml:1
  474. #: apt-mark.8.xml:1 apt-secure.8.xml:1 apt-cdrom.8.xml:1 apt-config.8.xml:1
  475. #: apt.conf.5.xml:1 apt_preferences.5.xml:1 sources.list.5.xml:1
  476. #: apt-extracttemplates.1.xml:1 apt-sortpkgs.1.xml:1 apt-ftparchive.1.xml:1
  477. msgid "Description"
  478. msgstr ""
  479. #. type: Content of: <refentry><refsect1><para>
  480. #: apt.8.xml:1
  481. msgid ""
  482. "<command>apt</command> provides a high-level commandline interface for the "
  483. "package management system. It is intended as an end user interface and "
  484. "enables some options better suited for interactive usage by default compared "
  485. "to more specialized APT tools like &apt-get; and &apt-cache;."
  486. msgstr ""
  487. #. type: Content of: <refentry><refsect1><para>
  488. #: apt.8.xml:1
  489. msgid ""
  490. "Much like <command>apt</command> itself, its manpage is intended as an end "
  491. "user interface and as such only mentions the most used commands and options "
  492. "partly to not duplicate information in multiple places and partly to avoid "
  493. "overwhelming readers with a cornucopia of options and details."
  494. msgstr ""
  495. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
  496. #: apt.8.xml:1 apt.8.xml:1 apt.8.xml:1 apt.8.xml:1 apt.8.xml:1
  497. msgid "(&apt-get;)"
  498. msgstr ""
  499. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  500. #: apt.8.xml:1
  501. msgid ""
  502. "<option>update</option> is used to download package information from all "
  503. "configured sources. Other commands operate on this data to e.g. perform "
  504. "package upgrades or search in and display details about all packages "
  505. "available for installation."
  506. msgstr ""
  507. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  508. #: apt.8.xml:1
  509. msgid ""
  510. "<option>upgrade</option> is used to install available upgrades of all "
  511. "packages currently installed on the system from the sources configured via "
  512. "&sources-list;. New packages will be installed if required to statisfy "
  513. "dependencies, but existing packages will never be removed. If an upgrade for "
  514. "a package requires the remove of an installed package the upgrade for this "
  515. "package isn't performed."
  516. msgstr ""
  517. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  518. #: apt.8.xml:1
  519. msgid ""
  520. "<literal>full-upgrade</literal> performs the function of upgrade but will "
  521. "remove currently installed packages if this is needed to upgrade the system "
  522. "as a whole."
  523. msgstr ""
  524. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
  525. #: apt.8.xml:1 apt.8.xml:1
  526. msgid ","
  527. msgstr ""
  528. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  529. #: apt.8.xml:1
  530. msgid ""
  531. "Performs the requested action on one or more packages specified via &regex;, "
  532. "&glob; or exact match. The requested action can be overridden for specific "
  533. "packages by append a plus (+) to the package name to install this package or "
  534. "a minus (-) to remove it."
  535. msgstr ""
  536. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  537. #: apt.8.xml:1
  538. msgid ""
  539. "A specific version of a package can be selected for installation by "
  540. "following the package name with an equals (=) and the version of the package "
  541. "to select. Alternatively the version from a specific release can be selected "
  542. "by following the package name with a forward slash (/) and codename "
  543. "(&stable-codename;, &testing-codename;, sid …) or suite name (stable, "
  544. "testing, unstable). This will also select versions from this release for "
  545. "dependencies of this package if needed to satisfy the request."
  546. msgstr ""
  547. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  548. #: apt.8.xml:1
  549. msgid ""
  550. "Removing a package removes all packaged data, but leaves usually small "
  551. "(modified) user configuration files behind, in case the remove was an "
  552. "accident. Just issuing an installation request for the accidentally removed "
  553. "package will restore its function as before in that case. On the other hand "
  554. "you can get rid of these leftovers by calling <command>purge</command> even "
  555. "on already removed packages. Note that this does not affect any data or "
  556. "configuration stored in your home directory."
  557. msgstr ""
  558. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  559. #: apt.8.xml:1
  560. msgid ""
  561. "<literal>autoremove</literal> is used to remove packages that were "
  562. "automatically installed to satisfy dependencies for other packages and are "
  563. "now no longer needed as dependencies changed or the package(s) needing them "
  564. "were removed in the meantime."
  565. msgstr ""
  566. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  567. #: apt.8.xml:1
  568. msgid ""
  569. "You should check that the list does not include applications you have grown "
  570. "to like even though they were once installed just as a dependency of another "
  571. "package. You can mark such a package as manually installed by using "
  572. "&apt-mark;. Packages which you have installed explicitly via "
  573. "<command>install</command> are also never proposed for automatic removal."
  574. msgstr ""
  575. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
  576. #: apt.8.xml:1 apt.8.xml:1
  577. msgid "(&apt-cache;)"
  578. msgstr ""
  579. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  580. #: apt.8.xml:1
  581. msgid ""
  582. "<option>search</option> can be used to search for the given &regex; term(s) "
  583. "in the list of available packages and display matches. This can e.g. be "
  584. "useful if you are looking for packages having a specific feature. If you "
  585. "are looking for a package including a specific file try &apt-file;."
  586. msgstr ""
  587. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  588. #: apt.8.xml:1
  589. msgid ""
  590. "Show information about the given package(s) including its dependencies, "
  591. "installation and download size, sources the package is available from, the "
  592. "description of the packages content and much more. It can e.g. be helpful to "
  593. "look at this information before allowing &apt; to remove a package or while "
  594. "searching for new packages to install."
  595. msgstr ""
  596. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
  597. #: apt.8.xml:1 apt.8.xml:1
  598. msgid "(work-in-progress)"
  599. msgstr ""
  600. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  601. #: apt.8.xml:1
  602. msgid ""
  603. "<option>list</option> is somewhat similar to <command>dpkg-query "
  604. "--list</command> in that it can display a list of packages satisfying "
  605. "certain criteria. It supports &glob; patterns for matching package names as "
  606. "well as options to list installed (<option>--installed</option>), "
  607. "upgradeable (<option>--upgradeable</option>) or all available "
  608. "(<option>--all-versions</option>) versions."
  609. msgstr ""
  610. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  611. #: apt.8.xml:1
  612. msgid ""
  613. "<literal>edit-sources</literal> lets you edit your &sources-list; files in "
  614. "your preferred texteditor while also providing basic sanity checks."
  615. msgstr ""
  616. #. type: Content of: <refentry><refsect1><title>
  617. #: apt.8.xml:1
  618. msgid "Script Usage and Differences from Other APT Tools"
  619. msgstr ""
  620. #. type: Content of: <refentry><refsect1><para>
  621. #: apt.8.xml:1
  622. msgid ""
  623. "The &apt; commandline is designed as an end-user tool and it may change "
  624. "behavior between versions. While it tries not to break backward "
  625. "compatibility this is not guaranteed either if a change seems beneficial for "
  626. "interactive use."
  627. msgstr ""
  628. #. type: Content of: <refentry><refsect1><para>
  629. #: apt.8.xml:1
  630. msgid ""
  631. "All features of &apt; are available in dedicated APT tools like &apt-get; "
  632. "and &apt-cache; as well. &apt; just changes the default value of some "
  633. "options (see &apt-conf; and specifically the Binary scope). So you should "
  634. "prefer using these commands (potentially with some additional options "
  635. "enabled) in your scripts as they keep backward compatibility as much as "
  636. "possible."
  637. msgstr ""
  638. #. type: Content of: <refentry><refsect1><title>
  639. #: apt.8.xml:1 apt-get.8.xml:1 apt-cache.8.xml:1 apt-key.8.xml:1
  640. #: apt-mark.8.xml:1 apt-secure.8.xml:1 apt-cdrom.8.xml:1 apt-config.8.xml:1
  641. #: apt.conf.5.xml:1 apt_preferences.5.xml:1 sources.list.5.xml:1
  642. #: apt-extracttemplates.1.xml:1 apt-sortpkgs.1.xml:1 apt-ftparchive.1.xml:1
  643. msgid "See Also"
  644. msgstr ""
  645. #. type: Content of: <refentry><refsect1><para>
  646. #: apt.8.xml:1
  647. msgid ""
  648. "&apt-get;, &apt-cache;, &sources-list;, &apt-conf;, &apt-config;, The APT "
  649. "User's guide in &guidesdir;, &apt-preferences;, the APT Howto."
  650. msgstr ""
  651. #. type: Content of: <refentry><refsect1><title>
  652. #: apt.8.xml:1 apt-get.8.xml:1 apt-cache.8.xml:1 apt-mark.8.xml:1
  653. #: apt-cdrom.8.xml:1 apt-config.8.xml:1 apt-extracttemplates.1.xml:1
  654. #: apt-sortpkgs.1.xml:1 apt-ftparchive.1.xml:1
  655. msgid "Diagnostics"
  656. msgstr ""
  657. #. type: Content of: <refentry><refsect1><para>
  658. #: apt.8.xml:1
  659. msgid ""
  660. "<command>apt</command> returns zero on normal operation, decimal 100 on "
  661. "error."
  662. msgstr ""
  663. #. type: Content of: <refentry><refnamediv><refpurpose>
  664. #: apt-get.8.xml:1
  665. msgid "APT package handling utility -- command-line interface"
  666. msgstr ""
  667. #. type: Content of: <refentry><refsect1><para>
  668. #: apt-get.8.xml:1
  669. msgid ""
  670. "<command>apt-get</command> is the command-line tool for handling packages, "
  671. "and may be considered the user's \"back-end\" to other tools using the APT "
  672. "library. Several \"front-end\" interfaces exist, such as &aptitude;, "
  673. "&synaptic; and &wajig;."
  674. msgstr ""
  675. #. type: Content of: <refentry><refsect1><para>
  676. #: apt-get.8.xml:1 apt-cache.8.xml:1 apt-cdrom.8.xml:1 apt-config.8.xml:1
  677. #: apt-ftparchive.1.xml:1
  678. msgid ""
  679. "Unless the <option>-h</option>, or <option>--help</option> option is given, "
  680. "one of the commands below must be present."
  681. msgstr ""
  682. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  683. #: apt-get.8.xml:1
  684. msgid ""
  685. "<literal>update</literal> is used to resynchronize the package index files "
  686. "from their sources. The indexes of available packages are fetched from the "
  687. "location(s) specified in <filename>/etc/apt/sources.list</filename>. For "
  688. "example, when using a Debian archive, this command retrieves and scans the "
  689. "<filename>Packages.gz</filename> files, so that information about new and "
  690. "updated packages is available. An <literal>update</literal> should always be "
  691. "performed before an <literal>upgrade</literal> or "
  692. "<literal>dist-upgrade</literal>. Please be aware that the overall progress "
  693. "meter will be incorrect as the size of the package files cannot be known in "
  694. "advance."
  695. msgstr ""
  696. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  697. #: apt-get.8.xml:1
  698. msgid ""
  699. "<literal>upgrade</literal> is used to install the newest versions of all "
  700. "packages currently installed on the system from the sources enumerated in "
  701. "<filename>/etc/apt/sources.list</filename>. Packages currently installed "
  702. "with new versions available are retrieved and upgraded; under no "
  703. "circumstances are currently installed packages removed, or packages not "
  704. "already installed retrieved and installed. New versions of currently "
  705. "installed packages that cannot be upgraded without changing the install "
  706. "status of another package will be left at their current version. An "
  707. "<literal>update</literal> must be performed first so that "
  708. "<command>apt-get</command> knows that new versions of packages are "
  709. "available."
  710. msgstr ""
  711. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  712. #: apt-get.8.xml:1
  713. msgid ""
  714. "<literal>dist-upgrade</literal> in addition to performing the function of "
  715. "<literal>upgrade</literal>, also intelligently handles changing dependencies "
  716. "with new versions of packages; <command>apt-get</command> has a \"smart\" "
  717. "conflict resolution system, and it will attempt to upgrade the most "
  718. "important packages at the expense of less important ones if necessary. The "
  719. "<literal>dist-upgrade</literal> command may therefore remove some packages. "
  720. "The <filename>/etc/apt/sources.list</filename> file contains a list of "
  721. "locations from which to retrieve desired package files. See also "
  722. "&apt-preferences; for a mechanism for overriding the general settings for "
  723. "individual packages."
  724. msgstr ""
  725. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  726. #: apt-get.8.xml:1
  727. msgid ""
  728. "<literal>dselect-upgrade</literal> is used in conjunction with the "
  729. "traditional Debian packaging front-end, "
  730. "&dselect;. <literal>dselect-upgrade</literal> follows the changes made by "
  731. "&dselect; to the <literal>Status</literal> field of available packages, and "
  732. "performs the actions necessary to realize that state (for instance, the "
  733. "removal of old and the installation of new packages)."
  734. msgstr ""
  735. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  736. #: apt-get.8.xml:1
  737. msgid ""
  738. "<literal>install</literal> is followed by one or more packages desired for "
  739. "installation or upgrading. Each package is a package name, not a fully "
  740. "qualified filename (for instance, in a Debian system, "
  741. "<package>apt-utils</package> would be the argument provided, not "
  742. "<filename>apt-utils_&apt-product-version;_amd64.deb</filename>). All "
  743. "packages required by the package(s) specified for installation will also be "
  744. "retrieved and installed. The <filename>/etc/apt/sources.list</filename> "
  745. "file is used to locate the desired packages. If a hyphen is appended to the "
  746. "package name (with no intervening space), the identified package will be "
  747. "removed if it is installed. Similarly a plus sign can be used to designate "
  748. "a package to install. These latter features may be used to override "
  749. "decisions made by apt-get's conflict resolution system."
  750. msgstr ""
  751. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  752. #: apt-get.8.xml:1
  753. msgid ""
  754. "A specific version of a package can be selected for installation by "
  755. "following the package name with an equals and the version of the package to "
  756. "select. This will cause that version to be located and selected for "
  757. "install. Alternatively a specific distribution can be selected by following "
  758. "the package name with a slash and the version of the distribution or the "
  759. "Archive name (stable, testing, unstable)."
  760. msgstr ""
  761. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  762. #: apt-get.8.xml:1
  763. msgid ""
  764. "Both of the version selection mechanisms can downgrade packages and must be "
  765. "used with care."
  766. msgstr ""
  767. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  768. #: apt-get.8.xml:1
  769. msgid ""
  770. "This is also the target to use if you want to upgrade one or more "
  771. "already-installed packages without upgrading every package you have on your "
  772. "system. Unlike the \"upgrade\" target, which installs the newest version of "
  773. "all currently installed packages, \"install\" will install the newest "
  774. "version of only the package(s) specified. Simply provide the name of the "
  775. "package(s) you wish to upgrade, and if a newer version is available, it (and "
  776. "its dependencies, as described above) will be downloaded and installed."
  777. msgstr ""
  778. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  779. #: apt-get.8.xml:1
  780. msgid ""
  781. "Finally, the &apt-preferences; mechanism allows you to create an alternative "
  782. "installation policy for individual packages."
  783. msgstr ""
  784. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  785. #: apt-get.8.xml:1
  786. msgid ""
  787. "If no package matches the given expression and the expression contains one "
  788. "of '.', '?' or '*' then it is assumed to be a POSIX regular expression, and "
  789. "it is applied to all package names in the database. Any matches are then "
  790. "installed (or removed). Note that matching is done by substring so 'lo.*' "
  791. "matches 'how-lo' and 'lowest'. If this is undesired, anchor the regular "
  792. "expression with a '^' or '$' character, or create a more specific regular "
  793. "expression."
  794. msgstr ""
  795. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  796. #: apt-get.8.xml:1
  797. msgid ""
  798. "<literal>remove</literal> is identical to <literal>install</literal> except "
  799. "that packages are removed instead of installed. Note that removing a package "
  800. "leaves its configuration files on the system. If a plus sign is appended to "
  801. "the package name (with no intervening space), the identified package will be "
  802. "installed instead of removed."
  803. msgstr ""
  804. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  805. #: apt-get.8.xml:1
  806. msgid ""
  807. "<literal>purge</literal> is identical to <literal>remove</literal> except "
  808. "that packages are removed and purged (any configuration files are deleted "
  809. "too)."
  810. msgstr ""
  811. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  812. #: apt-get.8.xml:1
  813. msgid ""
  814. "<literal>source</literal> causes <command>apt-get</command> to fetch source "
  815. "packages. APT will examine the available packages to decide which source "
  816. "package to fetch. It will then find and download into the current directory "
  817. "the newest available version of that source package while respecting the "
  818. "default release, set with the option "
  819. "<literal>APT::Default-Release</literal>, the <option>-t</option> option or "
  820. "per package with the <literal>pkg/release</literal> syntax, if possible."
  821. msgstr ""
  822. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  823. #: apt-get.8.xml:1
  824. msgid ""
  825. "Source packages are tracked separately from binary packages via "
  826. "<literal>deb-src</literal> lines in the &sources-list; file. This means that "
  827. "you will need to add such a line for each repository you want to get sources "
  828. "from; otherwise you will probably get either the wrong (too old/too new) "
  829. "source versions or none at all."
  830. msgstr ""
  831. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  832. #: apt-get.8.xml:1
  833. msgid ""
  834. "If the <option>--compile</option> option is specified then the package will "
  835. "be compiled to a binary .deb using <command>dpkg-buildpackage</command> for "
  836. "the architecture as defined by the <command>--host-architecture</command> "
  837. "option. If <option>--download-only</option> is specified then the source "
  838. "package will not be unpacked."
  839. msgstr ""
  840. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  841. #: apt-get.8.xml:1
  842. msgid ""
  843. "A specific source version can be retrieved by postfixing the source name "
  844. "with an equals and then the version to fetch, similar to the mechanism used "
  845. "for the package files. This enables exact matching of the source package "
  846. "name and version, implicitly enabling the "
  847. "<literal>APT::Get::Only-Source</literal> option."
  848. msgstr ""
  849. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  850. #: apt-get.8.xml:1
  851. msgid ""
  852. "Note that source packages are not installed and tracked in the "
  853. "<command>dpkg</command> database like binary packages; they are simply "
  854. "downloaded to the current directory, like source tarballs."
  855. msgstr ""
  856. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  857. #: apt-get.8.xml:1
  858. msgid ""
  859. "<literal>build-dep</literal> causes apt-get to install/remove packages in an "
  860. "attempt to satisfy the build dependencies for a source package. By default "
  861. "the dependencies are satisfied to build the package natively. If desired a "
  862. "host-architecture can be specified with the "
  863. "<option>--host-architecture</option> option instead."
  864. msgstr ""
  865. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  866. #: apt-get.8.xml:1
  867. msgid ""
  868. "<literal>check</literal> is a diagnostic tool; it updates the package cache "
  869. "and checks for broken dependencies."
  870. msgstr ""
  871. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  872. #: apt-get.8.xml:1
  873. msgid ""
  874. "<literal>download</literal> will download the given binary package into the "
  875. "current directory."
  876. msgstr ""
  877. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  878. #: apt-get.8.xml:1
  879. msgid ""
  880. "<literal>clean</literal> clears out the local repository of retrieved "
  881. "package files. It removes everything but the lock file from "
  882. "<filename>&cachedir;/archives/</filename> and "
  883. "<filename>&cachedir;/archives/partial/</filename>."
  884. msgstr ""
  885. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
  886. #: apt-get.8.xml:1 apt-get.8.xml:1
  887. msgid "(and the"
  888. msgstr ""
  889. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
  890. #: apt-get.8.xml:1 apt-get.8.xml:1
  891. msgid "alias since 1.1)"
  892. msgstr ""
  893. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  894. #: apt-get.8.xml:1
  895. msgid ""
  896. "Like <literal>clean</literal>, <literal>autoclean</literal> clears out the "
  897. "local repository of retrieved package files. The difference is that it only "
  898. "removes package files that can no longer be downloaded, and are largely "
  899. "useless. This allows a cache to be maintained over a long period without it "
  900. "growing out of control. The configuration option "
  901. "<literal>APT::Clean-Installed</literal> will prevent installed packages from "
  902. "being erased if it is set to off."
  903. msgstr ""
  904. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  905. #: apt-get.8.xml:1
  906. msgid ""
  907. "<literal>autoremove</literal> is used to remove packages that were "
  908. "automatically installed to satisfy dependencies for other packages and are "
  909. "now no longer needed."
  910. msgstr ""
  911. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  912. #: apt-get.8.xml:1
  913. msgid ""
  914. "<literal>changelog</literal> tries to download the changelog of a package "
  915. "and displays it through <command>sensible-pager</command>. By default it "
  916. "displays the changelog for the version that is installed. However, you can "
  917. "specify the same options as for the <option>install</option> command."
  918. msgstr ""
  919. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  920. #: apt-get.8.xml:1
  921. msgid ""
  922. "Displays by default a deb822 formatted listing of information about all data "
  923. "files (aka index targets) <command>apt-get update</command> would "
  924. "download. Supports a <option>--format</option> option to modify the output "
  925. "format as well as accepts lines of the default output to filter the records "
  926. "by. The command is mainly used as an interface for external tools working "
  927. "with APT to get information as well as filenames for downloaded files so "
  928. "they can use them as well instead of downloading them again on their "
  929. "own. Detailed documentation is omitted here and can instead be found in the "
  930. "source tree in "
  931. "<literal><filename>doc/acquire-additional-files.txt</filename></literal>."
  932. msgstr ""
  933. #. type: Content of: <refentry><refsect1><title>
  934. #: apt-get.8.xml:1 apt-cache.8.xml:1 apt-config.8.xml:1
  935. #: apt-extracttemplates.1.xml:1 apt-sortpkgs.1.xml:1 apt-ftparchive.1.xml:1
  936. msgid "options"
  937. msgstr ""
  938. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  939. #: apt-get.8.xml:1
  940. msgid ""
  941. "Do not consider recommended packages as a dependency for installing. "
  942. "Configuration Item: <literal>APT::Install-Recommends</literal>."
  943. msgstr ""
  944. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  945. #: apt-get.8.xml:1
  946. msgid ""
  947. "Consider suggested packages as a dependency for installing. Configuration "
  948. "Item: <literal>APT::Install-Suggests</literal>."
  949. msgstr ""
  950. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  951. #: apt-get.8.xml:1
  952. msgid ""
  953. "Download only; package files are only retrieved, not unpacked or installed. "
  954. "Configuration Item: <literal>APT::Get::Download-Only</literal>."
  955. msgstr ""
  956. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  957. #: apt-get.8.xml:1
  958. msgid ""
  959. "Fix; attempt to correct a system with broken dependencies in place. This "
  960. "option, when used with install/remove, can omit any packages to permit APT "
  961. "to deduce a likely solution. If packages are specified, these have to "
  962. "completely correct the problem. The option is sometimes necessary when "
  963. "running APT for the first time; APT itself does not allow broken package "
  964. "dependencies to exist on a system. It is possible that a system's dependency "
  965. "structure can be so corrupt as to require manual intervention (which usually "
  966. "means using <command>dpkg --remove</command> to eliminate some of the "
  967. "offending packages). Use of this option together with <option>-m</option> "
  968. "may produce an error in some situations. Configuration Item: "
  969. "<literal>APT::Get::Fix-Broken</literal>."
  970. msgstr ""
  971. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  972. #: apt-get.8.xml:1
  973. msgid ""
  974. "Ignore missing packages; if packages cannot be retrieved or fail the "
  975. "integrity check after retrieval (corrupted package files), hold back those "
  976. "packages and handle the result. Use of this option together with "
  977. "<option>-f</option> may produce an error in some situations. If a package is "
  978. "selected for installation (particularly if it is mentioned on the command "
  979. "line) and it could not be downloaded then it will be silently held back. "
  980. "Configuration Item: <literal>APT::Get::Fix-Missing</literal>."
  981. msgstr ""
  982. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  983. #: apt-get.8.xml:1
  984. msgid ""
  985. "Disables downloading of packages. This is best used with "
  986. "<option>--ignore-missing</option> to force APT to use only the .debs it has "
  987. "already downloaded. Configuration Item: "
  988. "<literal>APT::Get::Download</literal>."
  989. msgstr ""
  990. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  991. #: apt-get.8.xml:1
  992. msgid ""
  993. "Quiet; produces output suitable for logging, omitting progress indicators. "
  994. "More q's will produce more quiet up to a maximum of 2. You can also use "
  995. "<option>-q=#</option> to set the quiet level, overriding the configuration "
  996. "file. Note that quiet level 2 implies <option>-y</option>; you should never "
  997. "use -qq without a no-action modifier such as -d, --print-uris or -s as APT "
  998. "may decide to do something you did not expect. Configuration Item: "
  999. "<literal>quiet</literal>."
  1000. msgstr ""
  1001. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1002. #: apt-get.8.xml:1
  1003. msgid ""
  1004. "No action; perform a simulation of events that would occur based on the "
  1005. "current system state but do not actually change the system. Locking will be "
  1006. "disabled (<option>Debug::NoLocking</option>) so the system state could "
  1007. "change while <command>apt-get</command> is running. Simulations can also be "
  1008. "executed by non-root users which might not have read access to all apt "
  1009. "configuration distorting the simulation. A notice expressing this warning "
  1010. "is also shown by default for non-root users "
  1011. "(<option>APT::Get::Show-User-Simulation-Note</option>). Configuration Item: "
  1012. "<literal>APT::Get::Simulate</literal>."
  1013. msgstr ""
  1014. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1015. #: apt-get.8.xml:1
  1016. msgid ""
  1017. "Simulated runs print out a series of lines, each representing a "
  1018. "<command>dpkg</command> operation: configure (<literal>Conf</literal>), "
  1019. "remove (<literal>Remv</literal>) or unpack "
  1020. "(<literal>Inst</literal>). Square brackets indicate broken packages, and "
  1021. "empty square brackets indicate breaks that are of no consequence (rare)."
  1022. msgstr ""
  1023. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1024. #: apt-get.8.xml:1
  1025. msgid ""
  1026. "Automatic yes to prompts; assume \"yes\" as answer to all prompts and run "
  1027. "non-interactively. If an undesirable situation, such as changing a held "
  1028. "package, trying to install a unauthenticated package or removing an "
  1029. "essential package occurs then <literal>apt-get</literal> will abort. "
  1030. "Configuration Item: <literal>APT::Get::Assume-Yes</literal>."
  1031. msgstr ""
  1032. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1033. #: apt-get.8.xml:1
  1034. msgid ""
  1035. "Automatic \"no\" to all prompts. Configuration Item: "
  1036. "<literal>APT::Get::Assume-No</literal>."
  1037. msgstr ""
  1038. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1039. #: apt-get.8.xml:1
  1040. msgid ""
  1041. "Show upgraded packages; print out a list of all packages that are to be "
  1042. "upgraded. Configuration Item: <literal>APT::Get::Show-Upgraded</literal>."
  1043. msgstr ""
  1044. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1045. #: apt-get.8.xml:1
  1046. msgid ""
  1047. "Show full versions for upgraded and installed packages. Configuration Item: "
  1048. "<literal>APT::Get::Show-Versions</literal>."
  1049. msgstr ""
  1050. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1051. #: apt-get.8.xml:1
  1052. msgid ""
  1053. "This option controls the architecture packages are built for by "
  1054. "<command>apt-get source --compile</command> and how cross-builddependencies "
  1055. "are satisfied. By default is it not set which means that the host "
  1056. "architecture is the same as the build architecture (which is defined by "
  1057. "<literal>APT::Architecture</literal>). Configuration Item: "
  1058. "<literal>APT::Get::Host-Architecture</literal>."
  1059. msgstr ""
  1060. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1061. #: apt-get.8.xml:1
  1062. msgid ""
  1063. "This option controls the activated build profiles for which a source package "
  1064. "is built by <command>apt-get source --compile</command> and how build "
  1065. "dependencies are satisfied. By default no build profile is active. More "
  1066. "than one build profile can be activated at a time by concatenating them with "
  1067. "a comma. Configuration Item: <literal>APT::Build-Profiles</literal>."
  1068. msgstr ""
  1069. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1070. #: apt-get.8.xml:1
  1071. msgid ""
  1072. "Compile source packages after downloading them. Configuration Item: "
  1073. "<literal>APT::Get::Compile</literal>."
  1074. msgstr ""
  1075. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1076. #: apt-get.8.xml:1
  1077. msgid ""
  1078. "Ignore package holds; this causes <command>apt-get</command> to ignore a "
  1079. "hold placed on a package. This may be useful in conjunction with "
  1080. "<literal>dist-upgrade</literal> to override a large number of undesired "
  1081. "holds. Configuration Item: <literal>APT::Ignore-Hold</literal>."
  1082. msgstr ""
  1083. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1084. #: apt-get.8.xml:1
  1085. msgid ""
  1086. "Allow installing new packages when used in conjunction with "
  1087. "<literal>upgrade</literal>. This is useful if the update of a installed "
  1088. "package requires new dependencies to be installed. Instead of holding the "
  1089. "package back <literal>upgrade</literal> will upgrade the package and install "
  1090. "the new dependencies. Note that <literal>upgrade</literal> with this option "
  1091. "will never remove packages, only allow adding new ones. Configuration Item: "
  1092. "<literal>APT::Get::Upgrade-Allow-New</literal>."
  1093. msgstr ""
  1094. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1095. #: apt-get.8.xml:1
  1096. msgid ""
  1097. "Do not upgrade packages; when used in conjunction with "
  1098. "<literal>install</literal>, <literal>no-upgrade</literal> will prevent "
  1099. "packages on the command line from being upgraded if they are already "
  1100. "installed. Configuration Item: <literal>APT::Get::Upgrade</literal>."
  1101. msgstr ""
  1102. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1103. #: apt-get.8.xml:1
  1104. msgid ""
  1105. "Do not install new packages; when used in conjunction with "
  1106. "<literal>install</literal>, <literal>only-upgrade</literal> will install "
  1107. "upgrades for already installed packages only and ignore requests to install "
  1108. "new packages. Configuration Item: "
  1109. "<literal>APT::Get::Only-Upgrade</literal>."
  1110. msgstr ""
  1111. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1112. #: apt-get.8.xml:1
  1113. msgid ""
  1114. "This is a dangerous option that will cause apt to continue without prompting "
  1115. "if it is doing downgrades. It should not be used except in very special "
  1116. "situations. Using it can potentially destroy your system! Configuration "
  1117. "Item: <literal>APT::Get::allow-downgrades</literal>. Introduced in APT 1.1."
  1118. msgstr ""
  1119. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1120. #: apt-get.8.xml:1
  1121. msgid ""
  1122. "Force yes; this is a dangerous option that will cause apt to continue "
  1123. "without prompting if it is removing essentials. It should not be used except "
  1124. "in very special situations. Using it can potentially destroy your system! "
  1125. "Configuration Item: "
  1126. "<literal>APT::Get::allow-remove-essential</literal>. Introduced in APT 1.1."
  1127. msgstr ""
  1128. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1129. #: apt-get.8.xml:1
  1130. msgid ""
  1131. "Force yes; this is a dangerous option that will cause apt to continue "
  1132. "without prompting if it is changing held packages. It should not be used "
  1133. "except in very special situations. Using it can potentially destroy your "
  1134. "system! Configuration Item: "
  1135. "<literal>APT::Get::allow-change-held-packages</literal>. Introduced in APT "
  1136. "1.1."
  1137. msgstr ""
  1138. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1139. #: apt-get.8.xml:1
  1140. msgid ""
  1141. "Force yes; this is a dangerous option that will cause apt to continue "
  1142. "without prompting if it is doing something potentially harmful. It should "
  1143. "not be used except in very special situations. Using "
  1144. "<literal>force-yes</literal> can potentially destroy your system! "
  1145. "Configuration Item: <literal>APT::Get::force-yes</literal>. This is "
  1146. "deprecated and replaced by <option>--allow-downgrades</option>, "
  1147. "<option>--allow-remove-essential</option>, "
  1148. "<option>--allow-change-held-packages</option> in 1.1."
  1149. msgstr ""
  1150. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1151. #: apt-get.8.xml:1
  1152. msgid ""
  1153. "Instead of fetching the files to install their URIs are printed. Each URI "
  1154. "will have the path, the destination file name, the size and the expected MD5 "
  1155. "hash. Note that the file name to write to will not always match the file "
  1156. "name on the remote site! This also works with the <literal>source</literal> "
  1157. "and <literal>update</literal> commands. When used with the "
  1158. "<literal>update</literal> command the MD5 and size are not included, and it "
  1159. "is up to the user to decompress any compressed files. Configuration Item: "
  1160. "<literal>APT::Get::Print-URIs</literal>."
  1161. msgstr ""
  1162. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1163. #: apt-get.8.xml:1
  1164. msgid ""
  1165. "Use purge instead of remove for anything that would be removed. An asterisk "
  1166. "(\"*\") will be displayed next to packages which are scheduled to be "
  1167. "purged. <option>remove --purge</option> is equivalent to the "
  1168. "<option>purge</option> command. Configuration Item: "
  1169. "<literal>APT::Get::Purge</literal>."
  1170. msgstr ""
  1171. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1172. #: apt-get.8.xml:1
  1173. msgid ""
  1174. "Re-install packages that are already installed and at the newest version. "
  1175. "Configuration Item: <literal>APT::Get::ReInstall</literal>."
  1176. msgstr ""
  1177. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1178. #: apt-get.8.xml:1
  1179. msgid ""
  1180. "This option is on by default; use <literal>--no-list-cleanup</literal> to "
  1181. "turn it off. When it is on, <command>apt-get</command> will automatically "
  1182. "manage the contents of <filename>&statedir;/lists</filename> to ensure that "
  1183. "obsolete files are erased. The only reason to turn it off is if you "
  1184. "frequently change your sources list. Configuration Item: "
  1185. "<literal>APT::Get::List-Cleanup</literal>."
  1186. msgstr ""
  1187. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1188. #: apt-get.8.xml:1
  1189. msgid ""
  1190. "This option controls the default input to the policy engine; it creates a "
  1191. "default pin at priority 990 using the specified release string. This "
  1192. "overrides the general settings in "
  1193. "<filename>/etc/apt/preferences</filename>. Specifically pinned packages are "
  1194. "not affected by the value of this option. In short, this option lets you "
  1195. "have simple control over which distribution packages will be retrieved "
  1196. "from. Some common examples might be <option>-t '2.1*'</option>, <option>-t "
  1197. "unstable</option> or <option>-t sid</option>. Configuration Item: "
  1198. "<literal>APT::Default-Release</literal>; see also the &apt-preferences; "
  1199. "manual page."
  1200. msgstr ""
  1201. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1202. #: apt-get.8.xml:1
  1203. msgid ""
  1204. "Only perform operations that are 'trivial'. Logically this can be considered "
  1205. "related to <option>--assume-yes</option>; where "
  1206. "<option>--assume-yes</option> will answer yes to any prompt, "
  1207. "<option>--trivial-only</option> will answer no. Configuration Item: "
  1208. "<literal>APT::Get::Trivial-Only</literal>."
  1209. msgstr ""
  1210. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1211. #: apt-get.8.xml:1
  1212. msgid ""
  1213. "If any packages are to be removed apt-get immediately aborts without "
  1214. "prompting. Configuration Item: <literal>APT::Get::Remove</literal>."
  1215. msgstr ""
  1216. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1217. #: apt-get.8.xml:1
  1218. msgid ""
  1219. "If the command is either <literal>install</literal> or "
  1220. "<literal>remove</literal>, then this option acts like running the "
  1221. "<literal>autoremove</literal> command, removing unused dependency "
  1222. "packages. Configuration Item: <literal>APT::Get::AutomaticRemove</literal>."
  1223. msgstr ""
  1224. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1225. #: apt-get.8.xml:1
  1226. msgid ""
  1227. "Only has meaning for the <literal>source</literal> and "
  1228. "<literal>build-dep</literal> commands. Indicates that the given source "
  1229. "names are not to be mapped through the binary table. This means that if "
  1230. "this option is specified, these commands will only accept source package "
  1231. "names as arguments, rather than accepting binary package names and looking "
  1232. "up the corresponding source package. Configuration Item: "
  1233. "<literal>APT::Get::Only-Source</literal>."
  1234. msgstr ""
  1235. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1236. #: apt-get.8.xml:1
  1237. msgid ""
  1238. "Download only the diff, dsc, or tar file of a source archive. Configuration "
  1239. "Item: <literal>APT::Get::Diff-Only</literal>, "
  1240. "<literal>APT::Get::Dsc-Only</literal>, and "
  1241. "<literal>APT::Get::Tar-Only</literal>."
  1242. msgstr ""
  1243. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1244. #: apt-get.8.xml:1
  1245. msgid ""
  1246. "Only process architecture-dependent build-dependencies. Configuration Item: "
  1247. "<literal>APT::Get::Arch-Only</literal>."
  1248. msgstr ""
  1249. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1250. #: apt-get.8.xml:1
  1251. msgid ""
  1252. "Ignore if packages can't be authenticated and don't prompt about it. This "
  1253. "can be useful while working with local repositories, but is a huge security "
  1254. "risk if data authenticity isn't ensured in another way by the user itself. "
  1255. "The usage of the <option>Trusted</option> option for &sources-list; entries "
  1256. "should usually be preferred over this global override. Configuration Item: "
  1257. "<literal>APT::Get::AllowUnauthenticated</literal>."
  1258. msgstr ""
  1259. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1260. #: apt-get.8.xml:1
  1261. msgid ""
  1262. "Forbid the update command to acquire unverifiable data from configured "
  1263. "sources. Apt will fail at the update command for repositories without valid "
  1264. "cryptographically signatures. Configuration Item: "
  1265. "<literal>Acquire::AllowInsecureRepositories</literal>."
  1266. msgstr ""
  1267. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1268. #: apt-get.8.xml:1
  1269. msgid ""
  1270. "Show user friendly progress information in the terminal window when packages "
  1271. "are installed, upgraded or removed. For a machine parsable version of this "
  1272. "data see README.progress-reporting in the apt doc directory. Configuration "
  1273. "Item: <literal>Dpkg::Progress</literal> and "
  1274. "<literal>Dpkg::Progress-Fancy</literal>."
  1275. msgstr ""
  1276. #. type: Content of: <refentry><refsect1><title>
  1277. #: apt-get.8.xml:1 apt-cache.8.xml:1 apt-key.8.xml:1 apt-mark.8.xml:1
  1278. #: apt.conf.5.xml:1 apt_preferences.5.xml:1
  1279. msgid "Files"
  1280. msgstr ""
  1281. #. type: Content of: <refentry><refsect1><para>
  1282. #: apt-get.8.xml:1
  1283. msgid ""
  1284. "&apt-cache;, &apt-cdrom;, &dpkg;, &sources-list;, &apt-conf;, &apt-config;, "
  1285. "&apt-secure;, The APT User's guide in &guidesdir;, &apt-preferences;, the "
  1286. "APT Howto."
  1287. msgstr ""
  1288. #. type: Content of: <refentry><refsect1><para>
  1289. #: apt-get.8.xml:1
  1290. msgid ""
  1291. "<command>apt-get</command> returns zero on normal operation, decimal 100 on "
  1292. "error."
  1293. msgstr ""
  1294. #. type: Content of: <refentry><refnamediv><refpurpose>
  1295. #: apt-cache.8.xml:1
  1296. msgid "query the APT cache"
  1297. msgstr ""
  1298. #. type: Content of: <refentry><refsect1><para>
  1299. #: apt-cache.8.xml:1
  1300. msgid ""
  1301. "<command>apt-cache</command> performs a variety of operations on APT's "
  1302. "package cache. <command>apt-cache</command> does not manipulate the state of "
  1303. "the system but does provide operations to search and generate interesting "
  1304. "output from the package metadata. The metadata is acquired and updated via "
  1305. "the 'update' command of e.g. <command>apt-get</command>, so that it can be "
  1306. "outdated if the last update is too long ago, but in exchange "
  1307. "<command>apt-cache</command> works independently of the availability of the "
  1308. "configured sources (e.g. offline)."
  1309. msgstr ""
  1310. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1311. #: apt-cache.8.xml:1
  1312. msgid ""
  1313. "<literal>gencaches</literal> creates APT's package cache. This is done "
  1314. "implicitly by all commands needing this cache if it is missing or outdated."
  1315. msgstr ""
  1316. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option><replaceable>
  1317. #: apt-cache.8.xml:1 apt-cache.8.xml:1 apt-cache.8.xml:1 apt-cache.8.xml:1
  1318. #: apt-cache.8.xml:1 apt-cache.8.xml:1 apt-cache.8.xml:1 apt-cache.8.xml:1
  1319. msgid "&synopsis-pkg;"
  1320. msgstr ""
  1321. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1322. #: apt-cache.8.xml:1
  1323. msgid ""
  1324. "<literal>showpkg</literal> displays information about the packages listed on "
  1325. "the command line. Remaining arguments are package names. The available "
  1326. "versions and reverse dependencies of each package listed are listed, as well "
  1327. "as forward dependencies for each version. Forward (normal) dependencies are "
  1328. "those packages upon which the package in question depends; reverse "
  1329. "dependencies are those packages that depend upon the package in "
  1330. "question. Thus, forward dependencies must be satisfied for a package, but "
  1331. "reverse dependencies need not be. For instance, <command>apt-cache showpkg "
  1332. "libreadline2</command> would produce output similar to the following:"
  1333. msgstr ""
  1334. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><informalexample><programlisting>
  1335. #: apt-cache.8.xml:1
  1336. #, no-wrap
  1337. msgid ""
  1338. "Package: libreadline2\n"
  1339. "Versions: 2.1-12(/var/state/apt/lists/foo_Packages),\n"
  1340. "Reverse Depends: \n"
  1341. " libreadlineg2,libreadline2\n"
  1342. " libreadline2-altdev,libreadline2\n"
  1343. "Dependencies:\n"
  1344. "2.1-12 - libc5 (2 5.4.0-0) ncurses3.0 (0 (null))\n"
  1345. "Provides:\n"
  1346. "2.1-12 - \n"
  1347. "Reverse Provides: \n"
  1348. msgstr ""
  1349. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1350. #: apt-cache.8.xml:1
  1351. msgid ""
  1352. "Thus it may be seen that libreadline2, version 2.1-12, depends on libc5 and "
  1353. "ncurses3.0 which must be installed for libreadline2 to work. In turn, "
  1354. "libreadlineg2 and libreadline2-altdev depend on libreadline2. If "
  1355. "libreadline2 is installed, libc5 and ncurses3.0 (and ldso) must also be "
  1356. "installed; libreadlineg2 and libreadline2-altdev do not have to be "
  1357. "installed. For the specific meaning of the remainder of the output it is "
  1358. "best to consult the apt source code."
  1359. msgstr ""
  1360. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1361. #: apt-cache.8.xml:1
  1362. msgid ""
  1363. "<literal>stats</literal> displays some statistics about the cache. No "
  1364. "further arguments are expected. Statistics reported are:"
  1365. msgstr ""
  1366. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
  1367. #: apt-cache.8.xml:1
  1368. msgid ""
  1369. "<literal>Total package names</literal> is the number of package names found "
  1370. "in the cache."
  1371. msgstr ""
  1372. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
  1373. #: apt-cache.8.xml:1
  1374. msgid ""
  1375. "<literal>Normal packages</literal> is the number of regular, ordinary "
  1376. "package names; these are packages that bear a one-to-one correspondence "
  1377. "between their names and the names used by other packages for them in "
  1378. "dependencies. The majority of packages fall into this category."
  1379. msgstr ""
  1380. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
  1381. #: apt-cache.8.xml:1
  1382. msgid ""
  1383. "<literal>Pure virtual packages</literal> is the number of packages that "
  1384. "exist only as a virtual package name; that is, packages only \"provide\" the "
  1385. "virtual package name, and no package actually uses the name. For instance, "
  1386. "\"mail-transport-agent\" in the Debian system is a pure virtual package; "
  1387. "several packages provide \"mail-transport-agent\", but there is no package "
  1388. "named \"mail-transport-agent\"."
  1389. msgstr ""
  1390. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
  1391. #: apt-cache.8.xml:1
  1392. msgid ""
  1393. "<literal>Single virtual packages</literal> is the number of packages with "
  1394. "only one package providing a particular virtual package. For example, in the "
  1395. "Debian system, \"X11-text-viewer\" is a virtual package, but only one "
  1396. "package, xless, provides \"X11-text-viewer\"."
  1397. msgstr ""
  1398. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
  1399. #: apt-cache.8.xml:1
  1400. msgid ""
  1401. "<literal>Mixed virtual packages</literal> is the number of packages that "
  1402. "either provide a particular virtual package or have the virtual package name "
  1403. "as the package name. For instance, in the Debian system, \"debconf\" is both "
  1404. "an actual package, and provided by the debconf-tiny package."
  1405. msgstr ""
  1406. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
  1407. #: apt-cache.8.xml:1
  1408. msgid ""
  1409. "<literal>Missing</literal> is the number of package names that were "
  1410. "referenced in a dependency but were not provided by any package. Missing "
  1411. "packages may be an evidence if a full distribution is not accessed, or if a "
  1412. "package (real or virtual) has been dropped from the distribution. Usually "
  1413. "they are referenced from Conflicts or Breaks statements."
  1414. msgstr ""
  1415. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
  1416. #: apt-cache.8.xml:1
  1417. msgid ""
  1418. "<literal>Total distinct</literal> versions is the number of package versions "
  1419. "found in the cache. If more than one distribution is being accessed (for "
  1420. "instance, \"stable\" and \"unstable\"), this value can be considerably "
  1421. "larger than the number of total package names."
  1422. msgstr ""
  1423. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
  1424. #: apt-cache.8.xml:1
  1425. msgid ""
  1426. "<literal>Total dependencies</literal> is the number of dependency "
  1427. "relationships claimed by all of the packages in the cache."
  1428. msgstr ""
  1429. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1430. #: apt-cache.8.xml:1
  1431. msgid ""
  1432. "<literal>showsrc</literal> displays all the source package records that "
  1433. "match the given package names. All versions are shown, as well as all "
  1434. "records that declare the name to be a binary package. Use "
  1435. "<option>--only-source</option> to display only source package names."
  1436. msgstr ""
  1437. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1438. #: apt-cache.8.xml:1
  1439. msgid ""
  1440. "<literal>dump</literal> shows a short listing of every package in the "
  1441. "cache. It is primarily for debugging."
  1442. msgstr ""
  1443. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1444. #: apt-cache.8.xml:1
  1445. msgid ""
  1446. "<literal>dumpavail</literal> prints out an available list to stdout. This is "
  1447. "suitable for use with &dpkg; and is used by the &dselect; method."
  1448. msgstr ""
  1449. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1450. #: apt-cache.8.xml:1
  1451. msgid ""
  1452. "<literal>unmet</literal> displays a summary of all unmet dependencies in the "
  1453. "package cache."
  1454. msgstr ""
  1455. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1456. #: apt-cache.8.xml:1
  1457. msgid ""
  1458. "<literal>show</literal> performs a function similar to <command>dpkg "
  1459. "--print-avail</command>; it displays the package records for the named "
  1460. "packages."
  1461. msgstr ""
  1462. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option><replaceable>
  1463. #: apt-cache.8.xml:1
  1464. msgid "&synopsis-regex;"
  1465. msgstr ""
  1466. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1467. #: apt-cache.8.xml:1
  1468. msgid ""
  1469. "<literal>search</literal> performs a full text search on all available "
  1470. "package lists for the POSIX regex pattern given, see &regex;. It searches "
  1471. "the package names and the descriptions for an occurrence of the regular "
  1472. "expression and prints out the package name and the short description, "
  1473. "including virtual package names. If <option>--full</option> is given then "
  1474. "output identical to <literal>show</literal> is produced for each matched "
  1475. "package, and if <option>--names-only</option> is given then the long "
  1476. "description is not searched, only the package name and provided packages "
  1477. "are."
  1478. msgstr ""
  1479. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1480. #: apt-cache.8.xml:1
  1481. msgid ""
  1482. "Separate arguments can be used to specify multiple search patterns that are "
  1483. "and'ed together."
  1484. msgstr ""
  1485. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1486. #: apt-cache.8.xml:1
  1487. msgid ""
  1488. "<literal>depends</literal> shows a listing of each dependency a package has "
  1489. "and all the possible other packages that can fulfill that dependency."
  1490. msgstr ""
  1491. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1492. #: apt-cache.8.xml:1
  1493. msgid ""
  1494. "<literal>rdepends</literal> shows a listing of each reverse dependency a "
  1495. "package has."
  1496. msgstr ""
  1497. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
  1498. #: apt-cache.8.xml:1
  1499. msgid "<optional><replaceable>&synopsis-prefix;</replaceable></optional>"
  1500. msgstr ""
  1501. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1502. #: apt-cache.8.xml:1
  1503. msgid ""
  1504. "This command prints the name of each package APT knows. The optional "
  1505. "argument is a prefix match to filter the name list. The output is suitable "
  1506. "for use in a shell tab complete function and the output is generated "
  1507. "extremely quickly. This command is best used with the "
  1508. "<option>--generate</option> option."
  1509. msgstr ""
  1510. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1511. #: apt-cache.8.xml:1
  1512. msgid ""
  1513. "Note that a package which APT knows of is not necessarily available to "
  1514. "download, installable or installed, e.g. virtual packages are also listed in "
  1515. "the generated list."
  1516. msgstr ""
  1517. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1518. #: apt-cache.8.xml:1
  1519. msgid ""
  1520. "<literal>dotty</literal> takes a list of packages on the command line and "
  1521. "generates output suitable for use by dotty from the <ulink "
  1522. "url=\"http://www.research.att.com/sw/tools/graphviz/\">GraphViz</ulink> "
  1523. "package. The result will be a set of nodes and edges representing the "
  1524. "relationships between the packages. By default the given packages will trace "
  1525. "out all dependent packages; this can produce a very large graph. To limit "
  1526. "the output to only the packages listed on the command line, set the "
  1527. "<literal>APT::Cache::GivenOnly</literal> option."
  1528. msgstr ""
  1529. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1530. #: apt-cache.8.xml:1
  1531. msgid ""
  1532. "The resulting nodes will have several shapes; normal packages are boxes, "
  1533. "pure virtual packages are triangles, mixed virtual packages are diamonds, "
  1534. "missing packages are hexagons. Orange boxes mean recursion was stopped (leaf "
  1535. "packages), blue lines are pre-depends, green lines are conflicts."
  1536. msgstr ""
  1537. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1538. #: apt-cache.8.xml:1
  1539. msgid "Caution, dotty cannot graph larger sets of packages."
  1540. msgstr ""
  1541. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1542. #: apt-cache.8.xml:1
  1543. msgid ""
  1544. "The same as <literal>dotty</literal>, only for xvcg from the <ulink "
  1545. "url=\"http://rw4.cs.uni-sb.de/users/sander/html/gsvcg1.html\">VCG "
  1546. "tool</ulink>."
  1547. msgstr ""
  1548. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
  1549. #: apt-cache.8.xml:1
  1550. msgid "<optional><replaceable>&synopsis-pkg;</replaceable>…</optional>"
  1551. msgstr ""
  1552. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1553. #: apt-cache.8.xml:1
  1554. msgid ""
  1555. "<literal>policy</literal> is meant to help debug issues relating to the "
  1556. "preferences file. With no arguments it will print out the priorities of each "
  1557. "source. Otherwise it prints out detailed information about the priority "
  1558. "selection of the named package."
  1559. msgstr ""
  1560. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1561. #: apt-cache.8.xml:1
  1562. msgid ""
  1563. "<literal>apt-cache</literal>'s <literal>madison</literal> command attempts "
  1564. "to mimic the output format and a subset of the functionality of the Debian "
  1565. "archive management tool, <literal>madison</literal>. It displays available "
  1566. "versions of a package in a tabular format. Unlike the original "
  1567. "<literal>madison</literal>, it can only display information for the "
  1568. "architecture for which APT has retrieved package lists "
  1569. "(<literal>APT::Architecture</literal>)."
  1570. msgstr ""
  1571. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1572. #: apt-cache.8.xml:1
  1573. msgid ""
  1574. "Select the file to store the package cache. The package cache is the primary "
  1575. "cache used by all operations. Configuration Item: "
  1576. "<literal>Dir::Cache::pkgcache</literal>."
  1577. msgstr ""
  1578. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1579. #: apt-cache.8.xml:1
  1580. msgid ""
  1581. "Select the file to store the source cache. The source is used only by "
  1582. "<literal>gencaches</literal> and it stores a parsed version of the package "
  1583. "information from remote sources. When building the package cache the source "
  1584. "cache is used to avoid reparsing all of the package files. Configuration "
  1585. "Item: <literal>Dir::Cache::srcpkgcache</literal>."
  1586. msgstr ""
  1587. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1588. #: apt-cache.8.xml:1
  1589. msgid ""
  1590. "Quiet; produces output suitable for logging, omitting progress indicators. "
  1591. "More q's will produce more quietness up to a maximum of 2. You can also use "
  1592. "<option>-q=#</option> to set the quietness level, overriding the "
  1593. "configuration file. Configuration Item: <literal>quiet</literal>."
  1594. msgstr ""
  1595. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1596. #: apt-cache.8.xml:1
  1597. msgid ""
  1598. "Print only important dependencies; for use with <literal>unmet</literal> and "
  1599. "<literal>depends</literal>. Causes only Depends and Pre-Depends relations to "
  1600. "be printed. Configuration Item: <literal>APT::Cache::Important</literal>."
  1601. msgstr ""
  1602. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1603. #: apt-cache.8.xml:1
  1604. msgid ""
  1605. "Per default the <command>depends</command> and <command>rdepends</command> "
  1606. "print all dependencies. This can be tweaked with these flags which will omit "
  1607. "the specified dependency type. Configuration Item: "
  1608. "<literal>APT::Cache::Show<replaceable>DependencyType</replaceable></literal> "
  1609. "e.g. <literal>APT::Cache::ShowRecommends</literal>."
  1610. msgstr ""
  1611. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1612. #: apt-cache.8.xml:1
  1613. msgid ""
  1614. "Per default <command>depends</command> and <command>rdepends</command> print "
  1615. "only dependencies explicitly expressed in the metadata. With this flag it "
  1616. "will also show dependencies implicitely added based on the encountered "
  1617. "data. A <literal>Conflicts: foo</literal> e.g. expresses implicitely that "
  1618. "this package also conflicts with the package foo from any other "
  1619. "architecture. Configuration Item: "
  1620. "<literal>APT::Cache::ShowImplicit</literal>."
  1621. msgstr ""
  1622. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1623. #: apt-cache.8.xml:1
  1624. msgid ""
  1625. "Print full package records when searching. Configuration Item: "
  1626. "<literal>APT::Cache::ShowFull</literal>."
  1627. msgstr ""
  1628. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1629. #: apt-cache.8.xml:1
  1630. msgid ""
  1631. "Print full records for all available versions. This is the default; to turn "
  1632. "it off, use <option>--no-all-versions</option>. If "
  1633. "<option>--no-all-versions</option> is specified, only the candidate version "
  1634. "will be displayed (the one which would be selected for installation). This "
  1635. "option is only applicable to the <literal>show</literal> command. "
  1636. "Configuration Item: <literal>APT::Cache::AllVersions</literal>."
  1637. msgstr ""
  1638. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1639. #: apt-cache.8.xml:1
  1640. msgid ""
  1641. "Perform automatic package cache regeneration, rather than use the cache as "
  1642. "it is. This is the default; to turn it off, use "
  1643. "<option>--no-generate</option>. Configuration Item: "
  1644. "<literal>APT::Cache::Generate</literal>."
  1645. msgstr ""
  1646. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1647. #: apt-cache.8.xml:1
  1648. msgid ""
  1649. "Only search on the package and provided package names, not the long "
  1650. "descriptions. Configuration Item: <literal>APT::Cache::NamesOnly</literal>."
  1651. msgstr ""
  1652. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1653. #: apt-cache.8.xml:1
  1654. msgid ""
  1655. "Make <literal>pkgnames</literal> print all names, including virtual packages "
  1656. "and missing dependencies. Configuration Item: "
  1657. "<literal>APT::Cache::AllNames</literal>."
  1658. msgstr ""
  1659. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1660. #: apt-cache.8.xml:1
  1661. msgid ""
  1662. "Make <literal>depends</literal> and <literal>rdepends</literal> recursive so "
  1663. "that all packages mentioned are printed once. Configuration Item: "
  1664. "<literal>APT::Cache::RecurseDepends</literal>."
  1665. msgstr ""
  1666. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1667. #: apt-cache.8.xml:1
  1668. msgid ""
  1669. "Limit the output of <literal>depends</literal> and "
  1670. "<literal>rdepends</literal> to packages which are currently installed. "
  1671. "Configuration Item: <literal>APT::Cache::Installed</literal>."
  1672. msgstr ""
  1673. #. type: Content of: <refentry><refsect1><para>
  1674. #: apt-cache.8.xml:1
  1675. msgid "&apt-conf;, &sources-list;, &apt-get;"
  1676. msgstr ""
  1677. #. type: Content of: <refentry><refsect1><para>
  1678. #: apt-cache.8.xml:1
  1679. msgid ""
  1680. "<command>apt-cache</command> returns zero on normal operation, decimal 100 "
  1681. "on error."
  1682. msgstr ""
  1683. #. type: Content of: <refentry><refnamediv><refpurpose>
  1684. #: apt-key.8.xml:1
  1685. msgid "APT key management utility"
  1686. msgstr ""
  1687. #. type: Content of: <refentry><refsect1><para>
  1688. #: apt-key.8.xml:1
  1689. msgid ""
  1690. "<command>apt-key</command> is used to manage the list of keys used by apt to "
  1691. "authenticate packages. Packages which have been authenticated using these "
  1692. "keys will be considered trusted."
  1693. msgstr ""
  1694. #. type: Content of: <refentry><refsect1><title>
  1695. #: apt-key.8.xml:1
  1696. msgid "Commands"
  1697. msgstr ""
  1698. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1699. #: apt-key.8.xml:1
  1700. msgid ""
  1701. "Add a new key to the list of trusted keys. The key is read from the "
  1702. "filename given with the parameter &synopsis-param-filename; or if the "
  1703. "filename is <literal>-</literal> from standard input."
  1704. msgstr ""
  1705. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1706. #: apt-key.8.xml:1
  1707. msgid ""
  1708. "It is critical that keys added manually via <command>apt-key</command> are "
  1709. "verified to belong to the owner of the repositories they claim to be for "
  1710. "otherwise the &apt-secure; infrastructure is completely undermined."
  1711. msgstr ""
  1712. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1713. #: apt-key.8.xml:1
  1714. msgid "Remove a key from the list of trusted keys."
  1715. msgstr ""
  1716. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1717. #: apt-key.8.xml:1
  1718. msgid "Output the key &synopsis-param-keyid; to standard output."
  1719. msgstr ""
  1720. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1721. #: apt-key.8.xml:1
  1722. msgid "Output all trusted keys to standard output."
  1723. msgstr ""
  1724. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1725. #: apt-key.8.xml:1
  1726. msgid "List trusted keys."
  1727. msgstr ""
  1728. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1729. #: apt-key.8.xml:1
  1730. msgid "List fingerprints of trusted keys."
  1731. msgstr ""
  1732. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1733. #: apt-key.8.xml:1
  1734. msgid ""
  1735. "Pass advanced options to gpg. With <command>adv --recv-key</command> you can "
  1736. "e.g. download key from keyservers directly into the the trusted set of "
  1737. "keys. Note that there are <emphasis>no</emphasis> checks performed, so it is "
  1738. "easy to completely undermine the &apt-secure; infrastructure if used without "
  1739. "care."
  1740. msgstr ""
  1741. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1742. #: apt-key.8.xml:1
  1743. msgid ""
  1744. "Update the local keyring with the archive keyring and remove from the local "
  1745. "keyring the archive keys which are no longer valid. The archive keyring is "
  1746. "shipped in the <literal>archive-keyring</literal> package of your "
  1747. "distribution, e.g. the &keyring-package; package in &keyring-distro;."
  1748. msgstr ""
  1749. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1750. #: apt-key.8.xml:1
  1751. msgid ""
  1752. "Perform an update working similarly to the <command>update</command> command "
  1753. "above, but get the archive keyring from a URI instead and validate it "
  1754. "against a master key. This requires an installed &wget; and an APT build "
  1755. "configured to have a server to fetch from and a master keyring to validate. "
  1756. "APT in Debian does not support this command, relying on "
  1757. "<command>update</command> instead, but Ubuntu's APT does."
  1758. msgstr ""
  1759. #. type: Content of: <refentry><refsect1><title>
  1760. #: apt-key.8.xml:1 apt-mark.8.xml:1 apt-mark.8.xml:1 apt-cdrom.8.xml:1
  1761. msgid "Options"
  1762. msgstr ""
  1763. #. type: Content of: <refentry><refsect1><para>
  1764. #: apt-key.8.xml:1
  1765. msgid ""
  1766. "Note that options need to be defined before the commands described in the "
  1767. "previous section."
  1768. msgstr ""
  1769. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1770. #: apt-key.8.xml:1
  1771. msgid ""
  1772. "With this option it is possible to specify a particular keyring file the "
  1773. "command should operate on. The default is that a command is executed on the "
  1774. "<filename>trusted.gpg</filename> file as well as on all parts in the "
  1775. "<filename>trusted.gpg.d</filename> directory, though "
  1776. "<filename>trusted.gpg</filename> is the primary keyring which means that "
  1777. "e.g. new keys are added to this one."
  1778. msgstr ""
  1779. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
  1780. #: apt-key.8.xml:1
  1781. msgid "<filename>/etc/apt/trustdb.gpg</filename>"
  1782. msgstr ""
  1783. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1784. #: apt-key.8.xml:1
  1785. msgid "Local trust database of archive keys."
  1786. msgstr ""
  1787. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
  1788. #: apt-key.8.xml:1
  1789. msgid "&keyring-filename;"
  1790. msgstr ""
  1791. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1792. #: apt-key.8.xml:1
  1793. msgid "Keyring of &keyring-distro; archive trusted keys."
  1794. msgstr ""
  1795. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
  1796. #: apt-key.8.xml:1
  1797. msgid "&keyring-removed-filename;"
  1798. msgstr ""
  1799. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1800. #: apt-key.8.xml:1
  1801. msgid "Keyring of &keyring-distro; archive removed trusted keys."
  1802. msgstr ""
  1803. #. type: Content of: <refentry><refsect1><para>
  1804. #: apt-key.8.xml:1
  1805. msgid "&apt-get;, &apt-secure;"
  1806. msgstr ""
  1807. #. type: Content of: <refentry><refnamediv><refpurpose>
  1808. #: apt-mark.8.xml:1
  1809. msgid "show, set and unset various settings for a package"
  1810. msgstr ""
  1811. #. type: Content of: <refentry><refsect1><para>
  1812. #: apt-mark.8.xml:1
  1813. msgid ""
  1814. "<command>apt-mark</command> can be used as a unified front-end to set "
  1815. "various settings for a package, such as marking a package as being "
  1816. "automatically/manually installed or changing <command>dpkg</command> "
  1817. "selections such as hold, install, deinstall and purge which are respected "
  1818. "e.g. by <command>apt-get dselect-upgrade</command> or "
  1819. "<command>aptitude</command>."
  1820. msgstr ""
  1821. #. type: Content of: <refentry><refsect1><title>
  1822. #: apt-mark.8.xml:1
  1823. msgid "Automatically and Manually Installed Packages"
  1824. msgstr ""
  1825. #. type: Content of: <refentry><refsect1><para>
  1826. #: apt-mark.8.xml:1
  1827. msgid ""
  1828. "When you request that a package is installed, and as a result other packages "
  1829. "are installed to satisfy its dependencies, the dependencies are marked as "
  1830. "being automatically installed, while the package you installed explicitly is "
  1831. "marked as manually installed. Once an automatically installed package is no "
  1832. "longer depended on by any manually installed package it is considered no "
  1833. "longer needed and e.g. <command>apt-get</command> or "
  1834. "<command>aptitude</command> will at least suggest removing them."
  1835. msgstr ""
  1836. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1837. #: apt-mark.8.xml:1
  1838. msgid ""
  1839. "<literal>auto</literal> is used to mark a package as being automatically "
  1840. "installed, which will cause the package to be removed when no more manually "
  1841. "installed packages depend on this package."
  1842. msgstr ""
  1843. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1844. #: apt-mark.8.xml:1
  1845. msgid ""
  1846. "<literal>manual</literal> is used to mark a package as being manually "
  1847. "installed, which will prevent the package from being automatically removed "
  1848. "if no other packages depend on it."
  1849. msgstr ""
  1850. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1851. #: apt-mark.8.xml:1
  1852. msgid ""
  1853. "<literal>showauto</literal> is used to print a list of automatically "
  1854. "installed packages with each package on a new line. All automatically "
  1855. "installed packages will be listed if no package is given. If packages are "
  1856. "given only those which are automatically installed will be shown."
  1857. msgstr ""
  1858. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1859. #: apt-mark.8.xml:1
  1860. msgid ""
  1861. "<literal>showmanual</literal> can be used in the same way as "
  1862. "<literal>showauto</literal> except that it will print a list of manually "
  1863. "installed packages instead."
  1864. msgstr ""
  1865. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  1866. #: apt-mark.8.xml:1
  1867. msgid ""
  1868. "Read/Write package stats from the filename given with the parameter "
  1869. "&synopsis-param-filename; instead of from the default location, which is "
  1870. "<filename>extended_status</filename> in the directory defined by the "
  1871. "Configuration Item: <literal>Dir::State</literal>."
  1872. msgstr ""
  1873. #. type: Content of: <refentry><refsect1><title>
  1874. #: apt-mark.8.xml:1
  1875. msgid "Prevent Changes for a Package"
  1876. msgstr ""
  1877. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1878. #: apt-mark.8.xml:1
  1879. msgid ""
  1880. "<literal>hold</literal> is used to mark a package as held back, which will "
  1881. "prevent the package from being automatically installed, upgraded or removed."
  1882. msgstr ""
  1883. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1884. #: apt-mark.8.xml:1
  1885. msgid ""
  1886. "<literal>unhold</literal> is used to cancel a previously set hold on a "
  1887. "package to allow all actions again."
  1888. msgstr ""
  1889. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1890. #: apt-mark.8.xml:1
  1891. msgid ""
  1892. "<literal>showhold</literal> is used to print a list of packages on hold in "
  1893. "the same way as for the other show commands."
  1894. msgstr ""
  1895. #. type: Content of: <refentry><refsect1><title>
  1896. #: apt-mark.8.xml:1
  1897. msgid "Schedule Packages for Install, Remove and Purge"
  1898. msgstr ""
  1899. #. type: Content of: <refentry><refsect1><para>
  1900. #: apt-mark.8.xml:1
  1901. msgid ""
  1902. "Some front-ends like <command>apt-get dselect-upgrade</command> can be used "
  1903. "to apply previously scheduled changes to the install state of packages. Such "
  1904. "changes can be scheduled with the <option>install</option>, "
  1905. "<option>remove</option> (also known as <option>deinstall</option>) and "
  1906. "<option>purge</option> commands. Packages with a specific selection can be "
  1907. "displayed with <option>showinstall</option>, <option>showremove</option> and "
  1908. "<option>showpurge</option> respectively. More information about these so "
  1909. "called dpkg selections can be found in &dpkg;."
  1910. msgstr ""
  1911. #. type: Content of: <refentry><refsect1><para>
  1912. #: apt-mark.8.xml:1
  1913. msgid ""
  1914. "<command>apt-mark</command> returns zero on normal operation, non-zero on "
  1915. "error."
  1916. msgstr ""
  1917. #. type: Content of: <refentry><refnamediv><refpurpose>
  1918. #: apt-secure.8.xml:1
  1919. msgid "Archive authentication support for APT"
  1920. msgstr ""
  1921. #. type: Content of: <refentry><refsect1><para>
  1922. #: apt-secure.8.xml:1
  1923. msgid ""
  1924. "Starting with version 0.6, <command>APT</command> contains code that does "
  1925. "signature checking of the Release file for all repositories. This ensures "
  1926. "that data like packages in the archive can't be modified by people who have "
  1927. "no access to the Release file signing key."
  1928. msgstr ""
  1929. #. type: Content of: <refentry><refsect1><para>
  1930. #: apt-secure.8.xml:1
  1931. msgid ""
  1932. "If an archive has an unsigned Release file or no Release file at all current "
  1933. "APT versions will raise a warning in <command>update</command> operations "
  1934. "and front-ends like <command>apt-get</command> will require explicit "
  1935. "confirmation if an installation request includes a package from such an "
  1936. "unauthenticated archive."
  1937. msgstr ""
  1938. #. type: Content of: <refentry><refsect1><para>
  1939. #: apt-secure.8.xml:1
  1940. msgid ""
  1941. "In the future APT will refuse to work with unauthenticated repositories by "
  1942. "default until support for them is removed entirely. Users have the option to "
  1943. "opt-in to this behavior already by setting the configuration option "
  1944. "<option>Acquire::AllowInsecureRepositories</option> to "
  1945. "<literal>false</literal>."
  1946. msgstr ""
  1947. #. type: Content of: <refentry><refsect1><para>
  1948. #: apt-secure.8.xml:1
  1949. msgid ""
  1950. "Note: All APT-based package management front-ends like &apt-get;, &aptitude; "
  1951. "and &synaptic; support this authentication feature, so this manpage uses "
  1952. "<literal>APT</literal> to refer to them all for simplicity only."
  1953. msgstr ""
  1954. #. type: Content of: <refentry><refsect1><title>
  1955. #: apt-secure.8.xml:1
  1956. msgid "Trusted Repositories"
  1957. msgstr ""
  1958. #. type: Content of: <refentry><refsect1><para>
  1959. #: apt-secure.8.xml:1
  1960. msgid ""
  1961. "The chain of trust from an APT archive to the end user is made up of several "
  1962. "steps. <command>apt-secure</command> is the last step in this chain; "
  1963. "trusting an archive does not mean that you trust its packages not to contain "
  1964. "malicious code, but means that you trust the archive maintainer. It's the "
  1965. "archive maintainer's responsibility to ensure that the archive's integrity "
  1966. "is preserved."
  1967. msgstr ""
  1968. #. type: Content of: <refentry><refsect1><para>
  1969. #: apt-secure.8.xml:1
  1970. msgid ""
  1971. "apt-secure does not review signatures at a package level. If you require "
  1972. "tools to do this you should look at <command>debsig-verify</command> and "
  1973. "<command>debsign</command> (provided in the debsig-verify and devscripts "
  1974. "packages respectively)."
  1975. msgstr ""
  1976. #. type: Content of: <refentry><refsect1><para>
  1977. #: apt-secure.8.xml:1
  1978. msgid ""
  1979. "The chain of trust in Debian starts (e.g.) when a maintainer uploads a new "
  1980. "package or a new version of a package to the Debian archive. In order to "
  1981. "become effective, this upload needs to be signed by a key contained in one "
  1982. "of the Debian package maintainer keyrings (available in the debian-keyring "
  1983. "package). Maintainers' keys are signed by other maintainers following "
  1984. "pre-established procedures to ensure the identity of the key holder. Similar "
  1985. "procedures exist in all Debian-based distributions."
  1986. msgstr ""
  1987. #. type: Content of: <refentry><refsect1><para>
  1988. #: apt-secure.8.xml:1
  1989. msgid ""
  1990. "Once the uploaded package is verified and included in the archive, the "
  1991. "maintainer signature is stripped off, and checksums of the package are "
  1992. "computed and put in the Packages file. The checksums of all of the Packages "
  1993. "files are then computed and put into the Release file. The Release file is "
  1994. "then signed by the archive key for this &keyring-distro; release, and "
  1995. "distributed alongside the packages and the Packages files on "
  1996. "&keyring-distro; mirrors. The keys are in the &keyring-distro; archive "
  1997. "keyring available in the &keyring-package; package."
  1998. msgstr ""
  1999. #. type: Content of: <refentry><refsect1><para>
  2000. #: apt-secure.8.xml:1
  2001. msgid ""
  2002. "End users can check the signature of the Release file, extract a checksum of "
  2003. "a package from it and compare it with the checksum of the package they "
  2004. "downloaded by hand - or rely on APT doing this automatically."
  2005. msgstr ""
  2006. #. type: Content of: <refentry><refsect1><para>
  2007. #: apt-secure.8.xml:1
  2008. msgid ""
  2009. "Notice that this is distinct from checking signatures on a per package "
  2010. "basis. It is designed to prevent two possible attacks:"
  2011. msgstr ""
  2012. #. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
  2013. #: apt-secure.8.xml:1
  2014. msgid ""
  2015. "<literal>Network \"man in the middle\" attacks</literal>. Without signature "
  2016. "checking, malicious agents can introduce themselves into the package "
  2017. "download process and provide malicious software either by controlling a "
  2018. "network element (router, switch, etc.) or by redirecting traffic to a rogue "
  2019. "server (through ARP or DNS spoofing attacks)."
  2020. msgstr ""
  2021. #. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
  2022. #: apt-secure.8.xml:1
  2023. msgid ""
  2024. "<literal>Mirror network compromise</literal>. Without signature checking, a "
  2025. "malicious agent can compromise a mirror host and modify the files in it to "
  2026. "propagate malicious software to all users downloading packages from that "
  2027. "host."
  2028. msgstr ""
  2029. #. type: Content of: <refentry><refsect1><para>
  2030. #: apt-secure.8.xml:1
  2031. msgid ""
  2032. "However, it does not defend against a compromise of the master server itself "
  2033. "(which signs the packages) or against a compromise of the key used to sign "
  2034. "the Release files. In any case, this mechanism can complement a per-package "
  2035. "signature."
  2036. msgstr ""
  2037. #. type: Content of: <refentry><refsect1><title>
  2038. #: apt-secure.8.xml:1
  2039. msgid "User Configuration"
  2040. msgstr ""
  2041. #. type: Content of: <refentry><refsect1><para>
  2042. #: apt-secure.8.xml:1
  2043. msgid ""
  2044. "<command>apt-key</command> is the program that manages the list of keys used "
  2045. "by APT to trust repositories. It can be used to add or remove keys as well "
  2046. "as list the trusted keys. Limiting which key(s) are able to sign which "
  2047. "archive is possible via the <option>Signed-By</option> in &sources-list;."
  2048. msgstr ""
  2049. #. type: Content of: <refentry><refsect1><para>
  2050. #: apt-secure.8.xml:1
  2051. msgid ""
  2052. "Note that a default installation already contains all keys to securely "
  2053. "acquire packages from the default repositories, so fiddling with "
  2054. "<command>apt-key</command> is only needed if third-party repositories are "
  2055. "added."
  2056. msgstr ""
  2057. #. type: Content of: <refentry><refsect1><para>
  2058. #: apt-secure.8.xml:1
  2059. msgid ""
  2060. "In order to add a new key you need to first download it (you should make "
  2061. "sure you are using a trusted communication channel when retrieving it), add "
  2062. "it with <command>apt-key</command> and then run <command>apt-get "
  2063. "update</command> so that apt can download and verify the "
  2064. "<filename>InRelease</filename> or <filename>Release.gpg</filename> files "
  2065. "from the archives you have configured."
  2066. msgstr ""
  2067. #. type: Content of: <refentry><refsect1><title>
  2068. #: apt-secure.8.xml:1
  2069. msgid "Archive Configuration"
  2070. msgstr ""
  2071. #. type: Content of: <refentry><refsect1><para>
  2072. #: apt-secure.8.xml:1
  2073. msgid ""
  2074. "If you want to provide archive signatures in an archive under your "
  2075. "maintenance you have to:"
  2076. msgstr ""
  2077. #. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
  2078. #: apt-secure.8.xml:1
  2079. msgid ""
  2080. "<emphasis>Create a toplevel Release file</emphasis>, if it does not exist "
  2081. "already. You can do this by running <command>apt-ftparchive "
  2082. "release</command> (provided in apt-utils)."
  2083. msgstr ""
  2084. #. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
  2085. #: apt-secure.8.xml:1
  2086. msgid ""
  2087. "<emphasis>Sign it</emphasis>. You can do this by running <command>gpg "
  2088. "--clearsign -o InRelease Release</command> and <command>gpg -abs -o "
  2089. "Release.gpg Release</command>."
  2090. msgstr ""
  2091. #. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
  2092. #: apt-secure.8.xml:1
  2093. msgid ""
  2094. "<emphasis>Publish the key fingerprint</emphasis>, so that your users will "
  2095. "know what key they need to import in order to authenticate the files in the "
  2096. "archive. It is best to ship your key in its own keyring package like "
  2097. "&keyring-distro; does with &keyring-package; to be able to distribute "
  2098. "updates and key transitions automatically later."
  2099. msgstr ""
  2100. #. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
  2101. #: apt-secure.8.xml:1
  2102. msgid ""
  2103. "<emphasis>Provide instructions on how to add your archive and "
  2104. "key</emphasis>. If your users can't acquire your key securely the chain of "
  2105. "trust described above is broken. How you can help users add your key "
  2106. "depends on your archive and target audience ranging from having your keyring "
  2107. "package included in another archive users already have configured (like the "
  2108. "default repositories of their distribution) to leveraging the web of trust."
  2109. msgstr ""
  2110. #. type: Content of: <refentry><refsect1><para>
  2111. #: apt-secure.8.xml:1
  2112. msgid ""
  2113. "Whenever the contents of the archive change (new packages are added or "
  2114. "removed) the archive maintainer has to follow the first two steps outlined "
  2115. "above."
  2116. msgstr ""
  2117. #. type: Content of: <refentry><refsect1><para>
  2118. #: apt-secure.8.xml:1
  2119. msgid ""
  2120. "&apt-conf;, &apt-get;, &sources-list;, &apt-key;, &apt-ftparchive;, "
  2121. "&debsign;, &debsig-verify;, &gpg;"
  2122. msgstr ""
  2123. #. type: Content of: <refentry><refsect1><para>
  2124. #: apt-secure.8.xml:1
  2125. msgid ""
  2126. "For more background information you might want to review the <ulink "
  2127. "url=\"https://www.debian.org/doc/manuals/securing-debian-howto/ch7\">Debian "
  2128. "Security Infrastructure</ulink> chapter of the Securing Debian Manual (also "
  2129. "available in the harden-doc package) and the <ulink "
  2130. "url=\"http://www.cryptnet.net/fdp/crypto/strong_distro.html\" >Strong "
  2131. "Distribution HOWTO</ulink> by V. Alex Brennen."
  2132. msgstr ""
  2133. #. type: Content of: <refentry><refsect1><title>
  2134. #: apt-secure.8.xml:1
  2135. msgid "Manpage Authors"
  2136. msgstr ""
  2137. #. type: Content of: <refentry><refsect1><para>
  2138. #: apt-secure.8.xml:1
  2139. msgid ""
  2140. "This man-page is based on the work of Javier Fernández-Sanguino Peña, Isaac "
  2141. "Jones, Colin Walters, Florian Weimer and Michael Vogt."
  2142. msgstr ""
  2143. #. type: Content of: <refentry><refnamediv><refpurpose>
  2144. #: apt-cdrom.8.xml:1
  2145. msgid "APT CD-ROM management utility"
  2146. msgstr ""
  2147. #. type: Content of: <refentry><refsect1><para>
  2148. #: apt-cdrom.8.xml:1
  2149. msgid ""
  2150. "<command>apt-cdrom</command> is used to add a new CD-ROM to APT's list of "
  2151. "available sources. <command>apt-cdrom</command> takes care of determining "
  2152. "the structure of the disc as well as correcting for several possible "
  2153. "mis-burns and verifying the index files."
  2154. msgstr ""
  2155. #. type: Content of: <refentry><refsect1><para>
  2156. #: apt-cdrom.8.xml:1
  2157. msgid ""
  2158. "It is necessary to use <command>apt-cdrom</command> to add CDs to the APT "
  2159. "system; it cannot be done by hand. Furthermore each disc in a multi-CD set "
  2160. "must be inserted and scanned separately to account for possible mis-burns."
  2161. msgstr ""
  2162. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2163. #: apt-cdrom.8.xml:1
  2164. msgid ""
  2165. "<literal>add</literal> is used to add a new disc to the source list. It will "
  2166. "unmount the CD-ROM device, prompt for a disc to be inserted and then proceed "
  2167. "to scan it and copy the index files. If the disc does not have a proper "
  2168. "<filename>.disk</filename> directory you will be prompted for a descriptive "
  2169. "title."
  2170. msgstr ""
  2171. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2172. #: apt-cdrom.8.xml:1
  2173. msgid ""
  2174. "APT uses a CD-ROM ID to track which disc is currently in the drive and "
  2175. "maintains a database of these IDs in "
  2176. "<filename>&statedir;/cdroms.list</filename>"
  2177. msgstr ""
  2178. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2179. #: apt-cdrom.8.xml:1
  2180. msgid ""
  2181. "A debugging tool to report the identity of the current disc as well as the "
  2182. "stored file name"
  2183. msgstr ""
  2184. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2185. #: apt-cdrom.8.xml:1
  2186. msgid ""
  2187. "Do not try to auto-detect the CD-ROM path. Usually combined with the "
  2188. "<option>--cdrom</option> option. Configuration Item: "
  2189. "<literal>Acquire::cdrom::AutoDetect</literal>."
  2190. msgstr ""
  2191. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2192. #: apt-cdrom.8.xml:1
  2193. msgid ""
  2194. "Mount point; specify the location to mount the CD-ROM. This mount point must "
  2195. "be listed in <filename>/etc/fstab</filename> and properly configured. "
  2196. "Configuration Item: <literal>Acquire::cdrom::mount</literal>."
  2197. msgstr ""
  2198. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2199. #: apt-cdrom.8.xml:1
  2200. msgid ""
  2201. "Rename a disc; change the label of a disc or override the disc's given "
  2202. "label. This option will cause <command>apt-cdrom</command> to prompt for a "
  2203. "new label. Configuration Item: <literal>APT::CDROM::Rename</literal>."
  2204. msgstr ""
  2205. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2206. #: apt-cdrom.8.xml:1
  2207. msgid ""
  2208. "No mounting; prevent <command>apt-cdrom</command> from mounting and "
  2209. "unmounting the mount point. Configuration Item: "
  2210. "<literal>APT::CDROM::NoMount</literal>."
  2211. msgstr ""
  2212. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2213. #: apt-cdrom.8.xml:1
  2214. msgid ""
  2215. "Fast Copy; Assume the package files are valid and do not check every "
  2216. "package. This option should be used only if <command>apt-cdrom</command> has "
  2217. "been run on this disc before and did not detect any errors. Configuration "
  2218. "Item: <literal>APT::CDROM::Fast</literal>."
  2219. msgstr ""
  2220. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2221. #: apt-cdrom.8.xml:1
  2222. msgid ""
  2223. "Thorough Package Scan; This option may be needed with some old Debian "
  2224. "1.1/1.2 discs that have Package files in strange places. It takes much "
  2225. "longer to scan the CD but will pick them all up."
  2226. msgstr ""
  2227. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2228. #: apt-cdrom.8.xml:1
  2229. msgid ""
  2230. "No Changes; Do not change the &sources-list; file and do not write index "
  2231. "files. Everything is still checked however. Configuration Item: "
  2232. "<literal>APT::CDROM::NoAct</literal>."
  2233. msgstr ""
  2234. #. type: Content of: <refentry><refsect1><para>
  2235. #: apt-cdrom.8.xml:1
  2236. msgid "&apt-conf;, &apt-get;, &sources-list;"
  2237. msgstr ""
  2238. #. type: Content of: <refentry><refsect1><para>
  2239. #: apt-cdrom.8.xml:1
  2240. msgid ""
  2241. "<command>apt-cdrom</command> returns zero on normal operation, decimal 100 "
  2242. "on error."
  2243. msgstr ""
  2244. #. type: Content of: <refentry><refnamediv><refpurpose>
  2245. #: apt-config.8.xml:1
  2246. msgid "APT Configuration Query program"
  2247. msgstr ""
  2248. #. type: Content of: <refentry><refsect1><para>
  2249. #: apt-config.8.xml:1
  2250. msgid ""
  2251. "<command>apt-config</command> is an internal program used by various "
  2252. "portions of the APT suite to provide consistent configurability. It accesses "
  2253. "the main configuration file <filename>/etc/apt/apt.conf</filename> in a "
  2254. "manner that is easy to use for scripted applications."
  2255. msgstr ""
  2256. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2257. #: apt-config.8.xml:1
  2258. msgid ""
  2259. "shell is used to access the configuration information from a shell "
  2260. "script. It is given pairs of arguments, the first being a shell variable and "
  2261. "the second the configuration value to query. As output it lists shell "
  2262. "assignment commands for each value present. In a shell script it should be "
  2263. "used as follows:"
  2264. msgstr ""
  2265. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><informalexample><programlisting>
  2266. #: apt-config.8.xml:1
  2267. #, no-wrap
  2268. msgid ""
  2269. "OPTS=\"-f\"\n"
  2270. "RES=`apt-config shell OPTS MyApp::options`\n"
  2271. "eval $RES\n"
  2272. msgstr ""
  2273. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2274. #: apt-config.8.xml:1
  2275. msgid ""
  2276. "This will set the shell environment variable $OPTS to the value of "
  2277. "MyApp::options with a default of <option>-f</option>."
  2278. msgstr ""
  2279. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2280. #: apt-config.8.xml:1
  2281. msgid ""
  2282. "The configuration item may be postfixed with a /[fdbi]. f returns file "
  2283. "names, d returns directories, b returns true or false and i returns an "
  2284. "integer. Each of the returns is normalized and verified internally."
  2285. msgstr ""
  2286. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2287. #: apt-config.8.xml:1
  2288. msgid "Just show the contents of the configuration space."
  2289. msgstr ""
  2290. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2291. #: apt-config.8.xml:1
  2292. msgid ""
  2293. "Include options which have an empty value. This is the default, so use "
  2294. "--no-empty to remove them from the output."
  2295. msgstr ""
  2296. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option><replaceable>
  2297. #: apt-config.8.xml:1
  2298. msgid "&percnt;f &#x0022;&percnt;v&#x0022;;&percnt;n"
  2299. msgstr ""
  2300. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2301. #: apt-config.8.xml:1
  2302. msgid ""
  2303. "Defines the output of each config option. &percnt;t will be replaced with "
  2304. "its individual name, &percnt;f with its full hierarchical name and &percnt;v "
  2305. "with its value. Use uppercase letters and special characters in the value "
  2306. "will be encoded to ensure that it can e.g. be safely used in a quoted-string "
  2307. "as defined by RFC822. Additionally &percnt;n will be replaced by a newline, "
  2308. "and &percnt;N by a tab. A &percnt; can be printed by using &percnt;&percnt;."
  2309. msgstr ""
  2310. #. type: Content of: <refentry><refsect1><para>
  2311. #: apt-config.8.xml:1 apt-extracttemplates.1.xml:1 apt-sortpkgs.1.xml:1
  2312. #: apt-ftparchive.1.xml:1
  2313. msgid "&apt-conf;"
  2314. msgstr ""
  2315. #. type: Content of: <refentry><refsect1><para>
  2316. #: apt-config.8.xml:1
  2317. msgid ""
  2318. "<command>apt-config</command> returns zero on normal operation, decimal 100 "
  2319. "on error."
  2320. msgstr ""
  2321. #. type: Content of: <refentry><refentryinfo><author><contrib>
  2322. #: apt.conf.5.xml:1
  2323. msgid "Initial documentation of Debug::*."
  2324. msgstr ""
  2325. #. type: Content of: <refentry><refentryinfo><author><email>
  2326. #: apt.conf.5.xml:1
  2327. msgid "dburrows@debian.org"
  2328. msgstr ""
  2329. #. type: Content of: <refentry><refmeta><manvolnum>
  2330. #: apt.conf.5.xml:1 apt_preferences.5.xml:1 sources.list.5.xml:1
  2331. msgid "5"
  2332. msgstr ""
  2333. #. type: Content of: <refentry><refnamediv><refpurpose>
  2334. #: apt.conf.5.xml:1
  2335. msgid "Configuration file for APT"
  2336. msgstr ""
  2337. #. type: Content of: <refentry><refsect1><para>
  2338. #: apt.conf.5.xml:1
  2339. msgid ""
  2340. "<filename>/etc/apt/apt.conf</filename> is the main configuration file shared "
  2341. "by all the tools in the APT suite of tools, though it is by no means the "
  2342. "only place options can be set. The suite also shares a common command line "
  2343. "parser to provide a uniform environment."
  2344. msgstr ""
  2345. #. type: Content of: <refentry><refsect1><orderedlist><para>
  2346. #: apt.conf.5.xml:1
  2347. msgid ""
  2348. "When an APT tool starts up it will read the configuration files in the "
  2349. "following order:"
  2350. msgstr ""
  2351. #. type: Content of: <refentry><refsect1><orderedlist><listitem><para>
  2352. #: apt.conf.5.xml:1
  2353. msgid ""
  2354. "the file specified by the <envar>APT_CONFIG</envar> environment variable (if "
  2355. "any)"
  2356. msgstr ""
  2357. #. type: Content of: <refentry><refsect1><orderedlist><listitem><para>
  2358. #: apt.conf.5.xml:1
  2359. msgid ""
  2360. "all files in <literal>Dir::Etc::Parts</literal> in alphanumeric ascending "
  2361. "order which have either no or \"<literal>conf</literal>\" as filename "
  2362. "extension and which only contain alphanumeric, hyphen (-), underscore (_) "
  2363. "and period (.) characters. Otherwise APT will print a notice that it has "
  2364. "ignored a file, unless that file matches a pattern in the "
  2365. "<literal>Dir::Ignore-Files-Silently</literal> configuration list - in which "
  2366. "case it will be silently ignored."
  2367. msgstr ""
  2368. #. type: Content of: <refentry><refsect1><orderedlist><listitem><para>
  2369. #: apt.conf.5.xml:1
  2370. msgid "the main configuration file specified by <literal>Dir::Etc::main</literal>"
  2371. msgstr ""
  2372. #. type: Content of: <refentry><refsect1><orderedlist><listitem><para>
  2373. #: apt.conf.5.xml:1
  2374. msgid ""
  2375. "all options set in the binary specific configuration subtree are moved into "
  2376. "the root of the tree."
  2377. msgstr ""
  2378. #. type: Content of: <refentry><refsect1><orderedlist><listitem><para>
  2379. #: apt.conf.5.xml:1
  2380. msgid ""
  2381. "the command line options are applied to override the configuration "
  2382. "directives or to load even more configuration files."
  2383. msgstr ""
  2384. #. type: Content of: <refentry><refsect1><title>
  2385. #: apt.conf.5.xml:1
  2386. msgid "Syntax"
  2387. msgstr ""
  2388. #. type: Content of: <refentry><refsect1><para>
  2389. #: apt.conf.5.xml:1
  2390. msgid ""
  2391. "The configuration file is organized in a tree with options organized into "
  2392. "functional groups. Option specification is given with a double colon "
  2393. "notation; for instance <literal>APT::Get::Assume-Yes</literal> is an option "
  2394. "within the APT tool group, for the Get tool. Options do not inherit from "
  2395. "their parent groups."
  2396. msgstr ""
  2397. #. type: Content of: <refentry><refsect1><para>
  2398. #: apt.conf.5.xml:1
  2399. msgid ""
  2400. "Syntactically the configuration language is modeled after what the ISC tools "
  2401. "such as bind and dhcp use. Lines starting with <literal>//</literal> are "
  2402. "treated as comments (ignored), as well as all text between "
  2403. "<literal>/*</literal> and <literal>*/</literal>, just like C/C++ comments. "
  2404. "Each line is of the form <literal>APT::Get::Assume-Yes \"true\";</literal>. "
  2405. "The quotation marks and trailing semicolon are required. The value must be "
  2406. "on one line, and there is no kind of string concatenation. Values must not "
  2407. "include backslashes or extra quotation marks. Option names are made up of "
  2408. "alphanumeric characters and the characters \"/-:._+\". A new scope can be "
  2409. "opened with curly braces, like this:"
  2410. msgstr ""
  2411. #. type: Content of: <refentry><refsect1><informalexample><programlisting>
  2412. #: apt.conf.5.xml:1
  2413. #, no-wrap
  2414. msgid ""
  2415. "APT {\n"
  2416. " Get {\n"
  2417. " Assume-Yes \"true\";\n"
  2418. " Fix-Broken \"true\";\n"
  2419. " };\n"
  2420. "};\n"
  2421. msgstr ""
  2422. #. type: Content of: <refentry><refsect1><para>
  2423. #: apt.conf.5.xml:1
  2424. msgid ""
  2425. "with newlines placed to make it more readable. Lists can be created by "
  2426. "opening a scope and including a single string enclosed in quotes followed by "
  2427. "a semicolon. Multiple entries can be included, separated by a semicolon."
  2428. msgstr ""
  2429. #. type: Content of: <refentry><refsect1><informalexample><programlisting>
  2430. #: apt.conf.5.xml:1
  2431. #, no-wrap
  2432. msgid "DPkg::Pre-Install-Pkgs {\"/usr/sbin/dpkg-preconfigure --apt\";};\n"
  2433. msgstr ""
  2434. #. type: Content of: <refentry><refsect1><para>
  2435. #: apt.conf.5.xml:1
  2436. msgid ""
  2437. "In general the sample configuration file &configureindex; is a good guide "
  2438. "for how it should look."
  2439. msgstr ""
  2440. #. type: Content of: <refentry><refsect1><para>
  2441. #: apt.conf.5.xml:1
  2442. msgid ""
  2443. "Case is not significant in names of configuration items, so in the previous "
  2444. "example you could use <literal>dpkg::pre-install-pkgs</literal>."
  2445. msgstr ""
  2446. #. type: Content of: <refentry><refsect1><para>
  2447. #: apt.conf.5.xml:1
  2448. msgid ""
  2449. "Names for the configuration items are optional if a list is defined as can "
  2450. "be seen in the <literal>DPkg::Pre-Install-Pkgs</literal> example above. If "
  2451. "you don't specify a name a new entry will simply add a new option to the "
  2452. "list. If you specify a name you can override the option in the same way as "
  2453. "any other option by reassigning a new value to the option."
  2454. msgstr ""
  2455. #. type: Content of: <refentry><refsect1><para>
  2456. #: apt.conf.5.xml:1
  2457. msgid ""
  2458. "Two special commands are defined: <literal>#include</literal> (which is "
  2459. "deprecated and not supported by alternative implementations) and "
  2460. "<literal>#clear</literal>. <literal>#include</literal> will include the "
  2461. "given file, unless the filename ends in a slash, in which case the whole "
  2462. "directory is included. <literal>#clear</literal> is used to erase a part of "
  2463. "the configuration tree. The specified element and all its descendants are "
  2464. "erased. (Note that these lines also need to end with a semicolon.)"
  2465. msgstr ""
  2466. #. type: Content of: <refentry><refsect1><para>
  2467. #: apt.conf.5.xml:1
  2468. msgid ""
  2469. "The <literal>#clear</literal> command is the only way to delete a list or a "
  2470. "complete scope. Reopening a scope (or using the syntax described below with "
  2471. "an appended <literal>::</literal>) will <emphasis>not</emphasis> override "
  2472. "previously written entries. Options can only be overridden by addressing a "
  2473. "new value to them - lists and scopes can't be overridden, only cleared."
  2474. msgstr ""
  2475. #. type: Content of: <refentry><refsect1><para>
  2476. #: apt.conf.5.xml:1
  2477. msgid ""
  2478. "All of the APT tools take an -o option which allows an arbitrary "
  2479. "configuration directive to be specified on the command line. The syntax is a "
  2480. "full option name (<literal>APT::Get::Assume-Yes</literal> for instance) "
  2481. "followed by an equals sign then the new value of the option. To append a new "
  2482. "element to a list, add a trailing <literal>::</literal> to the name of the "
  2483. "list. (As you might suspect, the scope syntax can't be used on the command "
  2484. "line.)"
  2485. msgstr ""
  2486. #. type: Content of: <refentry><refsect1><para>
  2487. #: apt.conf.5.xml:1
  2488. msgid ""
  2489. "Note that appending items to a list using <literal>::</literal> only works "
  2490. "for one item per line, and that you should not use it in combination with "
  2491. "the scope syntax (which adds <literal>::</literal> implicitly). Using both "
  2492. "syntaxes together will trigger a bug which some users unfortunately depend "
  2493. "on: an option with the unusual name \"<literal>::</literal>\" which acts "
  2494. "like every other option with a name. This introduces many problems; for one "
  2495. "thing, users who write multiple lines in this <emphasis>wrong</emphasis> "
  2496. "syntax in the hope of appending to a list will achieve the opposite, as only "
  2497. "the last assignment for this option \"<literal>::</literal>\" will be "
  2498. "used. Future versions of APT will raise errors and stop working if they "
  2499. "encounter this misuse, so please correct such statements now while APT "
  2500. "doesn't explicitly complain about them."
  2501. msgstr ""
  2502. #. type: Content of: <refentry><refsect1><title>
  2503. #: apt.conf.5.xml:1
  2504. msgid "The APT Group"
  2505. msgstr ""
  2506. #. type: Content of: <refentry><refsect1><para>
  2507. #: apt.conf.5.xml:1
  2508. msgid ""
  2509. "This group of options controls general APT behavior as well as holding the "
  2510. "options for all of the tools."
  2511. msgstr ""
  2512. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2513. #: apt.conf.5.xml:1
  2514. msgid ""
  2515. "System Architecture; sets the architecture to use when fetching files and "
  2516. "parsing package lists. The internal default is the architecture apt was "
  2517. "compiled for."
  2518. msgstr ""
  2519. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2520. #: apt.conf.5.xml:1
  2521. msgid ""
  2522. "All Architectures the system supports. For instance, CPUs implementing the "
  2523. "<literal>amd64</literal> (also called <literal>x86-64</literal>) "
  2524. "instruction set are also able to execute binaries compiled for the "
  2525. "<literal>i386</literal> (<literal>x86</literal>) instruction set. This list "
  2526. "is used when fetching files and parsing package lists. The initial default "
  2527. "is always the system's native architecture "
  2528. "(<literal>APT::Architecture</literal>), and foreign architectures are added "
  2529. "to the default list when they are registered via <command>dpkg "
  2530. "--add-architecture</command>."
  2531. msgstr ""
  2532. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2533. #: apt.conf.5.xml:1
  2534. msgid ""
  2535. "List of all build profiles enabled for build-dependency resolution, without "
  2536. "the \"<literal>profile.</literal>\" namespace prefix. By default this list "
  2537. "is empty. The <envar>DEB_BUILD_PROFILES</envar> as used by "
  2538. "&dpkg-buildpackage; overrides the list notation."
  2539. msgstr ""
  2540. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2541. #: apt.conf.5.xml:1
  2542. msgid ""
  2543. "Default release to install packages from if more than one version is "
  2544. "available. Contains release name, codename or release version. Examples: "
  2545. "'stable', 'testing', 'unstable', '&stable-codename;', '&testing-codename;', "
  2546. "'4.0', '5.0*'. See also &apt-preferences;."
  2547. msgstr ""
  2548. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2549. #: apt.conf.5.xml:1
  2550. msgid ""
  2551. "Ignore held packages; this global option causes the problem resolver to "
  2552. "ignore held packages in its decision making."
  2553. msgstr ""
  2554. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2555. #: apt.conf.5.xml:1
  2556. msgid ""
  2557. "Defaults to on. When turned on the autoclean feature will remove any "
  2558. "packages which can no longer be downloaded from the cache. If turned off "
  2559. "then packages that are locally installed are also excluded from cleaning - "
  2560. "but note that APT provides no direct means to reinstall them."
  2561. msgstr ""
  2562. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2563. #: apt.conf.5.xml:1
  2564. msgid ""
  2565. "Defaults to on, which will cause APT to install essential and important "
  2566. "packages as soon as possible in an install/upgrade operation, in order to "
  2567. "limit the effect of a failing &dpkg; call. If this option is disabled, APT "
  2568. "treats an important package in the same way as an extra package: between the "
  2569. "unpacking of the package A and its configuration there can be many other "
  2570. "unpack or configuration calls for other unrelated packages B, C etc. If "
  2571. "these cause the &dpkg; call to fail (e.g. because package B's maintainer "
  2572. "scripts generate an error), this results in a system state in which package "
  2573. "A is unpacked but unconfigured - so any package depending on A is now no "
  2574. "longer guaranteed to work, as its dependency on A is no longer satisfied."
  2575. msgstr ""
  2576. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2577. #: apt.conf.5.xml:1
  2578. msgid ""
  2579. "The immediate configuration marker is also applied in the potentially "
  2580. "problematic case of circular dependencies, since a dependency with the "
  2581. "immediate flag is equivalent to a Pre-Dependency. In theory this allows APT "
  2582. "to recognise a situation in which it is unable to perform immediate "
  2583. "configuration, abort, and suggest to the user that the option should be "
  2584. "temporarily deactivated in order to allow the operation to proceed. Note "
  2585. "the use of the word \"theory\" here; in the real world this problem has "
  2586. "rarely been encountered, in non-stable distribution versions, and was caused "
  2587. "by wrong dependencies of the package in question or by a system in an "
  2588. "already broken state; so you should not blindly disable this option, as the "
  2589. "scenario mentioned above is not the only problem it can help to prevent in "
  2590. "the first place."
  2591. msgstr ""
  2592. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2593. #: apt.conf.5.xml:1
  2594. msgid ""
  2595. "Before a big operation like <literal>dist-upgrade</literal> is run with this "
  2596. "option disabled you should try to explicitly <literal>install</literal> the "
  2597. "package APT is unable to configure immediately; but please make sure you "
  2598. "also report your problem to your distribution and to the APT team with the "
  2599. "buglink below, so they can work on improving or correcting the upgrade "
  2600. "process."
  2601. msgstr ""
  2602. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2603. #: apt.conf.5.xml:1
  2604. msgid ""
  2605. "Never enable this option unless you <emphasis>really</emphasis> know what "
  2606. "you are doing. It permits APT to temporarily remove an essential package to "
  2607. "break a Conflicts/Conflicts or Conflicts/Pre-Depends loop between two "
  2608. "essential packages. <emphasis>Such a loop should never exist and is a grave "
  2609. "bug</emphasis>. This option will work if the essential packages are not "
  2610. "<command>tar</command>, <command>gzip</command>, <command>libc</command>, "
  2611. "<command>dpkg</command>, <command>dash</command> or anything that those "
  2612. "packages depend on."
  2613. msgstr ""
  2614. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2615. #: apt.conf.5.xml:1
  2616. msgid ""
  2617. "APT uses since version 0.7.26 a resizable memory mapped cache file to store "
  2618. "the available information. <literal>Cache-Start</literal> acts as a hint of "
  2619. "the size the cache will grow to, and is therefore the amount of memory APT "
  2620. "will request at startup. The default value is 20971520 bytes (~20 MB). Note "
  2621. "that this amount of space needs to be available for APT; otherwise it will "
  2622. "likely fail ungracefully, so for memory restricted devices this value should "
  2623. "be lowered while on systems with a lot of configured sources it should be "
  2624. "increased. <literal>Cache-Grow</literal> defines in bytes with the default "
  2625. "of 1048576 (~1 MB) how much the cache size will be increased in the event "
  2626. "the space defined by <literal>Cache-Start</literal> is not enough. This "
  2627. "value will be applied again and again until either the cache is big enough "
  2628. "to store all information or the size of the cache reaches the "
  2629. "<literal>Cache-Limit</literal>. The default of "
  2630. "<literal>Cache-Limit</literal> is 0 which stands for no limit. If "
  2631. "<literal>Cache-Grow</literal> is set to 0 the automatic growth of the cache "
  2632. "is disabled."
  2633. msgstr ""
  2634. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2635. #: apt.conf.5.xml:1
  2636. msgid "Defines which packages are considered essential build dependencies."
  2637. msgstr ""
  2638. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2639. #: apt.conf.5.xml:1
  2640. msgid ""
  2641. "The Get subsection controls the &apt-get; tool; please see its documentation "
  2642. "for more information about the options here."
  2643. msgstr ""
  2644. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2645. #: apt.conf.5.xml:1
  2646. msgid ""
  2647. "The Cache subsection controls the &apt-cache; tool; please see its "
  2648. "documentation for more information about the options here."
  2649. msgstr ""
  2650. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2651. #: apt.conf.5.xml:1
  2652. msgid ""
  2653. "The CDROM subsection controls the &apt-cdrom; tool; please see its "
  2654. "documentation for more information about the options here."
  2655. msgstr ""
  2656. #. type: Content of: <refentry><refsect1><title>
  2657. #: apt.conf.5.xml:1
  2658. msgid "The Acquire Group"
  2659. msgstr ""
  2660. #. type: Content of: <refentry><refsect1><para>
  2661. #: apt.conf.5.xml:1
  2662. msgid ""
  2663. "The <literal>Acquire</literal> group of options controls the download of "
  2664. "packages as well as the various \"acquire methods\" responsible for the "
  2665. "download itself (see also &sources-list;)."
  2666. msgstr ""
  2667. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2668. #: apt.conf.5.xml:1
  2669. msgid ""
  2670. "Security related option defaulting to true, as giving a Release file's "
  2671. "validation an expiration date prevents replay attacks over a long timescale, "
  2672. "and can also for example help users to identify mirrors that are no longer "
  2673. "updated - but the feature depends on the correctness of the clock on the "
  2674. "user system. Archive maintainers are encouraged to create Release files with "
  2675. "the <literal>Valid-Until</literal> header, but if they don't or a stricter "
  2676. "value is desired the <literal>Max-ValidTime</literal> option below can be "
  2677. "used. The <option>Check-Valid-Until</option> option of &sources-list; "
  2678. "entries should be preferred to disable the check selectively instead of "
  2679. "using this global override."
  2680. msgstr ""
  2681. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2682. #: apt.conf.5.xml:1
  2683. msgid ""
  2684. "Maximum time (in seconds) after its creation (as indicated by the "
  2685. "<literal>Date</literal> header) that the <filename>Release</filename> file "
  2686. "should be considered valid. If the Release file itself includes a "
  2687. "<literal>Valid-Until</literal> header the earlier date of the two is used as "
  2688. "the expiration date. The default value is <literal>0</literal> which stands "
  2689. "for \"valid forever\". Archive specific settings can be made by appending "
  2690. "the label of the archive to the option name. Preferably, the same can be "
  2691. "achieved for specific &sources-list; entries by using the "
  2692. "<option>Valid-Until-Max</option> option there."
  2693. msgstr ""
  2694. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2695. #: apt.conf.5.xml:1
  2696. msgid ""
  2697. "Minimum time (in seconds) after its creation (as indicated by the "
  2698. "<literal>Date</literal> header) that the <filename>Release</filename> file "
  2699. "should be considered valid. Use this if you need to use a seldom updated "
  2700. "(local) mirror of a more frequently updated archive with a "
  2701. "<literal>Valid-Until</literal> header instead of completely disabling the "
  2702. "expiration date checking. Archive specific settings can and should be used "
  2703. "by appending the label of the archive to the option name. Preferably, the "
  2704. "same can be achieved for specific &sources-list; entries by using the "
  2705. "<option>Valid-Until-Min</option> option there."
  2706. msgstr ""
  2707. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2708. #: apt.conf.5.xml:1
  2709. msgid ""
  2710. "Try to download deltas called <literal>PDiffs</literal> for indexes (like "
  2711. "<filename>Packages</filename> files) instead of downloading whole ones. True "
  2712. "by default. Preferably, this can be set for specific &sources-list; entries "
  2713. "or index files by using the <option>PDiffs</option> option there."
  2714. msgstr ""
  2715. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2716. #: apt.conf.5.xml:1
  2717. msgid ""
  2718. "Two sub-options to limit the use of PDiffs are also available: "
  2719. "<literal>FileLimit</literal> can be used to specify a maximum number of "
  2720. "PDiff files should be downloaded to update a "
  2721. "file. <literal>SizeLimit</literal> on the other hand is the maximum "
  2722. "percentage of the size of all patches compared to the size of the targeted "
  2723. "file. If one of these limits is exceeded the complete file is downloaded "
  2724. "instead of the patches."
  2725. msgstr ""
  2726. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2727. #: apt.conf.5.xml:1
  2728. msgid ""
  2729. "Try to download indexes via an URI constructed from a hashsum of the "
  2730. "expected file rather than downloaded via a well-known stable filename. True "
  2731. "by default, but automatically disabled if the source indicates no support "
  2732. "for it. Usage can be forced with the special value \"force\". Preferably, "
  2733. "this can be set for specific &sources-list; entries or index files by using "
  2734. "the <option>By-Hash</option> option there."
  2735. msgstr ""
  2736. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2737. #: apt.conf.5.xml:1
  2738. msgid ""
  2739. "Queuing mode; <literal>Queue-Mode</literal> can be one of "
  2740. "<literal>host</literal> or <literal>access</literal> which determines how "
  2741. "APT parallelizes outgoing connections. <literal>host</literal> means that "
  2742. "one connection per target host will be opened, <literal>access</literal> "
  2743. "means that one connection per URI type will be opened."
  2744. msgstr ""
  2745. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2746. #: apt.conf.5.xml:1
  2747. msgid ""
  2748. "Number of retries to perform. If this is non-zero APT will retry failed "
  2749. "files the given number of times."
  2750. msgstr ""
  2751. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2752. #: apt.conf.5.xml:1
  2753. msgid ""
  2754. "Use symlinks for source archives. If set to true then source archives will "
  2755. "be symlinked when possible instead of copying. True is the default."
  2756. msgstr ""
  2757. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2758. #: apt.conf.5.xml:1
  2759. msgid ""
  2760. "<literal>http::Proxy</literal> sets the default proxy to use for HTTP "
  2761. "URIs. It is in the standard form of "
  2762. "<literal>http://[[user][:pass]@]host[:port]/</literal>. Per host proxies "
  2763. "can also be specified by using the form "
  2764. "<literal>http::Proxy::&lt;host&gt;</literal> with the special keyword "
  2765. "<literal>DIRECT</literal> meaning to use no proxies. If no one of the above "
  2766. "settings is specified, <envar>http_proxy</envar> environment variable will "
  2767. "be used."
  2768. msgstr ""
  2769. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2770. #: apt.conf.5.xml:1
  2771. msgid ""
  2772. "Three settings are provided for cache control with HTTP/1.1 compliant proxy "
  2773. "caches. <literal>No-Cache</literal> tells the proxy not to use its cached "
  2774. "response under any circumstances. <literal>Max-Age</literal> sets the "
  2775. "allowed maximum age (in seconds) of an index file in the cache of the "
  2776. "proxy. <literal>No-Store</literal> specifies that the proxy should not "
  2777. "store the requested archive files in its cache, which can be used to prevent "
  2778. "the proxy from polluting its cache with (big) .deb files."
  2779. msgstr ""
  2780. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2781. #: apt.conf.5.xml:1 apt.conf.5.xml:1
  2782. msgid ""
  2783. "The option <literal>timeout</literal> sets the timeout timer used by the "
  2784. "method; this value applies to the connection as well as the data timeout."
  2785. msgstr ""
  2786. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2787. #: apt.conf.5.xml:1
  2788. msgid ""
  2789. "The setting <literal>Acquire::http::Pipeline-Depth</literal> can be used to "
  2790. "enable HTTP pipelining (RFC 2616 section 8.1.2.2) which can be beneficial "
  2791. "e.g. on high-latency connections. It specifies how many requests are sent in "
  2792. "a pipeline. APT tries to detect and workaround misbehaving webservers and "
  2793. "proxies at runtime, but if you know that yours does not conform to the "
  2794. "HTTP/1.1 specification pipelining can be disabled by setting the value to "
  2795. "0. It is enabled by default with the value 10."
  2796. msgstr ""
  2797. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2798. #: apt.conf.5.xml:1
  2799. msgid ""
  2800. "<literal>Acquire::http::AllowRedirect</literal> controls whether APT will "
  2801. "follow redirects, which is enabled by default."
  2802. msgstr ""
  2803. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2804. #: apt.conf.5.xml:1
  2805. msgid ""
  2806. "The used bandwidth can be limited with "
  2807. "<literal>Acquire::http::Dl-Limit</literal> which accepts integer values in "
  2808. "kilobytes per second. The default value is 0 which deactivates the limit and "
  2809. "tries to use all available bandwidth. Note that this option implicitly "
  2810. "disables downloading from multiple servers at the same time."
  2811. msgstr ""
  2812. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2813. #: apt.conf.5.xml:1
  2814. msgid ""
  2815. "<literal>Acquire::http::User-Agent</literal> can be used to set a different "
  2816. "User-Agent for the http download method as some proxies allow access for "
  2817. "clients only if the client uses a known identifier."
  2818. msgstr ""
  2819. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2820. #: apt.conf.5.xml:1
  2821. msgid ""
  2822. "<literal>Acquire::http::Proxy-Auto-Detect</literal> can be used to specify "
  2823. "an external command to discover the http proxy to use. Apt expects the "
  2824. "command to output the proxy on stdout in the style "
  2825. "<literal>http://proxy:port/</literal>. This will override the generic "
  2826. "<literal>Acquire::http::Proxy</literal> but not any specific host proxy "
  2827. "configuration set via <literal>Acquire::http::Proxy::$HOST</literal>. See "
  2828. "the &squid-deb-proxy-client; package for an example implementation that uses "
  2829. "avahi. This option takes precedence over the legacy option name "
  2830. "<literal>ProxyAutoDetect</literal>."
  2831. msgstr ""
  2832. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2833. #: apt.conf.5.xml:1
  2834. msgid ""
  2835. "The <literal>Cache-control</literal>, <literal>Timeout</literal>, "
  2836. "<literal>AllowRedirect</literal>, <literal>Dl-Limit</literal> and "
  2837. "<literal>proxy</literal> options work for HTTPS URIs in the same way as for "
  2838. "the <literal>http</literal> method, and default to the same values if they "
  2839. "are not explicitly set. The <literal>Pipeline-Depth</literal> option is not "
  2840. "yet supported."
  2841. msgstr ""
  2842. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2843. #: apt.conf.5.xml:1
  2844. msgid ""
  2845. "<literal>CaInfo</literal> suboption specifies place of file that holds info "
  2846. "about trusted certificates. <literal>&lt;host&gt;::CaInfo</literal> is the "
  2847. "corresponding per-host option. <literal>Verify-Peer</literal> boolean "
  2848. "suboption determines whether or not the server's host certificate should be "
  2849. "verified against trusted certificates. "
  2850. "<literal>&lt;host&gt;::Verify-Peer</literal> is the corresponding per-host "
  2851. "option. <literal>Verify-Host</literal> boolean suboption determines whether "
  2852. "or not the server's hostname should be verified. "
  2853. "<literal>&lt;host&gt;::Verify-Host</literal> is the corresponding per-host "
  2854. "option. <literal>SslCert</literal> determines what certificate to use for "
  2855. "client authentication. <literal>&lt;host&gt;::SslCert</literal> is the "
  2856. "corresponding per-host option. <literal>SslKey</literal> determines what "
  2857. "private key to use for client "
  2858. "authentication. <literal>&lt;host&gt;::SslKey</literal> is the corresponding "
  2859. "per-host option. <literal>SslForceVersion</literal> overrides default SSL "
  2860. "version to use. It can contain either of the strings "
  2861. "'<literal>TLSv1</literal>' or '<literal>SSLv3</literal>'. "
  2862. "<literal>&lt;host&gt;::SslForceVersion</literal> is the corresponding "
  2863. "per-host option."
  2864. msgstr ""
  2865. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2866. #: apt.conf.5.xml:1
  2867. msgid ""
  2868. "<literal>ftp::Proxy</literal> sets the default proxy to use for FTP URIs. "
  2869. "It is in the standard form of "
  2870. "<literal>ftp://[[user][:pass]@]host[:port]/</literal>. Per host proxies can "
  2871. "also be specified by using the form "
  2872. "<literal>ftp::Proxy::&lt;host&gt;</literal> with the special keyword "
  2873. "<literal>DIRECT</literal> meaning to use no proxies. If no one of the above "
  2874. "settings is specified, <envar>ftp_proxy</envar> environment variable will be "
  2875. "used. To use an FTP proxy you will have to set the "
  2876. "<literal>ftp::ProxyLogin</literal> script in the configuration file. This "
  2877. "entry specifies the commands to send to tell the proxy server what to "
  2878. "connect to. Please see &configureindex; for an example of how to do "
  2879. "this. The substitution variables representing the corresponding URI "
  2880. "component are <literal>$(PROXY_USER)</literal>, "
  2881. "<literal>$(PROXY_PASS)</literal>, <literal>$(SITE_USER)</literal>, "
  2882. "<literal>$(SITE_PASS)</literal>, <literal>$(SITE)</literal> and "
  2883. "<literal>$(SITE_PORT)</literal>."
  2884. msgstr ""
  2885. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2886. #: apt.conf.5.xml:1
  2887. msgid ""
  2888. "Several settings are provided to control passive mode. Generally it is safe "
  2889. "to leave passive mode on; it works in nearly every environment. However, "
  2890. "some situations require that passive mode be disabled and port mode FTP used "
  2891. "instead. This can be done globally or for connections that go through a "
  2892. "proxy or for a specific host (see the sample config file for examples)."
  2893. msgstr ""
  2894. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2895. #: apt.conf.5.xml:1
  2896. msgid ""
  2897. "It is possible to proxy FTP over HTTP by setting the "
  2898. "<envar>ftp_proxy</envar> environment variable to an HTTP URL - see the "
  2899. "discussion of the http method above for syntax. You cannot set this in the "
  2900. "configuration file and it is not recommended to use FTP over HTTP due to its "
  2901. "low efficiency."
  2902. msgstr ""
  2903. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2904. #: apt.conf.5.xml:1
  2905. msgid ""
  2906. "The setting <literal>ForceExtended</literal> controls the use of RFC2428 "
  2907. "<literal>EPSV</literal> and <literal>EPRT</literal> commands. The default is "
  2908. "false, which means these commands are only used if the control connection is "
  2909. "IPv6. Setting this to true forces their use even on IPv4 connections. Note "
  2910. "that most FTP servers do not support RFC2428."
  2911. msgstr ""
  2912. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><literallayout>
  2913. #: apt.conf.5.xml:1
  2914. #, no-wrap
  2915. msgid "/cdrom/::Mount \"foo\";"
  2916. msgstr ""
  2917. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2918. #: apt.conf.5.xml:1
  2919. msgid ""
  2920. "For URIs using the <literal>cdrom</literal> method, the only configurable "
  2921. "option is the mount point, <literal>cdrom::Mount</literal>, which must be "
  2922. "the mount point for the CD-ROM (or DVD, or whatever) drive as specified in "
  2923. "<filename>/etc/fstab</filename>. It is possible to provide alternate mount "
  2924. "and unmount commands if your mount point cannot be listed in the fstab. The "
  2925. "syntax is to put <placeholder type=\"literallayout\" id=\"0\"/> within the "
  2926. "<literal>cdrom</literal> block. It is important to have the trailing slash. "
  2927. "Unmount commands can be specified using UMount."
  2928. msgstr ""
  2929. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2930. #: apt.conf.5.xml:1
  2931. msgid ""
  2932. "For GPGV URIs the only configurable option is "
  2933. "<literal>gpgv::Options</literal>, which passes additional parameters to "
  2934. "gpgv."
  2935. msgstr ""
  2936. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><synopsis>
  2937. #: apt.conf.5.xml:1
  2938. #, no-wrap
  2939. msgid ""
  2940. "Acquire::CompressionTypes::<replaceable>FileExtension</replaceable> "
  2941. "\"<replaceable>Methodname</replaceable>\";"
  2942. msgstr ""
  2943. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2944. #: apt.conf.5.xml:1
  2945. msgid ""
  2946. "List of compression types which are understood by the acquire methods. "
  2947. "Files like <filename>Packages</filename> can be available in various "
  2948. "compression formats. By default the acquire methods can decompress "
  2949. "<command>bzip2</command>, <command>lzma</command> and "
  2950. "<command>gzip</command> compressed files; with this setting more formats can "
  2951. "be added on the fly or the used method can be changed. The syntax for this "
  2952. "is: <placeholder type=\"synopsis\" id=\"0\"/>"
  2953. msgstr ""
  2954. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><synopsis>
  2955. #: apt.conf.5.xml:1
  2956. #, no-wrap
  2957. msgid "Acquire::CompressionTypes::Order:: \"gz\";"
  2958. msgstr ""
  2959. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><synopsis>
  2960. #: apt.conf.5.xml:1
  2961. #, no-wrap
  2962. msgid "Acquire::CompressionTypes::Order { \"lzma\"; \"gz\"; };"
  2963. msgstr ""
  2964. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2965. #: apt.conf.5.xml:1
  2966. msgid ""
  2967. "Also, the <literal>Order</literal> subgroup can be used to define in which "
  2968. "order the acquire system will try to download the compressed files. The "
  2969. "acquire system will try the first and proceed with the next compression type "
  2970. "in this list on error, so to prefer one over the other type simply add the "
  2971. "preferred type first - default types not already added will be implicitly "
  2972. "appended to the end of the list, so e.g. <placeholder type=\"synopsis\" "
  2973. "id=\"0\"/> can be used to prefer <command>gzip</command> compressed files "
  2974. "over <command>bzip2</command> and <command>lzma</command>. If "
  2975. "<command>lzma</command> should be preferred over <command>gzip</command> and "
  2976. "<command>bzip2</command> the configure setting should look like this: "
  2977. "<placeholder type=\"synopsis\" id=\"1\"/> It is not needed to add "
  2978. "<literal>bz2</literal> to the list explicitly as it will be added "
  2979. "automatically."
  2980. msgstr ""
  2981. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><literallayout>
  2982. #: apt.conf.5.xml:1
  2983. #, no-wrap
  2984. msgid "Dir::Bin::bzip2 \"/bin/bzip2\";"
  2985. msgstr ""
  2986. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2987. #: apt.conf.5.xml:1
  2988. msgid ""
  2989. "Note that the "
  2990. "<literal>Dir::Bin::<replaceable>Methodname</replaceable></literal> will be "
  2991. "checked at run time. If this option has been set, the method will only be "
  2992. "used if this file exists; e.g. for the <literal>bzip2</literal> method (the "
  2993. "inbuilt) setting is: <placeholder type=\"literallayout\" id=\"0\"/> Note "
  2994. "also that list entries specified on the command line will be added at the "
  2995. "end of the list specified in the configuration files, but before the default "
  2996. "entries. To prefer a type in this case over the ones specified in the "
  2997. "configuration files you can set the option direct - not in list style. This "
  2998. "will not override the defined list; it will only prefix the list with this "
  2999. "type."
  3000. msgstr ""
  3001. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3002. #: apt.conf.5.xml:1
  3003. msgid ""
  3004. "The special type <literal>uncompressed</literal> can be used to give "
  3005. "uncompressed files a preference, but note that most archives don't provide "
  3006. "uncompressed files so this is mostly only useable for local mirrors."
  3007. msgstr ""
  3008. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3009. #: apt.conf.5.xml:1
  3010. msgid ""
  3011. "When downloading <literal>gzip</literal> compressed indexes (Packages, "
  3012. "Sources, or Translations), keep them gzip compressed locally instead of "
  3013. "unpacking them. This saves quite a lot of disk space at the expense of more "
  3014. "CPU requirements when building the local package caches. False by default."
  3015. msgstr ""
  3016. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3017. #: apt.conf.5.xml:1
  3018. msgid ""
  3019. "The Languages subsection controls which <filename>Translation</filename> "
  3020. "files are downloaded and in which order APT tries to display the "
  3021. "description-translations. APT will try to display the first available "
  3022. "description in the language which is listed first. Languages can be defined "
  3023. "with their short or long language codes. Note that not all archives provide "
  3024. "<filename>Translation</filename> files for every language - the long "
  3025. "language codes are especially rare."
  3026. msgstr ""
  3027. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><programlisting>
  3028. #: apt.conf.5.xml:1
  3029. #, no-wrap
  3030. msgid "Acquire::Languages { \"environment\"; \"de\"; \"en\"; \"none\"; \"fr\"; };"
  3031. msgstr ""
  3032. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3033. #: apt.conf.5.xml:1
  3034. msgid ""
  3035. "The default list includes \"environment\" and "
  3036. "\"en\". \"<literal>environment</literal>\" has a special meaning here: it "
  3037. "will be replaced at runtime with the language codes extracted from the "
  3038. "<literal>LC_MESSAGES</literal> environment variable. It will also ensure "
  3039. "that these codes are not included twice in the list. If "
  3040. "<literal>LC_MESSAGES</literal> is set to \"C\" only the "
  3041. "<filename>Translation-en</filename> file (if available) will be used. To "
  3042. "force APT to use no Translation file use the setting "
  3043. "<literal>Acquire::Languages=none</literal>. \"<literal>none</literal>\" is "
  3044. "another special meaning code which will stop the search for a suitable "
  3045. "<filename>Translation</filename> file. This tells APT to download these "
  3046. "translations too, without actually using them unless the environment "
  3047. "specifies the languages. So the following example configuration will result "
  3048. "in the order \"en, de\" in an English locale or \"de, en\" in a German "
  3049. "one. Note that \"fr\" is downloaded, but not used unless APT is used in a "
  3050. "French locale (where the order would be \"fr, de, en\"). <placeholder "
  3051. "type=\"programlisting\" id=\"0\"/>"
  3052. msgstr ""
  3053. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3054. #: apt.conf.5.xml:1
  3055. msgid ""
  3056. "Note: To prevent problems resulting from APT being executed in different "
  3057. "environments (e.g. by different users or by other programs) all Translation "
  3058. "files which are found in <filename>/var/lib/apt/lists/</filename> will be "
  3059. "added to the end of the list (after an implicit "
  3060. "\"<literal>none</literal>\")."
  3061. msgstr ""
  3062. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3063. #: apt.conf.5.xml:1
  3064. msgid "When downloading, force to use only the IPv4 protocol."
  3065. msgstr ""
  3066. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3067. #: apt.conf.5.xml:1
  3068. msgid "When downloading, force to use only the IPv6 protocol."
  3069. msgstr ""
  3070. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3071. #: apt.conf.5.xml:1
  3072. msgid ""
  3073. "The maximum file size of Release/Release.gpg/InRelease files. The default "
  3074. "is 10MB."
  3075. msgstr ""
  3076. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3077. #: apt.conf.5.xml:1
  3078. msgid ""
  3079. "This option controls if apt will use the DNS SRV server record as specified "
  3080. "in RFC 2782 to select an alternative server to connect to. The default is "
  3081. "\"true\"."
  3082. msgstr ""
  3083. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3084. #: apt.conf.5.xml:1
  3085. msgid ""
  3086. "Allow the update operation to load data files from a repository without a "
  3087. "trusted signature. If enabled this option no data files will be loaded and "
  3088. "the update operation fails with a error for this source. The default is "
  3089. "false for backward compatibility. This will be changed in the future."
  3090. msgstr ""
  3091. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3092. #: apt.conf.5.xml:1
  3093. msgid ""
  3094. "Allow that a repository that was previously gpg signed to become unsigned "
  3095. "durign a update operation. When there is no valid signature of a perviously "
  3096. "trusted repository apt will refuse the update. This option can be used to "
  3097. "override this protection. You almost certainly never want to enable "
  3098. "this. The default is false. Note that apt will still consider packages from "
  3099. "this source untrusted and warn about them if you try to install them."
  3100. msgstr ""
  3101. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
  3102. #: apt.conf.5.xml:1
  3103. msgid "scope"
  3104. msgstr ""
  3105. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3106. #: apt.conf.5.xml:1
  3107. msgid ""
  3108. "Acquiring changelogs can only be done if an URI is known from where to get "
  3109. "them. Preferable the Release file indicates this in a 'Changelogs' "
  3110. "field. If this isn't available the Label/Origin field of the Release file is "
  3111. "used to check if a "
  3112. "<literal>Acquire::Changelogs::URI::Label::<replaceable>LABEL</replaceable></literal> "
  3113. "or "
  3114. "<literal>Acquire::Changelogs::URI::Origin::<replaceable>ORIGIN</replaceable></literal> "
  3115. "option exists and if so this value is taken. The value in the Release file "
  3116. "can be overridden with "
  3117. "<literal>Acquire::Changelogs::URI::Override::Label::<replaceable>LABEL</replaceable></literal> "
  3118. "or "
  3119. "<literal>Acquire::Changelogs::URI::Override::Origin::<replaceable>ORIGIN</replaceable></literal>. "
  3120. "The value should be a normal URI to a text file, except that package "
  3121. "specific data is replaced with the placeholder "
  3122. "<literal>@CHANGEPATH@</literal>. The value for it is: 1. if the package is "
  3123. "from a component (e.g. <literal>main</literal>) this is the first part "
  3124. "otherwise it is omitted, 2. the first letter of source package name, except "
  3125. "if the source package name starts with '<literal>lib</literal>' in which "
  3126. "case it will be the first four letters. 3. The complete source package "
  3127. "name. 4. the complete name again and 5. the source version. The first (if "
  3128. "present), second, third and fourth part are separated by a slash "
  3129. "('<literal>/</literal>') and between the fourth and fifth part is an "
  3130. "underscore ('<literal>_</literal>'). The special value "
  3131. "'<literal>no</literal>' is available for this option indicating that this "
  3132. "source can't be used to acquire changelog files from. Another source will be "
  3133. "tried if available in this case."
  3134. msgstr ""
  3135. #. type: Content of: <refentry><refsect1><title>
  3136. #: apt.conf.5.xml:1
  3137. msgid "Binary specific configuration"
  3138. msgstr ""
  3139. #. type: Content of: <refentry><refsect1><para>
  3140. #: apt.conf.5.xml:1
  3141. msgid ""
  3142. "Especially with the introduction of the <command>apt</command> binary it can "
  3143. "be useful to set certain options only for a specific binary as even options "
  3144. "which look like they would effect only a certain binary like "
  3145. "<option>APT::Get::Show-Versions</option> effect <command>apt-get</command> "
  3146. "as well as <command>apt</command>."
  3147. msgstr ""
  3148. #. type: Content of: <refentry><refsect1><para>
  3149. #: apt.conf.5.xml:1
  3150. msgid ""
  3151. "Setting an option for a specific binary only can be achieved by setting the "
  3152. "option inside the "
  3153. "<option>Binary::<replaceable>specific-binary</replaceable></option> "
  3154. "scope. Setting the option <option>APT::Get::Show-Versions</option> for the "
  3155. "<command>apt</command> only can e.g. by done by setting "
  3156. "<option>Binary::apt::APT::Get::Show-Versions</option> instead."
  3157. msgstr ""
  3158. #. type: Content of: <refentry><refsect1><para>
  3159. #: apt.conf.5.xml:1
  3160. msgid ""
  3161. "Note that as seen in the DESCRIPTION section further above you can't set "
  3162. "binary-specific options on the commandline itself nor in configuration files "
  3163. "loaded via the commandline."
  3164. msgstr ""
  3165. #. type: Content of: <refentry><refsect1><title>
  3166. #: apt.conf.5.xml:1
  3167. msgid "Directories"
  3168. msgstr ""
  3169. #. type: Content of: <refentry><refsect1><para>
  3170. #: apt.conf.5.xml:1
  3171. msgid ""
  3172. "The <literal>Dir::State</literal> section has directories that pertain to "
  3173. "local state information. <literal>lists</literal> is the directory to place "
  3174. "downloaded package lists in and <literal>status</literal> is the name of the "
  3175. "&dpkg; status file. <literal>preferences</literal> is the name of the APT "
  3176. "<filename>preferences</filename> file. <literal>Dir::State</literal> "
  3177. "contains the default directory to prefix on all sub-items if they do not "
  3178. "start with <filename>/</filename> or <filename>./</filename>."
  3179. msgstr ""
  3180. #. type: Content of: <refentry><refsect1><para>
  3181. #: apt.conf.5.xml:1
  3182. msgid ""
  3183. "<literal>Dir::Cache</literal> contains locations pertaining to local cache "
  3184. "information, such as the two package caches <literal>srcpkgcache</literal> "
  3185. "and <literal>pkgcache</literal> as well as the location to place downloaded "
  3186. "archives, <literal>Dir::Cache::archives</literal>. Generation of caches can "
  3187. "be turned off by setting <literal>pkgcache</literal> or "
  3188. "<literal>srcpkgcache</literal> to <literal>\"\"</literal>. This will slow "
  3189. "down startup but save disk space. It is probably preferable to turn off the "
  3190. "pkgcache rather than the srcpkgcache. Like <literal>Dir::State</literal> "
  3191. "the default directory is contained in <literal>Dir::Cache</literal>"
  3192. msgstr ""
  3193. #. type: Content of: <refentry><refsect1><para>
  3194. #: apt.conf.5.xml:1
  3195. msgid ""
  3196. "<literal>Dir::Etc</literal> contains the location of configuration files, "
  3197. "<literal>sourcelist</literal> gives the location of the sourcelist and "
  3198. "<literal>main</literal> is the default configuration file (setting has no "
  3199. "effect, unless it is done from the config file specified by "
  3200. "<envar>APT_CONFIG</envar>)."
  3201. msgstr ""
  3202. #. type: Content of: <refentry><refsect1><para>
  3203. #: apt.conf.5.xml:1
  3204. msgid ""
  3205. "The <literal>Dir::Parts</literal> setting reads in all the config fragments "
  3206. "in lexical order from the directory specified. After this is done then the "
  3207. "main config file is loaded."
  3208. msgstr ""
  3209. #. type: Content of: <refentry><refsect1><para>
  3210. #: apt.conf.5.xml:1
  3211. msgid ""
  3212. "Binary programs are pointed to by "
  3213. "<literal>Dir::Bin</literal>. <literal>Dir::Bin::Methods</literal> specifies "
  3214. "the location of the method handlers and <literal>gzip</literal>, "
  3215. "<literal>bzip2</literal>, <literal>lzma</literal>, <literal>dpkg</literal>, "
  3216. "<literal>apt-get</literal> <literal>dpkg-source</literal> "
  3217. "<literal>dpkg-buildpackage</literal> and <literal>apt-cache</literal> "
  3218. "specify the location of the respective programs."
  3219. msgstr ""
  3220. #. type: Content of: <refentry><refsect1><para>
  3221. #: apt.conf.5.xml:1
  3222. msgid ""
  3223. "The configuration item <literal>RootDir</literal> has a special meaning. If "
  3224. "set, all paths will be relative to <literal>RootDir</literal>, "
  3225. "<emphasis>even paths that are specified absolutely</emphasis>. So, for "
  3226. "instance, if <literal>RootDir</literal> is set to "
  3227. "<filename>/tmp/staging</filename> and <literal>Dir::State::status</literal> "
  3228. "is set to <filename>/var/lib/dpkg/status</filename>, then the status file "
  3229. "will be looked up in <filename>/tmp/staging/var/lib/dpkg/status</filename>. "
  3230. "If you want to prefix only relative paths, set <literal>Dir</literal> "
  3231. "instead."
  3232. msgstr ""
  3233. #. type: Content of: <refentry><refsect1><para>
  3234. #: apt.conf.5.xml:1
  3235. msgid ""
  3236. "The <literal>Ignore-Files-Silently</literal> list can be used to specify "
  3237. "which files APT should silently ignore while parsing the files in the "
  3238. "fragment directories. Per default a file which end with "
  3239. "<literal>.disabled</literal>, <literal>~</literal>, <literal>.bak</literal> "
  3240. "or <literal>.dpkg-[a-z]+</literal> is silently ignored. As seen in the last "
  3241. "default value these patterns can use regular expression syntax."
  3242. msgstr ""
  3243. #. type: Content of: <refentry><refsect1><title>
  3244. #: apt.conf.5.xml:1
  3245. msgid "APT in DSelect"
  3246. msgstr ""
  3247. #. type: Content of: <refentry><refsect1><para>
  3248. #: apt.conf.5.xml:1
  3249. msgid ""
  3250. "When APT is used as a &dselect; method several configuration directives "
  3251. "control the default behavior. These are in the <literal>DSelect</literal> "
  3252. "section."
  3253. msgstr ""
  3254. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3255. #: apt.conf.5.xml:1
  3256. msgid ""
  3257. "Cache Clean mode; this value may be one of <literal>always</literal>, "
  3258. "<literal>prompt</literal>, <literal>auto</literal>, "
  3259. "<literal>pre-auto</literal> and <literal>never</literal>. "
  3260. "<literal>always</literal> and <literal>prompt</literal> will remove all "
  3261. "packages from the cache after upgrading, <literal>prompt</literal> (the "
  3262. "default) does so conditionally. <literal>auto</literal> removes only those "
  3263. "packages which are no longer downloadable (replaced with a new version for "
  3264. "instance). <literal>pre-auto</literal> performs this action before "
  3265. "downloading new packages."
  3266. msgstr ""
  3267. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3268. #: apt.conf.5.xml:1
  3269. msgid ""
  3270. "The contents of this variable are passed to &apt-get; as command line "
  3271. "options when it is run for the install phase."
  3272. msgstr ""
  3273. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3274. #: apt.conf.5.xml:1
  3275. msgid ""
  3276. "The contents of this variable are passed to &apt-get; as command line "
  3277. "options when it is run for the update phase."
  3278. msgstr ""
  3279. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3280. #: apt.conf.5.xml:1
  3281. msgid ""
  3282. "If true the [U]pdate operation in &dselect; will always prompt to continue. "
  3283. "The default is to prompt only on error."
  3284. msgstr ""
  3285. #. type: Content of: <refentry><refsect1><title>
  3286. #: apt.conf.5.xml:1
  3287. msgid "How APT calls &dpkg;"
  3288. msgstr ""
  3289. #. type: Content of: <refentry><refsect1><para>
  3290. #: apt.conf.5.xml:1
  3291. msgid ""
  3292. "Several configuration directives control how APT invokes &dpkg;. These are "
  3293. "in the <literal>DPkg</literal> section."
  3294. msgstr ""
  3295. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3296. #: apt.conf.5.xml:1
  3297. msgid ""
  3298. "This is a list of options to pass to &dpkg;. The options must be specified "
  3299. "using the list notation and each list item is passed as a single argument to "
  3300. "&dpkg;."
  3301. msgstr ""
  3302. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3303. #: apt.conf.5.xml:1
  3304. msgid ""
  3305. "This is a list of shell commands to run before/after invoking &dpkg;. Like "
  3306. "<literal>options</literal> this must be specified in list notation. The "
  3307. "commands are invoked in order using <filename>/bin/sh</filename>; should any "
  3308. "fail APT will abort."
  3309. msgstr ""
  3310. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3311. #: apt.conf.5.xml:1
  3312. msgid ""
  3313. "This is a list of shell commands to run before invoking &dpkg;. Like "
  3314. "<literal>options</literal> this must be specified in list notation. The "
  3315. "commands are invoked in order using <filename>/bin/sh</filename>; should any "
  3316. "fail APT will abort. APT will pass the filenames of all .deb files it is "
  3317. "going to install to the commands, one per line on the requested file "
  3318. "descriptor, defaulting to standard input."
  3319. msgstr ""
  3320. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3321. #: apt.conf.5.xml:1
  3322. msgid ""
  3323. "Version 2 of this protocol sends more information through the requested file "
  3324. "descriptor: a line with the text <literal>VERSION 2</literal>, the APT "
  3325. "configuration space, and a list of package actions with filename and version "
  3326. "information."
  3327. msgstr ""
  3328. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3329. #: apt.conf.5.xml:1
  3330. msgid ""
  3331. "Each configuration directive line has the form "
  3332. "<literal>key=value</literal>. Special characters (equal signs, newlines, "
  3333. "nonprintable characters, quotation marks, and percent signs in "
  3334. "<literal>key</literal> and newlines, nonprintable characters, and percent "
  3335. "signs in <literal>value</literal>) are %-encoded. Lists are represented by "
  3336. "multiple <literal>key::=value</literal> lines with the same key. The "
  3337. "configuration section ends with a blank line."
  3338. msgstr ""
  3339. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3340. #: apt.conf.5.xml:1
  3341. msgid ""
  3342. "Package action lines consist of five fields in Version 2: package name "
  3343. "(without architecture qualification even if foreign), old version, direction "
  3344. "of version change (&lt; for upgrades, &gt; for downgrades, = for no change), "
  3345. "new version, action. The version fields are \"-\" for no version at all (for "
  3346. "example when installing a package for the first time; no version is treated "
  3347. "as earlier than any real version, so that is an upgrade, indicated as "
  3348. "<literal>- &lt; 1.23.4</literal>). The action field is \"**CONFIGURE**\" if "
  3349. "the package is being configured, \"**REMOVE**\" if it is being removed, or "
  3350. "the filename of a .deb file if it is being unpacked."
  3351. msgstr ""
  3352. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3353. #: apt.conf.5.xml:1
  3354. msgid ""
  3355. "In Version 3 after each version field follows the architecture of this "
  3356. "version, which is \"-\" if there is no version, and a field showing the "
  3357. "MultiArch type \"same\", \"foreign\", \"allowed\" or \"none\". Note that "
  3358. "\"none\" is an incorrect typename which is just kept to remain compatible, "
  3359. "it should be read as \"no\" and users are encouraged to support both."
  3360. msgstr ""
  3361. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3362. #: apt.conf.5.xml:1
  3363. msgid ""
  3364. "The version of the protocol to be used for the command "
  3365. "<literal><replaceable>cmd</replaceable></literal> can be chosen by setting "
  3366. "<literal>DPkg::Tools::options::<replaceable>cmd</replaceable>::Version</literal> "
  3367. "accordingly, the default being version 1. If APT isn't supporting the "
  3368. "requested version it will send the information in the highest version it has "
  3369. "support for instead."
  3370. msgstr ""
  3371. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3372. #: apt.conf.5.xml:1
  3373. msgid ""
  3374. "The file descriptor to be used to send the information can be requested with "
  3375. "<literal>DPkg::Tools::options::<replaceable>cmd</replaceable>::InfoFD</literal> "
  3376. "which defaults to <literal>0</literal> for standard input and is available "
  3377. "since version 0.9.11. Support for the option can be detected by looking for "
  3378. "the environment variable <envar>APT_HOOK_INFO_FD</envar> which contains the "
  3379. "number of the used file descriptor as a confirmation."
  3380. msgstr ""
  3381. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3382. #: apt.conf.5.xml:1
  3383. msgid ""
  3384. "APT chdirs to this directory before invoking &dpkg;, the default is "
  3385. "<filename>/</filename>."
  3386. msgstr ""
  3387. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3388. #: apt.conf.5.xml:1
  3389. msgid ""
  3390. "These options are passed to &dpkg-buildpackage; when compiling packages; the "
  3391. "default is to disable signing and produce all binaries."
  3392. msgstr ""
  3393. #. type: Content of: <refentry><refsect1><refsect2><title>
  3394. #: apt.conf.5.xml:1
  3395. msgid "dpkg trigger usage (and related options)"
  3396. msgstr ""
  3397. #. type: Content of: <refentry><refsect1><refsect2><para>
  3398. #: apt.conf.5.xml:1
  3399. msgid ""
  3400. "APT can call &dpkg; in such a way as to let it make aggressive use of "
  3401. "triggers over multiple calls of &dpkg;. Without further options &dpkg; will "
  3402. "use triggers once each time it runs. Activating these options can therefore "
  3403. "decrease the time needed to perform the install or upgrade. Note that it is "
  3404. "intended to activate these options per default in the future, but as it "
  3405. "drastically changes the way APT calls &dpkg; it needs a lot more testing. "
  3406. "<emphasis>These options are therefore currently experimental and should not "
  3407. "be used in production environments.</emphasis> It also breaks progress "
  3408. "reporting such that all front-ends will currently stay around half (or more) "
  3409. "of the time in the 100% state while it actually configures all packages."
  3410. msgstr ""
  3411. #. type: Content of: <refentry><refsect1><refsect2><para><literallayout>
  3412. #: apt.conf.5.xml:1
  3413. #, no-wrap
  3414. msgid ""
  3415. "DPkg::NoTriggers \"true\";\n"
  3416. "PackageManager::Configure \"smart\";\n"
  3417. "DPkg::ConfigurePending \"true\";\n"
  3418. "DPkg::TriggersPending \"true\";"
  3419. msgstr ""
  3420. #. type: Content of: <refentry><refsect1><refsect2><para>
  3421. #: apt.conf.5.xml:1
  3422. msgid ""
  3423. "Note that it is not guaranteed that APT will support these options or that "
  3424. "these options will not cause (big) trouble in the future. If you have "
  3425. "understand the current risks and problems with these options, but are brave "
  3426. "enough to help testing them, create a new configuration file and test a "
  3427. "combination of options. Please report any bugs, problems and improvements "
  3428. "you encounter and make sure to note which options you have used in your "
  3429. "reports. Asking &dpkg; for help could also be useful for debugging proposes, "
  3430. "see e.g. <command>dpkg --audit</command>. A defensive option combination "
  3431. "would be <placeholder type=\"literallayout\" id=\"0\"/>"
  3432. msgstr ""
  3433. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  3434. #: apt.conf.5.xml:1
  3435. msgid ""
  3436. "Add the no triggers flag to all &dpkg; calls (except the ConfigurePending "
  3437. "call). See &dpkg; if you are interested in what this actually means. In "
  3438. "short: &dpkg; will not run the triggers when this flag is present unless it "
  3439. "is explicitly called to do so in an extra call. Note that this option "
  3440. "exists (undocumented) also in older APT versions with a slightly different "
  3441. "meaning: Previously these option only append --no-triggers to the configure "
  3442. "calls to &dpkg; - now APT will also add this flag to the unpack and remove "
  3443. "calls."
  3444. msgstr ""
  3445. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  3446. #: apt.conf.5.xml:1
  3447. msgid ""
  3448. "Valid values are \"<literal>all</literal>\", \"<literal>smart</literal>\" "
  3449. "and \"<literal>no</literal>\". The default value is "
  3450. "\"<literal>all</literal>\", which causes APT to configure all packages. The "
  3451. "\"<literal>smart</literal>\" way is to configure only packages which need to "
  3452. "be configured before another package can be unpacked (Pre-Depends), and let "
  3453. "the rest be configured by &dpkg; with a call generated by the "
  3454. "ConfigurePending option (see below). On the other hand, "
  3455. "\"<literal>no</literal>\" will not configure anything, and totally relies on "
  3456. "&dpkg; for configuration (which at the moment will fail if a Pre-Depends is "
  3457. "encountered). Setting this option to any value other than "
  3458. "<literal>all</literal> will implicitly also activate the next option by "
  3459. "default, as otherwise the system could end in an unconfigured and "
  3460. "potentially unbootable state."
  3461. msgstr ""
  3462. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  3463. #: apt.conf.5.xml:1
  3464. msgid ""
  3465. "If this option is set APT will call <command>dpkg --configure "
  3466. "--pending</command> to let &dpkg; handle all required configurations and "
  3467. "triggers. This option is activated automatically per default if the previous "
  3468. "option is not set to <literal>all</literal>, but deactivating it could be "
  3469. "useful if you want to run APT multiple times in a row - e.g. in an "
  3470. "installer. In these sceneries you could deactivate this option in all but "
  3471. "the last run."
  3472. msgstr ""
  3473. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  3474. #: apt.conf.5.xml:1
  3475. msgid ""
  3476. "Useful for the <literal>smart</literal> configuration as a package which has "
  3477. "pending triggers is not considered as <literal>installed</literal>, and "
  3478. "&dpkg; treats them as <literal>unpacked</literal> currently which is a "
  3479. "showstopper for Pre-Dependencies (see debbugs #526774). Note that this will "
  3480. "process all triggers, not only the triggers needed to configure this "
  3481. "package."
  3482. msgstr ""
  3483. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para><literallayout>
  3484. #: apt.conf.5.xml:1
  3485. #, no-wrap
  3486. msgid ""
  3487. "OrderList::Score {\n"
  3488. "\tDelete 500;\n"
  3489. "\tEssential 200;\n"
  3490. "\tImmediate 10;\n"
  3491. "\tPreDepends 50;\n"
  3492. "};"
  3493. msgstr ""
  3494. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  3495. #: apt.conf.5.xml:1
  3496. msgid ""
  3497. "Essential packages (and their dependencies) should be configured immediately "
  3498. "after unpacking. It is a good idea to do this quite early in the upgrade "
  3499. "process as these configure calls also currently require "
  3500. "<literal>DPkg::TriggersPending</literal> which will run quite a few triggers "
  3501. "(which may not be needed). Essentials get per default a high score but the "
  3502. "immediate flag is relatively low (a package which has a Pre-Depends is rated "
  3503. "higher). These option and the others in the same group can be used to "
  3504. "change the scoring. The following example shows the settings with their "
  3505. "default values. <placeholder type=\"literallayout\" id=\"0\"/>"
  3506. msgstr ""
  3507. #. type: Content of: <refentry><refsect1><title>
  3508. #: apt.conf.5.xml:1
  3509. msgid "Periodic and Archives options"
  3510. msgstr ""
  3511. #. type: Content of: <refentry><refsect1><para>
  3512. #: apt.conf.5.xml:1
  3513. msgid ""
  3514. "<literal>APT::Periodic</literal> and <literal>APT::Archives</literal> groups "
  3515. "of options configure behavior of apt periodic updates, which is done by the "
  3516. "<literal>/etc/cron.daily/apt</literal> script. See the top of this script "
  3517. "for the brief documentation of these options."
  3518. msgstr ""
  3519. #. type: Content of: <refentry><refsect1><title>
  3520. #: apt.conf.5.xml:1
  3521. msgid "Debug options"
  3522. msgstr ""
  3523. #. type: Content of: <refentry><refsect1><para>
  3524. #: apt.conf.5.xml:1
  3525. msgid ""
  3526. "Enabling options in the <literal>Debug::</literal> section will cause "
  3527. "debugging information to be sent to the standard error stream of the program "
  3528. "utilizing the <literal>apt</literal> libraries, or enable special program "
  3529. "modes that are primarily useful for debugging the behavior of "
  3530. "<literal>apt</literal>. Most of these options are not interesting to a "
  3531. "normal user, but a few may be:"
  3532. msgstr ""
  3533. #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
  3534. #: apt.conf.5.xml:1
  3535. msgid ""
  3536. "<literal>Debug::pkgProblemResolver</literal> enables output about the "
  3537. "decisions made by <literal>dist-upgrade, upgrade, install, remove, "
  3538. "purge</literal>."
  3539. msgstr ""
  3540. #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
  3541. #: apt.conf.5.xml:1
  3542. msgid ""
  3543. "<literal>Debug::NoLocking</literal> disables all file locking. This can be "
  3544. "used to run some operations (for instance, <literal>apt-get -s "
  3545. "install</literal>) as a non-root user."
  3546. msgstr ""
  3547. #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
  3548. #: apt.conf.5.xml:1
  3549. msgid ""
  3550. "<literal>Debug::pkgDPkgPM</literal> prints out the actual command line each "
  3551. "time that <literal>apt</literal> invokes &dpkg;."
  3552. msgstr ""
  3553. #. TODO: provide a
  3554. #. motivating example, except I haven't a clue why you'd want
  3555. #. to do this.
  3556. #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
  3557. #: apt.conf.5.xml:1
  3558. msgid ""
  3559. "<literal>Debug::IdentCdrom</literal> disables the inclusion of statfs data "
  3560. "in CD-ROM IDs."
  3561. msgstr ""
  3562. #. type: Content of: <refentry><refsect1><para>
  3563. #: apt.conf.5.xml:1
  3564. msgid "A full list of debugging options to apt follows."
  3565. msgstr ""
  3566. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3567. #: apt.conf.5.xml:1
  3568. msgid "Print information related to accessing <literal>cdrom://</literal> sources."
  3569. msgstr ""
  3570. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3571. #: apt.conf.5.xml:1
  3572. msgid "Print information related to downloading packages using FTP."
  3573. msgstr ""
  3574. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3575. #: apt.conf.5.xml:1
  3576. msgid "Print information related to downloading packages using HTTP."
  3577. msgstr ""
  3578. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3579. #: apt.conf.5.xml:1
  3580. msgid "Print information related to downloading packages using HTTPS."
  3581. msgstr ""
  3582. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3583. #: apt.conf.5.xml:1
  3584. msgid ""
  3585. "Print information related to verifying cryptographic signatures using "
  3586. "<literal>gpg</literal>."
  3587. msgstr ""
  3588. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3589. #: apt.conf.5.xml:1
  3590. msgid ""
  3591. "Output information about the process of accessing collections of packages "
  3592. "stored on CD-ROMs."
  3593. msgstr ""
  3594. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3595. #: apt.conf.5.xml:1
  3596. msgid "Describes the process of resolving build-dependencies in &apt-get;."
  3597. msgstr ""
  3598. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3599. #: apt.conf.5.xml:1
  3600. msgid ""
  3601. "Output each cryptographic hash that is generated by the "
  3602. "<literal>apt</literal> libraries."
  3603. msgstr ""
  3604. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3605. #: apt.conf.5.xml:1
  3606. msgid ""
  3607. "Do not include information from <literal>statfs</literal>, namely the number "
  3608. "of used and free blocks on the CD-ROM filesystem, when generating an ID for "
  3609. "a CD-ROM."
  3610. msgstr ""
  3611. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3612. #: apt.conf.5.xml:1
  3613. msgid ""
  3614. "Disable all file locking. For instance, this will allow two instances of "
  3615. "<quote><literal>apt-get update</literal></quote> to run at the same time."
  3616. msgstr ""
  3617. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3618. #: apt.conf.5.xml:1
  3619. msgid "Log when items are added to or removed from the global download queue."
  3620. msgstr ""
  3621. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3622. #: apt.conf.5.xml:1
  3623. msgid ""
  3624. "Output status messages and errors related to verifying checksums and "
  3625. "cryptographic signatures of downloaded files."
  3626. msgstr ""
  3627. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3628. #: apt.conf.5.xml:1
  3629. msgid ""
  3630. "Output information about downloading and applying package index list diffs, "
  3631. "and errors relating to package index list diffs."
  3632. msgstr ""
  3633. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3634. #: apt.conf.5.xml:1
  3635. msgid ""
  3636. "Output information related to patching apt package lists when downloading "
  3637. "index diffs instead of full indices."
  3638. msgstr ""
  3639. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3640. #: apt.conf.5.xml:1
  3641. msgid "Log all interactions with the sub-processes that actually perform downloads."
  3642. msgstr ""
  3643. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3644. #: apt.conf.5.xml:1
  3645. msgid ""
  3646. "Log events related to the automatically-installed status of packages and to "
  3647. "the removal of unused packages."
  3648. msgstr ""
  3649. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3650. #: apt.conf.5.xml:1
  3651. msgid ""
  3652. "Generate debug messages describing which packages are being automatically "
  3653. "installed to resolve dependencies. This corresponds to the initial "
  3654. "auto-install pass performed in, e.g., <literal>apt-get install</literal>, "
  3655. "and not to the full <literal>apt</literal> dependency resolver; see "
  3656. "<literal>Debug::pkgProblemResolver</literal> for that."
  3657. msgstr ""
  3658. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3659. #: apt.conf.5.xml:1
  3660. msgid ""
  3661. "Generate debug messages describing which packages are marked as "
  3662. "keep/install/remove while the ProblemResolver does his work. Each addition "
  3663. "or deletion may trigger additional actions; they are shown indented two "
  3664. "additional spaces under the original entry. The format for each line is "
  3665. "<literal>MarkKeep</literal>, <literal>MarkDelete</literal> or "
  3666. "<literal>MarkInstall</literal> followed by <literal>package-name &lt;a.b.c "
  3667. "-&gt; d.e.f | x.y.z&gt; (section)</literal> where <literal>a.b.c</literal> "
  3668. "is the current version of the package, <literal>d.e.f</literal> is the "
  3669. "version considered for installation and <literal>x.y.z</literal> is a newer "
  3670. "version, but not considered for installation (because of a low pin "
  3671. "score). The later two can be omitted if there is none or if it is the same "
  3672. "as the installed version. <literal>section</literal> is the name of the "
  3673. "section the package appears in."
  3674. msgstr ""
  3675. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3676. #: apt.conf.5.xml:1
  3677. msgid ""
  3678. "When invoking &dpkg;, output the precise command line with which it is being "
  3679. "invoked, with arguments separated by a single space character."
  3680. msgstr ""
  3681. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3682. #: apt.conf.5.xml:1
  3683. msgid ""
  3684. "Output all the data received from &dpkg; on the status file descriptor and "
  3685. "any errors encountered while parsing it."
  3686. msgstr ""
  3687. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3688. #: apt.conf.5.xml:1
  3689. msgid ""
  3690. "Generate a trace of the algorithm that decides the order in which "
  3691. "<literal>apt</literal> should pass packages to &dpkg;."
  3692. msgstr ""
  3693. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3694. #: apt.conf.5.xml:1
  3695. msgid "Output status messages tracing the steps performed when invoking &dpkg;."
  3696. msgstr ""
  3697. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3698. #: apt.conf.5.xml:1
  3699. msgid "Output the priority of each package list on startup."
  3700. msgstr ""
  3701. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3702. #: apt.conf.5.xml:1
  3703. msgid ""
  3704. "Trace the execution of the dependency resolver (this applies only to what "
  3705. "happens when a complex dependency problem is encountered)."
  3706. msgstr ""
  3707. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3708. #: apt.conf.5.xml:1
  3709. msgid ""
  3710. "Display a list of all installed packages with their calculated score used by "
  3711. "the pkgProblemResolver. The description of the package is the same as "
  3712. "described in <literal>Debug::pkgDepCache::Marker</literal>"
  3713. msgstr ""
  3714. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3715. #: apt.conf.5.xml:1
  3716. msgid ""
  3717. "Print information about the vendors read from "
  3718. "<filename>/etc/apt/vendors.list</filename>."
  3719. msgstr ""
  3720. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3721. #: apt.conf.5.xml:1
  3722. msgid ""
  3723. "Display the external commands that are called by apt hooks. This includes "
  3724. "e.g. the config options <literal>DPkg::{Pre,Post}-Invoke</literal> or "
  3725. "<literal>APT::Update::{Pre,Post}-Invoke</literal>."
  3726. msgstr ""
  3727. #. type: Content of: <refentry><refsect1><title>
  3728. #: apt.conf.5.xml:1 apt_preferences.5.xml:1 sources.list.5.xml:1
  3729. #: apt-ftparchive.1.xml:1
  3730. msgid "Examples"
  3731. msgstr ""
  3732. #. type: Content of: <refentry><refsect1><para>
  3733. #: apt.conf.5.xml:1
  3734. msgid ""
  3735. "&configureindex; is a configuration file showing example values for all "
  3736. "possible options."
  3737. msgstr ""
  3738. #. ? reading apt.conf
  3739. #. type: Content of: <refentry><refsect1><para>
  3740. #: apt.conf.5.xml:1
  3741. msgid "&apt-cache;, &apt-config;, &apt-preferences;."
  3742. msgstr ""
  3743. #. type: Content of: <refentry><refnamediv><refpurpose>
  3744. #: apt_preferences.5.xml:1
  3745. msgid "Preference control file for APT"
  3746. msgstr ""
  3747. #. type: Content of: <refentry><refsect1><para>
  3748. #: apt_preferences.5.xml:1
  3749. msgid ""
  3750. "The APT preferences file <filename>/etc/apt/preferences</filename> and the "
  3751. "fragment files in the <filename>/etc/apt/preferences.d/</filename> folder "
  3752. "can be used to control which versions of packages will be selected for "
  3753. "installation."
  3754. msgstr ""
  3755. #. type: Content of: <refentry><refsect1><para>
  3756. #: apt_preferences.5.xml:1
  3757. msgid ""
  3758. "Several versions of a package may be available for installation when the "
  3759. "&sources-list; file contains references to more than one distribution (for "
  3760. "example, <literal>stable</literal> and <literal>testing</literal>). APT "
  3761. "assigns a priority to each version that is available. Subject to dependency "
  3762. "constraints, <command>apt-get</command> selects the version with the highest "
  3763. "priority for installation. The APT preferences override the priorities that "
  3764. "APT assigns to package versions by default, thus giving the user control "
  3765. "over which one is selected for installation."
  3766. msgstr ""
  3767. #. type: Content of: <refentry><refsect1><para>
  3768. #: apt_preferences.5.xml:1
  3769. msgid ""
  3770. "Several instances of the same version of a package may be available when the "
  3771. "&sources-list; file contains references to more than one source. In this "
  3772. "case <command>apt-get</command> downloads the instance listed earliest in "
  3773. "the &sources-list; file. The APT preferences do not affect the choice of "
  3774. "instance, only the choice of version."
  3775. msgstr ""
  3776. #. type: Content of: <refentry><refsect1><para>
  3777. #: apt_preferences.5.xml:1
  3778. msgid ""
  3779. "Preferences are a strong power in the hands of a system administrator but "
  3780. "they can become also their biggest nightmare if used without care! APT will "
  3781. "not question the preferences, so wrong settings can lead to uninstallable "
  3782. "packages or wrong decisions while upgrading packages. Even more problems "
  3783. "will arise if multiple distribution releases are mixed without a good "
  3784. "understanding of the following paragraphs. Packages included in a specific "
  3785. "release aren't tested in (and therefore don't always work as expected in) "
  3786. "older or newer releases, or together with other packages from different "
  3787. "releases. You have been warned."
  3788. msgstr ""
  3789. #. type: Content of: <refentry><refsect1><para>
  3790. #: apt_preferences.5.xml:1
  3791. msgid ""
  3792. "Note that the files in the <filename>/etc/apt/preferences.d</filename> "
  3793. "directory are parsed in alphanumeric ascending order and need to obey the "
  3794. "following naming convention: The files have either no or "
  3795. "\"<literal>pref</literal>\" as filename extension and only contain "
  3796. "alphanumeric, hyphen (-), underscore (_) and period (.) characters. "
  3797. "Otherwise APT will print a notice that it has ignored a file, unless that "
  3798. "file matches a pattern in the <literal>Dir::Ignore-Files-Silently</literal> "
  3799. "configuration list - in which case it will be silently ignored."
  3800. msgstr ""
  3801. #. type: Content of: <refentry><refsect1><refsect2><title>
  3802. #: apt_preferences.5.xml:1
  3803. msgid "APT's Default Priority Assignments"
  3804. msgstr ""
  3805. #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
  3806. #: apt_preferences.5.xml:1
  3807. #, no-wrap
  3808. msgid ""
  3809. "<command>apt-get install -t testing "
  3810. "<replaceable>some-package</replaceable></command>\n"
  3811. msgstr ""
  3812. #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
  3813. #: apt_preferences.5.xml:1
  3814. #, no-wrap
  3815. msgid "APT::Default-Release \"stable\";\n"
  3816. msgstr ""
  3817. #. type: Content of: <refentry><refsect1><refsect2><para>
  3818. #: apt_preferences.5.xml:1
  3819. msgid ""
  3820. "If there is no preferences file or if there is no entry in the file that "
  3821. "applies to a particular version then the priority assigned to that version "
  3822. "is the priority of the distribution to which that version belongs. It is "
  3823. "possible to single out a distribution, \"the target release\", which "
  3824. "receives a higher priority than other distributions do by default. The "
  3825. "target release can be set on the <command>apt-get</command> command line or "
  3826. "in the APT configuration file <filename>/etc/apt/apt.conf</filename>. Note "
  3827. "that this has precedence over any general priority you set in the "
  3828. "<filename>/etc/apt/preferences</filename> file described later, but not over "
  3829. "specifically pinned packages. For example, <placeholder "
  3830. "type=\"programlisting\" id=\"0\"/> <placeholder type=\"programlisting\" "
  3831. "id=\"1\"/>"
  3832. msgstr ""
  3833. #. type: Content of: <refentry><refsect1><refsect2><para>
  3834. #: apt_preferences.5.xml:1
  3835. msgid ""
  3836. "If the target release has been specified then APT uses the following "
  3837. "algorithm to set the priorities of the versions of a package. Assign:"
  3838. msgstr ""
  3839. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
  3840. #: apt_preferences.5.xml:1
  3841. msgid "priority 1"
  3842. msgstr ""
  3843. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
  3844. #: apt_preferences.5.xml:1
  3845. msgid ""
  3846. "to the versions coming from archives which in their "
  3847. "<filename>Release</filename> files are marked as \"NotAutomatic: yes\" but "
  3848. "<emphasis>not</emphasis> as \"ButAutomaticUpgrades: yes\" like the Debian "
  3849. "<literal>experimental</literal> archive."
  3850. msgstr ""
  3851. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
  3852. #: apt_preferences.5.xml:1
  3853. msgid "priority 100"
  3854. msgstr ""
  3855. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
  3856. #: apt_preferences.5.xml:1
  3857. msgid ""
  3858. "to the version that is already installed (if any) and to the versions coming "
  3859. "from archives which in their <filename>Release</filename> files are marked "
  3860. "as \"NotAutomatic: yes\" and \"ButAutomaticUpgrades: yes\" like the Debian "
  3861. "backports archive since <literal>squeeze-backports</literal>."
  3862. msgstr ""
  3863. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
  3864. #: apt_preferences.5.xml:1
  3865. msgid "priority 500"
  3866. msgstr ""
  3867. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
  3868. #: apt_preferences.5.xml:1
  3869. msgid "to the versions that do not belong to the target release."
  3870. msgstr ""
  3871. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
  3872. #: apt_preferences.5.xml:1
  3873. msgid "priority 990"
  3874. msgstr ""
  3875. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
  3876. #: apt_preferences.5.xml:1
  3877. msgid "to the versions that belong to the target release."
  3878. msgstr ""
  3879. #. type: Content of: <refentry><refsect1><refsect2><para>
  3880. #: apt_preferences.5.xml:1
  3881. msgid ""
  3882. "The highest of those priorities whose description matches the version is "
  3883. "assigned to the version."
  3884. msgstr ""
  3885. #. type: Content of: <refentry><refsect1><refsect2><para>
  3886. #: apt_preferences.5.xml:1
  3887. msgid ""
  3888. "If the target release has not been specified then APT simply assigns "
  3889. "priority 100 to all installed package versions and priority 500 to all "
  3890. "uninstalled package versions, except versions coming from archives which in "
  3891. "their <filename>Release</filename> files are marked as \"NotAutomatic: yes\" "
  3892. "- these versions get the priority 1 or priority 100 if it is additionally "
  3893. "marked as \"ButAutomaticUpgrades: yes\"."
  3894. msgstr ""
  3895. #. type: Content of: <refentry><refsect1><refsect2><para>
  3896. #: apt_preferences.5.xml:1
  3897. msgid ""
  3898. "APT then applies the following rules, listed in order of precedence, to "
  3899. "determine which version of a package to install."
  3900. msgstr ""
  3901. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
  3902. #: apt_preferences.5.xml:1
  3903. msgid ""
  3904. "Never downgrade unless the priority of an available version exceeds 1000. "
  3905. "(\"Downgrading\" is installing a less recent version of a package in place "
  3906. "of a more recent version. Note that none of APT's default priorities "
  3907. "exceeds 1000; such high priorities can only be set in the preferences file. "
  3908. "Note also that downgrading a package can be risky.)"
  3909. msgstr ""
  3910. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
  3911. #: apt_preferences.5.xml:1
  3912. msgid "Install the highest priority version."
  3913. msgstr ""
  3914. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
  3915. #: apt_preferences.5.xml:1
  3916. msgid ""
  3917. "If two or more versions have the same priority, install the most recent one "
  3918. "(that is, the one with the higher version number)."
  3919. msgstr ""
  3920. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
  3921. #: apt_preferences.5.xml:1
  3922. msgid ""
  3923. "If two or more versions have the same priority and version number but either "
  3924. "the packages differ in some of their metadata or the "
  3925. "<literal>--reinstall</literal> option is given, install the uninstalled one."
  3926. msgstr ""
  3927. #. type: Content of: <refentry><refsect1><refsect2><para>
  3928. #: apt_preferences.5.xml:1
  3929. msgid ""
  3930. "In a typical situation, the installed version of a package (priority 100) "
  3931. "is not as recent as one of the versions available from the sources listed in "
  3932. "the &sources-list; file (priority 500 or 990). Then the package will be "
  3933. "upgraded when <command>apt-get install "
  3934. "<replaceable>some-package</replaceable></command> or <command>apt-get "
  3935. "upgrade</command> is executed."
  3936. msgstr ""
  3937. #. type: Content of: <refentry><refsect1><refsect2><para>
  3938. #: apt_preferences.5.xml:1
  3939. msgid ""
  3940. "More rarely, the installed version of a package is <emphasis>more</emphasis> "
  3941. "recent than any of the other available versions. The package will not be "
  3942. "downgraded when <command>apt-get install "
  3943. "<replaceable>some-package</replaceable></command> or <command>apt-get "
  3944. "upgrade</command> is executed."
  3945. msgstr ""
  3946. #. type: Content of: <refentry><refsect1><refsect2><para>
  3947. #: apt_preferences.5.xml:1
  3948. msgid ""
  3949. "Sometimes the installed version of a package is more recent than the version "
  3950. "belonging to the target release, but not as recent as a version belonging to "
  3951. "some other distribution. Such a package will indeed be upgraded when "
  3952. "<command>apt-get install <replaceable>some-package</replaceable></command> "
  3953. "or <command>apt-get upgrade</command> is executed, because at least "
  3954. "<emphasis>one</emphasis> of the available versions has a higher priority "
  3955. "than the installed version."
  3956. msgstr ""
  3957. #. type: Content of: <refentry><refsect1><refsect2><title>
  3958. #: apt_preferences.5.xml:1
  3959. msgid "The Effect of APT Preferences"
  3960. msgstr ""
  3961. #. type: Content of: <refentry><refsect1><refsect2><para>
  3962. #: apt_preferences.5.xml:1
  3963. msgid ""
  3964. "The APT preferences file allows the system administrator to control the "
  3965. "assignment of priorities. The file consists of one or more multi-line "
  3966. "records separated by blank lines. Records can have one of two forms, a "
  3967. "specific form and a general form."
  3968. msgstr ""
  3969. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
  3970. #: apt_preferences.5.xml:1
  3971. msgid ""
  3972. "The specific form assigns a priority (a \"Pin-Priority\") to one or more "
  3973. "specified packages with a specified version or version range. For example, "
  3974. "the following record assigns a high priority to all versions of the "
  3975. "<filename>perl</filename> package whose version number begins with "
  3976. "\"<literal>&good-perl;</literal>\". Multiple packages can be separated by "
  3977. "spaces."
  3978. msgstr ""
  3979. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
  3980. #: apt_preferences.5.xml:1
  3981. #, no-wrap
  3982. msgid ""
  3983. "Package: perl\n"
  3984. "Pin: version &good-perl;*\n"
  3985. "Pin-Priority: 1001\n"
  3986. msgstr ""
  3987. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
  3988. #: apt_preferences.5.xml:1
  3989. msgid ""
  3990. "The general form assigns a priority to all of the package versions in a "
  3991. "given distribution (that is, to all the versions of packages that are listed "
  3992. "in a certain <filename>Release</filename> file) or to all of the package "
  3993. "versions coming from a particular Internet site, as identified by the site's "
  3994. "fully qualified domain name."
  3995. msgstr ""
  3996. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
  3997. #: apt_preferences.5.xml:1
  3998. msgid ""
  3999. "This general-form entry in the APT preferences file applies only to groups "
  4000. "of packages. For example, the following record assigns a high priority to "
  4001. "all package versions available from the local site."
  4002. msgstr ""
  4003. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
  4004. #: apt_preferences.5.xml:1
  4005. #, no-wrap
  4006. msgid ""
  4007. "Package: *\n"
  4008. "Pin: origin \"\"\n"
  4009. "Pin-Priority: 999\n"
  4010. msgstr ""
  4011. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
  4012. #: apt_preferences.5.xml:1
  4013. msgid ""
  4014. "A note of caution: the keyword used here is \"<literal>origin</literal>\" "
  4015. "which can be used to match a hostname. The following record will assign a "
  4016. "high priority to all versions available from the server identified by the "
  4017. "hostname \"ftp.de.debian.org\""
  4018. msgstr ""
  4019. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
  4020. #: apt_preferences.5.xml:1
  4021. #, no-wrap
  4022. msgid ""
  4023. "Package: *\n"
  4024. "Pin: origin \"ftp.de.debian.org\"\n"
  4025. "Pin-Priority: 999\n"
  4026. msgstr ""
  4027. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
  4028. #: apt_preferences.5.xml:1
  4029. msgid ""
  4030. "This should <emphasis>not</emphasis> be confused with the Origin of a "
  4031. "distribution as specified in a <filename>Release</filename> file. What "
  4032. "follows the \"Origin:\" tag in a <filename>Release</filename> file is not an "
  4033. "Internet address but an author or vendor name, such as \"Debian\" or "
  4034. "\"Ximian\"."
  4035. msgstr ""
  4036. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
  4037. #: apt_preferences.5.xml:1
  4038. msgid ""
  4039. "The following record assigns a low priority to all package versions "
  4040. "belonging to any distribution whose Archive name is "
  4041. "\"<literal>unstable</literal>\"."
  4042. msgstr ""
  4043. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
  4044. #: apt_preferences.5.xml:1
  4045. #, no-wrap
  4046. msgid ""
  4047. "Package: *\n"
  4048. "Pin: release a=unstable\n"
  4049. "Pin-Priority: 50\n"
  4050. msgstr ""
  4051. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
  4052. #: apt_preferences.5.xml:1
  4053. msgid ""
  4054. "The following record assigns a high priority to all package versions "
  4055. "belonging to any distribution whose Codename is "
  4056. "\"<literal>&testing-codename;</literal>\"."
  4057. msgstr ""
  4058. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
  4059. #: apt_preferences.5.xml:1
  4060. #, no-wrap
  4061. msgid ""
  4062. "Package: *\n"
  4063. "Pin: release n=&testing-codename;\n"
  4064. "Pin-Priority: 900\n"
  4065. msgstr ""
  4066. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
  4067. #: apt_preferences.5.xml:1
  4068. msgid ""
  4069. "The following record assigns a high priority to all package versions "
  4070. "belonging to any release whose Archive name is \"<literal>stable</literal>\" "
  4071. "and whose release Version number is \"<literal>&stable-version;</literal>\"."
  4072. msgstr ""
  4073. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
  4074. #: apt_preferences.5.xml:1
  4075. #, no-wrap
  4076. msgid ""
  4077. "Package: *\n"
  4078. "Pin: release a=stable, v=&stable-version;\n"
  4079. "Pin-Priority: 500\n"
  4080. msgstr ""
  4081. #. type: Content of: <refentry><refsect1><refsect2><para>
  4082. #: apt_preferences.5.xml:1
  4083. msgid ""
  4084. "The effect of the comma operator is similar to an \"and\" in logic: All "
  4085. "conditions must be satisfied for the pin to match. There is one exception: "
  4086. "For any type of condition (such as two \"a\" conditions), only the last such "
  4087. "condition is checked."
  4088. msgstr ""
  4089. #. type: Content of: <refentry><refsect1><refsect2><title>
  4090. #: apt_preferences.5.xml:1
  4091. msgid "Regular expressions and &glob; syntax"
  4092. msgstr ""
  4093. #. type: Content of: <refentry><refsect1><refsect2><para>
  4094. #: apt_preferences.5.xml:1
  4095. msgid ""
  4096. "APT also supports pinning by &glob; expressions, and regular expressions "
  4097. "surrounded by slashes. For example, the following example assigns the "
  4098. "priority 500 to all packages from experimental where the name starts with "
  4099. "gnome (as a &glob;-like expression) or contains the word kde (as a POSIX "
  4100. "extended regular expression surrounded by slashes)."
  4101. msgstr ""
  4102. #. type: Content of: <refentry><refsect1><refsect2><programlisting>
  4103. #: apt_preferences.5.xml:1
  4104. #, no-wrap
  4105. msgid ""
  4106. "Package: gnome* /kde/\n"
  4107. "Pin: release a=experimental\n"
  4108. "Pin-Priority: 500\n"
  4109. msgstr ""
  4110. #. type: Content of: <refentry><refsect1><refsect2><para>
  4111. #: apt_preferences.5.xml:1
  4112. msgid ""
  4113. "The rule for those expressions is that they can occur anywhere where a "
  4114. "string can occur. Thus, the following pin assigns the priority 990 to all "
  4115. "packages from a release starting with &ubuntu-codename;."
  4116. msgstr ""
  4117. #. type: Content of: <refentry><refsect1><refsect2><programlisting>
  4118. #: apt_preferences.5.xml:1
  4119. #, no-wrap
  4120. msgid ""
  4121. "Package: *\n"
  4122. "Pin: release n=&ubuntu-codename;*\n"
  4123. "Pin-Priority: 990\n"
  4124. msgstr ""
  4125. #. type: Content of: <refentry><refsect1><refsect2><para>
  4126. #: apt_preferences.5.xml:1
  4127. msgid ""
  4128. "If a regular expression occurs in a <literal>Package</literal> field, the "
  4129. "behavior is the same as if this regular expression were replaced with a list "
  4130. "of all package names it matches. It is undecided whether this will change in "
  4131. "the future; thus you should always list wild-card pins first, so later "
  4132. "specific pins override it. The pattern \"<literal>*</literal>\" in a "
  4133. "Package field is not considered a &glob; expression in itself."
  4134. msgstr ""
  4135. #. type: Content of: <refentry><refsect1><refsect2><title>
  4136. #: apt_preferences.5.xml:1
  4137. msgid "How APT Interprets Priorities"
  4138. msgstr ""
  4139. #. type: Content of: <refentry><refsect1><refsect2><para>
  4140. #: apt_preferences.5.xml:1
  4141. msgid ""
  4142. "Priorities (P) assigned in the APT preferences file must be positive or "
  4143. "negative integers. They are interpreted as follows (roughly speaking):"
  4144. msgstr ""
  4145. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
  4146. #: apt_preferences.5.xml:1
  4147. msgid "P &gt;= 1000"
  4148. msgstr ""
  4149. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
  4150. #: apt_preferences.5.xml:1
  4151. msgid ""
  4152. "causes a version to be installed even if this constitutes a downgrade of the "
  4153. "package"
  4154. msgstr ""
  4155. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
  4156. #: apt_preferences.5.xml:1
  4157. msgid "990 &lt;= P &lt; 1000"
  4158. msgstr ""
  4159. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
  4160. #: apt_preferences.5.xml:1
  4161. msgid ""
  4162. "causes a version to be installed even if it does not come from the target "
  4163. "release, unless the installed version is more recent"
  4164. msgstr ""
  4165. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
  4166. #: apt_preferences.5.xml:1
  4167. msgid "500 &lt;= P &lt; 990"
  4168. msgstr ""
  4169. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
  4170. #: apt_preferences.5.xml:1
  4171. msgid ""
  4172. "causes a version to be installed unless there is a version available "
  4173. "belonging to the target release or the installed version is more recent"
  4174. msgstr ""
  4175. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
  4176. #: apt_preferences.5.xml:1
  4177. msgid "100 &lt;= P &lt; 500"
  4178. msgstr ""
  4179. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
  4180. #: apt_preferences.5.xml:1
  4181. msgid ""
  4182. "causes a version to be installed unless there is a version available "
  4183. "belonging to some other distribution or the installed version is more recent"
  4184. msgstr ""
  4185. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
  4186. #: apt_preferences.5.xml:1
  4187. msgid "0 &lt; P &lt; 100"
  4188. msgstr ""
  4189. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
  4190. #: apt_preferences.5.xml:1
  4191. msgid ""
  4192. "causes a version to be installed only if there is no installed version of "
  4193. "the package"
  4194. msgstr ""
  4195. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
  4196. #: apt_preferences.5.xml:1
  4197. msgid "P &lt; 0"
  4198. msgstr ""
  4199. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
  4200. #: apt_preferences.5.xml:1
  4201. msgid "prevents the version from being installed"
  4202. msgstr ""
  4203. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
  4204. #: apt_preferences.5.xml:1
  4205. msgid "P = 0"
  4206. msgstr ""
  4207. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
  4208. #: apt_preferences.5.xml:1
  4209. msgid "has undefined behaviour, do not use it."
  4210. msgstr ""
  4211. #. type: Content of: <refentry><refsect1><refsect2><para>
  4212. #: apt_preferences.5.xml:1
  4213. msgid ""
  4214. "The first specific-form record matching an available package version "
  4215. "determines the priority of the package version. Failing that, the priority "
  4216. "of the package is defined as the maximum of all priorities defined by "
  4217. "generic-form records matching the version. Records defined using patterns "
  4218. "in the Pin field other than \"*\" are treated like specific-form records."
  4219. msgstr ""
  4220. #. type: Content of: <refentry><refsect1><refsect2><para>
  4221. #: apt_preferences.5.xml:1
  4222. msgid ""
  4223. "For example, suppose the APT preferences file contains the three records "
  4224. "presented earlier:"
  4225. msgstr ""
  4226. #. type: Content of: <refentry><refsect1><refsect2><programlisting>
  4227. #: apt_preferences.5.xml:1
  4228. #, no-wrap
  4229. msgid ""
  4230. "Package: perl\n"
  4231. "Pin: version &good-perl;*\n"
  4232. "Pin-Priority: 1001\n"
  4233. "\n"
  4234. "Package: *\n"
  4235. "Pin: origin \"\"\n"
  4236. "Pin-Priority: 999\n"
  4237. "\n"
  4238. "Package: *\n"
  4239. "Pin: release unstable\n"
  4240. "Pin-Priority: 50\n"
  4241. msgstr ""
  4242. #. type: Content of: <refentry><refsect1><refsect2><para>
  4243. #: apt_preferences.5.xml:1
  4244. msgid "Then:"
  4245. msgstr ""
  4246. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
  4247. #: apt_preferences.5.xml:1
  4248. msgid ""
  4249. "The most recent available version of the <literal>perl</literal> package "
  4250. "will be installed, so long as that version's version number begins with "
  4251. "\"<literal>&good-perl;</literal>\". If <emphasis>any</emphasis> "
  4252. "&good-perl;* version of <literal>perl</literal> is available and the "
  4253. "installed version is &bad-perl;*, then <literal>perl</literal> will be "
  4254. "downgraded."
  4255. msgstr ""
  4256. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
  4257. #: apt_preferences.5.xml:1
  4258. msgid ""
  4259. "A version of any package other than <literal>perl</literal> that is "
  4260. "available from the local system has priority over other versions, even "
  4261. "versions belonging to the target release."
  4262. msgstr ""
  4263. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
  4264. #: apt_preferences.5.xml:1
  4265. msgid ""
  4266. "A version of a package whose origin is not the local system but some other "
  4267. "site listed in &sources-list; and which belongs to an "
  4268. "<literal>unstable</literal> distribution is only installed if it is selected "
  4269. "for installation and no version of the package is already installed."
  4270. msgstr ""
  4271. #. type: Content of: <refentry><refsect1><refsect2><title>
  4272. #: apt_preferences.5.xml:1
  4273. msgid "Determination of Package Version and Distribution Properties"
  4274. msgstr ""
  4275. #. type: Content of: <refentry><refsect1><refsect2><para>
  4276. #: apt_preferences.5.xml:1
  4277. msgid ""
  4278. "The locations listed in the &sources-list; file should provide "
  4279. "<filename>Packages</filename> and <filename>Release</filename> files to "
  4280. "describe the packages available at that location."
  4281. msgstr ""
  4282. #. type: Content of: <refentry><refsect1><refsect2><para>
  4283. #: apt_preferences.5.xml:1
  4284. msgid ""
  4285. "The <filename>Packages</filename> file is normally found in the directory "
  4286. "<filename>.../dists/<replaceable>dist-name</replaceable>/<replaceable>component</replaceable>/<replaceable>arch</replaceable></filename>: "
  4287. "for example, "
  4288. "<filename>.../dists/stable/main/binary-i386/Packages</filename>. It "
  4289. "consists of a series of multi-line records, one for each package available "
  4290. "in that directory. Only two lines in each record are relevant for setting "
  4291. "APT priorities:"
  4292. msgstr ""
  4293. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
  4294. #: apt_preferences.5.xml:1
  4295. msgid "the <literal>Package:</literal> line"
  4296. msgstr ""
  4297. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
  4298. #: apt_preferences.5.xml:1
  4299. msgid "gives the package name"
  4300. msgstr ""
  4301. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
  4302. #: apt_preferences.5.xml:1 apt_preferences.5.xml:1
  4303. msgid "the <literal>Version:</literal> line"
  4304. msgstr ""
  4305. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
  4306. #: apt_preferences.5.xml:1
  4307. msgid "gives the version number for the named package"
  4308. msgstr ""
  4309. #. type: Content of: <refentry><refsect1><refsect2><para>
  4310. #: apt_preferences.5.xml:1
  4311. msgid ""
  4312. "The <filename>Release</filename> file is normally found in the directory "
  4313. "<filename>.../dists/<replaceable>dist-name</replaceable></filename>: for "
  4314. "example, <filename>.../dists/stable/Release</filename>, or "
  4315. "<filename>.../dists/&stable-codename;/Release</filename>. It consists of a "
  4316. "single multi-line record which applies to <emphasis>all</emphasis> of the "
  4317. "packages in the directory tree below its parent. Unlike the "
  4318. "<filename>Packages</filename> file, nearly all of the lines in a "
  4319. "<filename>Release</filename> file are relevant for setting APT priorities:"
  4320. msgstr ""
  4321. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
  4322. #: apt_preferences.5.xml:1
  4323. msgid "the <literal>Archive:</literal> or <literal>Suite:</literal> line"
  4324. msgstr ""
  4325. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
  4326. #: apt_preferences.5.xml:1
  4327. msgid ""
  4328. "names the archive to which all the packages in the directory tree belong. "
  4329. "For example, the line \"Archive: stable\" or \"Suite: stable\" specifies "
  4330. "that all of the packages in the directory tree below the parent of the "
  4331. "<filename>Release</filename> file are in a <literal>stable</literal> "
  4332. "archive. Specifying this value in the APT preferences file would require "
  4333. "the line:"
  4334. msgstr ""
  4335. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
  4336. #: apt_preferences.5.xml:1
  4337. #, no-wrap
  4338. msgid "Pin: release a=stable\n"
  4339. msgstr ""
  4340. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
  4341. #: apt_preferences.5.xml:1
  4342. msgid "the <literal>Codename:</literal> line"
  4343. msgstr ""
  4344. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
  4345. #: apt_preferences.5.xml:1
  4346. msgid ""
  4347. "names the codename to which all the packages in the directory tree belong. "
  4348. "For example, the line \"Codename: &testing-codename;\" specifies that all of "
  4349. "the packages in the directory tree below the parent of the "
  4350. "<filename>Release</filename> file belong to a version named "
  4351. "<literal>&testing-codename;</literal>. Specifying this value in the APT "
  4352. "preferences file would require the line:"
  4353. msgstr ""
  4354. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
  4355. #: apt_preferences.5.xml:1
  4356. #, no-wrap
  4357. msgid "Pin: release n=&testing-codename;\n"
  4358. msgstr ""
  4359. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
  4360. #: apt_preferences.5.xml:1
  4361. msgid ""
  4362. "names the release version. For example, the packages in the tree might "
  4363. "belong to Debian release version &stable-version;. Note that there is "
  4364. "normally no version number for the <literal>testing</literal> and "
  4365. "<literal>unstable</literal> distributions because they have not been "
  4366. "released yet. Specifying this in the APT preferences file would require one "
  4367. "of the following lines."
  4368. msgstr ""
  4369. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
  4370. #: apt_preferences.5.xml:1
  4371. #, no-wrap
  4372. msgid ""
  4373. "Pin: release v=&stable-version;\n"
  4374. "Pin: release a=stable, v=&stable-version;\n"
  4375. "Pin: release &stable-version;\n"
  4376. msgstr ""
  4377. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
  4378. #: apt_preferences.5.xml:1
  4379. msgid "the <literal>Component:</literal> line"
  4380. msgstr ""
  4381. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
  4382. #: apt_preferences.5.xml:1
  4383. msgid ""
  4384. "names the licensing component associated with the packages in the directory "
  4385. "tree of the <filename>Release</filename> file. For example, the line "
  4386. "\"Component: main\" specifies that all the packages in the directory tree "
  4387. "are from the <literal>main</literal> component, which entails that they are "
  4388. "licensed under terms listed in the Debian Free Software Guidelines. "
  4389. "Specifying this component in the APT preferences file would require the "
  4390. "line:"
  4391. msgstr ""
  4392. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
  4393. #: apt_preferences.5.xml:1
  4394. #, no-wrap
  4395. msgid "Pin: release c=main\n"
  4396. msgstr ""
  4397. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
  4398. #: apt_preferences.5.xml:1
  4399. msgid "the <literal>Origin:</literal> line"
  4400. msgstr ""
  4401. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
  4402. #: apt_preferences.5.xml:1
  4403. msgid ""
  4404. "names the originator of the packages in the directory tree of the "
  4405. "<filename>Release</filename> file. Most commonly, this is "
  4406. "<literal>Debian</literal>. Specifying this origin in the APT preferences "
  4407. "file would require the line:"
  4408. msgstr ""
  4409. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
  4410. #: apt_preferences.5.xml:1
  4411. #, no-wrap
  4412. msgid "Pin: release o=Debian\n"
  4413. msgstr ""
  4414. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
  4415. #: apt_preferences.5.xml:1
  4416. msgid "the <literal>Label:</literal> line"
  4417. msgstr ""
  4418. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
  4419. #: apt_preferences.5.xml:1
  4420. msgid ""
  4421. "names the label of the packages in the directory tree of the "
  4422. "<filename>Release</filename> file. Most commonly, this is "
  4423. "<literal>Debian</literal>. Specifying this label in the APT preferences "
  4424. "file would require the line:"
  4425. msgstr ""
  4426. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
  4427. #: apt_preferences.5.xml:1
  4428. #, no-wrap
  4429. msgid "Pin: release l=Debian\n"
  4430. msgstr ""
  4431. #. type: Content of: <refentry><refsect1><refsect2><para>
  4432. #: apt_preferences.5.xml:1
  4433. msgid ""
  4434. "All of the <filename>Packages</filename> and <filename>Release</filename> "
  4435. "files retrieved from locations listed in the &sources-list; file are stored "
  4436. "in the directory <filename>/var/lib/apt/lists</filename>, or in the file "
  4437. "named by the variable <literal>Dir::State::Lists</literal> in the "
  4438. "<filename>apt.conf</filename> file. For example, the file "
  4439. "<filename>debian.lcs.mit.edu_debian_dists_unstable_contrib_binary-i386_Release</filename> "
  4440. "contains the <filename>Release</filename> file retrieved from the site "
  4441. "<literal>debian.lcs.mit.edu</literal> for <literal>binary-i386</literal> "
  4442. "architecture files from the <literal>contrib</literal> component of the "
  4443. "<literal>unstable</literal> distribution."
  4444. msgstr ""
  4445. #. type: Content of: <refentry><refsect1><refsect2><title>
  4446. #: apt_preferences.5.xml:1
  4447. msgid "Optional Lines in an APT Preferences Record"
  4448. msgstr ""
  4449. #. type: Content of: <refentry><refsect1><refsect2><para>
  4450. #: apt_preferences.5.xml:1
  4451. msgid ""
  4452. "Each record in the APT preferences file can optionally begin with one or "
  4453. "more lines beginning with the word <literal>Explanation:</literal>. This "
  4454. "provides a place for comments."
  4455. msgstr ""
  4456. #. type: Content of: <refentry><refsect1><refsect2><title>
  4457. #: apt_preferences.5.xml:1
  4458. msgid "Tracking Stable"
  4459. msgstr ""
  4460. #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
  4461. #: apt_preferences.5.xml:1
  4462. #, no-wrap
  4463. msgid ""
  4464. "Explanation: Uninstall or do not install any Debian-originated\n"
  4465. "Explanation: package versions other than those in the stable distro\n"
  4466. "Package: *\n"
  4467. "Pin: release a=stable\n"
  4468. "Pin-Priority: 900\n"
  4469. "\n"
  4470. "Package: *\n"
  4471. "Pin: release o=Debian\n"
  4472. "Pin-Priority: -10\n"
  4473. msgstr ""
  4474. #. type: Content of: <refentry><refsect1><refsect2><para>
  4475. #: apt_preferences.5.xml:1
  4476. msgid ""
  4477. "The following APT preferences file will cause APT to assign a priority "
  4478. "higher than the default (500) to all package versions belonging to a "
  4479. "<literal>stable</literal> distribution and a prohibitively low priority to "
  4480. "package versions belonging to other <literal>Debian</literal> "
  4481. "distributions. <placeholder type=\"programlisting\" id=\"0\"/>"
  4482. msgstr ""
  4483. #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
  4484. #: apt_preferences.5.xml:1 apt_preferences.5.xml:1 apt_preferences.5.xml:1
  4485. #, no-wrap
  4486. msgid ""
  4487. "apt-get install <replaceable>package-name</replaceable>\n"
  4488. "apt-get upgrade\n"
  4489. "apt-get dist-upgrade\n"
  4490. msgstr ""
  4491. #. type: Content of: <refentry><refsect1><refsect2><para>
  4492. #: apt_preferences.5.xml:1
  4493. msgid ""
  4494. "With a suitable &sources-list; file and the above preferences file, any of "
  4495. "the following commands will cause APT to upgrade to the latest "
  4496. "<literal>stable</literal> version(s). <placeholder type=\"programlisting\" "
  4497. "id=\"0\"/>"
  4498. msgstr ""
  4499. #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
  4500. #: apt_preferences.5.xml:1
  4501. #, no-wrap
  4502. msgid "apt-get install <replaceable>package</replaceable>/testing\n"
  4503. msgstr ""
  4504. #. type: Content of: <refentry><refsect1><refsect2><para>
  4505. #: apt_preferences.5.xml:1
  4506. msgid ""
  4507. "The following command will cause APT to upgrade the specified package to the "
  4508. "latest version from the <literal>testing</literal> distribution; the package "
  4509. "will not be upgraded again unless this command is given again. <placeholder "
  4510. "type=\"programlisting\" id=\"0\"/>"
  4511. msgstr ""
  4512. #. type: Content of: <refentry><refsect1><refsect2><title>
  4513. #: apt_preferences.5.xml:1
  4514. msgid "Tracking Testing or Unstable"
  4515. msgstr ""
  4516. #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
  4517. #: apt_preferences.5.xml:1
  4518. #, no-wrap
  4519. msgid ""
  4520. "Package: *\n"
  4521. "Pin: release a=testing\n"
  4522. "Pin-Priority: 900\n"
  4523. "\n"
  4524. "Package: *\n"
  4525. "Pin: release a=unstable\n"
  4526. "Pin-Priority: 800\n"
  4527. "\n"
  4528. "Package: *\n"
  4529. "Pin: release o=Debian\n"
  4530. "Pin-Priority: -10\n"
  4531. msgstr ""
  4532. #. type: Content of: <refentry><refsect1><refsect2><para>
  4533. #: apt_preferences.5.xml:1
  4534. msgid ""
  4535. "The following APT preferences file will cause APT to assign a high priority "
  4536. "to package versions from the <literal>testing</literal> distribution, a "
  4537. "lower priority to package versions from the <literal>unstable</literal> "
  4538. "distribution, and a prohibitively low priority to package versions from "
  4539. "other <literal>Debian</literal> distributions. <placeholder "
  4540. "type=\"programlisting\" id=\"0\"/>"
  4541. msgstr ""
  4542. #. type: Content of: <refentry><refsect1><refsect2><para>
  4543. #: apt_preferences.5.xml:1
  4544. msgid ""
  4545. "With a suitable &sources-list; file and the above preferences file, any of "
  4546. "the following commands will cause APT to upgrade to the latest "
  4547. "<literal>testing</literal> version(s). <placeholder type=\"programlisting\" "
  4548. "id=\"0\"/>"
  4549. msgstr ""
  4550. #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
  4551. #: apt_preferences.5.xml:1
  4552. #, no-wrap
  4553. msgid "apt-get install <replaceable>package</replaceable>/unstable\n"
  4554. msgstr ""
  4555. #. type: Content of: <refentry><refsect1><refsect2><para>
  4556. #: apt_preferences.5.xml:1
  4557. msgid ""
  4558. "The following command will cause APT to upgrade the specified package to the "
  4559. "latest version from the <literal>unstable</literal> distribution. "
  4560. "Thereafter, <command>apt-get upgrade</command> will upgrade the package to "
  4561. "the most recent <literal>testing</literal> version if that is more recent "
  4562. "than the installed version, otherwise, to the most recent "
  4563. "<literal>unstable</literal> version if that is more recent than the "
  4564. "installed version. <placeholder type=\"programlisting\" id=\"0\"/>"
  4565. msgstr ""
  4566. #. type: Content of: <refentry><refsect1><refsect2><title>
  4567. #: apt_preferences.5.xml:1
  4568. msgid "Tracking the evolution of a codename release"
  4569. msgstr ""
  4570. #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
  4571. #: apt_preferences.5.xml:1
  4572. #, no-wrap
  4573. msgid ""
  4574. "Explanation: Uninstall or do not install any Debian-originated package "
  4575. "versions\n"
  4576. "Explanation: other than those in the distribution codenamed with "
  4577. "&testing-codename; or sid\n"
  4578. "Package: *\n"
  4579. "Pin: release n=&testing-codename;\n"
  4580. "Pin-Priority: 900\n"
  4581. "\n"
  4582. "Explanation: Debian unstable is always codenamed with sid\n"
  4583. "Package: *\n"
  4584. "Pin: release n=sid\n"
  4585. "Pin-Priority: 800\n"
  4586. "\n"
  4587. "Package: *\n"
  4588. "Pin: release o=Debian\n"
  4589. "Pin-Priority: -10\n"
  4590. msgstr ""
  4591. #. type: Content of: <refentry><refsect1><refsect2><para>
  4592. #: apt_preferences.5.xml:1
  4593. msgid ""
  4594. "The following APT preferences file will cause APT to assign a priority "
  4595. "higher than the default (500) to all package versions belonging to a "
  4596. "specified codename of a distribution and a prohibitively low priority to "
  4597. "package versions belonging to other <literal>Debian</literal> distributions, "
  4598. "codenames and archives. Note that with this APT preference APT will follow "
  4599. "the migration of a release from the archive <literal>testing</literal> to "
  4600. "<literal>stable</literal> and later <literal>oldstable</literal>. If you "
  4601. "want to follow for example the progress in <literal>testing</literal> "
  4602. "notwithstanding the codename changes you should use the example "
  4603. "configurations above. <placeholder type=\"programlisting\" id=\"0\"/>"
  4604. msgstr ""
  4605. #. type: Content of: <refentry><refsect1><refsect2><para>
  4606. #: apt_preferences.5.xml:1
  4607. msgid ""
  4608. "With a suitable &sources-list; file and the above preferences file, any of "
  4609. "the following commands will cause APT to upgrade to the latest version(s) in "
  4610. "the release codenamed with <literal>&testing-codename;</literal>. "
  4611. "<placeholder type=\"programlisting\" id=\"0\"/>"
  4612. msgstr ""
  4613. #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
  4614. #: apt_preferences.5.xml:1
  4615. #, no-wrap
  4616. msgid "apt-get install <replaceable>package</replaceable>/sid\n"
  4617. msgstr ""
  4618. #. type: Content of: <refentry><refsect1><refsect2><para>
  4619. #: apt_preferences.5.xml:1
  4620. msgid ""
  4621. "The following command will cause APT to upgrade the specified package to the "
  4622. "latest version from the <literal>sid</literal> distribution. Thereafter, "
  4623. "<command>apt-get upgrade</command> will upgrade the package to the most "
  4624. "recent <literal>&testing-codename;</literal> version if that is more recent "
  4625. "than the installed version, otherwise, to the most recent "
  4626. "<literal>sid</literal> version if that is more recent than the installed "
  4627. "version. <placeholder type=\"programlisting\" id=\"0\"/>"
  4628. msgstr ""
  4629. #. type: Content of: <refentry><refsect1><para>
  4630. #: apt_preferences.5.xml:1
  4631. msgid "&apt-get; &apt-cache; &apt-conf; &sources-list;"
  4632. msgstr ""
  4633. #. type: Content of: <refentry><refnamediv><refpurpose>
  4634. #: sources.list.5.xml:1
  4635. msgid "List of configured APT data sources"
  4636. msgstr ""
  4637. #. type: Content of: <refentry><refsect1><para>
  4638. #: sources.list.5.xml:1
  4639. msgid ""
  4640. "The source list <filename>/etc/apt/sources.list</filename> and the files "
  4641. "contained in <filename>/etc/apt/sources.list.d/</filename> are designed to "
  4642. "support any number of active sources and a variety of source media. The "
  4643. "files list one source per line (one-line style) or contain multiline stanzas "
  4644. "defining one or more sources per stanza (deb822 style), with the most "
  4645. "preferred source listed first (in case a single version is available from "
  4646. "more than one source). The information available from the configured sources "
  4647. "is acquired by <command>apt-get update</command> (or by an equivalent "
  4648. "command from another APT front-end)."
  4649. msgstr ""
  4650. #. type: Content of: <refentry><refsect1><title>
  4651. #: sources.list.5.xml:1
  4652. msgid "sources.list.d"
  4653. msgstr ""
  4654. #. type: Content of: <refentry><refsect1><para>
  4655. #: sources.list.5.xml:1
  4656. msgid ""
  4657. "The <filename>/etc/apt/sources.list.d</filename> directory provides a way to "
  4658. "add sources.list entries in separate files. Two different file formats are "
  4659. "allowed as described in the next two sections. Filenames need to have "
  4660. "either the extension <filename>.list</filename> or "
  4661. "<filename>.sources</filename> depending on the contained format. The "
  4662. "filenames may only contain letters (a-z and A-Z), digits (0-9), underscore "
  4663. "(_), hyphen (-) and period (.) characters. Otherwise APT will print a "
  4664. "notice that it has ignored a file, unless that file matches a pattern in the "
  4665. "<literal>Dir::Ignore-Files-Silently</literal> configuration list - in which "
  4666. "case it will be silently ignored."
  4667. msgstr ""
  4668. #. type: Content of: <refentry><refsect1><title>
  4669. #: sources.list.5.xml:1
  4670. msgid "One-Line-Style Format"
  4671. msgstr ""
  4672. #. type: Content of: <refentry><refsect1><para>
  4673. #: sources.list.5.xml:1
  4674. msgid ""
  4675. "Files in this format have the extension <filename>.list</filename>. Each "
  4676. "line specifying a source starts with a type "
  4677. "(e.g. <literal>deb-src</literal>) followed by options and arguments for "
  4678. "this type. Individual entries cannot be continued onto a following "
  4679. "line. Empty lines are ignored, and a <literal>#</literal> character anywhere "
  4680. "on a line marks the remainder of that line as a comment. Consequently an "
  4681. "entry can be disabled by commenting out the entire line. If options should "
  4682. "be provided they are separated by spaces and all of them together are "
  4683. "enclosed by square brackets (<literal>[]</literal>) included in the line "
  4684. "after the type separated from it with a space. If an option allows multiple "
  4685. "values these are separated from each other with a comma "
  4686. "(<literal>,</literal>). An option name is separated from its value(s) by an "
  4687. "equals sign (<literal>=</literal>). Multivalue options also have "
  4688. "<literal>-=</literal> and <literal>+=</literal> as separators, which instead "
  4689. "of replacing the default with the given value(s) modify the default value(s) "
  4690. "to remove or include the given values."
  4691. msgstr ""
  4692. #. type: Content of: <refentry><refsect1><para>
  4693. #: sources.list.5.xml:1
  4694. msgid ""
  4695. "This is the traditional format and supported by all apt versions. Note that "
  4696. "not all options as described below are supported by all apt versions. Note "
  4697. "also that some older applications parsing this format on their own might not "
  4698. "expect to encounter options as they were uncommon before the introduction of "
  4699. "multi-architecture support."
  4700. msgstr ""
  4701. #. type: Content of: <refentry><refsect1><title>
  4702. #: sources.list.5.xml:1
  4703. msgid "deb822-Style Format"
  4704. msgstr ""
  4705. #. type: Content of: <refentry><refsect1><para>
  4706. #: sources.list.5.xml:1
  4707. msgid ""
  4708. "Files in this format have the extension <filename>.sources</filename>. The "
  4709. "format is similar in syntax to other files used by Debian and its "
  4710. "derivatives, such as the metadata files that apt will download from the "
  4711. "configured sources or the <filename>debian/control</filename> file in a "
  4712. "Debian source package. Individual entries are separated by an empty line; "
  4713. "additional empty lines are ignored, and a <literal>#</literal> character at "
  4714. "the start of the line marks the entire line as a comment. An entry can hence "
  4715. "be disabled by commenting out each line belonging to the stanza, but it is "
  4716. "usually easier to add the field \"Enabled: no\" to the stanza to disable the "
  4717. "entry. Removing the field or setting it to yes reenables it. Options have "
  4718. "the same syntax as every other field: A fieldname separated by a colon "
  4719. "(<literal>:</literal>) and optionally spaces from its value(s). Note "
  4720. "especially that multiple values are separated by spaces, not by commas as in "
  4721. "the one-line format. Multivalue fields like <literal>Architectures</literal> "
  4722. "also have <literal>Architectures-Add</literal> and "
  4723. "<literal>Architectures-Remove</literal> to modify the default value rather "
  4724. "than replacing it."
  4725. msgstr ""
  4726. #. type: Content of: <refentry><refsect1><para>
  4727. #: sources.list.5.xml:1
  4728. msgid ""
  4729. "This is a new format supported by apt itself since version 1.1. Previous "
  4730. "versions ignore such files with a notice message as described earlier. It "
  4731. "is intended to make this format gradually the default format, deprecating "
  4732. "the previously described one-line-style format, as it is easier to create, "
  4733. "extend and modify for humans and machines alike especially if a lot of "
  4734. "sources and/or options are involved. Developers who are working with and/or "
  4735. "parsing apt sources are highly encouraged to add support for this format and "
  4736. "to contact the APT team to coordinate and share this work. Users can freely "
  4737. "adopt this format already, but may encounter problems with software not "
  4738. "supporting the format yet."
  4739. msgstr ""
  4740. #. type: Content of: <refentry><refsect1><title>
  4741. #: sources.list.5.xml:1
  4742. msgid "The deb and deb-src Types: General Format"
  4743. msgstr ""
  4744. #. type: Content of: <refentry><refsect1><para>
  4745. #: sources.list.5.xml:1
  4746. msgid ""
  4747. "The <literal>deb</literal> type references a typical two-level Debian "
  4748. "archive, <filename>distribution/component</filename>. The "
  4749. "<literal>distribution</literal> is generally a suite name like "
  4750. "<literal>stable</literal> or <literal>testing</literal> or a codename like "
  4751. "<literal>&stable-codename;</literal> or "
  4752. "<literal>&testing-codename;</literal> while component is one of "
  4753. "<literal>main</literal>, <literal>contrib</literal> or "
  4754. "<literal>non-free</literal>. The <literal>deb-src</literal> type references "
  4755. "a Debian distribution's source code in the same form as the "
  4756. "<literal>deb</literal> type. A <literal>deb-src</literal> line is required "
  4757. "to fetch source indexes."
  4758. msgstr ""
  4759. #. type: Content of: <refentry><refsect1><para>
  4760. #: sources.list.5.xml:1
  4761. msgid ""
  4762. "The format for two one-line-style entries using the <literal>deb</literal> "
  4763. "and <literal>deb-src</literal> types is:"
  4764. msgstr ""
  4765. #. type: Content of: <refentry><refsect1><literallayout>
  4766. #: sources.list.5.xml:1
  4767. #, no-wrap
  4768. msgid ""
  4769. "deb [ option1=value1 option2=value2 ] uri suite [component1] [component2] "
  4770. "[...]\n"
  4771. "deb-src [ option1=value1 option2=value2 ] uri suite [component1] "
  4772. "[component2] [...]"
  4773. msgstr ""
  4774. #. type: Content of: <refentry><refsect1><para><literallayout>
  4775. #: sources.list.5.xml:1
  4776. #, no-wrap
  4777. msgid ""
  4778. " Types: deb deb-src\n"
  4779. " URIs: uri\n"
  4780. " Suites: suite\n"
  4781. " Components: [component1] [component2] [...]\n"
  4782. " option1: value1\n"
  4783. " option2: value2\n"
  4784. " "
  4785. msgstr ""
  4786. #. type: Content of: <refentry><refsect1><para>
  4787. #: sources.list.5.xml:1
  4788. msgid ""
  4789. "Alternatively the equivalent entry in deb822 style looks like this: "
  4790. "<placeholder type=\"literallayout\" id=\"0\"/>"
  4791. msgstr ""
  4792. #. type: Content of: <refentry><refsect1><para>
  4793. #: sources.list.5.xml:1
  4794. msgid ""
  4795. "The URI for the <literal>deb</literal> type must specify the base of the "
  4796. "Debian distribution, from which APT will find the information it needs. "
  4797. "<literal>suite</literal> can specify an exact path, in which case the "
  4798. "components must be omitted and <literal>suite</literal> must end with a "
  4799. "slash (<literal>/</literal>). This is useful for the case when only a "
  4800. "particular sub-directory of the archive denoted by the URI is of interest. "
  4801. "If <literal>suite</literal> does not specify an exact path, at least one "
  4802. "<literal>component</literal> must be present."
  4803. msgstr ""
  4804. #. type: Content of: <refentry><refsect1><para>
  4805. #: sources.list.5.xml:1
  4806. msgid ""
  4807. "<literal>suite</literal> may also contain a variable, "
  4808. "<literal>$(ARCH)</literal> which expands to the Debian architecture (such as "
  4809. "<literal>amd64</literal> or <literal>armel</literal>) used on the "
  4810. "system. This permits architecture-independent "
  4811. "<filename>sources.list</filename> files to be used. In general this is only "
  4812. "of interest when specifying an exact path; <literal>APT</literal> will "
  4813. "automatically generate a URI with the current architecture otherwise."
  4814. msgstr ""
  4815. #. type: Content of: <refentry><refsect1><para>
  4816. #: sources.list.5.xml:1
  4817. msgid ""
  4818. "Especially in the one-line-style format since only one distribution can be "
  4819. "specified per line it may be necessary to have multiple lines for the same "
  4820. "URI, if a subset of all available distributions or components at that "
  4821. "location is desired. APT will sort the URI list after it has generated a "
  4822. "complete set internally, and will collapse multiple references to the same "
  4823. "Internet host, for instance, into a single connection, so that it does not "
  4824. "inefficiently establish a connection, close it, do something else, and then "
  4825. "re-establish a connection to that same host. APT also parallelizes "
  4826. "connections to different hosts to more effectively deal with sites with low "
  4827. "bandwidth."
  4828. msgstr ""
  4829. #. type: Content of: <refentry><refsect1><para>
  4830. #: sources.list.5.xml:1
  4831. msgid ""
  4832. "It is important to list sources in order of preference, with the most "
  4833. "preferred source listed first. Typically this will result in sorting by "
  4834. "speed from fastest to slowest (CD-ROM followed by hosts on a local network, "
  4835. "followed by distant Internet hosts, for example)."
  4836. msgstr ""
  4837. #. type: Content of: <refentry><refsect1><para><literallayout>
  4838. #: sources.list.5.xml:1
  4839. #, no-wrap
  4840. msgid "&sourceslist-list-format;"
  4841. msgstr ""
  4842. #. type: Content of: <refentry><refsect1><para><literallayout>
  4843. #: sources.list.5.xml:1
  4844. #, no-wrap
  4845. msgid "&sourceslist-sources-format;"
  4846. msgstr ""
  4847. #. type: Content of: <refentry><refsect1><para>
  4848. #: sources.list.5.xml:1
  4849. msgid ""
  4850. "As an example, the sources for your distribution could look like this in "
  4851. "one-line-style format: <placeholder type=\"literallayout\" id=\"0\"/> or "
  4852. "like this in deb822 style format: <placeholder type=\"literallayout\" "
  4853. "id=\"1\"/>"
  4854. msgstr ""
  4855. #. type: Content of: <refentry><refsect1><title>
  4856. #: sources.list.5.xml:1
  4857. msgid "The deb and deb-src types: Options"
  4858. msgstr ""
  4859. #. type: Content of: <refentry><refsect1><para>
  4860. #: sources.list.5.xml:1
  4861. msgid ""
  4862. "Each source entry can have options specified to modify which source is "
  4863. "accessed and how data is acquired from it. Format, syntax and names of the "
  4864. "options vary between the one-line-style and deb822-style formats as "
  4865. "described, but they both have the same options available. For simplicity we "
  4866. "list the deb822 fieldname and provide the one-line name in brackets. "
  4867. "Remember that besides setting multivalue options explicitly, there is also "
  4868. "the option to modify them based on the default, but we aren't listing those "
  4869. "names explicitly here. Unsupported options are silently ignored by all APT "
  4870. "versions."
  4871. msgstr ""
  4872. #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
  4873. #: sources.list.5.xml:1
  4874. msgid ""
  4875. "<option>Architectures</option> (<option>arch</option>) is a multivalue "
  4876. "option defining for which architectures information should be downloaded. If "
  4877. "this option isn't set the default is all architectures as defined by the "
  4878. "<option>APT::Architectures</option> config option."
  4879. msgstr ""
  4880. #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
  4881. #: sources.list.5.xml:1
  4882. msgid ""
  4883. "<option>Languages</option> (<option>lang</option>) is a multivalue option "
  4884. "defining for which languages information such as translated package "
  4885. "descriptions should be downloaded. If this option isn't set the default is "
  4886. "all languages as defined by the <option>Acquire::Languages</option> config "
  4887. "option."
  4888. msgstr ""
  4889. #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
  4890. #: sources.list.5.xml:1
  4891. msgid ""
  4892. "<option>Targets</option> (<option>target</option>) is a multivalue option "
  4893. "defining which download targets apt will try to acquire from this source. If "
  4894. "not specified, the default set is defined by the "
  4895. "<option>Acquire::IndexTargets</option> configuration scope. Additionally, "
  4896. "specific targets can be enabled or disabled by using the identifier as field "
  4897. "name instead of using this multivalue option."
  4898. msgstr ""
  4899. #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
  4900. #: sources.list.5.xml:1
  4901. msgid ""
  4902. "<option>PDiffs</option> (<option>pdiffs</option>) is a yes/no value which "
  4903. "controls if APT should try to use PDiffs to update old indexes instead of "
  4904. "downloading the new indexes entirely. The value of this option is ignored if "
  4905. "the repository doesn't announce the availability of PDiffs. Defaults to the "
  4906. "value of the option with the same name for a specific index file defined in "
  4907. "the <option>Acquire::IndexTargets</option> scope, which itself defaults to "
  4908. "the value of configuration option <option>Acquire::PDiffs</option> which "
  4909. "defaults to <literal>yes</literal>."
  4910. msgstr ""
  4911. #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
  4912. #: sources.list.5.xml:1
  4913. msgid ""
  4914. "<option>By-Hash</option> (<option>by-hash</option>) can have the value "
  4915. "<literal>yes</literal>, <literal>no</literal> or <literal>force</literal> "
  4916. "and controls if APT should try to acquire indexes via a URI constructed from "
  4917. "a hashsum of the expected file instead of using the well-known stable "
  4918. "filename of the index. Using this can avoid hashsum mismatches, but requires "
  4919. "a supporting mirror. A <literal>yes</literal> or <literal>no</literal> value "
  4920. "activates/disables the use of this feature if this source indicates support "
  4921. "for it, while <literal>force</literal> will enable the feature regardless of "
  4922. "what the source indicates. Defaults to the value of the option of the same "
  4923. "name for a specific index file defined in the "
  4924. "<option>Acquire::IndexTargets</option> scope, which itself defaults to the "
  4925. "value of configuration option <option>Acquire::By-Hash</option> which "
  4926. "defaults to <literal>yes</literal>."
  4927. msgstr ""
  4928. #. type: Content of: <refentry><refsect1><para>
  4929. #: sources.list.5.xml:1
  4930. msgid ""
  4931. "Furthermore, there are options which if set affect <emphasis>all</emphasis> "
  4932. "sources with the same URI and Suite, so they have to be set on all such "
  4933. "entries and can not be varied between different components. APT will try to "
  4934. "detect and error out on such anomalies."
  4935. msgstr ""
  4936. #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
  4937. #: sources.list.5.xml:1
  4938. msgid ""
  4939. "<option>Trusted</option> (<option>trusted</option>) is a tri-state value "
  4940. "which defaults to APT deciding if a source is considered trusted or if "
  4941. "warnings should be raised before e.g. packages are installed from this "
  4942. "source. This option can be used to override that decision. The value "
  4943. "<literal>yes</literal> tells APT always to consider this source as trusted, "
  4944. "even if it doesn't pass authentication checks. It disables parts of "
  4945. "&apt-secure;, and should therefore only be used in a local and trusted "
  4946. "context (if at all) as otherwise security is breached. The value "
  4947. "<literal>no</literal> does the opposite, causing the source to be handled as "
  4948. "untrusted even if the authentication checks passed successfully. The default "
  4949. "value can't be set explicitly."
  4950. msgstr ""
  4951. #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
  4952. #: sources.list.5.xml:1
  4953. msgid ""
  4954. "<option>Signed-By</option> (<option>signed-by</option>) is either an "
  4955. "absolute path to a keyring file (has to be accessible and readable for the "
  4956. "<literal>_apt</literal> user, so ensure everyone has read-permissions on the "
  4957. "file) or a fingerprint of a key either in the "
  4958. "<filename>trusted.gpg</filename> keyring or in one of the keyrings in the "
  4959. "<filename>trusted.gpg.d/</filename> directory (see <command>apt-key "
  4960. "fingerprint</command>). If the option is set, only the key(s) in this "
  4961. "keyring or only the key with this fingerprint is used for the &apt-secure; "
  4962. "verification of this repository. Otherwise all keys in the trusted keyrings "
  4963. "are considered valid signers for this repository."
  4964. msgstr ""
  4965. #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
  4966. #: sources.list.5.xml:1
  4967. msgid ""
  4968. "<option>Check-Valid-Until</option> (<option>check-valid-until</option>) is "
  4969. "a yes/no value which controls if APT should try to detect replay attacks. A "
  4970. "repository creator can declare a time until which the data provided in the "
  4971. "repository should be considered valid, and if this time is reached, but no "
  4972. "new data is provided, the data is considered expired and an error is "
  4973. "raised. Besides increasing security, as a malicious attacker can't send old "
  4974. "data forever to prevent a user from upgrading to a new version, this also "
  4975. "helps users identify mirrors which are no longer updated. However, some "
  4976. "repositories such as historic archives are not updated any more by design, "
  4977. "so this check can be disabled by setting this option to "
  4978. "<literal>no</literal>. Defaults to the value of configuration option "
  4979. "<option>Acquire::Check-Valid-Until</option> which itself defaults to "
  4980. "<literal>yes</literal>."
  4981. msgstr ""
  4982. #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
  4983. #: sources.list.5.xml:1
  4984. msgid ""
  4985. "<option>Valid-Until-Min</option> (<option>valid-until-min</option>) and "
  4986. "<option>Valid-Until-Max</option> (<option>valid-until-max</option>) can be "
  4987. "used to raise or lower the time period in seconds in which the data from "
  4988. "this repository is considered valid. -Max can be especially useful if the "
  4989. "repository provides no Valid-Until field on its Release file to set your own "
  4990. "value, while -Min can be used to increase the valid time on seldom updated "
  4991. "(local) mirrors of a more frequently updated but less accessible archive "
  4992. "(which is in the sources.list as well) instead of disabling the check "
  4993. "entirely. Default to the value of the configuration options "
  4994. "<option>Acquire::Min-ValidTime</option> and "
  4995. "<option>Acquire::Max-ValidTime</option> which are both unset by default."
  4996. msgstr ""
  4997. #. type: Content of: <refentry><refsect1><title>
  4998. #: sources.list.5.xml:1
  4999. msgid "URI Specification"
  5000. msgstr ""
  5001. #. type: Content of: <refentry><refsect1><para>
  5002. #: sources.list.5.xml:1
  5003. msgid "The currently recognized URI types are:"
  5004. msgstr ""
  5005. #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
  5006. #: sources.list.5.xml:1
  5007. msgid ""
  5008. "The file scheme allows an arbitrary directory in the file system to be "
  5009. "considered an archive. This is useful for NFS mounts and local mirrors or "
  5010. "archives."
  5011. msgstr ""
  5012. #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
  5013. #: sources.list.5.xml:1
  5014. msgid ""
  5015. "The cdrom scheme allows APT to use a local CD-ROM drive with media "
  5016. "swapping. Use the &apt-cdrom; program to create cdrom entries in the source "
  5017. "list."
  5018. msgstr ""
  5019. #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
  5020. #: sources.list.5.xml:1
  5021. msgid ""
  5022. "The http scheme specifies an HTTP server for the archive. If an environment "
  5023. "variable <envar>http_proxy</envar> is set with the format "
  5024. "http://server:port/, the proxy server specified in <envar>http_proxy</envar> "
  5025. "will be used. Users of authenticated HTTP/1.1 proxies may use a string of "
  5026. "the format http://user:pass@server:port/. Note that this is an insecure "
  5027. "method of authentication."
  5028. msgstr ""
  5029. #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
  5030. #: sources.list.5.xml:1
  5031. msgid ""
  5032. "The ftp scheme specifies an FTP server for the archive. APT's FTP behavior "
  5033. "is highly configurable; for more information see the &apt-conf; manual "
  5034. "page. Please note that an FTP proxy can be specified by using the "
  5035. "<envar>ftp_proxy</envar> environment variable. It is possible to specify an "
  5036. "HTTP proxy (HTTP proxy servers often understand FTP URLs) using this "
  5037. "environment variable and <emphasis>only</emphasis> this environment "
  5038. "variable. Proxies using HTTP specified in the configuration file will be "
  5039. "ignored."
  5040. msgstr ""
  5041. #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
  5042. #: sources.list.5.xml:1
  5043. msgid ""
  5044. "The copy scheme is identical to the file scheme except that packages are "
  5045. "copied into the cache directory instead of used directly at their location. "
  5046. "This is useful for people using removable media to copy files around with "
  5047. "APT."
  5048. msgstr ""
  5049. #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
  5050. #: sources.list.5.xml:1
  5051. msgid ""
  5052. "The rsh/ssh method invokes RSH/SSH to connect to a remote host and access "
  5053. "the files as a given user. Prior configuration of rhosts or RSA keys is "
  5054. "recommended. The standard <command>find</command> and <command>dd</command> "
  5055. "commands are used to perform the file transfers from the remote host."
  5056. msgstr ""
  5057. #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
  5058. #: sources.list.5.xml:1
  5059. msgid "adding more recognizable URI types"
  5060. msgstr ""
  5061. #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
  5062. #: sources.list.5.xml:1
  5063. msgid ""
  5064. "APT can be extended with more methods shipped in other optional packages, "
  5065. "which should follow the naming scheme "
  5066. "<package>apt-transport-<replaceable>method</replaceable></package>. For "
  5067. "instance, the APT team also maintains the package "
  5068. "<package>apt-transport-https</package>, which provides access methods for "
  5069. "HTTPS URIs with features similar to the http method. Methods for using "
  5070. "e.g. debtorrent are also available - see &apt-transport-debtorrent;."
  5071. msgstr ""
  5072. #. type: Content of: <refentry><refsect1><para>
  5073. #: sources.list.5.xml:1
  5074. msgid ""
  5075. "Uses the archive stored locally (or NFS mounted) at /home/apt/debian for "
  5076. "stable/main, stable/contrib, and stable/non-free."
  5077. msgstr ""
  5078. #. type: Content of: <refentry><refsect1><literallayout>
  5079. #: sources.list.5.xml:1
  5080. #, no-wrap
  5081. msgid "deb file:/home/apt/debian stable main contrib non-free"
  5082. msgstr ""
  5083. #. type: Content of: <refentry><refsect1><literallayout>
  5084. #: sources.list.5.xml:1
  5085. #, no-wrap
  5086. msgid ""
  5087. "Types: deb\n"
  5088. "URIs: file:/home/apt/debian\n"
  5089. "Suites: stable\n"
  5090. "Components: main contrib non-free"
  5091. msgstr ""
  5092. #. type: Content of: <refentry><refsect1><para>
  5093. #: sources.list.5.xml:1
  5094. msgid "As above, except this uses the unstable (development) distribution."
  5095. msgstr ""
  5096. #. type: Content of: <refentry><refsect1><literallayout>
  5097. #: sources.list.5.xml:1
  5098. #, no-wrap
  5099. msgid "deb file:/home/apt/debian unstable main contrib non-free"
  5100. msgstr ""
  5101. #. type: Content of: <refentry><refsect1><literallayout>
  5102. #: sources.list.5.xml:1
  5103. #, no-wrap
  5104. msgid ""
  5105. "Types: deb\n"
  5106. "URIs: file:/home/apt/debian\n"
  5107. "Suites: unstable\n"
  5108. "Components: main contrib non-free"
  5109. msgstr ""
  5110. #. type: Content of: <refentry><refsect1><para>
  5111. #: sources.list.5.xml:1
  5112. msgid "Sources specification for the above."
  5113. msgstr ""
  5114. #. type: Content of: <refentry><refsect1><literallayout>
  5115. #: sources.list.5.xml:1
  5116. #, no-wrap
  5117. msgid "deb-src file:/home/apt/debian unstable main contrib non-free"
  5118. msgstr ""
  5119. #. type: Content of: <refentry><refsect1><literallayout>
  5120. #: sources.list.5.xml:1
  5121. #, no-wrap
  5122. msgid ""
  5123. "Types: deb-src\n"
  5124. "URIs: file:/home/apt/debian\n"
  5125. "Suites: unstable\n"
  5126. "Components: main contrib non-free"
  5127. msgstr ""
  5128. #. type: Content of: <refentry><refsect1><para>
  5129. #: sources.list.5.xml:1
  5130. msgid ""
  5131. "The first line gets package information for the architectures in "
  5132. "<literal>APT::Architectures</literal> while the second always retrieves "
  5133. "<literal>amd64</literal> and <literal>armel</literal>."
  5134. msgstr ""
  5135. #. type: Content of: <refentry><refsect1><literallayout>
  5136. #: sources.list.5.xml:1
  5137. #, no-wrap
  5138. msgid ""
  5139. "deb http://httpredir.debian.org/debian &stable-codename; main\n"
  5140. "deb [ arch=amd64,armel ] http://httpredir.debian.org/debian "
  5141. "&stable-codename; main"
  5142. msgstr ""
  5143. #. type: Content of: <refentry><refsect1><literallayout>
  5144. #: sources.list.5.xml:1
  5145. #, no-wrap
  5146. msgid ""
  5147. "Types: deb\n"
  5148. "URIs: http://httpredir.debian.org/debian\n"
  5149. "Suites: &stable-codename;\n"
  5150. "Components: main\n"
  5151. "\n"
  5152. "Types: deb\n"
  5153. "URIs: http://httpredir.debian.org/debian\n"
  5154. "Suites: &stable-codename;\n"
  5155. "Components: main\n"
  5156. "Architectures: amd64 armel\n"
  5157. msgstr ""
  5158. #. type: Content of: <refentry><refsect1><para>
  5159. #: sources.list.5.xml:1
  5160. msgid ""
  5161. "Uses HTTP to access the archive at archive.debian.org, and uses only the "
  5162. "hamm/main area."
  5163. msgstr ""
  5164. #. type: Content of: <refentry><refsect1><literallayout>
  5165. #: sources.list.5.xml:1
  5166. #, no-wrap
  5167. msgid "deb http://archive.debian.org/debian-archive hamm main"
  5168. msgstr ""
  5169. #. type: Content of: <refentry><refsect1><literallayout>
  5170. #: sources.list.5.xml:1
  5171. #, no-wrap
  5172. msgid ""
  5173. "Types: deb\n"
  5174. "URIs: http://archive.debian.org/debian-archive\n"
  5175. "Suites: hamm\n"
  5176. "Components: main"
  5177. msgstr ""
  5178. #. type: Content of: <refentry><refsect1><para>
  5179. #: sources.list.5.xml:1
  5180. msgid ""
  5181. "Uses FTP to access the archive at ftp.debian.org, under the debian "
  5182. "directory, and uses only the &stable-codename;/contrib area."
  5183. msgstr ""
  5184. #. type: Content of: <refentry><refsect1><literallayout>
  5185. #: sources.list.5.xml:1
  5186. #, no-wrap
  5187. msgid "deb ftp://ftp.debian.org/debian &stable-codename; contrib"
  5188. msgstr ""
  5189. #. type: Content of: <refentry><refsect1><literallayout>
  5190. #: sources.list.5.xml:1
  5191. #, no-wrap
  5192. msgid ""
  5193. "Types: deb\n"
  5194. "URIs: ftp://ftp.debian.org/debian\n"
  5195. "Suites: &stable-codename;\n"
  5196. "Components: contrib"
  5197. msgstr ""
  5198. #. type: Content of: <refentry><refsect1><para>
  5199. #: sources.list.5.xml:1
  5200. msgid ""
  5201. "Uses FTP to access the archive at ftp.debian.org, under the debian "
  5202. "directory, and uses only the unstable/contrib area. If this line appears as "
  5203. "well as the one in the previous example in <filename>sources.list</filename> "
  5204. "a single FTP session will be used for both resource lines."
  5205. msgstr ""
  5206. #. type: Content of: <refentry><refsect1><literallayout>
  5207. #: sources.list.5.xml:1
  5208. #, no-wrap
  5209. msgid "deb ftp://ftp.debian.org/debian unstable contrib"
  5210. msgstr ""
  5211. #. type: Content of: <refentry><refsect1><literallayout>
  5212. #: sources.list.5.xml:1
  5213. #, no-wrap
  5214. msgid ""
  5215. "Types: deb\n"
  5216. "URIs: ftp://ftp.debian.org/debian\n"
  5217. "Suites: unstable\n"
  5218. "Components: contrib"
  5219. msgstr ""
  5220. #. type: Content of: <refentry><refsect1><para><literallayout>
  5221. #: sources.list.5.xml:1
  5222. #, no-wrap
  5223. msgid "deb http://ftp.tlh.debian.org/universe unstable/binary-$(ARCH)/"
  5224. msgstr ""
  5225. #. type: Content of: <refentry><refsect1><para><literallayout>
  5226. #: sources.list.5.xml:1
  5227. #, no-wrap
  5228. msgid ""
  5229. "Types: deb\n"
  5230. "URIs: http://ftp.tlh.debian.org/universe\n"
  5231. "Suites: unstable/binary-$(ARCH)/"
  5232. msgstr ""
  5233. #. type: Content of: <refentry><refsect1><para>
  5234. #: sources.list.5.xml:1
  5235. msgid ""
  5236. "Uses HTTP to access the archive at ftp.tlh.debian.org, under the universe "
  5237. "directory, and uses only files found under "
  5238. "<filename>unstable/binary-i386</filename> on i386 machines, "
  5239. "<filename>unstable/binary-amd64</filename> on amd64, and so forth for other "
  5240. "supported architectures. [Note this example only illustrates how to use the "
  5241. "substitution variable; official debian archives are not structured like "
  5242. "this] <placeholder type=\"literallayout\" id=\"0\"/> <placeholder "
  5243. "type=\"literallayout\" id=\"1\"/>"
  5244. msgstr ""
  5245. #. type: Content of: <refentry><refsect1><para>
  5246. #: sources.list.5.xml:1
  5247. msgid ""
  5248. "Uses HTTP to get binary packages as well as sources from the stable, testing "
  5249. "and unstable suites and the components main and contrib."
  5250. msgstr ""
  5251. #. type: Content of: <refentry><refsect1><literallayout>
  5252. #: sources.list.5.xml:1
  5253. #, no-wrap
  5254. msgid ""
  5255. "deb http://httpredir.debian.org/debian stable main contrib\n"
  5256. "deb-src http://httpredir.debian.org/debian stable main contrib\n"
  5257. "deb http://httpredir.debian.org/debian testing main contrib\n"
  5258. "deb-src http://httpredir.debian.org/debian testing main contrib\n"
  5259. "deb http://httpredir.debian.org/debian unstable main contrib\n"
  5260. "deb-src http://httpredir.debian.org/debian unstable main contrib"
  5261. msgstr ""
  5262. #. type: Content of: <refentry><refsect1><literallayout>
  5263. #: sources.list.5.xml:1
  5264. #, no-wrap
  5265. msgid ""
  5266. "Types: deb deb-src\n"
  5267. "URIs: http://httpredir.debian.org/debian\n"
  5268. "Suites: stable testing unstable\n"
  5269. "Components: main contrib\n"
  5270. msgstr ""
  5271. #. type: Content of: <refentry><refsect1><para>
  5272. #: sources.list.5.xml:1
  5273. msgid "&apt-get;, &apt-conf;"
  5274. msgstr ""
  5275. #. type: Content of: <refentry><refmeta><manvolnum>
  5276. #: apt-extracttemplates.1.xml:1 apt-sortpkgs.1.xml:1 apt-ftparchive.1.xml:1
  5277. msgid "1"
  5278. msgstr ""
  5279. #. type: Content of: <refentry><refnamediv><refpurpose>
  5280. #: apt-extracttemplates.1.xml:1
  5281. msgid ""
  5282. "Utility to extract <command>debconf</command> config and templates from "
  5283. "Debian packages"
  5284. msgstr ""
  5285. #. type: Content of: <refentry><refsect1><para>
  5286. #: apt-extracttemplates.1.xml:1
  5287. msgid ""
  5288. "<command>apt-extracttemplates</command> will take one or more Debian package "
  5289. "files as input and write out (to a temporary directory) all associated "
  5290. "config scripts and template files. For each passed in package that contains "
  5291. "config scripts and templates, one line of output will be generated in the "
  5292. "format:"
  5293. msgstr ""
  5294. #. type: Content of: <refentry><refsect1><para>
  5295. #: apt-extracttemplates.1.xml:1
  5296. msgid "package version template-file config-script"
  5297. msgstr ""
  5298. #. type: Content of: <refentry><refsect1><para>
  5299. #: apt-extracttemplates.1.xml:1
  5300. msgid ""
  5301. "template-file and config-script are written to the temporary directory "
  5302. "specified by the <option>-t</option> or <option>--tempdir</option> "
  5303. "(<literal>APT::ExtractTemplates::TempDir</literal>) directory, with "
  5304. "filenames of the form <filename>package.template.XXXXXX</filename> and "
  5305. "<filename>package.config.XXXXXX</filename>"
  5306. msgstr ""
  5307. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  5308. #: apt-extracttemplates.1.xml:1
  5309. msgid ""
  5310. "Temporary directory in which to write extracted <command>debconf</command> "
  5311. "template files and config scripts. Configuration Item: "
  5312. "<literal>APT::ExtractTemplates::TempDir</literal>"
  5313. msgstr ""
  5314. #. type: Content of: <refentry><refsect1><para>
  5315. #: apt-extracttemplates.1.xml:1
  5316. msgid ""
  5317. "<command>apt-extracttemplates</command> returns zero on normal operation, "
  5318. "decimal 100 on error."
  5319. msgstr ""
  5320. #. type: Content of: <refentry><refnamediv><refpurpose>
  5321. #: apt-sortpkgs.1.xml:1
  5322. msgid "Utility to sort package index files"
  5323. msgstr ""
  5324. #. type: Content of: <refentry><refsect1><para>
  5325. #: apt-sortpkgs.1.xml:1
  5326. msgid ""
  5327. "<command>apt-sortpkgs</command> will take an index file (source index or "
  5328. "package index) and sort the records so that they are ordered by the package "
  5329. "name. It will also sort the internal fields of each record according to the "
  5330. "internal sorting rules."
  5331. msgstr ""
  5332. #. type: Content of: <refentry><refsect1><para>
  5333. #: apt-sortpkgs.1.xml:1
  5334. msgid "All output is sent to standard output; the input must be a seekable file."
  5335. msgstr ""
  5336. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  5337. #: apt-sortpkgs.1.xml:1
  5338. msgid ""
  5339. "Use source index field ordering. Configuration Item: "
  5340. "<literal>APT::SortPkgs::Source</literal>."
  5341. msgstr ""
  5342. #. type: Content of: <refentry><refsect1><para>
  5343. #: apt-sortpkgs.1.xml:1
  5344. msgid ""
  5345. "<command>apt-sortpkgs</command> returns zero on normal operation, decimal "
  5346. "100 on error."
  5347. msgstr ""
  5348. #. type: Content of: <refentry><refnamediv><refpurpose>
  5349. #: apt-ftparchive.1.xml:1
  5350. msgid "Utility to generate index files"
  5351. msgstr ""
  5352. #. type: Content of: <refentry><refsect1><para>
  5353. #: apt-ftparchive.1.xml:1
  5354. msgid ""
  5355. "<command>apt-ftparchive</command> is the command line tool that generates "
  5356. "the index files that APT uses to access a distribution source. The index "
  5357. "files should be generated on the origin site based on the content of that "
  5358. "site."
  5359. msgstr ""
  5360. #. type: Content of: <refentry><refsect1><para>
  5361. #: apt-ftparchive.1.xml:1
  5362. msgid ""
  5363. "<command>apt-ftparchive</command> is a superset of the &dpkg-scanpackages; "
  5364. "program, incorporating its entire functionality via the "
  5365. "<literal>packages</literal> command. It also contains a contents file "
  5366. "generator, <literal>contents</literal>, and an elaborate means to 'script' "
  5367. "the generation process for a complete archive."
  5368. msgstr ""
  5369. #. type: Content of: <refentry><refsect1><para>
  5370. #: apt-ftparchive.1.xml:1
  5371. msgid ""
  5372. "Internally <command>apt-ftparchive</command> can make use of binary "
  5373. "databases to cache the contents of a .deb file and it does not rely on any "
  5374. "external programs aside from &gzip;. When doing a full generate it "
  5375. "automatically performs file-change checks and builds the desired compressed "
  5376. "output files."
  5377. msgstr ""
  5378. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  5379. #: apt-ftparchive.1.xml:1
  5380. msgid ""
  5381. "The packages command generates a package file from a directory tree. It "
  5382. "takes the given directory and recursively searches it for .deb files, "
  5383. "emitting a package record to stdout for each. This command is approximately "
  5384. "equivalent to &dpkg-scanpackages;."
  5385. msgstr ""
  5386. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  5387. #: apt-ftparchive.1.xml:1 apt-ftparchive.1.xml:1
  5388. msgid "The option <option>--db</option> can be used to specify a binary caching DB."
  5389. msgstr ""
  5390. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  5391. #: apt-ftparchive.1.xml:1
  5392. msgid ""
  5393. "The <literal>sources</literal> command generates a source index file from a "
  5394. "directory tree. It takes the given directory and recursively searches it "
  5395. "for .dsc files, emitting a source record to stdout for each. This command is "
  5396. "approximately equivalent to &dpkg-scansources;."
  5397. msgstr ""
  5398. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  5399. #: apt-ftparchive.1.xml:1
  5400. msgid ""
  5401. "If an override file is specified then a source override file will be looked "
  5402. "for with an extension of .src. The --source-override option can be used to "
  5403. "change the source override file that will be used."
  5404. msgstr ""
  5405. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  5406. #: apt-ftparchive.1.xml:1
  5407. msgid ""
  5408. "The <literal>contents</literal> command generates a contents file from a "
  5409. "directory tree. It takes the given directory and recursively searches it for "
  5410. ".deb files, and reads the file list from each file. It then sorts and writes "
  5411. "to stdout the list of files matched to packages. Directories are not written "
  5412. "to the output. If multiple packages own the same file then each package is "
  5413. "separated by a comma in the output."
  5414. msgstr ""
  5415. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  5416. #: apt-ftparchive.1.xml:1
  5417. msgid ""
  5418. "The <literal>release</literal> command generates a Release file from a "
  5419. "directory tree. It recursively searches the given directory for uncompressed "
  5420. "<filename>Packages</filename> and <filename>Sources</filename> files and "
  5421. "ones compressed with <command>gzip</command>, <command>bzip2</command> or "
  5422. "<command>lzma</command> as well as <filename>Release</filename> and "
  5423. "<filename>md5sum.txt</filename> files by default "
  5424. "(<literal>APT::FTPArchive::Release::Default-Patterns</literal>). Additional "
  5425. "filename patterns can be added by listing them in "
  5426. "<literal>APT::FTPArchive::Release::Patterns</literal>. It then writes to "
  5427. "stdout a <filename>Release</filename> file containing (by default) an MD5, "
  5428. "SHA1, SHA256 and SHA512 digest for each file."
  5429. msgstr ""
  5430. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  5431. #: apt-ftparchive.1.xml:1
  5432. msgid ""
  5433. "Values for the additional metadata fields in the Release file are taken from "
  5434. "the corresponding variables under "
  5435. "<literal>APT::FTPArchive::Release</literal>, "
  5436. "e.g. <literal>APT::FTPArchive::Release::Origin</literal>. The supported "
  5437. "fields are: <literal>Origin</literal>, <literal>Label</literal>, "
  5438. "<literal>Suite</literal>, <literal>Version</literal>, "
  5439. "<literal>Codename</literal>, <literal>Date</literal>, "
  5440. "<literal>Valid-Until</literal>, <literal>Architectures</literal>, "
  5441. "<literal>Components</literal>, <literal>Description</literal>."
  5442. msgstr ""
  5443. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  5444. #: apt-ftparchive.1.xml:1
  5445. msgid ""
  5446. "The <literal>generate</literal> command is designed to be runnable from a "
  5447. "cron script and builds indexes according to the given config file. The "
  5448. "config language provides a flexible means of specifying which index files "
  5449. "are built from which directories, as well as providing a simple means of "
  5450. "maintaining the required settings."
  5451. msgstr ""
  5452. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  5453. #: apt-ftparchive.1.xml:1
  5454. msgid ""
  5455. "The <literal>clean</literal> command tidies the databases used by the given "
  5456. "configuration file by removing any records that are no longer necessary."
  5457. msgstr ""
  5458. #. type: Content of: <refentry><refsect1><title>
  5459. #: apt-ftparchive.1.xml:1
  5460. msgid "The Generate Configuration"
  5461. msgstr ""
  5462. #. type: Content of: <refentry><refsect1><para>
  5463. #: apt-ftparchive.1.xml:1
  5464. msgid ""
  5465. "The <literal>generate</literal> command uses a configuration file to "
  5466. "describe the archives that are going to be generated. It follows the typical "
  5467. "ISC configuration format as seen in ISC tools like bind 8 and dhcpd. "
  5468. "&apt-conf; contains a description of the syntax. Note that the generate "
  5469. "configuration is parsed in sectional manner, but &apt-conf; is parsed in a "
  5470. "tree manner. This only effects how the scope tag is handled."
  5471. msgstr ""
  5472. #. type: Content of: <refentry><refsect1><para>
  5473. #: apt-ftparchive.1.xml:1
  5474. msgid "The generate configuration has four separate sections, each described below."
  5475. msgstr ""
  5476. #. type: Content of: <refentry><refsect1><refsect2><title>
  5477. #: apt-ftparchive.1.xml:1
  5478. msgid "<literal>Dir</literal> Section"
  5479. msgstr ""
  5480. #. type: Content of: <refentry><refsect1><refsect2><para>
  5481. #: apt-ftparchive.1.xml:1
  5482. msgid ""
  5483. "The <literal>Dir</literal> section defines the standard directories needed "
  5484. "to locate the files required during the generation process. These "
  5485. "directories are prepended certain relative paths defined in later sections "
  5486. "to produce a complete an absolute path."
  5487. msgstr ""
  5488. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5489. #: apt-ftparchive.1.xml:1
  5490. msgid ""
  5491. "Specifies the root of the FTP archive, in a standard Debian configuration "
  5492. "this is the directory that contains the <filename>ls-LR</filename> and dist "
  5493. "nodes."
  5494. msgstr ""
  5495. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5496. #: apt-ftparchive.1.xml:1
  5497. msgid "Specifies the location of the override files."
  5498. msgstr ""
  5499. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5500. #: apt-ftparchive.1.xml:1
  5501. msgid "Specifies the location of the cache files."
  5502. msgstr ""
  5503. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5504. #: apt-ftparchive.1.xml:1
  5505. msgid ""
  5506. "Specifies the location of the file list files, if the "
  5507. "<literal>FileList</literal> setting is used below."
  5508. msgstr ""
  5509. #. type: Content of: <refentry><refsect1><refsect2><title>
  5510. #: apt-ftparchive.1.xml:1
  5511. msgid "<literal>Default</literal> Section"
  5512. msgstr ""
  5513. #. type: Content of: <refentry><refsect1><refsect2><para>
  5514. #: apt-ftparchive.1.xml:1
  5515. msgid ""
  5516. "The <literal>Default</literal> section specifies default values, and "
  5517. "settings that control the operation of the generator. Other sections may "
  5518. "override these defaults with a per-section setting."
  5519. msgstr ""
  5520. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5521. #: apt-ftparchive.1.xml:1
  5522. msgid ""
  5523. "Sets the default compression schemes to use for the package index files. It "
  5524. "is a string that contains a space separated list of at least one of: '.' (no "
  5525. "compression), 'gzip' and 'bzip2'. The default for all compression schemes is "
  5526. "'. gzip'."
  5527. msgstr ""
  5528. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5529. #: apt-ftparchive.1.xml:1
  5530. msgid ""
  5531. "Sets the default list of file extensions that are package files. This "
  5532. "defaults to '.deb'."
  5533. msgstr ""
  5534. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5535. #: apt-ftparchive.1.xml:1
  5536. msgid ""
  5537. "This is similar to <literal>Packages::Compress</literal> except that it "
  5538. "controls the compression for the Sources files."
  5539. msgstr ""
  5540. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5541. #: apt-ftparchive.1.xml:1
  5542. msgid ""
  5543. "Sets the default list of file extensions that are source files. This "
  5544. "defaults to '.dsc'."
  5545. msgstr ""
  5546. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5547. #: apt-ftparchive.1.xml:1
  5548. msgid ""
  5549. "This is similar to <literal>Packages::Compress</literal> except that it "
  5550. "controls the compression for the Contents files."
  5551. msgstr ""
  5552. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5553. #: apt-ftparchive.1.xml:1
  5554. msgid ""
  5555. "This is similar to <literal>Packages::Compress</literal> except that it "
  5556. "controls the compression for the Translation-en master file."
  5557. msgstr ""
  5558. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5559. #: apt-ftparchive.1.xml:1
  5560. msgid ""
  5561. "Specifies the number of kilobytes to delink (and replace with hard links) "
  5562. "per run. This is used in conjunction with the per-section "
  5563. "<literal>External-Links</literal> setting."
  5564. msgstr ""
  5565. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5566. #: apt-ftparchive.1.xml:1
  5567. msgid ""
  5568. "Specifies the mode of all created index files. It defaults to 0644. All "
  5569. "index files are set to this mode with no regard to the umask."
  5570. msgstr ""
  5571. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5572. #: apt-ftparchive.1.xml:1 apt-ftparchive.1.xml:1
  5573. msgid ""
  5574. "Specifies whether long descriptions should be included in the "
  5575. "<filename>Packages</filename> file or split out into a master "
  5576. "<filename>Translation-en</filename> file."
  5577. msgstr ""
  5578. #. type: Content of: <refentry><refsect1><refsect2><title>
  5579. #: apt-ftparchive.1.xml:1
  5580. msgid "<literal>TreeDefault</literal> Section"
  5581. msgstr ""
  5582. #. type: Content of: <refentry><refsect1><refsect2><para>
  5583. #: apt-ftparchive.1.xml:1
  5584. msgid ""
  5585. "Sets defaults specific to <literal>Tree</literal> sections. All of these "
  5586. "variables are substitution variables and have the strings $(DIST), "
  5587. "$(SECTION) and $(ARCH) replaced with their respective values."
  5588. msgstr ""
  5589. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5590. #: apt-ftparchive.1.xml:1
  5591. msgid ""
  5592. "Sets the number of kilobytes of contents files that are generated each "
  5593. "day. The contents files are round-robined so that over several days they "
  5594. "will all be rebuilt."
  5595. msgstr ""
  5596. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5597. #: apt-ftparchive.1.xml:1
  5598. msgid ""
  5599. "Controls the number of days a contents file is allowed to be checked without "
  5600. "changing. If this limit is passed the mtime of the contents file is "
  5601. "updated. This case can occur if the package file is changed in such a way "
  5602. "that does not result in a new contents file [override edit for instance]. A "
  5603. "hold off is allowed in hopes that new .debs will be installed, requiring a "
  5604. "new file anyhow. The default is 10, the units are in days."
  5605. msgstr ""
  5606. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5607. #: apt-ftparchive.1.xml:1
  5608. msgid ""
  5609. "Sets the top of the .deb directory tree. Defaults to "
  5610. "<filename>$(DIST)/$(SECTION)/binary-$(ARCH)/</filename>"
  5611. msgstr ""
  5612. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5613. #: apt-ftparchive.1.xml:1
  5614. msgid ""
  5615. "Sets the top of the source package directory tree. Defaults to "
  5616. "<filename>$(DIST)/$(SECTION)/source/</filename>"
  5617. msgstr ""
  5618. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5619. #: apt-ftparchive.1.xml:1
  5620. msgid ""
  5621. "Sets the output Packages file. Defaults to "
  5622. "<filename>$(DIST)/$(SECTION)/binary-$(ARCH)/Packages</filename>"
  5623. msgstr ""
  5624. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5625. #: apt-ftparchive.1.xml:1
  5626. msgid ""
  5627. "Sets the output Sources file. Defaults to "
  5628. "<filename>$(DIST)/$(SECTION)/source/Sources</filename>"
  5629. msgstr ""
  5630. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5631. #: apt-ftparchive.1.xml:1
  5632. msgid ""
  5633. "Sets the output Translation-en master file with the long descriptions if "
  5634. "they should be not included in the Packages file. Defaults to "
  5635. "<filename>$(DIST)/$(SECTION)/i18n/Translation-en</filename>"
  5636. msgstr ""
  5637. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5638. #: apt-ftparchive.1.xml:1
  5639. msgid ""
  5640. "Sets the path prefix that causes a symlink to be considered an internal link "
  5641. "instead of an external link. Defaults to "
  5642. "<filename>$(DIST)/$(SECTION)/</filename>"
  5643. msgstr ""
  5644. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5645. #: apt-ftparchive.1.xml:1
  5646. msgid ""
  5647. "Sets the output Contents file. Defaults to "
  5648. "<filename>$(DIST)/$(SECTION)/Contents-$(ARCH)</filename>. If this setting "
  5649. "causes multiple Packages files to map onto a single Contents file (as is the "
  5650. "default) then <command>apt-ftparchive</command> will integrate those "
  5651. "package files together automatically."
  5652. msgstr ""
  5653. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5654. #: apt-ftparchive.1.xml:1
  5655. msgid "Sets header file to prepend to the contents output."
  5656. msgstr ""
  5657. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5658. #: apt-ftparchive.1.xml:1
  5659. msgid ""
  5660. "Sets the binary cache database to use for this section. Multiple sections "
  5661. "can share the same database."
  5662. msgstr ""
  5663. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5664. #: apt-ftparchive.1.xml:1
  5665. msgid ""
  5666. "Specifies that instead of walking the directory tree, "
  5667. "<command>apt-ftparchive</command> should read the list of files from the "
  5668. "given file. Relative files names are prefixed with the archive directory."
  5669. msgstr ""
  5670. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5671. #: apt-ftparchive.1.xml:1
  5672. msgid ""
  5673. "Specifies that instead of walking the directory tree, "
  5674. "<command>apt-ftparchive</command> should read the list of files from the "
  5675. "given file. Relative files names are prefixed with the archive directory. "
  5676. "This is used when processing source indexes."
  5677. msgstr ""
  5678. #. type: Content of: <refentry><refsect1><refsect2><title>
  5679. #: apt-ftparchive.1.xml:1
  5680. msgid "<literal>Tree</literal> Section"
  5681. msgstr ""
  5682. #. type: Content of: <refentry><refsect1><refsect2><para>
  5683. #: apt-ftparchive.1.xml:1
  5684. msgid ""
  5685. "The <literal>Tree</literal> section defines a standard Debian file tree "
  5686. "which consists of a base directory, then multiple sections in that base "
  5687. "directory and finally multiple Architectures in each section. The exact "
  5688. "pathing used is defined by the <literal>Directory</literal> substitution "
  5689. "variable."
  5690. msgstr ""
  5691. #. type: Content of: <refentry><refsect1><refsect2><para>
  5692. #: apt-ftparchive.1.xml:1
  5693. msgid ""
  5694. "The <literal>Tree</literal> section takes a scope tag which sets the "
  5695. "<literal>$(DIST)</literal> variable and defines the root of the tree (the "
  5696. "path is prefixed by <literal>ArchiveDir</literal>). Typically this is a "
  5697. "setting such as <filename>dists/&stable-codename;</filename>."
  5698. msgstr ""
  5699. #. type: Content of: <refentry><refsect1><refsect2><para>
  5700. #: apt-ftparchive.1.xml:1
  5701. msgid ""
  5702. "All of the settings defined in the <literal>TreeDefault</literal> section "
  5703. "can be used in a <literal>Tree</literal> section as well as three new "
  5704. "variables."
  5705. msgstr ""
  5706. #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
  5707. #: apt-ftparchive.1.xml:1
  5708. #, no-wrap
  5709. msgid ""
  5710. "for i in Sections do \n"
  5711. " for j in Architectures do\n"
  5712. " Generate for DIST=scope SECTION=i ARCH=j\n"
  5713. " "
  5714. msgstr ""
  5715. #. type: Content of: <refentry><refsect1><refsect2><para>
  5716. #: apt-ftparchive.1.xml:1
  5717. msgid ""
  5718. "When processing a <literal>Tree</literal> section "
  5719. "<command>apt-ftparchive</command> performs an operation similar to: "
  5720. "<placeholder type=\"programlisting\" id=\"0\"/>"
  5721. msgstr ""
  5722. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5723. #: apt-ftparchive.1.xml:1
  5724. msgid ""
  5725. "This is a space separated list of sections which appear under the "
  5726. "distribution; typically this is something like <literal>main contrib "
  5727. "non-free</literal>"
  5728. msgstr ""
  5729. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5730. #: apt-ftparchive.1.xml:1
  5731. msgid ""
  5732. "This is a space separated list of all the architectures that appear under "
  5733. "search section. The special architecture 'source' is used to indicate that "
  5734. "this tree has a source archive. The architecture 'all' signals that "
  5735. "architecture specific files like <filename>Packages</filename> should not "
  5736. "include information about architecture <literal>all</literal> packages in "
  5737. "all files as they will be available in a dedicated file."
  5738. msgstr ""
  5739. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5740. #: apt-ftparchive.1.xml:1
  5741. msgid ""
  5742. "Sets the binary override file. The override file contains section, priority "
  5743. "and maintainer address information."
  5744. msgstr ""
  5745. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5746. #: apt-ftparchive.1.xml:1
  5747. msgid ""
  5748. "Sets the source override file. The override file contains section "
  5749. "information."
  5750. msgstr ""
  5751. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5752. #: apt-ftparchive.1.xml:1 apt-ftparchive.1.xml:1
  5753. msgid "Sets the binary extra override file."
  5754. msgstr ""
  5755. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5756. #: apt-ftparchive.1.xml:1 apt-ftparchive.1.xml:1
  5757. msgid "Sets the source extra override file."
  5758. msgstr ""
  5759. #. type: Content of: <refentry><refsect1><refsect2><title>
  5760. #: apt-ftparchive.1.xml:1
  5761. msgid "<literal>BinDirectory</literal> Section"
  5762. msgstr ""
  5763. #. type: Content of: <refentry><refsect1><refsect2><para>
  5764. #: apt-ftparchive.1.xml:1
  5765. msgid ""
  5766. "The <literal>bindirectory</literal> section defines a binary directory tree "
  5767. "with no special structure. The scope tag specifies the location of the "
  5768. "binary directory and the settings are similar to the <literal>Tree</literal> "
  5769. "section with no substitution variables or "
  5770. "<literal>Section</literal><literal>Architecture</literal> settings."
  5771. msgstr ""
  5772. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5773. #: apt-ftparchive.1.xml:1
  5774. msgid "Sets the Packages file output."
  5775. msgstr ""
  5776. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5777. #: apt-ftparchive.1.xml:1
  5778. msgid ""
  5779. "Sets the Sources file output. At least one of <literal>Packages</literal> or "
  5780. "<literal>Sources</literal> is required."
  5781. msgstr ""
  5782. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5783. #: apt-ftparchive.1.xml:1
  5784. msgid "Sets the Contents file output (optional)."
  5785. msgstr ""
  5786. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5787. #: apt-ftparchive.1.xml:1
  5788. msgid "Sets the binary override file."
  5789. msgstr ""
  5790. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5791. #: apt-ftparchive.1.xml:1
  5792. msgid "Sets the source override file."
  5793. msgstr ""
  5794. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5795. #: apt-ftparchive.1.xml:1
  5796. msgid "Sets the cache DB."
  5797. msgstr ""
  5798. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5799. #: apt-ftparchive.1.xml:1
  5800. msgid "Appends a path to all the output paths."
  5801. msgstr ""
  5802. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5803. #: apt-ftparchive.1.xml:1
  5804. msgid "Specifies the file list file."
  5805. msgstr ""
  5806. #. type: Content of: <refentry><refsect1><title>
  5807. #: apt-ftparchive.1.xml:1
  5808. msgid "The Binary Override File"
  5809. msgstr ""
  5810. #. type: Content of: <refentry><refsect1><para>
  5811. #: apt-ftparchive.1.xml:1
  5812. msgid ""
  5813. "The binary override file is fully compatible with &dpkg-scanpackages;. It "
  5814. "contains four fields separated by spaces. The first field is the package "
  5815. "name, the second is the priority to force that package to, the third is the "
  5816. "section to force that package to and the final field is the maintainer "
  5817. "permutation field."
  5818. msgstr ""
  5819. #. type: Content of: <refentry><refsect1><para><literallayout>
  5820. #: apt-ftparchive.1.xml:1
  5821. #, no-wrap
  5822. msgid "old [// oldn]* => new"
  5823. msgstr ""
  5824. #. type: Content of: <refentry><refsect1><para><literallayout>
  5825. #: apt-ftparchive.1.xml:1
  5826. #, no-wrap
  5827. msgid "new"
  5828. msgstr ""
  5829. #. type: Content of: <refentry><refsect1><para>
  5830. #: apt-ftparchive.1.xml:1
  5831. msgid ""
  5832. "The general form of the maintainer field is: <placeholder "
  5833. "type=\"literallayout\" id=\"0\"/> or simply, <placeholder "
  5834. "type=\"literallayout\" id=\"1\"/> The first form allows a double-slash "
  5835. "separated list of old email addresses to be specified. If any of those are "
  5836. "found then new is substituted for the maintainer field. The second form "
  5837. "unconditionally substitutes the maintainer field."
  5838. msgstr ""
  5839. #. type: Content of: <refentry><refsect1><title>
  5840. #: apt-ftparchive.1.xml:1
  5841. msgid "The Source Override File"
  5842. msgstr ""
  5843. #. type: Content of: <refentry><refsect1><para>
  5844. #: apt-ftparchive.1.xml:1
  5845. msgid ""
  5846. "The source override file is fully compatible with &dpkg-scansources;. It "
  5847. "contains two fields separated by spaces. The first field is the source "
  5848. "package name, the second is the section to assign it."
  5849. msgstr ""
  5850. #. type: Content of: <refentry><refsect1><title>
  5851. #: apt-ftparchive.1.xml:1
  5852. msgid "The Extra Override File"
  5853. msgstr ""
  5854. #. type: Content of: <refentry><refsect1><para>
  5855. #: apt-ftparchive.1.xml:1
  5856. msgid ""
  5857. "The extra override file allows any arbitrary tag to be added or replaced in "
  5858. "the output. It has three columns, the first is the package, the second is "
  5859. "the tag and the remainder of the line is the new value."
  5860. msgstr ""
  5861. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  5862. #: apt-ftparchive.1.xml:1
  5863. msgid ""
  5864. "Generate the given checksum. These options default to on, when turned off "
  5865. "the generated index files will not have the checksum fields where possible. "
  5866. "Configuration Items: "
  5867. "<literal>APT::FTPArchive::<replaceable>Checksum</replaceable></literal> and "
  5868. "<literal>APT::FTPArchive::<replaceable>Index</replaceable>::<replaceable>Checksum</replaceable></literal> "
  5869. "where <literal><replaceable>Index</replaceable></literal> can be "
  5870. "<literal>Packages</literal>, <literal>Sources</literal> or "
  5871. "<literal>Release</literal> and "
  5872. "<literal><replaceable>Checksum</replaceable></literal> can be "
  5873. "<literal>MD5</literal>, <literal>SHA1</literal>, <literal>SHA256</literal> "
  5874. "or <literal>SHA512</literal>."
  5875. msgstr ""
  5876. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  5877. #: apt-ftparchive.1.xml:1
  5878. msgid ""
  5879. "Use a binary caching DB. This has no effect on the generate command. "
  5880. "Configuration Item: <literal>APT::FTPArchive::DB</literal>."
  5881. msgstr ""
  5882. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  5883. #: apt-ftparchive.1.xml:1
  5884. msgid ""
  5885. "Quiet; produces output suitable for logging, omitting progress indicators. "
  5886. "More q's will produce more quiet up to a maximum of 2. You can also use "
  5887. "<option>-q=#</option> to set the quiet level, overriding the configuration "
  5888. "file. Configuration Item: <literal>quiet</literal>."
  5889. msgstr ""
  5890. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  5891. #: apt-ftparchive.1.xml:1
  5892. msgid ""
  5893. "Perform Delinking. If the <literal>External-Links</literal> setting is used "
  5894. "then this option actually enables delinking of the files. It defaults to on "
  5895. "and can be turned off with <option>--no-delink</option>. Configuration "
  5896. "Item: <literal>APT::FTPArchive::DeLinkAct</literal>."
  5897. msgstr ""
  5898. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  5899. #: apt-ftparchive.1.xml:1
  5900. msgid ""
  5901. "Perform contents generation. When this option is set and package indexes are "
  5902. "being generated with a cache DB then the file listing will also be extracted "
  5903. "and stored in the DB for later use. When using the generate command this "
  5904. "option also allows the creation of any Contents files. The default is on. "
  5905. "Configuration Item: <literal>APT::FTPArchive::Contents</literal>."
  5906. msgstr ""
  5907. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  5908. #: apt-ftparchive.1.xml:1
  5909. msgid ""
  5910. "Select the source override file to use with the <literal>sources</literal> "
  5911. "command. Configuration Item: "
  5912. "<literal>APT::FTPArchive::SourceOverride</literal>."
  5913. msgstr ""
  5914. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  5915. #: apt-ftparchive.1.xml:1
  5916. msgid ""
  5917. "Make the caching databases read only. Configuration Item: "
  5918. "<literal>APT::FTPArchive::ReadOnlyDB</literal>."
  5919. msgstr ""
  5920. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  5921. #: apt-ftparchive.1.xml:1
  5922. msgid ""
  5923. "Accept in the <literal>packages</literal> and <literal>contents</literal> "
  5924. "commands only package files matching <literal>*_arch.deb</literal> or "
  5925. "<literal>*_all.deb</literal> instead of all package files in the given "
  5926. "path. Configuration Item: <literal>APT::FTPArchive::Architecture</literal>."
  5927. msgstr ""
  5928. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  5929. #: apt-ftparchive.1.xml:1
  5930. msgid ""
  5931. "&apt-ftparchive; caches as much as possible of metadata in a cachedb. If "
  5932. "packages are recompiled and/or republished with the same version again, this "
  5933. "will lead to problems as the now outdated cached metadata like size and "
  5934. "checksums will be used. With this option enabled this will no longer happen "
  5935. "as it will be checked if the file was changed. Note that this option is set "
  5936. "to \"<literal>false</literal>\" by default as it is not recommend to upload "
  5937. "multiply versions/builds of a package with the same versionnumber, so in "
  5938. "theory nobody will have these problems and therefore all these extra checks "
  5939. "are useless."
  5940. msgstr ""
  5941. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  5942. #: apt-ftparchive.1.xml:1
  5943. msgid ""
  5944. "This configuration option defaults to \"<literal>true</literal>\" and should "
  5945. "only be set to <literal>\"false\"</literal> if the Archive generated with "
  5946. "&apt-ftparchive; also provides <filename>Translation</filename> files. Note "
  5947. "that the <filename>Translation-en</filename> master file can only be created "
  5948. "in the generate command."
  5949. msgstr ""
  5950. #. type: Content of: <refentry><refsect1><para><programlisting>
  5951. #: apt-ftparchive.1.xml:1
  5952. #, no-wrap
  5953. msgid ""
  5954. "<command>apt-ftparchive</command> packages "
  5955. "<replaceable>directory</replaceable> | <command>gzip</command> > "
  5956. "<filename>Packages.gz</filename>\n"
  5957. msgstr ""
  5958. #. type: Content of: <refentry><refsect1><para>
  5959. #: apt-ftparchive.1.xml:1
  5960. msgid ""
  5961. "To create a compressed Packages file for a directory containing binary "
  5962. "packages (.deb): <placeholder type=\"programlisting\" id=\"0\"/>"
  5963. msgstr ""
  5964. #. type: Content of: <refentry><refsect1><para>
  5965. #: apt-ftparchive.1.xml:1
  5966. msgid ""
  5967. "<command>apt-ftparchive</command> returns zero on normal operation, decimal "
  5968. "100 on error."
  5969. msgstr ""
  5970. #. type: Attribute 'lang' of: <book>
  5971. #: guide.dbk:1 offline.dbk:1
  5972. msgid "en"
  5973. msgstr ""
  5974. #. type: Content of: <book><title>
  5975. #: guide.dbk:1
  5976. msgid "APT User's Guide"
  5977. msgstr ""
  5978. #. type: Content of: <book><bookinfo><authorgroup><author><personname>
  5979. #: guide.dbk:1 offline.dbk:1
  5980. msgid "Jason Gunthorpe"
  5981. msgstr ""
  5982. #. type: Content of: <book><bookinfo><authorgroup><author><email>
  5983. #: guide.dbk:1 offline.dbk:1
  5984. msgid "jgg@debian.org"
  5985. msgstr ""
  5986. #. type: Content of: <book><bookinfo><releaseinfo>
  5987. #: guide.dbk:1 offline.dbk:1
  5988. msgid "Version &apt-product-version;"
  5989. msgstr ""
  5990. #. type: Content of: <book><bookinfo><abstract><para>
  5991. #: guide.dbk:1
  5992. msgid ""
  5993. "This document provides an overview of how to use the the APT package "
  5994. "manager."
  5995. msgstr ""
  5996. #. type: Content of: <book><bookinfo>
  5997. #: guide.dbk:1
  5998. msgid "<copyright><year>1998</year><holder>Jason Gunthorpe</holder></copyright>"
  5999. msgstr ""
  6000. #. type: Content of: <book><bookinfo><legalnotice><title>
  6001. #: guide.dbk:1 offline.dbk:1
  6002. msgid "License Notice"
  6003. msgstr ""
  6004. #. type: Content of: <book><bookinfo><legalnotice><para>
  6005. #: guide.dbk:1 offline.dbk:1
  6006. msgid ""
  6007. "\"APT\" and this document are free software; you can redistribute them "
  6008. "and/or modify them under the terms of the GNU General Public License as "
  6009. "published by the Free Software Foundation; either version 2 of the License, "
  6010. "or (at your option) any later version."
  6011. msgstr ""
  6012. #. type: Content of: <book><bookinfo><legalnotice><para>
  6013. #: guide.dbk:1 offline.dbk:1
  6014. msgid ""
  6015. "For more details, on Debian systems, see the file "
  6016. "/usr/share/common-licenses/GPL for the full license."
  6017. msgstr ""
  6018. #. type: Content of: <book><chapter><title>
  6019. #: guide.dbk:1
  6020. msgid "General"
  6021. msgstr ""
  6022. #. type: Content of: <book><chapter><para>
  6023. #: guide.dbk:1
  6024. msgid ""
  6025. "The APT package currently contains two sections, the APT "
  6026. "<command>dselect</command> method and the <command>apt-get</command> command "
  6027. "line user interface. Both provide a way to install and remove packages as "
  6028. "well as download new packages from the Internet."
  6029. msgstr ""
  6030. #. type: Content of: <book><chapter><section><title>
  6031. #: guide.dbk:1
  6032. msgid "Anatomy of the Package System"
  6033. msgstr ""
  6034. #. type: Content of: <book><chapter><section><para>
  6035. #: guide.dbk:1
  6036. msgid ""
  6037. "The Debian packaging system has a large amount of information associated "
  6038. "with each package to help assure that it integrates cleanly and easily into "
  6039. "the system. The most prominent of its features is the dependency system."
  6040. msgstr ""
  6041. #. type: Content of: <book><chapter><section><para>
  6042. #: guide.dbk:1
  6043. msgid ""
  6044. "The dependency system allows individual programs to make use of shared "
  6045. "elements in the system such as libraries. It simplifies placing infrequently "
  6046. "used portions of a program in separate packages to reduce the number of "
  6047. "things the average user is required to install. Also, it allows for choices "
  6048. "in mail transport agents, X servers and so on."
  6049. msgstr ""
  6050. #. type: Content of: <book><chapter><section><para>
  6051. #: guide.dbk:1
  6052. msgid ""
  6053. "The first step to understanding the dependency system is to grasp the "
  6054. "concept of a simple dependency. The meaning of a simple dependency is that a "
  6055. "package requires another package to be installed at the same time to work "
  6056. "properly."
  6057. msgstr ""
  6058. #. type: Content of: <book><chapter><section><para>
  6059. #: guide.dbk:1
  6060. msgid ""
  6061. "For instance, mailcrypt is an emacs extension that aids in encrypting email "
  6062. "with GPG. Without GPGP installed mailcrypt is useless, so mailcrypt has a "
  6063. "simple dependency on GPG. Also, because it is an emacs extension it has a "
  6064. "simple dependency on emacs, without emacs it is completely useless."
  6065. msgstr ""
  6066. #. type: Content of: <book><chapter><section><para>
  6067. #: guide.dbk:1
  6068. msgid ""
  6069. "The other important dependency to understand is a conflicting dependency. It "
  6070. "means that a package, when installed with another package, will not work and "
  6071. "may possibly be extremely harmful to the system. As an example consider a "
  6072. "mail transport agent such as sendmail, exim or qmail. It is not possible to "
  6073. "have two mail transport agents installed because both need to listen to the "
  6074. "network to receive mail. Attempting to install two will seriously damage the "
  6075. "system so all mail transport agents have a conflicting dependency with all "
  6076. "other mail transport agents."
  6077. msgstr ""
  6078. #. type: Content of: <book><chapter><section><para>
  6079. #: guide.dbk:1
  6080. msgid ""
  6081. "As an added complication there is the possibility for a package to pretend "
  6082. "to be another package. Consider that exim and sendmail for many intents are "
  6083. "identical, they both deliver mail and understand a common interface. Hence, "
  6084. "the package system has a way for them to declare that they are both "
  6085. "mail-transport-agents. So, exim and sendmail both declare that they provide "
  6086. "a mail-transport-agent and other packages that need a mail transport agent "
  6087. "depend on mail-transport-agent. This can add a great deal of confusion when "
  6088. "trying to manually fix packages."
  6089. msgstr ""
  6090. #. type: Content of: <book><chapter><section><para>
  6091. #: guide.dbk:1
  6092. msgid ""
  6093. "At any given time a single dependency may be met by packages that are "
  6094. "already installed or it may not be. APT attempts to help resolve dependency "
  6095. "issues by providing a number of automatic algorithms that help in selecting "
  6096. "packages for installation."
  6097. msgstr ""
  6098. #. type: Content of: <book><chapter><title>
  6099. #: guide.dbk:1
  6100. msgid "apt-get"
  6101. msgstr ""
  6102. #. type: Content of: <book><chapter><para>
  6103. #: guide.dbk:1
  6104. msgid ""
  6105. "<command>apt-get</command> provides a simple way to install packages from "
  6106. "the command line. Unlike <command>dpkg</command>, <command>apt-get</command> "
  6107. "does not understand .deb files, it works with the package's proper name and "
  6108. "can only install .deb archives from a <emphasis>Source</emphasis>."
  6109. msgstr ""
  6110. #. type: Content of: <book><chapter><para><footnote><para>
  6111. #: guide.dbk:1
  6112. msgid ""
  6113. "If you are using an http proxy server you must set the http_proxy "
  6114. "environment variable first, see sources.list(5)"
  6115. msgstr ""
  6116. #. type: Content of: <book><chapter><para>
  6117. #: guide.dbk:1
  6118. msgid ""
  6119. "The first <placeholder type=\"footnote\" id=\"0\"/> thing that should be "
  6120. "done before using <command>apt-get</command> is to fetch the package lists "
  6121. "from the <emphasis>Sources</emphasis> so that it knows what packages are "
  6122. "available. This is done with <literal>apt-get update</literal>. For "
  6123. "instance,"
  6124. msgstr ""
  6125. #. type: Content of: <book><chapter><screen>
  6126. #: guide.dbk:1
  6127. #, no-wrap
  6128. msgid ""
  6129. "# apt-get update\n"
  6130. "Get http://ftp.de.debian.org/debian-non-US/ stable/binary-i386/ Packages\n"
  6131. "Get http://llug.sep.bnl.gov/debian/ testing/contrib Packages\n"
  6132. "Reading Package Lists... Done\n"
  6133. "Building Dependency Tree... Done\n"
  6134. msgstr ""
  6135. #. type: Content of: <book><chapter><para>
  6136. #: guide.dbk:1
  6137. msgid "Once updated there are several commands that can be used:"
  6138. msgstr ""
  6139. #. type: Content of: <book><chapter><variablelist><varlistentry><term>
  6140. #: guide.dbk:1
  6141. msgid "upgrade"
  6142. msgstr ""
  6143. #. type: Content of: <book><chapter><variablelist><varlistentry><listitem><para>
  6144. #: guide.dbk:1
  6145. msgid ""
  6146. "Upgrade will attempt to gently upgrade the whole system. Upgrade will never "
  6147. "install a new package or remove an existing package, nor will it ever "
  6148. "upgrade a package that might cause some other package to break. This can be "
  6149. "used daily to relatively safely upgrade the system. Upgrade will list all of "
  6150. "the packages that it could not upgrade, this usually means that they depend "
  6151. "on new packages or conflict with some other "
  6152. "package. <command>dselect</command> or <literal>apt-get install</literal> "
  6153. "can be used to force these packages to install."
  6154. msgstr ""
  6155. #. type: Content of: <book><chapter><variablelist><varlistentry><term>
  6156. #: guide.dbk:1
  6157. msgid "install"
  6158. msgstr ""
  6159. #. type: Content of: <book><chapter><variablelist><varlistentry><listitem><para>
  6160. #: guide.dbk:1
  6161. msgid ""
  6162. "Install is used to install packages by name. The package is automatically "
  6163. "fetched and installed. This can be useful if you already know the name of "
  6164. "the package to install and do not want to go into a GUI to select it. Any "
  6165. "number of packages may be passed to install, they will all be "
  6166. "fetched. Install automatically attempts to resolve dependency problems with "
  6167. "the listed packages and will print a summary and ask for confirmation if "
  6168. "anything other than its arguments are changed."
  6169. msgstr ""
  6170. #. type: Content of: <book><chapter><variablelist><varlistentry><term>
  6171. #: guide.dbk:1
  6172. msgid "dist-upgrade"
  6173. msgstr ""
  6174. #. type: Content of: <book><chapter><variablelist><varlistentry><listitem><para>
  6175. #: guide.dbk:1
  6176. msgid ""
  6177. "Dist-upgrade is a complete upgrader designed to simplify upgrading between "
  6178. "releases of Debian. It uses a sophisticated algorithm to determine the best "
  6179. "set of packages to install, upgrade and remove to get as much of the system "
  6180. "to the newest release. In some situations it may be desired to use "
  6181. "dist-upgrade rather than spend the time manually resolving dependencies in "
  6182. "<command>dselect</command>. Once dist-upgrade has completed then "
  6183. "<command>dselect</command> can be used to install any packages that may have "
  6184. "been left out."
  6185. msgstr ""
  6186. #. type: Content of: <book><chapter><variablelist><varlistentry><listitem><para>
  6187. #: guide.dbk:1
  6188. msgid ""
  6189. "It is important to closely look at what dist-upgrade is going to do, its "
  6190. "decisions may sometimes be quite surprising."
  6191. msgstr ""
  6192. #. type: Content of: <book><chapter><para>
  6193. #: guide.dbk:1
  6194. msgid ""
  6195. "<command>apt-get</command> has several command line options that are "
  6196. "detailed in its man page, "
  6197. "<citerefentry><refentrytitle>apt-get</refentrytitle><manvolnum>8</manvolnum></citerefentry>. "
  6198. "The most useful option is <literal>-d</literal> which does not install the "
  6199. "fetched files. If the system has to download a large number of package it "
  6200. "would be undesired to start installing them in case something goes "
  6201. "wrong. When <literal>-d</literal> is used the downloaded archives can be "
  6202. "installed by simply running the command that caused them to be downloaded "
  6203. "again without <literal>-d</literal>."
  6204. msgstr ""
  6205. #. type: Content of: <book><chapter><title>
  6206. #: guide.dbk:1
  6207. msgid "DSelect"
  6208. msgstr ""
  6209. #. type: Content of: <book><chapter><para>
  6210. #: guide.dbk:1
  6211. msgid ""
  6212. "The APT <command>dselect</command> method provides the complete APT system "
  6213. "with the <command>dselect</command> package selection "
  6214. "GUI. <command>dselect</command> is used to select the packages to be "
  6215. "installed or removed and APT actually installs them."
  6216. msgstr ""
  6217. #. type: Content of: <book><chapter><para>
  6218. #: guide.dbk:1
  6219. msgid ""
  6220. "To enable the APT method you need to select [A]ccess in "
  6221. "<command>dselect</command> and then choose the APT method. You will be "
  6222. "prompted for a set of <emphasis>Sources</emphasis> which are places to fetch "
  6223. "archives from. These can be remote Internet sites, local Debian mirrors or "
  6224. "CD-ROMs. Each source can provide a fragment of the total Debian archive, APT "
  6225. "will automatically combine them to form a complete set of packages. If you "
  6226. "have a CD-ROM then it is a good idea to specify it first and then specify a "
  6227. "mirror so that you have access to the latest bug fixes. APT will "
  6228. "automatically use packages on your CD-ROM before downloading from the "
  6229. "Internet."
  6230. msgstr ""
  6231. #. type: Content of: <book><chapter><screen>
  6232. #: guide.dbk:1
  6233. #, no-wrap
  6234. msgid ""
  6235. " Set up a list of distribution source locations\n"
  6236. "\n"
  6237. " Please give the base URL of the debian distribution.\n"
  6238. " The access schemes I know about are: http file\n"
  6239. "\n"
  6240. " For example:\n"
  6241. " file:/mnt/debian,\n"
  6242. " ftp://ftp.debian.org/debian,\n"
  6243. " http://ftp.de.debian.org/debian,\n"
  6244. "\n"
  6245. "\n"
  6246. " URL [http://llug.sep.bnl.gov/debian]:\n"
  6247. msgstr ""
  6248. #. type: Content of: <book><chapter><para>
  6249. #: guide.dbk:1
  6250. msgid ""
  6251. "The <emphasis>Sources</emphasis> setup starts by asking for the base of the "
  6252. "Debian archive, defaulting to a HTTP mirror. Next it asks for the "
  6253. "distribution to get."
  6254. msgstr ""
  6255. #. type: Content of: <book><chapter><screen>
  6256. #: guide.dbk:1
  6257. #, no-wrap
  6258. msgid ""
  6259. " Please give the distribution tag to get or a path to the\n"
  6260. " package file ending in a /. The distribution\n"
  6261. " tags are typically something like: stable unstable testing non-US\n"
  6262. "\n"
  6263. " Distribution [stable]:\n"
  6264. msgstr ""
  6265. #. type: Content of: <book><chapter><para>
  6266. #: guide.dbk:1
  6267. msgid ""
  6268. "The distribution refers to the Debian version in the archive, "
  6269. "<emphasis>stable</emphasis> refers to the latest released version and "
  6270. "<emphasis>unstable</emphasis> refers to the developmental "
  6271. "version. <emphasis>non-US</emphasis> is only available on some mirrors and "
  6272. "refers to packages that contain encryption technology or other things that "
  6273. "cannot be exported from the United States. Importing these packages into the "
  6274. "US is legal however."
  6275. msgstr ""
  6276. #. type: Content of: <book><chapter><screen>
  6277. #: guide.dbk:1
  6278. #, no-wrap
  6279. msgid ""
  6280. " Please give the components to get\n"
  6281. " The components are typically something like: main contrib non-free\n"
  6282. "\n"
  6283. " Components [main contrib non-free]:\n"
  6284. msgstr ""
  6285. #. type: Content of: <book><chapter><para>
  6286. #: guide.dbk:1
  6287. msgid ""
  6288. "The components list refers to the list of sub distributions to fetch. The "
  6289. "distribution is split up based on software licenses, main being DFSG free "
  6290. "packages while contrib and non-free contain things that have various "
  6291. "restrictions placed on their use and distribution."
  6292. msgstr ""
  6293. #. type: Content of: <book><chapter><para>
  6294. #: guide.dbk:1
  6295. msgid ""
  6296. "Any number of sources can be added, the setup script will continue to prompt "
  6297. "until you have specified all that you want."
  6298. msgstr ""
  6299. #. type: Content of: <book><chapter><para>
  6300. #: guide.dbk:1
  6301. msgid ""
  6302. "Before starting to use <command>dselect</command> it is necessary to update "
  6303. "the available list by selecting [U]pdate from the menu. This is a superset "
  6304. "of <literal>apt-get update</literal> that makes the fetched information "
  6305. "available to <command>dselect</command>. [U]pdate must be performed even if "
  6306. "<literal>apt-get update</literal> has been run before."
  6307. msgstr ""
  6308. #. type: Content of: <book><chapter><para>
  6309. #: guide.dbk:1
  6310. msgid ""
  6311. "You can then go on and make your selections using [S]elect and then perform "
  6312. "the installation using [I]nstall. When using the APT method the [C]onfig and "
  6313. "[R]emove commands have no meaning, the [I]nstall command performs both of "
  6314. "them together."
  6315. msgstr ""
  6316. #. type: Content of: <book><chapter><para>
  6317. #: guide.dbk:1
  6318. msgid ""
  6319. "By default APT will automatically remove the package (.deb) files once they "
  6320. "have been successfully installed. To change this behavior place "
  6321. "<literal>Dselect::clean \"prompt\";</literal> in /etc/apt/apt.conf."
  6322. msgstr ""
  6323. #. type: Content of: <book><chapter><title>
  6324. #: guide.dbk:1
  6325. msgid "The Interface"
  6326. msgstr ""
  6327. #. type: Content of: <book><chapter><para><footnote><para>
  6328. #: guide.dbk:1
  6329. msgid ""
  6330. "The <command>dselect</command> method actually is a set of wrapper scripts "
  6331. "to <command>apt-get</command>. The method actually provides more "
  6332. "functionality than is present in <command>apt-get</command> alone."
  6333. msgstr ""
  6334. #. type: Content of: <book><chapter><para>
  6335. #: guide.dbk:1
  6336. msgid ""
  6337. "Both that APT <command>dselect</command> method and "
  6338. "<command>apt-get</command> share the same interface. It is a simple system "
  6339. "that generally tells you what it will do and then goes and does "
  6340. "it. <placeholder type=\"footnote\" id=\"0\"/> After printing out a summary "
  6341. "of what will happen APT then will print out some informative status messages "
  6342. "so that you can estimate how far along it is and how much is left to do."
  6343. msgstr ""
  6344. #. type: Content of: <book><chapter><section><title>
  6345. #: guide.dbk:1
  6346. msgid "Startup"
  6347. msgstr ""
  6348. #. type: Content of: <book><chapter><section><para>
  6349. #: guide.dbk:1
  6350. msgid ""
  6351. "Before all operations except update, APT performs a number of actions to "
  6352. "prepare its internal state. It also does some checks of the system's "
  6353. "state. At any time these operations can be performed by running "
  6354. "<literal>apt-get check</literal>."
  6355. msgstr ""
  6356. #. type: Content of: <book><chapter><section><screen>
  6357. #: guide.dbk:1
  6358. #, no-wrap
  6359. msgid ""
  6360. "# apt-get check\n"
  6361. "Reading Package Lists... Done\n"
  6362. "Building Dependency Tree... Done\n"
  6363. msgstr ""
  6364. #. type: Content of: <book><chapter><section><para>
  6365. #: guide.dbk:1
  6366. msgid ""
  6367. "The first thing it does is read all the package files into memory. APT uses "
  6368. "a caching scheme so this operation will be faster the second time it is "
  6369. "run. If some of the package files are not found then they will be ignored "
  6370. "and a warning will be printed when apt-get exits."
  6371. msgstr ""
  6372. #. type: Content of: <book><chapter><section><para>
  6373. #: guide.dbk:1
  6374. msgid ""
  6375. "The final operation performs a detailed analysis of the system's "
  6376. "dependencies. It checks every dependency of every installed or unpacked "
  6377. "package and considers if it is OK. Should this find a problem then a report "
  6378. "will be printed out and <command>apt-get</command> will refuse to run."
  6379. msgstr ""
  6380. #. type: Content of: <book><chapter><section><screen>
  6381. #: guide.dbk:1
  6382. #, no-wrap
  6383. msgid ""
  6384. "# apt-get check\n"
  6385. "Reading Package Lists... Done\n"
  6386. "Building Dependency Tree... Done\n"
  6387. "You might want to run apt-get -f install' to correct these.\n"
  6388. "Sorry, but the following packages have unmet dependencies:\n"
  6389. " 9fonts: Depends: xlib6g but it is not installed\n"
  6390. " uucp: Depends: mailx but it is not installed\n"
  6391. " blast: Depends: xlib6g (&gt;= 3.3-5) but it is not installed\n"
  6392. " adduser: Depends: perl-base but it is not installed\n"
  6393. " aumix: Depends: libgpmg1 but it is not installed\n"
  6394. " debiandoc-sgml: Depends: sgml-base but it is not installed\n"
  6395. " bash-builtins: Depends: bash (&gt;= 2.01) but 2.0-3 is installed\n"
  6396. " cthugha: Depends: svgalibg1 but it is not installed\n"
  6397. " Depends: xlib6g (&gt;= 3.3-5) but it is not installed\n"
  6398. " libreadlineg2: Conflicts:libreadline2 (&lt;&lt; 2.1-2.1)\n"
  6399. msgstr ""
  6400. #. type: Content of: <book><chapter><section><para>
  6401. #: guide.dbk:1
  6402. msgid ""
  6403. "In this example the system has many problems, including a serious problem "
  6404. "with libreadlineg2. For each package that has unmet dependencies a line is "
  6405. "printed out indicating the package with the problem and the dependencies "
  6406. "that are unmet. A short explanation of why the package has a dependency "
  6407. "problem is also included."
  6408. msgstr ""
  6409. #. type: Content of: <book><chapter><section><para><footnote><para>
  6410. #: guide.dbk:1
  6411. msgid ""
  6412. "APT however considers all known dependencies and attempts to prevent broken "
  6413. "packages"
  6414. msgstr ""
  6415. #. type: Content of: <book><chapter><section><para>
  6416. #: guide.dbk:1
  6417. msgid ""
  6418. "There are two ways a system can get into a broken state like this. The first "
  6419. "is caused by <command>dpkg</command> missing some subtle relationships "
  6420. "between packages when performing upgrades. <placeholder type=\"footnote\" "
  6421. "id=\"0\"/>. The second is if a package installation fails during an "
  6422. "operation. In this situation a package may have been unpacked without its "
  6423. "dependents being installed."
  6424. msgstr ""
  6425. #. type: Content of: <book><chapter><section><para>
  6426. #: guide.dbk:1
  6427. msgid ""
  6428. "The second situation is much less serious than the first because APT places "
  6429. "certain constraints on the order that packages are installed. In both cases "
  6430. "supplying the <literal>-f</literal> option to <command>apt-get</command> "
  6431. "will cause APT to deduce a possible solution to the problem and then "
  6432. "continue on. The APT <command>dselect</command> method always supplies the "
  6433. "<literal>-f</literal> option to allow for easy continuation of failed "
  6434. "maintainer scripts."
  6435. msgstr ""
  6436. #. type: Content of: <book><chapter><section><para>
  6437. #: guide.dbk:1
  6438. msgid ""
  6439. "However, if the <literal>-f</literal> option is used to correct a seriously "
  6440. "broken system caused by the first case then it is possible that it will "
  6441. "either fail immediately or the installation sequence will fail. In either "
  6442. "case it is necessary to manually use dpkg (possibly with forcing options) to "
  6443. "correct the situation enough to allow APT to proceed."
  6444. msgstr ""
  6445. #. type: Content of: <book><chapter><section><title>
  6446. #: guide.dbk:1
  6447. msgid "The Status Report"
  6448. msgstr ""
  6449. #. type: Content of: <book><chapter><section><para>
  6450. #: guide.dbk:1
  6451. msgid ""
  6452. "Before proceeding <command>apt-get</command> will present a report on what "
  6453. "will happen. Generally the report reflects the type of operation being "
  6454. "performed but there are several common elements. In all cases the lists "
  6455. "reflect the final state of things, taking into account the "
  6456. "<literal>-f</literal> option and any other relevant activities to the "
  6457. "command being executed."
  6458. msgstr ""
  6459. #. type: Content of: <book><chapter><section><section><title>
  6460. #: guide.dbk:1
  6461. msgid "The Extra Package list"
  6462. msgstr ""
  6463. #. type: Content of: <book><chapter><section><section><screen>
  6464. #: guide.dbk:1
  6465. #, no-wrap
  6466. msgid ""
  6467. "The following extra packages will be installed:\n"
  6468. " libdbd-mysql-perl xlib6 zlib1 xzx libreadline2 libdbd-msql-perl\n"
  6469. " mailpgp xdpkg fileutils pinepgp zlib1g xlib6g perl-base\n"
  6470. " bin86 libgdbm1 libgdbmg1 quake-lib gmp2 bcc xbuffy\n"
  6471. " squake pgp-i python-base debmake ldso perl libreadlineg2\n"
  6472. " ssh\n"
  6473. msgstr ""
  6474. #. type: Content of: <book><chapter><section><section><para>
  6475. #: guide.dbk:1
  6476. msgid ""
  6477. "The Extra Package list shows all of the packages that will be installed or "
  6478. "upgraded in excess of the ones mentioned on the command line. It is only "
  6479. "generated for an <literal>install</literal> command. The listed packages are "
  6480. "often the result of an Auto Install."
  6481. msgstr ""
  6482. #. type: Content of: <book><chapter><section><section><title>
  6483. #: guide.dbk:1
  6484. msgid "The Packages to Remove"
  6485. msgstr ""
  6486. #. type: Content of: <book><chapter><section><section><screen>
  6487. #: guide.dbk:1
  6488. #, no-wrap
  6489. msgid ""
  6490. "The following packages will be REMOVED:\n"
  6491. " xlib6-dev xpat2 tk40-dev xkeycaps xbattle xonix\n"
  6492. " xdaliclock tk40 tk41 xforms0.86 ghostview xloadimage xcolorsel\n"
  6493. " xadmin xboard perl-debug tkined xtetris libreadline2-dev perl-suid\n"
  6494. " nas xpilot xfig\n"
  6495. msgstr ""
  6496. #. type: Content of: <book><chapter><section><section><para>
  6497. #: guide.dbk:1
  6498. msgid ""
  6499. "The Packages to Remove list shows all of the packages that will be removed "
  6500. "from the system. It can be shown for any of the operations and should be "
  6501. "given a careful inspection to ensure nothing important is to be taken "
  6502. "off. The <literal>-f</literal> option is especially good at generating "
  6503. "packages to remove so extreme care should be used in that case. The list may "
  6504. "contain packages that are going to be removed because they are only "
  6505. "partially installed, possibly due to an aborted installation."
  6506. msgstr ""
  6507. #. type: Content of: <book><chapter><section><section><title>
  6508. #: guide.dbk:1
  6509. msgid "The New Packages list"
  6510. msgstr ""
  6511. #. type: Content of: <book><chapter><section><section><screen>
  6512. #: guide.dbk:1
  6513. #, no-wrap
  6514. msgid ""
  6515. "The following NEW packages will installed:\n"
  6516. " zlib1g xlib6g perl-base libgdbmg1 quake-lib gmp2 pgp-i python-base\n"
  6517. msgstr ""
  6518. #. type: Content of: <book><chapter><section><section><para>
  6519. #: guide.dbk:1
  6520. msgid ""
  6521. "The New Packages list is simply a reminder of what will happen. The packages "
  6522. "listed are not presently installed in the system but will be when APT is "
  6523. "done."
  6524. msgstr ""
  6525. #. type: Content of: <book><chapter><section><section><title>
  6526. #: guide.dbk:1
  6527. msgid "The Kept Back list"
  6528. msgstr ""
  6529. #. type: Content of: <book><chapter><section><section><screen>
  6530. #: guide.dbk:1
  6531. #, no-wrap
  6532. msgid ""
  6533. "The following packages have been kept back\n"
  6534. " compface man-db tetex-base msql libpaper svgalib1\n"
  6535. " gs snmp arena lynx xpat2 groff xscreensaver\n"
  6536. msgstr ""
  6537. #. type: Content of: <book><chapter><section><section><para>
  6538. #: guide.dbk:1
  6539. msgid ""
  6540. "Whenever the whole system is being upgraded there is the possibility that "
  6541. "new versions of packages cannot be installed because they require new things "
  6542. "or conflict with already installed things. In this case the package will "
  6543. "appear in the Kept Back list. The best way to convince packages listed there "
  6544. "to install is with <literal>apt-get install</literal> or by using "
  6545. "<command>dselect</command> to resolve their problems."
  6546. msgstr ""
  6547. #. type: Content of: <book><chapter><section><section><title>
  6548. #: guide.dbk:1
  6549. msgid "Held Packages warning"
  6550. msgstr ""
  6551. #. type: Content of: <book><chapter><section><section><screen>
  6552. #: guide.dbk:1
  6553. #, no-wrap
  6554. msgid ""
  6555. "The following held packages will be changed:\n"
  6556. " cvs\n"
  6557. msgstr ""
  6558. #. type: Content of: <book><chapter><section><section><para>
  6559. #: guide.dbk:1
  6560. msgid ""
  6561. "Sometimes you can ask APT to install a package that is on hold, in such a "
  6562. "case it prints out a warning that the held package is going to be "
  6563. "changed. This should only happen during dist-upgrade or install."
  6564. msgstr ""
  6565. #. type: Content of: <book><chapter><section><section><title>
  6566. #: guide.dbk:1
  6567. msgid "Final summary"
  6568. msgstr ""
  6569. #. type: Content of: <book><chapter><section><section><para>
  6570. #: guide.dbk:1
  6571. msgid "Finally, APT will print out a summary of all the changes that will occur."
  6572. msgstr ""
  6573. #. type: Content of: <book><chapter><section><section><screen>
  6574. #: guide.dbk:1
  6575. #, no-wrap
  6576. msgid ""
  6577. "206 packages upgraded, 8 newly installed, 23 to remove and 51 not "
  6578. "upgraded.\n"
  6579. "12 packages not fully installed or removed.\n"
  6580. "Need to get 65.7M/66.7M of archives. After unpacking 26.5M will be used.\n"
  6581. msgstr ""
  6582. #. type: Content of: <book><chapter><section><section><para>
  6583. #: guide.dbk:1
  6584. msgid ""
  6585. "The first line of the summary simply is a reduced version of all of the "
  6586. "lists and includes the number of upgrades - that is packages already "
  6587. "installed that have new versions available. The second line indicates the "
  6588. "number of poorly configured packages, possibly the result of an aborted "
  6589. "installation. The final line shows the space requirements that the "
  6590. "installation needs. The first pair of numbers refer to the size of the "
  6591. "archive files. The first number indicates the number of bytes that must be "
  6592. "fetched from remote locations and the second indicates the total size of all "
  6593. "the archives required. The next number indicates the size difference between "
  6594. "the presently installed packages and the newly installed packages. It is "
  6595. "roughly equivalent to the space required in /usr after everything is "
  6596. "done. If a large number of packages are being removed then the value may "
  6597. "indicate the amount of space that will be freed."
  6598. msgstr ""
  6599. #. type: Content of: <book><chapter><section><section><para>
  6600. #: guide.dbk:1
  6601. msgid ""
  6602. "Some other reports can be generated by using the -u option to show packages "
  6603. "to upgrade, they are similar to the previous examples."
  6604. msgstr ""
  6605. #. type: Content of: <book><chapter><section><title>
  6606. #: guide.dbk:1
  6607. msgid "The Status Display"
  6608. msgstr ""
  6609. #. type: Content of: <book><chapter><section><para>
  6610. #: guide.dbk:1
  6611. msgid ""
  6612. "During the download of archives and package files APT prints out a series of "
  6613. "status messages."
  6614. msgstr ""
  6615. #. type: Content of: <book><chapter><section><screen>
  6616. #: guide.dbk:1
  6617. #, no-wrap
  6618. msgid ""
  6619. "# apt-get update\n"
  6620. "Get:1 http://ftp.de.debian.org/debian-non-US/ stable/non-US/ Packages\n"
  6621. "Get:2 http://llug.sep.bnl.gov/debian/ testing/contrib Packages\n"
  6622. "Hit http://llug.sep.bnl.gov/debian/ testing/main Packages\n"
  6623. "Get:4 http://ftp.de.debian.org/debian-non-US/ unstable/binary-i386/ "
  6624. "Packages\n"
  6625. "Get:5 http://llug.sep.bnl.gov/debian/ testing/non-free Packages\n"
  6626. "11% [5 testing/non-free `Waiting for file' 0/32.1k 0%] 2203b/s 1m52s\n"
  6627. msgstr ""
  6628. #. type: Content of: <book><chapter><section><para>
  6629. #: guide.dbk:1
  6630. msgid ""
  6631. "The lines starting with <emphasis>Get</emphasis> are printed out when APT "
  6632. "begins to fetch a file while the last line indicates the progress of the "
  6633. "download. The first percent value on the progress line indicates the total "
  6634. "percent done of all files. Unfortunately since the size of the Package files "
  6635. "is unknown <literal>apt-get update</literal> estimates the percent done "
  6636. "which causes some inaccuracies."
  6637. msgstr ""
  6638. #. type: Content of: <book><chapter><section><para>
  6639. #: guide.dbk:1
  6640. msgid ""
  6641. "The next section of the status line is repeated once for each download "
  6642. "thread and indicates the operation being performed and some useful "
  6643. "information about what is happening. Sometimes this section will simply read "
  6644. "<emphasis>Forking</emphasis> which means the OS is loading the download "
  6645. "module. The first word after the [ is the fetch number as shown on the "
  6646. "history lines. The next word is the short form name of the object being "
  6647. "downloaded. For archives it will contain the name of the package that is "
  6648. "being fetched."
  6649. msgstr ""
  6650. #. type: Content of: <book><chapter><section><para>
  6651. #: guide.dbk:1
  6652. msgid ""
  6653. "Inside of the single quote is an informative string indicating the progress "
  6654. "of the negotiation phase of the download. Typically it progresses from "
  6655. "<emphasis>Connecting</emphasis> to <emphasis>Waiting for file</emphasis> to "
  6656. "<emphasis>Downloading</emphasis> or <emphasis>Resuming</emphasis>. The final "
  6657. "value is the number of bytes downloaded from the remote site. Once the "
  6658. "download begins this is represented as <literal>102/10.2k</literal> "
  6659. "indicating that 102 bytes have been fetched and 10.2 kilobytes is "
  6660. "expected. The total size is always shown in 4 figure notation to preserve "
  6661. "space. After the size display is a percent meter for the file itself. The "
  6662. "second last element is the instantaneous average speed. This values is "
  6663. "updated every 5 seconds and reflects the rate of data transfer for that "
  6664. "period. Finally is shown the estimated transfer time. This is updated "
  6665. "regularly and reflects the time to complete everything at the shown transfer "
  6666. "rate."
  6667. msgstr ""
  6668. #. type: Content of: <book><chapter><section><para>
  6669. #: guide.dbk:1
  6670. msgid ""
  6671. "The status display updates every half second to provide a constant feedback "
  6672. "on the download progress while the Get lines scroll back whenever a new file "
  6673. "is started. Since the status display is constantly updated it is unsuitable "
  6674. "for logging to a file, use the <literal>-q</literal> option to remove the "
  6675. "status display."
  6676. msgstr ""
  6677. #. type: Content of: <book><chapter><section><title>
  6678. #: guide.dbk:1
  6679. msgid "Dpkg"
  6680. msgstr ""
  6681. #. type: Content of: <book><chapter><section><para>
  6682. #: guide.dbk:1
  6683. msgid ""
  6684. "APT uses <command>dpkg</command> for installing the archives and will switch "
  6685. "over to the <command>dpkg</command> interface once downloading is "
  6686. "completed. <command>dpkg</command> will also ask a number of questions as it "
  6687. "processes the packages and the packages themselves may also ask several "
  6688. "questions. Before each question there is usually a description of what it is "
  6689. "asking and the questions are too varied to discuss completely here."
  6690. msgstr ""
  6691. #. type: Content of: <book><title>
  6692. #: offline.dbk:1
  6693. msgid "Using APT Offline"
  6694. msgstr ""
  6695. #. type: Content of: <book><bookinfo><abstract><para>
  6696. #: offline.dbk:1
  6697. msgid ""
  6698. "This document describes how to use APT in a non-networked environment, "
  6699. "specifically a 'sneaker-net' approach for performing upgrades."
  6700. msgstr ""
  6701. #. type: Content of: <book><bookinfo>
  6702. #: offline.dbk:1
  6703. msgid "<copyright><year>1999</year><holder>Jason Gunthorpe</holder></copyright>"
  6704. msgstr ""
  6705. #. type: Content of: <book><chapter><title>
  6706. #: offline.dbk:1
  6707. msgid "Introduction"
  6708. msgstr ""
  6709. #. type: Content of: <book><chapter><section><title>
  6710. #: offline.dbk:1 offline.dbk:1 offline.dbk:1
  6711. msgid "Overview"
  6712. msgstr ""
  6713. #. type: Content of: <book><chapter><section><para>
  6714. #: offline.dbk:1
  6715. msgid ""
  6716. "Normally APT requires direct access to a Debian archive, either from a local "
  6717. "media or through a network. Another common complaint is that a Debian "
  6718. "machine is on a slow link, such as a modem and another machine has a very "
  6719. "fast connection but they are physically distant."
  6720. msgstr ""
  6721. #. type: Content of: <book><chapter><section><para>
  6722. #: offline.dbk:1
  6723. msgid ""
  6724. "The solution to this is to use large removable media such as a Zip disc or a "
  6725. "SuperDisk disc. These discs are not large enough to store the entire Debian "
  6726. "archive but can easily fit a subset large enough for most users. The idea is "
  6727. "to use APT to generate a list of packages that are required and then fetch "
  6728. "them onto the disc using another machine with good connectivity. It is even "
  6729. "possible to use another Debian machine with APT or to use a completely "
  6730. "different OS and a download tool like wget. Let <emphasis>remote "
  6731. "host</emphasis> mean the machine downloading the packages, and "
  6732. "<emphasis>target host</emphasis> the one with bad or no connection."
  6733. msgstr ""
  6734. #. type: Content of: <book><chapter><section><para>
  6735. #: offline.dbk:1
  6736. msgid ""
  6737. "This is achieved by creatively manipulating the APT configuration file. The "
  6738. "essential premise to tell APT to look on a disc for it's archive files. Note "
  6739. "that the disc should be formatted with a filesystem that can handle long "
  6740. "file names such as ext2, fat32 or vfat."
  6741. msgstr ""
  6742. #. type: Content of: <book><chapter><title>
  6743. #: offline.dbk:1
  6744. msgid "Using APT on both machines"
  6745. msgstr ""
  6746. #. type: Content of: <book><chapter><section><para>
  6747. #: offline.dbk:1
  6748. msgid ""
  6749. "APT being available on both machines gives the simplest configuration. The "
  6750. "basic idea is to place a copy of the status file on the disc and use the "
  6751. "remote machine to fetch the latest package files and decide which packages "
  6752. "to download. The disk directory structure should look like:"
  6753. msgstr ""
  6754. #. type: Content of: <book><chapter><section><screen>
  6755. #: offline.dbk:1
  6756. #, no-wrap
  6757. msgid ""
  6758. " /disc/\n"
  6759. " archives/\n"
  6760. " partial/\n"
  6761. " lists/\n"
  6762. " partial/\n"
  6763. " status\n"
  6764. " sources.list\n"
  6765. " apt.conf\n"
  6766. msgstr ""
  6767. #. type: Content of: <book><chapter><section><title>
  6768. #: offline.dbk:1
  6769. msgid "The configuration file"
  6770. msgstr ""
  6771. #. type: Content of: <book><chapter><section><para>
  6772. #: offline.dbk:1
  6773. msgid ""
  6774. "The configuration file should tell APT to store its files on the disc and to "
  6775. "use the configuration files on the disc as well. The sources.list should "
  6776. "contain the proper sites that you wish to use from the remote machine, and "
  6777. "the status file should be a copy of "
  6778. "<emphasis>/var/lib/dpkg/status</emphasis> from the <emphasis>target "
  6779. "host</emphasis>. Please note, if you are using a local archive you must use "
  6780. "copy URIs, the syntax is identical to file URIs."
  6781. msgstr ""
  6782. #. type: Content of: <book><chapter><section><para>
  6783. #: offline.dbk:1
  6784. msgid ""
  6785. "<emphasis>apt.conf</emphasis> must contain the necessary information to make "
  6786. "APT use the disc:"
  6787. msgstr ""
  6788. #. type: Content of: <book><chapter><section><screen>
  6789. #: offline.dbk:1
  6790. #, no-wrap
  6791. msgid ""
  6792. " APT\n"
  6793. " {\n"
  6794. " /* This is not necessary if the two machines are the same arch, it "
  6795. "tells\n"
  6796. " the remote APT what architecture the target machine is */\n"
  6797. " Architecture \"i386\";\n"
  6798. "\n"
  6799. " Get::Download-Only \"true\";\n"
  6800. " };\n"
  6801. "\n"
  6802. " Dir\n"
  6803. " {\n"
  6804. " /* Use the disc for state information and redirect the status file from\n"
  6805. " the /var/lib/dpkg default */\n"
  6806. " State \"/disc/\";\n"
  6807. " State::status \"status\";\n"
  6808. "\n"
  6809. " // Binary caches will be stored locally\n"
  6810. " Cache::archives \"/disc/archives/\";\n"
  6811. " Cache \"/tmp/\";\n"
  6812. "\n"
  6813. " // Location of the source list.\n"
  6814. " Etc \"/disc/\";\n"
  6815. " };\n"
  6816. msgstr ""
  6817. #. type: Content of: <book><chapter><section><para>
  6818. #: offline.dbk:1
  6819. msgid ""
  6820. "More details can be seen by examining the apt.conf man page and the sample "
  6821. "configuration file in "
  6822. "<emphasis>/usr/share/doc/apt/examples/apt.conf</emphasis>."
  6823. msgstr ""
  6824. #. type: Content of: <book><chapter><section><para>
  6825. #: offline.dbk:1
  6826. msgid ""
  6827. "On the target machine the first thing to do is mount the disc and copy "
  6828. "<emphasis>/var/lib/dpkg/status</emphasis> to it. You will also need to "
  6829. "create the directories outlined in the Overview, "
  6830. "<emphasis>archives/partial/</emphasis> and "
  6831. "<emphasis>lists/partial/</emphasis>. Then take the disc to the remote "
  6832. "machine and configure the sources.list. On the remote machine execute the "
  6833. "following:"
  6834. msgstr ""
  6835. #. type: Content of: <book><chapter><section><screen>
  6836. #: offline.dbk:1
  6837. #, no-wrap
  6838. msgid ""
  6839. " # export APT_CONFIG=\"/disc/apt.conf\"\n"
  6840. " # apt-get update\n"
  6841. " [ APT fetches the package files ]\n"
  6842. " # apt-get dist-upgrade\n"
  6843. " [ APT fetches all the packages needed to upgrade the target machine ]\n"
  6844. msgstr ""
  6845. #. type: Content of: <book><chapter><section><para>
  6846. #: offline.dbk:1
  6847. msgid ""
  6848. "The dist-upgrade command can be replaced with any other standard APT "
  6849. "commands, particularly dselect-upgrade. You can even use an APT front end "
  6850. "such as <emphasis>dselect</emphasis>. However this presents a problem in "
  6851. "communicating your selections back to the local computer."
  6852. msgstr ""
  6853. #. type: Content of: <book><chapter><section><para>
  6854. #: offline.dbk:1
  6855. msgid ""
  6856. "Now the disc contains all of the index files and archives needed to upgrade "
  6857. "the target machine. Take the disc back and run:"
  6858. msgstr ""
  6859. #. type: Content of: <book><chapter><section><screen>
  6860. #: offline.dbk:1
  6861. #, no-wrap
  6862. msgid ""
  6863. " # export APT_CONFIG=\"/disc/apt.conf\"\n"
  6864. " # apt-get check\n"
  6865. " [ APT generates a local copy of the cache files ]\n"
  6866. " # apt-get --no-d -o dir::state::status=/var/lib/dpkg/status dist-upgrade\n"
  6867. " [ Or any other APT command ]\n"
  6868. msgstr ""
  6869. #. type: Content of: <book><chapter><section><para>
  6870. #: offline.dbk:1
  6871. msgid ""
  6872. "It is necessary for proper function to re-specify the status file to be the "
  6873. "local one. This is very important!"
  6874. msgstr ""
  6875. #. type: Content of: <book><chapter><section><para>
  6876. #: offline.dbk:1
  6877. msgid ""
  6878. "If you are using dselect you can do the very risky operation of copying "
  6879. "disc/status to /var/lib/dpkg/status so that any selections you made on the "
  6880. "remote machine are updated. I highly recommend that people only make "
  6881. "selections on the local machine - but this may not always be possible. DO "
  6882. "NOT copy the status file if dpkg or APT have been run in the mean time!!"
  6883. msgstr ""
  6884. #. type: Content of: <book><chapter><title>
  6885. #: offline.dbk:1
  6886. msgid "Using APT and wget"
  6887. msgstr ""
  6888. #. type: Content of: <book><chapter><section><para>
  6889. #: offline.dbk:1
  6890. msgid ""
  6891. "<emphasis>wget</emphasis> is a popular and portable download tool that can "
  6892. "run on nearly any machine. Unlike the method above this requires that the "
  6893. "Debian machine already has a list of available packages."
  6894. msgstr ""
  6895. #. type: Content of: <book><chapter><section><para>
  6896. #: offline.dbk:1
  6897. msgid ""
  6898. "The basic idea is to create a disc that has only the archive files "
  6899. "downloaded from the remote site. This is done by using the --print-uris "
  6900. "option to apt-get and then preparing a wget script to actually fetch the "
  6901. "packages."
  6902. msgstr ""
  6903. #. type: Content of: <book><chapter><section><title>
  6904. #: offline.dbk:1
  6905. msgid "Operation"
  6906. msgstr ""
  6907. #. type: Content of: <book><chapter><section><para>
  6908. #: offline.dbk:1
  6909. msgid ""
  6910. "Unlike the previous technique no special configuration files are "
  6911. "required. We merely use the standard APT commands to generate the file list."
  6912. msgstr ""
  6913. #. type: Content of: <book><chapter><section><screen>
  6914. #: offline.dbk:1
  6915. #, no-wrap
  6916. msgid ""
  6917. " # apt-get dist-upgrade\n"
  6918. " [ Press no when prompted, make sure you are happy with the actions ]\n"
  6919. " # apt-get -qq --print-uris dist-upgrade &gt; uris\n"
  6920. " # awk '{print \"wget -O \" $2 \" \" $1}' &lt; uris &gt; /disc/wget-script\n"
  6921. msgstr ""
  6922. #. type: Content of: <book><chapter><section><para>
  6923. #: offline.dbk:1
  6924. msgid ""
  6925. "Any command other than dist-upgrade could be used here, including "
  6926. "dselect-upgrade."
  6927. msgstr ""
  6928. #. type: Content of: <book><chapter><section><para>
  6929. #: offline.dbk:1
  6930. msgid ""
  6931. "The /disc/wget-script file will now contain a list of wget commands to "
  6932. "execute in order to fetch the necessary archives. This script should be run "
  6933. "with the current directory as the disc's mount point so as to save the "
  6934. "output on the disc."
  6935. msgstr ""
  6936. #. type: Content of: <book><chapter><section><para>
  6937. #: offline.dbk:1
  6938. msgid "The remote machine would do something like"
  6939. msgstr ""
  6940. #. type: Content of: <book><chapter><section><screen>
  6941. #: offline.dbk:1
  6942. #, no-wrap
  6943. msgid ""
  6944. " # cd /disc\n"
  6945. " # sh -x ./wget-script\n"
  6946. " [ wait.. ]\n"
  6947. msgstr ""
  6948. #. type: Content of: <book><chapter><section><para>
  6949. #: offline.dbk:1
  6950. msgid ""
  6951. "Once the archives are downloaded and the disc returned to the Debian machine "
  6952. "installation can proceed using,"
  6953. msgstr ""
  6954. #. type: Content of: <book><chapter><section><screen>
  6955. #: offline.dbk:1
  6956. #, no-wrap
  6957. msgid " # apt-get -o dir::cache::archives=\"/disc/\" dist-upgrade\n"
  6958. msgstr ""
  6959. #. type: Content of: <book><chapter><section><para>
  6960. #: offline.dbk:1
  6961. msgid "Which will use the already fetched archives on the disc."
  6962. msgstr ""