apt-doc.pot 309 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890
  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.4~beta1\n"
  9. "Report-Msgid-Bugs-To: APT Development Team <deity@lists.debian.org>\n"
  10. "POT-Creation-Date: 2016-11-25 23:46+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 satisfy "
  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 apt-key.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. "(&debian-stable-codename;, &debian-testing-codename;, sid …) or suite name "
  544. "(stable, testing, unstable). This will also select versions from this "
  545. "release for 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. "file &apt-acquire-additional-files; shipped by the "
  931. "<package>apt-doc</package> package."
  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. "Do not show a list of all packages that are to be upgraded. Configuration "
  1042. "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. See also &apt-secure; for details on the "
  1265. "concept and the implications. Configuration Item: "
  1266. "<literal>Acquire::AllowInsecureRepositories</literal>."
  1267. msgstr ""
  1268. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1269. #: apt-get.8.xml:1
  1270. msgid ""
  1271. "Show user friendly progress information in the terminal window when packages "
  1272. "are installed, upgraded or removed. For a machine parsable version of this "
  1273. "data see README.progress-reporting in the apt doc directory. Configuration "
  1274. "Items: <literal>Dpkg::Progress</literal> and "
  1275. "<literal>Dpkg::Progress-Fancy</literal>."
  1276. msgstr ""
  1277. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1278. #: apt-get.8.xml:1
  1279. msgid ""
  1280. "Adds the given file as a source for metadata. Can be repeated to add "
  1281. "multiple files. See <option>--with-source</option> description in "
  1282. "&apt-cache; for further details."
  1283. msgstr ""
  1284. #. type: Content of: <refentry><refsect1><title>
  1285. #: apt-get.8.xml:1 apt-cache.8.xml:1 apt-key.8.xml:1 apt-mark.8.xml:1
  1286. #: apt.conf.5.xml:1 apt_preferences.5.xml:1
  1287. msgid "Files"
  1288. msgstr ""
  1289. #. type: Content of: <refentry><refsect1><para>
  1290. #: apt-get.8.xml:1
  1291. msgid ""
  1292. "&apt-cache;, &apt-cdrom;, &dpkg;, &sources-list;, &apt-conf;, &apt-config;, "
  1293. "&apt-secure;, The APT User's guide in &guidesdir;, &apt-preferences;, the "
  1294. "APT Howto."
  1295. msgstr ""
  1296. #. type: Content of: <refentry><refsect1><para>
  1297. #: apt-get.8.xml:1
  1298. msgid ""
  1299. "<command>apt-get</command> returns zero on normal operation, decimal 100 on "
  1300. "error."
  1301. msgstr ""
  1302. #. type: Content of: <refentry><refnamediv><refpurpose>
  1303. #: apt-cache.8.xml:1
  1304. msgid "query the APT cache"
  1305. msgstr ""
  1306. #. type: Content of: <refentry><refsect1><para>
  1307. #: apt-cache.8.xml:1
  1308. msgid ""
  1309. "<command>apt-cache</command> performs a variety of operations on APT's "
  1310. "package cache. <command>apt-cache</command> does not manipulate the state of "
  1311. "the system but does provide operations to search and generate interesting "
  1312. "output from the package metadata. The metadata is acquired and updated via "
  1313. "the 'update' command of e.g. <command>apt-get</command>, so that it can be "
  1314. "outdated if the last update is too long ago, but in exchange "
  1315. "<command>apt-cache</command> works independently of the availability of the "
  1316. "configured sources (e.g. offline)."
  1317. msgstr ""
  1318. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1319. #: apt-cache.8.xml:1
  1320. msgid ""
  1321. "<literal>gencaches</literal> creates APT's package cache. This is done "
  1322. "implicitly by all commands needing this cache if it is missing or outdated."
  1323. msgstr ""
  1324. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option><replaceable>
  1325. #: apt-cache.8.xml:1 apt-cache.8.xml:1 apt-cache.8.xml:1 apt-cache.8.xml:1
  1326. #: apt-cache.8.xml:1 apt-cache.8.xml:1 apt-cache.8.xml:1 apt-cache.8.xml:1
  1327. msgid "&synopsis-pkg;"
  1328. msgstr ""
  1329. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1330. #: apt-cache.8.xml:1
  1331. msgid ""
  1332. "<literal>showpkg</literal> displays information about the packages listed on "
  1333. "the command line. Remaining arguments are package names. The available "
  1334. "versions and reverse dependencies of each package listed are listed, as well "
  1335. "as forward dependencies for each version. Forward (normal) dependencies are "
  1336. "those packages upon which the package in question depends; reverse "
  1337. "dependencies are those packages that depend upon the package in "
  1338. "question. Thus, forward dependencies must be satisfied for a package, but "
  1339. "reverse dependencies need not be. For instance, <command>apt-cache showpkg "
  1340. "libreadline2</command> would produce output similar to the following:"
  1341. msgstr ""
  1342. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><informalexample><programlisting>
  1343. #: apt-cache.8.xml:1
  1344. #, no-wrap
  1345. msgid ""
  1346. "Package: libreadline2\n"
  1347. "Versions: 2.1-12(/var/state/apt/lists/foo_Packages),\n"
  1348. "Reverse Depends: \n"
  1349. " libreadlineg2,libreadline2\n"
  1350. " libreadline2-altdev,libreadline2\n"
  1351. "Dependencies:\n"
  1352. "2.1-12 - libc5 (2 5.4.0-0) ncurses3.0 (0 (null))\n"
  1353. "Provides:\n"
  1354. "2.1-12 - \n"
  1355. "Reverse Provides: \n"
  1356. msgstr ""
  1357. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1358. #: apt-cache.8.xml:1
  1359. msgid ""
  1360. "Thus it may be seen that libreadline2, version 2.1-12, depends on libc5 and "
  1361. "ncurses3.0 which must be installed for libreadline2 to work. In turn, "
  1362. "libreadlineg2 and libreadline2-altdev depend on libreadline2. If "
  1363. "libreadline2 is installed, libc5 and ncurses3.0 (and ldso) must also be "
  1364. "installed; libreadlineg2 and libreadline2-altdev do not have to be "
  1365. "installed. For the specific meaning of the remainder of the output it is "
  1366. "best to consult the apt source code."
  1367. msgstr ""
  1368. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1369. #: apt-cache.8.xml:1
  1370. msgid ""
  1371. "<literal>stats</literal> displays some statistics about the cache. No "
  1372. "further arguments are expected. Statistics reported are:"
  1373. msgstr ""
  1374. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
  1375. #: apt-cache.8.xml:1
  1376. msgid ""
  1377. "<literal>Total package names</literal> is the number of package names found "
  1378. "in the cache."
  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>Normal packages</literal> is the number of regular, ordinary "
  1384. "package names; these are packages that bear a one-to-one correspondence "
  1385. "between their names and the names used by other packages for them in "
  1386. "dependencies. The majority of packages fall into this category."
  1387. msgstr ""
  1388. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
  1389. #: apt-cache.8.xml:1
  1390. msgid ""
  1391. "<literal>Pure virtual packages</literal> is the number of packages that "
  1392. "exist only as a virtual package name; that is, packages only \"provide\" the "
  1393. "virtual package name, and no package actually uses the name. For instance, "
  1394. "\"mail-transport-agent\" in the Debian system is a pure virtual package; "
  1395. "several packages provide \"mail-transport-agent\", but there is no package "
  1396. "named \"mail-transport-agent\"."
  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>Single virtual packages</literal> is the number of packages with "
  1402. "only one package providing a particular virtual package. For example, in the "
  1403. "Debian system, \"X11-text-viewer\" is a virtual package, but only one "
  1404. "package, xless, provides \"X11-text-viewer\"."
  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>Mixed virtual packages</literal> is the number of packages that "
  1410. "either provide a particular virtual package or have the virtual package name "
  1411. "as the package name. For instance, in the Debian system, \"debconf\" is both "
  1412. "an actual package, and provided by the debconf-tiny package."
  1413. msgstr ""
  1414. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
  1415. #: apt-cache.8.xml:1
  1416. msgid ""
  1417. "<literal>Missing</literal> is the number of package names that were "
  1418. "referenced in a dependency but were not provided by any package. Missing "
  1419. "packages may be an evidence if a full distribution is not accessed, or if a "
  1420. "package (real or virtual) has been dropped from the distribution. Usually "
  1421. "they are referenced from Conflicts or Breaks statements."
  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 distinct</literal> versions is the number of package versions "
  1427. "found in the cache. If more than one distribution is being accessed (for "
  1428. "instance, \"stable\" and \"unstable\"), this value can be considerably "
  1429. "larger than the number of total package names."
  1430. msgstr ""
  1431. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
  1432. #: apt-cache.8.xml:1
  1433. msgid ""
  1434. "<literal>Total dependencies</literal> is the number of dependency "
  1435. "relationships claimed by all of the packages in the cache."
  1436. msgstr ""
  1437. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1438. #: apt-cache.8.xml:1
  1439. msgid ""
  1440. "<literal>showsrc</literal> displays all the source package records that "
  1441. "match the given package names. All versions are shown, as well as all "
  1442. "records that declare the name to be a binary package. Use "
  1443. "<option>--only-source</option> to display only source package names."
  1444. msgstr ""
  1445. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1446. #: apt-cache.8.xml:1
  1447. msgid ""
  1448. "<literal>dump</literal> shows a short listing of every package in the "
  1449. "cache. It is primarily for debugging."
  1450. msgstr ""
  1451. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1452. #: apt-cache.8.xml:1
  1453. msgid ""
  1454. "<literal>dumpavail</literal> prints out an available list to stdout. This is "
  1455. "suitable for use with &dpkg; and is used by the &dselect; method."
  1456. msgstr ""
  1457. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1458. #: apt-cache.8.xml:1
  1459. msgid ""
  1460. "<literal>unmet</literal> displays a summary of all unmet dependencies in the "
  1461. "package cache."
  1462. msgstr ""
  1463. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1464. #: apt-cache.8.xml:1
  1465. msgid ""
  1466. "<literal>show</literal> performs a function similar to <command>dpkg "
  1467. "--print-avail</command>; it displays the package records for the named "
  1468. "packages."
  1469. msgstr ""
  1470. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option><replaceable>
  1471. #: apt-cache.8.xml:1
  1472. msgid "&synopsis-regex;"
  1473. msgstr ""
  1474. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1475. #: apt-cache.8.xml:1
  1476. msgid ""
  1477. "<literal>search</literal> performs a full text search on all available "
  1478. "package lists for the POSIX regex pattern given, see &regex;. It searches "
  1479. "the package names and the descriptions for an occurrence of the regular "
  1480. "expression and prints out the package name and the short description, "
  1481. "including virtual package names. If <option>--full</option> is given then "
  1482. "output identical to <literal>show</literal> is produced for each matched "
  1483. "package, and if <option>--names-only</option> is given then the long "
  1484. "description is not searched, only the package name and provided packages "
  1485. "are."
  1486. msgstr ""
  1487. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1488. #: apt-cache.8.xml:1
  1489. msgid ""
  1490. "Separate arguments can be used to specify multiple search patterns that are "
  1491. "and'ed together."
  1492. msgstr ""
  1493. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1494. #: apt-cache.8.xml:1
  1495. msgid ""
  1496. "<literal>depends</literal> shows a listing of each dependency a package has "
  1497. "and all the possible other packages that can fulfill that dependency."
  1498. msgstr ""
  1499. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1500. #: apt-cache.8.xml:1
  1501. msgid ""
  1502. "<literal>rdepends</literal> shows a listing of each reverse dependency a "
  1503. "package has."
  1504. msgstr ""
  1505. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
  1506. #: apt-cache.8.xml:1
  1507. msgid "<optional><replaceable>&synopsis-prefix;</replaceable></optional>"
  1508. msgstr ""
  1509. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1510. #: apt-cache.8.xml:1
  1511. msgid ""
  1512. "This command prints the name of each package APT knows. The optional "
  1513. "argument is a prefix match to filter the name list. The output is suitable "
  1514. "for use in a shell tab complete function and the output is generated "
  1515. "extremely quickly. This command is best used with the "
  1516. "<option>--generate</option> option."
  1517. msgstr ""
  1518. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1519. #: apt-cache.8.xml:1
  1520. msgid ""
  1521. "Note that a package which APT knows of is not necessarily available to "
  1522. "download, installable or installed, e.g. virtual packages are also listed in "
  1523. "the generated list."
  1524. msgstr ""
  1525. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1526. #: apt-cache.8.xml:1
  1527. msgid ""
  1528. "<literal>dotty</literal> takes a list of packages on the command line and "
  1529. "generates output suitable for use by dotty from the <ulink "
  1530. "url=\"http://www.research.att.com/sw/tools/graphviz/\">GraphViz</ulink> "
  1531. "package. The result will be a set of nodes and edges representing the "
  1532. "relationships between the packages. By default the given packages will trace "
  1533. "out all dependent packages; this can produce a very large graph. To limit "
  1534. "the output to only the packages listed on the command line, set the "
  1535. "<literal>APT::Cache::GivenOnly</literal> option."
  1536. msgstr ""
  1537. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1538. #: apt-cache.8.xml:1
  1539. msgid ""
  1540. "The resulting nodes will have several shapes; normal packages are boxes, "
  1541. "pure virtual packages are triangles, mixed virtual packages are diamonds, "
  1542. "missing packages are hexagons. Orange boxes mean recursion was stopped (leaf "
  1543. "packages), blue lines are pre-depends, green lines are conflicts."
  1544. msgstr ""
  1545. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1546. #: apt-cache.8.xml:1
  1547. msgid "Caution, dotty cannot graph larger sets of packages."
  1548. msgstr ""
  1549. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1550. #: apt-cache.8.xml:1
  1551. msgid ""
  1552. "The same as <literal>dotty</literal>, only for xvcg from the <ulink "
  1553. "url=\"http://rw4.cs.uni-sb.de/users/sander/html/gsvcg1.html\">VCG "
  1554. "tool</ulink>."
  1555. msgstr ""
  1556. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
  1557. #: apt-cache.8.xml:1
  1558. msgid "<optional><replaceable>&synopsis-pkg;</replaceable>…</optional>"
  1559. msgstr ""
  1560. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1561. #: apt-cache.8.xml:1
  1562. msgid ""
  1563. "<literal>policy</literal> is meant to help debug issues relating to the "
  1564. "preferences file. With no arguments it will print out the priorities of each "
  1565. "source. Otherwise it prints out detailed information about the priority "
  1566. "selection of the named package."
  1567. msgstr ""
  1568. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1569. #: apt-cache.8.xml:1
  1570. msgid ""
  1571. "<literal>apt-cache</literal>'s <literal>madison</literal> command attempts "
  1572. "to mimic the output format and a subset of the functionality of the Debian "
  1573. "archive management tool, <literal>madison</literal>. It displays available "
  1574. "versions of a package in a tabular format. Unlike the original "
  1575. "<literal>madison</literal>, it can only display information for the "
  1576. "architecture for which APT has retrieved package lists "
  1577. "(<literal>APT::Architecture</literal>)."
  1578. msgstr ""
  1579. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1580. #: apt-cache.8.xml:1
  1581. msgid ""
  1582. "Select the file to store the package cache. The package cache is the primary "
  1583. "cache used by all operations. Configuration Item: "
  1584. "<literal>Dir::Cache::pkgcache</literal>."
  1585. msgstr ""
  1586. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1587. #: apt-cache.8.xml:1
  1588. msgid ""
  1589. "Select the file to store the source cache. The source is used only by "
  1590. "<literal>gencaches</literal> and it stores a parsed version of the package "
  1591. "information from remote sources. When building the package cache the source "
  1592. "cache is used to avoid reparsing all of the package files. Configuration "
  1593. "Item: <literal>Dir::Cache::srcpkgcache</literal>."
  1594. msgstr ""
  1595. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1596. #: apt-cache.8.xml:1
  1597. msgid ""
  1598. "Quiet; produces output suitable for logging, omitting progress indicators. "
  1599. "More q's will produce more quietness up to a maximum of 2. You can also use "
  1600. "<option>-q=#</option> to set the quietness level, overriding the "
  1601. "configuration file. Configuration Item: <literal>quiet</literal>."
  1602. msgstr ""
  1603. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1604. #: apt-cache.8.xml:1
  1605. msgid ""
  1606. "Print only important dependencies; for use with <literal>unmet</literal> and "
  1607. "<literal>depends</literal>. Causes only Depends and Pre-Depends relations to "
  1608. "be printed. Configuration Item: <literal>APT::Cache::Important</literal>."
  1609. msgstr ""
  1610. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1611. #: apt-cache.8.xml:1
  1612. msgid ""
  1613. "Per default the <command>depends</command> and <command>rdepends</command> "
  1614. "print all dependencies. This can be tweaked with these flags which will omit "
  1615. "the specified dependency type. Configuration Item: "
  1616. "<literal>APT::Cache::Show<replaceable>DependencyType</replaceable></literal> "
  1617. "e.g. <literal>APT::Cache::ShowRecommends</literal>."
  1618. msgstr ""
  1619. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1620. #: apt-cache.8.xml:1
  1621. msgid ""
  1622. "Per default <command>depends</command> and <command>rdepends</command> print "
  1623. "only dependencies explicitly expressed in the metadata. With this flag it "
  1624. "will also show dependencies implicitly added based on the encountered data. "
  1625. "A <literal>Conflicts: foo</literal> e.g. expresses implicitly that this "
  1626. "package also conflicts with the package foo from any other architecture. "
  1627. "Configuration Item: <literal>APT::Cache::ShowImplicit</literal>."
  1628. msgstr ""
  1629. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1630. #: apt-cache.8.xml:1
  1631. msgid ""
  1632. "Print full package records when searching. Configuration Item: "
  1633. "<literal>APT::Cache::ShowFull</literal>."
  1634. msgstr ""
  1635. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1636. #: apt-cache.8.xml:1
  1637. msgid ""
  1638. "Print full records for all available versions. This is the default; to turn "
  1639. "it off, use <option>--no-all-versions</option>. If "
  1640. "<option>--no-all-versions</option> is specified, only the candidate version "
  1641. "will be displayed (the one which would be selected for installation). This "
  1642. "option is only applicable to the <literal>show</literal> command. "
  1643. "Configuration Item: <literal>APT::Cache::AllVersions</literal>."
  1644. msgstr ""
  1645. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1646. #: apt-cache.8.xml:1
  1647. msgid ""
  1648. "Perform automatic package cache regeneration, rather than use the cache as "
  1649. "it is. This is the default; to turn it off, use "
  1650. "<option>--no-generate</option>. Configuration Item: "
  1651. "<literal>APT::Cache::Generate</literal>."
  1652. msgstr ""
  1653. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1654. #: apt-cache.8.xml:1
  1655. msgid ""
  1656. "Only search on the package and provided package names, not the long "
  1657. "descriptions. Configuration Item: <literal>APT::Cache::NamesOnly</literal>."
  1658. msgstr ""
  1659. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1660. #: apt-cache.8.xml:1
  1661. msgid ""
  1662. "Make <literal>pkgnames</literal> print all names, including virtual packages "
  1663. "and missing dependencies. Configuration Item: "
  1664. "<literal>APT::Cache::AllNames</literal>."
  1665. msgstr ""
  1666. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1667. #: apt-cache.8.xml:1
  1668. msgid ""
  1669. "Make <literal>depends</literal> and <literal>rdepends</literal> recursive so "
  1670. "that all packages mentioned are printed once. Configuration Item: "
  1671. "<literal>APT::Cache::RecurseDepends</literal>."
  1672. msgstr ""
  1673. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1674. #: apt-cache.8.xml:1
  1675. msgid ""
  1676. "Limit the output of <literal>depends</literal> and "
  1677. "<literal>rdepends</literal> to packages which are currently installed. "
  1678. "Configuration Item: <literal>APT::Cache::Installed</literal>."
  1679. msgstr ""
  1680. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1681. #: apt-cache.8.xml:1
  1682. msgid ""
  1683. "Adds the given file as a source for metadata. Can be repeated to add "
  1684. "multiple files. Supported are currently <literal>*.deb</literal>, "
  1685. "<literal>*.dsc</literal>, <literal>*.changes</literal>, "
  1686. "<literal>Sources</literal> and <literal>Packages</literal> files as well as "
  1687. "source package directories. Files are matched based on their name only, not "
  1688. "their content!"
  1689. msgstr ""
  1690. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1691. #: apt-cache.8.xml:1
  1692. msgid ""
  1693. "<literal>Sources</literal> and <literal>Packages</literal> can be compressed "
  1694. "in any format apt supports as long as they have the correct extension. If "
  1695. "you need to store multiple of these files in one directory you can prefix a "
  1696. "name of your choice with the last character being an underscore "
  1697. "(\"<literal>_</literal>\"). Example: my.example_Packages.xz"
  1698. msgstr ""
  1699. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1700. #: apt-cache.8.xml:1
  1701. msgid ""
  1702. "Note that these sources are treated as trusted (see &apt-secure;). "
  1703. "Configuration Item: <literal>APT::Sources::With</literal>."
  1704. msgstr ""
  1705. #. type: Content of: <refentry><refsect1><para>
  1706. #: apt-cache.8.xml:1
  1707. msgid "&apt-conf;, &sources-list;, &apt-get;"
  1708. msgstr ""
  1709. #. type: Content of: <refentry><refsect1><para>
  1710. #: apt-cache.8.xml:1
  1711. msgid ""
  1712. "<command>apt-cache</command> returns zero on normal operation, decimal 100 "
  1713. "on error."
  1714. msgstr ""
  1715. #. type: Content of: <refentry><refnamediv><refpurpose>
  1716. #: apt-key.8.xml:1
  1717. msgid "APT key management utility"
  1718. msgstr ""
  1719. #. type: Content of: <refentry><refsect1><para>
  1720. #: apt-key.8.xml:1
  1721. msgid ""
  1722. "<command>apt-key</command> is used to manage the list of keys used by apt to "
  1723. "authenticate packages. Packages which have been authenticated using these "
  1724. "keys will be considered trusted."
  1725. msgstr ""
  1726. #. type: Content of: <refentry><refsect1><para>
  1727. #: apt-key.8.xml:1
  1728. msgid ""
  1729. "Note that if usage of <command>apt-key</command> is desired the additional "
  1730. "installation of the GNU Privacy Guard suite (packaged in "
  1731. "<package>gnupg</package>) is required. For this reason alone the "
  1732. "programmatic usage (especially in package maintainerscripts!) is strongly "
  1733. "discouraged. Further more the output format of all commands is undefined "
  1734. "and can and does change whenever the underlying commands "
  1735. "change. <command>apt-key</command> will try to detect such usage and "
  1736. "generates warnings on stderr in these cases."
  1737. msgstr ""
  1738. #. type: Content of: <refentry><refsect1><title>
  1739. #: apt-key.8.xml:1
  1740. msgid "Supported keyring files"
  1741. msgstr ""
  1742. #. type: Content of: <refentry><refsect1><para>
  1743. #: apt-key.8.xml:1
  1744. msgid ""
  1745. "apt-key supports only the binary OpenPGP format (also known as \"GPG key "
  1746. "public ring\") in files with the \"<literal>gpg</literal>\" extension, not "
  1747. "the keybox database format introduced in newer &gpg; versions as default for "
  1748. "keyring files. Binary keyring files intended to be used with any apt version "
  1749. "should therefore always be created with <command>gpg --export</command>."
  1750. msgstr ""
  1751. #. type: Content of: <refentry><refsect1><para>
  1752. #: apt-key.8.xml:1
  1753. msgid ""
  1754. "Alternatively, if all systems which should be using the created keyring have "
  1755. "at least apt version >= 1.4 installed, you can use the ASCII armored format "
  1756. "with the \"<literal>asc</literal>\" extension instead which can be created "
  1757. "with <command>gpg --armor --export</command>."
  1758. msgstr ""
  1759. #. type: Content of: <refentry><refsect1><title>
  1760. #: apt-key.8.xml:1
  1761. msgid "Commands"
  1762. msgstr ""
  1763. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1764. #: apt-key.8.xml:1
  1765. msgid ""
  1766. "Add a new key to the list of trusted keys. The key is read from the "
  1767. "filename given with the parameter &synopsis-param-filename; or if the "
  1768. "filename is <literal>-</literal> from standard input."
  1769. msgstr ""
  1770. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1771. #: apt-key.8.xml:1
  1772. msgid ""
  1773. "It is critical that keys added manually via <command>apt-key</command> are "
  1774. "verified to belong to the owner of the repositories they claim to be for "
  1775. "otherwise the &apt-secure; infrastructure is completely undermined."
  1776. msgstr ""
  1777. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1778. #: apt-key.8.xml:1
  1779. msgid ""
  1780. "<emphasis>Note</emphasis>: Instead of using this command a keyring should be "
  1781. "placed directly in the <filename>/etc/apt/trusted.gpg.d/</filename> "
  1782. "directory with a descriptive name and either \"<literal>gpg</literal>\" or "
  1783. "\"<literal>asc</literal>\" as file extension."
  1784. msgstr ""
  1785. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1786. #: apt-key.8.xml:1
  1787. msgid "Remove a key from the list of trusted keys."
  1788. msgstr ""
  1789. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1790. #: apt-key.8.xml:1
  1791. msgid "Output the key &synopsis-param-keyid; to standard output."
  1792. msgstr ""
  1793. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1794. #: apt-key.8.xml:1
  1795. msgid "Output all trusted keys to standard output."
  1796. msgstr ""
  1797. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1798. #: apt-key.8.xml:1
  1799. msgid "List trusted keys with fingerprints."
  1800. msgstr ""
  1801. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1802. #: apt-key.8.xml:1
  1803. msgid ""
  1804. "Pass advanced options to gpg. With <command>adv --recv-key</command> you can "
  1805. "e.g. download key from keyservers directly into the the trusted set of "
  1806. "keys. Note that there are <emphasis>no</emphasis> checks performed, so it is "
  1807. "easy to completely undermine the &apt-secure; infrastructure if used without "
  1808. "care."
  1809. msgstr ""
  1810. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
  1811. #: apt-key.8.xml:1
  1812. msgid "(deprecated)"
  1813. msgstr ""
  1814. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1815. #: apt-key.8.xml:1
  1816. msgid ""
  1817. "Update the local keyring with the archive keyring and remove from the local "
  1818. "keyring the archive keys which are no longer valid. The archive keyring is "
  1819. "shipped in the <literal>archive-keyring</literal> package of your "
  1820. "distribution, e.g. the &keyring-package; package in &keyring-distro;."
  1821. msgstr ""
  1822. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1823. #: apt-key.8.xml:1
  1824. msgid ""
  1825. "Note that a distribution does not need to and in fact should not use this "
  1826. "command any longer and instead ship keyring files in the "
  1827. "<filename>/etc/apt/trusted.gpg.d/</filename> directory directly as this "
  1828. "avoids a dependency on <package>gnupg</package> and it is easier to manage "
  1829. "keys by simply adding and removing files for maintainers and users alike."
  1830. msgstr ""
  1831. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1832. #: apt-key.8.xml:1
  1833. msgid ""
  1834. "Perform an update working similarly to the <command>update</command> command "
  1835. "above, but get the archive keyring from a URI instead and validate it "
  1836. "against a master key. This requires an installed &wget; and an APT build "
  1837. "configured to have a server to fetch from and a master keyring to validate. "
  1838. "APT in Debian does not support this command, relying on "
  1839. "<command>update</command> instead, but Ubuntu's APT does."
  1840. msgstr ""
  1841. #. type: Content of: <refentry><refsect1><title>
  1842. #: apt-key.8.xml:1 apt-mark.8.xml:1 apt-mark.8.xml:1 apt-cdrom.8.xml:1
  1843. msgid "Options"
  1844. msgstr ""
  1845. #. type: Content of: <refentry><refsect1><para>
  1846. #: apt-key.8.xml:1
  1847. msgid ""
  1848. "Note that options need to be defined before the commands described in the "
  1849. "previous section."
  1850. msgstr ""
  1851. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1852. #: apt-key.8.xml:1
  1853. msgid ""
  1854. "With this option it is possible to specify a particular keyring file the "
  1855. "command should operate on. The default is that a command is executed on the "
  1856. "<filename>trusted.gpg</filename> file as well as on all parts in the "
  1857. "<filename>trusted.gpg.d</filename> directory, though "
  1858. "<filename>trusted.gpg</filename> is the primary keyring which means that "
  1859. "e.g. new keys are added to this one."
  1860. msgstr ""
  1861. #. type: Content of: <refentry><refsect1><para>
  1862. #: apt-key.8.xml:1
  1863. msgid "&apt-get;, &apt-secure;"
  1864. msgstr ""
  1865. #. type: Content of: <refentry><refnamediv><refpurpose>
  1866. #: apt-mark.8.xml:1
  1867. msgid "show, set and unset various settings for a package"
  1868. msgstr ""
  1869. #. type: Content of: <refentry><refsect1><para>
  1870. #: apt-mark.8.xml:1
  1871. msgid ""
  1872. "<command>apt-mark</command> can be used as a unified front-end to set "
  1873. "various settings for a package, such as marking a package as being "
  1874. "automatically/manually installed or changing <command>dpkg</command> "
  1875. "selections such as hold, install, deinstall and purge which are respected "
  1876. "e.g. by <command>apt-get dselect-upgrade</command> or "
  1877. "<command>aptitude</command>."
  1878. msgstr ""
  1879. #. type: Content of: <refentry><refsect1><title>
  1880. #: apt-mark.8.xml:1
  1881. msgid "Automatically and Manually Installed Packages"
  1882. msgstr ""
  1883. #. type: Content of: <refentry><refsect1><para>
  1884. #: apt-mark.8.xml:1
  1885. msgid ""
  1886. "When you request that a package is installed, and as a result other packages "
  1887. "are installed to satisfy its dependencies, the dependencies are marked as "
  1888. "being automatically installed, while the package you installed explicitly is "
  1889. "marked as manually installed. Once an automatically installed package is no "
  1890. "longer depended on by any manually installed package it is considered no "
  1891. "longer needed and e.g. <command>apt-get</command> or "
  1892. "<command>aptitude</command> will at least suggest removing them."
  1893. msgstr ""
  1894. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1895. #: apt-mark.8.xml:1
  1896. msgid ""
  1897. "<literal>auto</literal> is used to mark a package as being automatically "
  1898. "installed, which will cause the package to be removed when no more manually "
  1899. "installed packages depend on this package."
  1900. msgstr ""
  1901. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1902. #: apt-mark.8.xml:1
  1903. msgid ""
  1904. "<literal>manual</literal> is used to mark a package as being manually "
  1905. "installed, which will prevent the package from being automatically removed "
  1906. "if no other packages depend on it."
  1907. msgstr ""
  1908. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1909. #: apt-mark.8.xml:1
  1910. msgid ""
  1911. "<literal>showauto</literal> is used to print a list of automatically "
  1912. "installed packages with each package on a new line. All automatically "
  1913. "installed packages will be listed if no package is given. If packages are "
  1914. "given only those which are automatically installed will be shown."
  1915. msgstr ""
  1916. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1917. #: apt-mark.8.xml:1
  1918. msgid ""
  1919. "<literal>showmanual</literal> can be used in the same way as "
  1920. "<literal>showauto</literal> except that it will print a list of manually "
  1921. "installed packages instead."
  1922. msgstr ""
  1923. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  1924. #: apt-mark.8.xml:1
  1925. msgid ""
  1926. "Read/Write package stats from the filename given with the parameter "
  1927. "&synopsis-param-filename; instead of from the default location, which is "
  1928. "<filename>extended_status</filename> in the directory defined by the "
  1929. "Configuration Item: <literal>Dir::State</literal>."
  1930. msgstr ""
  1931. #. type: Content of: <refentry><refsect1><title>
  1932. #: apt-mark.8.xml:1
  1933. msgid "Prevent Changes for a Package"
  1934. msgstr ""
  1935. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1936. #: apt-mark.8.xml:1
  1937. msgid ""
  1938. "<literal>hold</literal> is used to mark a package as held back, which will "
  1939. "prevent the package from being automatically installed, upgraded or removed."
  1940. msgstr ""
  1941. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1942. #: apt-mark.8.xml:1
  1943. msgid ""
  1944. "<literal>unhold</literal> is used to cancel a previously set hold on a "
  1945. "package to allow all actions again."
  1946. msgstr ""
  1947. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1948. #: apt-mark.8.xml:1
  1949. msgid ""
  1950. "<literal>showhold</literal> is used to print a list of packages on hold in "
  1951. "the same way as for the other show commands."
  1952. msgstr ""
  1953. #. type: Content of: <refentry><refsect1><title>
  1954. #: apt-mark.8.xml:1
  1955. msgid "Schedule Packages for Install, Remove and Purge"
  1956. msgstr ""
  1957. #. type: Content of: <refentry><refsect1><para>
  1958. #: apt-mark.8.xml:1
  1959. msgid ""
  1960. "Some front-ends like <command>apt-get dselect-upgrade</command> can be used "
  1961. "to apply previously scheduled changes to the install state of packages. Such "
  1962. "changes can be scheduled with the <option>install</option>, "
  1963. "<option>remove</option> (also known as <option>deinstall</option>) and "
  1964. "<option>purge</option> commands. Packages with a specific selection can be "
  1965. "displayed with <option>showinstall</option>, <option>showremove</option> and "
  1966. "<option>showpurge</option> respectively. More information about these so "
  1967. "called dpkg selections can be found in &dpkg;."
  1968. msgstr ""
  1969. #. type: Content of: <refentry><refsect1><para>
  1970. #: apt-mark.8.xml:1
  1971. msgid ""
  1972. "<command>apt-mark</command> returns zero on normal operation, non-zero on "
  1973. "error."
  1974. msgstr ""
  1975. #. type: Content of: <refentry><refnamediv><refpurpose>
  1976. #: apt-secure.8.xml:1
  1977. msgid "Archive authentication support for APT"
  1978. msgstr ""
  1979. #. type: Content of: <refentry><refsect1><para>
  1980. #: apt-secure.8.xml:1
  1981. msgid ""
  1982. "Starting with version 0.6, <command>APT</command> contains code that does "
  1983. "signature checking of the Release file for all repositories. This ensures "
  1984. "that data like packages in the archive can't be modified by people who have "
  1985. "no access to the Release file signing key. Starting with version 1.1 "
  1986. "<command>APT</command> requires repositories to provide recent "
  1987. "authentication information for unimpeded usage of the repository."
  1988. msgstr ""
  1989. #. type: Content of: <refentry><refsect1><para>
  1990. #: apt-secure.8.xml:1
  1991. msgid ""
  1992. "If an archive has an unsigned Release file or no Release file at all current "
  1993. "APT versions will refuse to download data from them by default in "
  1994. "<command>update</command> operations and even if forced to download "
  1995. "front-ends like &apt-get; will require explicit confirmation if an "
  1996. "installation request includes a package from such an unauthenticated "
  1997. "archive."
  1998. msgstr ""
  1999. #. type: Content of: <refentry><refsect1><para>
  2000. #: apt-secure.8.xml:1
  2001. msgid ""
  2002. "As a temporary exception &apt-get; (not &apt;!) raises warnings only if it "
  2003. "encounters unauthenticated archives to give a slightly longer grace period "
  2004. "on this backward compatibility effecting change. This exception will be "
  2005. "removed in future releases and you can opt-out of this grace period by "
  2006. "setting the configuration option "
  2007. "<option>Binary::apt-get::Acquire::AllowInsecureRepositories</option> to "
  2008. "<literal>false</literal> or "
  2009. "<option>--no-allow-insecure-repositories</option> on the command line."
  2010. msgstr ""
  2011. #. type: Content of: <refentry><refsect1><para>
  2012. #: apt-secure.8.xml:1
  2013. msgid ""
  2014. "You can force all APT clients to raise only warnings by setting the "
  2015. "configuration option <option>Acquire::AllowInsecureRepositories</option> to "
  2016. "<literal>true</literal>. Individual repositories can also be allowed to be "
  2017. "insecure via the &sources-list; option "
  2018. "<literal>allow-insecure=yes</literal>. Note that insecure repositories are "
  2019. "strongly discouraged and all options to force apt to continue supporting "
  2020. "them will eventually be removed. Users also have the "
  2021. "<option>Trusted</option> option available to disable even the warnings, but "
  2022. "be sure to understand the implications as detailed in &sources-list;."
  2023. msgstr ""
  2024. #. type: Content of: <refentry><refsect1><para>
  2025. #: apt-secure.8.xml:1
  2026. msgid ""
  2027. "A repository which previously was authenticated but would loose this state "
  2028. "in an <command>update</command> operation raises an error in all APT clients "
  2029. "irrespective of the option to allow or forbid usage of insecure "
  2030. "repositories. The error can be overcome by additionally setting "
  2031. "<option>Acquire::AllowDowngradeToInsecureRepositories</option> to "
  2032. "<literal>true</literal> or for Individual repositories with the "
  2033. "&sources-list; option <literal>allow-downgrade-to-insecure=yes</literal>."
  2034. msgstr ""
  2035. #. type: Content of: <refentry><refsect1><para>
  2036. #: apt-secure.8.xml:1
  2037. msgid ""
  2038. "Note: All APT-based package management front-ends like &apt-get;, &aptitude; "
  2039. "and &synaptic; support this authentication feature, so this manpage uses "
  2040. "<literal>APT</literal> to refer to them all for simplicity only."
  2041. msgstr ""
  2042. #. type: Content of: <refentry><refsect1><title>
  2043. #: apt-secure.8.xml:1
  2044. msgid "Trusted Repositories"
  2045. msgstr ""
  2046. #. type: Content of: <refentry><refsect1><para>
  2047. #: apt-secure.8.xml:1
  2048. msgid ""
  2049. "The chain of trust from an APT archive to the end user is made up of several "
  2050. "steps. <command>apt-secure</command> is the last step in this chain; "
  2051. "trusting an archive does not mean that you trust its packages not to contain "
  2052. "malicious code, but means that you trust the archive maintainer. It's the "
  2053. "archive maintainer's responsibility to ensure that the archive's integrity "
  2054. "is preserved."
  2055. msgstr ""
  2056. #. type: Content of: <refentry><refsect1><para>
  2057. #: apt-secure.8.xml:1
  2058. msgid ""
  2059. "apt-secure does not review signatures at a package level. If you require "
  2060. "tools to do this you should look at <command>debsig-verify</command> and "
  2061. "<command>debsign</command> (provided in the debsig-verify and devscripts "
  2062. "packages respectively)."
  2063. msgstr ""
  2064. #. type: Content of: <refentry><refsect1><para>
  2065. #: apt-secure.8.xml:1
  2066. msgid ""
  2067. "The chain of trust in Debian starts (e.g.) when a maintainer uploads a new "
  2068. "package or a new version of a package to the Debian archive. In order to "
  2069. "become effective, this upload needs to be signed by a key contained in one "
  2070. "of the Debian package maintainer keyrings (available in the debian-keyring "
  2071. "package). Maintainers' keys are signed by other maintainers following "
  2072. "pre-established procedures to ensure the identity of the key holder. Similar "
  2073. "procedures exist in all Debian-based distributions."
  2074. msgstr ""
  2075. #. type: Content of: <refentry><refsect1><para>
  2076. #: apt-secure.8.xml:1
  2077. msgid ""
  2078. "Once the uploaded package is verified and included in the archive, the "
  2079. "maintainer signature is stripped off, and checksums of the package are "
  2080. "computed and put in the Packages file. The checksums of all of the Packages "
  2081. "files are then computed and put into the Release file. The Release file is "
  2082. "then signed by the archive key for this &keyring-distro; release, and "
  2083. "distributed alongside the packages and the Packages files on "
  2084. "&keyring-distro; mirrors. The keys are in the &keyring-distro; archive "
  2085. "keyring available in the &keyring-package; package."
  2086. msgstr ""
  2087. #. type: Content of: <refentry><refsect1><para>
  2088. #: apt-secure.8.xml:1
  2089. msgid ""
  2090. "End users can check the signature of the Release file, extract a checksum of "
  2091. "a package from it and compare it with the checksum of the package they "
  2092. "downloaded by hand - or rely on APT doing this automatically."
  2093. msgstr ""
  2094. #. type: Content of: <refentry><refsect1><para>
  2095. #: apt-secure.8.xml:1
  2096. msgid ""
  2097. "Notice that this is distinct from checking signatures on a per package "
  2098. "basis. It is designed to prevent two possible attacks:"
  2099. msgstr ""
  2100. #. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
  2101. #: apt-secure.8.xml:1
  2102. msgid ""
  2103. "<literal>Network \"man in the middle\" attacks</literal>. Without signature "
  2104. "checking, malicious agents can introduce themselves into the package "
  2105. "download process and provide malicious software either by controlling a "
  2106. "network element (router, switch, etc.) or by redirecting traffic to a rogue "
  2107. "server (through ARP or DNS spoofing attacks)."
  2108. msgstr ""
  2109. #. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
  2110. #: apt-secure.8.xml:1
  2111. msgid ""
  2112. "<literal>Mirror network compromise</literal>. Without signature checking, a "
  2113. "malicious agent can compromise a mirror host and modify the files in it to "
  2114. "propagate malicious software to all users downloading packages from that "
  2115. "host."
  2116. msgstr ""
  2117. #. type: Content of: <refentry><refsect1><para>
  2118. #: apt-secure.8.xml:1
  2119. msgid ""
  2120. "However, it does not defend against a compromise of the master server itself "
  2121. "(which signs the packages) or against a compromise of the key used to sign "
  2122. "the Release files. In any case, this mechanism can complement a per-package "
  2123. "signature."
  2124. msgstr ""
  2125. #. type: Content of: <refentry><refsect1><title>
  2126. #: apt-secure.8.xml:1
  2127. msgid "User Configuration"
  2128. msgstr ""
  2129. #. type: Content of: <refentry><refsect1><para>
  2130. #: apt-secure.8.xml:1
  2131. msgid ""
  2132. "<command>apt-key</command> is the program that manages the list of keys used "
  2133. "by APT to trust repositories. It can be used to add or remove keys as well "
  2134. "as list the trusted keys. Limiting which key(s) are able to sign which "
  2135. "archive is possible via the <option>Signed-By</option> in &sources-list;."
  2136. msgstr ""
  2137. #. type: Content of: <refentry><refsect1><para>
  2138. #: apt-secure.8.xml:1
  2139. msgid ""
  2140. "Note that a default installation already contains all keys to securely "
  2141. "acquire packages from the default repositories, so fiddling with "
  2142. "<command>apt-key</command> is only needed if third-party repositories are "
  2143. "added."
  2144. msgstr ""
  2145. #. type: Content of: <refentry><refsect1><para>
  2146. #: apt-secure.8.xml:1
  2147. msgid ""
  2148. "In order to add a new key you need to first download it (you should make "
  2149. "sure you are using a trusted communication channel when retrieving it), add "
  2150. "it with <command>apt-key</command> and then run <command>apt-get "
  2151. "update</command> so that apt can download and verify the "
  2152. "<filename>InRelease</filename> or <filename>Release.gpg</filename> files "
  2153. "from the archives you have configured."
  2154. msgstr ""
  2155. #. type: Content of: <refentry><refsect1><title>
  2156. #: apt-secure.8.xml:1
  2157. msgid "Archive Configuration"
  2158. msgstr ""
  2159. #. type: Content of: <refentry><refsect1><para>
  2160. #: apt-secure.8.xml:1
  2161. msgid ""
  2162. "If you want to provide archive signatures in an archive under your "
  2163. "maintenance you have to:"
  2164. msgstr ""
  2165. #. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
  2166. #: apt-secure.8.xml:1
  2167. msgid ""
  2168. "<emphasis>Create a toplevel Release file</emphasis>, if it does not exist "
  2169. "already. You can do this by running <command>apt-ftparchive "
  2170. "release</command> (provided in apt-utils)."
  2171. msgstr ""
  2172. #. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
  2173. #: apt-secure.8.xml:1
  2174. msgid ""
  2175. "<emphasis>Sign it</emphasis>. You can do this by running <command>gpg "
  2176. "--clearsign -o InRelease Release</command> and <command>gpg -abs -o "
  2177. "Release.gpg Release</command>."
  2178. msgstr ""
  2179. #. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
  2180. #: apt-secure.8.xml:1
  2181. msgid ""
  2182. "<emphasis>Publish the key fingerprint</emphasis>, so that your users will "
  2183. "know what key they need to import in order to authenticate the files in the "
  2184. "archive. It is best to ship your key in its own keyring package like "
  2185. "&keyring-distro; does with &keyring-package; to be able to distribute "
  2186. "updates and key transitions automatically later."
  2187. msgstr ""
  2188. #. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
  2189. #: apt-secure.8.xml:1
  2190. msgid ""
  2191. "<emphasis>Provide instructions on how to add your archive and "
  2192. "key</emphasis>. If your users can't acquire your key securely the chain of "
  2193. "trust described above is broken. How you can help users add your key "
  2194. "depends on your archive and target audience ranging from having your keyring "
  2195. "package included in another archive users already have configured (like the "
  2196. "default repositories of their distribution) to leveraging the web of trust."
  2197. msgstr ""
  2198. #. type: Content of: <refentry><refsect1><para>
  2199. #: apt-secure.8.xml:1
  2200. msgid ""
  2201. "Whenever the contents of the archive change (new packages are added or "
  2202. "removed) the archive maintainer has to follow the first two steps outlined "
  2203. "above."
  2204. msgstr ""
  2205. #. type: Content of: <refentry><refsect1><para>
  2206. #: apt-secure.8.xml:1
  2207. msgid ""
  2208. "&apt-conf;, &apt-get;, &sources-list;, &apt-key;, &apt-ftparchive;, "
  2209. "&debsign;, &debsig-verify;, &gpg;"
  2210. msgstr ""
  2211. #. type: Content of: <refentry><refsect1><para>
  2212. #: apt-secure.8.xml:1
  2213. msgid ""
  2214. "For more background information you might want to review the <ulink "
  2215. "url=\"https://www.debian.org/doc/manuals/securing-debian-howto/ch7\">Debian "
  2216. "Security Infrastructure</ulink> chapter of the Securing Debian Manual (also "
  2217. "available in the harden-doc package) and the <ulink "
  2218. "url=\"http://www.cryptnet.net/fdp/crypto/strong_distro.html\" >Strong "
  2219. "Distribution HOWTO</ulink> by V. Alex Brennen."
  2220. msgstr ""
  2221. #. type: Content of: <refentry><refsect1><title>
  2222. #: apt-secure.8.xml:1
  2223. msgid "Manpage Authors"
  2224. msgstr ""
  2225. #. type: Content of: <refentry><refsect1><para>
  2226. #: apt-secure.8.xml:1
  2227. msgid ""
  2228. "This man-page is based on the work of Javier Fernández-Sanguino Peña, Isaac "
  2229. "Jones, Colin Walters, Florian Weimer and Michael Vogt."
  2230. msgstr ""
  2231. #. type: Content of: <refentry><refnamediv><refpurpose>
  2232. #: apt-cdrom.8.xml:1
  2233. msgid "APT CD-ROM management utility"
  2234. msgstr ""
  2235. #. type: Content of: <refentry><refsect1><para>
  2236. #: apt-cdrom.8.xml:1
  2237. msgid ""
  2238. "<command>apt-cdrom</command> is used to add a new CD-ROM to APT's list of "
  2239. "available sources. <command>apt-cdrom</command> takes care of determining "
  2240. "the structure of the disc as well as correcting for several possible "
  2241. "mis-burns and verifying the index files."
  2242. msgstr ""
  2243. #. type: Content of: <refentry><refsect1><para>
  2244. #: apt-cdrom.8.xml:1
  2245. msgid ""
  2246. "It is necessary to use <command>apt-cdrom</command> to add CDs to the APT "
  2247. "system; it cannot be done by hand. Furthermore each disc in a multi-CD set "
  2248. "must be inserted and scanned separately to account for possible mis-burns."
  2249. msgstr ""
  2250. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2251. #: apt-cdrom.8.xml:1
  2252. msgid ""
  2253. "<literal>add</literal> is used to add a new disc to the source list. It will "
  2254. "unmount the CD-ROM device, prompt for a disc to be inserted and then proceed "
  2255. "to scan it and copy the index files. If the disc does not have a proper "
  2256. "<filename>.disk</filename> directory you will be prompted for a descriptive "
  2257. "title."
  2258. msgstr ""
  2259. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2260. #: apt-cdrom.8.xml:1
  2261. msgid ""
  2262. "APT uses a CD-ROM ID to track which disc is currently in the drive and "
  2263. "maintains a database of these IDs in "
  2264. "<filename>&statedir;/cdroms.list</filename>"
  2265. msgstr ""
  2266. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2267. #: apt-cdrom.8.xml:1
  2268. msgid ""
  2269. "A debugging tool to report the identity of the current disc as well as the "
  2270. "stored file name"
  2271. msgstr ""
  2272. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2273. #: apt-cdrom.8.xml:1
  2274. msgid ""
  2275. "Do not try to auto-detect the CD-ROM path. Usually combined with the "
  2276. "<option>--cdrom</option> option. Configuration Item: "
  2277. "<literal>Acquire::cdrom::AutoDetect</literal>."
  2278. msgstr ""
  2279. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2280. #: apt-cdrom.8.xml:1
  2281. msgid ""
  2282. "Mount point; specify the location to mount the CD-ROM. This mount point must "
  2283. "be listed in <filename>/etc/fstab</filename> and properly configured. "
  2284. "Configuration Item: <literal>Acquire::cdrom::mount</literal>."
  2285. msgstr ""
  2286. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2287. #: apt-cdrom.8.xml:1
  2288. msgid ""
  2289. "Rename a disc; change the label of a disc or override the disc's given "
  2290. "label. This option will cause <command>apt-cdrom</command> to prompt for a "
  2291. "new label. Configuration Item: <literal>APT::CDROM::Rename</literal>."
  2292. msgstr ""
  2293. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2294. #: apt-cdrom.8.xml:1
  2295. msgid ""
  2296. "No mounting; prevent <command>apt-cdrom</command> from mounting and "
  2297. "unmounting the mount point. Configuration Item: "
  2298. "<literal>APT::CDROM::NoMount</literal>."
  2299. msgstr ""
  2300. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2301. #: apt-cdrom.8.xml:1
  2302. msgid ""
  2303. "Fast Copy; Assume the package files are valid and do not check every "
  2304. "package. This option should be used only if <command>apt-cdrom</command> has "
  2305. "been run on this disc before and did not detect any errors. Configuration "
  2306. "Item: <literal>APT::CDROM::Fast</literal>."
  2307. msgstr ""
  2308. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2309. #: apt-cdrom.8.xml:1
  2310. msgid ""
  2311. "Thorough Package Scan; This option may be needed with some old Debian "
  2312. "1.1/1.2 discs that have Package files in strange places. It takes much "
  2313. "longer to scan the CD but will pick them all up."
  2314. msgstr ""
  2315. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2316. #: apt-cdrom.8.xml:1
  2317. msgid ""
  2318. "No Changes; Do not change the &sources-list; file and do not write index "
  2319. "files. Everything is still checked however. Configuration Item: "
  2320. "<literal>APT::CDROM::NoAct</literal>."
  2321. msgstr ""
  2322. #. type: Content of: <refentry><refsect1><para>
  2323. #: apt-cdrom.8.xml:1
  2324. msgid "&apt-conf;, &apt-get;, &sources-list;"
  2325. msgstr ""
  2326. #. type: Content of: <refentry><refsect1><para>
  2327. #: apt-cdrom.8.xml:1
  2328. msgid ""
  2329. "<command>apt-cdrom</command> returns zero on normal operation, decimal 100 "
  2330. "on error."
  2331. msgstr ""
  2332. #. type: Content of: <refentry><refnamediv><refpurpose>
  2333. #: apt-config.8.xml:1
  2334. msgid "APT Configuration Query program"
  2335. msgstr ""
  2336. #. type: Content of: <refentry><refsect1><para>
  2337. #: apt-config.8.xml:1
  2338. msgid ""
  2339. "<command>apt-config</command> is an internal program used by various "
  2340. "portions of the APT suite to provide consistent configurability. It accesses "
  2341. "the main configuration file <filename>/etc/apt/apt.conf</filename> in a "
  2342. "manner that is easy to use for scripted applications."
  2343. msgstr ""
  2344. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2345. #: apt-config.8.xml:1
  2346. msgid ""
  2347. "shell is used to access the configuration information from a shell "
  2348. "script. It is given pairs of arguments, the first being a shell variable and "
  2349. "the second the configuration value to query. As output it lists shell "
  2350. "assignment commands for each value present. In a shell script it should be "
  2351. "used as follows:"
  2352. msgstr ""
  2353. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><informalexample><programlisting>
  2354. #: apt-config.8.xml:1
  2355. #, no-wrap
  2356. msgid ""
  2357. "OPTS=\"-f\"\n"
  2358. "RES=`apt-config shell OPTS MyApp::options`\n"
  2359. "eval $RES\n"
  2360. msgstr ""
  2361. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2362. #: apt-config.8.xml:1
  2363. msgid ""
  2364. "This will set the shell environment variable $OPTS to the value of "
  2365. "MyApp::options with a default of <option>-f</option>."
  2366. msgstr ""
  2367. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2368. #: apt-config.8.xml:1
  2369. msgid ""
  2370. "The configuration item may be postfixed with a /[fdbi]. f returns file "
  2371. "names, d returns directories, b returns true or false and i returns an "
  2372. "integer. Each of the returns is normalized and verified internally."
  2373. msgstr ""
  2374. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2375. #: apt-config.8.xml:1
  2376. msgid "Just show the contents of the configuration space."
  2377. msgstr ""
  2378. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2379. #: apt-config.8.xml:1
  2380. msgid ""
  2381. "Include options which have an empty value. This is the default, so use "
  2382. "--no-empty to remove them from the output."
  2383. msgstr ""
  2384. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option><replaceable>
  2385. #: apt-config.8.xml:1
  2386. msgid "&percnt;f &#x0022;&percnt;v&#x0022;;&percnt;n"
  2387. msgstr ""
  2388. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2389. #: apt-config.8.xml:1
  2390. msgid ""
  2391. "Defines the output of each config option. &percnt;t will be replaced with "
  2392. "its individual name, &percnt;f with its full hierarchical name and &percnt;v "
  2393. "with its value. Use uppercase letters and special characters in the value "
  2394. "will be encoded to ensure that it can e.g. be safely used in a quoted-string "
  2395. "as defined by RFC822. Additionally &percnt;n will be replaced by a newline, "
  2396. "and &percnt;N by a tab. A &percnt; can be printed by using &percnt;&percnt;."
  2397. msgstr ""
  2398. #. type: Content of: <refentry><refsect1><para>
  2399. #: apt-config.8.xml:1 apt-extracttemplates.1.xml:1 apt-sortpkgs.1.xml:1
  2400. #: apt-ftparchive.1.xml:1
  2401. msgid "&apt-conf;"
  2402. msgstr ""
  2403. #. type: Content of: <refentry><refsect1><para>
  2404. #: apt-config.8.xml:1
  2405. msgid ""
  2406. "<command>apt-config</command> returns zero on normal operation, decimal 100 "
  2407. "on error."
  2408. msgstr ""
  2409. #. type: Content of: <refentry><refentryinfo><author><contrib>
  2410. #: apt.conf.5.xml:1
  2411. msgid "Initial documentation of Debug::*."
  2412. msgstr ""
  2413. #. type: Content of: <refentry><refentryinfo><author><email>
  2414. #: apt.conf.5.xml:1
  2415. msgid "dburrows@debian.org"
  2416. msgstr ""
  2417. #. type: Content of: <refentry><refmeta><manvolnum>
  2418. #: apt.conf.5.xml:1 apt_preferences.5.xml:1 sources.list.5.xml:1
  2419. msgid "5"
  2420. msgstr ""
  2421. #. type: Content of: <refentry><refnamediv><refpurpose>
  2422. #: apt.conf.5.xml:1
  2423. msgid "Configuration file for APT"
  2424. msgstr ""
  2425. #. type: Content of: <refentry><refsect1><para>
  2426. #: apt.conf.5.xml:1
  2427. msgid ""
  2428. "<filename>/etc/apt/apt.conf</filename> is the main configuration file shared "
  2429. "by all the tools in the APT suite of tools, though it is by no means the "
  2430. "only place options can be set. The suite also shares a common command line "
  2431. "parser to provide a uniform environment."
  2432. msgstr ""
  2433. #. type: Content of: <refentry><refsect1><orderedlist><para>
  2434. #: apt.conf.5.xml:1
  2435. msgid ""
  2436. "When an APT tool starts up it will read the configuration files in the "
  2437. "following order:"
  2438. msgstr ""
  2439. #. type: Content of: <refentry><refsect1><orderedlist><listitem><para>
  2440. #: apt.conf.5.xml:1
  2441. msgid ""
  2442. "the file specified by the <envar>APT_CONFIG</envar> environment variable (if "
  2443. "any)"
  2444. msgstr ""
  2445. #. type: Content of: <refentry><refsect1><orderedlist><listitem><para>
  2446. #: apt.conf.5.xml:1
  2447. msgid ""
  2448. "all files in <literal>Dir::Etc::Parts</literal> in alphanumeric ascending "
  2449. "order which have either no or \"<literal>conf</literal>\" as filename "
  2450. "extension and which only contain alphanumeric, hyphen (-), underscore (_) "
  2451. "and period (.) characters. Otherwise APT will print a notice that it has "
  2452. "ignored a file, unless that file matches a pattern in the "
  2453. "<literal>Dir::Ignore-Files-Silently</literal> configuration list - in which "
  2454. "case it will be silently ignored."
  2455. msgstr ""
  2456. #. type: Content of: <refentry><refsect1><orderedlist><listitem><para>
  2457. #: apt.conf.5.xml:1
  2458. msgid "the main configuration file specified by <literal>Dir::Etc::main</literal>"
  2459. msgstr ""
  2460. #. type: Content of: <refentry><refsect1><orderedlist><listitem><para>
  2461. #: apt.conf.5.xml:1
  2462. msgid ""
  2463. "all options set in the binary specific configuration subtree are moved into "
  2464. "the root of the tree."
  2465. msgstr ""
  2466. #. type: Content of: <refentry><refsect1><orderedlist><listitem><para>
  2467. #: apt.conf.5.xml:1
  2468. msgid ""
  2469. "the command line options are applied to override the configuration "
  2470. "directives or to load even more configuration files."
  2471. msgstr ""
  2472. #. type: Content of: <refentry><refsect1><title>
  2473. #: apt.conf.5.xml:1
  2474. msgid "Syntax"
  2475. msgstr ""
  2476. #. type: Content of: <refentry><refsect1><para>
  2477. #: apt.conf.5.xml:1
  2478. msgid ""
  2479. "The configuration file is organized in a tree with options organized into "
  2480. "functional groups. Option specification is given with a double colon "
  2481. "notation; for instance <literal>APT::Get::Assume-Yes</literal> is an option "
  2482. "within the APT tool group, for the Get tool. Options do not inherit from "
  2483. "their parent groups."
  2484. msgstr ""
  2485. #. type: Content of: <refentry><refsect1><para>
  2486. #: apt.conf.5.xml:1
  2487. msgid ""
  2488. "Syntactically the configuration language is modeled after what the ISC tools "
  2489. "such as bind and dhcp use. Lines starting with <literal>//</literal> are "
  2490. "treated as comments (ignored), as well as all text between "
  2491. "<literal>/*</literal> and <literal>*/</literal>, just like C/C++ comments. "
  2492. "Each line is of the form <literal>APT::Get::Assume-Yes \"true\";</literal>. "
  2493. "The quotation marks and trailing semicolon are required. The value must be "
  2494. "on one line, and there is no kind of string concatenation. Values must not "
  2495. "include backslashes or extra quotation marks. Option names are made up of "
  2496. "alphanumeric characters and the characters \"/-:._+\". A new scope can be "
  2497. "opened with curly braces, like this:"
  2498. msgstr ""
  2499. #. type: Content of: <refentry><refsect1><informalexample><programlisting>
  2500. #: apt.conf.5.xml:1
  2501. #, no-wrap
  2502. msgid ""
  2503. "APT {\n"
  2504. " Get {\n"
  2505. " Assume-Yes \"true\";\n"
  2506. " Fix-Broken \"true\";\n"
  2507. " };\n"
  2508. "};\n"
  2509. msgstr ""
  2510. #. type: Content of: <refentry><refsect1><para>
  2511. #: apt.conf.5.xml:1
  2512. msgid ""
  2513. "with newlines placed to make it more readable. Lists can be created by "
  2514. "opening a scope and including a single string enclosed in quotes followed by "
  2515. "a semicolon. Multiple entries can be included, separated by a semicolon."
  2516. msgstr ""
  2517. #. type: Content of: <refentry><refsect1><informalexample><programlisting>
  2518. #: apt.conf.5.xml:1
  2519. #, no-wrap
  2520. msgid "DPkg::Pre-Install-Pkgs {\"/usr/sbin/dpkg-preconfigure --apt\";};\n"
  2521. msgstr ""
  2522. #. type: Content of: <refentry><refsect1><para>
  2523. #: apt.conf.5.xml:1
  2524. msgid ""
  2525. "In general the sample configuration file &configureindex; is a good guide "
  2526. "for how it should look."
  2527. msgstr ""
  2528. #. type: Content of: <refentry><refsect1><para>
  2529. #: apt.conf.5.xml:1
  2530. msgid ""
  2531. "Case is not significant in names of configuration items, so in the previous "
  2532. "example you could use <literal>dpkg::pre-install-pkgs</literal>."
  2533. msgstr ""
  2534. #. type: Content of: <refentry><refsect1><para>
  2535. #: apt.conf.5.xml:1
  2536. msgid ""
  2537. "Names for the configuration items are optional if a list is defined as can "
  2538. "be seen in the <literal>DPkg::Pre-Install-Pkgs</literal> example above. If "
  2539. "you don't specify a name a new entry will simply add a new option to the "
  2540. "list. If you specify a name you can override the option in the same way as "
  2541. "any other option by reassigning a new value to the option."
  2542. msgstr ""
  2543. #. type: Content of: <refentry><refsect1><para>
  2544. #: apt.conf.5.xml:1
  2545. msgid ""
  2546. "Two special commands are defined: <literal>#include</literal> (which is "
  2547. "deprecated and not supported by alternative implementations) and "
  2548. "<literal>#clear</literal>. <literal>#include</literal> will include the "
  2549. "given file, unless the filename ends in a slash, in which case the whole "
  2550. "directory is included. <literal>#clear</literal> is used to erase a part of "
  2551. "the configuration tree. The specified element and all its descendants are "
  2552. "erased. (Note that these lines also need to end with a semicolon.)"
  2553. msgstr ""
  2554. #. type: Content of: <refentry><refsect1><para>
  2555. #: apt.conf.5.xml:1
  2556. msgid ""
  2557. "The <literal>#clear</literal> command is the only way to delete a list or a "
  2558. "complete scope. Reopening a scope (or using the syntax described below with "
  2559. "an appended <literal>::</literal>) will <emphasis>not</emphasis> override "
  2560. "previously written entries. Options can only be overridden by addressing a "
  2561. "new value to them - lists and scopes can't be overridden, only cleared."
  2562. msgstr ""
  2563. #. type: Content of: <refentry><refsect1><para>
  2564. #: apt.conf.5.xml:1
  2565. msgid ""
  2566. "All of the APT tools take an -o option which allows an arbitrary "
  2567. "configuration directive to be specified on the command line. The syntax is a "
  2568. "full option name (<literal>APT::Get::Assume-Yes</literal> for instance) "
  2569. "followed by an equals sign then the new value of the option. To append a new "
  2570. "element to a list, add a trailing <literal>::</literal> to the name of the "
  2571. "list. (As you might suspect, the scope syntax can't be used on the command "
  2572. "line.)"
  2573. msgstr ""
  2574. #. type: Content of: <refentry><refsect1><para>
  2575. #: apt.conf.5.xml:1
  2576. msgid ""
  2577. "Note that appending items to a list using <literal>::</literal> only works "
  2578. "for one item per line, and that you should not use it in combination with "
  2579. "the scope syntax (which adds <literal>::</literal> implicitly). Using both "
  2580. "syntaxes together will trigger a bug which some users unfortunately depend "
  2581. "on: an option with the unusual name \"<literal>::</literal>\" which acts "
  2582. "like every other option with a name. This introduces many problems; for one "
  2583. "thing, users who write multiple lines in this <emphasis>wrong</emphasis> "
  2584. "syntax in the hope of appending to a list will achieve the opposite, as only "
  2585. "the last assignment for this option \"<literal>::</literal>\" will be "
  2586. "used. Future versions of APT will raise errors and stop working if they "
  2587. "encounter this misuse, so please correct such statements now while APT "
  2588. "doesn't explicitly complain about them."
  2589. msgstr ""
  2590. #. type: Content of: <refentry><refsect1><title>
  2591. #: apt.conf.5.xml:1
  2592. msgid "The APT Group"
  2593. msgstr ""
  2594. #. type: Content of: <refentry><refsect1><para>
  2595. #: apt.conf.5.xml:1
  2596. msgid ""
  2597. "This group of options controls general APT behavior as well as holding the "
  2598. "options for all of the tools."
  2599. msgstr ""
  2600. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2601. #: apt.conf.5.xml:1
  2602. msgid ""
  2603. "System Architecture; sets the architecture to use when fetching files and "
  2604. "parsing package lists. The internal default is the architecture apt was "
  2605. "compiled for."
  2606. msgstr ""
  2607. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2608. #: apt.conf.5.xml:1
  2609. msgid ""
  2610. "All Architectures the system supports. For instance, CPUs implementing the "
  2611. "<literal>amd64</literal> (also called <literal>x86-64</literal>) "
  2612. "instruction set are also able to execute binaries compiled for the "
  2613. "<literal>i386</literal> (<literal>x86</literal>) instruction set. This list "
  2614. "is used when fetching files and parsing package lists. The initial default "
  2615. "is always the system's native architecture "
  2616. "(<literal>APT::Architecture</literal>), and foreign architectures are added "
  2617. "to the default list when they are registered via <command>dpkg "
  2618. "--add-architecture</command>."
  2619. msgstr ""
  2620. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2621. #: apt.conf.5.xml:1
  2622. msgid ""
  2623. "This scope defines which compression formats are supported, how compression "
  2624. "and decompression can be performed if support for this format isn't built "
  2625. "into apt directly and a cost-value indicating how costly it is to compress "
  2626. "something in this format. As an example the following configuration stanza "
  2627. "would allow apt to download and uncompress as well as create and store files "
  2628. "with the low-cost <literal>.reversed</literal> file extension which it will "
  2629. "pass to the command <command>rev</command> without additional commandline "
  2630. "parameters for compression and uncompression:"
  2631. msgstr ""
  2632. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><informalexample><programlisting>
  2633. #: apt.conf.5.xml:1
  2634. #, no-wrap
  2635. msgid ""
  2636. "APT::Compressor::rev {\n"
  2637. "\tName \"rev\";\n"
  2638. "\tExtension \".reversed\";\n"
  2639. "\tBinary \"rev\";\n"
  2640. "\tCompressArg {};\n"
  2641. "\tUncompressArg {};\n"
  2642. "\tCost \"10\";\n"
  2643. "};\n"
  2644. msgstr ""
  2645. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2646. #: apt.conf.5.xml:1
  2647. msgid ""
  2648. "List of all build profiles enabled for build-dependency resolution, without "
  2649. "the \"<literal>profile.</literal>\" namespace prefix. By default this list "
  2650. "is empty. The <envar>DEB_BUILD_PROFILES</envar> as used by "
  2651. "&dpkg-buildpackage; overrides the list notation."
  2652. msgstr ""
  2653. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2654. #: apt.conf.5.xml:1
  2655. msgid ""
  2656. "Default release to install packages from if more than one version is "
  2657. "available. Contains release name, codename or release version. Examples: "
  2658. "'stable', 'testing', 'unstable', '&debian-stable-codename;', "
  2659. "'&debian-testing-codename;', '4.0', '5.0*'. See also &apt-preferences;."
  2660. msgstr ""
  2661. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2662. #: apt.conf.5.xml:1
  2663. msgid ""
  2664. "Ignore held packages; this global option causes the problem resolver to "
  2665. "ignore held packages in its decision making."
  2666. msgstr ""
  2667. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2668. #: apt.conf.5.xml:1
  2669. msgid ""
  2670. "Defaults to on. When turned on the autoclean feature will remove any "
  2671. "packages which can no longer be downloaded from the cache. If turned off "
  2672. "then packages that are locally installed are also excluded from cleaning - "
  2673. "but note that APT provides no direct means to reinstall them."
  2674. msgstr ""
  2675. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2676. #: apt.conf.5.xml:1
  2677. msgid ""
  2678. "Defaults to on, which will cause APT to install essential and important "
  2679. "packages as soon as possible in an install/upgrade operation, in order to "
  2680. "limit the effect of a failing &dpkg; call. If this option is disabled, APT "
  2681. "treats an important package in the same way as an extra package: between the "
  2682. "unpacking of the package A and its configuration there can be many other "
  2683. "unpack or configuration calls for other unrelated packages B, C etc. If "
  2684. "these cause the &dpkg; call to fail (e.g. because package B's maintainer "
  2685. "scripts generate an error), this results in a system state in which package "
  2686. "A is unpacked but unconfigured - so any package depending on A is now no "
  2687. "longer guaranteed to work, as its dependency on A is no longer satisfied."
  2688. msgstr ""
  2689. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2690. #: apt.conf.5.xml:1
  2691. msgid ""
  2692. "The immediate configuration marker is also applied in the potentially "
  2693. "problematic case of circular dependencies, since a dependency with the "
  2694. "immediate flag is equivalent to a Pre-Dependency. In theory this allows APT "
  2695. "to recognise a situation in which it is unable to perform immediate "
  2696. "configuration, abort, and suggest to the user that the option should be "
  2697. "temporarily deactivated in order to allow the operation to proceed. Note "
  2698. "the use of the word \"theory\" here; in the real world this problem has "
  2699. "rarely been encountered, in non-stable distribution versions, and was caused "
  2700. "by wrong dependencies of the package in question or by a system in an "
  2701. "already broken state; so you should not blindly disable this option, as the "
  2702. "scenario mentioned above is not the only problem it can help to prevent in "
  2703. "the first place."
  2704. msgstr ""
  2705. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2706. #: apt.conf.5.xml:1
  2707. msgid ""
  2708. "Before a big operation like <literal>dist-upgrade</literal> is run with this "
  2709. "option disabled you should try to explicitly <literal>install</literal> the "
  2710. "package APT is unable to configure immediately; but please make sure you "
  2711. "also report your problem to your distribution and to the APT team with the "
  2712. "buglink below, so they can work on improving or correcting the upgrade "
  2713. "process."
  2714. msgstr ""
  2715. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2716. #: apt.conf.5.xml:1
  2717. msgid ""
  2718. "Never enable this option unless you <emphasis>really</emphasis> know what "
  2719. "you are doing. It permits APT to temporarily remove an essential package to "
  2720. "break a Conflicts/Conflicts or Conflicts/Pre-Depends loop between two "
  2721. "essential packages. <emphasis>Such a loop should never exist and is a grave "
  2722. "bug</emphasis>. This option will work if the essential packages are not "
  2723. "<command>tar</command>, <command>gzip</command>, <command>libc</command>, "
  2724. "<command>dpkg</command>, <command>dash</command> or anything that those "
  2725. "packages depend on."
  2726. msgstr ""
  2727. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2728. #: apt.conf.5.xml:1
  2729. msgid ""
  2730. "APT uses since version 0.7.26 a resizable memory mapped cache file to store "
  2731. "the available information. <literal>Cache-Start</literal> acts as a hint of "
  2732. "the size the cache will grow to, and is therefore the amount of memory APT "
  2733. "will request at startup. The default value is 20971520 bytes (~20 MB). Note "
  2734. "that this amount of space needs to be available for APT; otherwise it will "
  2735. "likely fail ungracefully, so for memory restricted devices this value should "
  2736. "be lowered while on systems with a lot of configured sources it should be "
  2737. "increased. <literal>Cache-Grow</literal> defines in bytes with the default "
  2738. "of 1048576 (~1 MB) how much the cache size will be increased in the event "
  2739. "the space defined by <literal>Cache-Start</literal> is not enough. This "
  2740. "value will be applied again and again until either the cache is big enough "
  2741. "to store all information or the size of the cache reaches the "
  2742. "<literal>Cache-Limit</literal>. The default of "
  2743. "<literal>Cache-Limit</literal> is 0 which stands for no limit. If "
  2744. "<literal>Cache-Grow</literal> is set to 0 the automatic growth of the cache "
  2745. "is disabled."
  2746. msgstr ""
  2747. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2748. #: apt.conf.5.xml:1
  2749. msgid "Defines which packages are considered essential build dependencies."
  2750. msgstr ""
  2751. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2752. #: apt.conf.5.xml:1
  2753. msgid ""
  2754. "The Get subsection controls the &apt-get; tool; please see its documentation "
  2755. "for more information about the options here."
  2756. msgstr ""
  2757. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2758. #: apt.conf.5.xml:1
  2759. msgid ""
  2760. "The Cache subsection controls the &apt-cache; tool; please see its "
  2761. "documentation for more information about the options here."
  2762. msgstr ""
  2763. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2764. #: apt.conf.5.xml:1
  2765. msgid ""
  2766. "The CDROM subsection controls the &apt-cdrom; tool; please see its "
  2767. "documentation for more information about the options here."
  2768. msgstr ""
  2769. #. type: Content of: <refentry><refsect1><title>
  2770. #: apt.conf.5.xml:1
  2771. msgid "The Acquire Group"
  2772. msgstr ""
  2773. #. type: Content of: <refentry><refsect1><para>
  2774. #: apt.conf.5.xml:1
  2775. msgid ""
  2776. "The <literal>Acquire</literal> group of options controls the download of "
  2777. "packages as well as the various \"acquire methods\" responsible for the "
  2778. "download itself (see also &sources-list;)."
  2779. msgstr ""
  2780. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2781. #: apt.conf.5.xml:1
  2782. msgid ""
  2783. "Security related option defaulting to true, as giving a Release file's "
  2784. "validation an expiration date prevents replay attacks over a long timescale, "
  2785. "and can also for example help users to identify mirrors that are no longer "
  2786. "updated - but the feature depends on the correctness of the clock on the "
  2787. "user system. Archive maintainers are encouraged to create Release files with "
  2788. "the <literal>Valid-Until</literal> header, but if they don't or a stricter "
  2789. "value is desired the <literal>Max-ValidTime</literal> option below can be "
  2790. "used. The <option>Check-Valid-Until</option> option of &sources-list; "
  2791. "entries should be preferred to disable the check selectively instead of "
  2792. "using this global override."
  2793. msgstr ""
  2794. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2795. #: apt.conf.5.xml:1
  2796. msgid ""
  2797. "Maximum time (in seconds) after its creation (as indicated by the "
  2798. "<literal>Date</literal> header) that the <filename>Release</filename> file "
  2799. "should be considered valid. If the Release file itself includes a "
  2800. "<literal>Valid-Until</literal> header the earlier date of the two is used as "
  2801. "the expiration date. The default value is <literal>0</literal> which stands "
  2802. "for \"valid forever\". Archive specific settings can be made by appending "
  2803. "the label of the archive to the option name. Preferably, the same can be "
  2804. "achieved for specific &sources-list; entries by using the "
  2805. "<option>Valid-Until-Max</option> option there."
  2806. msgstr ""
  2807. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2808. #: apt.conf.5.xml:1
  2809. msgid ""
  2810. "Minimum time (in seconds) after its creation (as indicated by the "
  2811. "<literal>Date</literal> header) that the <filename>Release</filename> file "
  2812. "should be considered valid. Use this if you need to use a seldom updated "
  2813. "(local) mirror of a more frequently updated archive with a "
  2814. "<literal>Valid-Until</literal> header instead of completely disabling the "
  2815. "expiration date checking. Archive specific settings can and should be used "
  2816. "by appending the label of the archive to the option name. Preferably, the "
  2817. "same can be achieved for specific &sources-list; entries by using the "
  2818. "<option>Valid-Until-Min</option> option there."
  2819. msgstr ""
  2820. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2821. #: apt.conf.5.xml:1
  2822. msgid ""
  2823. "Try to download deltas called <literal>PDiffs</literal> for indexes (like "
  2824. "<filename>Packages</filename> files) instead of downloading whole ones. True "
  2825. "by default. Preferably, this can be set for specific &sources-list; entries "
  2826. "or index files by using the <option>PDiffs</option> option there."
  2827. msgstr ""
  2828. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2829. #: apt.conf.5.xml:1
  2830. msgid ""
  2831. "Two sub-options to limit the use of PDiffs are also available: "
  2832. "<literal>FileLimit</literal> can be used to specify a maximum number of "
  2833. "PDiff files should be downloaded to update a "
  2834. "file. <literal>SizeLimit</literal> on the other hand is the maximum "
  2835. "percentage of the size of all patches compared to the size of the targeted "
  2836. "file. If one of these limits is exceeded the complete file is downloaded "
  2837. "instead of the patches."
  2838. msgstr ""
  2839. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2840. #: apt.conf.5.xml:1
  2841. msgid ""
  2842. "Try to download indexes via an URI constructed from a hashsum of the "
  2843. "expected file rather than downloaded via a well-known stable filename. True "
  2844. "by default, but automatically disabled if the source indicates no support "
  2845. "for it. Usage can be forced with the special value \"force\". Preferably, "
  2846. "this can be set for specific &sources-list; entries or index files by using "
  2847. "the <option>By-Hash</option> option there."
  2848. msgstr ""
  2849. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2850. #: apt.conf.5.xml:1
  2851. msgid ""
  2852. "Queuing mode; <literal>Queue-Mode</literal> can be one of "
  2853. "<literal>host</literal> or <literal>access</literal> which determines how "
  2854. "APT parallelizes outgoing connections. <literal>host</literal> means that "
  2855. "one connection per target host will be opened, <literal>access</literal> "
  2856. "means that one connection per URI type will be opened."
  2857. msgstr ""
  2858. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2859. #: apt.conf.5.xml:1
  2860. msgid ""
  2861. "Number of retries to perform. If this is non-zero APT will retry failed "
  2862. "files the given number of times."
  2863. msgstr ""
  2864. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2865. #: apt.conf.5.xml:1
  2866. msgid ""
  2867. "Use symlinks for source archives. If set to true then source archives will "
  2868. "be symlinked when possible instead of copying. True is the default."
  2869. msgstr ""
  2870. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2871. #: apt.conf.5.xml:1
  2872. msgid ""
  2873. "<literal>http::Proxy</literal> sets the default proxy to use for HTTP "
  2874. "URIs. It is in the standard form of "
  2875. "<literal>http://[[user][:pass]@]host[:port]/</literal>. Per host proxies "
  2876. "can also be specified by using the form "
  2877. "<literal>http::Proxy::&lt;host&gt;</literal> with the special keyword "
  2878. "<literal>DIRECT</literal> meaning to use no proxies. If no one of the above "
  2879. "settings is specified, <envar>http_proxy</envar> environment variable will "
  2880. "be used."
  2881. msgstr ""
  2882. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2883. #: apt.conf.5.xml:1
  2884. msgid ""
  2885. "Three settings are provided for cache control with HTTP/1.1 compliant proxy "
  2886. "caches. <literal>No-Cache</literal> tells the proxy not to use its cached "
  2887. "response under any circumstances. <literal>Max-Age</literal> sets the "
  2888. "allowed maximum age (in seconds) of an index file in the cache of the "
  2889. "proxy. <literal>No-Store</literal> specifies that the proxy should not "
  2890. "store the requested archive files in its cache, which can be used to prevent "
  2891. "the proxy from polluting its cache with (big) .deb files."
  2892. msgstr ""
  2893. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2894. #: apt.conf.5.xml:1 apt.conf.5.xml:1
  2895. msgid ""
  2896. "The option <literal>timeout</literal> sets the timeout timer used by the "
  2897. "method; this value applies to the connection as well as the data timeout."
  2898. msgstr ""
  2899. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2900. #: apt.conf.5.xml:1
  2901. msgid ""
  2902. "The setting <literal>Acquire::http::Pipeline-Depth</literal> can be used to "
  2903. "enable HTTP pipelining (RFC 2616 section 8.1.2.2) which can be beneficial "
  2904. "e.g. on high-latency connections. It specifies how many requests are sent in "
  2905. "a pipeline. APT tries to detect and workaround misbehaving webservers and "
  2906. "proxies at runtime, but if you know that yours does not conform to the "
  2907. "HTTP/1.1 specification pipelining can be disabled by setting the value to "
  2908. "0. It is enabled by default with the value 10."
  2909. msgstr ""
  2910. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2911. #: apt.conf.5.xml:1
  2912. msgid ""
  2913. "<literal>Acquire::http::AllowRedirect</literal> controls whether APT will "
  2914. "follow redirects, which is enabled by default."
  2915. msgstr ""
  2916. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2917. #: apt.conf.5.xml:1
  2918. msgid ""
  2919. "The used bandwidth can be limited with "
  2920. "<literal>Acquire::http::Dl-Limit</literal> which accepts integer values in "
  2921. "kilobytes per second. The default value is 0 which deactivates the limit and "
  2922. "tries to use all available bandwidth. Note that this option implicitly "
  2923. "disables downloading from multiple servers at the same time."
  2924. msgstr ""
  2925. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2926. #: apt.conf.5.xml:1
  2927. msgid ""
  2928. "<literal>Acquire::http::User-Agent</literal> can be used to set a different "
  2929. "User-Agent for the http download method as some proxies allow access for "
  2930. "clients only if the client uses a known identifier."
  2931. msgstr ""
  2932. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2933. #: apt.conf.5.xml:1
  2934. msgid ""
  2935. "<literal>Acquire::http::Proxy-Auto-Detect</literal> can be used to specify "
  2936. "an external command to discover the http proxy to use. The first and only "
  2937. "parameter is an URI denoting the host to be contacted to allow for "
  2938. "host-specific configuration. APT expects the command to output the proxy on "
  2939. "stdout as a single line in the style <literal>http://proxy:port/</literal> "
  2940. "or the word <literal>DIRECT</literal> if no proxy should be used. No output "
  2941. "indicates that the generic proxy settings should be used. Note that "
  2942. "auto-detection will not be used for a host if a host-specific proxy "
  2943. "configuration is already set via "
  2944. "<literal>Acquire::http::Proxy::<replaceable>HOST</replaceable></literal>. "
  2945. "See the &squid-deb-proxy-client; package for an example implementation that "
  2946. "uses avahi. This option takes precedence over the legacy option name "
  2947. "<literal>ProxyAutoDetect</literal>."
  2948. msgstr ""
  2949. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2950. #: apt.conf.5.xml:1
  2951. msgid ""
  2952. "The <literal>Cache-control</literal>, <literal>Timeout</literal>, "
  2953. "<literal>AllowRedirect</literal>, <literal>Dl-Limit</literal> and "
  2954. "<literal>proxy</literal> options work for HTTPS URIs in the same way as for "
  2955. "the <literal>http</literal> method, and default to the same values if they "
  2956. "are not explicitly set. The <literal>Pipeline-Depth</literal> option is not "
  2957. "yet supported."
  2958. msgstr ""
  2959. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2960. #: apt.conf.5.xml:1
  2961. msgid ""
  2962. "<literal>CaInfo</literal> suboption specifies place of file that holds info "
  2963. "about trusted certificates. <literal>&lt;host&gt;::CaInfo</literal> is the "
  2964. "corresponding per-host option. <literal>Verify-Peer</literal> boolean "
  2965. "suboption determines whether or not the server's host certificate should be "
  2966. "verified against trusted certificates. "
  2967. "<literal>&lt;host&gt;::Verify-Peer</literal> is the corresponding per-host "
  2968. "option. <literal>Verify-Host</literal> boolean suboption determines whether "
  2969. "or not the server's hostname should be verified. "
  2970. "<literal>&lt;host&gt;::Verify-Host</literal> is the corresponding per-host "
  2971. "option. <literal>SslCert</literal> determines what certificate to use for "
  2972. "client authentication. <literal>&lt;host&gt;::SslCert</literal> is the "
  2973. "corresponding per-host option. <literal>SslKey</literal> determines what "
  2974. "private key to use for client "
  2975. "authentication. <literal>&lt;host&gt;::SslKey</literal> is the corresponding "
  2976. "per-host option. <literal>SslForceVersion</literal> overrides default SSL "
  2977. "version to use. It can contain either of the strings "
  2978. "'<literal>TLSv1</literal>' or '<literal>SSLv3</literal>'. "
  2979. "<literal>&lt;host&gt;::SslForceVersion</literal> is the corresponding "
  2980. "per-host option."
  2981. msgstr ""
  2982. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2983. #: apt.conf.5.xml:1
  2984. msgid ""
  2985. "<literal>ftp::Proxy</literal> sets the default proxy to use for FTP URIs. "
  2986. "It is in the standard form of "
  2987. "<literal>ftp://[[user][:pass]@]host[:port]/</literal>. Per host proxies can "
  2988. "also be specified by using the form "
  2989. "<literal>ftp::Proxy::&lt;host&gt;</literal> with the special keyword "
  2990. "<literal>DIRECT</literal> meaning to use no proxies. If no one of the above "
  2991. "settings is specified, <envar>ftp_proxy</envar> environment variable will be "
  2992. "used. To use an FTP proxy you will have to set the "
  2993. "<literal>ftp::ProxyLogin</literal> script in the configuration file. This "
  2994. "entry specifies the commands to send to tell the proxy server what to "
  2995. "connect to. Please see &configureindex; for an example of how to do "
  2996. "this. The substitution variables representing the corresponding URI "
  2997. "component are <literal>$(PROXY_USER)</literal>, "
  2998. "<literal>$(PROXY_PASS)</literal>, <literal>$(SITE_USER)</literal>, "
  2999. "<literal>$(SITE_PASS)</literal>, <literal>$(SITE)</literal> and "
  3000. "<literal>$(SITE_PORT)</literal>."
  3001. msgstr ""
  3002. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3003. #: apt.conf.5.xml:1
  3004. msgid ""
  3005. "Several settings are provided to control passive mode. Generally it is safe "
  3006. "to leave passive mode on; it works in nearly every environment. However, "
  3007. "some situations require that passive mode be disabled and port mode FTP used "
  3008. "instead. This can be done globally or for connections that go through a "
  3009. "proxy or for a specific host (see the sample config file for examples)."
  3010. msgstr ""
  3011. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3012. #: apt.conf.5.xml:1
  3013. msgid ""
  3014. "It is possible to proxy FTP over HTTP by setting the "
  3015. "<envar>ftp_proxy</envar> environment variable to an HTTP URL - see the "
  3016. "discussion of the http method above for syntax. You cannot set this in the "
  3017. "configuration file and it is not recommended to use FTP over HTTP due to its "
  3018. "low efficiency."
  3019. msgstr ""
  3020. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3021. #: apt.conf.5.xml:1
  3022. msgid ""
  3023. "The setting <literal>ForceExtended</literal> controls the use of RFC2428 "
  3024. "<literal>EPSV</literal> and <literal>EPRT</literal> commands. The default is "
  3025. "false, which means these commands are only used if the control connection is "
  3026. "IPv6. Setting this to true forces their use even on IPv4 connections. Note "
  3027. "that most FTP servers do not support RFC2428."
  3028. msgstr ""
  3029. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><literallayout>
  3030. #: apt.conf.5.xml:1
  3031. #, no-wrap
  3032. msgid "/cdrom/::Mount \"foo\";"
  3033. msgstr ""
  3034. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3035. #: apt.conf.5.xml:1
  3036. msgid ""
  3037. "For URIs using the <literal>cdrom</literal> method, the only configurable "
  3038. "option is the mount point, <literal>cdrom::Mount</literal>, which must be "
  3039. "the mount point for the CD-ROM (or DVD, or whatever) drive as specified in "
  3040. "<filename>/etc/fstab</filename>. It is possible to provide alternate mount "
  3041. "and unmount commands if your mount point cannot be listed in the fstab. The "
  3042. "syntax is to put <placeholder type=\"literallayout\" id=\"0\"/> within the "
  3043. "<literal>cdrom</literal> block. It is important to have the trailing slash. "
  3044. "Unmount commands can be specified using UMount."
  3045. msgstr ""
  3046. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3047. #: apt.conf.5.xml:1
  3048. msgid ""
  3049. "For GPGV URIs the only configurable option is "
  3050. "<literal>gpgv::Options</literal>, which passes additional parameters to "
  3051. "gpgv."
  3052. msgstr ""
  3053. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><synopsis>
  3054. #: apt.conf.5.xml:1
  3055. #, no-wrap
  3056. msgid ""
  3057. "Acquire::CompressionTypes::<replaceable>FileExtension</replaceable> "
  3058. "\"<replaceable>Methodname</replaceable>\";"
  3059. msgstr ""
  3060. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3061. #: apt.conf.5.xml:1
  3062. msgid ""
  3063. "List of compression types which are understood by the acquire methods. "
  3064. "Files like <filename>Packages</filename> can be available in various "
  3065. "compression formats. By default the acquire methods can decompress and "
  3066. "recompress many common formats like <command>xz</command> and "
  3067. "<command>gzip</command>; with this scope the supported formats can be "
  3068. "queried, modified as well as support for more formats added (see also "
  3069. "<option>APT::Compressor</option>). The syntax for this is: <placeholder "
  3070. "type=\"synopsis\" id=\"0\"/>"
  3071. msgstr ""
  3072. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><synopsis>
  3073. #: apt.conf.5.xml:1
  3074. #, no-wrap
  3075. msgid "Acquire::CompressionTypes::Order:: \"gz\";"
  3076. msgstr ""
  3077. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><synopsis>
  3078. #: apt.conf.5.xml:1
  3079. #, no-wrap
  3080. msgid "Acquire::CompressionTypes::Order { \"xz\"; \"gz\"; };"
  3081. msgstr ""
  3082. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3083. #: apt.conf.5.xml:1
  3084. msgid ""
  3085. "Also, the <literal>Order</literal> subgroup can be used to define in which "
  3086. "order the acquire system will try to download the compressed files. The "
  3087. "acquire system will try the first and proceed with the next compression type "
  3088. "in this list on error, so to prefer one over the other type simply add the "
  3089. "preferred type first - types not already added will be implicitly appended "
  3090. "to the end of the list, so e.g. <placeholder type=\"synopsis\" id=\"0\"/> "
  3091. "can be used to prefer <command>gzip</command> compressed files over all "
  3092. "other compression formats. If <command>xz</command> should be preferred "
  3093. "over <command>gzip</command> and <command>bzip2</command> the configure "
  3094. "setting should look like this: <placeholder type=\"synopsis\" id=\"1\"/> It "
  3095. "is not needed to add <literal>bz2</literal> to the list explicitly as it "
  3096. "will be added automatically."
  3097. msgstr ""
  3098. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><literallayout>
  3099. #: apt.conf.5.xml:1
  3100. #, no-wrap
  3101. msgid "Dir::Bin::bzip2 \"/bin/bzip2\";"
  3102. msgstr ""
  3103. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3104. #: apt.conf.5.xml:1
  3105. msgid ""
  3106. "Note that the "
  3107. "<literal>Dir::Bin::<replaceable>Methodname</replaceable></literal> will be "
  3108. "checked at run time. If this option has been set and support for this format "
  3109. "isn't directly built into apt, the method will only be used if this file "
  3110. "exists; e.g. for the <literal>bzip2</literal> method (the inbuilt) setting "
  3111. "is: <placeholder type=\"literallayout\" id=\"0\"/> Note also that list "
  3112. "entries specified on the command line will be added at the end of the list "
  3113. "specified in the configuration files, but before the default entries. To "
  3114. "prefer a type in this case over the ones specified in the configuration "
  3115. "files you can set the option direct - not in list style. This will not "
  3116. "override the defined list; it will only prefix the list with this type."
  3117. msgstr ""
  3118. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3119. #: apt.conf.5.xml:1
  3120. msgid ""
  3121. "The special type <literal>uncompressed</literal> can be used to give "
  3122. "uncompressed files a preference, but note that most archives don't provide "
  3123. "uncompressed files so this is mostly only useable for local mirrors."
  3124. msgstr ""
  3125. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3126. #: apt.conf.5.xml:1
  3127. msgid ""
  3128. "When downloading <literal>gzip</literal> compressed indexes (Packages, "
  3129. "Sources, or Translations), keep them gzip compressed locally instead of "
  3130. "unpacking them. This saves quite a lot of disk space at the expense of more "
  3131. "CPU requirements when building the local package caches. False by default."
  3132. msgstr ""
  3133. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3134. #: apt.conf.5.xml:1
  3135. msgid ""
  3136. "The Languages subsection controls which <filename>Translation</filename> "
  3137. "files are downloaded and in which order APT tries to display the "
  3138. "description-translations. APT will try to display the first available "
  3139. "description in the language which is listed first. Languages can be defined "
  3140. "with their short or long language codes. Note that not all archives provide "
  3141. "<filename>Translation</filename> files for every language - the long "
  3142. "language codes are especially rare."
  3143. msgstr ""
  3144. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><programlisting>
  3145. #: apt.conf.5.xml:1
  3146. #, no-wrap
  3147. msgid "Acquire::Languages { \"environment\"; \"de\"; \"en\"; \"none\"; \"fr\"; };"
  3148. msgstr ""
  3149. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3150. #: apt.conf.5.xml:1
  3151. msgid ""
  3152. "The default list includes \"environment\" and "
  3153. "\"en\". \"<literal>environment</literal>\" has a special meaning here: it "
  3154. "will be replaced at runtime with the language codes extracted from the "
  3155. "<literal>LC_MESSAGES</literal> environment variable. It will also ensure "
  3156. "that these codes are not included twice in the list. If "
  3157. "<literal>LC_MESSAGES</literal> is set to \"C\" only the "
  3158. "<filename>Translation-en</filename> file (if available) will be used. To "
  3159. "force APT to use no Translation file use the setting "
  3160. "<literal>Acquire::Languages=none</literal>. \"<literal>none</literal>\" is "
  3161. "another special meaning code which will stop the search for a suitable "
  3162. "<filename>Translation</filename> file. This tells APT to download these "
  3163. "translations too, without actually using them unless the environment "
  3164. "specifies the languages. So the following example configuration will result "
  3165. "in the order \"en, de\" in an English locale or \"de, en\" in a German "
  3166. "one. Note that \"fr\" is downloaded, but not used unless APT is used in a "
  3167. "French locale (where the order would be \"fr, de, en\"). <placeholder "
  3168. "type=\"programlisting\" id=\"0\"/>"
  3169. msgstr ""
  3170. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3171. #: apt.conf.5.xml:1
  3172. msgid ""
  3173. "Note: To prevent problems resulting from APT being executed in different "
  3174. "environments (e.g. by different users or by other programs) all Translation "
  3175. "files which are found in <filename>/var/lib/apt/lists/</filename> will be "
  3176. "added to the end of the list (after an implicit "
  3177. "\"<literal>none</literal>\")."
  3178. msgstr ""
  3179. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3180. #: apt.conf.5.xml:1
  3181. msgid "When downloading, force to use only the IPv4 protocol."
  3182. msgstr ""
  3183. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3184. #: apt.conf.5.xml:1
  3185. msgid "When downloading, force to use only the IPv6 protocol."
  3186. msgstr ""
  3187. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3188. #: apt.conf.5.xml:1
  3189. msgid ""
  3190. "The maximum file size of Release/Release.gpg/InRelease files. The default "
  3191. "is 10MB."
  3192. msgstr ""
  3193. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3194. #: apt.conf.5.xml:1
  3195. msgid ""
  3196. "This option controls if apt will use the DNS SRV server record as specified "
  3197. "in RFC 2782 to select an alternative server to connect to. The default is "
  3198. "\"true\"."
  3199. msgstr ""
  3200. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3201. #: apt.conf.5.xml:1
  3202. msgid ""
  3203. "Allow update operations to load data files from repositories without "
  3204. "sufficient security information. The default value is "
  3205. "\"<literal>false</literal>\". Concept, implications as well as alternatives "
  3206. "are detailed in &apt-secure;."
  3207. msgstr ""
  3208. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3209. #: apt.conf.5.xml:1
  3210. msgid ""
  3211. "Allow update operations to load data files from repositories which provide "
  3212. "security information, but these are deemed no longer cryptographically "
  3213. "strong enough. The default value is \"<literal>false</literal>\". Concept, "
  3214. "implications as well as alternatives are detailed in &apt-secure;."
  3215. msgstr ""
  3216. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3217. #: apt.conf.5.xml:1
  3218. msgid ""
  3219. "Allow that a repository that was previously gpg signed to become unsigned "
  3220. "during an update operation. When there is no valid signature for a "
  3221. "previously trusted repository apt will refuse the update. This option can be "
  3222. "used to override this protection. You almost certainly never want to enable "
  3223. "this. The default is <literal>false</literal>. Concept, implications as "
  3224. "well as alternatives are detailed in &apt-secure;."
  3225. msgstr ""
  3226. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
  3227. #: apt.conf.5.xml:1
  3228. msgid "scope"
  3229. msgstr ""
  3230. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3231. #: apt.conf.5.xml:1
  3232. msgid ""
  3233. "Acquiring changelogs can only be done if an URI is known from where to get "
  3234. "them. Preferable the Release file indicates this in a 'Changelogs' "
  3235. "field. If this isn't available the Label/Origin field of the Release file is "
  3236. "used to check if a "
  3237. "<literal>Acquire::Changelogs::URI::Label::<replaceable>LABEL</replaceable></literal> "
  3238. "or "
  3239. "<literal>Acquire::Changelogs::URI::Origin::<replaceable>ORIGIN</replaceable></literal> "
  3240. "option exists and if so this value is taken. The value in the Release file "
  3241. "can be overridden with "
  3242. "<literal>Acquire::Changelogs::URI::Override::Label::<replaceable>LABEL</replaceable></literal> "
  3243. "or "
  3244. "<literal>Acquire::Changelogs::URI::Override::Origin::<replaceable>ORIGIN</replaceable></literal>. "
  3245. "The value should be a normal URI to a text file, except that package "
  3246. "specific data is replaced with the placeholder "
  3247. "<literal>@CHANGEPATH@</literal>. The value for it is: 1. if the package is "
  3248. "from a component (e.g. <literal>main</literal>) this is the first part "
  3249. "otherwise it is omitted, 2. the first letter of source package name, except "
  3250. "if the source package name starts with '<literal>lib</literal>' in which "
  3251. "case it will be the first four letters. 3. The complete source package "
  3252. "name. 4. the complete name again and 5. the source version. The first (if "
  3253. "present), second, third and fourth part are separated by a slash "
  3254. "('<literal>/</literal>') and between the fourth and fifth part is an "
  3255. "underscore ('<literal>_</literal>'). The special value "
  3256. "'<literal>no</literal>' is available for this option indicating that this "
  3257. "source can't be used to acquire changelog files from. Another source will be "
  3258. "tried if available in this case."
  3259. msgstr ""
  3260. #. type: Content of: <refentry><refsect1><title>
  3261. #: apt.conf.5.xml:1
  3262. msgid "Binary specific configuration"
  3263. msgstr ""
  3264. #. type: Content of: <refentry><refsect1><para>
  3265. #: apt.conf.5.xml:1
  3266. msgid ""
  3267. "Especially with the introduction of the <command>apt</command> binary it can "
  3268. "be useful to set certain options only for a specific binary as even options "
  3269. "which look like they would effect only a certain binary like "
  3270. "<option>APT::Get::Show-Versions</option> effect <command>apt-get</command> "
  3271. "as well as <command>apt</command>."
  3272. msgstr ""
  3273. #. type: Content of: <refentry><refsect1><para>
  3274. #: apt.conf.5.xml:1
  3275. msgid ""
  3276. "Setting an option for a specific binary only can be achieved by setting the "
  3277. "option inside the "
  3278. "<option>Binary::<replaceable>specific-binary</replaceable></option> "
  3279. "scope. Setting the option <option>APT::Get::Show-Versions</option> for the "
  3280. "<command>apt</command> only can e.g. by done by setting "
  3281. "<option>Binary::apt::APT::Get::Show-Versions</option> instead."
  3282. msgstr ""
  3283. #. type: Content of: <refentry><refsect1><para>
  3284. #: apt.conf.5.xml:1
  3285. msgid ""
  3286. "Note that as seen in the DESCRIPTION section further above you can't set "
  3287. "binary-specific options on the commandline itself nor in configuration files "
  3288. "loaded via the commandline."
  3289. msgstr ""
  3290. #. type: Content of: <refentry><refsect1><title>
  3291. #: apt.conf.5.xml:1
  3292. msgid "Directories"
  3293. msgstr ""
  3294. #. type: Content of: <refentry><refsect1><para>
  3295. #: apt.conf.5.xml:1
  3296. msgid ""
  3297. "The <literal>Dir::State</literal> section has directories that pertain to "
  3298. "local state information. <literal>lists</literal> is the directory to place "
  3299. "downloaded package lists in and <literal>status</literal> is the name of the "
  3300. "&dpkg; status file. <literal>preferences</literal> is the name of the APT "
  3301. "<filename>preferences</filename> file. <literal>Dir::State</literal> "
  3302. "contains the default directory to prefix on all sub-items if they do not "
  3303. "start with <filename>/</filename> or <filename>./</filename>."
  3304. msgstr ""
  3305. #. type: Content of: <refentry><refsect1><para>
  3306. #: apt.conf.5.xml:1
  3307. msgid ""
  3308. "<literal>Dir::Cache</literal> contains locations pertaining to local cache "
  3309. "information, such as the two package caches <literal>srcpkgcache</literal> "
  3310. "and <literal>pkgcache</literal> as well as the location to place downloaded "
  3311. "archives, <literal>Dir::Cache::archives</literal>. Generation of caches can "
  3312. "be turned off by setting <literal>pkgcache</literal> or "
  3313. "<literal>srcpkgcache</literal> to <literal>\"\"</literal>. This will slow "
  3314. "down startup but save disk space. It is probably preferable to turn off the "
  3315. "pkgcache rather than the srcpkgcache. Like <literal>Dir::State</literal> "
  3316. "the default directory is contained in <literal>Dir::Cache</literal>"
  3317. msgstr ""
  3318. #. type: Content of: <refentry><refsect1><para>
  3319. #: apt.conf.5.xml:1
  3320. msgid ""
  3321. "<literal>Dir::Etc</literal> contains the location of configuration files, "
  3322. "<literal>sourcelist</literal> gives the location of the sourcelist and "
  3323. "<literal>main</literal> is the default configuration file (setting has no "
  3324. "effect, unless it is done from the config file specified by "
  3325. "<envar>APT_CONFIG</envar>)."
  3326. msgstr ""
  3327. #. type: Content of: <refentry><refsect1><para>
  3328. #: apt.conf.5.xml:1
  3329. msgid ""
  3330. "The <literal>Dir::Parts</literal> setting reads in all the config fragments "
  3331. "in lexical order from the directory specified. After this is done then the "
  3332. "main config file is loaded."
  3333. msgstr ""
  3334. #. type: Content of: <refentry><refsect1><para>
  3335. #: apt.conf.5.xml:1
  3336. msgid ""
  3337. "Binary programs are pointed to by "
  3338. "<literal>Dir::Bin</literal>. <literal>Dir::Bin::Methods</literal> specifies "
  3339. "the location of the method handlers and <literal>gzip</literal>, "
  3340. "<literal>bzip2</literal>, <literal>lzma</literal>, <literal>dpkg</literal>, "
  3341. "<literal>apt-get</literal> <literal>dpkg-source</literal> "
  3342. "<literal>dpkg-buildpackage</literal> and <literal>apt-cache</literal> "
  3343. "specify the location of the respective programs."
  3344. msgstr ""
  3345. #. type: Content of: <refentry><refsect1><para>
  3346. #: apt.conf.5.xml:1
  3347. msgid ""
  3348. "The configuration item <literal>RootDir</literal> has a special meaning. If "
  3349. "set, all paths will be relative to <literal>RootDir</literal>, "
  3350. "<emphasis>even paths that are specified absolutely</emphasis>. So, for "
  3351. "instance, if <literal>RootDir</literal> is set to "
  3352. "<filename>/tmp/staging</filename> and <literal>Dir::State::status</literal> "
  3353. "is set to <filename>/var/lib/dpkg/status</filename>, then the status file "
  3354. "will be looked up in <filename>/tmp/staging/var/lib/dpkg/status</filename>. "
  3355. "If you want to prefix only relative paths, set <literal>Dir</literal> "
  3356. "instead."
  3357. msgstr ""
  3358. #. type: Content of: <refentry><refsect1><para>
  3359. #: apt.conf.5.xml:1
  3360. msgid ""
  3361. "The <literal>Ignore-Files-Silently</literal> list can be used to specify "
  3362. "which files APT should silently ignore while parsing the files in the "
  3363. "fragment directories. Per default a file which end with "
  3364. "<literal>.disabled</literal>, <literal>~</literal>, <literal>.bak</literal> "
  3365. "or <literal>.dpkg-[a-z]+</literal> is silently ignored. As seen in the last "
  3366. "default value these patterns can use regular expression syntax."
  3367. msgstr ""
  3368. #. type: Content of: <refentry><refsect1><title>
  3369. #: apt.conf.5.xml:1
  3370. msgid "APT in DSelect"
  3371. msgstr ""
  3372. #. type: Content of: <refentry><refsect1><para>
  3373. #: apt.conf.5.xml:1
  3374. msgid ""
  3375. "When APT is used as a &dselect; method several configuration directives "
  3376. "control the default behavior. These are in the <literal>DSelect</literal> "
  3377. "section."
  3378. msgstr ""
  3379. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3380. #: apt.conf.5.xml:1
  3381. msgid ""
  3382. "Cache Clean mode; this value may be one of <literal>always</literal>, "
  3383. "<literal>prompt</literal>, <literal>auto</literal>, "
  3384. "<literal>pre-auto</literal> and <literal>never</literal>. "
  3385. "<literal>always</literal> and <literal>prompt</literal> will remove all "
  3386. "packages from the cache after upgrading, <literal>prompt</literal> (the "
  3387. "default) does so conditionally. <literal>auto</literal> removes only those "
  3388. "packages which are no longer downloadable (replaced with a new version for "
  3389. "instance). <literal>pre-auto</literal> performs this action before "
  3390. "downloading new packages."
  3391. msgstr ""
  3392. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3393. #: apt.conf.5.xml:1
  3394. msgid ""
  3395. "The contents of this variable are passed to &apt-get; as command line "
  3396. "options when it is run for the install phase."
  3397. msgstr ""
  3398. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3399. #: apt.conf.5.xml:1
  3400. msgid ""
  3401. "The contents of this variable are passed to &apt-get; as command line "
  3402. "options when it is run for the update phase."
  3403. msgstr ""
  3404. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3405. #: apt.conf.5.xml:1
  3406. msgid ""
  3407. "If true the [U]pdate operation in &dselect; will always prompt to continue. "
  3408. "The default is to prompt only on error."
  3409. msgstr ""
  3410. #. type: Content of: <refentry><refsect1><title>
  3411. #: apt.conf.5.xml:1
  3412. msgid "How APT calls &dpkg;"
  3413. msgstr ""
  3414. #. type: Content of: <refentry><refsect1><para>
  3415. #: apt.conf.5.xml:1
  3416. msgid ""
  3417. "Several configuration directives control how APT invokes &dpkg;. These are "
  3418. "in the <literal>DPkg</literal> section."
  3419. msgstr ""
  3420. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3421. #: apt.conf.5.xml:1
  3422. msgid ""
  3423. "This is a list of options to pass to &dpkg;. The options must be specified "
  3424. "using the list notation and each list item is passed as a single argument to "
  3425. "&dpkg;."
  3426. msgstr ""
  3427. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3428. #: apt.conf.5.xml:1
  3429. msgid ""
  3430. "This is a list of shell commands to run before/after invoking &dpkg;. Like "
  3431. "<literal>options</literal> this must be specified in list notation. The "
  3432. "commands are invoked in order using <filename>/bin/sh</filename>; should any "
  3433. "fail APT will abort."
  3434. msgstr ""
  3435. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3436. #: apt.conf.5.xml:1
  3437. msgid ""
  3438. "This is a list of shell commands to run before invoking &dpkg;. Like "
  3439. "<literal>options</literal> this must be specified in list notation. The "
  3440. "commands are invoked in order using <filename>/bin/sh</filename>; should any "
  3441. "fail APT will abort. APT will pass the filenames of all .deb files it is "
  3442. "going to install to the commands, one per line on the requested file "
  3443. "descriptor, defaulting to standard input."
  3444. msgstr ""
  3445. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3446. #: apt.conf.5.xml:1
  3447. msgid ""
  3448. "Version 2 of this protocol sends more information through the requested file "
  3449. "descriptor: a line with the text <literal>VERSION 2</literal>, the APT "
  3450. "configuration space, and a list of package actions with filename and version "
  3451. "information."
  3452. msgstr ""
  3453. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3454. #: apt.conf.5.xml:1
  3455. msgid ""
  3456. "Each configuration directive line has the form "
  3457. "<literal>key=value</literal>. Special characters (equal signs, newlines, "
  3458. "nonprintable characters, quotation marks, and percent signs in "
  3459. "<literal>key</literal> and newlines, nonprintable characters, and percent "
  3460. "signs in <literal>value</literal>) are %-encoded. Lists are represented by "
  3461. "multiple <literal>key::=value</literal> lines with the same key. The "
  3462. "configuration section ends with a blank line."
  3463. msgstr ""
  3464. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3465. #: apt.conf.5.xml:1
  3466. msgid ""
  3467. "Package action lines consist of five fields in Version 2: package name "
  3468. "(without architecture qualification even if foreign), old version, direction "
  3469. "of version change (&lt; for upgrades, &gt; for downgrades, = for no change), "
  3470. "new version, action. The version fields are \"-\" for no version at all (for "
  3471. "example when installing a package for the first time; no version is treated "
  3472. "as earlier than any real version, so that is an upgrade, indicated as "
  3473. "<literal>- &lt; 1.23.4</literal>). The action field is \"**CONFIGURE**\" if "
  3474. "the package is being configured, \"**REMOVE**\" if it is being removed, or "
  3475. "the filename of a .deb file if it is being unpacked."
  3476. msgstr ""
  3477. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3478. #: apt.conf.5.xml:1
  3479. msgid ""
  3480. "In Version 3 after each version field follows the architecture of this "
  3481. "version, which is \"-\" if there is no version, and a field showing the "
  3482. "MultiArch type \"same\", \"foreign\", \"allowed\" or \"none\". Note that "
  3483. "\"none\" is an incorrect typename which is just kept to remain compatible, "
  3484. "it should be read as \"no\" and users are encouraged to support both."
  3485. msgstr ""
  3486. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3487. #: apt.conf.5.xml:1
  3488. msgid ""
  3489. "The version of the protocol to be used for the command "
  3490. "<literal><replaceable>cmd</replaceable></literal> can be chosen by setting "
  3491. "<literal>DPkg::Tools::options::<replaceable>cmd</replaceable>::Version</literal> "
  3492. "accordingly, the default being version 1. If APT isn't supporting the "
  3493. "requested version it will send the information in the highest version it has "
  3494. "support for instead."
  3495. msgstr ""
  3496. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3497. #: apt.conf.5.xml:1
  3498. msgid ""
  3499. "The file descriptor to be used to send the information can be requested with "
  3500. "<literal>DPkg::Tools::options::<replaceable>cmd</replaceable>::InfoFD</literal> "
  3501. "which defaults to <literal>0</literal> for standard input and is available "
  3502. "since version 0.9.11. Support for the option can be detected by looking for "
  3503. "the environment variable <envar>APT_HOOK_INFO_FD</envar> which contains the "
  3504. "number of the used file descriptor as a confirmation."
  3505. msgstr ""
  3506. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3507. #: apt.conf.5.xml:1
  3508. msgid ""
  3509. "APT chdirs to this directory before invoking &dpkg;, the default is "
  3510. "<filename>/</filename>."
  3511. msgstr ""
  3512. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3513. #: apt.conf.5.xml:1
  3514. msgid ""
  3515. "These options are passed to &dpkg-buildpackage; when compiling packages; the "
  3516. "default is to disable signing and produce all binaries."
  3517. msgstr ""
  3518. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3519. #: apt.conf.5.xml:1
  3520. msgid ""
  3521. "If this option is set APT will call <command>dpkg --configure "
  3522. "--pending</command> to let &dpkg; handle all required configurations and "
  3523. "triggers. This option is activated by default, but deactivating it could be "
  3524. "useful if you want to run APT multiple times in a row - e.g. in an "
  3525. "installer. In this scenario you could deactivate this option in all but the "
  3526. "last run."
  3527. msgstr ""
  3528. #. type: Content of: <refentry><refsect1><title>
  3529. #: apt.conf.5.xml:1
  3530. msgid "Periodic and Archives options"
  3531. msgstr ""
  3532. #. type: Content of: <refentry><refsect1><para>
  3533. #: apt.conf.5.xml:1
  3534. msgid ""
  3535. "<literal>APT::Periodic</literal> and <literal>APT::Archives</literal> groups "
  3536. "of options configure behavior of apt periodic updates, which is done by the "
  3537. "<literal>/usr/lib/apt/apt.systemd.daily</literal> script. See the top of "
  3538. "this script for the brief documentation of these options."
  3539. msgstr ""
  3540. #. type: Content of: <refentry><refsect1><title>
  3541. #: apt.conf.5.xml:1
  3542. msgid "Debug options"
  3543. msgstr ""
  3544. #. type: Content of: <refentry><refsect1><para>
  3545. #: apt.conf.5.xml:1
  3546. msgid ""
  3547. "Enabling options in the <literal>Debug::</literal> section will cause "
  3548. "debugging information to be sent to the standard error stream of the program "
  3549. "utilizing the <literal>apt</literal> libraries, or enable special program "
  3550. "modes that are primarily useful for debugging the behavior of "
  3551. "<literal>apt</literal>. Most of these options are not interesting to a "
  3552. "normal user, but a few may be:"
  3553. msgstr ""
  3554. #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
  3555. #: apt.conf.5.xml:1
  3556. msgid ""
  3557. "<literal>Debug::pkgProblemResolver</literal> enables output about the "
  3558. "decisions made by <literal>dist-upgrade, upgrade, install, remove, "
  3559. "purge</literal>."
  3560. msgstr ""
  3561. #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
  3562. #: apt.conf.5.xml:1
  3563. msgid ""
  3564. "<literal>Debug::NoLocking</literal> disables all file locking. This can be "
  3565. "used to run some operations (for instance, <literal>apt-get -s "
  3566. "install</literal>) as a non-root user."
  3567. msgstr ""
  3568. #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
  3569. #: apt.conf.5.xml:1
  3570. msgid ""
  3571. "<literal>Debug::pkgDPkgPM</literal> prints out the actual command line each "
  3572. "time that <literal>apt</literal> invokes &dpkg;."
  3573. msgstr ""
  3574. #. TODO: provide a
  3575. #. motivating example, except I haven't a clue why you'd want
  3576. #. to do this.
  3577. #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
  3578. #: apt.conf.5.xml:1
  3579. msgid ""
  3580. "<literal>Debug::IdentCdrom</literal> disables the inclusion of statfs data "
  3581. "in CD-ROM IDs."
  3582. msgstr ""
  3583. #. type: Content of: <refentry><refsect1><para>
  3584. #: apt.conf.5.xml:1
  3585. msgid "A full list of debugging options to apt follows."
  3586. msgstr ""
  3587. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3588. #: apt.conf.5.xml:1
  3589. msgid "Print information related to accessing <literal>cdrom://</literal> sources."
  3590. msgstr ""
  3591. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3592. #: apt.conf.5.xml:1
  3593. msgid "Print information related to downloading packages using FTP."
  3594. msgstr ""
  3595. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3596. #: apt.conf.5.xml:1
  3597. msgid "Print information related to downloading packages using HTTP."
  3598. msgstr ""
  3599. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3600. #: apt.conf.5.xml:1
  3601. msgid "Print information related to downloading packages using HTTPS."
  3602. msgstr ""
  3603. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3604. #: apt.conf.5.xml:1
  3605. msgid ""
  3606. "Print information related to verifying cryptographic signatures using "
  3607. "<literal>gpg</literal>."
  3608. msgstr ""
  3609. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3610. #: apt.conf.5.xml:1
  3611. msgid ""
  3612. "Output information about the process of accessing collections of packages "
  3613. "stored on CD-ROMs."
  3614. msgstr ""
  3615. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3616. #: apt.conf.5.xml:1
  3617. msgid "Describes the process of resolving build-dependencies in &apt-get;."
  3618. msgstr ""
  3619. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3620. #: apt.conf.5.xml:1
  3621. msgid ""
  3622. "Output each cryptographic hash that is generated by the "
  3623. "<literal>apt</literal> libraries."
  3624. msgstr ""
  3625. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3626. #: apt.conf.5.xml:1
  3627. msgid ""
  3628. "Do not include information from <literal>statfs</literal>, namely the number "
  3629. "of used and free blocks on the CD-ROM filesystem, when generating an ID for "
  3630. "a CD-ROM."
  3631. msgstr ""
  3632. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3633. #: apt.conf.5.xml:1
  3634. msgid ""
  3635. "Disable all file locking. For instance, this will allow two instances of "
  3636. "<quote><literal>apt-get update</literal></quote> to run at the same time."
  3637. msgstr ""
  3638. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3639. #: apt.conf.5.xml:1
  3640. msgid "Log when items are added to or removed from the global download queue."
  3641. msgstr ""
  3642. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3643. #: apt.conf.5.xml:1
  3644. msgid ""
  3645. "Output status messages and errors related to verifying checksums and "
  3646. "cryptographic signatures of downloaded files."
  3647. msgstr ""
  3648. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3649. #: apt.conf.5.xml:1
  3650. msgid ""
  3651. "Output information about downloading and applying package index list diffs, "
  3652. "and errors relating to package index list diffs."
  3653. msgstr ""
  3654. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3655. #: apt.conf.5.xml:1
  3656. msgid ""
  3657. "Output information related to patching apt package lists when downloading "
  3658. "index diffs instead of full indices."
  3659. msgstr ""
  3660. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3661. #: apt.conf.5.xml:1
  3662. msgid "Log all interactions with the sub-processes that actually perform downloads."
  3663. msgstr ""
  3664. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3665. #: apt.conf.5.xml:1
  3666. msgid ""
  3667. "Log events related to the automatically-installed status of packages and to "
  3668. "the removal of unused packages."
  3669. msgstr ""
  3670. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3671. #: apt.conf.5.xml:1
  3672. msgid ""
  3673. "Generate debug messages describing which packages are being automatically "
  3674. "installed to resolve dependencies. This corresponds to the initial "
  3675. "auto-install pass performed in, e.g., <literal>apt-get install</literal>, "
  3676. "and not to the full <literal>apt</literal> dependency resolver; see "
  3677. "<literal>Debug::pkgProblemResolver</literal> for that."
  3678. msgstr ""
  3679. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3680. #: apt.conf.5.xml:1
  3681. msgid ""
  3682. "Generate debug messages describing which packages are marked as "
  3683. "keep/install/remove while the ProblemResolver does his work. Each addition "
  3684. "or deletion may trigger additional actions; they are shown indented two "
  3685. "additional spaces under the original entry. The format for each line is "
  3686. "<literal>MarkKeep</literal>, <literal>MarkDelete</literal> or "
  3687. "<literal>MarkInstall</literal> followed by <literal>package-name &lt;a.b.c "
  3688. "-&gt; d.e.f | x.y.z&gt; (section)</literal> where <literal>a.b.c</literal> "
  3689. "is the current version of the package, <literal>d.e.f</literal> is the "
  3690. "version considered for installation and <literal>x.y.z</literal> is a newer "
  3691. "version, but not considered for installation (because of a low pin "
  3692. "score). The later two can be omitted if there is none or if it is the same "
  3693. "as the installed version. <literal>section</literal> is the name of the "
  3694. "section the package appears in."
  3695. msgstr ""
  3696. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3697. #: apt.conf.5.xml:1
  3698. msgid ""
  3699. "When invoking &dpkg;, output the precise command line with which it is being "
  3700. "invoked, with arguments separated by a single space character."
  3701. msgstr ""
  3702. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3703. #: apt.conf.5.xml:1
  3704. msgid ""
  3705. "Output all the data received from &dpkg; on the status file descriptor and "
  3706. "any errors encountered while parsing it."
  3707. msgstr ""
  3708. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3709. #: apt.conf.5.xml:1
  3710. msgid ""
  3711. "Generate a trace of the algorithm that decides the order in which "
  3712. "<literal>apt</literal> should pass packages to &dpkg;."
  3713. msgstr ""
  3714. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3715. #: apt.conf.5.xml:1
  3716. msgid "Output status messages tracing the steps performed when invoking &dpkg;."
  3717. msgstr ""
  3718. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3719. #: apt.conf.5.xml:1
  3720. msgid "Output the priority of each package list on startup."
  3721. msgstr ""
  3722. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3723. #: apt.conf.5.xml:1
  3724. msgid ""
  3725. "Trace the execution of the dependency resolver (this applies only to what "
  3726. "happens when a complex dependency problem is encountered)."
  3727. msgstr ""
  3728. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3729. #: apt.conf.5.xml:1
  3730. msgid ""
  3731. "Display a list of all installed packages with their calculated score used by "
  3732. "the pkgProblemResolver. The description of the package is the same as "
  3733. "described in <literal>Debug::pkgDepCache::Marker</literal>"
  3734. msgstr ""
  3735. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3736. #: apt.conf.5.xml:1
  3737. msgid ""
  3738. "Print information about the vendors read from "
  3739. "<filename>/etc/apt/vendors.list</filename>."
  3740. msgstr ""
  3741. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3742. #: apt.conf.5.xml:1
  3743. msgid ""
  3744. "Display the external commands that are called by apt hooks. This includes "
  3745. "e.g. the config options <literal>DPkg::{Pre,Post}-Invoke</literal> or "
  3746. "<literal>APT::Update::{Pre,Post}-Invoke</literal>."
  3747. msgstr ""
  3748. #. type: Content of: <refentry><refsect1><title>
  3749. #: apt.conf.5.xml:1 apt_preferences.5.xml:1 sources.list.5.xml:1
  3750. #: apt-ftparchive.1.xml:1
  3751. msgid "Examples"
  3752. msgstr ""
  3753. #. type: Content of: <refentry><refsect1><para>
  3754. #: apt.conf.5.xml:1
  3755. msgid ""
  3756. "&configureindex; is a configuration file showing example values for all "
  3757. "possible options."
  3758. msgstr ""
  3759. #. ? reading apt.conf
  3760. #. type: Content of: <refentry><refsect1><para>
  3761. #: apt.conf.5.xml:1
  3762. msgid "&apt-cache;, &apt-config;, &apt-preferences;."
  3763. msgstr ""
  3764. #. type: Content of: <refentry><refnamediv><refpurpose>
  3765. #: apt_preferences.5.xml:1
  3766. msgid "Preference control file for APT"
  3767. msgstr ""
  3768. #. type: Content of: <refentry><refsect1><para>
  3769. #: apt_preferences.5.xml:1
  3770. msgid ""
  3771. "The APT preferences file <filename>/etc/apt/preferences</filename> and the "
  3772. "fragment files in the <filename>/etc/apt/preferences.d/</filename> folder "
  3773. "can be used to control which versions of packages will be selected for "
  3774. "installation."
  3775. msgstr ""
  3776. #. type: Content of: <refentry><refsect1><para>
  3777. #: apt_preferences.5.xml:1
  3778. msgid ""
  3779. "Several versions of a package may be available for installation when the "
  3780. "&sources-list; file contains references to more than one distribution (for "
  3781. "example, <literal>stable</literal> and <literal>testing</literal>). APT "
  3782. "assigns a priority to each version that is available. Subject to dependency "
  3783. "constraints, <command>apt-get</command> selects the version with the highest "
  3784. "priority for installation. The APT preferences override the priorities that "
  3785. "APT assigns to package versions by default, thus giving the user control "
  3786. "over which one is selected for installation."
  3787. msgstr ""
  3788. #. type: Content of: <refentry><refsect1><para>
  3789. #: apt_preferences.5.xml:1
  3790. msgid ""
  3791. "Several instances of the same version of a package may be available when the "
  3792. "&sources-list; file contains references to more than one source. In this "
  3793. "case <command>apt-get</command> downloads the instance listed earliest in "
  3794. "the &sources-list; file. The APT preferences do not affect the choice of "
  3795. "instance, only the choice of version."
  3796. msgstr ""
  3797. #. type: Content of: <refentry><refsect1><para>
  3798. #: apt_preferences.5.xml:1
  3799. msgid ""
  3800. "Preferences are a strong power in the hands of a system administrator but "
  3801. "they can become also their biggest nightmare if used without care! APT will "
  3802. "not question the preferences, so wrong settings can lead to uninstallable "
  3803. "packages or wrong decisions while upgrading packages. Even more problems "
  3804. "will arise if multiple distribution releases are mixed without a good "
  3805. "understanding of the following paragraphs. Packages included in a specific "
  3806. "release aren't tested in (and therefore don't always work as expected in) "
  3807. "older or newer releases, or together with other packages from different "
  3808. "releases. You have been warned."
  3809. msgstr ""
  3810. #. type: Content of: <refentry><refsect1><para>
  3811. #: apt_preferences.5.xml:1
  3812. msgid ""
  3813. "Note that the files in the <filename>/etc/apt/preferences.d</filename> "
  3814. "directory are parsed in alphanumeric ascending order and need to obey the "
  3815. "following naming convention: The files have either no or "
  3816. "\"<literal>pref</literal>\" as filename extension and only contain "
  3817. "alphanumeric, hyphen (-), underscore (_) and period (.) characters. "
  3818. "Otherwise APT will print a notice that it has ignored a file, unless that "
  3819. "file matches a pattern in the <literal>Dir::Ignore-Files-Silently</literal> "
  3820. "configuration list - in which case it will be silently ignored."
  3821. msgstr ""
  3822. #. type: Content of: <refentry><refsect1><refsect2><title>
  3823. #: apt_preferences.5.xml:1
  3824. msgid "APT's Default Priority Assignments"
  3825. msgstr ""
  3826. #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
  3827. #: apt_preferences.5.xml:1
  3828. #, no-wrap
  3829. msgid ""
  3830. "<command>apt-get install -t testing "
  3831. "<replaceable>some-package</replaceable></command>\n"
  3832. msgstr ""
  3833. #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
  3834. #: apt_preferences.5.xml:1
  3835. #, no-wrap
  3836. msgid "APT::Default-Release \"stable\";\n"
  3837. msgstr ""
  3838. #. type: Content of: <refentry><refsect1><refsect2><para>
  3839. #: apt_preferences.5.xml:1
  3840. msgid ""
  3841. "If there is no preferences file or if there is no entry in the file that "
  3842. "applies to a particular version then the priority assigned to that version "
  3843. "is the priority of the distribution to which that version belongs. It is "
  3844. "possible to single out a distribution, \"the target release\", which "
  3845. "receives a higher priority than other distributions do by default. The "
  3846. "target release can be set on the <command>apt-get</command> command line or "
  3847. "in the APT configuration file <filename>/etc/apt/apt.conf</filename>. Note "
  3848. "that this has precedence over any general priority you set in the "
  3849. "<filename>/etc/apt/preferences</filename> file described later, but not over "
  3850. "specifically pinned packages. For example, <placeholder "
  3851. "type=\"programlisting\" id=\"0\"/> <placeholder type=\"programlisting\" "
  3852. "id=\"1\"/>"
  3853. msgstr ""
  3854. #. type: Content of: <refentry><refsect1><refsect2><para>
  3855. #: apt_preferences.5.xml:1
  3856. msgid ""
  3857. "If the target release has been specified then APT uses the following "
  3858. "algorithm to set the priorities of the versions of a package. Assign:"
  3859. msgstr ""
  3860. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
  3861. #: apt_preferences.5.xml:1
  3862. msgid "priority 1"
  3863. msgstr ""
  3864. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
  3865. #: apt_preferences.5.xml:1
  3866. msgid ""
  3867. "to the versions coming from archives which in their "
  3868. "<filename>Release</filename> files are marked as \"NotAutomatic: yes\" but "
  3869. "<emphasis>not</emphasis> as \"ButAutomaticUpgrades: yes\" like the Debian "
  3870. "<literal>experimental</literal> archive."
  3871. msgstr ""
  3872. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
  3873. #: apt_preferences.5.xml:1
  3874. msgid "priority 100"
  3875. msgstr ""
  3876. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
  3877. #: apt_preferences.5.xml:1
  3878. msgid ""
  3879. "to the version that is already installed (if any) and to the versions coming "
  3880. "from archives which in their <filename>Release</filename> files are marked "
  3881. "as \"NotAutomatic: yes\" and \"ButAutomaticUpgrades: yes\" like the Debian "
  3882. "backports archive since <literal>squeeze-backports</literal>."
  3883. msgstr ""
  3884. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
  3885. #: apt_preferences.5.xml:1
  3886. msgid "priority 500"
  3887. msgstr ""
  3888. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
  3889. #: apt_preferences.5.xml:1
  3890. msgid "to the versions that do not belong to the target release."
  3891. msgstr ""
  3892. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
  3893. #: apt_preferences.5.xml:1
  3894. msgid "priority 990"
  3895. msgstr ""
  3896. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
  3897. #: apt_preferences.5.xml:1
  3898. msgid "to the versions that belong to the target release."
  3899. msgstr ""
  3900. #. type: Content of: <refentry><refsect1><refsect2><para>
  3901. #: apt_preferences.5.xml:1
  3902. msgid ""
  3903. "The highest of those priorities whose description matches the version is "
  3904. "assigned to the version."
  3905. msgstr ""
  3906. #. type: Content of: <refentry><refsect1><refsect2><para>
  3907. #: apt_preferences.5.xml:1
  3908. msgid ""
  3909. "If the target release has not been specified then APT simply assigns "
  3910. "priority 100 to all installed package versions and priority 500 to all "
  3911. "uninstalled package versions, except versions coming from archives which in "
  3912. "their <filename>Release</filename> files are marked as \"NotAutomatic: yes\" "
  3913. "- these versions get the priority 1 or priority 100 if it is additionally "
  3914. "marked as \"ButAutomaticUpgrades: yes\"."
  3915. msgstr ""
  3916. #. type: Content of: <refentry><refsect1><refsect2><para>
  3917. #: apt_preferences.5.xml:1
  3918. msgid ""
  3919. "APT then applies the following rules, listed in order of precedence, to "
  3920. "determine which version of a package to install."
  3921. msgstr ""
  3922. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
  3923. #: apt_preferences.5.xml:1
  3924. msgid ""
  3925. "Never downgrade unless the priority of an available version exceeds 1000. "
  3926. "(\"Downgrading\" is installing a less recent version of a package in place "
  3927. "of a more recent version. Note that none of APT's default priorities "
  3928. "exceeds 1000; such high priorities can only be set in the preferences file. "
  3929. "Note also that downgrading a package can be risky.)"
  3930. msgstr ""
  3931. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
  3932. #: apt_preferences.5.xml:1
  3933. msgid "Install the highest priority version."
  3934. msgstr ""
  3935. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
  3936. #: apt_preferences.5.xml:1
  3937. msgid ""
  3938. "If two or more versions have the same priority, install the most recent one "
  3939. "(that is, the one with the higher version number)."
  3940. msgstr ""
  3941. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
  3942. #: apt_preferences.5.xml:1
  3943. msgid ""
  3944. "If two or more versions have the same priority and version number but either "
  3945. "the packages differ in some of their metadata or the "
  3946. "<literal>--reinstall</literal> option is given, install the uninstalled one."
  3947. msgstr ""
  3948. #. type: Content of: <refentry><refsect1><refsect2><para>
  3949. #: apt_preferences.5.xml:1
  3950. msgid ""
  3951. "In a typical situation, the installed version of a package (priority 100) "
  3952. "is not as recent as one of the versions available from the sources listed in "
  3953. "the &sources-list; file (priority 500 or 990). Then the package will be "
  3954. "upgraded when <command>apt-get install "
  3955. "<replaceable>some-package</replaceable></command> or <command>apt-get "
  3956. "upgrade</command> is executed."
  3957. msgstr ""
  3958. #. type: Content of: <refentry><refsect1><refsect2><para>
  3959. #: apt_preferences.5.xml:1
  3960. msgid ""
  3961. "More rarely, the installed version of a package is <emphasis>more</emphasis> "
  3962. "recent than any of the other available versions. The package will not be "
  3963. "downgraded when <command>apt-get install "
  3964. "<replaceable>some-package</replaceable></command> or <command>apt-get "
  3965. "upgrade</command> is executed."
  3966. msgstr ""
  3967. #. type: Content of: <refentry><refsect1><refsect2><para>
  3968. #: apt_preferences.5.xml:1
  3969. msgid ""
  3970. "Sometimes the installed version of a package is more recent than the version "
  3971. "belonging to the target release, but not as recent as a version belonging to "
  3972. "some other distribution. Such a package will indeed be upgraded when "
  3973. "<command>apt-get install <replaceable>some-package</replaceable></command> "
  3974. "or <command>apt-get upgrade</command> is executed, because at least "
  3975. "<emphasis>one</emphasis> of the available versions has a higher priority "
  3976. "than the installed version."
  3977. msgstr ""
  3978. #. type: Content of: <refentry><refsect1><refsect2><title>
  3979. #: apt_preferences.5.xml:1
  3980. msgid "The Effect of APT Preferences"
  3981. msgstr ""
  3982. #. type: Content of: <refentry><refsect1><refsect2><para>
  3983. #: apt_preferences.5.xml:1
  3984. msgid ""
  3985. "The APT preferences file allows the system administrator to control the "
  3986. "assignment of priorities. The file consists of one or more multi-line "
  3987. "records separated by blank lines. Records can have one of two forms, a "
  3988. "specific form and a general form."
  3989. msgstr ""
  3990. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
  3991. #: apt_preferences.5.xml:1
  3992. msgid ""
  3993. "The specific form assigns a priority (a \"Pin-Priority\") to one or more "
  3994. "specified packages with a specified version or version range. For example, "
  3995. "the following record assigns a high priority to all versions of the "
  3996. "<filename>perl</filename> package whose version number begins with "
  3997. "\"<literal>&good-perl;</literal>\". Multiple packages can be separated by "
  3998. "spaces."
  3999. msgstr ""
  4000. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
  4001. #: apt_preferences.5.xml:1
  4002. #, no-wrap
  4003. msgid ""
  4004. "Package: perl\n"
  4005. "Pin: version &good-perl;*\n"
  4006. "Pin-Priority: 1001\n"
  4007. msgstr ""
  4008. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
  4009. #: apt_preferences.5.xml:1
  4010. msgid ""
  4011. "The general form assigns a priority to all of the package versions in a "
  4012. "given distribution (that is, to all the versions of packages that are listed "
  4013. "in a certain <filename>Release</filename> file) or to all of the package "
  4014. "versions coming from a particular Internet site, as identified by the site's "
  4015. "fully qualified domain name."
  4016. msgstr ""
  4017. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
  4018. #: apt_preferences.5.xml:1
  4019. msgid ""
  4020. "This general-form entry in the APT preferences file applies only to groups "
  4021. "of packages. For example, the following record assigns a high priority to "
  4022. "all package versions available from the local site."
  4023. msgstr ""
  4024. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
  4025. #: apt_preferences.5.xml:1
  4026. #, no-wrap
  4027. msgid ""
  4028. "Package: *\n"
  4029. "Pin: origin \"\"\n"
  4030. "Pin-Priority: 999\n"
  4031. msgstr ""
  4032. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
  4033. #: apt_preferences.5.xml:1
  4034. msgid ""
  4035. "A note of caution: the keyword used here is \"<literal>origin</literal>\" "
  4036. "which can be used to match a hostname. The following record will assign a "
  4037. "high priority to all versions available from the server identified by the "
  4038. "hostname \"ftp.de.debian.org\""
  4039. msgstr ""
  4040. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
  4041. #: apt_preferences.5.xml:1
  4042. #, no-wrap
  4043. msgid ""
  4044. "Package: *\n"
  4045. "Pin: origin \"ftp.de.debian.org\"\n"
  4046. "Pin-Priority: 999\n"
  4047. msgstr ""
  4048. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
  4049. #: apt_preferences.5.xml:1
  4050. msgid ""
  4051. "This should <emphasis>not</emphasis> be confused with the Origin of a "
  4052. "distribution as specified in a <filename>Release</filename> file. What "
  4053. "follows the \"Origin:\" tag in a <filename>Release</filename> file is not an "
  4054. "Internet address but an author or vendor name, such as \"Debian\" or "
  4055. "\"Ximian\"."
  4056. msgstr ""
  4057. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
  4058. #: apt_preferences.5.xml:1
  4059. msgid ""
  4060. "The following record assigns a low priority to all package versions "
  4061. "belonging to any distribution whose Archive name is "
  4062. "\"<literal>unstable</literal>\"."
  4063. msgstr ""
  4064. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
  4065. #: apt_preferences.5.xml:1
  4066. #, no-wrap
  4067. msgid ""
  4068. "Package: *\n"
  4069. "Pin: release a=unstable\n"
  4070. "Pin-Priority: 50\n"
  4071. msgstr ""
  4072. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
  4073. #: apt_preferences.5.xml:1
  4074. msgid ""
  4075. "The following record assigns a high priority to all package versions "
  4076. "belonging to any distribution whose Codename is "
  4077. "\"<literal>&debian-testing-codename;</literal>\"."
  4078. msgstr ""
  4079. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
  4080. #: apt_preferences.5.xml:1
  4081. #, no-wrap
  4082. msgid ""
  4083. "Package: *\n"
  4084. "Pin: release n=&debian-testing-codename;\n"
  4085. "Pin-Priority: 900\n"
  4086. msgstr ""
  4087. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
  4088. #: apt_preferences.5.xml:1
  4089. msgid ""
  4090. "The following record assigns a high priority to all package versions "
  4091. "belonging to any release whose Archive name is \"<literal>stable</literal>\" "
  4092. "and whose release Version number is "
  4093. "\"<literal>&debian-stable-version;</literal>\"."
  4094. msgstr ""
  4095. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
  4096. #: apt_preferences.5.xml:1
  4097. #, no-wrap
  4098. msgid ""
  4099. "Package: *\n"
  4100. "Pin: release a=stable, v=&debian-stable-version;\n"
  4101. "Pin-Priority: 500\n"
  4102. msgstr ""
  4103. #. type: Content of: <refentry><refsect1><refsect2><para>
  4104. #: apt_preferences.5.xml:1
  4105. msgid ""
  4106. "The effect of the comma operator is similar to an \"and\" in logic: All "
  4107. "conditions must be satisfied for the pin to match. There is one exception: "
  4108. "For any type of condition (such as two \"a\" conditions), only the last such "
  4109. "condition is checked."
  4110. msgstr ""
  4111. #. type: Content of: <refentry><refsect1><refsect2><title>
  4112. #: apt_preferences.5.xml:1
  4113. msgid "Regular expressions and &glob; syntax"
  4114. msgstr ""
  4115. #. type: Content of: <refentry><refsect1><refsect2><para>
  4116. #: apt_preferences.5.xml:1
  4117. msgid ""
  4118. "APT also supports pinning by &glob; expressions, and regular expressions "
  4119. "surrounded by slashes. For example, the following example assigns the "
  4120. "priority 500 to all packages from experimental where the name starts with "
  4121. "gnome (as a &glob;-like expression) or contains the word kde (as a POSIX "
  4122. "extended regular expression surrounded by slashes)."
  4123. msgstr ""
  4124. #. type: Content of: <refentry><refsect1><refsect2><programlisting>
  4125. #: apt_preferences.5.xml:1
  4126. #, no-wrap
  4127. msgid ""
  4128. "Package: gnome* /kde/\n"
  4129. "Pin: release a=experimental\n"
  4130. "Pin-Priority: 500\n"
  4131. msgstr ""
  4132. #. type: Content of: <refentry><refsect1><refsect2><para>
  4133. #: apt_preferences.5.xml:1
  4134. msgid ""
  4135. "The rule for those expressions is that they can occur anywhere where a "
  4136. "string can occur. Thus, the following pin assigns the priority 990 to all "
  4137. "packages from a release starting with &ubuntu-codename;."
  4138. msgstr ""
  4139. #. type: Content of: <refentry><refsect1><refsect2><programlisting>
  4140. #: apt_preferences.5.xml:1
  4141. #, no-wrap
  4142. msgid ""
  4143. "Package: *\n"
  4144. "Pin: release n=&ubuntu-codename;*\n"
  4145. "Pin-Priority: 990\n"
  4146. msgstr ""
  4147. #. type: Content of: <refentry><refsect1><refsect2><para>
  4148. #: apt_preferences.5.xml:1
  4149. msgid ""
  4150. "If a regular expression occurs in a <literal>Package</literal> field, the "
  4151. "behavior is the same as if this regular expression were replaced with a list "
  4152. "of all package names it matches. It is undecided whether this will change in "
  4153. "the future; thus you should always list wild-card pins first, so later "
  4154. "specific pins override it. The pattern \"<literal>*</literal>\" in a "
  4155. "Package field is not considered a &glob; expression in itself."
  4156. msgstr ""
  4157. #. type: Content of: <refentry><refsect1><refsect2><title>
  4158. #: apt_preferences.5.xml:1
  4159. msgid "How APT Interprets Priorities"
  4160. msgstr ""
  4161. #. type: Content of: <refentry><refsect1><refsect2><para>
  4162. #: apt_preferences.5.xml:1
  4163. msgid ""
  4164. "Priorities (P) assigned in the APT preferences file must be positive or "
  4165. "negative integers. They are interpreted as follows (roughly speaking):"
  4166. msgstr ""
  4167. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
  4168. #: apt_preferences.5.xml:1
  4169. msgid "P &gt;= 1000"
  4170. msgstr ""
  4171. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
  4172. #: apt_preferences.5.xml:1
  4173. msgid ""
  4174. "causes a version to be installed even if this constitutes a downgrade of the "
  4175. "package"
  4176. msgstr ""
  4177. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
  4178. #: apt_preferences.5.xml:1
  4179. msgid "990 &lt;= P &lt; 1000"
  4180. msgstr ""
  4181. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
  4182. #: apt_preferences.5.xml:1
  4183. msgid ""
  4184. "causes a version to be installed even if it does not come from the target "
  4185. "release, unless the installed version is more recent"
  4186. msgstr ""
  4187. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
  4188. #: apt_preferences.5.xml:1
  4189. msgid "500 &lt;= P &lt; 990"
  4190. msgstr ""
  4191. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
  4192. #: apt_preferences.5.xml:1
  4193. msgid ""
  4194. "causes a version to be installed unless there is a version available "
  4195. "belonging to the target release or the installed version is more recent"
  4196. msgstr ""
  4197. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
  4198. #: apt_preferences.5.xml:1
  4199. msgid "100 &lt;= P &lt; 500"
  4200. msgstr ""
  4201. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
  4202. #: apt_preferences.5.xml:1
  4203. msgid ""
  4204. "causes a version to be installed unless there is a version available "
  4205. "belonging to some other distribution or the installed version is more recent"
  4206. msgstr ""
  4207. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
  4208. #: apt_preferences.5.xml:1
  4209. msgid "0 &lt; P &lt; 100"
  4210. msgstr ""
  4211. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
  4212. #: apt_preferences.5.xml:1
  4213. msgid ""
  4214. "causes a version to be installed only if there is no installed version of "
  4215. "the package"
  4216. msgstr ""
  4217. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
  4218. #: apt_preferences.5.xml:1
  4219. msgid "P &lt; 0"
  4220. msgstr ""
  4221. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
  4222. #: apt_preferences.5.xml:1
  4223. msgid "prevents the version from being installed"
  4224. msgstr ""
  4225. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
  4226. #: apt_preferences.5.xml:1
  4227. msgid "P = 0"
  4228. msgstr ""
  4229. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
  4230. #: apt_preferences.5.xml:1
  4231. msgid "has undefined behaviour, do not use it."
  4232. msgstr ""
  4233. #. type: Content of: <refentry><refsect1><refsect2><para>
  4234. #: apt_preferences.5.xml:1
  4235. msgid ""
  4236. "The first specific-form record matching an available package version "
  4237. "determines the priority of the package version. Failing that, the priority "
  4238. "of the package is defined as the maximum of all priorities defined by "
  4239. "generic-form records matching the version. Records defined using patterns "
  4240. "in the Pin field other than \"*\" are treated like specific-form records."
  4241. msgstr ""
  4242. #. type: Content of: <refentry><refsect1><refsect2><para>
  4243. #: apt_preferences.5.xml:1
  4244. msgid ""
  4245. "For example, suppose the APT preferences file contains the three records "
  4246. "presented earlier:"
  4247. msgstr ""
  4248. #. type: Content of: <refentry><refsect1><refsect2><programlisting>
  4249. #: apt_preferences.5.xml:1
  4250. #, no-wrap
  4251. msgid ""
  4252. "Package: perl\n"
  4253. "Pin: version &good-perl;*\n"
  4254. "Pin-Priority: 1001\n"
  4255. "\n"
  4256. "Package: *\n"
  4257. "Pin: origin \"\"\n"
  4258. "Pin-Priority: 999\n"
  4259. "\n"
  4260. "Package: *\n"
  4261. "Pin: release unstable\n"
  4262. "Pin-Priority: 50\n"
  4263. msgstr ""
  4264. #. type: Content of: <refentry><refsect1><refsect2><para>
  4265. #: apt_preferences.5.xml:1
  4266. msgid "Then:"
  4267. msgstr ""
  4268. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
  4269. #: apt_preferences.5.xml:1
  4270. msgid ""
  4271. "The most recent available version of the <literal>perl</literal> package "
  4272. "will be installed, so long as that version's version number begins with "
  4273. "\"<literal>&good-perl;</literal>\". If <emphasis>any</emphasis> "
  4274. "&good-perl;* version of <literal>perl</literal> is available and the "
  4275. "installed version is &bad-perl;*, then <literal>perl</literal> will be "
  4276. "downgraded."
  4277. msgstr ""
  4278. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
  4279. #: apt_preferences.5.xml:1
  4280. msgid ""
  4281. "A version of any package other than <literal>perl</literal> that is "
  4282. "available from the local system has priority over other versions, even "
  4283. "versions belonging to the target release."
  4284. msgstr ""
  4285. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
  4286. #: apt_preferences.5.xml:1
  4287. msgid ""
  4288. "A version of a package whose origin is not the local system but some other "
  4289. "site listed in &sources-list; and which belongs to an "
  4290. "<literal>unstable</literal> distribution is only installed if it is selected "
  4291. "for installation and no version of the package is already installed."
  4292. msgstr ""
  4293. #. type: Content of: <refentry><refsect1><refsect2><title>
  4294. #: apt_preferences.5.xml:1
  4295. msgid "Determination of Package Version and Distribution Properties"
  4296. msgstr ""
  4297. #. type: Content of: <refentry><refsect1><refsect2><para>
  4298. #: apt_preferences.5.xml:1
  4299. msgid ""
  4300. "The locations listed in the &sources-list; file should provide "
  4301. "<filename>Packages</filename> and <filename>Release</filename> files to "
  4302. "describe the packages available at that location."
  4303. msgstr ""
  4304. #. type: Content of: <refentry><refsect1><refsect2><para>
  4305. #: apt_preferences.5.xml:1
  4306. msgid ""
  4307. "The <filename>Packages</filename> file is normally found in the directory "
  4308. "<filename>.../dists/<replaceable>dist-name</replaceable>/<replaceable>component</replaceable>/<replaceable>arch</replaceable></filename>: "
  4309. "for example, "
  4310. "<filename>.../dists/stable/main/binary-i386/Packages</filename>. It "
  4311. "consists of a series of multi-line records, one for each package available "
  4312. "in that directory. Only two lines in each record are relevant for setting "
  4313. "APT priorities:"
  4314. msgstr ""
  4315. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
  4316. #: apt_preferences.5.xml:1
  4317. msgid "the <literal>Package:</literal> line"
  4318. msgstr ""
  4319. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
  4320. #: apt_preferences.5.xml:1
  4321. msgid "gives the package name"
  4322. msgstr ""
  4323. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
  4324. #: apt_preferences.5.xml:1 apt_preferences.5.xml:1
  4325. msgid "the <literal>Version:</literal> line"
  4326. msgstr ""
  4327. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
  4328. #: apt_preferences.5.xml:1
  4329. msgid "gives the version number for the named package"
  4330. msgstr ""
  4331. #. type: Content of: <refentry><refsect1><refsect2><para>
  4332. #: apt_preferences.5.xml:1
  4333. msgid ""
  4334. "The <filename>Release</filename> file is normally found in the directory "
  4335. "<filename>.../dists/<replaceable>dist-name</replaceable></filename>: for "
  4336. "example, <filename>.../dists/stable/Release</filename>, or "
  4337. "<filename>.../dists/&debian-stable-codename;/Release</filename>. It "
  4338. "consists of a single multi-line record which applies to "
  4339. "<emphasis>all</emphasis> of the packages in the directory tree below its "
  4340. "parent. Unlike the <filename>Packages</filename> file, nearly all of the "
  4341. "lines in a <filename>Release</filename> file are relevant for setting APT "
  4342. "priorities:"
  4343. msgstr ""
  4344. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
  4345. #: apt_preferences.5.xml:1
  4346. msgid "the <literal>Archive:</literal> or <literal>Suite:</literal> line"
  4347. msgstr ""
  4348. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
  4349. #: apt_preferences.5.xml:1
  4350. msgid ""
  4351. "names the archive to which all the packages in the directory tree belong. "
  4352. "For example, the line \"Archive: stable\" or \"Suite: stable\" specifies "
  4353. "that all of the packages in the directory tree below the parent of the "
  4354. "<filename>Release</filename> file are in a <literal>stable</literal> "
  4355. "archive. Specifying this value in the APT preferences file would require "
  4356. "the line:"
  4357. msgstr ""
  4358. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
  4359. #: apt_preferences.5.xml:1
  4360. #, no-wrap
  4361. msgid "Pin: release a=stable\n"
  4362. msgstr ""
  4363. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
  4364. #: apt_preferences.5.xml:1
  4365. msgid "the <literal>Codename:</literal> line"
  4366. msgstr ""
  4367. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
  4368. #: apt_preferences.5.xml:1
  4369. msgid ""
  4370. "names the codename to which all the packages in the directory tree belong. "
  4371. "For example, the line \"Codename: &debian-testing-codename;\" specifies that "
  4372. "all of the packages in the directory tree below the parent of the "
  4373. "<filename>Release</filename> file belong to a version named "
  4374. "<literal>&debian-testing-codename;</literal>. Specifying this value in the "
  4375. "APT preferences file would require the line:"
  4376. msgstr ""
  4377. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
  4378. #: apt_preferences.5.xml:1
  4379. #, no-wrap
  4380. msgid "Pin: release n=&debian-testing-codename;\n"
  4381. msgstr ""
  4382. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
  4383. #: apt_preferences.5.xml:1
  4384. msgid ""
  4385. "names the release version. For example, the packages in the tree might "
  4386. "belong to Debian release version &debian-stable-version;. Note that there "
  4387. "is normally no version number for the <literal>testing</literal> and "
  4388. "<literal>unstable</literal> distributions because they have not been "
  4389. "released yet. Specifying this in the APT preferences file would require one "
  4390. "of the following lines."
  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 ""
  4396. "Pin: release v=&debian-stable-version;\n"
  4397. "Pin: release a=stable, v=&debian-stable-version;\n"
  4398. "Pin: release &debian-stable-version;\n"
  4399. msgstr ""
  4400. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
  4401. #: apt_preferences.5.xml:1
  4402. msgid "the <literal>Component:</literal> line"
  4403. msgstr ""
  4404. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
  4405. #: apt_preferences.5.xml:1
  4406. msgid ""
  4407. "names the licensing component associated with the packages in the directory "
  4408. "tree of the <filename>Release</filename> file. For example, the line "
  4409. "\"Component: main\" specifies that all the packages in the directory tree "
  4410. "are from the <literal>main</literal> component, which entails that they are "
  4411. "licensed under terms listed in the Debian Free Software Guidelines. "
  4412. "Specifying this component in the APT preferences file would require the "
  4413. "line:"
  4414. msgstr ""
  4415. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
  4416. #: apt_preferences.5.xml:1
  4417. #, no-wrap
  4418. msgid "Pin: release c=main\n"
  4419. msgstr ""
  4420. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
  4421. #: apt_preferences.5.xml:1
  4422. msgid "the <literal>Origin:</literal> line"
  4423. msgstr ""
  4424. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
  4425. #: apt_preferences.5.xml:1
  4426. msgid ""
  4427. "names the originator of the packages in the directory tree of the "
  4428. "<filename>Release</filename> file. Most commonly, this is "
  4429. "<literal>Debian</literal>. Specifying this origin in the APT preferences "
  4430. "file would require the line:"
  4431. msgstr ""
  4432. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
  4433. #: apt_preferences.5.xml:1
  4434. #, no-wrap
  4435. msgid "Pin: release o=Debian\n"
  4436. msgstr ""
  4437. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
  4438. #: apt_preferences.5.xml:1
  4439. msgid "the <literal>Label:</literal> line"
  4440. msgstr ""
  4441. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
  4442. #: apt_preferences.5.xml:1
  4443. msgid ""
  4444. "names the label of the packages in the directory tree of the "
  4445. "<filename>Release</filename> file. Most commonly, this is "
  4446. "<literal>Debian</literal>. Specifying this label in the APT preferences "
  4447. "file would require the line:"
  4448. msgstr ""
  4449. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
  4450. #: apt_preferences.5.xml:1
  4451. #, no-wrap
  4452. msgid "Pin: release l=Debian\n"
  4453. msgstr ""
  4454. #. type: Content of: <refentry><refsect1><refsect2><para>
  4455. #: apt_preferences.5.xml:1
  4456. msgid ""
  4457. "All of the <filename>Packages</filename> and <filename>Release</filename> "
  4458. "files retrieved from locations listed in the &sources-list; file are stored "
  4459. "in the directory <filename>/var/lib/apt/lists</filename>, or in the file "
  4460. "named by the variable <literal>Dir::State::Lists</literal> in the "
  4461. "<filename>apt.conf</filename> file. For example, the file "
  4462. "<filename>debian.lcs.mit.edu_debian_dists_unstable_contrib_binary-i386_Release</filename> "
  4463. "contains the <filename>Release</filename> file retrieved from the site "
  4464. "<literal>debian.lcs.mit.edu</literal> for <literal>binary-i386</literal> "
  4465. "architecture files from the <literal>contrib</literal> component of the "
  4466. "<literal>unstable</literal> distribution."
  4467. msgstr ""
  4468. #. type: Content of: <refentry><refsect1><refsect2><title>
  4469. #: apt_preferences.5.xml:1
  4470. msgid "Optional Lines in an APT Preferences Record"
  4471. msgstr ""
  4472. #. type: Content of: <refentry><refsect1><refsect2><para>
  4473. #: apt_preferences.5.xml:1
  4474. msgid ""
  4475. "Each record in the APT preferences file can optionally begin with one or "
  4476. "more lines beginning with the word <literal>Explanation:</literal>. This "
  4477. "provides a place for comments."
  4478. msgstr ""
  4479. #. type: Content of: <refentry><refsect1><refsect2><title>
  4480. #: apt_preferences.5.xml:1
  4481. msgid "Tracking Stable"
  4482. msgstr ""
  4483. #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
  4484. #: apt_preferences.5.xml:1
  4485. #, no-wrap
  4486. msgid ""
  4487. "Explanation: Uninstall or do not install any Debian-originated\n"
  4488. "Explanation: package versions other than those in the stable distro\n"
  4489. "Package: *\n"
  4490. "Pin: release a=stable\n"
  4491. "Pin-Priority: 900\n"
  4492. "\n"
  4493. "Package: *\n"
  4494. "Pin: release o=Debian\n"
  4495. "Pin-Priority: -10\n"
  4496. msgstr ""
  4497. #. type: Content of: <refentry><refsect1><refsect2><para>
  4498. #: apt_preferences.5.xml:1
  4499. msgid ""
  4500. "The following APT preferences file will cause APT to assign a priority "
  4501. "higher than the default (500) to all package versions belonging to a "
  4502. "<literal>stable</literal> distribution and a prohibitively low priority to "
  4503. "package versions belonging to other <literal>Debian</literal> "
  4504. "distributions. <placeholder type=\"programlisting\" id=\"0\"/>"
  4505. msgstr ""
  4506. #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
  4507. #: apt_preferences.5.xml:1 apt_preferences.5.xml:1 apt_preferences.5.xml:1
  4508. #, no-wrap
  4509. msgid ""
  4510. "apt-get install <replaceable>package-name</replaceable>\n"
  4511. "apt-get upgrade\n"
  4512. "apt-get dist-upgrade\n"
  4513. msgstr ""
  4514. #. type: Content of: <refentry><refsect1><refsect2><para>
  4515. #: apt_preferences.5.xml:1
  4516. msgid ""
  4517. "With a suitable &sources-list; file and the above preferences file, any of "
  4518. "the following commands will cause APT to upgrade to the latest "
  4519. "<literal>stable</literal> version(s). <placeholder type=\"programlisting\" "
  4520. "id=\"0\"/>"
  4521. msgstr ""
  4522. #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
  4523. #: apt_preferences.5.xml:1
  4524. #, no-wrap
  4525. msgid "apt-get install <replaceable>package</replaceable>/testing\n"
  4526. msgstr ""
  4527. #. type: Content of: <refentry><refsect1><refsect2><para>
  4528. #: apt_preferences.5.xml:1
  4529. msgid ""
  4530. "The following command will cause APT to upgrade the specified package to the "
  4531. "latest version from the <literal>testing</literal> distribution; the package "
  4532. "will not be upgraded again unless this command is given again. <placeholder "
  4533. "type=\"programlisting\" id=\"0\"/>"
  4534. msgstr ""
  4535. #. type: Content of: <refentry><refsect1><refsect2><title>
  4536. #: apt_preferences.5.xml:1
  4537. msgid "Tracking Testing or Unstable"
  4538. msgstr ""
  4539. #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
  4540. #: apt_preferences.5.xml:1
  4541. #, no-wrap
  4542. msgid ""
  4543. "Package: *\n"
  4544. "Pin: release a=testing\n"
  4545. "Pin-Priority: 900\n"
  4546. "\n"
  4547. "Package: *\n"
  4548. "Pin: release a=unstable\n"
  4549. "Pin-Priority: 800\n"
  4550. "\n"
  4551. "Package: *\n"
  4552. "Pin: release o=Debian\n"
  4553. "Pin-Priority: -10\n"
  4554. msgstr ""
  4555. #. type: Content of: <refentry><refsect1><refsect2><para>
  4556. #: apt_preferences.5.xml:1
  4557. msgid ""
  4558. "The following APT preferences file will cause APT to assign a high priority "
  4559. "to package versions from the <literal>testing</literal> distribution, a "
  4560. "lower priority to package versions from the <literal>unstable</literal> "
  4561. "distribution, and a prohibitively low priority to package versions from "
  4562. "other <literal>Debian</literal> distributions. <placeholder "
  4563. "type=\"programlisting\" id=\"0\"/>"
  4564. msgstr ""
  4565. #. type: Content of: <refentry><refsect1><refsect2><para>
  4566. #: apt_preferences.5.xml:1
  4567. msgid ""
  4568. "With a suitable &sources-list; file and the above preferences file, any of "
  4569. "the following commands will cause APT to upgrade to the latest "
  4570. "<literal>testing</literal> version(s). <placeholder type=\"programlisting\" "
  4571. "id=\"0\"/>"
  4572. msgstr ""
  4573. #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
  4574. #: apt_preferences.5.xml:1
  4575. #, no-wrap
  4576. msgid "apt-get install <replaceable>package</replaceable>/unstable\n"
  4577. msgstr ""
  4578. #. type: Content of: <refentry><refsect1><refsect2><para>
  4579. #: apt_preferences.5.xml:1
  4580. msgid ""
  4581. "The following command will cause APT to upgrade the specified package to the "
  4582. "latest version from the <literal>unstable</literal> distribution. "
  4583. "Thereafter, <command>apt-get upgrade</command> will upgrade the package to "
  4584. "the most recent <literal>testing</literal> version if that is more recent "
  4585. "than the installed version, otherwise, to the most recent "
  4586. "<literal>unstable</literal> version if that is more recent than the "
  4587. "installed version. <placeholder type=\"programlisting\" id=\"0\"/>"
  4588. msgstr ""
  4589. #. type: Content of: <refentry><refsect1><refsect2><title>
  4590. #: apt_preferences.5.xml:1
  4591. msgid "Tracking the evolution of a codename release"
  4592. msgstr ""
  4593. #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
  4594. #: apt_preferences.5.xml:1
  4595. #, no-wrap
  4596. msgid ""
  4597. "Explanation: Uninstall or do not install any Debian-originated package "
  4598. "versions\n"
  4599. "Explanation: other than those in the distribution codenamed with "
  4600. "&debian-testing-codename; or sid\n"
  4601. "Package: *\n"
  4602. "Pin: release n=&debian-testing-codename;\n"
  4603. "Pin-Priority: 900\n"
  4604. "\n"
  4605. "Explanation: Debian unstable is always codenamed with sid\n"
  4606. "Package: *\n"
  4607. "Pin: release n=sid\n"
  4608. "Pin-Priority: 800\n"
  4609. "\n"
  4610. "Package: *\n"
  4611. "Pin: release o=Debian\n"
  4612. "Pin-Priority: -10\n"
  4613. msgstr ""
  4614. #. type: Content of: <refentry><refsect1><refsect2><para>
  4615. #: apt_preferences.5.xml:1
  4616. msgid ""
  4617. "The following APT preferences file will cause APT to assign a priority "
  4618. "higher than the default (500) to all package versions belonging to a "
  4619. "specified codename of a distribution and a prohibitively low priority to "
  4620. "package versions belonging to other <literal>Debian</literal> distributions, "
  4621. "codenames and archives. Note that with this APT preference APT will follow "
  4622. "the migration of a release from the archive <literal>testing</literal> to "
  4623. "<literal>stable</literal> and later <literal>oldstable</literal>. If you "
  4624. "want to follow for example the progress in <literal>testing</literal> "
  4625. "notwithstanding the codename changes you should use the example "
  4626. "configurations above. <placeholder type=\"programlisting\" id=\"0\"/>"
  4627. msgstr ""
  4628. #. type: Content of: <refentry><refsect1><refsect2><para>
  4629. #: apt_preferences.5.xml:1
  4630. msgid ""
  4631. "With a suitable &sources-list; file and the above preferences file, any of "
  4632. "the following commands will cause APT to upgrade to the latest version(s) in "
  4633. "the release codenamed with <literal>&debian-testing-codename;</literal>. "
  4634. "<placeholder type=\"programlisting\" id=\"0\"/>"
  4635. msgstr ""
  4636. #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
  4637. #: apt_preferences.5.xml:1
  4638. #, no-wrap
  4639. msgid "apt-get install <replaceable>package</replaceable>/sid\n"
  4640. msgstr ""
  4641. #. type: Content of: <refentry><refsect1><refsect2><para>
  4642. #: apt_preferences.5.xml:1
  4643. msgid ""
  4644. "The following command will cause APT to upgrade the specified package to the "
  4645. "latest version from the <literal>sid</literal> distribution. Thereafter, "
  4646. "<command>apt-get upgrade</command> will upgrade the package to the most "
  4647. "recent <literal>&debian-testing-codename;</literal> version if that is more "
  4648. "recent than the installed version, otherwise, to the most recent "
  4649. "<literal>sid</literal> version if that is more recent than the installed "
  4650. "version. <placeholder type=\"programlisting\" id=\"0\"/>"
  4651. msgstr ""
  4652. #. type: Content of: <refentry><refsect1><para>
  4653. #: apt_preferences.5.xml:1
  4654. msgid "&apt-get; &apt-cache; &apt-conf; &sources-list;"
  4655. msgstr ""
  4656. #. type: Content of: <refentry><refnamediv><refpurpose>
  4657. #: sources.list.5.xml:1
  4658. msgid "List of configured APT data sources"
  4659. msgstr ""
  4660. #. type: Content of: <refentry><refsect1><para>
  4661. #: sources.list.5.xml:1
  4662. msgid ""
  4663. "The source list <filename>/etc/apt/sources.list</filename> and the files "
  4664. "contained in <filename>/etc/apt/sources.list.d/</filename> are designed to "
  4665. "support any number of active sources and a variety of source media. The "
  4666. "files list one source per line (one-line style) or contain multiline stanzas "
  4667. "defining one or more sources per stanza (deb822 style), with the most "
  4668. "preferred source listed first (in case a single version is available from "
  4669. "more than one source). The information available from the configured sources "
  4670. "is acquired by <command>apt-get update</command> (or by an equivalent "
  4671. "command from another APT front-end)."
  4672. msgstr ""
  4673. #. type: Content of: <refentry><refsect1><title>
  4674. #: sources.list.5.xml:1
  4675. msgid "sources.list.d"
  4676. msgstr ""
  4677. #. type: Content of: <refentry><refsect1><para>
  4678. #: sources.list.5.xml:1
  4679. msgid ""
  4680. "The <filename>/etc/apt/sources.list.d</filename> directory provides a way to "
  4681. "add sources.list entries in separate files. Two different file formats are "
  4682. "allowed as described in the next two sections. Filenames need to have "
  4683. "either the extension <filename>.list</filename> or "
  4684. "<filename>.sources</filename> depending on the contained format. The "
  4685. "filenames may only contain letters (a-z and A-Z), digits (0-9), underscore "
  4686. "(_), hyphen (-) and period (.) characters. Otherwise APT will print a "
  4687. "notice that it has ignored a file, unless that file matches a pattern in the "
  4688. "<literal>Dir::Ignore-Files-Silently</literal> configuration list - in which "
  4689. "case it will be silently ignored."
  4690. msgstr ""
  4691. #. type: Content of: <refentry><refsect1><title>
  4692. #: sources.list.5.xml:1
  4693. msgid "One-Line-Style Format"
  4694. msgstr ""
  4695. #. type: Content of: <refentry><refsect1><para>
  4696. #: sources.list.5.xml:1
  4697. msgid ""
  4698. "Files in this format have the extension <filename>.list</filename>. Each "
  4699. "line specifying a source starts with a type "
  4700. "(e.g. <literal>deb-src</literal>) followed by options and arguments for "
  4701. "this type. Individual entries cannot be continued onto a following "
  4702. "line. Empty lines are ignored, and a <literal>#</literal> character anywhere "
  4703. "on a line marks the remainder of that line as a comment. Consequently an "
  4704. "entry can be disabled by commenting out the entire line. If options should "
  4705. "be provided they are separated by spaces and all of them together are "
  4706. "enclosed by square brackets (<literal>[]</literal>) included in the line "
  4707. "after the type separated from it with a space. If an option allows multiple "
  4708. "values these are separated from each other with a comma "
  4709. "(<literal>,</literal>). An option name is separated from its value(s) by an "
  4710. "equals sign (<literal>=</literal>). Multivalue options also have "
  4711. "<literal>-=</literal> and <literal>+=</literal> as separators, which instead "
  4712. "of replacing the default with the given value(s) modify the default value(s) "
  4713. "to remove or include the given values."
  4714. msgstr ""
  4715. #. type: Content of: <refentry><refsect1><para>
  4716. #: sources.list.5.xml:1
  4717. msgid ""
  4718. "This is the traditional format and supported by all apt versions. Note that "
  4719. "not all options as described below are supported by all apt versions. Note "
  4720. "also that some older applications parsing this format on their own might not "
  4721. "expect to encounter options as they were uncommon before the introduction of "
  4722. "multi-architecture support."
  4723. msgstr ""
  4724. #. type: Content of: <refentry><refsect1><title>
  4725. #: sources.list.5.xml:1
  4726. msgid "deb822-Style Format"
  4727. msgstr ""
  4728. #. type: Content of: <refentry><refsect1><para>
  4729. #: sources.list.5.xml:1
  4730. msgid ""
  4731. "Files in this format have the extension <filename>.sources</filename>. The "
  4732. "format is similar in syntax to other files used by Debian and its "
  4733. "derivatives, such as the metadata files that apt will download from the "
  4734. "configured sources or the <filename>debian/control</filename> file in a "
  4735. "Debian source package. Individual entries are separated by an empty line; "
  4736. "additional empty lines are ignored, and a <literal>#</literal> character at "
  4737. "the start of the line marks the entire line as a comment. An entry can hence "
  4738. "be disabled by commenting out each line belonging to the stanza, but it is "
  4739. "usually easier to add the field \"Enabled: no\" to the stanza to disable the "
  4740. "entry. Removing the field or setting it to yes reenables it. Options have "
  4741. "the same syntax as every other field: A fieldname separated by a colon "
  4742. "(<literal>:</literal>) and optionally spaces from its value(s). Note "
  4743. "especially that multiple values are separated by spaces, not by commas as in "
  4744. "the one-line format. Multivalue fields like <literal>Architectures</literal> "
  4745. "also have <literal>Architectures-Add</literal> and "
  4746. "<literal>Architectures-Remove</literal> to modify the default value rather "
  4747. "than replacing it."
  4748. msgstr ""
  4749. #. type: Content of: <refentry><refsect1><para>
  4750. #: sources.list.5.xml:1
  4751. msgid ""
  4752. "This is a new format supported by apt itself since version 1.1. Previous "
  4753. "versions ignore such files with a notice message as described earlier. It "
  4754. "is intended to make this format gradually the default format, deprecating "
  4755. "the previously described one-line-style format, as it is easier to create, "
  4756. "extend and modify for humans and machines alike especially if a lot of "
  4757. "sources and/or options are involved. Developers who are working with and/or "
  4758. "parsing apt sources are highly encouraged to add support for this format and "
  4759. "to contact the APT team to coordinate and share this work. Users can freely "
  4760. "adopt this format already, but may encounter problems with software not "
  4761. "supporting the format yet."
  4762. msgstr ""
  4763. #. type: Content of: <refentry><refsect1><title>
  4764. #: sources.list.5.xml:1
  4765. msgid "The deb and deb-src Types: General Format"
  4766. msgstr ""
  4767. #. type: Content of: <refentry><refsect1><para>
  4768. #: sources.list.5.xml:1
  4769. msgid ""
  4770. "The <literal>deb</literal> type references a typical two-level Debian "
  4771. "archive, <filename>distribution/component</filename>. The "
  4772. "<literal>distribution</literal> is generally a suite name like "
  4773. "<literal>stable</literal> or <literal>testing</literal> or a codename like "
  4774. "<literal>&debian-stable-codename;</literal> or "
  4775. "<literal>&debian-testing-codename;</literal> while component is one of "
  4776. "<literal>main</literal>, <literal>contrib</literal> or "
  4777. "<literal>non-free</literal>. The <literal>deb-src</literal> type references "
  4778. "a Debian distribution's source code in the same form as the "
  4779. "<literal>deb</literal> type. A <literal>deb-src</literal> line is required "
  4780. "to fetch source indexes."
  4781. msgstr ""
  4782. #. type: Content of: <refentry><refsect1><para>
  4783. #: sources.list.5.xml:1
  4784. msgid ""
  4785. "The format for two one-line-style entries using the <literal>deb</literal> "
  4786. "and <literal>deb-src</literal> types is:"
  4787. msgstr ""
  4788. #. type: Content of: <refentry><refsect1><literallayout>
  4789. #: sources.list.5.xml:1
  4790. #, no-wrap
  4791. msgid ""
  4792. "deb [ option1=value1 option2=value2 ] uri suite [component1] [component2] "
  4793. "[...]\n"
  4794. "deb-src [ option1=value1 option2=value2 ] uri suite [component1] "
  4795. "[component2] [...]"
  4796. msgstr ""
  4797. #. type: Content of: <refentry><refsect1><para><literallayout>
  4798. #: sources.list.5.xml:1
  4799. #, no-wrap
  4800. msgid ""
  4801. " Types: deb deb-src\n"
  4802. " URIs: uri\n"
  4803. " Suites: suite\n"
  4804. " Components: [component1] [component2] [...]\n"
  4805. " option1: value1\n"
  4806. " option2: value2\n"
  4807. " "
  4808. msgstr ""
  4809. #. type: Content of: <refentry><refsect1><para>
  4810. #: sources.list.5.xml:1
  4811. msgid ""
  4812. "Alternatively the equivalent entry in deb822 style looks like this: "
  4813. "<placeholder type=\"literallayout\" id=\"0\"/>"
  4814. msgstr ""
  4815. #. type: Content of: <refentry><refsect1><para>
  4816. #: sources.list.5.xml:1
  4817. msgid ""
  4818. "The URI for the <literal>deb</literal> type must specify the base of the "
  4819. "Debian distribution, from which APT will find the information it needs. "
  4820. "<literal>suite</literal> can specify an exact path, in which case the "
  4821. "components must be omitted and <literal>suite</literal> must end with a "
  4822. "slash (<literal>/</literal>). This is useful for the case when only a "
  4823. "particular sub-directory of the archive denoted by the URI is of interest. "
  4824. "If <literal>suite</literal> does not specify an exact path, at least one "
  4825. "<literal>component</literal> must be present."
  4826. msgstr ""
  4827. #. type: Content of: <refentry><refsect1><para>
  4828. #: sources.list.5.xml:1
  4829. msgid ""
  4830. "<literal>suite</literal> may also contain a variable, "
  4831. "<literal>$(ARCH)</literal> which expands to the Debian architecture (such as "
  4832. "<literal>amd64</literal> or <literal>armel</literal>) used on the "
  4833. "system. This permits architecture-independent "
  4834. "<filename>sources.list</filename> files to be used. In general this is only "
  4835. "of interest when specifying an exact path; <literal>APT</literal> will "
  4836. "automatically generate a URI with the current architecture otherwise."
  4837. msgstr ""
  4838. #. type: Content of: <refentry><refsect1><para>
  4839. #: sources.list.5.xml:1
  4840. msgid ""
  4841. "Especially in the one-line-style format since only one distribution can be "
  4842. "specified per line it may be necessary to have multiple lines for the same "
  4843. "URI, if a subset of all available distributions or components at that "
  4844. "location is desired. APT will sort the URI list after it has generated a "
  4845. "complete set internally, and will collapse multiple references to the same "
  4846. "Internet host, for instance, into a single connection, so that it does not "
  4847. "inefficiently establish a connection, close it, do something else, and then "
  4848. "re-establish a connection to that same host. APT also parallelizes "
  4849. "connections to different hosts to more effectively deal with sites with low "
  4850. "bandwidth."
  4851. msgstr ""
  4852. #. type: Content of: <refentry><refsect1><para>
  4853. #: sources.list.5.xml:1
  4854. msgid ""
  4855. "It is important to list sources in order of preference, with the most "
  4856. "preferred source listed first. Typically this will result in sorting by "
  4857. "speed from fastest to slowest (CD-ROM followed by hosts on a local network, "
  4858. "followed by distant Internet hosts, for example)."
  4859. msgstr ""
  4860. #. type: Content of: <refentry><refsect1><para><literallayout>
  4861. #: sources.list.5.xml:1
  4862. #, no-wrap
  4863. msgid "&sourceslist-list-format;"
  4864. msgstr ""
  4865. #. type: Content of: <refentry><refsect1><para><literallayout>
  4866. #: sources.list.5.xml:1
  4867. #, no-wrap
  4868. msgid "&sourceslist-sources-format;"
  4869. msgstr ""
  4870. #. type: Content of: <refentry><refsect1><para>
  4871. #: sources.list.5.xml:1
  4872. msgid ""
  4873. "As an example, the sources for your distribution could look like this in "
  4874. "one-line-style format: <placeholder type=\"literallayout\" id=\"0\"/> or "
  4875. "like this in deb822 style format: <placeholder type=\"literallayout\" "
  4876. "id=\"1\"/>"
  4877. msgstr ""
  4878. #. type: Content of: <refentry><refsect1><title>
  4879. #: sources.list.5.xml:1
  4880. msgid "The deb and deb-src types: Options"
  4881. msgstr ""
  4882. #. type: Content of: <refentry><refsect1><para>
  4883. #: sources.list.5.xml:1
  4884. msgid ""
  4885. "Each source entry can have options specified to modify which source is "
  4886. "accessed and how data is acquired from it. Format, syntax and names of the "
  4887. "options vary between the one-line-style and deb822-style formats as "
  4888. "described, but they both have the same options available. For simplicity we "
  4889. "list the deb822 fieldname and provide the one-line name in brackets. "
  4890. "Remember that besides setting multivalue options explicitly, there is also "
  4891. "the option to modify them based on the default, but we aren't listing those "
  4892. "names explicitly here. Unsupported options are silently ignored by all APT "
  4893. "versions."
  4894. msgstr ""
  4895. #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
  4896. #: sources.list.5.xml:1
  4897. msgid ""
  4898. "<option>Architectures</option> (<option>arch</option>) is a multivalue "
  4899. "option defining for which architectures information should be downloaded. If "
  4900. "this option isn't set the default is all architectures as defined by the "
  4901. "<option>APT::Architectures</option> config option."
  4902. msgstr ""
  4903. #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
  4904. #: sources.list.5.xml:1
  4905. msgid ""
  4906. "<option>Languages</option> (<option>lang</option>) is a multivalue option "
  4907. "defining for which languages information such as translated package "
  4908. "descriptions should be downloaded. If this option isn't set the default is "
  4909. "all languages as defined by the <option>Acquire::Languages</option> config "
  4910. "option."
  4911. msgstr ""
  4912. #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
  4913. #: sources.list.5.xml:1
  4914. msgid ""
  4915. "<option>Targets</option> (<option>target</option>) is a multivalue option "
  4916. "defining which download targets apt will try to acquire from this source. If "
  4917. "not specified, the default set is defined by the "
  4918. "<option>Acquire::IndexTargets</option> configuration scope (targets are "
  4919. "specified by their name in the <literal>Created-By</literal> field). "
  4920. "Additionally, targets can be enabled or disabled by using the "
  4921. "<literal>Identifier</literal> field as an option with a boolean value "
  4922. "instead of using this multivalue option."
  4923. msgstr ""
  4924. #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
  4925. #: sources.list.5.xml:1
  4926. msgid ""
  4927. "<option>PDiffs</option> (<option>pdiffs</option>) is a yes/no value which "
  4928. "controls if APT should try to use PDiffs to update old indexes instead of "
  4929. "downloading the new indexes entirely. The value of this option is ignored if "
  4930. "the repository doesn't announce the availability of PDiffs. Defaults to the "
  4931. "value of the option with the same name for a specific index file defined in "
  4932. "the <option>Acquire::IndexTargets</option> scope, which itself defaults to "
  4933. "the value of configuration option <option>Acquire::PDiffs</option> which "
  4934. "defaults to <literal>yes</literal>."
  4935. msgstr ""
  4936. #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
  4937. #: sources.list.5.xml:1
  4938. msgid ""
  4939. "<option>By-Hash</option> (<option>by-hash</option>) can have the value "
  4940. "<literal>yes</literal>, <literal>no</literal> or <literal>force</literal> "
  4941. "and controls if APT should try to acquire indexes via a URI constructed from "
  4942. "a hashsum of the expected file instead of using the well-known stable "
  4943. "filename of the index. Using this can avoid hashsum mismatches, but requires "
  4944. "a supporting mirror. A <literal>yes</literal> or <literal>no</literal> value "
  4945. "activates/disables the use of this feature if this source indicates support "
  4946. "for it, while <literal>force</literal> will enable the feature regardless of "
  4947. "what the source indicates. Defaults to the value of the option of the same "
  4948. "name for a specific index file defined in the "
  4949. "<option>Acquire::IndexTargets</option> scope, which itself defaults to the "
  4950. "value of configuration option <option>Acquire::By-Hash</option> which "
  4951. "defaults to <literal>yes</literal>."
  4952. msgstr ""
  4953. #. type: Content of: <refentry><refsect1><para>
  4954. #: sources.list.5.xml:1
  4955. msgid ""
  4956. "Furthermore, there are options which if set affect <emphasis>all</emphasis> "
  4957. "sources with the same URI and Suite, so they have to be set on all such "
  4958. "entries and can not be varied between different components. APT will try to "
  4959. "detect and error out on such anomalies."
  4960. msgstr ""
  4961. #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
  4962. #: sources.list.5.xml:1
  4963. msgid ""
  4964. "<option>Allow-Insecure</option> (<option>allow-insecure</option>), "
  4965. "<option>Allow-Weak</option> (<option>allow-weak</option>) and "
  4966. "<option>Allow-Downgrade-To-Insecure</option> "
  4967. "(<option>allow-downgrade-to-insecure</option>) are boolean values which all "
  4968. "default to <literal>no</literal>. If set to <literal>yes</literal> they "
  4969. "circumvent parts of &apt-secure; and should therefore not be used lightly!"
  4970. msgstr ""
  4971. #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
  4972. #: sources.list.5.xml:1
  4973. msgid ""
  4974. "<option>Trusted</option> (<option>trusted</option>) is a tri-state value "
  4975. "which defaults to APT deciding if a source is considered trusted or if "
  4976. "warnings should be raised before e.g. packages are installed from this "
  4977. "source. This option can be used to override that decision. The value "
  4978. "<literal>yes</literal> tells APT always to consider this source as trusted, "
  4979. "even if it doesn't pass authentication checks. It disables parts of "
  4980. "&apt-secure;, and should therefore only be used in a local and trusted "
  4981. "context (if at all) as otherwise security is breached. The value "
  4982. "<literal>no</literal> does the opposite, causing the source to be handled as "
  4983. "untrusted even if the authentication checks passed successfully. The default "
  4984. "value can't be set explicitly."
  4985. msgstr ""
  4986. #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
  4987. #: sources.list.5.xml:1
  4988. msgid ""
  4989. "<option>Signed-By</option> (<option>signed-by</option>) is either an "
  4990. "absolute path to a keyring file (has to be accessible and readable for the "
  4991. "<literal>_apt</literal> user, so ensure everyone has read-permissions on the "
  4992. "file) or one or more fingerprints of keys either in the "
  4993. "<filename>trusted.gpg</filename> keyring or in the keyrings in the "
  4994. "<filename>trusted.gpg.d/</filename> directory (see <command>apt-key "
  4995. "fingerprint</command>). If the option is set, only the key(s) in this "
  4996. "keyring or only the keys with these fingerprints are used for the "
  4997. "&apt-secure; verification of this repository. Defaults to the value of the "
  4998. "option with the same name if set in the previously acquired "
  4999. "<filename>Release</filename> file. Otherwise all keys in the trusted "
  5000. "keyrings are considered valid signers for this repository."
  5001. msgstr ""
  5002. #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
  5003. #: sources.list.5.xml:1
  5004. msgid ""
  5005. "<option>Check-Valid-Until</option> (<option>check-valid-until</option>) is "
  5006. "a yes/no value which controls if APT should try to detect replay attacks. A "
  5007. "repository creator can declare a time until which the data provided in the "
  5008. "repository should be considered valid, and if this time is reached, but no "
  5009. "new data is provided, the data is considered expired and an error is "
  5010. "raised. Besides increasing security, as a malicious attacker can't send old "
  5011. "data forever to prevent a user from upgrading to a new version, this also "
  5012. "helps users identify mirrors which are no longer updated. However, some "
  5013. "repositories such as historic archives are not updated any more by design, "
  5014. "so this check can be disabled by setting this option to "
  5015. "<literal>no</literal>. Defaults to the value of configuration option "
  5016. "<option>Acquire::Check-Valid-Until</option> which itself defaults to "
  5017. "<literal>yes</literal>."
  5018. msgstr ""
  5019. #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
  5020. #: sources.list.5.xml:1
  5021. msgid ""
  5022. "<option>Valid-Until-Min</option> (<option>valid-until-min</option>) and "
  5023. "<option>Valid-Until-Max</option> (<option>valid-until-max</option>) can be "
  5024. "used to raise or lower the time period in seconds in which the data from "
  5025. "this repository is considered valid. -Max can be especially useful if the "
  5026. "repository provides no Valid-Until field on its Release file to set your own "
  5027. "value, while -Min can be used to increase the valid time on seldom updated "
  5028. "(local) mirrors of a more frequently updated but less accessible archive "
  5029. "(which is in the sources.list as well) instead of disabling the check "
  5030. "entirely. Default to the value of the configuration options "
  5031. "<option>Acquire::Min-ValidTime</option> and "
  5032. "<option>Acquire::Max-ValidTime</option> which are both unset by default."
  5033. msgstr ""
  5034. #. type: Content of: <refentry><refsect1><title>
  5035. #: sources.list.5.xml:1
  5036. msgid "URI Specification"
  5037. msgstr ""
  5038. #. type: Content of: <refentry><refsect1><para>
  5039. #: sources.list.5.xml:1
  5040. msgid "The currently recognized URI types are:"
  5041. msgstr ""
  5042. #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
  5043. #: sources.list.5.xml:1
  5044. msgid ""
  5045. "The file scheme allows an arbitrary directory in the file system to be "
  5046. "considered an archive. This is useful for NFS mounts and local mirrors or "
  5047. "archives."
  5048. msgstr ""
  5049. #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
  5050. #: sources.list.5.xml:1
  5051. msgid ""
  5052. "The cdrom scheme allows APT to use a local CD-ROM drive with media "
  5053. "swapping. Use the &apt-cdrom; program to create cdrom entries in the source "
  5054. "list."
  5055. msgstr ""
  5056. #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
  5057. #: sources.list.5.xml:1
  5058. msgid ""
  5059. "The http scheme specifies an HTTP server for the archive. If an environment "
  5060. "variable <envar>http_proxy</envar> is set with the format "
  5061. "http://server:port/, the proxy server specified in <envar>http_proxy</envar> "
  5062. "will be used. Users of authenticated HTTP/1.1 proxies may use a string of "
  5063. "the format http://user:pass@server:port/. Note that this is an insecure "
  5064. "method of authentication."
  5065. msgstr ""
  5066. #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
  5067. #: sources.list.5.xml:1
  5068. msgid ""
  5069. "The ftp scheme specifies an FTP server for the archive. APT's FTP behavior "
  5070. "is highly configurable; for more information see the &apt-conf; manual "
  5071. "page. Please note that an FTP proxy can be specified by using the "
  5072. "<envar>ftp_proxy</envar> environment variable. It is possible to specify an "
  5073. "HTTP proxy (HTTP proxy servers often understand FTP URLs) using this "
  5074. "environment variable and <emphasis>only</emphasis> this environment "
  5075. "variable. Proxies using HTTP specified in the configuration file will be "
  5076. "ignored."
  5077. msgstr ""
  5078. #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
  5079. #: sources.list.5.xml:1
  5080. msgid ""
  5081. "The copy scheme is identical to the file scheme except that packages are "
  5082. "copied into the cache directory instead of used directly at their location. "
  5083. "This is useful for people using removable media to copy files around with "
  5084. "APT."
  5085. msgstr ""
  5086. #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
  5087. #: sources.list.5.xml:1
  5088. msgid ""
  5089. "The rsh/ssh method invokes RSH/SSH to connect to a remote host and access "
  5090. "the files as a given user. Prior configuration of rhosts or RSA keys is "
  5091. "recommended. The standard <command>find</command> and <command>dd</command> "
  5092. "commands are used to perform the file transfers from the remote host."
  5093. msgstr ""
  5094. #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
  5095. #: sources.list.5.xml:1
  5096. msgid "adding more recognizable URI types"
  5097. msgstr ""
  5098. #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
  5099. #: sources.list.5.xml:1
  5100. msgid ""
  5101. "APT can be extended with more methods shipped in other optional packages, "
  5102. "which should follow the naming scheme "
  5103. "<package>apt-transport-<replaceable>method</replaceable></package>. For "
  5104. "instance, the APT team also maintains the package "
  5105. "<package>apt-transport-https</package>, which provides access methods for "
  5106. "HTTPS URIs with features similar to the http method. Methods for using "
  5107. "e.g. debtorrent are also available - see &apt-transport-debtorrent;."
  5108. msgstr ""
  5109. #. type: Content of: <refentry><refsect1><para>
  5110. #: sources.list.5.xml:1
  5111. msgid ""
  5112. "Uses the archive stored locally (or NFS mounted) at /home/apt/debian for "
  5113. "stable/main, stable/contrib, and stable/non-free."
  5114. msgstr ""
  5115. #. type: Content of: <refentry><refsect1><literallayout>
  5116. #: sources.list.5.xml:1
  5117. #, no-wrap
  5118. msgid "deb file:/home/apt/debian stable main contrib non-free"
  5119. msgstr ""
  5120. #. type: Content of: <refentry><refsect1><literallayout>
  5121. #: sources.list.5.xml:1
  5122. #, no-wrap
  5123. msgid ""
  5124. "Types: deb\n"
  5125. "URIs: file:/home/apt/debian\n"
  5126. "Suites: stable\n"
  5127. "Components: main contrib non-free"
  5128. msgstr ""
  5129. #. type: Content of: <refentry><refsect1><para>
  5130. #: sources.list.5.xml:1
  5131. msgid "As above, except this uses the unstable (development) distribution."
  5132. msgstr ""
  5133. #. type: Content of: <refentry><refsect1><literallayout>
  5134. #: sources.list.5.xml:1
  5135. #, no-wrap
  5136. msgid "deb file:/home/apt/debian unstable main contrib non-free"
  5137. msgstr ""
  5138. #. type: Content of: <refentry><refsect1><literallayout>
  5139. #: sources.list.5.xml:1
  5140. #, no-wrap
  5141. msgid ""
  5142. "Types: deb\n"
  5143. "URIs: file:/home/apt/debian\n"
  5144. "Suites: unstable\n"
  5145. "Components: main contrib non-free"
  5146. msgstr ""
  5147. #. type: Content of: <refentry><refsect1><para>
  5148. #: sources.list.5.xml:1
  5149. msgid "Sources specification for the above."
  5150. msgstr ""
  5151. #. type: Content of: <refentry><refsect1><literallayout>
  5152. #: sources.list.5.xml:1
  5153. #, no-wrap
  5154. msgid "deb-src file:/home/apt/debian unstable main contrib non-free"
  5155. msgstr ""
  5156. #. type: Content of: <refentry><refsect1><literallayout>
  5157. #: sources.list.5.xml:1
  5158. #, no-wrap
  5159. msgid ""
  5160. "Types: deb-src\n"
  5161. "URIs: file:/home/apt/debian\n"
  5162. "Suites: unstable\n"
  5163. "Components: main contrib non-free"
  5164. msgstr ""
  5165. #. type: Content of: <refentry><refsect1><para>
  5166. #: sources.list.5.xml:1
  5167. msgid ""
  5168. "The first line gets package information for the architectures in "
  5169. "<literal>APT::Architectures</literal> while the second always retrieves "
  5170. "<literal>amd64</literal> and <literal>armel</literal>."
  5171. msgstr ""
  5172. #. type: Content of: <refentry><refsect1><literallayout>
  5173. #: sources.list.5.xml:1
  5174. #, no-wrap
  5175. msgid ""
  5176. "deb http://deb.debian.org/debian &debian-stable-codename; main\n"
  5177. "deb [ arch=amd64,armel ] http://deb.debian.org/debian "
  5178. "&debian-stable-codename; main"
  5179. msgstr ""
  5180. #. type: Content of: <refentry><refsect1><literallayout>
  5181. #: sources.list.5.xml:1
  5182. #, no-wrap
  5183. msgid ""
  5184. "Types: deb\n"
  5185. "URIs: http://deb.debian.org/debian\n"
  5186. "Suites: &debian-stable-codename;\n"
  5187. "Components: main\n"
  5188. "\n"
  5189. "Types: deb\n"
  5190. "URIs: http://deb.debian.org/debian\n"
  5191. "Suites: &debian-stable-codename;\n"
  5192. "Components: main\n"
  5193. "Architectures: amd64 armel\n"
  5194. msgstr ""
  5195. #. type: Content of: <refentry><refsect1><para>
  5196. #: sources.list.5.xml:1
  5197. msgid ""
  5198. "Uses HTTP to access the archive at archive.debian.org, and uses only the "
  5199. "hamm/main area."
  5200. msgstr ""
  5201. #. type: Content of: <refentry><refsect1><literallayout>
  5202. #: sources.list.5.xml:1
  5203. #, no-wrap
  5204. msgid "deb http://archive.debian.org/debian-archive hamm main"
  5205. msgstr ""
  5206. #. type: Content of: <refentry><refsect1><literallayout>
  5207. #: sources.list.5.xml:1
  5208. #, no-wrap
  5209. msgid ""
  5210. "Types: deb\n"
  5211. "URIs: http://archive.debian.org/debian-archive\n"
  5212. "Suites: hamm\n"
  5213. "Components: main"
  5214. msgstr ""
  5215. #. type: Content of: <refentry><refsect1><para>
  5216. #: sources.list.5.xml:1
  5217. msgid ""
  5218. "Uses FTP to access the archive at ftp.debian.org, under the debian "
  5219. "directory, and uses only the &debian-stable-codename;/contrib area."
  5220. msgstr ""
  5221. #. type: Content of: <refentry><refsect1><literallayout>
  5222. #: sources.list.5.xml:1
  5223. #, no-wrap
  5224. msgid "deb ftp://ftp.debian.org/debian &debian-stable-codename; contrib"
  5225. msgstr ""
  5226. #. type: Content of: <refentry><refsect1><literallayout>
  5227. #: sources.list.5.xml:1
  5228. #, no-wrap
  5229. msgid ""
  5230. "Types: deb\n"
  5231. "URIs: ftp://ftp.debian.org/debian\n"
  5232. "Suites: &debian-stable-codename;\n"
  5233. "Components: contrib"
  5234. msgstr ""
  5235. #. type: Content of: <refentry><refsect1><para>
  5236. #: sources.list.5.xml:1
  5237. msgid ""
  5238. "Uses FTP to access the archive at ftp.debian.org, under the debian "
  5239. "directory, and uses only the unstable/contrib area. If this line appears as "
  5240. "well as the one in the previous example in <filename>sources.list</filename> "
  5241. "a single FTP session will be used for both resource lines."
  5242. msgstr ""
  5243. #. type: Content of: <refentry><refsect1><literallayout>
  5244. #: sources.list.5.xml:1
  5245. #, no-wrap
  5246. msgid "deb ftp://ftp.debian.org/debian unstable contrib"
  5247. msgstr ""
  5248. #. type: Content of: <refentry><refsect1><literallayout>
  5249. #: sources.list.5.xml:1
  5250. #, no-wrap
  5251. msgid ""
  5252. "Types: deb\n"
  5253. "URIs: ftp://ftp.debian.org/debian\n"
  5254. "Suites: unstable\n"
  5255. "Components: contrib"
  5256. msgstr ""
  5257. #. type: Content of: <refentry><refsect1><para><literallayout>
  5258. #: sources.list.5.xml:1
  5259. #, no-wrap
  5260. msgid "deb http://ftp.tlh.debian.org/universe unstable/binary-$(ARCH)/"
  5261. msgstr ""
  5262. #. type: Content of: <refentry><refsect1><para><literallayout>
  5263. #: sources.list.5.xml:1
  5264. #, no-wrap
  5265. msgid ""
  5266. "Types: deb\n"
  5267. "URIs: http://ftp.tlh.debian.org/universe\n"
  5268. "Suites: unstable/binary-$(ARCH)/"
  5269. msgstr ""
  5270. #. type: Content of: <refentry><refsect1><para>
  5271. #: sources.list.5.xml:1
  5272. msgid ""
  5273. "Uses HTTP to access the archive at ftp.tlh.debian.org, under the universe "
  5274. "directory, and uses only files found under "
  5275. "<filename>unstable/binary-i386</filename> on i386 machines, "
  5276. "<filename>unstable/binary-amd64</filename> on amd64, and so forth for other "
  5277. "supported architectures. [Note this example only illustrates how to use the "
  5278. "substitution variable; official debian archives are not structured like "
  5279. "this] <placeholder type=\"literallayout\" id=\"0\"/> <placeholder "
  5280. "type=\"literallayout\" id=\"1\"/>"
  5281. msgstr ""
  5282. #. type: Content of: <refentry><refsect1><para>
  5283. #: sources.list.5.xml:1
  5284. msgid ""
  5285. "Uses HTTP to get binary packages as well as sources from the stable, testing "
  5286. "and unstable suites and the components main and contrib."
  5287. msgstr ""
  5288. #. type: Content of: <refentry><refsect1><literallayout>
  5289. #: sources.list.5.xml:1
  5290. #, no-wrap
  5291. msgid ""
  5292. "deb http://deb.debian.org/debian stable main contrib\n"
  5293. "deb-src http://deb.debian.org/debian stable main contrib\n"
  5294. "deb http://deb.debian.org/debian testing main contrib\n"
  5295. "deb-src http://deb.debian.org/debian testing main contrib\n"
  5296. "deb http://deb.debian.org/debian unstable main contrib\n"
  5297. "deb-src http://deb.debian.org/debian unstable main contrib"
  5298. msgstr ""
  5299. #. type: Content of: <refentry><refsect1><literallayout>
  5300. #: sources.list.5.xml:1
  5301. #, no-wrap
  5302. msgid ""
  5303. "Types: deb deb-src\n"
  5304. "URIs: http://deb.debian.org/debian\n"
  5305. "Suites: stable testing unstable\n"
  5306. "Components: main contrib\n"
  5307. msgstr ""
  5308. #. type: Content of: <refentry><refsect1><para>
  5309. #: sources.list.5.xml:1
  5310. msgid "&apt-get;, &apt-conf;, &apt-acquire-additional-files;"
  5311. msgstr ""
  5312. #. type: Content of: <refentry><refmeta><manvolnum>
  5313. #: apt-extracttemplates.1.xml:1 apt-sortpkgs.1.xml:1 apt-ftparchive.1.xml:1
  5314. msgid "1"
  5315. msgstr ""
  5316. #. type: Content of: <refentry><refnamediv><refpurpose>
  5317. #: apt-extracttemplates.1.xml:1
  5318. msgid ""
  5319. "Utility to extract <command>debconf</command> config and templates from "
  5320. "Debian packages"
  5321. msgstr ""
  5322. #. type: Content of: <refentry><refsect1><para>
  5323. #: apt-extracttemplates.1.xml:1
  5324. msgid ""
  5325. "<command>apt-extracttemplates</command> will take one or more Debian package "
  5326. "files as input and write out (to a temporary directory) all associated "
  5327. "config scripts and template files. For each passed in package that contains "
  5328. "config scripts and templates, one line of output will be generated in the "
  5329. "format:"
  5330. msgstr ""
  5331. #. type: Content of: <refentry><refsect1><para>
  5332. #: apt-extracttemplates.1.xml:1
  5333. msgid "package version template-file config-script"
  5334. msgstr ""
  5335. #. type: Content of: <refentry><refsect1><para>
  5336. #: apt-extracttemplates.1.xml:1
  5337. msgid ""
  5338. "template-file and config-script are written to the temporary directory "
  5339. "specified by the <option>-t</option> or <option>--tempdir</option> "
  5340. "(<literal>APT::ExtractTemplates::TempDir</literal>) directory, with "
  5341. "filenames of the form <filename>package.template.XXXXXX</filename> and "
  5342. "<filename>package.config.XXXXXX</filename>"
  5343. msgstr ""
  5344. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  5345. #: apt-extracttemplates.1.xml:1
  5346. msgid ""
  5347. "Temporary directory in which to write extracted <command>debconf</command> "
  5348. "template files and config scripts. Configuration Item: "
  5349. "<literal>APT::ExtractTemplates::TempDir</literal>"
  5350. msgstr ""
  5351. #. type: Content of: <refentry><refsect1><para>
  5352. #: apt-extracttemplates.1.xml:1
  5353. msgid ""
  5354. "<command>apt-extracttemplates</command> returns zero on normal operation, "
  5355. "decimal 100 on error."
  5356. msgstr ""
  5357. #. type: Content of: <refentry><refnamediv><refpurpose>
  5358. #: apt-sortpkgs.1.xml:1
  5359. msgid "Utility to sort package index files"
  5360. msgstr ""
  5361. #. type: Content of: <refentry><refsect1><para>
  5362. #: apt-sortpkgs.1.xml:1
  5363. msgid ""
  5364. "<command>apt-sortpkgs</command> will take an index file (source index or "
  5365. "package index) and sort the records so that they are ordered by the package "
  5366. "name. It will also sort the internal fields of each record according to the "
  5367. "internal sorting rules."
  5368. msgstr ""
  5369. #. type: Content of: <refentry><refsect1><para>
  5370. #: apt-sortpkgs.1.xml:1
  5371. msgid "All output is sent to standard output; the input must be a seekable file."
  5372. msgstr ""
  5373. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  5374. #: apt-sortpkgs.1.xml:1
  5375. msgid ""
  5376. "Use source index field ordering. Configuration Item: "
  5377. "<literal>APT::SortPkgs::Source</literal>."
  5378. msgstr ""
  5379. #. type: Content of: <refentry><refsect1><para>
  5380. #: apt-sortpkgs.1.xml:1
  5381. msgid ""
  5382. "<command>apt-sortpkgs</command> returns zero on normal operation, decimal "
  5383. "100 on error."
  5384. msgstr ""
  5385. #. type: Content of: <refentry><refnamediv><refpurpose>
  5386. #: apt-ftparchive.1.xml:1
  5387. msgid "Utility to generate index files"
  5388. msgstr ""
  5389. #. type: Content of: <refentry><refsect1><para>
  5390. #: apt-ftparchive.1.xml:1
  5391. msgid ""
  5392. "<command>apt-ftparchive</command> is the command line tool that generates "
  5393. "the index files that APT uses to access a distribution source. The index "
  5394. "files should be generated on the origin site based on the content of that "
  5395. "site."
  5396. msgstr ""
  5397. #. type: Content of: <refentry><refsect1><para>
  5398. #: apt-ftparchive.1.xml:1
  5399. msgid ""
  5400. "<command>apt-ftparchive</command> is a superset of the &dpkg-scanpackages; "
  5401. "program, incorporating its entire functionality via the "
  5402. "<literal>packages</literal> command. It also contains a contents file "
  5403. "generator, <literal>contents</literal>, and an elaborate means to 'script' "
  5404. "the generation process for a complete archive."
  5405. msgstr ""
  5406. #. type: Content of: <refentry><refsect1><para>
  5407. #: apt-ftparchive.1.xml:1
  5408. msgid ""
  5409. "Internally <command>apt-ftparchive</command> can make use of binary "
  5410. "databases to cache the contents of a .deb file and it does not rely on any "
  5411. "external programs aside from &gzip;. When doing a full generate it "
  5412. "automatically performs file-change checks and builds the desired compressed "
  5413. "output files."
  5414. msgstr ""
  5415. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  5416. #: apt-ftparchive.1.xml:1
  5417. msgid ""
  5418. "The packages command generates a package file from a directory tree. It "
  5419. "takes the given directory and recursively searches it for .deb files, "
  5420. "emitting a package record to stdout for each. This command is approximately "
  5421. "equivalent to &dpkg-scanpackages;."
  5422. msgstr ""
  5423. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  5424. #: apt-ftparchive.1.xml:1 apt-ftparchive.1.xml:1
  5425. msgid "The option <option>--db</option> can be used to specify a binary caching DB."
  5426. msgstr ""
  5427. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  5428. #: apt-ftparchive.1.xml:1
  5429. msgid ""
  5430. "The <literal>sources</literal> command generates a source index file from a "
  5431. "directory tree. It takes the given directory and recursively searches it "
  5432. "for .dsc files, emitting a source record to stdout for each. This command is "
  5433. "approximately equivalent to &dpkg-scansources;."
  5434. msgstr ""
  5435. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  5436. #: apt-ftparchive.1.xml:1
  5437. msgid ""
  5438. "If an override file is specified then a source override file will be looked "
  5439. "for with an extension of .src. The --source-override option can be used to "
  5440. "change the source override file that will be used."
  5441. msgstr ""
  5442. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  5443. #: apt-ftparchive.1.xml:1
  5444. msgid ""
  5445. "The <literal>contents</literal> command generates a contents file from a "
  5446. "directory tree. It takes the given directory and recursively searches it for "
  5447. ".deb files, and reads the file list from each file. It then sorts and writes "
  5448. "to stdout the list of files matched to packages. Directories are not written "
  5449. "to the output. If multiple packages own the same file then each package is "
  5450. "separated by a comma in the output."
  5451. msgstr ""
  5452. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  5453. #: apt-ftparchive.1.xml:1
  5454. msgid ""
  5455. "The <literal>release</literal> command generates a Release file from a "
  5456. "directory tree. It recursively searches the given directory for uncompressed "
  5457. "and compressed <filename>Packages</filename>, <filename>Sources</filename>, "
  5458. "<filename>Contents</filename>, <filename>Components</filename> and "
  5459. "<filename>icons</filename> files as well as <filename>Release</filename>, "
  5460. "<filename>Index</filename> and <filename>md5sum.txt</filename> files by "
  5461. "default (<literal>APT::FTPArchive::Release::Default-Patterns</literal>). "
  5462. "Additional filename patterns can be added by listing them in "
  5463. "<literal>APT::FTPArchive::Release::Patterns</literal>. It then writes to "
  5464. "stdout a <filename>Release</filename> file containing (by default) an MD5, "
  5465. "SHA1, SHA256 and SHA512 digest for each file."
  5466. msgstr ""
  5467. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  5468. #: apt-ftparchive.1.xml:1
  5469. msgid ""
  5470. "Values for the additional metadata fields in the Release file are taken from "
  5471. "the corresponding variables under "
  5472. "<literal>APT::FTPArchive::Release</literal>, "
  5473. "e.g. <literal>APT::FTPArchive::Release::Origin</literal>. The supported "
  5474. "fields are <literal>Origin</literal>, <literal>Label</literal>, "
  5475. "<literal>Suite</literal>, <literal>Version</literal>, "
  5476. "<literal>Codename</literal>, <literal>Date</literal>, "
  5477. "<literal>NotAutomatic</literal>, <literal>ButAutomaticUpgrades</literal>, "
  5478. "<literal>Acquire-By-Hash</literal>, <literal>Valid-Until</literal>, "
  5479. "<literal>Signed-By</literal>, <literal>Architectures</literal>, "
  5480. "<literal>Components</literal> and <literal>Description</literal>."
  5481. msgstr ""
  5482. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  5483. #: apt-ftparchive.1.xml:1
  5484. msgid ""
  5485. "The <literal>generate</literal> command is designed to be runnable from a "
  5486. "cron script and builds indexes according to the given config file. The "
  5487. "config language provides a flexible means of specifying which index files "
  5488. "are built from which directories, as well as providing a simple means of "
  5489. "maintaining the required settings."
  5490. msgstr ""
  5491. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  5492. #: apt-ftparchive.1.xml:1
  5493. msgid ""
  5494. "The <literal>clean</literal> command tidies the databases used by the given "
  5495. "configuration file by removing any records that are no longer necessary."
  5496. msgstr ""
  5497. #. type: Content of: <refentry><refsect1><title>
  5498. #: apt-ftparchive.1.xml:1
  5499. msgid "The Generate Configuration"
  5500. msgstr ""
  5501. #. type: Content of: <refentry><refsect1><para>
  5502. #: apt-ftparchive.1.xml:1
  5503. msgid ""
  5504. "The <literal>generate</literal> command uses a configuration file to "
  5505. "describe the archives that are going to be generated. It follows the typical "
  5506. "ISC configuration format as seen in ISC tools like bind 8 and dhcpd. "
  5507. "&apt-conf; contains a description of the syntax. Note that the generate "
  5508. "configuration is parsed in sectional manner, but &apt-conf; is parsed in a "
  5509. "tree manner. This only effects how the scope tag is handled."
  5510. msgstr ""
  5511. #. type: Content of: <refentry><refsect1><para>
  5512. #: apt-ftparchive.1.xml:1
  5513. msgid "The generate configuration has four separate sections, each described below."
  5514. msgstr ""
  5515. #. type: Content of: <refentry><refsect1><refsect2><title>
  5516. #: apt-ftparchive.1.xml:1
  5517. msgid "<literal>Dir</literal> Section"
  5518. msgstr ""
  5519. #. type: Content of: <refentry><refsect1><refsect2><para>
  5520. #: apt-ftparchive.1.xml:1
  5521. msgid ""
  5522. "The <literal>Dir</literal> section defines the standard directories needed "
  5523. "to locate the files required during the generation process. These "
  5524. "directories are prepended certain relative paths defined in later sections "
  5525. "to produce a complete an absolute path."
  5526. msgstr ""
  5527. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5528. #: apt-ftparchive.1.xml:1
  5529. msgid ""
  5530. "Specifies the root of the FTP archive, in a standard Debian configuration "
  5531. "this is the directory that contains the <filename>ls-LR</filename> and dist "
  5532. "nodes."
  5533. msgstr ""
  5534. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5535. #: apt-ftparchive.1.xml:1
  5536. msgid "Specifies the location of the override files."
  5537. msgstr ""
  5538. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5539. #: apt-ftparchive.1.xml:1
  5540. msgid "Specifies the location of the cache files."
  5541. msgstr ""
  5542. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5543. #: apt-ftparchive.1.xml:1
  5544. msgid ""
  5545. "Specifies the location of the file list files, if the "
  5546. "<literal>FileList</literal> setting is used below."
  5547. msgstr ""
  5548. #. type: Content of: <refentry><refsect1><refsect2><title>
  5549. #: apt-ftparchive.1.xml:1
  5550. msgid "<literal>Default</literal> Section"
  5551. msgstr ""
  5552. #. type: Content of: <refentry><refsect1><refsect2><para>
  5553. #: apt-ftparchive.1.xml:1
  5554. msgid ""
  5555. "The <literal>Default</literal> section specifies default values, and "
  5556. "settings that control the operation of the generator. Other sections may "
  5557. "override these defaults with a per-section setting."
  5558. msgstr ""
  5559. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5560. #: apt-ftparchive.1.xml:1
  5561. msgid ""
  5562. "Sets the default compression schemes to use for the package index files. It "
  5563. "is a string that contains a space separated list of at least one of the "
  5564. "compressors configured via the <option>APT::Compressor</option> "
  5565. "configuration scope. The default for all compression schemes is '. gzip'."
  5566. msgstr ""
  5567. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5568. #: apt-ftparchive.1.xml:1
  5569. msgid ""
  5570. "Sets the default list of file extensions that are package files. This "
  5571. "defaults to '.deb'."
  5572. msgstr ""
  5573. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5574. #: apt-ftparchive.1.xml:1
  5575. msgid ""
  5576. "This is similar to <literal>Packages::Compress</literal> except that it "
  5577. "controls the compression for the Sources files."
  5578. msgstr ""
  5579. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5580. #: apt-ftparchive.1.xml:1
  5581. msgid ""
  5582. "Sets the default list of file extensions that are source files. This "
  5583. "defaults to '.dsc'."
  5584. msgstr ""
  5585. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5586. #: apt-ftparchive.1.xml:1
  5587. msgid ""
  5588. "This is similar to <literal>Packages::Compress</literal> except that it "
  5589. "controls the compression for the Contents files."
  5590. msgstr ""
  5591. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5592. #: apt-ftparchive.1.xml:1
  5593. msgid ""
  5594. "This is similar to <literal>Packages::Compress</literal> except that it "
  5595. "controls the compression for the Translation-en master file."
  5596. msgstr ""
  5597. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5598. #: apt-ftparchive.1.xml:1
  5599. msgid ""
  5600. "Specifies the number of kilobytes to delink (and replace with hard links) "
  5601. "per run. This is used in conjunction with the per-section "
  5602. "<literal>External-Links</literal> setting."
  5603. msgstr ""
  5604. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5605. #: apt-ftparchive.1.xml:1
  5606. msgid ""
  5607. "Specifies the mode of all created index files. It defaults to 0644. All "
  5608. "index files are set to this mode with no regard to the umask."
  5609. msgstr ""
  5610. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5611. #: apt-ftparchive.1.xml:1 apt-ftparchive.1.xml:1
  5612. msgid ""
  5613. "Specifies whether long descriptions should be included in the "
  5614. "<filename>Packages</filename> file or split out into a master "
  5615. "<filename>Translation-en</filename> file."
  5616. msgstr ""
  5617. #. type: Content of: <refentry><refsect1><refsect2><title>
  5618. #: apt-ftparchive.1.xml:1
  5619. msgid "<literal>TreeDefault</literal> Section"
  5620. msgstr ""
  5621. #. type: Content of: <refentry><refsect1><refsect2><para>
  5622. #: apt-ftparchive.1.xml:1
  5623. msgid ""
  5624. "Sets defaults specific to <literal>Tree</literal> sections. All of these "
  5625. "variables are substitution variables and have the strings $(DIST), "
  5626. "$(SECTION) and $(ARCH) replaced with their respective values."
  5627. msgstr ""
  5628. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5629. #: apt-ftparchive.1.xml:1
  5630. msgid ""
  5631. "Sets the number of kilobytes of contents files that are generated each "
  5632. "day. The contents files are round-robined so that over several days they "
  5633. "will all be rebuilt."
  5634. msgstr ""
  5635. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5636. #: apt-ftparchive.1.xml:1
  5637. msgid ""
  5638. "Controls the number of days a contents file is allowed to be checked without "
  5639. "changing. If this limit is passed the mtime of the contents file is "
  5640. "updated. This case can occur if the package file is changed in such a way "
  5641. "that does not result in a new contents file [override edit for instance]. A "
  5642. "hold off is allowed in hopes that new .debs will be installed, requiring a "
  5643. "new file anyhow. The default is 10, the units are in days."
  5644. msgstr ""
  5645. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5646. #: apt-ftparchive.1.xml:1
  5647. msgid ""
  5648. "Sets the top of the .deb directory tree. Defaults to "
  5649. "<filename>$(DIST)/$(SECTION)/binary-$(ARCH)/</filename>"
  5650. msgstr ""
  5651. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5652. #: apt-ftparchive.1.xml:1
  5653. msgid ""
  5654. "Sets the top of the source package directory tree. Defaults to "
  5655. "<filename>$(DIST)/$(SECTION)/source/</filename>"
  5656. msgstr ""
  5657. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5658. #: apt-ftparchive.1.xml:1
  5659. msgid ""
  5660. "Sets the output Packages file. Defaults to "
  5661. "<filename>$(DIST)/$(SECTION)/binary-$(ARCH)/Packages</filename>"
  5662. msgstr ""
  5663. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5664. #: apt-ftparchive.1.xml:1
  5665. msgid ""
  5666. "Sets the output Sources file. Defaults to "
  5667. "<filename>$(DIST)/$(SECTION)/source/Sources</filename>"
  5668. msgstr ""
  5669. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5670. #: apt-ftparchive.1.xml:1
  5671. msgid ""
  5672. "Sets the output Translation-en master file with the long descriptions if "
  5673. "they should be not included in the Packages file. Defaults to "
  5674. "<filename>$(DIST)/$(SECTION)/i18n/Translation-en</filename>"
  5675. msgstr ""
  5676. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5677. #: apt-ftparchive.1.xml:1
  5678. msgid ""
  5679. "Sets the path prefix that causes a symlink to be considered an internal link "
  5680. "instead of an external link. Defaults to "
  5681. "<filename>$(DIST)/$(SECTION)/</filename>"
  5682. msgstr ""
  5683. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5684. #: apt-ftparchive.1.xml:1
  5685. msgid ""
  5686. "Sets the output Contents file. Defaults to "
  5687. "<filename>$(DIST)/$(SECTION)/Contents-$(ARCH)</filename>. If this setting "
  5688. "causes multiple Packages files to map onto a single Contents file (as is the "
  5689. "default) then <command>apt-ftparchive</command> will integrate those "
  5690. "package files together automatically."
  5691. msgstr ""
  5692. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5693. #: apt-ftparchive.1.xml:1
  5694. msgid "Sets header file to prepend to the contents output."
  5695. msgstr ""
  5696. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5697. #: apt-ftparchive.1.xml:1
  5698. msgid ""
  5699. "Sets the binary cache database to use for this section. Multiple sections "
  5700. "can share the same database."
  5701. msgstr ""
  5702. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5703. #: apt-ftparchive.1.xml:1
  5704. msgid ""
  5705. "Specifies that instead of walking the directory tree, "
  5706. "<command>apt-ftparchive</command> should read the list of files from the "
  5707. "given file. Relative files names are prefixed with the archive directory."
  5708. msgstr ""
  5709. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5710. #: apt-ftparchive.1.xml:1
  5711. msgid ""
  5712. "Specifies that instead of walking the directory tree, "
  5713. "<command>apt-ftparchive</command> should read the list of files from the "
  5714. "given file. Relative files names are prefixed with the archive directory. "
  5715. "This is used when processing source indexes."
  5716. msgstr ""
  5717. #. type: Content of: <refentry><refsect1><refsect2><title>
  5718. #: apt-ftparchive.1.xml:1
  5719. msgid "<literal>Tree</literal> Section"
  5720. msgstr ""
  5721. #. type: Content of: <refentry><refsect1><refsect2><para>
  5722. #: apt-ftparchive.1.xml:1
  5723. msgid ""
  5724. "The <literal>Tree</literal> section defines a standard Debian file tree "
  5725. "which consists of a base directory, then multiple sections in that base "
  5726. "directory and finally multiple Architectures in each section. The exact "
  5727. "pathing used is defined by the <literal>Directory</literal> substitution "
  5728. "variable."
  5729. msgstr ""
  5730. #. type: Content of: <refentry><refsect1><refsect2><para>
  5731. #: apt-ftparchive.1.xml:1
  5732. msgid ""
  5733. "The <literal>Tree</literal> section takes a scope tag which sets the "
  5734. "<literal>$(DIST)</literal> variable and defines the root of the tree (the "
  5735. "path is prefixed by <literal>ArchiveDir</literal>). Typically this is a "
  5736. "setting such as <filename>dists/&debian-stable-codename;</filename>."
  5737. msgstr ""
  5738. #. type: Content of: <refentry><refsect1><refsect2><para>
  5739. #: apt-ftparchive.1.xml:1
  5740. msgid ""
  5741. "All of the settings defined in the <literal>TreeDefault</literal> section "
  5742. "can be used in a <literal>Tree</literal> section as well as three new "
  5743. "variables."
  5744. msgstr ""
  5745. #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
  5746. #: apt-ftparchive.1.xml:1
  5747. #, no-wrap
  5748. msgid ""
  5749. "for i in Sections do \n"
  5750. " for j in Architectures do\n"
  5751. " Generate for DIST=scope SECTION=i ARCH=j\n"
  5752. " "
  5753. msgstr ""
  5754. #. type: Content of: <refentry><refsect1><refsect2><para>
  5755. #: apt-ftparchive.1.xml:1
  5756. msgid ""
  5757. "When processing a <literal>Tree</literal> section "
  5758. "<command>apt-ftparchive</command> performs an operation similar to: "
  5759. "<placeholder type=\"programlisting\" id=\"0\"/>"
  5760. msgstr ""
  5761. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5762. #: apt-ftparchive.1.xml:1
  5763. msgid ""
  5764. "This is a space separated list of sections which appear under the "
  5765. "distribution; typically this is something like <literal>main contrib "
  5766. "non-free</literal>"
  5767. msgstr ""
  5768. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5769. #: apt-ftparchive.1.xml:1
  5770. msgid ""
  5771. "This is a space separated list of all the architectures that appear under "
  5772. "search section. The special architecture 'source' is used to indicate that "
  5773. "this tree has a source archive. The architecture 'all' signals that "
  5774. "architecture specific files like <filename>Packages</filename> should not "
  5775. "include information about architecture <literal>all</literal> packages in "
  5776. "all files as they will be available in a dedicated file."
  5777. msgstr ""
  5778. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5779. #: apt-ftparchive.1.xml:1
  5780. msgid ""
  5781. "Sets the binary override file. The override file contains section, priority "
  5782. "and maintainer address information."
  5783. msgstr ""
  5784. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5785. #: apt-ftparchive.1.xml:1
  5786. msgid ""
  5787. "Sets the source override file. The override file contains section "
  5788. "information."
  5789. msgstr ""
  5790. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5791. #: apt-ftparchive.1.xml:1 apt-ftparchive.1.xml:1
  5792. msgid "Sets the binary extra override file."
  5793. msgstr ""
  5794. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5795. #: apt-ftparchive.1.xml:1 apt-ftparchive.1.xml:1
  5796. msgid "Sets the source extra override file."
  5797. msgstr ""
  5798. #. type: Content of: <refentry><refsect1><refsect2><title>
  5799. #: apt-ftparchive.1.xml:1
  5800. msgid "<literal>BinDirectory</literal> Section"
  5801. msgstr ""
  5802. #. type: Content of: <refentry><refsect1><refsect2><para>
  5803. #: apt-ftparchive.1.xml:1
  5804. msgid ""
  5805. "The <literal>bindirectory</literal> section defines a binary directory tree "
  5806. "with no special structure. The scope tag specifies the location of the "
  5807. "binary directory and the settings are similar to the <literal>Tree</literal> "
  5808. "section with no substitution variables or "
  5809. "<literal>Section</literal><literal>Architecture</literal> settings."
  5810. msgstr ""
  5811. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5812. #: apt-ftparchive.1.xml:1
  5813. msgid "Sets the Packages file output."
  5814. msgstr ""
  5815. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5816. #: apt-ftparchive.1.xml:1
  5817. msgid ""
  5818. "Sets the Sources file output. At least one of <literal>Packages</literal> or "
  5819. "<literal>Sources</literal> is required."
  5820. msgstr ""
  5821. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5822. #: apt-ftparchive.1.xml:1
  5823. msgid "Sets the Contents file output (optional)."
  5824. msgstr ""
  5825. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5826. #: apt-ftparchive.1.xml:1
  5827. msgid "Sets the binary override file."
  5828. msgstr ""
  5829. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5830. #: apt-ftparchive.1.xml:1
  5831. msgid "Sets the source override file."
  5832. msgstr ""
  5833. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5834. #: apt-ftparchive.1.xml:1
  5835. msgid "Sets the cache DB."
  5836. msgstr ""
  5837. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5838. #: apt-ftparchive.1.xml:1
  5839. msgid "Appends a path to all the output paths."
  5840. msgstr ""
  5841. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5842. #: apt-ftparchive.1.xml:1
  5843. msgid "Specifies the file list file."
  5844. msgstr ""
  5845. #. type: Content of: <refentry><refsect1><title>
  5846. #: apt-ftparchive.1.xml:1
  5847. msgid "The Binary Override File"
  5848. msgstr ""
  5849. #. type: Content of: <refentry><refsect1><para>
  5850. #: apt-ftparchive.1.xml:1
  5851. msgid ""
  5852. "The binary override file is fully compatible with &dpkg-scanpackages;. It "
  5853. "contains four fields separated by spaces. The first field is the package "
  5854. "name, the second is the priority to force that package to, the third is the "
  5855. "section to force that package to and the final field is the maintainer "
  5856. "permutation field."
  5857. msgstr ""
  5858. #. type: Content of: <refentry><refsect1><para><literallayout>
  5859. #: apt-ftparchive.1.xml:1
  5860. #, no-wrap
  5861. msgid "old [// oldn]* => new"
  5862. msgstr ""
  5863. #. type: Content of: <refentry><refsect1><para><literallayout>
  5864. #: apt-ftparchive.1.xml:1
  5865. #, no-wrap
  5866. msgid "new"
  5867. msgstr ""
  5868. #. type: Content of: <refentry><refsect1><para>
  5869. #: apt-ftparchive.1.xml:1
  5870. msgid ""
  5871. "The general form of the maintainer field is: <placeholder "
  5872. "type=\"literallayout\" id=\"0\"/> or simply, <placeholder "
  5873. "type=\"literallayout\" id=\"1\"/> The first form allows a double-slash "
  5874. "separated list of old email addresses to be specified. If any of those are "
  5875. "found then new is substituted for the maintainer field. The second form "
  5876. "unconditionally substitutes the maintainer field."
  5877. msgstr ""
  5878. #. type: Content of: <refentry><refsect1><title>
  5879. #: apt-ftparchive.1.xml:1
  5880. msgid "The Source Override File"
  5881. msgstr ""
  5882. #. type: Content of: <refentry><refsect1><para>
  5883. #: apt-ftparchive.1.xml:1
  5884. msgid ""
  5885. "The source override file is fully compatible with &dpkg-scansources;. It "
  5886. "contains two fields separated by spaces. The first field is the source "
  5887. "package name, the second is the section to assign it."
  5888. msgstr ""
  5889. #. type: Content of: <refentry><refsect1><title>
  5890. #: apt-ftparchive.1.xml:1
  5891. msgid "The Extra Override File"
  5892. msgstr ""
  5893. #. type: Content of: <refentry><refsect1><para>
  5894. #: apt-ftparchive.1.xml:1
  5895. msgid ""
  5896. "The extra override file allows any arbitrary tag to be added or replaced in "
  5897. "the output. It has three columns, the first is the package, the second is "
  5898. "the tag and the remainder of the line is the new value."
  5899. msgstr ""
  5900. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  5901. #: apt-ftparchive.1.xml:1
  5902. msgid ""
  5903. "Generate the given checksum. These options default to on, when turned off "
  5904. "the generated index files will not have the checksum fields where possible. "
  5905. "Configuration Items: "
  5906. "<literal>APT::FTPArchive::<replaceable>Checksum</replaceable></literal> and "
  5907. "<literal>APT::FTPArchive::<replaceable>Index</replaceable>::<replaceable>Checksum</replaceable></literal> "
  5908. "where <literal><replaceable>Index</replaceable></literal> can be "
  5909. "<literal>Packages</literal>, <literal>Sources</literal> or "
  5910. "<literal>Release</literal> and "
  5911. "<literal><replaceable>Checksum</replaceable></literal> can be "
  5912. "<literal>MD5</literal>, <literal>SHA1</literal>, <literal>SHA256</literal> "
  5913. "or <literal>SHA512</literal>."
  5914. msgstr ""
  5915. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  5916. #: apt-ftparchive.1.xml:1
  5917. msgid ""
  5918. "Use a binary caching DB. This has no effect on the generate command. "
  5919. "Configuration Item: <literal>APT::FTPArchive::DB</literal>."
  5920. msgstr ""
  5921. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  5922. #: apt-ftparchive.1.xml:1
  5923. msgid ""
  5924. "Quiet; produces output suitable for logging, omitting progress indicators. "
  5925. "More q's will produce more quiet up to a maximum of 2. You can also use "
  5926. "<option>-q=#</option> to set the quiet level, overriding the configuration "
  5927. "file. Configuration Item: <literal>quiet</literal>."
  5928. msgstr ""
  5929. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  5930. #: apt-ftparchive.1.xml:1
  5931. msgid ""
  5932. "Perform Delinking. If the <literal>External-Links</literal> setting is used "
  5933. "then this option actually enables delinking of the files. It defaults to on "
  5934. "and can be turned off with <option>--no-delink</option>. Configuration "
  5935. "Item: <literal>APT::FTPArchive::DeLinkAct</literal>."
  5936. msgstr ""
  5937. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  5938. #: apt-ftparchive.1.xml:1
  5939. msgid ""
  5940. "Perform contents generation. When this option is set and package indexes are "
  5941. "being generated with a cache DB then the file listing will also be extracted "
  5942. "and stored in the DB for later use. When using the generate command this "
  5943. "option also allows the creation of any Contents files. The default is on. "
  5944. "Configuration Item: <literal>APT::FTPArchive::Contents</literal>."
  5945. msgstr ""
  5946. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  5947. #: apt-ftparchive.1.xml:1
  5948. msgid ""
  5949. "Select the source override file to use with the <literal>sources</literal> "
  5950. "command. Configuration Item: "
  5951. "<literal>APT::FTPArchive::SourceOverride</literal>."
  5952. msgstr ""
  5953. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  5954. #: apt-ftparchive.1.xml:1
  5955. msgid ""
  5956. "Make the caching databases read only. Configuration Item: "
  5957. "<literal>APT::FTPArchive::ReadOnlyDB</literal>."
  5958. msgstr ""
  5959. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  5960. #: apt-ftparchive.1.xml:1
  5961. msgid ""
  5962. "Accept in the <literal>packages</literal> and <literal>contents</literal> "
  5963. "commands only package files matching <literal>*_arch.deb</literal> or "
  5964. "<literal>*_all.deb</literal> instead of all package files in the given "
  5965. "path. Configuration Item: <literal>APT::FTPArchive::Architecture</literal>."
  5966. msgstr ""
  5967. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  5968. #: apt-ftparchive.1.xml:1
  5969. msgid ""
  5970. "&apt-ftparchive; caches as much as possible of metadata in a cachedb. If "
  5971. "packages are recompiled and/or republished with the same version again, this "
  5972. "will lead to problems as the now outdated cached metadata like size and "
  5973. "checksums will be used. With this option enabled this will no longer happen "
  5974. "as it will be checked if the file was changed. Note that this option is set "
  5975. "to \"<literal>false</literal>\" by default as it is not recommend to upload "
  5976. "multiply versions/builds of a package with the same versionnumber, so in "
  5977. "theory nobody will have these problems and therefore all these extra checks "
  5978. "are useless."
  5979. msgstr ""
  5980. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  5981. #: apt-ftparchive.1.xml:1
  5982. msgid ""
  5983. "This configuration option defaults to \"<literal>true</literal>\" and should "
  5984. "only be set to <literal>\"false\"</literal> if the Archive generated with "
  5985. "&apt-ftparchive; also provides <filename>Translation</filename> files. Note "
  5986. "that the <filename>Translation-en</filename> master file can only be created "
  5987. "in the generate command."
  5988. msgstr ""
  5989. #. type: Content of: <refentry><refsect1><para><programlisting>
  5990. #: apt-ftparchive.1.xml:1
  5991. #, no-wrap
  5992. msgid ""
  5993. "<command>apt-ftparchive</command> packages "
  5994. "<replaceable>directory</replaceable> | <command>gzip</command> > "
  5995. "<filename>Packages.gz</filename>\n"
  5996. msgstr ""
  5997. #. type: Content of: <refentry><refsect1><para>
  5998. #: apt-ftparchive.1.xml:1
  5999. msgid ""
  6000. "To create a compressed Packages file for a directory containing binary "
  6001. "packages (.deb): <placeholder type=\"programlisting\" id=\"0\"/>"
  6002. msgstr ""
  6003. #. type: Content of: <refentry><refsect1><para>
  6004. #: apt-ftparchive.1.xml:1
  6005. msgid ""
  6006. "<command>apt-ftparchive</command> returns zero on normal operation, decimal "
  6007. "100 on error."
  6008. msgstr ""
  6009. #. type: Attribute 'lang' of: <book>
  6010. #: guide.dbk:1 offline.dbk:1
  6011. msgid "en"
  6012. msgstr ""
  6013. #. type: Content of: <book><title>
  6014. #: guide.dbk:1
  6015. msgid "APT User's Guide"
  6016. msgstr ""
  6017. #. type: Content of: <book><bookinfo><authorgroup><author><personname>
  6018. #: guide.dbk:1 offline.dbk:1
  6019. msgid "Jason Gunthorpe"
  6020. msgstr ""
  6021. #. type: Content of: <book><bookinfo><authorgroup><author><email>
  6022. #: guide.dbk:1 offline.dbk:1
  6023. msgid "jgg@debian.org"
  6024. msgstr ""
  6025. #. type: Content of: <book><bookinfo><releaseinfo>
  6026. #: guide.dbk:1 offline.dbk:1
  6027. msgid "Version &apt-product-version;"
  6028. msgstr ""
  6029. #. type: Content of: <book><bookinfo><abstract><para>
  6030. #: guide.dbk:1
  6031. msgid ""
  6032. "This document provides an overview of how to use the the APT package "
  6033. "manager."
  6034. msgstr ""
  6035. #. type: Content of: <book><bookinfo>
  6036. #: guide.dbk:1
  6037. msgid "<copyright><year>1998</year><holder>Jason Gunthorpe</holder></copyright>"
  6038. msgstr ""
  6039. #. type: Content of: <book><bookinfo><legalnotice><title>
  6040. #: guide.dbk:1 offline.dbk:1
  6041. msgid "License Notice"
  6042. msgstr ""
  6043. #. type: Content of: <book><bookinfo><legalnotice><para>
  6044. #: guide.dbk:1 offline.dbk:1
  6045. msgid ""
  6046. "\"APT\" and this document are free software; you can redistribute them "
  6047. "and/or modify them under the terms of the GNU General Public License as "
  6048. "published by the Free Software Foundation; either version 2 of the License, "
  6049. "or (at your option) any later version."
  6050. msgstr ""
  6051. #. type: Content of: <book><bookinfo><legalnotice><para>
  6052. #: guide.dbk:1 offline.dbk:1
  6053. msgid ""
  6054. "For more details, on Debian systems, see the file "
  6055. "/usr/share/common-licenses/GPL for the full license."
  6056. msgstr ""
  6057. #. type: Content of: <book><chapter><title>
  6058. #: guide.dbk:1
  6059. msgid "General"
  6060. msgstr ""
  6061. #. type: Content of: <book><chapter><para>
  6062. #: guide.dbk:1
  6063. msgid ""
  6064. "The APT package currently contains two sections, the APT "
  6065. "<command>dselect</command> method and the <command>apt-get</command> command "
  6066. "line user interface. Both provide a way to install and remove packages as "
  6067. "well as download new packages from the Internet."
  6068. msgstr ""
  6069. #. type: Content of: <book><chapter><section><title>
  6070. #: guide.dbk:1
  6071. msgid "Anatomy of the Package System"
  6072. msgstr ""
  6073. #. type: Content of: <book><chapter><section><para>
  6074. #: guide.dbk:1
  6075. msgid ""
  6076. "The Debian packaging system has a large amount of information associated "
  6077. "with each package to help assure that it integrates cleanly and easily into "
  6078. "the system. The most prominent of its features is the dependency system."
  6079. msgstr ""
  6080. #. type: Content of: <book><chapter><section><para>
  6081. #: guide.dbk:1
  6082. msgid ""
  6083. "The dependency system allows individual programs to make use of shared "
  6084. "elements in the system such as libraries. It simplifies placing infrequently "
  6085. "used portions of a program in separate packages to reduce the number of "
  6086. "things the average user is required to install. Also, it allows for choices "
  6087. "in mail transport agents, X servers and so on."
  6088. msgstr ""
  6089. #. type: Content of: <book><chapter><section><para>
  6090. #: guide.dbk:1
  6091. msgid ""
  6092. "The first step to understanding the dependency system is to grasp the "
  6093. "concept of a simple dependency. The meaning of a simple dependency is that a "
  6094. "package requires another package to be installed at the same time to work "
  6095. "properly."
  6096. msgstr ""
  6097. #. type: Content of: <book><chapter><section><para>
  6098. #: guide.dbk:1
  6099. msgid ""
  6100. "For instance, mailcrypt is an emacs extension that aids in encrypting email "
  6101. "with GPG. Without GPGP installed mailcrypt is useless, so mailcrypt has a "
  6102. "simple dependency on GPG. Also, because it is an emacs extension it has a "
  6103. "simple dependency on emacs, without emacs it is completely useless."
  6104. msgstr ""
  6105. #. type: Content of: <book><chapter><section><para>
  6106. #: guide.dbk:1
  6107. msgid ""
  6108. "The other important dependency to understand is a conflicting dependency. It "
  6109. "means that a package, when installed with another package, will not work and "
  6110. "may possibly be extremely harmful to the system. As an example consider a "
  6111. "mail transport agent such as sendmail, exim or qmail. It is not possible to "
  6112. "have two mail transport agents installed because both need to listen to the "
  6113. "network to receive mail. Attempting to install two will seriously damage the "
  6114. "system so all mail transport agents have a conflicting dependency with all "
  6115. "other mail transport agents."
  6116. msgstr ""
  6117. #. type: Content of: <book><chapter><section><para>
  6118. #: guide.dbk:1
  6119. msgid ""
  6120. "As an added complication there is the possibility for a package to pretend "
  6121. "to be another package. Consider that exim and sendmail for many intents are "
  6122. "identical, they both deliver mail and understand a common interface. Hence, "
  6123. "the package system has a way for them to declare that they are both "
  6124. "mail-transport-agents. So, exim and sendmail both declare that they provide "
  6125. "a mail-transport-agent and other packages that need a mail transport agent "
  6126. "depend on mail-transport-agent. This can add a great deal of confusion when "
  6127. "trying to manually fix packages."
  6128. msgstr ""
  6129. #. type: Content of: <book><chapter><section><para>
  6130. #: guide.dbk:1
  6131. msgid ""
  6132. "At any given time a single dependency may be met by packages that are "
  6133. "already installed or it may not be. APT attempts to help resolve dependency "
  6134. "issues by providing a number of automatic algorithms that help in selecting "
  6135. "packages for installation."
  6136. msgstr ""
  6137. #. type: Content of: <book><chapter><title>
  6138. #: guide.dbk:1
  6139. msgid "apt-get"
  6140. msgstr ""
  6141. #. type: Content of: <book><chapter><para>
  6142. #: guide.dbk:1
  6143. msgid ""
  6144. "<command>apt-get</command> provides a simple way to install packages from "
  6145. "the command line. Unlike <command>dpkg</command>, <command>apt-get</command> "
  6146. "does not understand .deb files, it works with the package's proper name and "
  6147. "can only install .deb archives from a <emphasis>Source</emphasis>."
  6148. msgstr ""
  6149. #. type: Content of: <book><chapter><para><footnote><para>
  6150. #: guide.dbk:1
  6151. msgid ""
  6152. "If you are using an http proxy server you must set the http_proxy "
  6153. "environment variable first, see sources.list(5)"
  6154. msgstr ""
  6155. #. type: Content of: <book><chapter><para>
  6156. #: guide.dbk:1
  6157. msgid ""
  6158. "The first <placeholder type=\"footnote\" id=\"0\"/> thing that should be "
  6159. "done before using <command>apt-get</command> is to fetch the package lists "
  6160. "from the <emphasis>Sources</emphasis> so that it knows what packages are "
  6161. "available. This is done with <literal>apt-get update</literal>. For "
  6162. "instance,"
  6163. msgstr ""
  6164. #. type: Content of: <book><chapter><screen>
  6165. #: guide.dbk:1
  6166. #, no-wrap
  6167. msgid ""
  6168. "# apt-get update\n"
  6169. "Get http://ftp.de.debian.org/debian-non-US/ stable/binary-i386/ Packages\n"
  6170. "Get http://llug.sep.bnl.gov/debian/ testing/contrib Packages\n"
  6171. "Reading Package Lists... Done\n"
  6172. "Building Dependency Tree... Done\n"
  6173. msgstr ""
  6174. #. type: Content of: <book><chapter><para>
  6175. #: guide.dbk:1
  6176. msgid "Once updated there are several commands that can be used:"
  6177. msgstr ""
  6178. #. type: Content of: <book><chapter><variablelist><varlistentry><term>
  6179. #: guide.dbk:1
  6180. msgid "upgrade"
  6181. msgstr ""
  6182. #. type: Content of: <book><chapter><variablelist><varlistentry><listitem><para>
  6183. #: guide.dbk:1
  6184. msgid ""
  6185. "Upgrade will attempt to gently upgrade the whole system. Upgrade will never "
  6186. "install a new package or remove an existing package, nor will it ever "
  6187. "upgrade a package that might cause some other package to break. This can be "
  6188. "used daily to relatively safely upgrade the system. Upgrade will list all of "
  6189. "the packages that it could not upgrade, this usually means that they depend "
  6190. "on new packages or conflict with some other "
  6191. "package. <command>dselect</command> or <literal>apt-get install</literal> "
  6192. "can be used to force these packages to install."
  6193. msgstr ""
  6194. #. type: Content of: <book><chapter><variablelist><varlistentry><term>
  6195. #: guide.dbk:1
  6196. msgid "install"
  6197. msgstr ""
  6198. #. type: Content of: <book><chapter><variablelist><varlistentry><listitem><para>
  6199. #: guide.dbk:1
  6200. msgid ""
  6201. "Install is used to install packages by name. The package is automatically "
  6202. "fetched and installed. This can be useful if you already know the name of "
  6203. "the package to install and do not want to go into a GUI to select it. Any "
  6204. "number of packages may be passed to install, they will all be "
  6205. "fetched. Install automatically attempts to resolve dependency problems with "
  6206. "the listed packages and will print a summary and ask for confirmation if "
  6207. "anything other than its arguments are changed."
  6208. msgstr ""
  6209. #. type: Content of: <book><chapter><variablelist><varlistentry><term>
  6210. #: guide.dbk:1
  6211. msgid "dist-upgrade"
  6212. msgstr ""
  6213. #. type: Content of: <book><chapter><variablelist><varlistentry><listitem><para>
  6214. #: guide.dbk:1
  6215. msgid ""
  6216. "Dist-upgrade is a complete upgrader designed to simplify upgrading between "
  6217. "releases of Debian. It uses a sophisticated algorithm to determine the best "
  6218. "set of packages to install, upgrade and remove to get as much of the system "
  6219. "to the newest release. In some situations it may be desired to use "
  6220. "dist-upgrade rather than spend the time manually resolving dependencies in "
  6221. "<command>dselect</command>. Once dist-upgrade has completed then "
  6222. "<command>dselect</command> can be used to install any packages that may have "
  6223. "been left out."
  6224. msgstr ""
  6225. #. type: Content of: <book><chapter><variablelist><varlistentry><listitem><para>
  6226. #: guide.dbk:1
  6227. msgid ""
  6228. "It is important to closely look at what dist-upgrade is going to do, its "
  6229. "decisions may sometimes be quite surprising."
  6230. msgstr ""
  6231. #. type: Content of: <book><chapter><para>
  6232. #: guide.dbk:1
  6233. msgid ""
  6234. "<command>apt-get</command> has several command line options that are "
  6235. "detailed in its man page, "
  6236. "<citerefentry><refentrytitle>apt-get</refentrytitle><manvolnum>8</manvolnum></citerefentry>. "
  6237. "The most useful option is <literal>-d</literal> which does not install the "
  6238. "fetched files. If the system has to download a large number of package it "
  6239. "would be undesired to start installing them in case something goes "
  6240. "wrong. When <literal>-d</literal> is used the downloaded archives can be "
  6241. "installed by simply running the command that caused them to be downloaded "
  6242. "again without <literal>-d</literal>."
  6243. msgstr ""
  6244. #. type: Content of: <book><chapter><title>
  6245. #: guide.dbk:1
  6246. msgid "DSelect"
  6247. msgstr ""
  6248. #. type: Content of: <book><chapter><para>
  6249. #: guide.dbk:1
  6250. msgid ""
  6251. "The APT <command>dselect</command> method provides the complete APT system "
  6252. "with the <command>dselect</command> package selection "
  6253. "GUI. <command>dselect</command> is used to select the packages to be "
  6254. "installed or removed and APT actually installs them."
  6255. msgstr ""
  6256. #. type: Content of: <book><chapter><para>
  6257. #: guide.dbk:1
  6258. msgid ""
  6259. "To enable the APT method you need to select [A]ccess in "
  6260. "<command>dselect</command> and then choose the APT method. You will be "
  6261. "prompted for a set of <emphasis>Sources</emphasis> which are places to fetch "
  6262. "archives from. These can be remote Internet sites, local Debian mirrors or "
  6263. "CD-ROMs. Each source can provide a fragment of the total Debian archive, APT "
  6264. "will automatically combine them to form a complete set of packages. If you "
  6265. "have a CD-ROM then it is a good idea to specify it first and then specify a "
  6266. "mirror so that you have access to the latest bug fixes. APT will "
  6267. "automatically use packages on your CD-ROM before downloading from the "
  6268. "Internet."
  6269. msgstr ""
  6270. #. type: Content of: <book><chapter><screen>
  6271. #: guide.dbk:1
  6272. #, no-wrap
  6273. msgid ""
  6274. " Set up a list of distribution source locations\n"
  6275. "\n"
  6276. " Please give the base URL of the debian distribution.\n"
  6277. " The access schemes I know about are: http file\n"
  6278. "\n"
  6279. " For example:\n"
  6280. " file:/mnt/debian,\n"
  6281. " ftp://ftp.debian.org/debian,\n"
  6282. " http://ftp.de.debian.org/debian,\n"
  6283. "\n"
  6284. "\n"
  6285. " URL [http://llug.sep.bnl.gov/debian]:\n"
  6286. msgstr ""
  6287. #. type: Content of: <book><chapter><para>
  6288. #: guide.dbk:1
  6289. msgid ""
  6290. "The <emphasis>Sources</emphasis> setup starts by asking for the base of the "
  6291. "Debian archive, defaulting to a HTTP mirror. Next it asks for the "
  6292. "distribution to get."
  6293. msgstr ""
  6294. #. type: Content of: <book><chapter><screen>
  6295. #: guide.dbk:1
  6296. #, no-wrap
  6297. msgid ""
  6298. " Please give the distribution tag to get or a path to the\n"
  6299. " package file ending in a /. The distribution\n"
  6300. " tags are typically something like: stable unstable testing non-US\n"
  6301. "\n"
  6302. " Distribution [stable]:\n"
  6303. msgstr ""
  6304. #. type: Content of: <book><chapter><para>
  6305. #: guide.dbk:1
  6306. msgid ""
  6307. "The distribution refers to the Debian version in the archive, "
  6308. "<emphasis>stable</emphasis> refers to the latest released version and "
  6309. "<emphasis>unstable</emphasis> refers to the developmental "
  6310. "version. <emphasis>non-US</emphasis> is only available on some mirrors and "
  6311. "refers to packages that contain encryption technology or other things that "
  6312. "cannot be exported from the United States. Importing these packages into the "
  6313. "US is legal however."
  6314. msgstr ""
  6315. #. type: Content of: <book><chapter><screen>
  6316. #: guide.dbk:1
  6317. #, no-wrap
  6318. msgid ""
  6319. " Please give the components to get\n"
  6320. " The components are typically something like: main contrib non-free\n"
  6321. "\n"
  6322. " Components [main contrib non-free]:\n"
  6323. msgstr ""
  6324. #. type: Content of: <book><chapter><para>
  6325. #: guide.dbk:1
  6326. msgid ""
  6327. "The components list refers to the list of sub distributions to fetch. The "
  6328. "distribution is split up based on software licenses, main being DFSG free "
  6329. "packages while contrib and non-free contain things that have various "
  6330. "restrictions placed on their use and distribution."
  6331. msgstr ""
  6332. #. type: Content of: <book><chapter><para>
  6333. #: guide.dbk:1
  6334. msgid ""
  6335. "Any number of sources can be added, the setup script will continue to prompt "
  6336. "until you have specified all that you want."
  6337. msgstr ""
  6338. #. type: Content of: <book><chapter><para>
  6339. #: guide.dbk:1
  6340. msgid ""
  6341. "Before starting to use <command>dselect</command> it is necessary to update "
  6342. "the available list by selecting [U]pdate from the menu. This is a superset "
  6343. "of <literal>apt-get update</literal> that makes the fetched information "
  6344. "available to <command>dselect</command>. [U]pdate must be performed even if "
  6345. "<literal>apt-get update</literal> has been run before."
  6346. msgstr ""
  6347. #. type: Content of: <book><chapter><para>
  6348. #: guide.dbk:1
  6349. msgid ""
  6350. "You can then go on and make your selections using [S]elect and then perform "
  6351. "the installation using [I]nstall. When using the APT method the [C]onfig and "
  6352. "[R]emove commands have no meaning, the [I]nstall command performs both of "
  6353. "them together."
  6354. msgstr ""
  6355. #. type: Content of: <book><chapter><para>
  6356. #: guide.dbk:1
  6357. msgid ""
  6358. "By default APT will automatically remove the package (.deb) files once they "
  6359. "have been successfully installed. To change this behavior place "
  6360. "<literal>Dselect::clean \"prompt\";</literal> in /etc/apt/apt.conf."
  6361. msgstr ""
  6362. #. type: Content of: <book><chapter><title>
  6363. #: guide.dbk:1
  6364. msgid "The Interface"
  6365. msgstr ""
  6366. #. type: Content of: <book><chapter><para><footnote><para>
  6367. #: guide.dbk:1
  6368. msgid ""
  6369. "The <command>dselect</command> method actually is a set of wrapper scripts "
  6370. "to <command>apt-get</command>. The method actually provides more "
  6371. "functionality than is present in <command>apt-get</command> alone."
  6372. msgstr ""
  6373. #. type: Content of: <book><chapter><para>
  6374. #: guide.dbk:1
  6375. msgid ""
  6376. "Both that APT <command>dselect</command> method and "
  6377. "<command>apt-get</command> share the same interface. It is a simple system "
  6378. "that generally tells you what it will do and then goes and does "
  6379. "it. <placeholder type=\"footnote\" id=\"0\"/> After printing out a summary "
  6380. "of what will happen APT then will print out some informative status messages "
  6381. "so that you can estimate how far along it is and how much is left to do."
  6382. msgstr ""
  6383. #. type: Content of: <book><chapter><section><title>
  6384. #: guide.dbk:1
  6385. msgid "Startup"
  6386. msgstr ""
  6387. #. type: Content of: <book><chapter><section><para>
  6388. #: guide.dbk:1
  6389. msgid ""
  6390. "Before all operations except update, APT performs a number of actions to "
  6391. "prepare its internal state. It also does some checks of the system's "
  6392. "state. At any time these operations can be performed by running "
  6393. "<literal>apt-get check</literal>."
  6394. msgstr ""
  6395. #. type: Content of: <book><chapter><section><screen>
  6396. #: guide.dbk:1
  6397. #, no-wrap
  6398. msgid ""
  6399. "# apt-get check\n"
  6400. "Reading Package Lists... Done\n"
  6401. "Building Dependency Tree... Done\n"
  6402. msgstr ""
  6403. #. type: Content of: <book><chapter><section><para>
  6404. #: guide.dbk:1
  6405. msgid ""
  6406. "The first thing it does is read all the package files into memory. APT uses "
  6407. "a caching scheme so this operation will be faster the second time it is "
  6408. "run. If some of the package files are not found then they will be ignored "
  6409. "and a warning will be printed when apt-get exits."
  6410. msgstr ""
  6411. #. type: Content of: <book><chapter><section><para>
  6412. #: guide.dbk:1
  6413. msgid ""
  6414. "The final operation performs a detailed analysis of the system's "
  6415. "dependencies. It checks every dependency of every installed or unpacked "
  6416. "package and considers if it is OK. Should this find a problem then a report "
  6417. "will be printed out and <command>apt-get</command> will refuse to run."
  6418. msgstr ""
  6419. #. type: Content of: <book><chapter><section><screen>
  6420. #: guide.dbk:1
  6421. #, no-wrap
  6422. msgid ""
  6423. "# apt-get check\n"
  6424. "Reading Package Lists... Done\n"
  6425. "Building Dependency Tree... Done\n"
  6426. "You might want to run apt-get -f install' to correct these.\n"
  6427. "Sorry, but the following packages have unmet dependencies:\n"
  6428. " 9fonts: Depends: xlib6g but it is not installed\n"
  6429. " uucp: Depends: mailx but it is not installed\n"
  6430. " blast: Depends: xlib6g (&gt;= 3.3-5) but it is not installed\n"
  6431. " adduser: Depends: perl-base but it is not installed\n"
  6432. " aumix: Depends: libgpmg1 but it is not installed\n"
  6433. " debiandoc-sgml: Depends: sgml-base but it is not installed\n"
  6434. " bash-builtins: Depends: bash (&gt;= 2.01) but 2.0-3 is installed\n"
  6435. " cthugha: Depends: svgalibg1 but it is not installed\n"
  6436. " Depends: xlib6g (&gt;= 3.3-5) but it is not installed\n"
  6437. " libreadlineg2: Conflicts:libreadline2 (&lt;&lt; 2.1-2.1)\n"
  6438. msgstr ""
  6439. #. type: Content of: <book><chapter><section><para>
  6440. #: guide.dbk:1
  6441. msgid ""
  6442. "In this example the system has many problems, including a serious problem "
  6443. "with libreadlineg2. For each package that has unmet dependencies a line is "
  6444. "printed out indicating the package with the problem and the dependencies "
  6445. "that are unmet. A short explanation of why the package has a dependency "
  6446. "problem is also included."
  6447. msgstr ""
  6448. #. type: Content of: <book><chapter><section><para><footnote><para>
  6449. #: guide.dbk:1
  6450. msgid ""
  6451. "APT however considers all known dependencies and attempts to prevent broken "
  6452. "packages"
  6453. msgstr ""
  6454. #. type: Content of: <book><chapter><section><para>
  6455. #: guide.dbk:1
  6456. msgid ""
  6457. "There are two ways a system can get into a broken state like this. The first "
  6458. "is caused by <command>dpkg</command> missing some subtle relationships "
  6459. "between packages when performing upgrades. <placeholder type=\"footnote\" "
  6460. "id=\"0\"/>. The second is if a package installation fails during an "
  6461. "operation. In this situation a package may have been unpacked without its "
  6462. "dependents being installed."
  6463. msgstr ""
  6464. #. type: Content of: <book><chapter><section><para>
  6465. #: guide.dbk:1
  6466. msgid ""
  6467. "The second situation is much less serious than the first because APT places "
  6468. "certain constraints on the order that packages are installed. In both cases "
  6469. "supplying the <literal>-f</literal> option to <command>apt-get</command> "
  6470. "will cause APT to deduce a possible solution to the problem and then "
  6471. "continue on. The APT <command>dselect</command> method always supplies the "
  6472. "<literal>-f</literal> option to allow for easy continuation of failed "
  6473. "maintainer scripts."
  6474. msgstr ""
  6475. #. type: Content of: <book><chapter><section><para>
  6476. #: guide.dbk:1
  6477. msgid ""
  6478. "However, if the <literal>-f</literal> option is used to correct a seriously "
  6479. "broken system caused by the first case then it is possible that it will "
  6480. "either fail immediately or the installation sequence will fail. In either "
  6481. "case it is necessary to manually use dpkg (possibly with forcing options) to "
  6482. "correct the situation enough to allow APT to proceed."
  6483. msgstr ""
  6484. #. type: Content of: <book><chapter><section><title>
  6485. #: guide.dbk:1
  6486. msgid "The Status Report"
  6487. msgstr ""
  6488. #. type: Content of: <book><chapter><section><para>
  6489. #: guide.dbk:1
  6490. msgid ""
  6491. "Before proceeding <command>apt-get</command> will present a report on what "
  6492. "will happen. Generally the report reflects the type of operation being "
  6493. "performed but there are several common elements. In all cases the lists "
  6494. "reflect the final state of things, taking into account the "
  6495. "<literal>-f</literal> option and any other relevant activities to the "
  6496. "command being executed."
  6497. msgstr ""
  6498. #. type: Content of: <book><chapter><section><section><title>
  6499. #: guide.dbk:1
  6500. msgid "The Extra Package list"
  6501. msgstr ""
  6502. #. type: Content of: <book><chapter><section><section><screen>
  6503. #: guide.dbk:1
  6504. #, no-wrap
  6505. msgid ""
  6506. "The following extra packages will be installed:\n"
  6507. " libdbd-mysql-perl xlib6 zlib1 xzx libreadline2 libdbd-msql-perl\n"
  6508. " mailpgp xdpkg fileutils pinepgp zlib1g xlib6g perl-base\n"
  6509. " bin86 libgdbm1 libgdbmg1 quake-lib gmp2 bcc xbuffy\n"
  6510. " squake pgp-i python-base debmake ldso perl libreadlineg2\n"
  6511. " ssh\n"
  6512. msgstr ""
  6513. #. type: Content of: <book><chapter><section><section><para>
  6514. #: guide.dbk:1
  6515. msgid ""
  6516. "The Extra Package list shows all of the packages that will be installed or "
  6517. "upgraded in excess of the ones mentioned on the command line. It is only "
  6518. "generated for an <literal>install</literal> command. The listed packages are "
  6519. "often the result of an Auto Install."
  6520. msgstr ""
  6521. #. type: Content of: <book><chapter><section><section><title>
  6522. #: guide.dbk:1
  6523. msgid "The Packages to Remove"
  6524. msgstr ""
  6525. #. type: Content of: <book><chapter><section><section><screen>
  6526. #: guide.dbk:1
  6527. #, no-wrap
  6528. msgid ""
  6529. "The following packages will be REMOVED:\n"
  6530. " xlib6-dev xpat2 tk40-dev xkeycaps xbattle xonix\n"
  6531. " xdaliclock tk40 tk41 xforms0.86 ghostview xloadimage xcolorsel\n"
  6532. " xadmin xboard perl-debug tkined xtetris libreadline2-dev perl-suid\n"
  6533. " nas xpilot xfig\n"
  6534. msgstr ""
  6535. #. type: Content of: <book><chapter><section><section><para>
  6536. #: guide.dbk:1
  6537. msgid ""
  6538. "The Packages to Remove list shows all of the packages that will be removed "
  6539. "from the system. It can be shown for any of the operations and should be "
  6540. "given a careful inspection to ensure nothing important is to be taken "
  6541. "off. The <literal>-f</literal> option is especially good at generating "
  6542. "packages to remove so extreme care should be used in that case. The list may "
  6543. "contain packages that are going to be removed because they are only "
  6544. "partially installed, possibly due to an aborted installation."
  6545. msgstr ""
  6546. #. type: Content of: <book><chapter><section><section><title>
  6547. #: guide.dbk:1
  6548. msgid "The New Packages list"
  6549. msgstr ""
  6550. #. type: Content of: <book><chapter><section><section><screen>
  6551. #: guide.dbk:1
  6552. #, no-wrap
  6553. msgid ""
  6554. "The following NEW packages will installed:\n"
  6555. " zlib1g xlib6g perl-base libgdbmg1 quake-lib gmp2 pgp-i python-base\n"
  6556. msgstr ""
  6557. #. type: Content of: <book><chapter><section><section><para>
  6558. #: guide.dbk:1
  6559. msgid ""
  6560. "The New Packages list is simply a reminder of what will happen. The packages "
  6561. "listed are not presently installed in the system but will be when APT is "
  6562. "done."
  6563. msgstr ""
  6564. #. type: Content of: <book><chapter><section><section><title>
  6565. #: guide.dbk:1
  6566. msgid "The Kept Back list"
  6567. msgstr ""
  6568. #. type: Content of: <book><chapter><section><section><screen>
  6569. #: guide.dbk:1
  6570. #, no-wrap
  6571. msgid ""
  6572. "The following packages have been kept back\n"
  6573. " compface man-db tetex-base msql libpaper svgalib1\n"
  6574. " gs snmp arena lynx xpat2 groff xscreensaver\n"
  6575. msgstr ""
  6576. #. type: Content of: <book><chapter><section><section><para>
  6577. #: guide.dbk:1
  6578. msgid ""
  6579. "Whenever the whole system is being upgraded there is the possibility that "
  6580. "new versions of packages cannot be installed because they require new things "
  6581. "or conflict with already installed things. In this case the package will "
  6582. "appear in the Kept Back list. The best way to convince packages listed there "
  6583. "to install is with <literal>apt-get install</literal> or by using "
  6584. "<command>dselect</command> to resolve their problems."
  6585. msgstr ""
  6586. #. type: Content of: <book><chapter><section><section><title>
  6587. #: guide.dbk:1
  6588. msgid "Held Packages warning"
  6589. msgstr ""
  6590. #. type: Content of: <book><chapter><section><section><screen>
  6591. #: guide.dbk:1
  6592. #, no-wrap
  6593. msgid ""
  6594. "The following held packages will be changed:\n"
  6595. " cvs\n"
  6596. msgstr ""
  6597. #. type: Content of: <book><chapter><section><section><para>
  6598. #: guide.dbk:1
  6599. msgid ""
  6600. "Sometimes you can ask APT to install a package that is on hold, in such a "
  6601. "case it prints out a warning that the held package is going to be "
  6602. "changed. This should only happen during dist-upgrade or install."
  6603. msgstr ""
  6604. #. type: Content of: <book><chapter><section><section><title>
  6605. #: guide.dbk:1
  6606. msgid "Final summary"
  6607. msgstr ""
  6608. #. type: Content of: <book><chapter><section><section><para>
  6609. #: guide.dbk:1
  6610. msgid "Finally, APT will print out a summary of all the changes that will occur."
  6611. msgstr ""
  6612. #. type: Content of: <book><chapter><section><section><screen>
  6613. #: guide.dbk:1
  6614. #, no-wrap
  6615. msgid ""
  6616. "206 packages upgraded, 8 newly installed, 23 to remove and 51 not "
  6617. "upgraded.\n"
  6618. "12 packages not fully installed or removed.\n"
  6619. "Need to get 65.7M/66.7M of archives. After unpacking 26.5M will be used.\n"
  6620. msgstr ""
  6621. #. type: Content of: <book><chapter><section><section><para>
  6622. #: guide.dbk:1
  6623. msgid ""
  6624. "The first line of the summary simply is a reduced version of all of the "
  6625. "lists and includes the number of upgrades - that is packages already "
  6626. "installed that have new versions available. The second line indicates the "
  6627. "number of poorly configured packages, possibly the result of an aborted "
  6628. "installation. The final line shows the space requirements that the "
  6629. "installation needs. The first pair of numbers refer to the size of the "
  6630. "archive files. The first number indicates the number of bytes that must be "
  6631. "fetched from remote locations and the second indicates the total size of all "
  6632. "the archives required. The next number indicates the size difference between "
  6633. "the presently installed packages and the newly installed packages. It is "
  6634. "roughly equivalent to the space required in /usr after everything is "
  6635. "done. If a large number of packages are being removed then the value may "
  6636. "indicate the amount of space that will be freed."
  6637. msgstr ""
  6638. #. type: Content of: <book><chapter><section><section><para>
  6639. #: guide.dbk:1
  6640. msgid ""
  6641. "Some other reports can be generated by using the -u option to show packages "
  6642. "to upgrade, they are similar to the previous examples."
  6643. msgstr ""
  6644. #. type: Content of: <book><chapter><section><title>
  6645. #: guide.dbk:1
  6646. msgid "The Status Display"
  6647. msgstr ""
  6648. #. type: Content of: <book><chapter><section><para>
  6649. #: guide.dbk:1
  6650. msgid ""
  6651. "During the download of archives and package files APT prints out a series of "
  6652. "status messages."
  6653. msgstr ""
  6654. #. type: Content of: <book><chapter><section><screen>
  6655. #: guide.dbk:1
  6656. #, no-wrap
  6657. msgid ""
  6658. "# apt-get update\n"
  6659. "Get:1 http://ftp.de.debian.org/debian-non-US/ stable/non-US/ Packages\n"
  6660. "Get:2 http://llug.sep.bnl.gov/debian/ testing/contrib Packages\n"
  6661. "Hit http://llug.sep.bnl.gov/debian/ testing/main Packages\n"
  6662. "Get:4 http://ftp.de.debian.org/debian-non-US/ unstable/binary-i386/ "
  6663. "Packages\n"
  6664. "Get:5 http://llug.sep.bnl.gov/debian/ testing/non-free Packages\n"
  6665. "11% [5 testing/non-free `Waiting for file' 0/32.1k 0%] 2203b/s 1m52s\n"
  6666. msgstr ""
  6667. #. type: Content of: <book><chapter><section><para>
  6668. #: guide.dbk:1
  6669. msgid ""
  6670. "The lines starting with <emphasis>Get</emphasis> are printed out when APT "
  6671. "begins to fetch a file while the last line indicates the progress of the "
  6672. "download. The first percent value on the progress line indicates the total "
  6673. "percent done of all files. Unfortunately since the size of the Package files "
  6674. "is unknown <literal>apt-get update</literal> estimates the percent done "
  6675. "which causes some inaccuracies."
  6676. msgstr ""
  6677. #. type: Content of: <book><chapter><section><para>
  6678. #: guide.dbk:1
  6679. msgid ""
  6680. "The next section of the status line is repeated once for each download "
  6681. "thread and indicates the operation being performed and some useful "
  6682. "information about what is happening. Sometimes this section will simply read "
  6683. "<emphasis>Forking</emphasis> which means the OS is loading the download "
  6684. "module. The first word after the [ is the fetch number as shown on the "
  6685. "history lines. The next word is the short form name of the object being "
  6686. "downloaded. For archives it will contain the name of the package that is "
  6687. "being fetched."
  6688. msgstr ""
  6689. #. type: Content of: <book><chapter><section><para>
  6690. #: guide.dbk:1
  6691. msgid ""
  6692. "Inside of the single quote is an informative string indicating the progress "
  6693. "of the negotiation phase of the download. Typically it progresses from "
  6694. "<emphasis>Connecting</emphasis> to <emphasis>Waiting for file</emphasis> to "
  6695. "<emphasis>Downloading</emphasis> or <emphasis>Resuming</emphasis>. The final "
  6696. "value is the number of bytes downloaded from the remote site. Once the "
  6697. "download begins this is represented as <literal>102/10.2k</literal> "
  6698. "indicating that 102 bytes have been fetched and 10.2 kilobytes is "
  6699. "expected. The total size is always shown in 4 figure notation to preserve "
  6700. "space. After the size display is a percent meter for the file itself. The "
  6701. "second last element is the instantaneous average speed. This values is "
  6702. "updated every 5 seconds and reflects the rate of data transfer for that "
  6703. "period. Finally is shown the estimated transfer time. This is updated "
  6704. "regularly and reflects the time to complete everything at the shown transfer "
  6705. "rate."
  6706. msgstr ""
  6707. #. type: Content of: <book><chapter><section><para>
  6708. #: guide.dbk:1
  6709. msgid ""
  6710. "The status display updates every half second to provide a constant feedback "
  6711. "on the download progress while the Get lines scroll back whenever a new file "
  6712. "is started. Since the status display is constantly updated it is unsuitable "
  6713. "for logging to a file, use the <literal>-q</literal> option to remove the "
  6714. "status display."
  6715. msgstr ""
  6716. #. type: Content of: <book><chapter><section><title>
  6717. #: guide.dbk:1
  6718. msgid "Dpkg"
  6719. msgstr ""
  6720. #. type: Content of: <book><chapter><section><para>
  6721. #: guide.dbk:1
  6722. msgid ""
  6723. "APT uses <command>dpkg</command> for installing the archives and will switch "
  6724. "over to the <command>dpkg</command> interface once downloading is "
  6725. "completed. <command>dpkg</command> will also ask a number of questions as it "
  6726. "processes the packages and the packages themselves may also ask several "
  6727. "questions. Before each question there is usually a description of what it is "
  6728. "asking and the questions are too varied to discuss completely here."
  6729. msgstr ""
  6730. #. type: Content of: <book><title>
  6731. #: offline.dbk:1
  6732. msgid "Using APT Offline"
  6733. msgstr ""
  6734. #. type: Content of: <book><bookinfo><abstract><para>
  6735. #: offline.dbk:1
  6736. msgid ""
  6737. "This document describes how to use APT in a non-networked environment, "
  6738. "specifically a 'sneaker-net' approach for performing upgrades."
  6739. msgstr ""
  6740. #. type: Content of: <book><bookinfo>
  6741. #: offline.dbk:1
  6742. msgid "<copyright><year>1999</year><holder>Jason Gunthorpe</holder></copyright>"
  6743. msgstr ""
  6744. #. type: Content of: <book><chapter><title>
  6745. #: offline.dbk:1
  6746. msgid "Introduction"
  6747. msgstr ""
  6748. #. type: Content of: <book><chapter><section><title>
  6749. #: offline.dbk:1 offline.dbk:1 offline.dbk:1
  6750. msgid "Overview"
  6751. msgstr ""
  6752. #. type: Content of: <book><chapter><section><para>
  6753. #: offline.dbk:1
  6754. msgid ""
  6755. "Normally APT requires direct access to a Debian archive, either from a local "
  6756. "media or through a network. Another common complaint is that a Debian "
  6757. "machine is on a slow link, such as a modem and another machine has a very "
  6758. "fast connection but they are physically distant."
  6759. msgstr ""
  6760. #. type: Content of: <book><chapter><section><para>
  6761. #: offline.dbk:1
  6762. msgid ""
  6763. "The solution to this is to use large removable media such as a Zip disc or a "
  6764. "SuperDisk disc. These discs are not large enough to store the entire Debian "
  6765. "archive but can easily fit a subset large enough for most users. The idea is "
  6766. "to use APT to generate a list of packages that are required and then fetch "
  6767. "them onto the disc using another machine with good connectivity. It is even "
  6768. "possible to use another Debian machine with APT or to use a completely "
  6769. "different OS and a download tool like wget. Let <emphasis>remote "
  6770. "host</emphasis> mean the machine downloading the packages, and "
  6771. "<emphasis>target host</emphasis> the one with bad or no connection."
  6772. msgstr ""
  6773. #. type: Content of: <book><chapter><section><para>
  6774. #: offline.dbk:1
  6775. msgid ""
  6776. "This is achieved by creatively manipulating the APT configuration file. The "
  6777. "essential premise to tell APT to look on a disc for it's archive files. Note "
  6778. "that the disc should be formatted with a filesystem that can handle long "
  6779. "file names such as ext2, fat32 or vfat."
  6780. msgstr ""
  6781. #. type: Content of: <book><chapter><title>
  6782. #: offline.dbk:1
  6783. msgid "Using APT on both machines"
  6784. msgstr ""
  6785. #. type: Content of: <book><chapter><section><para>
  6786. #: offline.dbk:1
  6787. msgid ""
  6788. "APT being available on both machines gives the simplest configuration. The "
  6789. "basic idea is to place a copy of the status file on the disc and use the "
  6790. "remote machine to fetch the latest package files and decide which packages "
  6791. "to download. The disk directory structure should look like:"
  6792. msgstr ""
  6793. #. type: Content of: <book><chapter><section><screen>
  6794. #: offline.dbk:1
  6795. #, no-wrap
  6796. msgid ""
  6797. " /disc/\n"
  6798. " archives/\n"
  6799. " partial/\n"
  6800. " lists/\n"
  6801. " partial/\n"
  6802. " status\n"
  6803. " sources.list\n"
  6804. " apt.conf\n"
  6805. msgstr ""
  6806. #. type: Content of: <book><chapter><section><title>
  6807. #: offline.dbk:1
  6808. msgid "The configuration file"
  6809. msgstr ""
  6810. #. type: Content of: <book><chapter><section><para>
  6811. #: offline.dbk:1
  6812. msgid ""
  6813. "The configuration file should tell APT to store its files on the disc and to "
  6814. "use the configuration files on the disc as well. The sources.list should "
  6815. "contain the proper sites that you wish to use from the remote machine, and "
  6816. "the status file should be a copy of "
  6817. "<emphasis>/var/lib/dpkg/status</emphasis> from the <emphasis>target "
  6818. "host</emphasis>. Please note, if you are using a local archive you must use "
  6819. "copy URIs, the syntax is identical to file URIs."
  6820. msgstr ""
  6821. #. type: Content of: <book><chapter><section><para>
  6822. #: offline.dbk:1
  6823. msgid ""
  6824. "<emphasis>apt.conf</emphasis> must contain the necessary information to make "
  6825. "APT use the disc:"
  6826. msgstr ""
  6827. #. type: Content of: <book><chapter><section><screen>
  6828. #: offline.dbk:1
  6829. #, no-wrap
  6830. msgid ""
  6831. " APT\n"
  6832. " {\n"
  6833. " /* This is not necessary if the two machines are the same arch, it "
  6834. "tells\n"
  6835. " the remote APT what architecture the target machine is */\n"
  6836. " Architecture \"i386\";\n"
  6837. "\n"
  6838. " Get::Download-Only \"true\";\n"
  6839. " };\n"
  6840. "\n"
  6841. " Dir\n"
  6842. " {\n"
  6843. " /* Use the disc for state information and redirect the status file from\n"
  6844. " the /var/lib/dpkg default */\n"
  6845. " State \"/disc/\";\n"
  6846. " State::status \"status\";\n"
  6847. "\n"
  6848. " // Binary caches will be stored locally\n"
  6849. " Cache::archives \"/disc/archives/\";\n"
  6850. " Cache \"/tmp/\";\n"
  6851. "\n"
  6852. " // Location of the source list.\n"
  6853. " Etc \"/disc/\";\n"
  6854. " };\n"
  6855. msgstr ""
  6856. #. type: Content of: <book><chapter><section><para>
  6857. #: offline.dbk:1
  6858. msgid ""
  6859. "More details can be seen by examining the apt.conf man page and the sample "
  6860. "configuration file in "
  6861. "<emphasis>/usr/share/doc/apt/examples/apt.conf</emphasis>."
  6862. msgstr ""
  6863. #. type: Content of: <book><chapter><section><para>
  6864. #: offline.dbk:1
  6865. msgid ""
  6866. "On the target machine the first thing to do is mount the disc and copy "
  6867. "<emphasis>/var/lib/dpkg/status</emphasis> to it. You will also need to "
  6868. "create the directories outlined in the Overview, "
  6869. "<emphasis>archives/partial/</emphasis> and "
  6870. "<emphasis>lists/partial/</emphasis>. Then take the disc to the remote "
  6871. "machine and configure the sources.list. On the remote machine execute the "
  6872. "following:"
  6873. msgstr ""
  6874. #. type: Content of: <book><chapter><section><screen>
  6875. #: offline.dbk:1
  6876. #, no-wrap
  6877. msgid ""
  6878. " # export APT_CONFIG=\"/disc/apt.conf\"\n"
  6879. " # apt-get update\n"
  6880. " [ APT fetches the package files ]\n"
  6881. " # apt-get dist-upgrade\n"
  6882. " [ APT fetches all the packages needed to upgrade the target machine ]\n"
  6883. msgstr ""
  6884. #. type: Content of: <book><chapter><section><para>
  6885. #: offline.dbk:1
  6886. msgid ""
  6887. "The dist-upgrade command can be replaced with any other standard APT "
  6888. "commands, particularly dselect-upgrade. You can even use an APT front end "
  6889. "such as <emphasis>dselect</emphasis>. However this presents a problem in "
  6890. "communicating your selections back to the local computer."
  6891. msgstr ""
  6892. #. type: Content of: <book><chapter><section><para>
  6893. #: offline.dbk:1
  6894. msgid ""
  6895. "Now the disc contains all of the index files and archives needed to upgrade "
  6896. "the target machine. Take the disc back and run:"
  6897. msgstr ""
  6898. #. type: Content of: <book><chapter><section><screen>
  6899. #: offline.dbk:1
  6900. #, no-wrap
  6901. msgid ""
  6902. " # export APT_CONFIG=\"/disc/apt.conf\"\n"
  6903. " # apt-get check\n"
  6904. " [ APT generates a local copy of the cache files ]\n"
  6905. " # apt-get --no-d -o dir::state::status=/var/lib/dpkg/status dist-upgrade\n"
  6906. " [ Or any other APT command ]\n"
  6907. msgstr ""
  6908. #. type: Content of: <book><chapter><section><para>
  6909. #: offline.dbk:1
  6910. msgid ""
  6911. "It is necessary for proper function to re-specify the status file to be the "
  6912. "local one. This is very important!"
  6913. msgstr ""
  6914. #. type: Content of: <book><chapter><section><para>
  6915. #: offline.dbk:1
  6916. msgid ""
  6917. "If you are using dselect you can do the very risky operation of copying "
  6918. "disc/status to /var/lib/dpkg/status so that any selections you made on the "
  6919. "remote machine are updated. I highly recommend that people only make "
  6920. "selections on the local machine - but this may not always be possible. DO "
  6921. "NOT copy the status file if dpkg or APT have been run in the mean time!!"
  6922. msgstr ""
  6923. #. type: Content of: <book><chapter><title>
  6924. #: offline.dbk:1
  6925. msgid "Using APT and wget"
  6926. msgstr ""
  6927. #. type: Content of: <book><chapter><section><para>
  6928. #: offline.dbk:1
  6929. msgid ""
  6930. "<emphasis>wget</emphasis> is a popular and portable download tool that can "
  6931. "run on nearly any machine. Unlike the method above this requires that the "
  6932. "Debian machine already has a list of available packages."
  6933. msgstr ""
  6934. #. type: Content of: <book><chapter><section><para>
  6935. #: offline.dbk:1
  6936. msgid ""
  6937. "The basic idea is to create a disc that has only the archive files "
  6938. "downloaded from the remote site. This is done by using the --print-uris "
  6939. "option to apt-get and then preparing a wget script to actually fetch the "
  6940. "packages."
  6941. msgstr ""
  6942. #. type: Content of: <book><chapter><section><title>
  6943. #: offline.dbk:1
  6944. msgid "Operation"
  6945. msgstr ""
  6946. #. type: Content of: <book><chapter><section><para>
  6947. #: offline.dbk:1
  6948. msgid ""
  6949. "Unlike the previous technique no special configuration files are "
  6950. "required. We merely use the standard APT commands to generate the file list."
  6951. msgstr ""
  6952. #. type: Content of: <book><chapter><section><screen>
  6953. #: offline.dbk:1
  6954. #, no-wrap
  6955. msgid ""
  6956. " # apt-get dist-upgrade\n"
  6957. " [ Press no when prompted, make sure you are happy with the actions ]\n"
  6958. " # apt-get -qq --print-uris dist-upgrade &gt; uris\n"
  6959. " # awk '{print \"wget -O \" $2 \" \" $1}' &lt; uris &gt; /disc/wget-script\n"
  6960. msgstr ""
  6961. #. type: Content of: <book><chapter><section><para>
  6962. #: offline.dbk:1
  6963. msgid ""
  6964. "Any command other than dist-upgrade could be used here, including "
  6965. "dselect-upgrade."
  6966. msgstr ""
  6967. #. type: Content of: <book><chapter><section><para>
  6968. #: offline.dbk:1
  6969. msgid ""
  6970. "The /disc/wget-script file will now contain a list of wget commands to "
  6971. "execute in order to fetch the necessary archives. This script should be run "
  6972. "with the current directory as the disc's mount point so as to save the "
  6973. "output on the disc."
  6974. msgstr ""
  6975. #. type: Content of: <book><chapter><section><para>
  6976. #: offline.dbk:1
  6977. msgid "The remote machine would do something like"
  6978. msgstr ""
  6979. #. type: Content of: <book><chapter><section><screen>
  6980. #: offline.dbk:1
  6981. #, no-wrap
  6982. msgid ""
  6983. " # cd /disc\n"
  6984. " # sh -x ./wget-script\n"
  6985. " [ wait.. ]\n"
  6986. msgstr ""
  6987. #. type: Content of: <book><chapter><section><para>
  6988. #: offline.dbk:1
  6989. msgid ""
  6990. "Once the archives are downloaded and the disc returned to the Debian machine "
  6991. "installation can proceed using,"
  6992. msgstr ""
  6993. #. type: Content of: <book><chapter><section><screen>
  6994. #: offline.dbk:1
  6995. #, no-wrap
  6996. msgid " # apt-get -o dir::cache::archives=\"/disc/\" dist-upgrade\n"
  6997. msgstr ""
  6998. #. type: Content of: <book><chapter><section><para>
  6999. #: offline.dbk:1
  7000. msgid "Which will use the already fetched archives on the disc."
  7001. msgstr ""