apt-doc.pot 266 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001
  1. # SOME DESCRIPTIVE TITLE
  2. # Copyright (C) YEAR Free Software Foundation, Inc.
  3. # This file is distributed under the same license as the apt-doc package.
  4. # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
  5. #
  6. #, fuzzy
  7. msgid ""
  8. msgstr ""
  9. "Project-Id-Version: apt-doc 0.9.14.2\n"
  10. "Report-Msgid-Bugs-To: APT Development Team <deity@lists.debian.org>\n"
  11. "POT-Creation-Date: 2013-12-29 17:01+0100\n"
  12. "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
  13. "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  14. "Language-Team: LANGUAGE <LL@li.org>\n"
  15. "Language: \n"
  16. "MIME-Version: 1.0\n"
  17. "Content-Type: text/plain; charset=UTF-8\n"
  18. "Content-Transfer-Encoding: 8bit\n"
  19. #. type: Plain text
  20. #: apt.ent:7
  21. #, no-wrap
  22. msgid ""
  23. "<!ENTITY apt-author.team \"\n"
  24. " <author>\n"
  25. " <othername>APT team</othername>\n"
  26. " <contrib></contrib>\n"
  27. " </author>\n"
  28. "\">\n"
  29. msgstr ""
  30. #. type: Plain text
  31. #: apt.ent:13
  32. #, no-wrap
  33. msgid ""
  34. "<!ENTITY apt-qapage \"\n"
  35. "\t<para>\n"
  36. "\t\t<ulink url='http://packages.qa.debian.org/a/apt.html'>QA Page</ulink>\n"
  37. "\t</para>\n"
  38. "\">\n"
  39. msgstr ""
  40. #. type: Plain text
  41. #: apt.ent:24
  42. #, no-wrap
  43. msgid ""
  44. "<!-- Boiler plate Bug reporting section -->\n"
  45. "<!ENTITY manbugs \"\n"
  46. " <refsect1><title>Bugs</title>\n"
  47. " <para><ulink url='http://bugs.debian.org/src:apt'>APT bug page</ulink>.\n"
  48. " If you wish to report a bug in APT, please see\n"
  49. " <filename>/usr/share/doc/debian/bug-reporting.txt</filename> or the\n"
  50. " &reportbug; command.\n"
  51. " </para>\n"
  52. " </refsect1>\n"
  53. "\">\n"
  54. msgstr ""
  55. #. type: Plain text
  56. #: apt.ent:32
  57. #, no-wrap
  58. msgid ""
  59. "<!-- Boiler plate Author section -->\n"
  60. "<!ENTITY manauthor \"\n"
  61. " <refsect1><title>Author</title>\n"
  62. " <para>APT was written by the APT team "
  63. "<email>apt@packages.debian.org</email>.\n"
  64. " </para>\n"
  65. " </refsect1>\n"
  66. "\">\n"
  67. msgstr ""
  68. #. type: Plain text
  69. #: apt.ent:42
  70. #, no-wrap
  71. msgid ""
  72. "<!-- Should be used within the option section of the text to\n"
  73. " put in the blurb about -h, -v, -c and -o -->\n"
  74. "<!ENTITY apt-commonoptions \"\n"
  75. " <varlistentry><term><option>-h</option></term>\n"
  76. " <term><option>--help</option></term>\n"
  77. " <listitem><para>Show a short usage summary.\n"
  78. " </para>\n"
  79. " </listitem>\n"
  80. " </varlistentry>\n"
  81. msgstr ""
  82. #. type: Plain text
  83. #: apt.ent:50
  84. #, no-wrap
  85. msgid ""
  86. " <varlistentry>\n"
  87. " <term><option>-v</option></term>\n"
  88. " <term><option>--version</option></term>\n"
  89. " <listitem><para>Show the program version.\n"
  90. " </para>\n"
  91. " </listitem>\n"
  92. " </varlistentry>\n"
  93. msgstr ""
  94. #. type: Plain text
  95. #: apt.ent:62
  96. #, no-wrap
  97. msgid ""
  98. " <varlistentry>\n"
  99. " <term><option>-c</option></term>\n"
  100. " <term><option>--config-file</option></term>\n"
  101. " <listitem><para>Configuration File; Specify a configuration file to "
  102. "use. \n"
  103. " The program will read the default configuration file and then this \n"
  104. " configuration file. If configuration settings need to be set before "
  105. "the\n"
  106. " default configuration files are parsed specify a file with the "
  107. "<envar>APT_CONFIG</envar>\n"
  108. " environment variable. See &apt-conf; for syntax information.\n"
  109. " </para>\n"
  110. " </listitem>\n"
  111. " </varlistentry>\n"
  112. msgstr ""
  113. #. type: Plain text
  114. #: apt.ent:74
  115. #, no-wrap
  116. msgid ""
  117. " <varlistentry>\n"
  118. " <term><option>-o</option></term>\n"
  119. " <term><option>--option</option></term>\n"
  120. " <listitem><para>Set a Configuration Option; This will set an "
  121. "arbitrary\n"
  122. " configuration option. The syntax is <option>-o "
  123. "Foo::Bar=bar</option>.\n"
  124. " <option>-o</option> and <option>--option</option> can be used "
  125. "multiple\n"
  126. " times to set different options.\n"
  127. " </para>\n"
  128. " </listitem>\n"
  129. " </varlistentry>\n"
  130. "\">\n"
  131. msgstr ""
  132. #. type: Plain text
  133. #: apt.ent:85
  134. #, no-wrap
  135. msgid ""
  136. "<!-- Should be used within the option section of the text to\n"
  137. " put in the blurb about -h, -v, -c and -o -->\n"
  138. "<!ENTITY apt-cmdblurb \"\n"
  139. " <para>All command line options may be set using the configuration file, "
  140. "the\n"
  141. " descriptions indicate the configuration option to set. For boolean\n"
  142. " options you can override the config file by using something like \n"
  143. " <option>-f-</option>,<option>--no-f</option>, <option>-f=no</option>\n"
  144. " or several other variations.\n"
  145. " </para>\n"
  146. "\">\n"
  147. msgstr ""
  148. #. type: Plain text
  149. #: apt.ent:91
  150. #, no-wrap
  151. msgid ""
  152. "<!ENTITY file-aptconf \"\n"
  153. " <varlistentry><term><filename>/etc/apt/apt.conf</filename></term>\n"
  154. " <listitem><para>APT configuration file.\n"
  155. " Configuration Item: "
  156. "<literal>Dir::Etc::Main</literal>.</para></listitem>\n"
  157. " </varlistentry>\n"
  158. msgstr ""
  159. #. type: Plain text
  160. #: apt.ent:97
  161. #, no-wrap
  162. msgid ""
  163. " <varlistentry><term><filename>/etc/apt/apt.conf.d/</filename></term>\n"
  164. " <listitem><para>APT configuration file fragments.\n"
  165. " Configuration Item: "
  166. "<literal>Dir::Etc::Parts</literal>.</para></listitem>\n"
  167. " </varlistentry>\n"
  168. "\">\n"
  169. msgstr ""
  170. #. type: Plain text
  171. #: apt.ent:103
  172. #, no-wrap
  173. msgid ""
  174. "<!ENTITY file-cachearchives \"\n"
  175. " <varlistentry><term><filename>&cachedir;/archives/</filename></term>\n"
  176. " <listitem><para>Storage area for retrieved package files.\n"
  177. " Configuration Item: "
  178. "<literal>Dir::Cache::Archives</literal>.</para></listitem>\n"
  179. " </varlistentry>\n"
  180. msgstr ""
  181. #. type: Plain text
  182. #: apt.ent:109
  183. #, no-wrap
  184. msgid ""
  185. " "
  186. "<varlistentry><term><filename>&cachedir;/archives/partial/</filename></term>\n"
  187. " <listitem><para>Storage area for package files in transit.\n"
  188. " Configuration Item: <literal>Dir::Cache::Archives</literal> "
  189. "(<filename>partial</filename> will be implicitly "
  190. "appended)</para></listitem>\n"
  191. " </varlistentry>\n"
  192. "\">\n"
  193. msgstr ""
  194. #. type: Plain text
  195. #: apt.ent:119
  196. #, no-wrap
  197. msgid ""
  198. "<!ENTITY file-preferences \"\n"
  199. " <varlistentry><term><filename>/etc/apt/preferences</filename></term>\n"
  200. " <listitem><para>Version preferences file.\n"
  201. " This is where you would specify &quot;pinning&quot;,\n"
  202. " i.e. a preference to get certain packages\n"
  203. " from a separate source\n"
  204. " or from a different version of a distribution.\n"
  205. " Configuration Item: "
  206. "<literal>Dir::Etc::Preferences</literal>.</para></listitem>\n"
  207. " </varlistentry>\n"
  208. msgstr ""
  209. #. type: Plain text
  210. #: apt.ent:125
  211. #, no-wrap
  212. msgid ""
  213. " "
  214. "<varlistentry><term><filename>/etc/apt/preferences.d/</filename></term>\n"
  215. " <listitem><para>File fragments for the version preferences.\n"
  216. " Configuration Item: "
  217. "<literal>Dir::Etc::PreferencesParts</literal>.</para></listitem>\n"
  218. " </varlistentry>\n"
  219. "\">\n"
  220. msgstr ""
  221. #. type: Plain text
  222. #: apt.ent:131
  223. #, no-wrap
  224. msgid ""
  225. "<!ENTITY file-sourceslist \"\n"
  226. " <varlistentry><term><filename>/etc/apt/sources.list</filename></term>\n"
  227. " <listitem><para>Locations to fetch packages from.\n"
  228. " Configuration Item: "
  229. "<literal>Dir::Etc::SourceList</literal>.</para></listitem>\n"
  230. " </varlistentry>\n"
  231. msgstr ""
  232. #. type: Plain text
  233. #: apt.ent:137
  234. #, no-wrap
  235. msgid ""
  236. " "
  237. "<varlistentry><term><filename>/etc/apt/sources.list.d/</filename></term>\n"
  238. " <listitem><para>File fragments for locations to fetch packages from.\n"
  239. " Configuration Item: "
  240. "<literal>Dir::Etc::SourceParts</literal>.</para></listitem>\n"
  241. " </varlistentry>\n"
  242. "\">\n"
  243. msgstr ""
  244. #. type: Plain text
  245. #: apt.ent:144
  246. #, no-wrap
  247. msgid ""
  248. "<!ENTITY file-statelists \"\n"
  249. " <varlistentry><term><filename>&statedir;/lists/</filename></term>\n"
  250. " <listitem><para>Storage area for state information for each package "
  251. "resource specified in\n"
  252. " &sources-list;\n"
  253. " Configuration Item: "
  254. "<literal>Dir::State::Lists</literal>.</para></listitem>\n"
  255. " </varlistentry>\n"
  256. msgstr ""
  257. #. type: Plain text
  258. #: apt.ent:150
  259. #, no-wrap
  260. msgid ""
  261. " "
  262. "<varlistentry><term><filename>&statedir;/lists/partial/</filename></term>\n"
  263. " <listitem><para>Storage area for state information in transit.\n"
  264. " Configuration Item: <literal>Dir::State::Lists</literal> "
  265. "(<filename>partial</filename> will be implicitly "
  266. "appended)</para></listitem>\n"
  267. " </varlistentry>\n"
  268. "\">\n"
  269. msgstr ""
  270. #. type: Plain text
  271. #: apt.ent:156
  272. #, no-wrap
  273. msgid ""
  274. "<!ENTITY file-trustedgpg \"\n"
  275. " <varlistentry><term><filename>/etc/apt/trusted.gpg</filename></term>\n"
  276. " <listitem><para>Keyring of local trusted keys, new keys will be added "
  277. "here.\n"
  278. " Configuration Item: "
  279. "<literal>Dir::Etc::Trusted</literal>.</para></listitem>\n"
  280. " </varlistentry>\n"
  281. msgstr ""
  282. #. type: Plain text
  283. #: apt.ent:163
  284. #, no-wrap
  285. msgid ""
  286. " "
  287. "<varlistentry><term><filename>/etc/apt/trusted.gpg.d/</filename></term>\n"
  288. " <listitem><para>File fragments for the trusted keys, additional "
  289. "keyrings can\n"
  290. " be stored here (by other packages or the administrator).\n"
  291. " Configuration Item "
  292. "<literal>Dir::Etc::TrustedParts</literal>.</para></listitem>\n"
  293. " </varlistentry>\n"
  294. "\">\n"
  295. msgstr ""
  296. #. type: Plain text
  297. #: apt.ent:171
  298. #, no-wrap
  299. msgid ""
  300. "<!ENTITY file-extended_states \"\n"
  301. " "
  302. "<varlistentry><term><filename>/var/lib/apt/extended_states</filename></term>\n"
  303. " <listitem><para>Status list of auto-installed packages.\n"
  304. " Configuration Item: <literal>Dir::State::extended_states</literal>.\n"
  305. " </para></listitem>\n"
  306. " </varlistentry>\n"
  307. "\">\n"
  308. msgstr ""
  309. #. type: Plain text
  310. #: apt.ent:175
  311. #, no-wrap
  312. msgid ""
  313. "<!-- TRANSLATOR: This is the section header for the following paragraphs - "
  314. "comparable\n"
  315. " to the other headers like NAME and DESCRIPTION and should therefore be "
  316. "uppercase. -->\n"
  317. "<!ENTITY translation-title \"TRANSLATION\">\n"
  318. msgstr ""
  319. #. type: Plain text
  320. #: apt.ent:184
  321. #, no-wrap
  322. msgid ""
  323. "<!-- TRANSLATOR: This is a placeholder. You should write here who has "
  324. "contributed\n"
  325. " to the translation in the past, who is responsible now and maybe "
  326. "further information\n"
  327. " specially related to your translation. -->\n"
  328. "<!ENTITY translation-holder \"\n"
  329. " The english translation was done by John Doe "
  330. "<email>john@doe.org</email> in 2009,\n"
  331. " 2010 and Daniela Acme <email>daniela@acme.us</email> in 2010 together "
  332. "with the\n"
  333. " Debian Dummy l10n Team "
  334. "<email>debian-l10n-dummy@lists.debian.org</email>.\n"
  335. "\">\n"
  336. msgstr ""
  337. #. type: Plain text
  338. #: apt.ent:195
  339. #, no-wrap
  340. msgid ""
  341. "<!-- TRANSLATOR: As a translation is allowed to have 20% of "
  342. "untranslated/fuzzy strings\n"
  343. " in a shipped manpage newer/modified paragraphs will maybe appear in "
  344. "english in\n"
  345. " the generated manpage. This sentence is therefore here to tell the "
  346. "reader that this\n"
  347. " is not a mistake by the translator - obviously the target is that at "
  348. "least for stable\n"
  349. " releases this sentence is not needed. :) -->\n"
  350. "<!ENTITY translation-english \"\n"
  351. " Note that this translated document may contain untranslated parts.\n"
  352. " This is done on purpose, to avoid losing content when the\n"
  353. " translation is lagging behind the original content.\n"
  354. "\">\n"
  355. msgstr ""
  356. #. type: Plain text
  357. #: apt.ent:198
  358. msgid ""
  359. "<!-- TRANSLATOR: used as in -o=config_string "
  360. "e.g. -o=Debug::pkgProblemResolver=1 --> <!ENTITY synopsis-config-string "
  361. "\"config_string\">"
  362. msgstr ""
  363. #. type: Plain text
  364. #: apt.ent:201
  365. msgid ""
  366. "<!-- TRANSLATOR: used as in -c=config_file e.g. -c=./apt.conf --> <!ENTITY "
  367. "synopsis-config-file \"config_file\">"
  368. msgstr ""
  369. #. type: Plain text
  370. #: apt.ent:204
  371. msgid ""
  372. "<!-- TRANSLATOR: used as in -t=target_release or pkg/target_release "
  373. "e.g. -t=squeeze apt/experimental --> <!ENTITY synopsis-target-release "
  374. "\"target_release\">"
  375. msgstr ""
  376. #. type: Plain text
  377. #: apt.ent:207
  378. msgid ""
  379. "<!-- TRANSLATOR: used as in -a=architecture e.g. -a=armel --> <!ENTITY "
  380. "synopsis-architecture \"architecture\">"
  381. msgstr ""
  382. #. type: Plain text
  383. #: apt.ent:210
  384. msgid ""
  385. "<!-- TRANSLATOR: used as in apt-get install pkg e.g. apt-get install awesome "
  386. "--> <!ENTITY synopsis-pkg \"pkg\">"
  387. msgstr ""
  388. #. type: Plain text
  389. #: apt.ent:213
  390. msgid ""
  391. "<!-- TRANSLATOR: used as in pkg=pkg_version_number e.g. apt=0.8.15 --> "
  392. "<!ENTITY synopsis-pkg-ver-number \"pkg_version_number\">"
  393. msgstr ""
  394. #. type: Plain text
  395. #: apt.ent:216
  396. msgid ""
  397. "<!-- TRANSLATOR: used as in apt-cache pkgnames prefix e.g. apt-cache "
  398. "pkgnames apt --> <!ENTITY synopsis-prefix \"prefix\">"
  399. msgstr ""
  400. #. type: Plain text
  401. #: apt.ent:219
  402. msgid ""
  403. "<!-- TRANSLATOR: used as in apt-cache search regex e.g. apt-cache search "
  404. "awesome --> <!ENTITY synopsis-regex \"regex\">"
  405. msgstr ""
  406. #. type: Plain text
  407. #: apt.ent:222
  408. msgid ""
  409. "<!-- TRANSLATOR: used as in apt-cdrom -d=cdrom_mount_point e.g. apt-cdrom "
  410. "-d=/media/cdrom --> <!ENTITY synopsis-cdrom-mount \"cdrom_mount_point\">"
  411. msgstr ""
  412. #. type: Plain text
  413. #: apt.ent:225
  414. msgid ""
  415. "<!-- TRANSLATOR: used as in apt-extracttemplates -t=temporary_directory "
  416. "e.g. apt-extracttemplates -t=/tmp --> <!ENTITY synopsis-tmp-directory "
  417. "\"temporary_directory\">"
  418. msgstr ""
  419. #. type: Plain text
  420. #: apt.ent:228
  421. msgid ""
  422. "<!-- TRANSLATOR: used as in apt-extracttemplates filename --> <!ENTITY "
  423. "synopsis-filename \"filename\">"
  424. msgstr ""
  425. #. type: Plain text
  426. #: apt.ent:231
  427. msgid ""
  428. "<!-- TRANSLATOR: used as parameter for apt-ftparchive e.g. apt-ftparchive "
  429. "packages path override-file pathprefix --> <!ENTITY synopsis-path \"path\">"
  430. msgstr ""
  431. #. type: Plain text
  432. #: apt.ent:234
  433. msgid ""
  434. "<!-- TRANSLATOR: used as parameter for apt-ftparchive e.g. apt-ftparchive "
  435. "packages path override-file pathprefix --> <!ENTITY synopsis-override "
  436. "\"override-file\">"
  437. msgstr ""
  438. #. type: Plain text
  439. #: apt.ent:237
  440. msgid ""
  441. "<!-- TRANSLATOR: used as parameter for apt-ftparchive e.g. apt-ftparchive "
  442. "packages path override-file pathprefix --> <!ENTITY synopsis-pathprefix "
  443. "\"pathprefix\">"
  444. msgstr ""
  445. #. type: Plain text
  446. #: apt.ent:240
  447. msgid ""
  448. "<!-- TRANSLATOR: used as parameter for apt-ftparchive e.g. apt-ftparchive "
  449. "generate section --> <!ENTITY synopsis-section \"section\">"
  450. msgstr ""
  451. #. type: Plain text
  452. #: apt.ent:243
  453. msgid ""
  454. "<!-- TRANSLATOR: used as in apt-key export keyid e.g. apt-key export "
  455. "473041FA --> <!ENTITY synopsis-keyid \"keyid\">"
  456. msgstr ""
  457. #. type: Content of: <refentry><refmeta><manvolnum>
  458. #: apt-get.8.xml:28 apt-cache.8.xml:28 apt-key.8.xml:27 apt-mark.8.xml:28 apt-secure.8.xml:27 apt-cdrom.8.xml:27 apt-config.8.xml:28
  459. msgid "8"
  460. msgstr ""
  461. #. type: Content of: <refentry><refmeta><refmiscinfo>
  462. #: apt-get.8.xml:29 apt-cache.8.xml:29 apt-key.8.xml:28 apt-mark.8.xml:29 apt-secure.8.xml:28 apt-cdrom.8.xml:28 apt-config.8.xml:29 apt.conf.5.xml:34 apt_preferences.5.xml:28 sources.list.5.xml:29 apt-extracttemplates.1.xml:29 apt-sortpkgs.1.xml:29 apt-ftparchive.1.xml:29
  463. msgid "APT"
  464. msgstr ""
  465. #. type: Content of: <refentry><refnamediv><refpurpose>
  466. #: apt-get.8.xml:35
  467. msgid "APT package handling utility -- command-line interface"
  468. msgstr ""
  469. #. type: Content of: <refentry><refsect1><title>
  470. #: apt-get.8.xml:40 apt-cache.8.xml:40 apt-key.8.xml:39 apt-mark.8.xml:40 apt-secure.8.xml:52 apt-cdrom.8.xml:39 apt-config.8.xml:40 apt.conf.5.xml:43 apt_preferences.5.xml:38 sources.list.5.xml:38 apt-extracttemplates.1.xml:40 apt-sortpkgs.1.xml:40 apt-ftparchive.1.xml:40
  471. msgid "Description"
  472. msgstr ""
  473. #. type: Content of: <refentry><refsect1><para>
  474. #: apt-get.8.xml:41
  475. msgid ""
  476. "<command>apt-get</command> is the command-line tool for handling packages, "
  477. "and may be considered the user's \"back-end\" to other tools using the APT "
  478. "library. Several \"front-end\" interfaces exist, such as &dselect;, "
  479. "&aptitude;, &synaptic; and &wajig;."
  480. msgstr ""
  481. #. type: Content of: <refentry><refsect1><para>
  482. #: apt-get.8.xml:46 apt-cache.8.xml:46 apt-cdrom.8.xml:53 apt-config.8.xml:46 apt-ftparchive.1.xml:56
  483. msgid ""
  484. "Unless the <option>-h</option>, or <option>--help</option> option is given, "
  485. "one of the commands below must be present."
  486. msgstr ""
  487. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  488. #: apt-get.8.xml:51
  489. msgid ""
  490. "<literal>update</literal> is used to resynchronize the package index files "
  491. "from their sources. The indexes of available packages are fetched from the "
  492. "location(s) specified in <filename>/etc/apt/sources.list</filename>. For "
  493. "example, when using a Debian archive, this command retrieves and scans the "
  494. "<filename>Packages.gz</filename> files, so that information about new and "
  495. "updated packages is available. An <literal>update</literal> should always be "
  496. "performed before an <literal>upgrade</literal> or "
  497. "<literal>dist-upgrade</literal>. Please be aware that the overall progress "
  498. "meter will be incorrect as the size of the package files cannot be known in "
  499. "advance."
  500. msgstr ""
  501. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  502. #: apt-get.8.xml:63
  503. msgid ""
  504. "<literal>upgrade</literal> is used to install the newest versions of all "
  505. "packages currently installed on the system from the sources enumerated in "
  506. "<filename>/etc/apt/sources.list</filename>. Packages currently installed "
  507. "with new versions available are retrieved and upgraded; under no "
  508. "circumstances are currently installed packages removed, or packages not "
  509. "already installed retrieved and installed. New versions of currently "
  510. "installed packages that cannot be upgraded without changing the install "
  511. "status of another package will be left at their current version. An "
  512. "<literal>update</literal> must be performed first so that "
  513. "<command>apt-get</command> knows that new versions of packages are "
  514. "available."
  515. msgstr ""
  516. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  517. #: apt-get.8.xml:76
  518. msgid ""
  519. "<literal>dist-upgrade</literal> in addition to performing the function of "
  520. "<literal>upgrade</literal>, also intelligently handles changing dependencies "
  521. "with new versions of packages; <command>apt-get</command> has a \"smart\" "
  522. "conflict resolution system, and it will attempt to upgrade the most "
  523. "important packages at the expense of less important ones if necessary. The "
  524. "<literal>dist-upgrade</literal> command may therefore remove some packages. "
  525. "The <filename>/etc/apt/sources.list</filename> file contains a list of "
  526. "locations from which to retrieve desired package files. See also "
  527. "&apt-preferences; for a mechanism for overriding the general settings for "
  528. "individual packages."
  529. msgstr ""
  530. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  531. #: apt-get.8.xml:89
  532. msgid ""
  533. "<literal>dselect-upgrade</literal> is used in conjunction with the "
  534. "traditional Debian packaging front-end, "
  535. "&dselect;. <literal>dselect-upgrade</literal> follows the changes made by "
  536. "&dselect; to the <literal>Status</literal> field of available packages, and "
  537. "performs the actions necessary to realize that state (for instance, the "
  538. "removal of old and the installation of new packages)."
  539. msgstr ""
  540. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  541. #: apt-get.8.xml:100
  542. msgid ""
  543. "<literal>install</literal> is followed by one or more packages desired for "
  544. "installation or upgrading. Each package is a package name, not a fully "
  545. "qualified filename (for instance, in a Debian system, "
  546. "<package>apt-utils</package> would be the argument provided, not "
  547. "<filename>apt-utils_&apt-product-version;_amd64.deb</filename>). All "
  548. "packages required by the package(s) specified for installation will also be "
  549. "retrieved and installed. The <filename>/etc/apt/sources.list</filename> "
  550. "file is used to locate the desired packages. If a hyphen is appended to the "
  551. "package name (with no intervening space), the identified package will be "
  552. "removed if it is installed. Similarly a plus sign can be used to designate "
  553. "a package to install. These latter features may be used to override "
  554. "decisions made by apt-get's conflict resolution system."
  555. msgstr ""
  556. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  557. #: apt-get.8.xml:118
  558. msgid ""
  559. "A specific version of a package can be selected for installation by "
  560. "following the package name with an equals and the version of the package to "
  561. "select. This will cause that version to be located and selected for "
  562. "install. Alternatively a specific distribution can be selected by following "
  563. "the package name with a slash and the version of the distribution or the "
  564. "Archive name (stable, testing, unstable)."
  565. msgstr ""
  566. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  567. #: apt-get.8.xml:125
  568. msgid ""
  569. "Both of the version selection mechanisms can downgrade packages and must be "
  570. "used with care."
  571. msgstr ""
  572. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  573. #: apt-get.8.xml:128
  574. msgid ""
  575. "This is also the target to use if you want to upgrade one or more "
  576. "already-installed packages without upgrading every package you have on your "
  577. "system. Unlike the \"upgrade\" target, which installs the newest version of "
  578. "all currently installed packages, \"install\" will install the newest "
  579. "version of only the package(s) specified. Simply provide the name of the "
  580. "package(s) you wish to upgrade, and if a newer version is available, it (and "
  581. "its dependencies, as described above) will be downloaded and installed."
  582. msgstr ""
  583. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  584. #: apt-get.8.xml:139
  585. msgid ""
  586. "Finally, the &apt-preferences; mechanism allows you to create an alternative "
  587. "installation policy for individual packages."
  588. msgstr ""
  589. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  590. #: apt-get.8.xml:143
  591. msgid ""
  592. "If no package matches the given expression and the expression contains one "
  593. "of '.', '?' or '*' then it is assumed to be a POSIX regular expression, and "
  594. "it is applied to all package names in the database. Any matches are then "
  595. "installed (or removed). Note that matching is done by substring so 'lo.*' "
  596. "matches 'how-lo' and 'lowest'. If this is undesired, anchor the regular "
  597. "expression with a '^' or '$' character, or create a more specific regular "
  598. "expression."
  599. msgstr ""
  600. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  601. #: apt-get.8.xml:153
  602. msgid ""
  603. "<literal>remove</literal> is identical to <literal>install</literal> except "
  604. "that packages are removed instead of installed. Note that removing a package "
  605. "leaves its configuration files on the system. If a plus sign is appended to "
  606. "the package name (with no intervening space), the identified package will be "
  607. "installed instead of removed."
  608. msgstr ""
  609. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  610. #: apt-get.8.xml:161
  611. msgid ""
  612. "<literal>purge</literal> is identical to <literal>remove</literal> except "
  613. "that packages are removed and purged (any configuration files are deleted "
  614. "too)."
  615. msgstr ""
  616. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  617. #: apt-get.8.xml:166
  618. msgid ""
  619. "<literal>source</literal> causes <command>apt-get</command> to fetch source "
  620. "packages. APT will examine the available packages to decide which source "
  621. "package to fetch. It will then find and download into the current directory "
  622. "the newest available version of that source package while respecting the "
  623. "default release, set with the option "
  624. "<literal>APT::Default-Release</literal>, the <option>-t</option> option or "
  625. "per package with the <literal>pkg/release</literal> syntax, if possible."
  626. msgstr ""
  627. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  628. #: apt-get.8.xml:174
  629. msgid ""
  630. "Source packages are tracked separately from binary packages via "
  631. "<literal>deb-src</literal> lines in the &sources-list; file. This means that "
  632. "you will need to add such a line for each repository you want to get sources "
  633. "from; otherwise you will probably get either the wrong (too old/too new) "
  634. "source versions or none at all."
  635. msgstr ""
  636. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  637. #: apt-get.8.xml:180
  638. msgid ""
  639. "If the <option>--compile</option> option is specified then the package will "
  640. "be compiled to a binary .deb using <command>dpkg-buildpackage</command> for "
  641. "the architecture as defined by the <command>--host-architecture</command> "
  642. "option. If <option>--download-only</option> is specified then the source "
  643. "package will not be unpacked."
  644. msgstr ""
  645. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  646. #: apt-get.8.xml:187
  647. msgid ""
  648. "A specific source version can be retrieved by postfixing the source name "
  649. "with an equals and then the version to fetch, similar to the mechanism used "
  650. "for the package files. This enables exact matching of the source package "
  651. "name and version, implicitly enabling the "
  652. "<literal>APT::Get::Only-Source</literal> option."
  653. msgstr ""
  654. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  655. #: apt-get.8.xml:193
  656. msgid ""
  657. "Note that source packages are not installed and tracked in the "
  658. "<command>dpkg</command> database like binary packages; they are simply "
  659. "downloaded to the current directory, like source tarballs."
  660. msgstr ""
  661. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  662. #: apt-get.8.xml:199
  663. msgid ""
  664. "<literal>build-dep</literal> causes apt-get to install/remove packages in an "
  665. "attempt to satisfy the build dependencies for a source package. By default "
  666. "the dependencies are satisfied to build the package natively. If desired a "
  667. "host-architecture can be specified with the "
  668. "<option>--host-architecture</option> option instead."
  669. msgstr ""
  670. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  671. #: apt-get.8.xml:206
  672. msgid ""
  673. "<literal>check</literal> is a diagnostic tool; it updates the package cache "
  674. "and checks for broken dependencies."
  675. msgstr ""
  676. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  677. #: apt-get.8.xml:211
  678. msgid ""
  679. "<literal>download</literal> will download the given binary package into the "
  680. "current directory."
  681. msgstr ""
  682. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  683. #: apt-get.8.xml:217
  684. msgid ""
  685. "<literal>clean</literal> clears out the local repository of retrieved "
  686. "package files. It removes everything but the lock file from "
  687. "<filename>&cachedir;/archives/</filename> and "
  688. "<filename>&cachedir;/archives/partial/</filename>. When APT is used as a "
  689. "&dselect; method, <literal>clean</literal> is run automatically. Those who "
  690. "do not use dselect will likely want to run <literal>apt-get clean</literal> "
  691. "from time to time to free up disk space."
  692. msgstr ""
  693. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  694. #: apt-get.8.xml:227
  695. msgid ""
  696. "Like <literal>clean</literal>, <literal>autoclean</literal> clears out the "
  697. "local repository of retrieved package files. The difference is that it only "
  698. "removes package files that can no longer be downloaded, and are largely "
  699. "useless. This allows a cache to be maintained over a long period without it "
  700. "growing out of control. The configuration option "
  701. "<literal>APT::Clean-Installed</literal> will prevent installed packages from "
  702. "being erased if it is set to off."
  703. msgstr ""
  704. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  705. #: apt-get.8.xml:237
  706. msgid ""
  707. "<literal>autoremove</literal> is used to remove packages that were "
  708. "automatically installed to satisfy dependencies for other packages and are "
  709. "now no longer needed."
  710. msgstr ""
  711. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  712. #: apt-get.8.xml:242
  713. msgid ""
  714. "<literal>changelog</literal> downloads a package changelog and displays it "
  715. "through <command>sensible-pager</command>. The server name and base "
  716. "directory is defined in the <literal>APT::Changelogs::Server</literal> "
  717. "variable (e.g. <ulink "
  718. "url=\"http://packages.debian.org/changelogs\">packages.debian.org/changelogs</ulink> "
  719. "for Debian or <ulink "
  720. "url=\"http://changelogs.ubuntu.com/changelogs\">changelogs.ubuntu.com/changelogs</ulink> "
  721. "for Ubuntu). By default it displays the changelog for the version that is "
  722. "installed. However, you can specify the same options as for the "
  723. "<option>install</option> command."
  724. msgstr ""
  725. #. type: Content of: <refentry><refsect1><title>
  726. #: apt-get.8.xml:260 apt-cache.8.xml:250 apt-mark.8.xml:110 apt-config.8.xml:86 apt-extracttemplates.1.xml:54 apt-sortpkgs.1.xml:50 apt-ftparchive.1.xml:506
  727. msgid "options"
  728. msgstr ""
  729. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  730. #: apt-get.8.xml:265
  731. msgid ""
  732. "Do not consider recommended packages as a dependency for installing. "
  733. "Configuration Item: <literal>APT::Install-Recommends</literal>."
  734. msgstr ""
  735. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  736. #: apt-get.8.xml:270
  737. msgid ""
  738. "Consider suggested packages as a dependency for installing. Configuration "
  739. "Item: <literal>APT::Install-Suggests</literal>."
  740. msgstr ""
  741. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  742. #: apt-get.8.xml:275
  743. msgid ""
  744. "Download only; package files are only retrieved, not unpacked or installed. "
  745. "Configuration Item: <literal>APT::Get::Download-Only</literal>."
  746. msgstr ""
  747. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  748. #: apt-get.8.xml:280
  749. msgid ""
  750. "Fix; attempt to correct a system with broken dependencies in place. This "
  751. "option, when used with install/remove, can omit any packages to permit APT "
  752. "to deduce a likely solution. If packages are specified, these have to "
  753. "completely correct the problem. The option is sometimes necessary when "
  754. "running APT for the first time; APT itself does not allow broken package "
  755. "dependencies to exist on a system. It is possible that a system's dependency "
  756. "structure can be so corrupt as to require manual intervention (which usually "
  757. "means using &dselect; or <command>dpkg --remove</command> to eliminate some "
  758. "of the offending packages). Use of this option together with "
  759. "<option>-m</option> may produce an error in some situations. Configuration "
  760. "Item: <literal>APT::Get::Fix-Broken</literal>."
  761. msgstr ""
  762. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  763. #: apt-get.8.xml:295
  764. msgid ""
  765. "Ignore missing packages; if packages cannot be retrieved or fail the "
  766. "integrity check after retrieval (corrupted package files), hold back those "
  767. "packages and handle the result. Use of this option together with "
  768. "<option>-f</option> may produce an error in some situations. If a package is "
  769. "selected for installation (particularly if it is mentioned on the command "
  770. "line) and it could not be downloaded then it will be silently held back. "
  771. "Configuration Item: <literal>APT::Get::Fix-Missing</literal>."
  772. msgstr ""
  773. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  774. #: apt-get.8.xml:306
  775. msgid ""
  776. "Disables downloading of packages. This is best used with "
  777. "<option>--ignore-missing</option> to force APT to use only the .debs it has "
  778. "already downloaded. Configuration Item: "
  779. "<literal>APT::Get::Download</literal>."
  780. msgstr ""
  781. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  782. #: apt-get.8.xml:313
  783. msgid ""
  784. "Quiet; produces output suitable for logging, omitting progress indicators. "
  785. "More q's will produce more quiet up to a maximum of 2. You can also use "
  786. "<option>-q=#</option> to set the quiet level, overriding the configuration "
  787. "file. Note that quiet level 2 implies <option>-y</option>; you should never "
  788. "use -qq without a no-action modifier such as -d, --print-uris or -s as APT "
  789. "may decide to do something you did not expect. Configuration Item: "
  790. "<literal>quiet</literal>."
  791. msgstr ""
  792. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  793. #: apt-get.8.xml:328
  794. msgid ""
  795. "No action; perform a simulation of events that would occur but do not "
  796. "actually change the system. Configuration Item: "
  797. "<literal>APT::Get::Simulate</literal>."
  798. msgstr ""
  799. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  800. #: apt-get.8.xml:332
  801. msgid ""
  802. "Simulated runs performed as a user will automatically deactivate locking "
  803. "(<literal>Debug::NoLocking</literal>), and if the option "
  804. "<literal>APT::Get::Show-User-Simulation-Note</literal> is set (as it is by "
  805. "default) a notice will also be displayed indicating that this is only a "
  806. "simulation. Runs performed as root do not trigger either NoLocking or the "
  807. "notice - superusers should know what they are doing without further warnings "
  808. "from <literal>apt-get</literal>."
  809. msgstr ""
  810. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  811. #: apt-get.8.xml:340
  812. msgid ""
  813. "Simulated runs print out a series of lines, each representing a "
  814. "<command>dpkg</command> operation: configure (<literal>Conf</literal>), "
  815. "remove (<literal>Remv</literal>) or unpack "
  816. "(<literal>Inst</literal>). Square brackets indicate broken packages, and "
  817. "empty square brackets indicate breaks that are of no consequence (rare)."
  818. msgstr ""
  819. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  820. #: apt-get.8.xml:348
  821. msgid ""
  822. "Automatic yes to prompts; assume \"yes\" as answer to all prompts and run "
  823. "non-interactively. If an undesirable situation, such as changing a held "
  824. "package, trying to install a unauthenticated package or removing an "
  825. "essential package occurs then <literal>apt-get</literal> will abort. "
  826. "Configuration Item: <literal>APT::Get::Assume-Yes</literal>."
  827. msgstr ""
  828. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  829. #: apt-get.8.xml:356
  830. msgid ""
  831. "Automatic \"no\" to all prompts. Configuration Item: "
  832. "<literal>APT::Get::Assume-No</literal>."
  833. msgstr ""
  834. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  835. #: apt-get.8.xml:361
  836. msgid ""
  837. "Show upgraded packages; print out a list of all packages that are to be "
  838. "upgraded. Configuration Item: <literal>APT::Get::Show-Upgraded</literal>."
  839. msgstr ""
  840. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  841. #: apt-get.8.xml:367
  842. msgid ""
  843. "Show full versions for upgraded and installed packages. Configuration Item: "
  844. "<literal>APT::Get::Show-Versions</literal>."
  845. msgstr ""
  846. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  847. #: apt-get.8.xml:373
  848. msgid ""
  849. "This option controls the architecture packages are built for by "
  850. "<command>apt-get source --compile</command> and how cross-builddependencies "
  851. "are satisfied. By default is it not set which means that the host "
  852. "architecture is the same as the build architecture (which is defined by "
  853. "<literal>APT::Architecture</literal>). Configuration Item: "
  854. "<literal>APT::Get::Host-Architecture</literal>"
  855. msgstr ""
  856. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  857. #: apt-get.8.xml:383
  858. msgid ""
  859. "Compile source packages after downloading them. Configuration Item: "
  860. "<literal>APT::Get::Compile</literal>."
  861. msgstr ""
  862. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  863. #: apt-get.8.xml:388
  864. msgid ""
  865. "Ignore package holds; this causes <command>apt-get</command> to ignore a "
  866. "hold placed on a package. This may be useful in conjunction with "
  867. "<literal>dist-upgrade</literal> to override a large number of undesired "
  868. "holds. Configuration Item: <literal>APT::Ignore-Hold</literal>."
  869. msgstr ""
  870. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  871. #: apt-get.8.xml:395
  872. msgid ""
  873. "Allow installing new packages when used in conjunction with "
  874. "<literal>upgrade</literal>. This is useful if the update of a installed "
  875. "package requires new dependencies to be installed. Instead of holding the "
  876. "package back <literal>upgrade</literal> will upgrade the package and install "
  877. "the new dependencies. Note that <literal>upgrade</literal> with this option "
  878. "will never remove packages, only allow adding new ones. Configuration Item: "
  879. "<literal>APT::Get::Upgrade-Allow-New</literal>."
  880. msgstr ""
  881. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  882. #: apt-get.8.xml:407
  883. msgid ""
  884. "Do not upgrade packages; when used in conjunction with "
  885. "<literal>install</literal>, <literal>no-upgrade</literal> will prevent "
  886. "packages on the command line from being upgraded if they are already "
  887. "installed. Configuration Item: <literal>APT::Get::Upgrade</literal>."
  888. msgstr ""
  889. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  890. #: apt-get.8.xml:414
  891. msgid ""
  892. "Do not install new packages; when used in conjunction with "
  893. "<literal>install</literal>, <literal>only-upgrade</literal> will install "
  894. "upgrades for already installed packages only and ignore requests to install "
  895. "new packages. Configuration Item: "
  896. "<literal>APT::Get::Only-Upgrade</literal>."
  897. msgstr ""
  898. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  899. #: apt-get.8.xml:422
  900. msgid ""
  901. "Force yes; this is a dangerous option that will cause apt to continue "
  902. "without prompting if it is doing something potentially harmful. It should "
  903. "not be used except in very special situations. Using "
  904. "<literal>force-yes</literal> can potentially destroy your system! "
  905. "Configuration Item: <literal>APT::Get::force-yes</literal>."
  906. msgstr ""
  907. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  908. #: apt-get.8.xml:430
  909. msgid ""
  910. "Instead of fetching the files to install their URIs are printed. Each URI "
  911. "will have the path, the destination file name, the size and the expected MD5 "
  912. "hash. Note that the file name to write to will not always match the file "
  913. "name on the remote site! This also works with the <literal>source</literal> "
  914. "and <literal>update</literal> commands. When used with the "
  915. "<literal>update</literal> command the MD5 and size are not included, and it "
  916. "is up to the user to decompress any compressed files. Configuration Item: "
  917. "<literal>APT::Get::Print-URIs</literal>."
  918. msgstr ""
  919. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  920. #: apt-get.8.xml:441
  921. msgid ""
  922. "Use purge instead of remove for anything that would be removed. An asterisk "
  923. "(\"*\") will be displayed next to packages which are scheduled to be "
  924. "purged. <option>remove --purge</option> is equivalent to the "
  925. "<option>purge</option> command. Configuration Item: "
  926. "<literal>APT::Get::Purge</literal>."
  927. msgstr ""
  928. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  929. #: apt-get.8.xml:449
  930. msgid ""
  931. "Re-install packages that are already installed and at the newest version. "
  932. "Configuration Item: <literal>APT::Get::ReInstall</literal>."
  933. msgstr ""
  934. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  935. #: apt-get.8.xml:454
  936. msgid ""
  937. "This option is on by default; use <literal>--no-list-cleanup</literal> to "
  938. "turn it off. When it is on, <command>apt-get</command> will automatically "
  939. "manage the contents of <filename>&statedir;/lists</filename> to ensure that "
  940. "obsolete files are erased. The only reason to turn it off is if you "
  941. "frequently change your sources list. Configuration Item: "
  942. "<literal>APT::Get::List-Cleanup</literal>."
  943. msgstr ""
  944. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  945. #: apt-get.8.xml:464
  946. msgid ""
  947. "This option controls the default input to the policy engine; it creates a "
  948. "default pin at priority 990 using the specified release string. This "
  949. "overrides the general settings in "
  950. "<filename>/etc/apt/preferences</filename>. Specifically pinned packages are "
  951. "not affected by the value of this option. In short, this option lets you "
  952. "have simple control over which distribution packages will be retrieved "
  953. "from. Some common examples might be <option>-t '2.1*'</option>, <option>-t "
  954. "unstable</option> or <option>-t sid</option>. Configuration Item: "
  955. "<literal>APT::Default-Release</literal>; see also the &apt-preferences; "
  956. "manual page."
  957. msgstr ""
  958. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  959. #: apt-get.8.xml:479
  960. msgid ""
  961. "Only perform operations that are 'trivial'. Logically this can be considered "
  962. "related to <option>--assume-yes</option>; where "
  963. "<option>--assume-yes</option> will answer yes to any prompt, "
  964. "<option>--trivial-only</option> will answer no. Configuration Item: "
  965. "<literal>APT::Get::Trivial-Only</literal>."
  966. msgstr ""
  967. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  968. #: apt-get.8.xml:486
  969. msgid ""
  970. "If any packages are to be removed apt-get immediately aborts without "
  971. "prompting. Configuration Item: <literal>APT::Get::Remove</literal>."
  972. msgstr ""
  973. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  974. #: apt-get.8.xml:492
  975. msgid ""
  976. "If the command is either <literal>install</literal> or "
  977. "<literal>remove</literal>, then this option acts like running the "
  978. "<literal>autoremove</literal> command, removing unused dependency "
  979. "packages. Configuration Item: <literal>APT::Get::AutomaticRemove</literal>."
  980. msgstr ""
  981. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  982. #: apt-get.8.xml:499
  983. msgid ""
  984. "Only has meaning for the <literal>source</literal> and "
  985. "<literal>build-dep</literal> commands. Indicates that the given source "
  986. "names are not to be mapped through the binary table. This means that if "
  987. "this option is specified, these commands will only accept source package "
  988. "names as arguments, rather than accepting binary package names and looking "
  989. "up the corresponding source package. Configuration Item: "
  990. "<literal>APT::Get::Only-Source</literal>."
  991. msgstr ""
  992. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  993. #: apt-get.8.xml:510
  994. msgid ""
  995. "Download only the diff, dsc, or tar file of a source archive. Configuration "
  996. "Item: <literal>APT::Get::Diff-Only</literal>, "
  997. "<literal>APT::Get::Dsc-Only</literal>, and "
  998. "<literal>APT::Get::Tar-Only</literal>."
  999. msgstr ""
  1000. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1001. #: apt-get.8.xml:516
  1002. msgid ""
  1003. "Only process architecture-dependent build-dependencies. Configuration Item: "
  1004. "<literal>APT::Get::Arch-Only</literal>."
  1005. msgstr ""
  1006. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1007. #: apt-get.8.xml:521
  1008. msgid ""
  1009. "Ignore if packages can't be authenticated and don't prompt about it. This "
  1010. "is useful for tools like pbuilder. Configuration Item: "
  1011. "<literal>APT::Get::AllowUnauthenticated</literal>."
  1012. msgstr ""
  1013. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1014. #: apt-get.8.xml:527
  1015. msgid ""
  1016. "Show user friendly progress information in the terminal window when packages "
  1017. "are installed, upgraded or removed. For a machine parsable version of this "
  1018. "data see README.progress-reporting in the apt doc directory. Configuration "
  1019. "Item: <literal>DpkgPM::Progress</literal> and "
  1020. "<literal>Dpkg::Progress-Fancy</literal>."
  1021. msgstr ""
  1022. #. type: Content of: <refentry><refsect1><title>
  1023. #: apt-get.8.xml:540 apt-cache.8.xml:345 apt-key.8.xml:176 apt-mark.8.xml:127 apt.conf.5.xml:1200 apt_preferences.5.xml:700
  1024. msgid "Files"
  1025. msgstr ""
  1026. #. type: Content of: <refentry><refsect1><title>
  1027. #: apt-get.8.xml:550 apt-cache.8.xml:352 apt-key.8.xml:197 apt-mark.8.xml:133 apt-secure.8.xml:193 apt-cdrom.8.xml:154 apt-config.8.xml:111 apt.conf.5.xml:1206 apt_preferences.5.xml:707 sources.list.5.xml:258 apt-extracttemplates.1.xml:72 apt-sortpkgs.1.xml:65 apt-ftparchive.1.xml:609
  1028. msgid "See Also"
  1029. msgstr ""
  1030. #. type: Content of: <refentry><refsect1><para>
  1031. #: apt-get.8.xml:551
  1032. msgid ""
  1033. "&apt-cache;, &apt-cdrom;, &dpkg;, &dselect;, &sources-list;, &apt-conf;, "
  1034. "&apt-config;, &apt-secure;, The APT User's guide in &guidesdir;, "
  1035. "&apt-preferences;, the APT Howto."
  1036. msgstr ""
  1037. #. type: Content of: <refentry><refsect1><title>
  1038. #: apt-get.8.xml:556 apt-cache.8.xml:357 apt-mark.8.xml:137 apt-cdrom.8.xml:159 apt-config.8.xml:116 apt-extracttemplates.1.xml:76 apt-sortpkgs.1.xml:69 apt-ftparchive.1.xml:613
  1039. msgid "Diagnostics"
  1040. msgstr ""
  1041. #. type: Content of: <refentry><refsect1><para>
  1042. #: apt-get.8.xml:557
  1043. msgid ""
  1044. "<command>apt-get</command> returns zero on normal operation, decimal 100 on "
  1045. "error."
  1046. msgstr ""
  1047. #. type: Content of: <refentry><refnamediv><refpurpose>
  1048. #: apt-cache.8.xml:35
  1049. msgid "query the APT cache"
  1050. msgstr ""
  1051. #. type: Content of: <refentry><refsect1><para>
  1052. #: apt-cache.8.xml:41
  1053. msgid ""
  1054. "<command>apt-cache</command> performs a variety of operations on APT's "
  1055. "package cache. <command>apt-cache</command> does not manipulate the state of "
  1056. "the system but does provide operations to search and generate interesting "
  1057. "output from the package metadata."
  1058. msgstr ""
  1059. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1060. #: apt-cache.8.xml:51
  1061. msgid ""
  1062. "<literal>gencaches</literal> creates APT's package cache. This is done "
  1063. "implicitly by all commands needing this cache if it is missing or outdated."
  1064. msgstr ""
  1065. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option><replaceable>
  1066. #: apt-cache.8.xml:55 apt-cache.8.xml:144 apt-cache.8.xml:165 apt-cache.8.xml:187 apt-cache.8.xml:192 apt-cache.8.xml:208 apt-cache.8.xml:226 apt-cache.8.xml:238
  1067. msgid "&synopsis-pkg;"
  1068. msgstr ""
  1069. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1070. #: apt-cache.8.xml:56
  1071. msgid ""
  1072. "<literal>showpkg</literal> displays information about the packages listed on "
  1073. "the command line. Remaining arguments are package names. The available "
  1074. "versions and reverse dependencies of each package listed are listed, as well "
  1075. "as forward dependencies for each version. Forward (normal) dependencies are "
  1076. "those packages upon which the package in question depends; reverse "
  1077. "dependencies are those packages that depend upon the package in "
  1078. "question. Thus, forward dependencies must be satisfied for a package, but "
  1079. "reverse dependencies need not be. For instance, <command>apt-cache showpkg "
  1080. "libreadline2</command> would produce output similar to the following:"
  1081. msgstr ""
  1082. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><informalexample><programlisting>
  1083. #: apt-cache.8.xml:68
  1084. #, no-wrap
  1085. msgid ""
  1086. "Package: libreadline2\n"
  1087. "Versions: 2.1-12(/var/state/apt/lists/foo_Packages),\n"
  1088. "Reverse Depends: \n"
  1089. " libreadlineg2,libreadline2\n"
  1090. " libreadline2-altdev,libreadline2\n"
  1091. "Dependencies:\n"
  1092. "2.1-12 - libc5 (2 5.4.0-0) ncurses3.0 (0 (null))\n"
  1093. "Provides:\n"
  1094. "2.1-12 - \n"
  1095. "Reverse Provides: \n"
  1096. msgstr ""
  1097. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1098. #: apt-cache.8.xml:80
  1099. msgid ""
  1100. "Thus it may be seen that libreadline2, version 2.1-12, depends on libc5 and "
  1101. "ncurses3.0 which must be installed for libreadline2 to work. In turn, "
  1102. "libreadlineg2 and libreadline2-altdev depend on libreadline2. If "
  1103. "libreadline2 is installed, libc5 and ncurses3.0 (and ldso) must also be "
  1104. "installed; libreadlineg2 and libreadline2-altdev do not have to be "
  1105. "installed. For the specific meaning of the remainder of the output it is "
  1106. "best to consult the apt source code."
  1107. msgstr ""
  1108. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1109. #: apt-cache.8.xml:89
  1110. msgid ""
  1111. "<literal>stats</literal> displays some statistics about the cache. No "
  1112. "further arguments are expected. Statistics reported are:"
  1113. msgstr ""
  1114. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
  1115. #: apt-cache.8.xml:92
  1116. msgid ""
  1117. "<literal>Total package names</literal> is the number of package names found "
  1118. "in the cache."
  1119. msgstr ""
  1120. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
  1121. #: apt-cache.8.xml:96
  1122. msgid ""
  1123. "<literal>Normal packages</literal> is the number of regular, ordinary "
  1124. "package names; these are packages that bear a one-to-one correspondence "
  1125. "between their names and the names used by other packages for them in "
  1126. "dependencies. The majority of packages fall into this category."
  1127. msgstr ""
  1128. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
  1129. #: apt-cache.8.xml:102
  1130. msgid ""
  1131. "<literal>Pure virtual packages</literal> is the number of packages that "
  1132. "exist only as a virtual package name; that is, packages only \"provide\" the "
  1133. "virtual package name, and no package actually uses the name. For instance, "
  1134. "\"mail-transport-agent\" in the Debian system is a pure virtual package; "
  1135. "several packages provide \"mail-transport-agent\", but there is no package "
  1136. "named \"mail-transport-agent\"."
  1137. msgstr ""
  1138. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
  1139. #: apt-cache.8.xml:110
  1140. msgid ""
  1141. "<literal>Single virtual packages</literal> is the number of packages with "
  1142. "only one package providing a particular virtual package. For example, in the "
  1143. "Debian system, \"X11-text-viewer\" is a virtual package, but only one "
  1144. "package, xless, provides \"X11-text-viewer\"."
  1145. msgstr ""
  1146. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
  1147. #: apt-cache.8.xml:116
  1148. msgid ""
  1149. "<literal>Mixed virtual packages</literal> is the number of packages that "
  1150. "either provide a particular virtual package or have the virtual package name "
  1151. "as the package name. For instance, in the Debian system, \"debconf\" is both "
  1152. "an actual package, and provided by the debconf-tiny package."
  1153. msgstr ""
  1154. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
  1155. #: apt-cache.8.xml:123
  1156. msgid ""
  1157. "<literal>Missing</literal> is the number of package names that were "
  1158. "referenced in a dependency but were not provided by any package. Missing "
  1159. "packages may be an evidence if a full distribution is not accessed, or if a "
  1160. "package (real or virtual) has been dropped from the distribution. Usually "
  1161. "they are referenced from Conflicts or Breaks statements."
  1162. msgstr ""
  1163. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
  1164. #: apt-cache.8.xml:130
  1165. msgid ""
  1166. "<literal>Total distinct</literal> versions is the number of package versions "
  1167. "found in the cache; this value is therefore at least equal to the number of "
  1168. "total package names. If more than one distribution is being accessed (for "
  1169. "instance, \"stable\" and \"unstable\"), this value can be considerably "
  1170. "larger than the number of total package names."
  1171. msgstr ""
  1172. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
  1173. #: apt-cache.8.xml:137
  1174. msgid ""
  1175. "<literal>Total dependencies</literal> is the number of dependency "
  1176. "relationships claimed by all of the packages in the cache."
  1177. msgstr ""
  1178. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1179. #: apt-cache.8.xml:145
  1180. msgid ""
  1181. "<literal>showsrc</literal> displays all the source package records that "
  1182. "match the given package names. All versions are shown, as well as all "
  1183. "records that declare the name to be a binary package."
  1184. msgstr ""
  1185. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1186. #: apt-cache.8.xml:151
  1187. msgid ""
  1188. "<literal>dump</literal> shows a short listing of every package in the "
  1189. "cache. It is primarily for debugging."
  1190. msgstr ""
  1191. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1192. #: apt-cache.8.xml:156
  1193. msgid ""
  1194. "<literal>dumpavail</literal> prints out an available list to stdout. This is "
  1195. "suitable for use with &dpkg; and is used by the &dselect; method."
  1196. msgstr ""
  1197. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1198. #: apt-cache.8.xml:161
  1199. msgid ""
  1200. "<literal>unmet</literal> displays a summary of all unmet dependencies in the "
  1201. "package cache."
  1202. msgstr ""
  1203. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1204. #: apt-cache.8.xml:166
  1205. msgid ""
  1206. "<literal>show</literal> performs a function similar to <command>dpkg "
  1207. "--print-avail</command>; it displays the package records for the named "
  1208. "packages."
  1209. msgstr ""
  1210. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option><replaceable>
  1211. #: apt-cache.8.xml:171
  1212. msgid "&synopsis-regex;"
  1213. msgstr ""
  1214. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1215. #: apt-cache.8.xml:172
  1216. msgid ""
  1217. "<literal>search</literal> performs a full text search on all available "
  1218. "package lists for the POSIX regex pattern given, see &regex;. It searches "
  1219. "the package names and the descriptions for an occurrence of the regular "
  1220. "expression and prints out the package name and the short description, "
  1221. "including virtual package names. If <option>--full</option> is given then "
  1222. "output identical to <literal>show</literal> is produced for each matched "
  1223. "package, and if <option>--names-only</option> is given then the long "
  1224. "description is not searched, only the package name is."
  1225. msgstr ""
  1226. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1227. #: apt-cache.8.xml:183
  1228. msgid ""
  1229. "Separate arguments can be used to specify multiple search patterns that are "
  1230. "and'ed together."
  1231. msgstr ""
  1232. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1233. #: apt-cache.8.xml:188
  1234. msgid ""
  1235. "<literal>depends</literal> shows a listing of each dependency a package has "
  1236. "and all the possible other packages that can fulfill that dependency."
  1237. msgstr ""
  1238. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1239. #: apt-cache.8.xml:193
  1240. msgid ""
  1241. "<literal>rdepends</literal> shows a listing of each reverse dependency a "
  1242. "package has."
  1243. msgstr ""
  1244. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
  1245. #: apt-cache.8.xml:197
  1246. msgid "<optional><replaceable>&synopsis-prefix;</replaceable></optional>"
  1247. msgstr ""
  1248. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1249. #: apt-cache.8.xml:198
  1250. msgid ""
  1251. "This command prints the name of each package APT knows. The optional "
  1252. "argument is a prefix match to filter the name list. The output is suitable "
  1253. "for use in a shell tab complete function and the output is generated "
  1254. "extremely quickly. This command is best used with the "
  1255. "<option>--generate</option> option."
  1256. msgstr ""
  1257. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1258. #: apt-cache.8.xml:203
  1259. msgid ""
  1260. "Note that a package which APT knows of is not necessarily available to "
  1261. "download, installable or installed, e.g. virtual packages are also listed in "
  1262. "the generated list."
  1263. msgstr ""
  1264. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1265. #: apt-cache.8.xml:209
  1266. msgid ""
  1267. "<literal>dotty</literal> takes a list of packages on the command line and "
  1268. "generates output suitable for use by dotty from the <ulink "
  1269. "url=\"http://www.research.att.com/sw/tools/graphviz/\">GraphViz</ulink> "
  1270. "package. The result will be a set of nodes and edges representing the "
  1271. "relationships between the packages. By default the given packages will trace "
  1272. "out all dependent packages; this can produce a very large graph. To limit "
  1273. "the output to only the packages listed on the command line, set the "
  1274. "<literal>APT::Cache::GivenOnly</literal> option."
  1275. msgstr ""
  1276. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1277. #: apt-cache.8.xml:218
  1278. msgid ""
  1279. "The resulting nodes will have several shapes; normal packages are boxes, "
  1280. "pure virtual packages are triangles, mixed virtual packages are diamonds, "
  1281. "missing packages are hexagons. Orange boxes mean recursion was stopped (leaf "
  1282. "packages), blue lines are pre-depends, green lines are conflicts."
  1283. msgstr ""
  1284. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1285. #: apt-cache.8.xml:223
  1286. msgid "Caution, dotty cannot graph larger sets of packages."
  1287. msgstr ""
  1288. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1289. #: apt-cache.8.xml:227
  1290. msgid ""
  1291. "The same as <literal>dotty</literal>, only for xvcg from the <ulink "
  1292. "url=\"http://rw4.cs.uni-sb.de/users/sander/html/gsvcg1.html\">VCG "
  1293. "tool</ulink>."
  1294. msgstr ""
  1295. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
  1296. #: apt-cache.8.xml:231
  1297. msgid "<optional><replaceable>&synopsis-pkg;</replaceable>…</optional>"
  1298. msgstr ""
  1299. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1300. #: apt-cache.8.xml:232
  1301. msgid ""
  1302. "<literal>policy</literal> is meant to help debug issues relating to the "
  1303. "preferences file. With no arguments it will print out the priorities of each "
  1304. "source. Otherwise it prints out detailed information about the priority "
  1305. "selection of the named package."
  1306. msgstr ""
  1307. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1308. #: apt-cache.8.xml:239
  1309. msgid ""
  1310. "<literal>apt-cache</literal>'s <literal>madison</literal> command attempts "
  1311. "to mimic the output format and a subset of the functionality of the Debian "
  1312. "archive management tool, <literal>madison</literal>. It displays available "
  1313. "versions of a package in a tabular format. Unlike the original "
  1314. "<literal>madison</literal>, it can only display information for the "
  1315. "architecture for which APT has retrieved package lists "
  1316. "(<literal>APT::Architecture</literal>)."
  1317. msgstr ""
  1318. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1319. #: apt-cache.8.xml:255
  1320. msgid ""
  1321. "Select the file to store the package cache. The package cache is the primary "
  1322. "cache used by all operations. Configuration Item: "
  1323. "<literal>Dir::Cache::pkgcache</literal>."
  1324. msgstr ""
  1325. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1326. #: apt-cache.8.xml:261
  1327. msgid ""
  1328. "Select the file to store the source cache. The source is used only by "
  1329. "<literal>gencaches</literal> and it stores a parsed version of the package "
  1330. "information from remote sources. When building the package cache the source "
  1331. "cache is used to avoid reparsing all of the package files. Configuration "
  1332. "Item: <literal>Dir::Cache::srcpkgcache</literal>."
  1333. msgstr ""
  1334. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1335. #: apt-cache.8.xml:269
  1336. msgid ""
  1337. "Quiet; produces output suitable for logging, omitting progress indicators. "
  1338. "More q's will produce more quietness up to a maximum of 2. You can also use "
  1339. "<option>-q=#</option> to set the quietness level, overriding the "
  1340. "configuration file. Configuration Item: <literal>quiet</literal>."
  1341. msgstr ""
  1342. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1343. #: apt-cache.8.xml:276
  1344. msgid ""
  1345. "Print only important dependencies; for use with <literal>unmet</literal> and "
  1346. "<literal>depends</literal>. Causes only Depends and Pre-Depends relations to "
  1347. "be printed. Configuration Item: <literal>APT::Cache::Important</literal>."
  1348. msgstr ""
  1349. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1350. #: apt-cache.8.xml:290
  1351. msgid ""
  1352. "Per default the <literal>depends</literal> and <literal>rdepends</literal> "
  1353. "print all dependencies. This can be tweaked with these flags which will omit "
  1354. "the specified dependency type. Configuration Item: "
  1355. "<literal>APT::Cache::Show<replaceable>DependencyType</replaceable></literal> "
  1356. "e.g. <literal>APT::Cache::ShowRecommends</literal>."
  1357. msgstr ""
  1358. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1359. #: apt-cache.8.xml:297
  1360. msgid ""
  1361. "Print full package records when searching. Configuration Item: "
  1362. "<literal>APT::Cache::ShowFull</literal>."
  1363. msgstr ""
  1364. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1365. #: apt-cache.8.xml:302
  1366. msgid ""
  1367. "Print full records for all available versions. This is the default; to turn "
  1368. "it off, use <option>--no-all-versions</option>. If "
  1369. "<option>--no-all-versions</option> is specified, only the candidate version "
  1370. "will be displayed (the one which would be selected for installation). This "
  1371. "option is only applicable to the <literal>show</literal> command. "
  1372. "Configuration Item: <literal>APT::Cache::AllVersions</literal>."
  1373. msgstr ""
  1374. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1375. #: apt-cache.8.xml:311
  1376. msgid ""
  1377. "Perform automatic package cache regeneration, rather than use the cache as "
  1378. "it is. This is the default; to turn it off, use "
  1379. "<option>--no-generate</option>. Configuration Item: "
  1380. "<literal>APT::Cache::Generate</literal>."
  1381. msgstr ""
  1382. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1383. #: apt-cache.8.xml:317
  1384. msgid ""
  1385. "Only search on the package names, not the long descriptions. Configuration "
  1386. "Item: <literal>APT::Cache::NamesOnly</literal>."
  1387. msgstr ""
  1388. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1389. #: apt-cache.8.xml:322
  1390. msgid ""
  1391. "Make <literal>pkgnames</literal> print all names, including virtual packages "
  1392. "and missing dependencies. Configuration Item: "
  1393. "<literal>APT::Cache::AllNames</literal>."
  1394. msgstr ""
  1395. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1396. #: apt-cache.8.xml:328
  1397. msgid ""
  1398. "Make <literal>depends</literal> and <literal>rdepends</literal> recursive so "
  1399. "that all packages mentioned are printed once. Configuration Item: "
  1400. "<literal>APT::Cache::RecurseDepends</literal>."
  1401. msgstr ""
  1402. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1403. #: apt-cache.8.xml:335
  1404. msgid ""
  1405. "Limit the output of <literal>depends</literal> and "
  1406. "<literal>rdepends</literal> to packages which are currently installed. "
  1407. "Configuration Item: <literal>APT::Cache::Installed</literal>."
  1408. msgstr ""
  1409. #. type: Content of: <refentry><refsect1><para>
  1410. #: apt-cache.8.xml:353
  1411. msgid "&apt-conf;, &sources-list;, &apt-get;"
  1412. msgstr ""
  1413. #. type: Content of: <refentry><refsect1><para>
  1414. #: apt-cache.8.xml:358
  1415. msgid ""
  1416. "<command>apt-cache</command> returns zero on normal operation, decimal 100 "
  1417. "on error."
  1418. msgstr ""
  1419. #. type: Content of: <refentry><refnamediv><refpurpose>
  1420. #: apt-key.8.xml:34
  1421. msgid "APT key management utility"
  1422. msgstr ""
  1423. #. type: Content of: <refentry><refsect1><para>
  1424. #: apt-key.8.xml:41
  1425. msgid ""
  1426. "<command>apt-key</command> is used to manage the list of keys used by apt to "
  1427. "authenticate packages. Packages which have been authenticated using these "
  1428. "keys will be considered trusted."
  1429. msgstr ""
  1430. #. type: Content of: <refentry><refsect1><title>
  1431. #: apt-key.8.xml:47
  1432. msgid "Commands"
  1433. msgstr ""
  1434. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1435. #: apt-key.8.xml:52
  1436. msgid ""
  1437. "Add a new key to the list of trusted keys. The key is read from the "
  1438. "filename given with the parameter &synopsis-param-filename; or if the "
  1439. "filename is <literal>-</literal> from standard input."
  1440. msgstr ""
  1441. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1442. #: apt-key.8.xml:65
  1443. msgid "Remove a key from the list of trusted keys."
  1444. msgstr ""
  1445. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1446. #: apt-key.8.xml:76
  1447. msgid "Output the key &synopsis-param-keyid; to standard output."
  1448. msgstr ""
  1449. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1450. #: apt-key.8.xml:87
  1451. msgid "Output all trusted keys to standard output."
  1452. msgstr ""
  1453. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1454. #: apt-key.8.xml:98
  1455. msgid "List trusted keys."
  1456. msgstr ""
  1457. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1458. #: apt-key.8.xml:109
  1459. msgid "List fingerprints of trusted keys."
  1460. msgstr ""
  1461. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1462. #: apt-key.8.xml:120
  1463. msgid ""
  1464. "Pass advanced options to gpg. With adv --recv-key you can download the "
  1465. "public key."
  1466. msgstr ""
  1467. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1468. #: apt-key.8.xml:132
  1469. msgid ""
  1470. "Update the local keyring with the archive keyring and remove from the local "
  1471. "keyring the archive keys which are no longer valid. The archive keyring is "
  1472. "shipped in the <literal>archive-keyring</literal> package of your "
  1473. "distribution, e.g. the &keyring-package; package in &keyring-distro;."
  1474. msgstr ""
  1475. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1476. #: apt-key.8.xml:146
  1477. msgid ""
  1478. "Perform an update working similarly to the <command>update</command> command "
  1479. "above, but get the archive keyring from a URI instead and validate it "
  1480. "against a master key. This requires an installed &wget; and an APT build "
  1481. "configured to have a server to fetch from and a master keyring to validate. "
  1482. "APT in Debian does not support this command, relying on "
  1483. "<command>update</command> instead, but Ubuntu's APT does."
  1484. msgstr ""
  1485. #. type: Content of: <refentry><refsect1><title>
  1486. #: apt-key.8.xml:162 apt-cdrom.8.xml:82
  1487. msgid "Options"
  1488. msgstr ""
  1489. #. type: Content of: <refentry><refsect1><para>
  1490. #: apt-key.8.xml:163
  1491. msgid ""
  1492. "Note that options need to be defined before the commands described in the "
  1493. "previous section."
  1494. msgstr ""
  1495. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1496. #: apt-key.8.xml:166
  1497. msgid ""
  1498. "With this option it is possible to specify a particular keyring file the "
  1499. "command should operate on. The default is that a command is executed on the "
  1500. "<filename>trusted.gpg</filename> file as well as on all parts in the "
  1501. "<filename>trusted.gpg.d</filename> directory, though "
  1502. "<filename>trusted.gpg</filename> is the primary keyring which means that "
  1503. "e.g. new keys are added to this one."
  1504. msgstr ""
  1505. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
  1506. #: apt-key.8.xml:181
  1507. msgid "<filename>/etc/apt/trustdb.gpg</filename>"
  1508. msgstr ""
  1509. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1510. #: apt-key.8.xml:182
  1511. msgid "Local trust database of archive keys."
  1512. msgstr ""
  1513. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
  1514. #: apt-key.8.xml:185
  1515. msgid "&keyring-filename;"
  1516. msgstr ""
  1517. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1518. #: apt-key.8.xml:186
  1519. msgid "Keyring of &keyring-distro; archive trusted keys."
  1520. msgstr ""
  1521. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
  1522. #: apt-key.8.xml:189
  1523. msgid "&keyring-removed-filename;"
  1524. msgstr ""
  1525. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1526. #: apt-key.8.xml:190
  1527. msgid "Keyring of &keyring-distro; archive removed trusted keys."
  1528. msgstr ""
  1529. #. type: Content of: <refentry><refsect1><para>
  1530. #: apt-key.8.xml:199
  1531. msgid "&apt-get;, &apt-secure;"
  1532. msgstr ""
  1533. #. type: Content of: <refentry><refnamediv><refpurpose>
  1534. #: apt-mark.8.xml:35
  1535. msgid "mark/unmark a package as being automatically-installed"
  1536. msgstr ""
  1537. #. type: Content of: <refentry><refsect1><para>
  1538. #: apt-mark.8.xml:41
  1539. msgid ""
  1540. "<command>apt-mark</command> will change whether a package has been marked as "
  1541. "being automatically installed."
  1542. msgstr ""
  1543. #. type: Content of: <refentry><refsect1><para>
  1544. #: apt-mark.8.xml:45
  1545. msgid ""
  1546. "When you request that a package is installed, and as a result other packages "
  1547. "are installed to satisfy its dependencies, the dependencies are marked as "
  1548. "being automatically installed. Once these automatically installed packages "
  1549. "are no longer depended on by any manually installed packages, they will be "
  1550. "removed by e.g. <command>apt-get</command> or <command>aptitude</command>."
  1551. msgstr ""
  1552. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1553. #: apt-mark.8.xml:54
  1554. msgid ""
  1555. "<literal>auto</literal> is used to mark a package as being automatically "
  1556. "installed, which will cause the package to be removed when no more manually "
  1557. "installed packages depend on this package."
  1558. msgstr ""
  1559. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1560. #: apt-mark.8.xml:62
  1561. msgid ""
  1562. "<literal>manual</literal> is used to mark a package as being manually "
  1563. "installed, which will prevent the package from being automatically removed "
  1564. "if no other packages depend on it."
  1565. msgstr ""
  1566. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1567. #: apt-mark.8.xml:70
  1568. msgid ""
  1569. "<literal>hold</literal> is used to mark a package as held back, which will "
  1570. "prevent the package from being automatically installed, upgraded or "
  1571. "removed. The command is only a wrapper around <command>dpkg "
  1572. "--set-selections</command> and the state is therefore maintained by &dpkg; "
  1573. "and not affected by the <option>--file</option> option."
  1574. msgstr ""
  1575. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1576. #: apt-mark.8.xml:80
  1577. msgid ""
  1578. "<literal>unhold</literal> is used to cancel a previously set hold on a "
  1579. "package to allow all actions again."
  1580. msgstr ""
  1581. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1582. #: apt-mark.8.xml:86
  1583. msgid ""
  1584. "<literal>showauto</literal> is used to print a list of automatically "
  1585. "installed packages with each package on a new line. All automatically "
  1586. "installed packages will be listed if no package is given. If packages are "
  1587. "given only those which are automatically installed will be shown."
  1588. msgstr ""
  1589. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1590. #: apt-mark.8.xml:94
  1591. msgid ""
  1592. "<literal>showmanual</literal> can be used in the same way as "
  1593. "<literal>showauto</literal> except that it will print a list of manually "
  1594. "installed packages instead."
  1595. msgstr ""
  1596. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1597. #: apt-mark.8.xml:101
  1598. msgid ""
  1599. "<literal>showhold</literal> is used to print a list of packages on hold in "
  1600. "the same way as for the other show commands."
  1601. msgstr ""
  1602. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1603. #: apt-mark.8.xml:117
  1604. msgid ""
  1605. "Read/Write package stats from the filename given with the parameter "
  1606. "&synopsis-param-filename; instead of from the default location, which is "
  1607. "<filename>extended_status</filename> in the directory defined by the "
  1608. "Configuration Item: <literal>Dir::State</literal>."
  1609. msgstr ""
  1610. #. type: Content of: <refentry><refsect1><para>
  1611. #: apt-mark.8.xml:138
  1612. msgid ""
  1613. "<command>apt-mark</command> returns zero on normal operation, non-zero on "
  1614. "error."
  1615. msgstr ""
  1616. #. type: Content of: <refentry><refnamediv><refpurpose>
  1617. #: apt-secure.8.xml:49
  1618. msgid "Archive authentication support for APT"
  1619. msgstr ""
  1620. #. type: Content of: <refentry><refsect1><para>
  1621. #: apt-secure.8.xml:54
  1622. msgid ""
  1623. "Starting with version 0.6, <command>apt</command> contains code that does "
  1624. "signature checking of the Release file for all archives. This ensures that "
  1625. "packages in the archive can't be modified by people who have no access to "
  1626. "the Release file signing key."
  1627. msgstr ""
  1628. #. type: Content of: <refentry><refsect1><para>
  1629. #: apt-secure.8.xml:62
  1630. msgid ""
  1631. "If a package comes from a archive without a signature, or with a signature "
  1632. "that apt does not have a key for, that package is considered untrusted, and "
  1633. "installing it will result in a big warning. <command>apt-get</command> will "
  1634. "currently only warn for unsigned archives; future releases might force all "
  1635. "sources to be verified before downloading packages from them."
  1636. msgstr ""
  1637. #. type: Content of: <refentry><refsect1><para>
  1638. #: apt-secure.8.xml:71
  1639. msgid ""
  1640. "The package frontends &apt-get;, &aptitude; and &synaptic; support this new "
  1641. "authentication feature."
  1642. msgstr ""
  1643. #. type: Content of: <refentry><refsect1><title>
  1644. #: apt-secure.8.xml:76
  1645. msgid "Trusted archives"
  1646. msgstr ""
  1647. #. type: Content of: <refentry><refsect1><para>
  1648. #: apt-secure.8.xml:79
  1649. msgid ""
  1650. "The chain of trust from an apt archive to the end user is made up of several "
  1651. "steps. <command>apt-secure</command> is the last step in this chain; "
  1652. "trusting an archive does not mean that you trust its packages not to contain "
  1653. "malicious code, but means that you trust the archive maintainer. It's the "
  1654. "archive maintainer's responsibility to ensure that the archive's integrity "
  1655. "is preserved."
  1656. msgstr ""
  1657. #. type: Content of: <refentry><refsect1><para>
  1658. #: apt-secure.8.xml:87
  1659. msgid ""
  1660. "apt-secure does not review signatures at a package level. If you require "
  1661. "tools to do this you should look at <command>debsig-verify</command> and "
  1662. "<command>debsign</command> (provided in the debsig-verify and devscripts "
  1663. "packages respectively)."
  1664. msgstr ""
  1665. #. type: Content of: <refentry><refsect1><para>
  1666. #: apt-secure.8.xml:94
  1667. msgid ""
  1668. "The chain of trust in Debian starts when a maintainer uploads a new package "
  1669. "or a new version of a package to the Debian archive. In order to become "
  1670. "effective, this upload needs to be signed by a key contained in the Debian "
  1671. "Maintainers keyring (available in the debian-keyring package). Maintainers' "
  1672. "keys are signed by other maintainers following pre-established procedures to "
  1673. "ensure the identity of the key holder."
  1674. msgstr ""
  1675. #. type: Content of: <refentry><refsect1><para>
  1676. #: apt-secure.8.xml:104
  1677. msgid ""
  1678. "Once the uploaded package is verified and included in the archive, the "
  1679. "maintainer signature is stripped off, and checksums of the package are "
  1680. "computed and put in the Packages file. The checksums of all of the Packages "
  1681. "files are then computed and put into the Release file. The Release file is "
  1682. "then signed by the archive key for this &keyring-distro; release, and "
  1683. "distributed alongside the packages and the Packages files on "
  1684. "&keyring-distro; mirrors. The keys are in the &keyring-distro; archive "
  1685. "keyring available in the &keyring-package; package."
  1686. msgstr ""
  1687. #. type: Content of: <refentry><refsect1><para>
  1688. #: apt-secure.8.xml:115
  1689. msgid ""
  1690. "End users can check the signature of the Release file, extract a checksum of "
  1691. "a package from it and compare it with the checksum of the package they "
  1692. "downloaded by hand - or rely on APT doing this automatically."
  1693. msgstr ""
  1694. #. type: Content of: <refentry><refsect1><para>
  1695. #: apt-secure.8.xml:120
  1696. msgid ""
  1697. "Notice that this is distinct from checking signatures on a per package "
  1698. "basis. It is designed to prevent two possible attacks:"
  1699. msgstr ""
  1700. #. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
  1701. #: apt-secure.8.xml:125
  1702. msgid ""
  1703. "<literal>Network \"man in the middle\" attacks</literal>. Without signature "
  1704. "checking, malicious agents can introduce themselves into the package "
  1705. "download process and provide malicious software either by controlling a "
  1706. "network element (router, switch, etc.) or by redirecting traffic to a rogue "
  1707. "server (through ARP or DNS spoofing attacks)."
  1708. msgstr ""
  1709. #. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
  1710. #: apt-secure.8.xml:133
  1711. msgid ""
  1712. "<literal>Mirror network compromise</literal>. Without signature checking, a "
  1713. "malicious agent can compromise a mirror host and modify the files in it to "
  1714. "propagate malicious software to all users downloading packages from that "
  1715. "host."
  1716. msgstr ""
  1717. #. type: Content of: <refentry><refsect1><para>
  1718. #: apt-secure.8.xml:140
  1719. msgid ""
  1720. "However, it does not defend against a compromise of the Debian master server "
  1721. "itself (which signs the packages) or against a compromise of the key used to "
  1722. "sign the Release files. In any case, this mechanism can complement a "
  1723. "per-package signature."
  1724. msgstr ""
  1725. #. type: Content of: <refentry><refsect1><title>
  1726. #: apt-secure.8.xml:146
  1727. msgid "User configuration"
  1728. msgstr ""
  1729. #. type: Content of: <refentry><refsect1><para>
  1730. #: apt-secure.8.xml:148
  1731. msgid ""
  1732. "<command>apt-key</command> is the program that manages the list of keys used "
  1733. "by apt. It can be used to add or remove keys, although an installation of "
  1734. "this release will automatically contain the default Debian archive signing "
  1735. "keys used in the Debian package repositories."
  1736. msgstr ""
  1737. #. type: Content of: <refentry><refsect1><para>
  1738. #: apt-secure.8.xml:155
  1739. msgid ""
  1740. "In order to add a new key you need to first download it (you should make "
  1741. "sure you are using a trusted communication channel when retrieving it), add "
  1742. "it with <command>apt-key</command> and then run <command>apt-get "
  1743. "update</command> so that apt can download and verify the "
  1744. "<filename>InRelease</filename> or <filename>Release.gpg</filename> files "
  1745. "from the archives you have configured."
  1746. msgstr ""
  1747. #. type: Content of: <refentry><refsect1><title>
  1748. #: apt-secure.8.xml:164
  1749. msgid "Archive configuration"
  1750. msgstr ""
  1751. #. type: Content of: <refentry><refsect1><para>
  1752. #: apt-secure.8.xml:166
  1753. msgid ""
  1754. "If you want to provide archive signatures in an archive under your "
  1755. "maintenance you have to:"
  1756. msgstr ""
  1757. #. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
  1758. #: apt-secure.8.xml:171
  1759. msgid ""
  1760. "<emphasis>Create a toplevel Release file</emphasis>, if it does not exist "
  1761. "already. You can do this by running <command>apt-ftparchive "
  1762. "release</command> (provided in apt-utils)."
  1763. msgstr ""
  1764. #. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
  1765. #: apt-secure.8.xml:176
  1766. msgid ""
  1767. "<emphasis>Sign it</emphasis>. You can do this by running <command>gpg "
  1768. "--clearsign -o InRelease Release</command> and <command>gpg -abs -o "
  1769. "Release.gpg Release</command>."
  1770. msgstr ""
  1771. #. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
  1772. #: apt-secure.8.xml:180
  1773. msgid ""
  1774. "<emphasis>Publish the key fingerprint</emphasis>, that way your users will "
  1775. "know what key they need to import in order to authenticate the files in the "
  1776. "archive."
  1777. msgstr ""
  1778. #. type: Content of: <refentry><refsect1><para>
  1779. #: apt-secure.8.xml:187
  1780. msgid ""
  1781. "Whenever the contents of the archive change (new packages are added or "
  1782. "removed) the archive maintainer has to follow the first two steps outlined "
  1783. "above."
  1784. msgstr ""
  1785. #. type: Content of: <refentry><refsect1><para>
  1786. #: apt-secure.8.xml:195
  1787. msgid ""
  1788. "&apt-conf;, &apt-get;, &sources-list;, &apt-key;, &apt-ftparchive;, "
  1789. "&debsign; &debsig-verify;, &gpg;"
  1790. msgstr ""
  1791. #. type: Content of: <refentry><refsect1><para>
  1792. #: apt-secure.8.xml:199
  1793. msgid ""
  1794. "For more background information you might want to review the <ulink "
  1795. "url=\"http://www.debian.org/doc/manuals/securing-debian-howto/ch7\">Debian "
  1796. "Security Infrastructure</ulink> chapter of the Securing Debian Manual "
  1797. "(available also in the harden-doc package) and the <ulink "
  1798. "url=\"http://www.cryptnet.net/fdp/crypto/strong_distro.html\" >Strong "
  1799. "Distribution HOWTO</ulink> by V. Alex Brennen."
  1800. msgstr ""
  1801. #. type: Content of: <refentry><refsect1><title>
  1802. #: apt-secure.8.xml:212
  1803. msgid "Manpage Authors"
  1804. msgstr ""
  1805. #. type: Content of: <refentry><refsect1><para>
  1806. #: apt-secure.8.xml:214
  1807. msgid ""
  1808. "This man-page is based on the work of Javier Fernández-Sanguino Peña, Isaac "
  1809. "Jones, Colin Walters, Florian Weimer and Michael Vogt."
  1810. msgstr ""
  1811. #. type: Content of: <refentry><refnamediv><refpurpose>
  1812. #: apt-cdrom.8.xml:34
  1813. msgid "APT CD-ROM management utility"
  1814. msgstr ""
  1815. #. type: Content of: <refentry><refsect1><para>
  1816. #: apt-cdrom.8.xml:40
  1817. msgid ""
  1818. "<command>apt-cdrom</command> is used to add a new CD-ROM to APT's list of "
  1819. "available sources. <command>apt-cdrom</command> takes care of determining "
  1820. "the structure of the disc as well as correcting for several possible "
  1821. "mis-burns and verifying the index files."
  1822. msgstr ""
  1823. #. type: Content of: <refentry><refsect1><para>
  1824. #: apt-cdrom.8.xml:47
  1825. msgid ""
  1826. "It is necessary to use <command>apt-cdrom</command> to add CDs to the APT "
  1827. "system; it cannot be done by hand. Furthermore each disc in a multi-CD set "
  1828. "must be inserted and scanned separately to account for possible mis-burns."
  1829. msgstr ""
  1830. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1831. #: apt-cdrom.8.xml:58
  1832. msgid ""
  1833. "<literal>add</literal> is used to add a new disc to the source list. It will "
  1834. "unmount the CD-ROM device, prompt for a disc to be inserted and then proceed "
  1835. "to scan it and copy the index files. If the disc does not have a proper "
  1836. "<filename>.disk</filename> directory you will be prompted for a descriptive "
  1837. "title."
  1838. msgstr ""
  1839. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1840. #: apt-cdrom.8.xml:66
  1841. msgid ""
  1842. "APT uses a CD-ROM ID to track which disc is currently in the drive and "
  1843. "maintains a database of these IDs in "
  1844. "<filename>&statedir;/cdroms.list</filename>"
  1845. msgstr ""
  1846. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1847. #: apt-cdrom.8.xml:74
  1848. msgid ""
  1849. "A debugging tool to report the identity of the current disc as well as the "
  1850. "stored file name"
  1851. msgstr ""
  1852. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1853. #: apt-cdrom.8.xml:87
  1854. msgid ""
  1855. "Do not try to auto-detect the CD-ROM path. Usually combined with the "
  1856. "<option>--cdrom</option> option. Configuration Item: "
  1857. "<literal>Acquire::cdrom::AutoDetect</literal>."
  1858. msgstr ""
  1859. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1860. #: apt-cdrom.8.xml:95
  1861. msgid ""
  1862. "Mount point; specify the location to mount the CD-ROM. This mount point must "
  1863. "be listed in <filename>/etc/fstab</filename> and properly configured. "
  1864. "Configuration Item: <literal>Acquire::cdrom::mount</literal>."
  1865. msgstr ""
  1866. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1867. #: apt-cdrom.8.xml:104
  1868. msgid ""
  1869. "Rename a disc; change the label of a disc or override the disc's given "
  1870. "label. This option will cause <command>apt-cdrom</command> to prompt for a "
  1871. "new label. Configuration Item: <literal>APT::CDROM::Rename</literal>."
  1872. msgstr ""
  1873. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1874. #: apt-cdrom.8.xml:113
  1875. msgid ""
  1876. "No mounting; prevent <command>apt-cdrom</command> from mounting and "
  1877. "unmounting the mount point. Configuration Item: "
  1878. "<literal>APT::CDROM::NoMount</literal>."
  1879. msgstr ""
  1880. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1881. #: apt-cdrom.8.xml:121
  1882. msgid ""
  1883. "Fast Copy; Assume the package files are valid and do not check every "
  1884. "package. This option should be used only if <command>apt-cdrom</command> has "
  1885. "been run on this disc before and did not detect any errors. Configuration "
  1886. "Item: <literal>APT::CDROM::Fast</literal>."
  1887. msgstr ""
  1888. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1889. #: apt-cdrom.8.xml:131
  1890. msgid ""
  1891. "Thorough Package Scan; This option may be needed with some old Debian "
  1892. "1.1/1.2 discs that have Package files in strange places. It takes much "
  1893. "longer to scan the CD but will pick them all up."
  1894. msgstr ""
  1895. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1896. #: apt-cdrom.8.xml:142
  1897. msgid ""
  1898. "No Changes; Do not change the &sources-list; file and do not write index "
  1899. "files. Everything is still checked however. Configuration Item: "
  1900. "<literal>APT::CDROM::NoAct</literal>."
  1901. msgstr ""
  1902. #. type: Content of: <refentry><refsect1><para>
  1903. #: apt-cdrom.8.xml:155
  1904. msgid "&apt-conf;, &apt-get;, &sources-list;"
  1905. msgstr ""
  1906. #. type: Content of: <refentry><refsect1><para>
  1907. #: apt-cdrom.8.xml:160
  1908. msgid ""
  1909. "<command>apt-cdrom</command> returns zero on normal operation, decimal 100 "
  1910. "on error."
  1911. msgstr ""
  1912. #. type: Content of: <refentry><refnamediv><refpurpose>
  1913. #: apt-config.8.xml:35
  1914. msgid "APT Configuration Query program"
  1915. msgstr ""
  1916. #. type: Content of: <refentry><refsect1><para>
  1917. #: apt-config.8.xml:41
  1918. msgid ""
  1919. "<command>apt-config</command> is an internal program used by various "
  1920. "portions of the APT suite to provide consistent configurability. It accesses "
  1921. "the main configuration file <filename>/etc/apt/apt.conf</filename> in a "
  1922. "manner that is easy to use for scripted applications."
  1923. msgstr ""
  1924. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1925. #: apt-config.8.xml:53
  1926. msgid ""
  1927. "shell is used to access the configuration information from a shell "
  1928. "script. It is given pairs of arguments, the first being a shell variable and "
  1929. "the second the configuration value to query. As output it lists shell "
  1930. "assignment commands for each value present. In a shell script it should be "
  1931. "used as follows:"
  1932. msgstr ""
  1933. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><informalexample><programlisting>
  1934. #: apt-config.8.xml:61
  1935. #, no-wrap
  1936. msgid ""
  1937. "OPTS=\"-f\"\n"
  1938. "RES=`apt-config shell OPTS MyApp::options`\n"
  1939. "eval $RES\n"
  1940. msgstr ""
  1941. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1942. #: apt-config.8.xml:66
  1943. msgid ""
  1944. "This will set the shell environment variable $OPTS to the value of "
  1945. "MyApp::options with a default of <option>-f</option>."
  1946. msgstr ""
  1947. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1948. #: apt-config.8.xml:70
  1949. msgid ""
  1950. "The configuration item may be postfixed with a /[fdbi]. f returns file "
  1951. "names, d returns directories, b returns true or false and i returns an "
  1952. "integer. Each of the returns is normalized and verified internally."
  1953. msgstr ""
  1954. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1955. #: apt-config.8.xml:79
  1956. msgid "Just show the contents of the configuration space."
  1957. msgstr ""
  1958. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1959. #: apt-config.8.xml:92
  1960. msgid ""
  1961. "Include options which have an empty value. This is the default, so use "
  1962. "--no-empty to remove them from the output."
  1963. msgstr ""
  1964. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option><replaceable>
  1965. #: apt-config.8.xml:97
  1966. msgid "&percnt;f &#x0022;&percnt;v&#x0022;;&percnt;n"
  1967. msgstr ""
  1968. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1969. #: apt-config.8.xml:98
  1970. msgid ""
  1971. "Defines the output of each config option. &percnt;t will be replaced with "
  1972. "its individual name, &percnt;f with its full hierarchical name and &percnt;v "
  1973. "with its value. Use uppercase letters and special characters in the value "
  1974. "will be encoded to ensure that it can e.g. be safely used in a quoted-string "
  1975. "as defined by RFC822. Additionally &percnt;n will be replaced by a newline, "
  1976. "and &percnt;N by a tab. A &percnt; can be printed by using &percnt;&percnt;."
  1977. msgstr ""
  1978. #. type: Content of: <refentry><refsect1><para>
  1979. #: apt-config.8.xml:112 apt-extracttemplates.1.xml:73 apt-sortpkgs.1.xml:66 apt-ftparchive.1.xml:610
  1980. msgid "&apt-conf;"
  1981. msgstr ""
  1982. #. type: Content of: <refentry><refsect1><para>
  1983. #: apt-config.8.xml:117
  1984. msgid ""
  1985. "<command>apt-config</command> returns zero on normal operation, decimal 100 "
  1986. "on error."
  1987. msgstr ""
  1988. #. type: Content of: <refentry><refentryinfo><author><contrib>
  1989. #: apt.conf.5.xml:22
  1990. msgid "Initial documentation of Debug::*."
  1991. msgstr ""
  1992. #. type: Content of: <refentry><refentryinfo><author><email>
  1993. #: apt.conf.5.xml:23
  1994. msgid "dburrows@debian.org"
  1995. msgstr ""
  1996. #. type: Content of: <refentry><refmeta><manvolnum>
  1997. #: apt.conf.5.xml:33 apt_preferences.5.xml:27 sources.list.5.xml:28
  1998. msgid "5"
  1999. msgstr ""
  2000. #. type: Content of: <refentry><refnamediv><refpurpose>
  2001. #: apt.conf.5.xml:40
  2002. msgid "Configuration file for APT"
  2003. msgstr ""
  2004. #. type: Content of: <refentry><refsect1><para>
  2005. #: apt.conf.5.xml:44
  2006. msgid ""
  2007. "<filename>/etc/apt/apt.conf</filename> is the main configuration file shared "
  2008. "by all the tools in the APT suite of tools, though it is by no means the "
  2009. "only place options can be set. The suite also shares a common command line "
  2010. "parser to provide a uniform environment."
  2011. msgstr ""
  2012. #. type: Content of: <refentry><refsect1><orderedlist><para>
  2013. #: apt.conf.5.xml:50
  2014. msgid ""
  2015. "When an APT tool starts up it will read the configuration files in the "
  2016. "following order:"
  2017. msgstr ""
  2018. #. type: Content of: <refentry><refsect1><orderedlist><listitem><para>
  2019. #: apt.conf.5.xml:52
  2020. msgid ""
  2021. "the file specified by the <envar>APT_CONFIG</envar> environment variable (if "
  2022. "any)"
  2023. msgstr ""
  2024. #. type: Content of: <refentry><refsect1><orderedlist><listitem><para>
  2025. #: apt.conf.5.xml:54
  2026. msgid ""
  2027. "all files in <literal>Dir::Etc::Parts</literal> in alphanumeric ascending "
  2028. "order which have either no or \"<literal>conf</literal>\" as filename "
  2029. "extension and which only contain alphanumeric, hyphen (-), underscore (_) "
  2030. "and period (.) characters. Otherwise APT will print a notice that it has "
  2031. "ignored a file, unless that file matches a pattern in the "
  2032. "<literal>Dir::Ignore-Files-Silently</literal> configuration list - in which "
  2033. "case it will be silently ignored."
  2034. msgstr ""
  2035. #. type: Content of: <refentry><refsect1><orderedlist><listitem><para>
  2036. #: apt.conf.5.xml:61
  2037. msgid "the main configuration file specified by <literal>Dir::Etc::main</literal>"
  2038. msgstr ""
  2039. #. type: Content of: <refentry><refsect1><orderedlist><listitem><para>
  2040. #: apt.conf.5.xml:63
  2041. msgid ""
  2042. "the command line options are applied to override the configuration "
  2043. "directives or to load even more configuration files."
  2044. msgstr ""
  2045. #. type: Content of: <refentry><refsect1><title>
  2046. #: apt.conf.5.xml:67
  2047. msgid "Syntax"
  2048. msgstr ""
  2049. #. type: Content of: <refentry><refsect1><para>
  2050. #: apt.conf.5.xml:68
  2051. msgid ""
  2052. "The configuration file is organized in a tree with options organized into "
  2053. "functional groups. Option specification is given with a double colon "
  2054. "notation; for instance <literal>APT::Get::Assume-Yes</literal> is an option "
  2055. "within the APT tool group, for the Get tool. Options do not inherit from "
  2056. "their parent groups."
  2057. msgstr ""
  2058. #. type: Content of: <refentry><refsect1><para>
  2059. #: apt.conf.5.xml:74
  2060. msgid ""
  2061. "Syntactically the configuration language is modeled after what the ISC tools "
  2062. "such as bind and dhcp use. Lines starting with <literal>//</literal> are "
  2063. "treated as comments (ignored), as well as all text between "
  2064. "<literal>/*</literal> and <literal>*/</literal>, just like C/C++ comments. "
  2065. "Each line is of the form <literal>APT::Get::Assume-Yes \"true\";</literal>. "
  2066. "The quotation marks and trailing semicolon are required. The value must be "
  2067. "on one line, and there is no kind of string concatenation. Values must not "
  2068. "include backslashes or extra quotation marks. Option names are made up of "
  2069. "alphanumeric characters and the characters \"/-:._+\". A new scope can be "
  2070. "opened with curly braces, like this:"
  2071. msgstr ""
  2072. #. type: Content of: <refentry><refsect1><informalexample><programlisting>
  2073. #: apt.conf.5.xml:87
  2074. #, no-wrap
  2075. msgid ""
  2076. "APT {\n"
  2077. " Get {\n"
  2078. " Assume-Yes \"true\";\n"
  2079. " Fix-Broken \"true\";\n"
  2080. " };\n"
  2081. "};\n"
  2082. msgstr ""
  2083. #. type: Content of: <refentry><refsect1><para>
  2084. #: apt.conf.5.xml:95
  2085. msgid ""
  2086. "with newlines placed to make it more readable. Lists can be created by "
  2087. "opening a scope and including a single string enclosed in quotes followed by "
  2088. "a semicolon. Multiple entries can be included, separated by a semicolon."
  2089. msgstr ""
  2090. #. type: Content of: <refentry><refsect1><informalexample><programlisting>
  2091. #: apt.conf.5.xml:100
  2092. #, no-wrap
  2093. msgid "DPkg::Pre-Install-Pkgs {\"/usr/sbin/dpkg-preconfigure --apt\";};\n"
  2094. msgstr ""
  2095. #. type: Content of: <refentry><refsect1><para>
  2096. #: apt.conf.5.xml:103
  2097. msgid ""
  2098. "In general the sample configuration file &configureindex; is a good guide "
  2099. "for how it should look."
  2100. msgstr ""
  2101. #. type: Content of: <refentry><refsect1><para>
  2102. #: apt.conf.5.xml:106
  2103. msgid ""
  2104. "Case is not significant in names of configuration items, so in the previous "
  2105. "example you could use <literal>dpkg::pre-install-pkgs</literal>."
  2106. msgstr ""
  2107. #. type: Content of: <refentry><refsect1><para>
  2108. #: apt.conf.5.xml:109
  2109. msgid ""
  2110. "Names for the configuration items are optional if a list is defined as can "
  2111. "be seen in the <literal>DPkg::Pre-Install-Pkgs</literal> example above. If "
  2112. "you don't specify a name a new entry will simply add a new option to the "
  2113. "list. If you specify a name you can override the option in the same way as "
  2114. "any other option by reassigning a new value to the option."
  2115. msgstr ""
  2116. #. type: Content of: <refentry><refsect1><para>
  2117. #: apt.conf.5.xml:114
  2118. msgid ""
  2119. "Two special commands are defined: <literal>#include</literal> (which is "
  2120. "deprecated and not supported by alternative implementations) and "
  2121. "<literal>#clear</literal>. <literal>#include</literal> will include the "
  2122. "given file, unless the filename ends in a slash, in which case the whole "
  2123. "directory is included. <literal>#clear</literal> is used to erase a part of "
  2124. "the configuration tree. The specified element and all its descendants are "
  2125. "erased. (Note that these lines also need to end with a semicolon.)"
  2126. msgstr ""
  2127. #. type: Content of: <refentry><refsect1><para>
  2128. #: apt.conf.5.xml:124
  2129. msgid ""
  2130. "The <literal>#clear</literal> command is the only way to delete a list or a "
  2131. "complete scope. Reopening a scope (or using the syntax described below with "
  2132. "an appended <literal>::</literal>) will <emphasis>not</emphasis> override "
  2133. "previously written entries. Options can only be overridden by addressing a "
  2134. "new value to them - lists and scopes can't be overridden, only cleared."
  2135. msgstr ""
  2136. #. type: Content of: <refentry><refsect1><para>
  2137. #: apt.conf.5.xml:132
  2138. msgid ""
  2139. "All of the APT tools take an -o option which allows an arbitrary "
  2140. "configuration directive to be specified on the command line. The syntax is a "
  2141. "full option name (<literal>APT::Get::Assume-Yes</literal> for instance) "
  2142. "followed by an equals sign then the new value of the option. To append a new "
  2143. "element to a list, add a trailing <literal>::</literal> to the name of the "
  2144. "list. (As you might suspect, the scope syntax can't be used on the command "
  2145. "line.)"
  2146. msgstr ""
  2147. #. type: Content of: <refentry><refsect1><para>
  2148. #: apt.conf.5.xml:140
  2149. msgid ""
  2150. "Note that appending items to a list using <literal>::</literal> only works "
  2151. "for one item per line, and that you should not use it in combination with "
  2152. "the scope syntax (which adds <literal>::</literal> implicitly). Using both "
  2153. "syntaxes together will trigger a bug which some users unfortunately depend "
  2154. "on: an option with the unusual name \"<literal>::</literal>\" which acts "
  2155. "like every other option with a name. This introduces many problems; for one "
  2156. "thing, users who write multiple lines in this <emphasis>wrong</emphasis> "
  2157. "syntax in the hope of appending to a list will achieve the opposite, as only "
  2158. "the last assignment for this option \"<literal>::</literal>\" will be "
  2159. "used. Future versions of APT will raise errors and stop working if they "
  2160. "encounter this misuse, so please correct such statements now while APT "
  2161. "doesn't explicitly complain about them."
  2162. msgstr ""
  2163. #. type: Content of: <refentry><refsect1><title>
  2164. #: apt.conf.5.xml:155
  2165. msgid "The APT Group"
  2166. msgstr ""
  2167. #. type: Content of: <refentry><refsect1><para>
  2168. #: apt.conf.5.xml:156
  2169. msgid ""
  2170. "This group of options controls general APT behavior as well as holding the "
  2171. "options for all of the tools."
  2172. msgstr ""
  2173. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2174. #: apt.conf.5.xml:161
  2175. msgid ""
  2176. "System Architecture; sets the architecture to use when fetching files and "
  2177. "parsing package lists. The internal default is the architecture apt was "
  2178. "compiled for."
  2179. msgstr ""
  2180. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2181. #: apt.conf.5.xml:168
  2182. msgid ""
  2183. "All Architectures the system supports. For instance, CPUs implementing the "
  2184. "<literal>amd64</literal> (also called <literal>x86-64</literal>) "
  2185. "instruction set are also able to execute binaries compiled for the "
  2186. "<literal>i386</literal> (<literal>x86</literal>) instruction set. This list "
  2187. "is used when fetching files and parsing package lists. The initial default "
  2188. "is always the system's native architecture "
  2189. "(<literal>APT::Architecture</literal>), and foreign architectures are added "
  2190. "to the default list when they are registered via <command>dpkg "
  2191. "--add-architecture</command>."
  2192. msgstr ""
  2193. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2194. #: apt.conf.5.xml:181
  2195. msgid ""
  2196. "Default release to install packages from if more than one version is "
  2197. "available. Contains release name, codename or release version. Examples: "
  2198. "'stable', 'testing', 'unstable', '&stable-codename;', '&testing-codename;', "
  2199. "'4.0', '5.0*'. See also &apt-preferences;."
  2200. msgstr ""
  2201. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2202. #: apt.conf.5.xml:187
  2203. msgid ""
  2204. "Ignore held packages; this global option causes the problem resolver to "
  2205. "ignore held packages in its decision making."
  2206. msgstr ""
  2207. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2208. #: apt.conf.5.xml:192
  2209. msgid ""
  2210. "Defaults to on. When turned on the autoclean feature will remove any "
  2211. "packages which can no longer be downloaded from the cache. If turned off "
  2212. "then packages that are locally installed are also excluded from cleaning - "
  2213. "but note that APT provides no direct means to reinstall them."
  2214. msgstr ""
  2215. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2216. #: apt.conf.5.xml:200
  2217. msgid ""
  2218. "Defaults to on, which will cause APT to install essential and important "
  2219. "packages as soon as possible in an install/upgrade operation, in order to "
  2220. "limit the effect of a failing &dpkg; call. If this option is disabled, APT "
  2221. "treats an important package in the same way as an extra package: between the "
  2222. "unpacking of the package A and its configuration there can be many other "
  2223. "unpack or configuration calls for other unrelated packages B, C etc. If "
  2224. "these cause the &dpkg; call to fail (e.g. because package B's maintainer "
  2225. "scripts generate an error), this results in a system state in which package "
  2226. "A is unpacked but unconfigured - so any package depending on A is now no "
  2227. "longer guaranteed to work, as its dependency on A is no longer satisfied."
  2228. msgstr ""
  2229. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2230. #: apt.conf.5.xml:212
  2231. msgid ""
  2232. "The immediate configuration marker is also applied in the potentially "
  2233. "problematic case of circular dependencies, since a dependency with the "
  2234. "immediate flag is equivalent to a Pre-Dependency. In theory this allows APT "
  2235. "to recognise a situation in which it is unable to perform immediate "
  2236. "configuration, abort, and suggest to the user that the option should be "
  2237. "temporarily deactivated in order to allow the operation to proceed. Note "
  2238. "the use of the word \"theory\" here; in the real world this problem has "
  2239. "rarely been encountered, in non-stable distribution versions, and was caused "
  2240. "by wrong dependencies of the package in question or by a system in an "
  2241. "already broken state; so you should not blindly disable this option, as the "
  2242. "scenario mentioned above is not the only problem it can help to prevent in "
  2243. "the first place."
  2244. msgstr ""
  2245. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2246. #: apt.conf.5.xml:225
  2247. msgid ""
  2248. "Before a big operation like <literal>dist-upgrade</literal> is run with this "
  2249. "option disabled you should try to explicitly <literal>install</literal> the "
  2250. "package APT is unable to configure immediately; but please make sure you "
  2251. "also report your problem to your distribution and to the APT team with the "
  2252. "buglink below, so they can work on improving or correcting the upgrade "
  2253. "process."
  2254. msgstr ""
  2255. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2256. #: apt.conf.5.xml:236
  2257. msgid ""
  2258. "Never enable this option unless you <emphasis>really</emphasis> know what "
  2259. "you are doing. It permits APT to temporarily remove an essential package to "
  2260. "break a Conflicts/Conflicts or Conflicts/Pre-Depends loop between two "
  2261. "essential packages. <emphasis>Such a loop should never exist and is a grave "
  2262. "bug</emphasis>. This option will work if the essential packages are not "
  2263. "<command>tar</command>, <command>gzip</command>, <command>libc</command>, "
  2264. "<command>dpkg</command>, <command>dash</command> or anything that those "
  2265. "packages depend on."
  2266. msgstr ""
  2267. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2268. #: apt.conf.5.xml:248
  2269. msgid ""
  2270. "APT uses since version 0.7.26 a resizable memory mapped cache file to store "
  2271. "the available information. <literal>Cache-Start</literal> acts as a hint of "
  2272. "the size the cache will grow to, and is therefore the amount of memory APT "
  2273. "will request at startup. The default value is 20971520 bytes (~20 MB). Note "
  2274. "that this amount of space needs to be available for APT; otherwise it will "
  2275. "likely fail ungracefully, so for memory restricted devices this value should "
  2276. "be lowered while on systems with a lot of configured sources it should be "
  2277. "increased. <literal>Cache-Grow</literal> defines in bytes with the default "
  2278. "of 1048576 (~1 MB) how much the cache size will be increased in the event "
  2279. "the space defined by <literal>Cache-Start</literal> is not enough. This "
  2280. "value will be applied again and again until either the cache is big enough "
  2281. "to store all information or the size of the cache reaches the "
  2282. "<literal>Cache-Limit</literal>. The default of "
  2283. "<literal>Cache-Limit</literal> is 0 which stands for no limit. If "
  2284. "<literal>Cache-Grow</literal> is set to 0 the automatic growth of the cache "
  2285. "is disabled."
  2286. msgstr ""
  2287. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2288. #: apt.conf.5.xml:264
  2289. msgid "Defines which packages are considered essential build dependencies."
  2290. msgstr ""
  2291. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2292. #: apt.conf.5.xml:268
  2293. msgid ""
  2294. "The Get subsection controls the &apt-get; tool; please see its documentation "
  2295. "for more information about the options here."
  2296. msgstr ""
  2297. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2298. #: apt.conf.5.xml:273
  2299. msgid ""
  2300. "The Cache subsection controls the &apt-cache; tool; please see its "
  2301. "documentation for more information about the options here."
  2302. msgstr ""
  2303. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2304. #: apt.conf.5.xml:278
  2305. msgid ""
  2306. "The CDROM subsection controls the &apt-cdrom; tool; please see its "
  2307. "documentation for more information about the options here."
  2308. msgstr ""
  2309. #. type: Content of: <refentry><refsect1><title>
  2310. #: apt.conf.5.xml:284
  2311. msgid "The Acquire Group"
  2312. msgstr ""
  2313. #. type: Content of: <refentry><refsect1><para>
  2314. #: apt.conf.5.xml:285
  2315. msgid ""
  2316. "The <literal>Acquire</literal> group of options controls the download of "
  2317. "packages as well as the various \"acquire methods\" responsible for the "
  2318. "download itself (see also &sources-list;)."
  2319. msgstr ""
  2320. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2321. #: apt.conf.5.xml:292
  2322. msgid ""
  2323. "Security related option defaulting to true, as giving a Release file's "
  2324. "validation an expiration date prevents replay attacks over a long timescale, "
  2325. "and can also for example help users to identify mirrors that are no longer "
  2326. "updated - but the feature depends on the correctness of the clock on the "
  2327. "user system. Archive maintainers are encouraged to create Release files with "
  2328. "the <literal>Valid-Until</literal> header, but if they don't or a stricter "
  2329. "value is desired the <literal>Max-ValidTime</literal> option below can be "
  2330. "used."
  2331. msgstr ""
  2332. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2333. #: apt.conf.5.xml:305
  2334. msgid ""
  2335. "Maximum time (in seconds) after its creation (as indicated by the "
  2336. "<literal>Date</literal> header) that the <filename>Release</filename> file "
  2337. "should be considered valid. If the Release file itself includes a "
  2338. "<literal>Valid-Until</literal> header the earlier date of the two is used as "
  2339. "the expiration date. The default value is <literal>0</literal> which stands "
  2340. "for \"valid forever\". Archive specific settings can be made by appending "
  2341. "the label of the archive to the option name."
  2342. msgstr ""
  2343. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2344. #: apt.conf.5.xml:317
  2345. msgid ""
  2346. "Minimum time (in seconds) after its creation (as indicated by the "
  2347. "<literal>Date</literal> header) that the <filename>Release</filename> file "
  2348. "should be considered valid. Use this if you need to use a seldom updated "
  2349. "(local) mirror of a more frequently updated archive with a "
  2350. "<literal>Valid-Until</literal> header instead of completely disabling the "
  2351. "expiration date checking. Archive specific settings can and should be used "
  2352. "by appending the label of the archive to the option name."
  2353. msgstr ""
  2354. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2355. #: apt.conf.5.xml:329
  2356. msgid ""
  2357. "Try to download deltas called <literal>PDiffs</literal> for indexes (like "
  2358. "<filename>Packages</filename> files) instead of downloading whole ones. True "
  2359. "by default."
  2360. msgstr ""
  2361. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2362. #: apt.conf.5.xml:332
  2363. msgid ""
  2364. "Two sub-options to limit the use of PDiffs are also available: "
  2365. "<literal>FileLimit</literal> can be used to specify a maximum number of "
  2366. "PDiff files should be downloaded to update a "
  2367. "file. <literal>SizeLimit</literal> on the other hand is the maximum "
  2368. "percentage of the size of all patches compared to the size of the targeted "
  2369. "file. If one of these limits is exceeded the complete file is downloaded "
  2370. "instead of the patches."
  2371. msgstr ""
  2372. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2373. #: apt.conf.5.xml:342
  2374. msgid ""
  2375. "Queuing mode; <literal>Queue-Mode</literal> can be one of "
  2376. "<literal>host</literal> or <literal>access</literal> which determines how "
  2377. "APT parallelizes outgoing connections. <literal>host</literal> means that "
  2378. "one connection per target host will be opened, <literal>access</literal> "
  2379. "means that one connection per URI type will be opened."
  2380. msgstr ""
  2381. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2382. #: apt.conf.5.xml:350
  2383. msgid ""
  2384. "Number of retries to perform. If this is non-zero APT will retry failed "
  2385. "files the given number of times."
  2386. msgstr ""
  2387. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2388. #: apt.conf.5.xml:355
  2389. msgid ""
  2390. "Use symlinks for source archives. If set to true then source archives will "
  2391. "be symlinked when possible instead of copying. True is the default."
  2392. msgstr ""
  2393. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2394. #: apt.conf.5.xml:360
  2395. msgid ""
  2396. "<literal>http::Proxy</literal> sets the default proxy to use for HTTP "
  2397. "URIs. It is in the standard form of "
  2398. "<literal>http://[[user][:pass]@]host[:port]/</literal>. Per host proxies "
  2399. "can also be specified by using the form "
  2400. "<literal>http::Proxy::&lt;host&gt;</literal> with the special keyword "
  2401. "<literal>DIRECT</literal> meaning to use no proxies. If no one of the above "
  2402. "settings is specified, <envar>http_proxy</envar> environment variable will "
  2403. "be used."
  2404. msgstr ""
  2405. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2406. #: apt.conf.5.xml:368
  2407. msgid ""
  2408. "Three settings are provided for cache control with HTTP/1.1 compliant proxy "
  2409. "caches. <literal>No-Cache</literal> tells the proxy not to use its cached "
  2410. "response under any circumstances. <literal>Max-Age</literal> sets the "
  2411. "allowed maximum age (in seconds) of an index file in the cache of the "
  2412. "proxy. <literal>No-Store</literal> specifies that the proxy should not "
  2413. "store the requested archive files in its cache, which can be used to prevent "
  2414. "the proxy from polluting its cache with (big) .deb files."
  2415. msgstr ""
  2416. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2417. #: apt.conf.5.xml:378 apt.conf.5.xml:466
  2418. msgid ""
  2419. "The option <literal>timeout</literal> sets the timeout timer used by the "
  2420. "method; this value applies to the connection as well as the data timeout."
  2421. msgstr ""
  2422. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2423. #: apt.conf.5.xml:381
  2424. msgid ""
  2425. "The setting <literal>Acquire::http::Pipeline-Depth</literal> can be used to "
  2426. "enable HTTP pipelining (RFC 2616 section 8.1.2.2) which can be beneficial "
  2427. "e.g. on high-latency connections. It specifies how many requests are sent in "
  2428. "a pipeline. Previous APT versions had a default of 10 for this setting, but "
  2429. "the default value is now 0 (= disabled) to avoid problems with the "
  2430. "ever-growing amount of webservers and proxies which choose to not conform to "
  2431. "the HTTP/1.1 specification."
  2432. msgstr ""
  2433. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2434. #: apt.conf.5.xml:388
  2435. msgid ""
  2436. "<literal>Acquire::http::AllowRedirect</literal> controls whether APT will "
  2437. "follow redirects, which is enabled by default."
  2438. msgstr ""
  2439. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2440. #: apt.conf.5.xml:391
  2441. msgid ""
  2442. "The used bandwidth can be limited with "
  2443. "<literal>Acquire::http::Dl-Limit</literal> which accepts integer values in "
  2444. "kilobytes per second. The default value is 0 which deactivates the limit and "
  2445. "tries to use all available bandwidth. Note that this option implicitly "
  2446. "disables downloading from multiple servers at the same time."
  2447. msgstr ""
  2448. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2449. #: apt.conf.5.xml:398
  2450. msgid ""
  2451. "<literal>Acquire::http::User-Agent</literal> can be used to set a different "
  2452. "User-Agent for the http download method as some proxies allow access for "
  2453. "clients only if the client uses a known identifier."
  2454. msgstr ""
  2455. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2456. #: apt.conf.5.xml:402
  2457. msgid ""
  2458. "<literal>Acquire::http::Proxy-Auto-Detect</literal> can be used to specify "
  2459. "an external command to discover the http proxy to use. Apt expects the "
  2460. "command to output the proxy on stdout in the style "
  2461. "<literal>http://proxy:port/</literal>. This will override the generic "
  2462. "<literal>Acquire::http::Proxy</literal> but not any specific host proxy "
  2463. "configuration set via <literal>Acquire::http::Proxy::$HOST</literal>. See "
  2464. "the &squid-deb-proxy-client; package for an example implementation that uses "
  2465. "avahi. This option takes precedence over the legacy option name "
  2466. "<literal>ProxyAutoDetect</literal>."
  2467. msgstr ""
  2468. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2469. #: apt.conf.5.xml:420
  2470. msgid ""
  2471. "The <literal>Cache-control</literal>, <literal>Timeout</literal>, "
  2472. "<literal>AllowRedirect</literal>, <literal>Dl-Limit</literal> and "
  2473. "<literal>proxy</literal> options work for HTTPS URIs in the same way as for "
  2474. "the <literal>http</literal> method, and default to the same values if they "
  2475. "are not explicitly set. The <literal>Pipeline-Depth</literal> option is not "
  2476. "yet supported."
  2477. msgstr ""
  2478. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2479. #: apt.conf.5.xml:428
  2480. msgid ""
  2481. "<literal>CaInfo</literal> suboption specifies place of file that holds info "
  2482. "about trusted certificates. <literal>&lt;host&gt;::CaInfo</literal> is the "
  2483. "corresponding per-host option. <literal>Verify-Peer</literal> boolean "
  2484. "suboption determines whether or not the server's host certificate should be "
  2485. "verified against trusted certificates. "
  2486. "<literal>&lt;host&gt;::Verify-Peer</literal> is the corresponding per-host "
  2487. "option. <literal>Verify-Host</literal> boolean suboption determines whether "
  2488. "or not the server's hostname should be verified. "
  2489. "<literal>&lt;host&gt;::Verify-Host</literal> is the corresponding per-host "
  2490. "option. <literal>SslCert</literal> determines what certificate to use for "
  2491. "client authentication. <literal>&lt;host&gt;::SslCert</literal> is the "
  2492. "corresponding per-host option. <literal>SslKey</literal> determines what "
  2493. "private key to use for client "
  2494. "authentication. <literal>&lt;host&gt;::SslKey</literal> is the corresponding "
  2495. "per-host option. <literal>SslForceVersion</literal> overrides default SSL "
  2496. "version to use. It can contain either of the strings "
  2497. "'<literal>TLSv1</literal>' or '<literal>SSLv3</literal>'. "
  2498. "<literal>&lt;host&gt;::SslForceVersion</literal> is the corresponding "
  2499. "per-host option."
  2500. msgstr ""
  2501. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2502. #: apt.conf.5.xml:449
  2503. msgid ""
  2504. "<literal>ftp::Proxy</literal> sets the default proxy to use for FTP URIs. "
  2505. "It is in the standard form of "
  2506. "<literal>ftp://[[user][:pass]@]host[:port]/</literal>. Per host proxies can "
  2507. "also be specified by using the form "
  2508. "<literal>ftp::Proxy::&lt;host&gt;</literal> with the special keyword "
  2509. "<literal>DIRECT</literal> meaning to use no proxies. If no one of the above "
  2510. "settings is specified, <envar>ftp_proxy</envar> environment variable will be "
  2511. "used. To use an FTP proxy you will have to set the "
  2512. "<literal>ftp::ProxyLogin</literal> script in the configuration file. This "
  2513. "entry specifies the commands to send to tell the proxy server what to "
  2514. "connect to. Please see &configureindex; for an example of how to do "
  2515. "this. The substitution variables representing the corresponding URI "
  2516. "component are <literal>$(PROXY_USER)</literal>, "
  2517. "<literal>$(PROXY_PASS)</literal>, <literal>$(SITE_USER)</literal>, "
  2518. "<literal>$(SITE_PASS)</literal>, <literal>$(SITE)</literal> and "
  2519. "<literal>$(SITE_PORT)</literal>."
  2520. msgstr ""
  2521. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2522. #: apt.conf.5.xml:469
  2523. msgid ""
  2524. "Several settings are provided to control passive mode. Generally it is safe "
  2525. "to leave passive mode on; it works in nearly every environment. However, "
  2526. "some situations require that passive mode be disabled and port mode FTP used "
  2527. "instead. This can be done globally or for connections that go through a "
  2528. "proxy or for a specific host (see the sample config file for examples)."
  2529. msgstr ""
  2530. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2531. #: apt.conf.5.xml:476
  2532. msgid ""
  2533. "It is possible to proxy FTP over HTTP by setting the "
  2534. "<envar>ftp_proxy</envar> environment variable to an HTTP URL - see the "
  2535. "discussion of the http method above for syntax. You cannot set this in the "
  2536. "configuration file and it is not recommended to use FTP over HTTP due to its "
  2537. "low efficiency."
  2538. msgstr ""
  2539. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2540. #: apt.conf.5.xml:481
  2541. msgid ""
  2542. "The setting <literal>ForceExtended</literal> controls the use of RFC2428 "
  2543. "<literal>EPSV</literal> and <literal>EPRT</literal> commands. The default is "
  2544. "false, which means these commands are only used if the control connection is "
  2545. "IPv6. Setting this to true forces their use even on IPv4 connections. Note "
  2546. "that most FTP servers do not support RFC2428."
  2547. msgstr ""
  2548. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><literallayout>
  2549. #: apt.conf.5.xml:495
  2550. #, no-wrap
  2551. msgid "/cdrom/::Mount \"foo\";"
  2552. msgstr ""
  2553. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2554. #: apt.conf.5.xml:490
  2555. msgid ""
  2556. "For URIs using the <literal>cdrom</literal> method, the only configurable "
  2557. "option is the mount point, <literal>cdrom::Mount</literal>, which must be "
  2558. "the mount point for the CD-ROM (or DVD, or whatever) drive as specified in "
  2559. "<filename>/etc/fstab</filename>. It is possible to provide alternate mount "
  2560. "and unmount commands if your mount point cannot be listed in the fstab. The "
  2561. "syntax is to put <placeholder type=\"literallayout\" id=\"0\"/> within the "
  2562. "<literal>cdrom</literal> block. It is important to have the trailing slash. "
  2563. "Unmount commands can be specified using UMount."
  2564. msgstr ""
  2565. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2566. #: apt.conf.5.xml:503
  2567. msgid ""
  2568. "For GPGV URIs the only configurable option is "
  2569. "<literal>gpgv::Options</literal>, which passes additional parameters to "
  2570. "gpgv."
  2571. msgstr ""
  2572. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><synopsis>
  2573. #: apt.conf.5.xml:514
  2574. #, no-wrap
  2575. msgid ""
  2576. "Acquire::CompressionTypes::<replaceable>FileExtension</replaceable> "
  2577. "\"<replaceable>Methodname</replaceable>\";"
  2578. msgstr ""
  2579. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2580. #: apt.conf.5.xml:509
  2581. msgid ""
  2582. "List of compression types which are understood by the acquire methods. "
  2583. "Files like <filename>Packages</filename> can be available in various "
  2584. "compression formats. By default the acquire methods can decompress "
  2585. "<command>bzip2</command>, <command>lzma</command> and "
  2586. "<command>gzip</command> compressed files; with this setting more formats can "
  2587. "be added on the fly or the used method can be changed. The syntax for this "
  2588. "is: <placeholder type=\"synopsis\" id=\"0\"/>"
  2589. msgstr ""
  2590. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><synopsis>
  2591. #: apt.conf.5.xml:519
  2592. #, no-wrap
  2593. msgid "Acquire::CompressionTypes::Order:: \"gz\";"
  2594. msgstr ""
  2595. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><synopsis>
  2596. #: apt.conf.5.xml:522
  2597. #, no-wrap
  2598. msgid "Acquire::CompressionTypes::Order { \"lzma\"; \"gz\"; };"
  2599. msgstr ""
  2600. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2601. #: apt.conf.5.xml:515
  2602. msgid ""
  2603. "Also, the <literal>Order</literal> subgroup can be used to define in which "
  2604. "order the acquire system will try to download the compressed files. The "
  2605. "acquire system will try the first and proceed with the next compression type "
  2606. "in this list on error, so to prefer one over the other type simply add the "
  2607. "preferred type first - default types not already added will be implicitly "
  2608. "appended to the end of the list, so e.g. <placeholder type=\"synopsis\" "
  2609. "id=\"0\"/> can be used to prefer <command>gzip</command> compressed files "
  2610. "over <command>bzip2</command> and <command>lzma</command>. If "
  2611. "<command>lzma</command> should be preferred over <command>gzip</command> and "
  2612. "<command>bzip2</command> the configure setting should look like this: "
  2613. "<placeholder type=\"synopsis\" id=\"1\"/> It is not needed to add "
  2614. "<literal>bz2</literal> to the list explicitly as it will be added "
  2615. "automatically."
  2616. msgstr ""
  2617. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><literallayout>
  2618. #: apt.conf.5.xml:529
  2619. #, no-wrap
  2620. msgid "Dir::Bin::bzip2 \"/bin/bzip2\";"
  2621. msgstr ""
  2622. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2623. #: apt.conf.5.xml:524
  2624. msgid ""
  2625. "Note that the "
  2626. "<literal>Dir::Bin::<replaceable>Methodname</replaceable></literal> will be "
  2627. "checked at run time. If this option has been set, the method will only be "
  2628. "used if this file exists; e.g. for the <literal>bzip2</literal> method (the "
  2629. "inbuilt) setting is: <placeholder type=\"literallayout\" id=\"0\"/> Note "
  2630. "also that list entries specified on the command line will be added at the "
  2631. "end of the list specified in the configuration files, but before the default "
  2632. "entries. To prefer a type in this case over the ones specified in the "
  2633. "configuration files you can set the option direct - not in list style. This "
  2634. "will not override the defined list; it will only prefix the list with this "
  2635. "type."
  2636. msgstr ""
  2637. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2638. #: apt.conf.5.xml:534
  2639. msgid ""
  2640. "The special type <literal>uncompressed</literal> can be used to give "
  2641. "uncompressed files a preference, but note that most archives don't provide "
  2642. "uncompressed files so this is mostly only useable for local mirrors."
  2643. msgstr ""
  2644. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2645. #: apt.conf.5.xml:541
  2646. msgid ""
  2647. "When downloading <literal>gzip</literal> compressed indexes (Packages, "
  2648. "Sources, or Translations), keep them gzip compressed locally instead of "
  2649. "unpacking them. This saves quite a lot of disk space at the expense of more "
  2650. "CPU requirements when building the local package caches. False by default."
  2651. msgstr ""
  2652. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2653. #: apt.conf.5.xml:549
  2654. msgid ""
  2655. "The Languages subsection controls which <filename>Translation</filename> "
  2656. "files are downloaded and in which order APT tries to display the "
  2657. "description-translations. APT will try to display the first available "
  2658. "description in the language which is listed first. Languages can be defined "
  2659. "with their short or long language codes. Note that not all archives provide "
  2660. "<filename>Translation</filename> files for every language - the long "
  2661. "language codes are especially rare."
  2662. msgstr ""
  2663. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><programlisting>
  2664. #: apt.conf.5.xml:566
  2665. #, no-wrap
  2666. msgid "Acquire::Languages { \"environment\"; \"de\"; \"en\"; \"none\"; \"fr\"; };"
  2667. msgstr ""
  2668. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2669. #: apt.conf.5.xml:554
  2670. msgid ""
  2671. "The default list includes \"environment\" and "
  2672. "\"en\". \"<literal>environment</literal>\" has a special meaning here: it "
  2673. "will be replaced at runtime with the language codes extracted from the "
  2674. "<literal>LC_MESSAGES</literal> environment variable. It will also ensure "
  2675. "that these codes are not included twice in the list. If "
  2676. "<literal>LC_MESSAGES</literal> is set to \"C\" only the "
  2677. "<filename>Translation-en</filename> file (if available) will be used. To "
  2678. "force APT to use no Translation file use the setting "
  2679. "<literal>Acquire::Languages=none</literal>. \"<literal>none</literal>\" is "
  2680. "another special meaning code which will stop the search for a suitable "
  2681. "<filename>Translation</filename> file. This tells APT to download these "
  2682. "translations too, without actually using them unless the environment "
  2683. "specifies the languages. So the following example configuration will result "
  2684. "in the order \"en, de\" in an English locale or \"de, en\" in a German "
  2685. "one. Note that \"fr\" is downloaded, but not used unless APT is used in a "
  2686. "French locale (where the order would be \"fr, de, en\"). <placeholder "
  2687. "type=\"programlisting\" id=\"0\"/>"
  2688. msgstr ""
  2689. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2690. #: apt.conf.5.xml:567
  2691. msgid ""
  2692. "Note: To prevent problems resulting from APT being executed in different "
  2693. "environments (e.g. by different users or by other programs) all Translation "
  2694. "files which are found in <filename>/var/lib/apt/lists/</filename> will be "
  2695. "added to the end of the list (after an implicit "
  2696. "\"<literal>none</literal>\")."
  2697. msgstr ""
  2698. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2699. #: apt.conf.5.xml:576
  2700. msgid "When downloading, force to use only the IPv4 protocol."
  2701. msgstr ""
  2702. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2703. #: apt.conf.5.xml:582
  2704. msgid "When downloading, force to use only the IPv6 protocol."
  2705. msgstr ""
  2706. #. type: Content of: <refentry><refsect1><title>
  2707. #: apt.conf.5.xml:589
  2708. msgid "Directories"
  2709. msgstr ""
  2710. #. type: Content of: <refentry><refsect1><para>
  2711. #: apt.conf.5.xml:591
  2712. msgid ""
  2713. "The <literal>Dir::State</literal> section has directories that pertain to "
  2714. "local state information. <literal>lists</literal> is the directory to place "
  2715. "downloaded package lists in and <literal>status</literal> is the name of the "
  2716. "&dpkg; status file. <literal>preferences</literal> is the name of the APT "
  2717. "<filename>preferences</filename> file. <literal>Dir::State</literal> "
  2718. "contains the default directory to prefix on all sub-items if they do not "
  2719. "start with <filename>/</filename> or <filename>./</filename>."
  2720. msgstr ""
  2721. #. type: Content of: <refentry><refsect1><para>
  2722. #: apt.conf.5.xml:598
  2723. msgid ""
  2724. "<literal>Dir::Cache</literal> contains locations pertaining to local cache "
  2725. "information, such as the two package caches <literal>srcpkgcache</literal> "
  2726. "and <literal>pkgcache</literal> as well as the location to place downloaded "
  2727. "archives, <literal>Dir::Cache::archives</literal>. Generation of caches can "
  2728. "be turned off by setting their names to the empty string. This will slow "
  2729. "down startup but save disk space. It is probably preferable to turn off the "
  2730. "pkgcache rather than the srcpkgcache. Like <literal>Dir::State</literal> the "
  2731. "default directory is contained in <literal>Dir::Cache</literal>"
  2732. msgstr ""
  2733. #. type: Content of: <refentry><refsect1><para>
  2734. #: apt.conf.5.xml:607
  2735. msgid ""
  2736. "<literal>Dir::Etc</literal> contains the location of configuration files, "
  2737. "<literal>sourcelist</literal> gives the location of the sourcelist and "
  2738. "<literal>main</literal> is the default configuration file (setting has no "
  2739. "effect, unless it is done from the config file specified by "
  2740. "<envar>APT_CONFIG</envar>)."
  2741. msgstr ""
  2742. #. type: Content of: <refentry><refsect1><para>
  2743. #: apt.conf.5.xml:613
  2744. msgid ""
  2745. "The <literal>Dir::Parts</literal> setting reads in all the config fragments "
  2746. "in lexical order from the directory specified. After this is done then the "
  2747. "main config file is loaded."
  2748. msgstr ""
  2749. #. type: Content of: <refentry><refsect1><para>
  2750. #: apt.conf.5.xml:617
  2751. msgid ""
  2752. "Binary programs are pointed to by "
  2753. "<literal>Dir::Bin</literal>. <literal>Dir::Bin::Methods</literal> specifies "
  2754. "the location of the method handlers and <literal>gzip</literal>, "
  2755. "<literal>bzip2</literal>, <literal>lzma</literal>, <literal>dpkg</literal>, "
  2756. "<literal>apt-get</literal> <literal>dpkg-source</literal> "
  2757. "<literal>dpkg-buildpackage</literal> and <literal>apt-cache</literal> "
  2758. "specify the location of the respective programs."
  2759. msgstr ""
  2760. #. type: Content of: <refentry><refsect1><para>
  2761. #: apt.conf.5.xml:625
  2762. msgid ""
  2763. "The configuration item <literal>RootDir</literal> has a special meaning. If "
  2764. "set, all paths in <literal>Dir::</literal> will be relative to "
  2765. "<literal>RootDir</literal>, <emphasis>even paths that are specified "
  2766. "absolutely</emphasis>. So, for instance, if <literal>RootDir</literal> is "
  2767. "set to <filename>/tmp/staging</filename> and "
  2768. "<literal>Dir::State::status</literal> is set to "
  2769. "<filename>/var/lib/dpkg/status</filename>, then the status file will be "
  2770. "looked up in <filename>/tmp/staging/var/lib/dpkg/status</filename>."
  2771. msgstr ""
  2772. #. type: Content of: <refentry><refsect1><para>
  2773. #: apt.conf.5.xml:638
  2774. msgid ""
  2775. "The <literal>Ignore-Files-Silently</literal> list can be used to specify "
  2776. "which files APT should silently ignore while parsing the files in the "
  2777. "fragment directories. Per default a file which end with "
  2778. "<literal>.disabled</literal>, <literal>~</literal>, <literal>.bak</literal> "
  2779. "or <literal>.dpkg-[a-z]+</literal> is silently ignored. As seen in the last "
  2780. "default value these patterns can use regular expression syntax."
  2781. msgstr ""
  2782. #. type: Content of: <refentry><refsect1><title>
  2783. #: apt.conf.5.xml:647
  2784. msgid "APT in DSelect"
  2785. msgstr ""
  2786. #. type: Content of: <refentry><refsect1><para>
  2787. #: apt.conf.5.xml:649
  2788. msgid ""
  2789. "When APT is used as a &dselect; method several configuration directives "
  2790. "control the default behavior. These are in the <literal>DSelect</literal> "
  2791. "section."
  2792. msgstr ""
  2793. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2794. #: apt.conf.5.xml:654
  2795. msgid ""
  2796. "Cache Clean mode; this value may be one of <literal>always</literal>, "
  2797. "<literal>prompt</literal>, <literal>auto</literal>, "
  2798. "<literal>pre-auto</literal> and <literal>never</literal>. "
  2799. "<literal>always</literal> and <literal>prompt</literal> will remove all "
  2800. "packages from the cache after upgrading, <literal>prompt</literal> (the "
  2801. "default) does so conditionally. <literal>auto</literal> removes only those "
  2802. "packages which are no longer downloadable (replaced with a new version for "
  2803. "instance). <literal>pre-auto</literal> performs this action before "
  2804. "downloading new packages."
  2805. msgstr ""
  2806. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2807. #: apt.conf.5.xml:668
  2808. msgid ""
  2809. "The contents of this variable are passed to &apt-get; as command line "
  2810. "options when it is run for the install phase."
  2811. msgstr ""
  2812. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2813. #: apt.conf.5.xml:673
  2814. msgid ""
  2815. "The contents of this variable are passed to &apt-get; as command line "
  2816. "options when it is run for the update phase."
  2817. msgstr ""
  2818. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2819. #: apt.conf.5.xml:678
  2820. msgid ""
  2821. "If true the [U]pdate operation in &dselect; will always prompt to continue. "
  2822. "The default is to prompt only on error."
  2823. msgstr ""
  2824. #. type: Content of: <refentry><refsect1><title>
  2825. #: apt.conf.5.xml:684
  2826. msgid "How APT calls &dpkg;"
  2827. msgstr ""
  2828. #. type: Content of: <refentry><refsect1><para>
  2829. #: apt.conf.5.xml:685
  2830. msgid ""
  2831. "Several configuration directives control how APT invokes &dpkg;. These are "
  2832. "in the <literal>DPkg</literal> section."
  2833. msgstr ""
  2834. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2835. #: apt.conf.5.xml:690
  2836. msgid ""
  2837. "This is a list of options to pass to &dpkg;. The options must be specified "
  2838. "using the list notation and each list item is passed as a single argument to "
  2839. "&dpkg;."
  2840. msgstr ""
  2841. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2842. #: apt.conf.5.xml:696
  2843. msgid ""
  2844. "This is a list of shell commands to run before/after invoking &dpkg;. Like "
  2845. "<literal>options</literal> this must be specified in list notation. The "
  2846. "commands are invoked in order using <filename>/bin/sh</filename>; should any "
  2847. "fail APT will abort."
  2848. msgstr ""
  2849. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2850. #: apt.conf.5.xml:703
  2851. msgid ""
  2852. "This is a list of shell commands to run before invoking &dpkg;. Like "
  2853. "<literal>options</literal> this must be specified in list notation. The "
  2854. "commands are invoked in order using <filename>/bin/sh</filename>; should any "
  2855. "fail APT will abort. APT will pass the filenames of all .deb files it is "
  2856. "going to install to the commands, one per line on the requested file "
  2857. "descriptor, defaulting to standard input."
  2858. msgstr ""
  2859. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2860. #: apt.conf.5.xml:710
  2861. msgid ""
  2862. "Version 2 of this protocol dumps more information, including the protocol "
  2863. "version, the APT configuration space and the packages, files and versions "
  2864. "being changed. Version 3 adds the architecture and "
  2865. "<literal>MultiArch</literal> flag to each version being dumped."
  2866. msgstr ""
  2867. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2868. #: apt.conf.5.xml:715
  2869. msgid ""
  2870. "The version of the protocol to be used for the command "
  2871. "<literal><replaceable>cmd</replaceable></literal> can be chosen by setting "
  2872. "<literal>DPkg::Tools::options::<replaceable>cmd</replaceable>::Version</literal> "
  2873. "accordingly, the default being version 1. If APT isn't supporting the "
  2874. "requested version it will send the information in the highest version it has "
  2875. "support for instead."
  2876. msgstr ""
  2877. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2878. #: apt.conf.5.xml:722
  2879. msgid ""
  2880. "The file descriptor to be used to send the information can be requested with "
  2881. "<literal>DPkg::Tools::options::<replaceable>cmd</replaceable>::InfoFD</literal> "
  2882. "which defaults to <literal>0</literal> for standard input and is available "
  2883. "since version 0.9.11. Support for the option can be detected by looking for "
  2884. "the environment variable <envar>APT_HOOK_INFO_FD</envar> which contains the "
  2885. "number of the used file descriptor as a confirmation."
  2886. msgstr ""
  2887. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2888. #: apt.conf.5.xml:732
  2889. msgid ""
  2890. "APT chdirs to this directory before invoking &dpkg;, the default is "
  2891. "<filename>/</filename>."
  2892. msgstr ""
  2893. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2894. #: apt.conf.5.xml:737
  2895. msgid ""
  2896. "These options are passed to &dpkg-buildpackage; when compiling packages; the "
  2897. "default is to disable signing and produce all binaries."
  2898. msgstr ""
  2899. #. type: Content of: <refentry><refsect1><refsect2><title>
  2900. #: apt.conf.5.xml:742
  2901. msgid "dpkg trigger usage (and related options)"
  2902. msgstr ""
  2903. #. type: Content of: <refentry><refsect1><refsect2><para>
  2904. #: apt.conf.5.xml:743
  2905. msgid ""
  2906. "APT can call &dpkg; in such a way as to let it make aggressive use of "
  2907. "triggers over multiple calls of &dpkg;. Without further options &dpkg; will "
  2908. "use triggers once each time it runs. Activating these options can therefore "
  2909. "decrease the time needed to perform the install or upgrade. Note that it is "
  2910. "intended to activate these options per default in the future, but as it "
  2911. "drastically changes the way APT calls &dpkg; it needs a lot more testing. "
  2912. "<emphasis>These options are therefore currently experimental and should not "
  2913. "be used in production environments.</emphasis> It also breaks progress "
  2914. "reporting such that all front-ends will currently stay around half (or more) "
  2915. "of the time in the 100% state while it actually configures all packages."
  2916. msgstr ""
  2917. #. type: Content of: <refentry><refsect1><refsect2><para><literallayout>
  2918. #: apt.conf.5.xml:758
  2919. #, no-wrap
  2920. msgid ""
  2921. "DPkg::NoTriggers \"true\";\n"
  2922. "PackageManager::Configure \"smart\";\n"
  2923. "DPkg::ConfigurePending \"true\";\n"
  2924. "DPkg::TriggersPending \"true\";"
  2925. msgstr ""
  2926. #. type: Content of: <refentry><refsect1><refsect2><para>
  2927. #: apt.conf.5.xml:752
  2928. msgid ""
  2929. "Note that it is not guaranteed that APT will support these options or that "
  2930. "these options will not cause (big) trouble in the future. If you have "
  2931. "understand the current risks and problems with these options, but are brave "
  2932. "enough to help testing them, create a new configuration file and test a "
  2933. "combination of options. Please report any bugs, problems and improvements "
  2934. "you encounter and make sure to note which options you have used in your "
  2935. "reports. Asking &dpkg; for help could also be useful for debugging proposes, "
  2936. "see e.g. <command>dpkg --audit</command>. A defensive option combination "
  2937. "would be <placeholder type=\"literallayout\" id=\"0\"/>"
  2938. msgstr ""
  2939. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  2940. #: apt.conf.5.xml:765
  2941. msgid ""
  2942. "Add the no triggers flag to all &dpkg; calls (except the ConfigurePending "
  2943. "call). See &dpkg; if you are interested in what this actually means. In "
  2944. "short: &dpkg; will not run the triggers when this flag is present unless it "
  2945. "is explicitly called to do so in an extra call. Note that this option "
  2946. "exists (undocumented) also in older APT versions with a slightly different "
  2947. "meaning: Previously these option only append --no-triggers to the configure "
  2948. "calls to &dpkg; - now APT will also add this flag to the unpack and remove "
  2949. "calls."
  2950. msgstr ""
  2951. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  2952. #: apt.conf.5.xml:773
  2953. msgid ""
  2954. "Valid values are \"<literal>all</literal>\", \"<literal>smart</literal>\" "
  2955. "and \"<literal>no</literal>\". The default value is "
  2956. "\"<literal>all</literal>\", which causes APT to configure all packages. The "
  2957. "\"<literal>smart</literal>\" way is to configure only packages which need to "
  2958. "be configured before another package can be unpacked (Pre-Depends), and let "
  2959. "the rest be configured by &dpkg; with a call generated by the "
  2960. "ConfigurePending option (see below). On the other hand, "
  2961. "\"<literal>no</literal>\" will not configure anything, and totally relies on "
  2962. "&dpkg; for configuration (which at the moment will fail if a Pre-Depends is "
  2963. "encountered). Setting this option to any value other than "
  2964. "<literal>all</literal> will implicitly also activate the next option by "
  2965. "default, as otherwise the system could end in an unconfigured and "
  2966. "potentially unbootable state."
  2967. msgstr ""
  2968. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  2969. #: apt.conf.5.xml:788
  2970. msgid ""
  2971. "If this option is set APT will call <command>dpkg --configure "
  2972. "--pending</command> to let &dpkg; handle all required configurations and "
  2973. "triggers. This option is activated automatically per default if the previous "
  2974. "option is not set to <literal>all</literal>, but deactivating it could be "
  2975. "useful if you want to run APT multiple times in a row - e.g. in an "
  2976. "installer. In these sceneries you could deactivate this option in all but "
  2977. "the last run."
  2978. msgstr ""
  2979. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  2980. #: apt.conf.5.xml:795
  2981. msgid ""
  2982. "Useful for the <literal>smart</literal> configuration as a package which has "
  2983. "pending triggers is not considered as <literal>installed</literal>, and "
  2984. "&dpkg; treats them as <literal>unpacked</literal> currently which is a "
  2985. "showstopper for Pre-Dependencies (see debbugs #526774). Note that this will "
  2986. "process all triggers, not only the triggers needed to configure this "
  2987. "package."
  2988. msgstr ""
  2989. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para><literallayout>
  2990. #: apt.conf.5.xml:808
  2991. #, no-wrap
  2992. msgid ""
  2993. "OrderList::Score {\n"
  2994. "\tDelete 500;\n"
  2995. "\tEssential 200;\n"
  2996. "\tImmediate 10;\n"
  2997. "\tPreDepends 50;\n"
  2998. "};"
  2999. msgstr ""
  3000. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  3001. #: apt.conf.5.xml:801
  3002. msgid ""
  3003. "Essential packages (and their dependencies) should be configured immediately "
  3004. "after unpacking. It is a good idea to do this quite early in the upgrade "
  3005. "process as these configure calls also currently require "
  3006. "<literal>DPkg::TriggersPending</literal> which will run quite a few triggers "
  3007. "(which may not be needed). Essentials get per default a high score but the "
  3008. "immediate flag is relatively low (a package which has a Pre-Depends is rated "
  3009. "higher). These option and the others in the same group can be used to "
  3010. "change the scoring. The following example shows the settings with their "
  3011. "default values. <placeholder type=\"literallayout\" id=\"0\"/>"
  3012. msgstr ""
  3013. #. type: Content of: <refentry><refsect1><title>
  3014. #: apt.conf.5.xml:821
  3015. msgid "Periodic and Archives options"
  3016. msgstr ""
  3017. #. type: Content of: <refentry><refsect1><para>
  3018. #: apt.conf.5.xml:822
  3019. msgid ""
  3020. "<literal>APT::Periodic</literal> and <literal>APT::Archives</literal> groups "
  3021. "of options configure behavior of apt periodic updates, which is done by the "
  3022. "<literal>/etc/cron.daily/apt</literal> script. See the top of this script "
  3023. "for the brief documentation of these options."
  3024. msgstr ""
  3025. #. type: Content of: <refentry><refsect1><title>
  3026. #: apt.conf.5.xml:830
  3027. msgid "Debug options"
  3028. msgstr ""
  3029. #. type: Content of: <refentry><refsect1><para>
  3030. #: apt.conf.5.xml:832
  3031. msgid ""
  3032. "Enabling options in the <literal>Debug::</literal> section will cause "
  3033. "debugging information to be sent to the standard error stream of the program "
  3034. "utilizing the <literal>apt</literal> libraries, or enable special program "
  3035. "modes that are primarily useful for debugging the behavior of "
  3036. "<literal>apt</literal>. Most of these options are not interesting to a "
  3037. "normal user, but a few may be:"
  3038. msgstr ""
  3039. #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
  3040. #: apt.conf.5.xml:843
  3041. msgid ""
  3042. "<literal>Debug::pkgProblemResolver</literal> enables output about the "
  3043. "decisions made by <literal>dist-upgrade, upgrade, install, remove, "
  3044. "purge</literal>."
  3045. msgstr ""
  3046. #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
  3047. #: apt.conf.5.xml:851
  3048. msgid ""
  3049. "<literal>Debug::NoLocking</literal> disables all file locking. This can be "
  3050. "used to run some operations (for instance, <literal>apt-get -s "
  3051. "install</literal>) as a non-root user."
  3052. msgstr ""
  3053. #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
  3054. #: apt.conf.5.xml:860
  3055. msgid ""
  3056. "<literal>Debug::pkgDPkgPM</literal> prints out the actual command line each "
  3057. "time that <literal>apt</literal> invokes &dpkg;."
  3058. msgstr ""
  3059. #. TODO: provide a
  3060. #. motivating example, except I haven't a clue why you'd want
  3061. #. to do this.
  3062. #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
  3063. #: apt.conf.5.xml:868
  3064. msgid ""
  3065. "<literal>Debug::IdentCdrom</literal> disables the inclusion of statfs data "
  3066. "in CD-ROM IDs."
  3067. msgstr ""
  3068. #. type: Content of: <refentry><refsect1><para>
  3069. #: apt.conf.5.xml:878
  3070. msgid "A full list of debugging options to apt follows."
  3071. msgstr ""
  3072. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3073. #: apt.conf.5.xml:887
  3074. msgid "Print information related to accessing <literal>cdrom://</literal> sources."
  3075. msgstr ""
  3076. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3077. #: apt.conf.5.xml:898
  3078. msgid "Print information related to downloading packages using FTP."
  3079. msgstr ""
  3080. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3081. #: apt.conf.5.xml:909
  3082. msgid "Print information related to downloading packages using HTTP."
  3083. msgstr ""
  3084. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3085. #: apt.conf.5.xml:920
  3086. msgid "Print information related to downloading packages using HTTPS."
  3087. msgstr ""
  3088. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3089. #: apt.conf.5.xml:931
  3090. msgid ""
  3091. "Print information related to verifying cryptographic signatures using "
  3092. "<literal>gpg</literal>."
  3093. msgstr ""
  3094. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3095. #: apt.conf.5.xml:942
  3096. msgid ""
  3097. "Output information about the process of accessing collections of packages "
  3098. "stored on CD-ROMs."
  3099. msgstr ""
  3100. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3101. #: apt.conf.5.xml:952
  3102. msgid "Describes the process of resolving build-dependencies in &apt-get;."
  3103. msgstr ""
  3104. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3105. #: apt.conf.5.xml:962
  3106. msgid ""
  3107. "Output each cryptographic hash that is generated by the "
  3108. "<literal>apt</literal> libraries."
  3109. msgstr ""
  3110. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3111. #: apt.conf.5.xml:972
  3112. msgid ""
  3113. "Do not include information from <literal>statfs</literal>, namely the number "
  3114. "of used and free blocks on the CD-ROM filesystem, when generating an ID for "
  3115. "a CD-ROM."
  3116. msgstr ""
  3117. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3118. #: apt.conf.5.xml:983
  3119. msgid ""
  3120. "Disable all file locking. For instance, this will allow two instances of "
  3121. "<quote><literal>apt-get update</literal></quote> to run at the same time."
  3122. msgstr ""
  3123. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3124. #: apt.conf.5.xml:995
  3125. msgid "Log when items are added to or removed from the global download queue."
  3126. msgstr ""
  3127. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3128. #: apt.conf.5.xml:1005
  3129. msgid ""
  3130. "Output status messages and errors related to verifying checksums and "
  3131. "cryptographic signatures of downloaded files."
  3132. msgstr ""
  3133. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3134. #: apt.conf.5.xml:1015
  3135. msgid ""
  3136. "Output information about downloading and applying package index list diffs, "
  3137. "and errors relating to package index list diffs."
  3138. msgstr ""
  3139. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3140. #: apt.conf.5.xml:1027
  3141. msgid ""
  3142. "Output information related to patching apt package lists when downloading "
  3143. "index diffs instead of full indices."
  3144. msgstr ""
  3145. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3146. #: apt.conf.5.xml:1038
  3147. msgid "Log all interactions with the sub-processes that actually perform downloads."
  3148. msgstr ""
  3149. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3150. #: apt.conf.5.xml:1049
  3151. msgid ""
  3152. "Log events related to the automatically-installed status of packages and to "
  3153. "the removal of unused packages."
  3154. msgstr ""
  3155. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3156. #: apt.conf.5.xml:1059
  3157. msgid ""
  3158. "Generate debug messages describing which packages are being automatically "
  3159. "installed to resolve dependencies. This corresponds to the initial "
  3160. "auto-install pass performed in, e.g., <literal>apt-get install</literal>, "
  3161. "and not to the full <literal>apt</literal> dependency resolver; see "
  3162. "<literal>Debug::pkgProblemResolver</literal> for that."
  3163. msgstr ""
  3164. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3165. #: apt.conf.5.xml:1073
  3166. msgid ""
  3167. "Generate debug messages describing which packages are marked as "
  3168. "keep/install/remove while the ProblemResolver does his work. Each addition "
  3169. "or deletion may trigger additional actions; they are shown indented two "
  3170. "additional spaces under the original entry. The format for each line is "
  3171. "<literal>MarkKeep</literal>, <literal>MarkDelete</literal> or "
  3172. "<literal>MarkInstall</literal> followed by <literal>package-name &lt;a.b.c "
  3173. "-&gt; d.e.f | x.y.z&gt; (section)</literal> where <literal>a.b.c</literal> "
  3174. "is the current version of the package, <literal>d.e.f</literal> is the "
  3175. "version considered for installation and <literal>x.y.z</literal> is a newer "
  3176. "version, but not considered for installation (because of a low pin "
  3177. "score). The later two can be omitted if there is none or if it is the same "
  3178. "as the installed version. <literal>section</literal> is the name of the "
  3179. "section the package appears in."
  3180. msgstr ""
  3181. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3182. #: apt.conf.5.xml:1094
  3183. msgid ""
  3184. "When invoking &dpkg;, output the precise command line with which it is being "
  3185. "invoked, with arguments separated by a single space character."
  3186. msgstr ""
  3187. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3188. #: apt.conf.5.xml:1105
  3189. msgid ""
  3190. "Output all the data received from &dpkg; on the status file descriptor and "
  3191. "any errors encountered while parsing it."
  3192. msgstr ""
  3193. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3194. #: apt.conf.5.xml:1116
  3195. msgid ""
  3196. "Generate a trace of the algorithm that decides the order in which "
  3197. "<literal>apt</literal> should pass packages to &dpkg;."
  3198. msgstr ""
  3199. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3200. #: apt.conf.5.xml:1128
  3201. msgid "Output status messages tracing the steps performed when invoking &dpkg;."
  3202. msgstr ""
  3203. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3204. #: apt.conf.5.xml:1139
  3205. msgid "Output the priority of each package list on startup."
  3206. msgstr ""
  3207. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3208. #: apt.conf.5.xml:1149
  3209. msgid ""
  3210. "Trace the execution of the dependency resolver (this applies only to what "
  3211. "happens when a complex dependency problem is encountered)."
  3212. msgstr ""
  3213. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3214. #: apt.conf.5.xml:1160
  3215. msgid ""
  3216. "Display a list of all installed packages with their calculated score used by "
  3217. "the pkgProblemResolver. The description of the package is the same as "
  3218. "described in <literal>Debug::pkgDepCache::Marker</literal>"
  3219. msgstr ""
  3220. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3221. #: apt.conf.5.xml:1172
  3222. msgid ""
  3223. "Print information about the vendors read from "
  3224. "<filename>/etc/apt/vendors.list</filename>."
  3225. msgstr ""
  3226. #. type: Content of: <refentry><refsect1><title>
  3227. #: apt.conf.5.xml:1194 apt_preferences.5.xml:547 sources.list.5.xml:217 apt-ftparchive.1.xml:598
  3228. msgid "Examples"
  3229. msgstr ""
  3230. #. type: Content of: <refentry><refsect1><para>
  3231. #: apt.conf.5.xml:1195
  3232. msgid ""
  3233. "&configureindex; is a configuration file showing example values for all "
  3234. "possible options."
  3235. msgstr ""
  3236. #. ? reading apt.conf
  3237. #. type: Content of: <refentry><refsect1><para>
  3238. #: apt.conf.5.xml:1207
  3239. msgid "&apt-cache;, &apt-config;, &apt-preferences;."
  3240. msgstr ""
  3241. #. type: Content of: <refentry><refnamediv><refpurpose>
  3242. #: apt_preferences.5.xml:34
  3243. msgid "Preference control file for APT"
  3244. msgstr ""
  3245. #. type: Content of: <refentry><refsect1><para>
  3246. #: apt_preferences.5.xml:39
  3247. msgid ""
  3248. "The APT preferences file <filename>/etc/apt/preferences</filename> and the "
  3249. "fragment files in the <filename>/etc/apt/preferences.d/</filename> folder "
  3250. "can be used to control which versions of packages will be selected for "
  3251. "installation."
  3252. msgstr ""
  3253. #. type: Content of: <refentry><refsect1><para>
  3254. #: apt_preferences.5.xml:44
  3255. msgid ""
  3256. "Several versions of a package may be available for installation when the "
  3257. "&sources-list; file contains references to more than one distribution (for "
  3258. "example, <literal>stable</literal> and <literal>testing</literal>). APT "
  3259. "assigns a priority to each version that is available. Subject to dependency "
  3260. "constraints, <command>apt-get</command> selects the version with the highest "
  3261. "priority for installation. The APT preferences override the priorities that "
  3262. "APT assigns to package versions by default, thus giving the user control "
  3263. "over which one is selected for installation."
  3264. msgstr ""
  3265. #. type: Content of: <refentry><refsect1><para>
  3266. #: apt_preferences.5.xml:54
  3267. msgid ""
  3268. "Several instances of the same version of a package may be available when the "
  3269. "&sources-list; file contains references to more than one source. In this "
  3270. "case <command>apt-get</command> downloads the instance listed earliest in "
  3271. "the &sources-list; file. The APT preferences do not affect the choice of "
  3272. "instance, only the choice of version."
  3273. msgstr ""
  3274. #. type: Content of: <refentry><refsect1><para>
  3275. #: apt_preferences.5.xml:61
  3276. msgid ""
  3277. "Preferences are a strong power in the hands of a system administrator but "
  3278. "they can become also their biggest nightmare if used without care! APT will "
  3279. "not question the preferences, so wrong settings can lead to uninstallable "
  3280. "packages or wrong decisions while upgrading packages. Even more problems "
  3281. "will arise if multiple distribution releases are mixed without a good "
  3282. "understanding of the following paragraphs. Packages included in a specific "
  3283. "release aren't tested in (and therefore don't always work as expected in) "
  3284. "older or newer releases, or together with other packages from different "
  3285. "releases. You have been warned."
  3286. msgstr ""
  3287. #. type: Content of: <refentry><refsect1><para>
  3288. #: apt_preferences.5.xml:72
  3289. msgid ""
  3290. "Note that the files in the <filename>/etc/apt/preferences.d</filename> "
  3291. "directory are parsed in alphanumeric ascending order and need to obey the "
  3292. "following naming convention: The files have either no or "
  3293. "\"<literal>pref</literal>\" as filename extension and only contain "
  3294. "alphanumeric, hyphen (-), underscore (_) and period (.) characters. "
  3295. "Otherwise APT will print a notice that it has ignored a file, unless that "
  3296. "file matches a pattern in the <literal>Dir::Ignore-Files-Silently</literal> "
  3297. "configuration list - in which case it will be silently ignored."
  3298. msgstr ""
  3299. #. type: Content of: <refentry><refsect1><refsect2><title>
  3300. #: apt_preferences.5.xml:81
  3301. msgid "APT's Default Priority Assignments"
  3302. msgstr ""
  3303. #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
  3304. #: apt_preferences.5.xml:96
  3305. #, no-wrap
  3306. msgid ""
  3307. "<command>apt-get install -t testing "
  3308. "<replaceable>some-package</replaceable></command>\n"
  3309. msgstr ""
  3310. #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
  3311. #: apt_preferences.5.xml:99
  3312. #, no-wrap
  3313. msgid "APT::Default-Release \"stable\";\n"
  3314. msgstr ""
  3315. #. type: Content of: <refentry><refsect1><refsect2><para>
  3316. #: apt_preferences.5.xml:83
  3317. msgid ""
  3318. "If there is no preferences file or if there is no entry in the file that "
  3319. "applies to a particular version then the priority assigned to that version "
  3320. "is the priority of the distribution to which that version belongs. It is "
  3321. "possible to single out a distribution, \"the target release\", which "
  3322. "receives a higher priority than other distributions do by default. The "
  3323. "target release can be set on the <command>apt-get</command> command line or "
  3324. "in the APT configuration file <filename>/etc/apt/apt.conf</filename>. Note "
  3325. "that this has precedence over any general priority you set in the "
  3326. "<filename>/etc/apt/preferences</filename> file described later, but not over "
  3327. "specifically pinned packages. For example, <placeholder "
  3328. "type=\"programlisting\" id=\"0\"/> <placeholder type=\"programlisting\" "
  3329. "id=\"1\"/>"
  3330. msgstr ""
  3331. #. type: Content of: <refentry><refsect1><refsect2><para>
  3332. #: apt_preferences.5.xml:103
  3333. msgid ""
  3334. "If the target release has been specified then APT uses the following "
  3335. "algorithm to set the priorities of the versions of a package. Assign:"
  3336. msgstr ""
  3337. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
  3338. #: apt_preferences.5.xml:108
  3339. msgid "priority 1"
  3340. msgstr ""
  3341. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
  3342. #: apt_preferences.5.xml:109
  3343. msgid ""
  3344. "to the versions coming from archives which in their "
  3345. "<filename>Release</filename> files are marked as \"NotAutomatic: yes\" but "
  3346. "<emphasis>not</emphasis> as \"ButAutomaticUpgrades: yes\" like the Debian "
  3347. "<literal>experimental</literal> archive."
  3348. msgstr ""
  3349. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
  3350. #: apt_preferences.5.xml:115
  3351. msgid "priority 100"
  3352. msgstr ""
  3353. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
  3354. #: apt_preferences.5.xml:116
  3355. msgid ""
  3356. "to the version that is already installed (if any) and to the versions coming "
  3357. "from archives which in their <filename>Release</filename> files are marked "
  3358. "as \"NotAutomatic: yes\" and \"ButAutomaticUpgrades: yes\" like the Debian "
  3359. "backports archive since <literal>squeeze-backports</literal>."
  3360. msgstr ""
  3361. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
  3362. #: apt_preferences.5.xml:123
  3363. msgid "priority 500"
  3364. msgstr ""
  3365. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
  3366. #: apt_preferences.5.xml:124
  3367. msgid ""
  3368. "to the versions that are not installed and do not belong to the target "
  3369. "release."
  3370. msgstr ""
  3371. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
  3372. #: apt_preferences.5.xml:128
  3373. msgid "priority 990"
  3374. msgstr ""
  3375. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
  3376. #: apt_preferences.5.xml:129
  3377. msgid "to the versions that are not installed and belong to the target release."
  3378. msgstr ""
  3379. #. type: Content of: <refentry><refsect1><refsect2><para>
  3380. #: apt_preferences.5.xml:134
  3381. msgid ""
  3382. "If the target release has not been specified then APT simply assigns "
  3383. "priority 100 to all installed package versions and priority 500 to all "
  3384. "uninstalled package versions, except versions coming from archives which in "
  3385. "their <filename>Release</filename> files are marked as \"NotAutomatic: yes\" "
  3386. "- these versions get the priority 1 or priority 100 if it is additionally "
  3387. "marked as \"ButAutomaticUpgrades: yes\"."
  3388. msgstr ""
  3389. #. type: Content of: <refentry><refsect1><refsect2><para>
  3390. #: apt_preferences.5.xml:141
  3391. msgid ""
  3392. "APT then applies the following rules, listed in order of precedence, to "
  3393. "determine which version of a package to install."
  3394. msgstr ""
  3395. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
  3396. #: apt_preferences.5.xml:144
  3397. msgid ""
  3398. "Never downgrade unless the priority of an available version exceeds 1000. "
  3399. "(\"Downgrading\" is installing a less recent version of a package in place "
  3400. "of a more recent version. Note that none of APT's default priorities "
  3401. "exceeds 1000; such high priorities can only be set in the preferences file. "
  3402. "Note also that downgrading a package can be risky.)"
  3403. msgstr ""
  3404. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
  3405. #: apt_preferences.5.xml:150
  3406. msgid "Install the highest priority version."
  3407. msgstr ""
  3408. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
  3409. #: apt_preferences.5.xml:151
  3410. msgid ""
  3411. "If two or more versions have the same priority, install the most recent one "
  3412. "(that is, the one with the higher version number)."
  3413. msgstr ""
  3414. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
  3415. #: apt_preferences.5.xml:154
  3416. msgid ""
  3417. "If two or more versions have the same priority and version number but either "
  3418. "the packages differ in some of their metadata or the "
  3419. "<literal>--reinstall</literal> option is given, install the uninstalled one."
  3420. msgstr ""
  3421. #. type: Content of: <refentry><refsect1><refsect2><para>
  3422. #: apt_preferences.5.xml:160
  3423. msgid ""
  3424. "In a typical situation, the installed version of a package (priority 100) "
  3425. "is not as recent as one of the versions available from the sources listed in "
  3426. "the &sources-list; file (priority 500 or 990). Then the package will be "
  3427. "upgraded when <command>apt-get install "
  3428. "<replaceable>some-package</replaceable></command> or <command>apt-get "
  3429. "upgrade</command> is executed."
  3430. msgstr ""
  3431. #. type: Content of: <refentry><refsect1><refsect2><para>
  3432. #: apt_preferences.5.xml:167
  3433. msgid ""
  3434. "More rarely, the installed version of a package is <emphasis>more</emphasis> "
  3435. "recent than any of the other available versions. The package will not be "
  3436. "downgraded when <command>apt-get install "
  3437. "<replaceable>some-package</replaceable></command> or <command>apt-get "
  3438. "upgrade</command> is executed."
  3439. msgstr ""
  3440. #. type: Content of: <refentry><refsect1><refsect2><para>
  3441. #: apt_preferences.5.xml:172
  3442. msgid ""
  3443. "Sometimes the installed version of a package is more recent than the version "
  3444. "belonging to the target release, but not as recent as a version belonging to "
  3445. "some other distribution. Such a package will indeed be upgraded when "
  3446. "<command>apt-get install <replaceable>some-package</replaceable></command> "
  3447. "or <command>apt-get upgrade</command> is executed, because at least "
  3448. "<emphasis>one</emphasis> of the available versions has a higher priority "
  3449. "than the installed version."
  3450. msgstr ""
  3451. #. type: Content of: <refentry><refsect1><refsect2><title>
  3452. #: apt_preferences.5.xml:181
  3453. msgid "The Effect of APT Preferences"
  3454. msgstr ""
  3455. #. type: Content of: <refentry><refsect1><refsect2><para>
  3456. #: apt_preferences.5.xml:183
  3457. msgid ""
  3458. "The APT preferences file allows the system administrator to control the "
  3459. "assignment of priorities. The file consists of one or more multi-line "
  3460. "records separated by blank lines. Records can have one of two forms, a "
  3461. "specific form and a general form."
  3462. msgstr ""
  3463. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
  3464. #: apt_preferences.5.xml:189
  3465. msgid ""
  3466. "The specific form assigns a priority (a \"Pin-Priority\") to one or more "
  3467. "specified packages with a specified version or version range. For example, "
  3468. "the following record assigns a high priority to all versions of the "
  3469. "<filename>perl</filename> package whose version number begins with "
  3470. "\"<literal>&good-perl;</literal>\". Multiple packages can be separated by "
  3471. "spaces."
  3472. msgstr ""
  3473. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
  3474. #: apt_preferences.5.xml:196
  3475. #, no-wrap
  3476. msgid ""
  3477. "Package: perl\n"
  3478. "Pin: version &good-perl;*\n"
  3479. "Pin-Priority: 1001\n"
  3480. msgstr ""
  3481. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
  3482. #: apt_preferences.5.xml:202
  3483. msgid ""
  3484. "The general form assigns a priority to all of the package versions in a "
  3485. "given distribution (that is, to all the versions of packages that are listed "
  3486. "in a certain <filename>Release</filename> file) or to all of the package "
  3487. "versions coming from a particular Internet site, as identified by the site's "
  3488. "fully qualified domain name."
  3489. msgstr ""
  3490. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
  3491. #: apt_preferences.5.xml:208
  3492. msgid ""
  3493. "This general-form entry in the APT preferences file applies only to groups "
  3494. "of packages. For example, the following record assigns a high priority to "
  3495. "all package versions available from the local site."
  3496. msgstr ""
  3497. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
  3498. #: apt_preferences.5.xml:213
  3499. #, no-wrap
  3500. msgid ""
  3501. "Package: *\n"
  3502. "Pin: origin \"\"\n"
  3503. "Pin-Priority: 999\n"
  3504. msgstr ""
  3505. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
  3506. #: apt_preferences.5.xml:218
  3507. msgid ""
  3508. "A note of caution: the keyword used here is \"<literal>origin</literal>\" "
  3509. "which can be used to match a hostname. The following record will assign a "
  3510. "high priority to all versions available from the server identified by the "
  3511. "hostname \"ftp.de.debian.org\""
  3512. msgstr ""
  3513. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
  3514. #: apt_preferences.5.xml:222
  3515. #, no-wrap
  3516. msgid ""
  3517. "Package: *\n"
  3518. "Pin: origin \"ftp.de.debian.org\"\n"
  3519. "Pin-Priority: 999\n"
  3520. msgstr ""
  3521. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
  3522. #: apt_preferences.5.xml:226
  3523. msgid ""
  3524. "This should <emphasis>not</emphasis> be confused with the Origin of a "
  3525. "distribution as specified in a <filename>Release</filename> file. What "
  3526. "follows the \"Origin:\" tag in a <filename>Release</filename> file is not an "
  3527. "Internet address but an author or vendor name, such as \"Debian\" or "
  3528. "\"Ximian\"."
  3529. msgstr ""
  3530. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
  3531. #: apt_preferences.5.xml:231
  3532. msgid ""
  3533. "The following record assigns a low priority to all package versions "
  3534. "belonging to any distribution whose Archive name is "
  3535. "\"<literal>unstable</literal>\"."
  3536. msgstr ""
  3537. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
  3538. #: apt_preferences.5.xml:235
  3539. #, no-wrap
  3540. msgid ""
  3541. "Package: *\n"
  3542. "Pin: release a=unstable\n"
  3543. "Pin-Priority: 50\n"
  3544. msgstr ""
  3545. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
  3546. #: apt_preferences.5.xml:240
  3547. msgid ""
  3548. "The following record assigns a high priority to all package versions "
  3549. "belonging to any distribution whose Codename is "
  3550. "\"<literal>&testing-codename;</literal>\"."
  3551. msgstr ""
  3552. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
  3553. #: apt_preferences.5.xml:244
  3554. #, no-wrap
  3555. msgid ""
  3556. "Package: *\n"
  3557. "Pin: release n=&testing-codename;\n"
  3558. "Pin-Priority: 900\n"
  3559. msgstr ""
  3560. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
  3561. #: apt_preferences.5.xml:249
  3562. msgid ""
  3563. "The following record assigns a high priority to all package versions "
  3564. "belonging to any release whose Archive name is \"<literal>stable</literal>\" "
  3565. "and whose release Version number is \"<literal>&stable-version;</literal>\"."
  3566. msgstr ""
  3567. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
  3568. #: apt_preferences.5.xml:254
  3569. #, no-wrap
  3570. msgid ""
  3571. "Package: *\n"
  3572. "Pin: release a=stable, v=&stable-version;\n"
  3573. "Pin-Priority: 500\n"
  3574. msgstr ""
  3575. #. type: Content of: <refentry><refsect1><refsect2><title>
  3576. #: apt_preferences.5.xml:264
  3577. msgid "Regular expressions and &glob; syntax"
  3578. msgstr ""
  3579. #. type: Content of: <refentry><refsect1><refsect2><para>
  3580. #: apt_preferences.5.xml:266
  3581. msgid ""
  3582. "APT also supports pinning by &glob; expressions, and regular expressions "
  3583. "surrounded by slashes. For example, the following example assigns the "
  3584. "priority 500 to all packages from experimental where the name starts with "
  3585. "gnome (as a &glob;-like expression) or contains the word kde (as a POSIX "
  3586. "extended regular expression surrounded by slashes)."
  3587. msgstr ""
  3588. #. type: Content of: <refentry><refsect1><refsect2><programlisting>
  3589. #: apt_preferences.5.xml:275
  3590. #, no-wrap
  3591. msgid ""
  3592. "Package: gnome* /kde/\n"
  3593. "Pin: release n=experimental\n"
  3594. "Pin-Priority: 500\n"
  3595. msgstr ""
  3596. #. type: Content of: <refentry><refsect1><refsect2><para>
  3597. #: apt_preferences.5.xml:281
  3598. msgid ""
  3599. "The rule for those expressions is that they can occur anywhere where a "
  3600. "string can occur. Thus, the following pin assigns the priority 990 to all "
  3601. "packages from a release starting with &ubuntu-codename;."
  3602. msgstr ""
  3603. #. type: Content of: <refentry><refsect1><refsect2><programlisting>
  3604. #: apt_preferences.5.xml:287
  3605. #, no-wrap
  3606. msgid ""
  3607. "Package: *\n"
  3608. "Pin: release n=&ubuntu-codename;*\n"
  3609. "Pin-Priority: 990\n"
  3610. msgstr ""
  3611. #. type: Content of: <refentry><refsect1><refsect2><para>
  3612. #: apt_preferences.5.xml:293
  3613. msgid ""
  3614. "If a regular expression occurs in a <literal>Package</literal> field, the "
  3615. "behavior is the same as if this regular expression were replaced with a list "
  3616. "of all package names it matches. It is undecided whether this will change in "
  3617. "the future; thus you should always list wild-card pins first, so later "
  3618. "specific pins override it. The pattern \"<literal>*</literal>\" in a "
  3619. "Package field is not considered a &glob; expression in itself."
  3620. msgstr ""
  3621. #. type: Content of: <refentry><refsect1><refsect2><title>
  3622. #: apt_preferences.5.xml:309
  3623. msgid "How APT Interprets Priorities"
  3624. msgstr ""
  3625. #. type: Content of: <refentry><refsect1><refsect2><para>
  3626. #: apt_preferences.5.xml:312
  3627. msgid ""
  3628. "Priorities (P) assigned in the APT preferences file must be positive or "
  3629. "negative integers. They are interpreted as follows (roughly speaking):"
  3630. msgstr ""
  3631. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
  3632. #: apt_preferences.5.xml:317
  3633. msgid "P &gt;= 1000"
  3634. msgstr ""
  3635. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
  3636. #: apt_preferences.5.xml:318
  3637. msgid ""
  3638. "causes a version to be installed even if this constitutes a downgrade of the "
  3639. "package"
  3640. msgstr ""
  3641. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
  3642. #: apt_preferences.5.xml:322
  3643. msgid "990 &lt;= P &lt; 1000"
  3644. msgstr ""
  3645. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
  3646. #: apt_preferences.5.xml:323
  3647. msgid ""
  3648. "causes a version to be installed even if it does not come from the target "
  3649. "release, unless the installed version is more recent"
  3650. msgstr ""
  3651. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
  3652. #: apt_preferences.5.xml:328
  3653. msgid "500 &lt;= P &lt; 990"
  3654. msgstr ""
  3655. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
  3656. #: apt_preferences.5.xml:329
  3657. msgid ""
  3658. "causes a version to be installed unless there is a version available "
  3659. "belonging to the target release or the installed version is more recent"
  3660. msgstr ""
  3661. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
  3662. #: apt_preferences.5.xml:334
  3663. msgid "100 &lt;= P &lt; 500"
  3664. msgstr ""
  3665. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
  3666. #: apt_preferences.5.xml:335
  3667. msgid ""
  3668. "causes a version to be installed unless there is a version available "
  3669. "belonging to some other distribution or the installed version is more recent"
  3670. msgstr ""
  3671. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
  3672. #: apt_preferences.5.xml:340
  3673. msgid "0 &lt; P &lt; 100"
  3674. msgstr ""
  3675. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
  3676. #: apt_preferences.5.xml:341
  3677. msgid ""
  3678. "causes a version to be installed only if there is no installed version of "
  3679. "the package"
  3680. msgstr ""
  3681. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
  3682. #: apt_preferences.5.xml:345
  3683. msgid "P &lt; 0"
  3684. msgstr ""
  3685. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
  3686. #: apt_preferences.5.xml:346
  3687. msgid "prevents the version from being installed"
  3688. msgstr ""
  3689. #. type: Content of: <refentry><refsect1><refsect2><para>
  3690. #: apt_preferences.5.xml:351
  3691. msgid ""
  3692. "If any specific-form records match an available package version then the "
  3693. "first such record determines the priority of the package version. Failing "
  3694. "that, if any general-form records match an available package version then "
  3695. "the first such record determines the priority of the package version."
  3696. msgstr ""
  3697. #. type: Content of: <refentry><refsect1><refsect2><para>
  3698. #: apt_preferences.5.xml:357
  3699. msgid ""
  3700. "For example, suppose the APT preferences file contains the three records "
  3701. "presented earlier:"
  3702. msgstr ""
  3703. #. type: Content of: <refentry><refsect1><refsect2><programlisting>
  3704. #: apt_preferences.5.xml:361
  3705. #, no-wrap
  3706. msgid ""
  3707. "Package: perl\n"
  3708. "Pin: version &good-perl;*\n"
  3709. "Pin-Priority: 1001\n"
  3710. "\n"
  3711. "Package: *\n"
  3712. "Pin: origin \"\"\n"
  3713. "Pin-Priority: 999\n"
  3714. "\n"
  3715. "Package: *\n"
  3716. "Pin: release unstable\n"
  3717. "Pin-Priority: 50\n"
  3718. msgstr ""
  3719. #. type: Content of: <refentry><refsect1><refsect2><para>
  3720. #: apt_preferences.5.xml:374
  3721. msgid "Then:"
  3722. msgstr ""
  3723. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
  3724. #: apt_preferences.5.xml:376
  3725. msgid ""
  3726. "The most recent available version of the <literal>perl</literal> package "
  3727. "will be installed, so long as that version's version number begins with "
  3728. "\"<literal>&good-perl;</literal>\". If <emphasis>any</emphasis> "
  3729. "&good-perl;* version of <literal>perl</literal> is available and the "
  3730. "installed version is &bad-perl;*, then <literal>perl</literal> will be "
  3731. "downgraded."
  3732. msgstr ""
  3733. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
  3734. #: apt_preferences.5.xml:381
  3735. msgid ""
  3736. "A version of any package other than <literal>perl</literal> that is "
  3737. "available from the local system has priority over other versions, even "
  3738. "versions belonging to the target release."
  3739. msgstr ""
  3740. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
  3741. #: apt_preferences.5.xml:385
  3742. msgid ""
  3743. "A version of a package whose origin is not the local system but some other "
  3744. "site listed in &sources-list; and which belongs to an "
  3745. "<literal>unstable</literal> distribution is only installed if it is selected "
  3746. "for installation and no version of the package is already installed."
  3747. msgstr ""
  3748. #. type: Content of: <refentry><refsect1><refsect2><title>
  3749. #: apt_preferences.5.xml:395
  3750. msgid "Determination of Package Version and Distribution Properties"
  3751. msgstr ""
  3752. #. type: Content of: <refentry><refsect1><refsect2><para>
  3753. #: apt_preferences.5.xml:397
  3754. msgid ""
  3755. "The locations listed in the &sources-list; file should provide "
  3756. "<filename>Packages</filename> and <filename>Release</filename> files to "
  3757. "describe the packages available at that location."
  3758. msgstr ""
  3759. #. type: Content of: <refentry><refsect1><refsect2><para>
  3760. #: apt_preferences.5.xml:401
  3761. msgid ""
  3762. "The <filename>Packages</filename> file is normally found in the directory "
  3763. "<filename>.../dists/<replaceable>dist-name</replaceable>/<replaceable>component</replaceable>/<replaceable>arch</replaceable></filename>: "
  3764. "for example, "
  3765. "<filename>.../dists/stable/main/binary-i386/Packages</filename>. It "
  3766. "consists of a series of multi-line records, one for each package available "
  3767. "in that directory. Only two lines in each record are relevant for setting "
  3768. "APT priorities:"
  3769. msgstr ""
  3770. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
  3771. #: apt_preferences.5.xml:409
  3772. msgid "the <literal>Package:</literal> line"
  3773. msgstr ""
  3774. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
  3775. #: apt_preferences.5.xml:410
  3776. msgid "gives the package name"
  3777. msgstr ""
  3778. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
  3779. #: apt_preferences.5.xml:413 apt_preferences.5.xml:463
  3780. msgid "the <literal>Version:</literal> line"
  3781. msgstr ""
  3782. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
  3783. #: apt_preferences.5.xml:414
  3784. msgid "gives the version number for the named package"
  3785. msgstr ""
  3786. #. type: Content of: <refentry><refsect1><refsect2><para>
  3787. #: apt_preferences.5.xml:419
  3788. msgid ""
  3789. "The <filename>Release</filename> file is normally found in the directory "
  3790. "<filename>.../dists/<replaceable>dist-name</replaceable></filename>: for "
  3791. "example, <filename>.../dists/stable/Release</filename>, or "
  3792. "<filename>.../dists/&stable-codename;/Release</filename>. It consists of a "
  3793. "single multi-line record which applies to <emphasis>all</emphasis> of the "
  3794. "packages in the directory tree below its parent. Unlike the "
  3795. "<filename>Packages</filename> file, nearly all of the lines in a "
  3796. "<filename>Release</filename> file are relevant for setting APT priorities:"
  3797. msgstr ""
  3798. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
  3799. #: apt_preferences.5.xml:430
  3800. msgid "the <literal>Archive:</literal> or <literal>Suite:</literal> line"
  3801. msgstr ""
  3802. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
  3803. #: apt_preferences.5.xml:431
  3804. msgid ""
  3805. "names the archive to which all the packages in the directory tree belong. "
  3806. "For example, the line \"Archive: stable\" or \"Suite: stable\" specifies "
  3807. "that all of the packages in the directory tree below the parent of the "
  3808. "<filename>Release</filename> file are in a <literal>stable</literal> "
  3809. "archive. Specifying this value in the APT preferences file would require "
  3810. "the line:"
  3811. msgstr ""
  3812. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
  3813. #: apt_preferences.5.xml:441
  3814. #, no-wrap
  3815. msgid "Pin: release a=stable\n"
  3816. msgstr ""
  3817. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
  3818. #: apt_preferences.5.xml:447
  3819. msgid "the <literal>Codename:</literal> line"
  3820. msgstr ""
  3821. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
  3822. #: apt_preferences.5.xml:448
  3823. msgid ""
  3824. "names the codename to which all the packages in the directory tree belong. "
  3825. "For example, the line \"Codename: &testing-codename;\" specifies that all of "
  3826. "the packages in the directory tree below the parent of the "
  3827. "<filename>Release</filename> file belong to a version named "
  3828. "<literal>&testing-codename;</literal>. Specifying this value in the APT "
  3829. "preferences file would require the line:"
  3830. msgstr ""
  3831. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
  3832. #: apt_preferences.5.xml:457
  3833. #, no-wrap
  3834. msgid "Pin: release n=&testing-codename;\n"
  3835. msgstr ""
  3836. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
  3837. #: apt_preferences.5.xml:464
  3838. msgid ""
  3839. "names the release version. For example, the packages in the tree might "
  3840. "belong to Debian release version &stable-version;. Note that there is "
  3841. "normally no version number for the <literal>testing</literal> and "
  3842. "<literal>unstable</literal> distributions because they have not been "
  3843. "released yet. Specifying this in the APT preferences file would require one "
  3844. "of the following lines."
  3845. msgstr ""
  3846. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
  3847. #: apt_preferences.5.xml:473
  3848. #, no-wrap
  3849. msgid ""
  3850. "Pin: release v=&stable-version;\n"
  3851. "Pin: release a=stable, v=&stable-version;\n"
  3852. "Pin: release &stable-version;\n"
  3853. msgstr ""
  3854. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
  3855. #: apt_preferences.5.xml:482
  3856. msgid "the <literal>Component:</literal> line"
  3857. msgstr ""
  3858. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
  3859. #: apt_preferences.5.xml:483
  3860. msgid ""
  3861. "names the licensing component associated with the packages in the directory "
  3862. "tree of the <filename>Release</filename> file. For example, the line "
  3863. "\"Component: main\" specifies that all the packages in the directory tree "
  3864. "are from the <literal>main</literal> component, which entails that they are "
  3865. "licensed under terms listed in the Debian Free Software Guidelines. "
  3866. "Specifying this component in the APT preferences file would require the "
  3867. "line:"
  3868. msgstr ""
  3869. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
  3870. #: apt_preferences.5.xml:492
  3871. #, no-wrap
  3872. msgid "Pin: release c=main\n"
  3873. msgstr ""
  3874. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
  3875. #: apt_preferences.5.xml:498
  3876. msgid "the <literal>Origin:</literal> line"
  3877. msgstr ""
  3878. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
  3879. #: apt_preferences.5.xml:499
  3880. msgid ""
  3881. "names the originator of the packages in the directory tree of the "
  3882. "<filename>Release</filename> file. Most commonly, this is "
  3883. "<literal>Debian</literal>. Specifying this origin in the APT preferences "
  3884. "file would require the line:"
  3885. msgstr ""
  3886. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
  3887. #: apt_preferences.5.xml:505
  3888. #, no-wrap
  3889. msgid "Pin: release o=Debian\n"
  3890. msgstr ""
  3891. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
  3892. #: apt_preferences.5.xml:511
  3893. msgid "the <literal>Label:</literal> line"
  3894. msgstr ""
  3895. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
  3896. #: apt_preferences.5.xml:512
  3897. msgid ""
  3898. "names the label of the packages in the directory tree of the "
  3899. "<filename>Release</filename> file. Most commonly, this is "
  3900. "<literal>Debian</literal>. Specifying this label in the APT preferences "
  3901. "file would require the line:"
  3902. msgstr ""
  3903. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
  3904. #: apt_preferences.5.xml:518
  3905. #, no-wrap
  3906. msgid "Pin: release l=Debian\n"
  3907. msgstr ""
  3908. #. type: Content of: <refentry><refsect1><refsect2><para>
  3909. #: apt_preferences.5.xml:525
  3910. msgid ""
  3911. "All of the <filename>Packages</filename> and <filename>Release</filename> "
  3912. "files retrieved from locations listed in the &sources-list; file are stored "
  3913. "in the directory <filename>/var/lib/apt/lists</filename>, or in the file "
  3914. "named by the variable <literal>Dir::State::Lists</literal> in the "
  3915. "<filename>apt.conf</filename> file. For example, the file "
  3916. "<filename>debian.lcs.mit.edu_debian_dists_unstable_contrib_binary-i386_Release</filename> "
  3917. "contains the <filename>Release</filename> file retrieved from the site "
  3918. "<literal>debian.lcs.mit.edu</literal> for <literal>binary-i386</literal> "
  3919. "architecture files from the <literal>contrib</literal> component of the "
  3920. "<literal>unstable</literal> distribution."
  3921. msgstr ""
  3922. #. type: Content of: <refentry><refsect1><refsect2><title>
  3923. #: apt_preferences.5.xml:538
  3924. msgid "Optional Lines in an APT Preferences Record"
  3925. msgstr ""
  3926. #. type: Content of: <refentry><refsect1><refsect2><para>
  3927. #: apt_preferences.5.xml:540
  3928. msgid ""
  3929. "Each record in the APT preferences file can optionally begin with one or "
  3930. "more lines beginning with the word <literal>Explanation:</literal>. This "
  3931. "provides a place for comments."
  3932. msgstr ""
  3933. #. type: Content of: <refentry><refsect1><refsect2><title>
  3934. #: apt_preferences.5.xml:549
  3935. msgid "Tracking Stable"
  3936. msgstr ""
  3937. #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
  3938. #: apt_preferences.5.xml:557
  3939. #, no-wrap
  3940. msgid ""
  3941. "Explanation: Uninstall or do not install any Debian-originated\n"
  3942. "Explanation: package versions other than those in the stable distro\n"
  3943. "Package: *\n"
  3944. "Pin: release a=stable\n"
  3945. "Pin-Priority: 900\n"
  3946. "\n"
  3947. "Package: *\n"
  3948. "Pin: release o=Debian\n"
  3949. "Pin-Priority: -10\n"
  3950. msgstr ""
  3951. #. type: Content of: <refentry><refsect1><refsect2><para>
  3952. #: apt_preferences.5.xml:551
  3953. msgid ""
  3954. "The following APT preferences file will cause APT to assign a priority "
  3955. "higher than the default (500) to all package versions belonging to a "
  3956. "<literal>stable</literal> distribution and a prohibitively low priority to "
  3957. "package versions belonging to other <literal>Debian</literal> "
  3958. "distributions. <placeholder type=\"programlisting\" id=\"0\"/>"
  3959. msgstr ""
  3960. #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
  3961. #: apt_preferences.5.xml:574 apt_preferences.5.xml:620 apt_preferences.5.xml:678
  3962. #, no-wrap
  3963. msgid ""
  3964. "apt-get install <replaceable>package-name</replaceable>\n"
  3965. "apt-get upgrade\n"
  3966. "apt-get dist-upgrade\n"
  3967. msgstr ""
  3968. #. type: Content of: <refentry><refsect1><refsect2><para>
  3969. #: apt_preferences.5.xml:569
  3970. msgid ""
  3971. "With a suitable &sources-list; file and the above preferences file, any of "
  3972. "the following commands will cause APT to upgrade to the latest "
  3973. "<literal>stable</literal> version(s). <placeholder type=\"programlisting\" "
  3974. "id=\"0\"/>"
  3975. msgstr ""
  3976. #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
  3977. #: apt_preferences.5.xml:586
  3978. #, no-wrap
  3979. msgid "apt-get install <replaceable>package</replaceable>/testing\n"
  3980. msgstr ""
  3981. #. type: Content of: <refentry><refsect1><refsect2><para>
  3982. #: apt_preferences.5.xml:580
  3983. msgid ""
  3984. "The following command will cause APT to upgrade the specified package to the "
  3985. "latest version from the <literal>testing</literal> distribution; the package "
  3986. "will not be upgraded again unless this command is given again. <placeholder "
  3987. "type=\"programlisting\" id=\"0\"/>"
  3988. msgstr ""
  3989. #. type: Content of: <refentry><refsect1><refsect2><title>
  3990. #: apt_preferences.5.xml:592
  3991. msgid "Tracking Testing or Unstable"
  3992. msgstr ""
  3993. #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
  3994. #: apt_preferences.5.xml:601
  3995. #, no-wrap
  3996. msgid ""
  3997. "Package: *\n"
  3998. "Pin: release a=testing\n"
  3999. "Pin-Priority: 900\n"
  4000. "\n"
  4001. "Package: *\n"
  4002. "Pin: release a=unstable\n"
  4003. "Pin-Priority: 800\n"
  4004. "\n"
  4005. "Package: *\n"
  4006. "Pin: release o=Debian\n"
  4007. "Pin-Priority: -10\n"
  4008. msgstr ""
  4009. #. type: Content of: <refentry><refsect1><refsect2><para>
  4010. #: apt_preferences.5.xml:594
  4011. msgid ""
  4012. "The following APT preferences file will cause APT to assign a high priority "
  4013. "to package versions from the <literal>testing</literal> distribution, a "
  4014. "lower priority to package versions from the <literal>unstable</literal> "
  4015. "distribution, and a prohibitively low priority to package versions from "
  4016. "other <literal>Debian</literal> distributions. <placeholder "
  4017. "type=\"programlisting\" id=\"0\"/>"
  4018. msgstr ""
  4019. #. type: Content of: <refentry><refsect1><refsect2><para>
  4020. #: apt_preferences.5.xml:615
  4021. msgid ""
  4022. "With a suitable &sources-list; file and the above preferences file, any of "
  4023. "the following commands will cause APT to upgrade to the latest "
  4024. "<literal>testing</literal> version(s). <placeholder type=\"programlisting\" "
  4025. "id=\"0\"/>"
  4026. msgstr ""
  4027. #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
  4028. #: apt_preferences.5.xml:635
  4029. #, no-wrap
  4030. msgid "apt-get install <replaceable>package</replaceable>/unstable\n"
  4031. msgstr ""
  4032. #. type: Content of: <refentry><refsect1><refsect2><para>
  4033. #: apt_preferences.5.xml:626
  4034. msgid ""
  4035. "The following command will cause APT to upgrade the specified package to the "
  4036. "latest version from the <literal>unstable</literal> distribution. "
  4037. "Thereafter, <command>apt-get upgrade</command> will upgrade the package to "
  4038. "the most recent <literal>testing</literal> version if that is more recent "
  4039. "than the installed version, otherwise, to the most recent "
  4040. "<literal>unstable</literal> version if that is more recent than the "
  4041. "installed version. <placeholder type=\"programlisting\" id=\"0\"/>"
  4042. msgstr ""
  4043. #. type: Content of: <refentry><refsect1><refsect2><title>
  4044. #: apt_preferences.5.xml:642
  4045. msgid "Tracking the evolution of a codename release"
  4046. msgstr ""
  4047. #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
  4048. #: apt_preferences.5.xml:656
  4049. #, no-wrap
  4050. msgid ""
  4051. "Explanation: Uninstall or do not install any Debian-originated package "
  4052. "versions\n"
  4053. "Explanation: other than those in the distribution codenamed with "
  4054. "&testing-codename; or sid\n"
  4055. "Package: *\n"
  4056. "Pin: release n=&testing-codename;\n"
  4057. "Pin-Priority: 900\n"
  4058. "\n"
  4059. "Explanation: Debian unstable is always codenamed with sid\n"
  4060. "Package: *\n"
  4061. "Pin: release n=sid\n"
  4062. "Pin-Priority: 800\n"
  4063. "\n"
  4064. "Package: *\n"
  4065. "Pin: release o=Debian\n"
  4066. "Pin-Priority: -10\n"
  4067. msgstr ""
  4068. #. type: Content of: <refentry><refsect1><refsect2><para>
  4069. #: apt_preferences.5.xml:644
  4070. msgid ""
  4071. "The following APT preferences file will cause APT to assign a priority "
  4072. "higher than the default (500) to all package versions belonging to a "
  4073. "specified codename of a distribution and a prohibitively low priority to "
  4074. "package versions belonging to other <literal>Debian</literal> distributions, "
  4075. "codenames and archives. Note that with this APT preference APT will follow "
  4076. "the migration of a release from the archive <literal>testing</literal> to "
  4077. "<literal>stable</literal> and later <literal>oldstable</literal>. If you "
  4078. "want to follow for example the progress in <literal>testing</literal> "
  4079. "notwithstanding the codename changes you should use the example "
  4080. "configurations above. <placeholder type=\"programlisting\" id=\"0\"/>"
  4081. msgstr ""
  4082. #. type: Content of: <refentry><refsect1><refsect2><para>
  4083. #: apt_preferences.5.xml:673
  4084. msgid ""
  4085. "With a suitable &sources-list; file and the above preferences file, any of "
  4086. "the following commands will cause APT to upgrade to the latest version(s) in "
  4087. "the release codenamed with <literal>&testing-codename;</literal>. "
  4088. "<placeholder type=\"programlisting\" id=\"0\"/>"
  4089. msgstr ""
  4090. #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
  4091. #: apt_preferences.5.xml:693
  4092. #, no-wrap
  4093. msgid "apt-get install <replaceable>package</replaceable>/sid\n"
  4094. msgstr ""
  4095. #. type: Content of: <refentry><refsect1><refsect2><para>
  4096. #: apt_preferences.5.xml:684
  4097. msgid ""
  4098. "The following command will cause APT to upgrade the specified package to the "
  4099. "latest version from the <literal>sid</literal> distribution. Thereafter, "
  4100. "<command>apt-get upgrade</command> will upgrade the package to the most "
  4101. "recent <literal>&testing-codename;</literal> version if that is more recent "
  4102. "than the installed version, otherwise, to the most recent "
  4103. "<literal>sid</literal> version if that is more recent than the installed "
  4104. "version. <placeholder type=\"programlisting\" id=\"0\"/>"
  4105. msgstr ""
  4106. #. type: Content of: <refentry><refsect1><para>
  4107. #: apt_preferences.5.xml:708
  4108. msgid "&apt-get; &apt-cache; &apt-conf; &sources-list;"
  4109. msgstr ""
  4110. #. type: Content of: <refentry><refnamediv><refpurpose>
  4111. #: sources.list.5.xml:35
  4112. msgid "List of configured APT data sources"
  4113. msgstr ""
  4114. #. type: Content of: <refentry><refsect1><para>
  4115. #: sources.list.5.xml:40
  4116. msgid ""
  4117. "The source list <filename>/etc/apt/sources.list</filename> is designed to "
  4118. "support any number of active sources and a variety of source media. The file "
  4119. "lists one source per line, with the most preferred source listed first. The "
  4120. "information available from the configured sources is acquired by "
  4121. "<command>apt-get update</command> (or by an equivalent command from another "
  4122. "APT front-end)."
  4123. msgstr ""
  4124. #. type: Content of: <refentry><refsect1><para>
  4125. #: sources.list.5.xml:47
  4126. msgid ""
  4127. "Each line specifying a source starts with type "
  4128. "(e.g. <literal>deb-src</literal>) followed by options and arguments for "
  4129. "this type. Individual entries cannot be continued onto a following "
  4130. "line. Empty lines are ignored, and a <literal>#</literal> character anywhere "
  4131. "on a line marks the remainder of that line as a comment."
  4132. msgstr ""
  4133. #. type: Content of: <refentry><refsect1><title>
  4134. #: sources.list.5.xml:55
  4135. msgid "sources.list.d"
  4136. msgstr ""
  4137. #. type: Content of: <refentry><refsect1><para>
  4138. #: sources.list.5.xml:56
  4139. msgid ""
  4140. "The <filename>/etc/apt/sources.list.d</filename> directory provides a way to "
  4141. "add sources.list entries in separate files. The format is the same as for "
  4142. "the regular <filename>sources.list</filename> file. File names need to end "
  4143. "with <filename>.list</filename> and may only contain letters (a-z and A-Z), "
  4144. "digits (0-9), underscore (_), hyphen (-) and period (.) characters. "
  4145. "Otherwise APT will print a notice that it has ignored a file, unless that "
  4146. "file matches a pattern in the <literal>Dir::Ignore-Files-Silently</literal> "
  4147. "configuration list - in which case it will be silently ignored."
  4148. msgstr ""
  4149. #. type: Content of: <refentry><refsect1><title>
  4150. #: sources.list.5.xml:67
  4151. msgid "The deb and deb-src types"
  4152. msgstr ""
  4153. #. type: Content of: <refentry><refsect1><para>
  4154. #: sources.list.5.xml:68
  4155. msgid ""
  4156. "The <literal>deb</literal> type references a typical two-level Debian "
  4157. "archive, <filename>distribution/component</filename>. The "
  4158. "<literal>distribution</literal> is generally an archive name like "
  4159. "<literal>stable</literal> or <literal>testing</literal> or a codename like "
  4160. "<literal>&stable-codename;</literal> or "
  4161. "<literal>&testing-codename;</literal> while component is one of "
  4162. "<literal>main</literal>, <literal>contrib</literal> or "
  4163. "<literal>non-free</literal>. The <literal>deb-src</literal> type references "
  4164. "a Debian distribution's source code in the same form as the "
  4165. "<literal>deb</literal> type. A <literal>deb-src</literal> line is required "
  4166. "to fetch source indexes."
  4167. msgstr ""
  4168. #. type: Content of: <refentry><refsect1><para>
  4169. #: sources.list.5.xml:80
  4170. msgid ""
  4171. "The format for a <filename>sources.list</filename> entry using the "
  4172. "<literal>deb</literal> and <literal>deb-src</literal> types is:"
  4173. msgstr ""
  4174. #. type: Content of: <refentry><refsect1><literallayout>
  4175. #: sources.list.5.xml:83
  4176. #, no-wrap
  4177. msgid "deb [ options ] uri distribution [component1] [component2] [...]"
  4178. msgstr ""
  4179. #. type: Content of: <refentry><refsect1><para>
  4180. #: sources.list.5.xml:85
  4181. msgid ""
  4182. "The URI for the <literal>deb</literal> type must specify the base of the "
  4183. "Debian distribution, from which APT will find the information it needs. "
  4184. "<literal>distribution</literal> can specify an exact path, in which case the "
  4185. "components must be omitted and <literal>distribution</literal> must end with "
  4186. "a slash (<literal>/</literal>). This is useful for the case when only a "
  4187. "particular sub-section of the archive denoted by the URI is of interest. If "
  4188. "<literal>distribution</literal> does not specify an exact path, at least one "
  4189. "<literal>component</literal> must be present."
  4190. msgstr ""
  4191. #. type: Content of: <refentry><refsect1><para>
  4192. #: sources.list.5.xml:94
  4193. msgid ""
  4194. "<literal>distribution</literal> may also contain a variable, "
  4195. "<literal>$(ARCH)</literal> which expands to the Debian architecture (such as "
  4196. "<literal>amd64</literal> or <literal>armel</literal>) used on the "
  4197. "system. This permits architecture-independent "
  4198. "<filename>sources.list</filename> files to be used. In general this is only "
  4199. "of interest when specifying an exact path, <literal>APT</literal> will "
  4200. "automatically generate a URI with the current architecture otherwise."
  4201. msgstr ""
  4202. #. type: Content of: <refentry><refsect1><para>
  4203. #: sources.list.5.xml:102
  4204. msgid ""
  4205. "Since only one distribution can be specified per line it may be necessary to "
  4206. "have multiple lines for the same URI, if a subset of all available "
  4207. "distributions or components at that location is desired. APT will sort the "
  4208. "URI list after it has generated a complete set internally, and will collapse "
  4209. "multiple references to the same Internet host, for instance, into a single "
  4210. "connection, so that it does not inefficiently establish an FTP connection, "
  4211. "close it, do something else, and then re-establish a connection to that same "
  4212. "host. This feature is useful for accessing busy FTP sites with limits on the "
  4213. "number of simultaneous anonymous users. APT also parallelizes connections to "
  4214. "different hosts to more effectively deal with sites with low bandwidth."
  4215. msgstr ""
  4216. #. type: Content of: <refentry><refsect1><para>
  4217. #: sources.list.5.xml:114
  4218. msgid ""
  4219. "<literal>options</literal> is always optional and needs to be surrounded by "
  4220. "square brackets. It can consist of multiple settings in the form "
  4221. "<literal><replaceable>setting</replaceable>=<replaceable>value</replaceable></literal>. "
  4222. "Multiple settings are separated by spaces. The following settings are "
  4223. "supported by APT (note however that unsupported settings will be ignored "
  4224. "silently):"
  4225. msgstr ""
  4226. #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
  4227. #: sources.list.5.xml:120
  4228. msgid ""
  4229. "<literal>arch=<replaceable>arch1</replaceable>,<replaceable>arch2</replaceable>,…</literal> "
  4230. "can be used to specify for which architectures information should be "
  4231. "downloaded. If this option is not set all architectures defined by the "
  4232. "<literal>APT::Architectures</literal> option will be downloaded."
  4233. msgstr ""
  4234. #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
  4235. #: sources.list.5.xml:124
  4236. msgid ""
  4237. "<literal>arch+=<replaceable>arch1</replaceable>,<replaceable>arch2</replaceable>,…</literal> "
  4238. "and "
  4239. "<literal>arch-=<replaceable>arch1</replaceable>,<replaceable>arch2</replaceable>,…</literal> "
  4240. "which can be used to add/remove architectures from the set which will be "
  4241. "downloaded."
  4242. msgstr ""
  4243. #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
  4244. #: sources.list.5.xml:127
  4245. msgid ""
  4246. "<literal>trusted=yes</literal> can be set to indicate that packages from "
  4247. "this source are always authenticated even if the "
  4248. "<filename>Release</filename> file is not signed or the signature can't be "
  4249. "checked. This disables parts of &apt-secure; and should therefore only be "
  4250. "used in a local and trusted context. <literal>trusted=no</literal> is the "
  4251. "opposite which handles even correctly authenticated sources as not "
  4252. "authenticated."
  4253. msgstr ""
  4254. #. type: Content of: <refentry><refsect1><para>
  4255. #: sources.list.5.xml:134
  4256. msgid ""
  4257. "It is important to list sources in order of preference, with the most "
  4258. "preferred source listed first. Typically this will result in sorting by "
  4259. "speed from fastest to slowest (CD-ROM followed by hosts on a local network, "
  4260. "followed by distant Internet hosts, for example)."
  4261. msgstr ""
  4262. #. type: Content of: <refentry><refsect1><para>
  4263. #: sources.list.5.xml:139
  4264. msgid "Some examples:"
  4265. msgstr ""
  4266. #. type: Content of: <refentry><refsect1><literallayout>
  4267. #: sources.list.5.xml:141
  4268. #, no-wrap
  4269. msgid ""
  4270. "deb http://ftp.debian.org/debian &stable-codename; main contrib non-free\n"
  4271. "deb http://security.debian.org/ &stable-codename;/updates main contrib "
  4272. "non-free\n"
  4273. " "
  4274. msgstr ""
  4275. #. type: Content of: <refentry><refsect1><title>
  4276. #: sources.list.5.xml:147
  4277. msgid "URI specification"
  4278. msgstr ""
  4279. #. type: Content of: <refentry><refsect1><para>
  4280. #: sources.list.5.xml:149
  4281. msgid "The currently recognized URI types are:"
  4282. msgstr ""
  4283. #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
  4284. #: sources.list.5.xml:153
  4285. msgid ""
  4286. "The file scheme allows an arbitrary directory in the file system to be "
  4287. "considered an archive. This is useful for NFS mounts and local mirrors or "
  4288. "archives."
  4289. msgstr ""
  4290. #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
  4291. #: sources.list.5.xml:160
  4292. msgid ""
  4293. "The cdrom scheme allows APT to use a local CD-ROM drive with media "
  4294. "swapping. Use the &apt-cdrom; program to create cdrom entries in the source "
  4295. "list."
  4296. msgstr ""
  4297. #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
  4298. #: sources.list.5.xml:167
  4299. msgid ""
  4300. "The http scheme specifies an HTTP server for the archive. If an environment "
  4301. "variable <envar>http_proxy</envar> is set with the format "
  4302. "http://server:port/, the proxy server specified in <envar>http_proxy</envar> "
  4303. "will be used. Users of authenticated HTTP/1.1 proxies may use a string of "
  4304. "the format http://user:pass@server:port/. Note that this is an insecure "
  4305. "method of authentication."
  4306. msgstr ""
  4307. #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
  4308. #: sources.list.5.xml:178
  4309. msgid ""
  4310. "The ftp scheme specifies an FTP server for the archive. APT's FTP behavior "
  4311. "is highly configurable; for more information see the &apt-conf; manual "
  4312. "page. Please note that an FTP proxy can be specified by using the "
  4313. "<envar>ftp_proxy</envar> environment variable. It is possible to specify an "
  4314. "HTTP proxy (HTTP proxy servers often understand FTP URLs) using this "
  4315. "environment variable and <emphasis>only</emphasis> this environment "
  4316. "variable. Proxies using HTTP specified in the configuration file will be "
  4317. "ignored."
  4318. msgstr ""
  4319. #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
  4320. #: sources.list.5.xml:190
  4321. msgid ""
  4322. "The copy scheme is identical to the file scheme except that packages are "
  4323. "copied into the cache directory instead of used directly at their location. "
  4324. "This is useful for people using removable media to copy files around with "
  4325. "APT."
  4326. msgstr ""
  4327. #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
  4328. #: sources.list.5.xml:197
  4329. msgid ""
  4330. "The rsh/ssh method invokes RSH/SSH to connect to a remote host and access "
  4331. "the files as a given user. Prior configuration of rhosts or RSA keys is "
  4332. "recommended. The standard <command>find</command> and <command>dd</command> "
  4333. "commands are used to perform the file transfers from the remote host."
  4334. msgstr ""
  4335. #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
  4336. #: sources.list.5.xml:204
  4337. msgid "adding more recognizable URI types"
  4338. msgstr ""
  4339. #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
  4340. #: sources.list.5.xml:206
  4341. msgid ""
  4342. "APT can be extended with more methods shipped in other optional packages, "
  4343. "which should follow the naming scheme "
  4344. "<package>apt-transport-<replaceable>method</replaceable></package>. For "
  4345. "instance, the APT team also maintains the package "
  4346. "<package>apt-transport-https</package>, which provides access methods for "
  4347. "HTTPS URIs with features similar to the http method. Methods for using "
  4348. "e.g. debtorrent are also available - see &apt-transport-debtorrent;."
  4349. msgstr ""
  4350. #. type: Content of: <refentry><refsect1><para>
  4351. #: sources.list.5.xml:218
  4352. msgid ""
  4353. "Uses the archive stored locally (or NFS mounted) at /home/jason/debian for "
  4354. "stable/main, stable/contrib, and stable/non-free."
  4355. msgstr ""
  4356. #. type: Content of: <refentry><refsect1><literallayout>
  4357. #: sources.list.5.xml:220
  4358. #, no-wrap
  4359. msgid "deb file:/home/jason/debian stable main contrib non-free"
  4360. msgstr ""
  4361. #. type: Content of: <refentry><refsect1><para>
  4362. #: sources.list.5.xml:222
  4363. msgid "As above, except this uses the unstable (development) distribution."
  4364. msgstr ""
  4365. #. type: Content of: <refentry><refsect1><literallayout>
  4366. #: sources.list.5.xml:223
  4367. #, no-wrap
  4368. msgid "deb file:/home/jason/debian unstable main contrib non-free"
  4369. msgstr ""
  4370. #. type: Content of: <refentry><refsect1><para>
  4371. #: sources.list.5.xml:225
  4372. msgid "Source line for the above"
  4373. msgstr ""
  4374. #. type: Content of: <refentry><refsect1><literallayout>
  4375. #: sources.list.5.xml:226
  4376. #, no-wrap
  4377. msgid "deb-src file:/home/jason/debian unstable main contrib non-free"
  4378. msgstr ""
  4379. #. type: Content of: <refentry><refsect1><para>
  4380. #: sources.list.5.xml:228
  4381. msgid ""
  4382. "The first line gets package information for the architectures in "
  4383. "<literal>APT::Architectures</literal> while the second always retrieves "
  4384. "<literal>amd64</literal> and <literal>armel</literal>."
  4385. msgstr ""
  4386. #. type: Content of: <refentry><refsect1><literallayout>
  4387. #: sources.list.5.xml:230
  4388. #, no-wrap
  4389. msgid ""
  4390. "deb http://ftp.debian.org/debian &stable-codename; main\n"
  4391. "deb [ arch=amd64,armel ] http://ftp.debian.org/debian &stable-codename; main"
  4392. msgstr ""
  4393. #. type: Content of: <refentry><refsect1><para>
  4394. #: sources.list.5.xml:233
  4395. msgid ""
  4396. "Uses HTTP to access the archive at archive.debian.org, and uses only the "
  4397. "hamm/main area."
  4398. msgstr ""
  4399. #. type: Content of: <refentry><refsect1><literallayout>
  4400. #: sources.list.5.xml:235
  4401. #, no-wrap
  4402. msgid "deb http://archive.debian.org/debian-archive hamm main"
  4403. msgstr ""
  4404. #. type: Content of: <refentry><refsect1><para>
  4405. #: sources.list.5.xml:237
  4406. msgid ""
  4407. "Uses FTP to access the archive at ftp.debian.org, under the debian "
  4408. "directory, and uses only the &stable-codename;/contrib area."
  4409. msgstr ""
  4410. #. type: Content of: <refentry><refsect1><literallayout>
  4411. #: sources.list.5.xml:239
  4412. #, no-wrap
  4413. msgid "deb ftp://ftp.debian.org/debian &stable-codename; contrib"
  4414. msgstr ""
  4415. #. type: Content of: <refentry><refsect1><para>
  4416. #: sources.list.5.xml:241
  4417. msgid ""
  4418. "Uses FTP to access the archive at ftp.debian.org, under the debian "
  4419. "directory, and uses only the unstable/contrib area. If this line appears as "
  4420. "well as the one in the previous example in <filename>sources.list</filename> "
  4421. "a single FTP session will be used for both resource lines."
  4422. msgstr ""
  4423. #. type: Content of: <refentry><refsect1><literallayout>
  4424. #: sources.list.5.xml:245
  4425. #, no-wrap
  4426. msgid "deb ftp://ftp.debian.org/debian unstable contrib"
  4427. msgstr ""
  4428. #. type: Content of: <refentry><refsect1><para><literallayout>
  4429. #: sources.list.5.xml:254
  4430. #, no-wrap
  4431. msgid "deb http://ftp.tlh.debian.org/universe unstable/binary-$(ARCH)/"
  4432. msgstr ""
  4433. #. type: Content of: <refentry><refsect1><para>
  4434. #: sources.list.5.xml:247
  4435. msgid ""
  4436. "Uses HTTP to access the archive at ftp.tlh.debian.org, under the universe "
  4437. "directory, and uses only files found under "
  4438. "<filename>unstable/binary-i386</filename> on i386 machines, "
  4439. "<filename>unstable/binary-amd64</filename> on amd64, and so forth for other "
  4440. "supported architectures. [Note this example only illustrates how to use the "
  4441. "substitution variable; official debian archives are not structured like "
  4442. "this] <placeholder type=\"literallayout\" id=\"0\"/>"
  4443. msgstr ""
  4444. #. type: Content of: <refentry><refsect1><para>
  4445. #: sources.list.5.xml:259
  4446. msgid "&apt-cache; &apt-conf;"
  4447. msgstr ""
  4448. #. type: Content of: <refentry><refmeta><manvolnum>
  4449. #: apt-extracttemplates.1.xml:28 apt-sortpkgs.1.xml:28 apt-ftparchive.1.xml:28
  4450. msgid "1"
  4451. msgstr ""
  4452. #. type: Content of: <refentry><refnamediv><refpurpose>
  4453. #: apt-extracttemplates.1.xml:35
  4454. msgid ""
  4455. "Utility to extract <command>debconf</command> config and templates from "
  4456. "Debian packages"
  4457. msgstr ""
  4458. #. type: Content of: <refentry><refsect1><para>
  4459. #: apt-extracttemplates.1.xml:41
  4460. msgid ""
  4461. "<command>apt-extracttemplates</command> will take one or more Debian package "
  4462. "files as input and write out (to a temporary directory) all associated "
  4463. "config scripts and template files. For each passed in package that contains "
  4464. "config scripts and templates, one line of output will be generated in the "
  4465. "format:"
  4466. msgstr ""
  4467. #. type: Content of: <refentry><refsect1><para>
  4468. #: apt-extracttemplates.1.xml:46
  4469. msgid "package version template-file config-script"
  4470. msgstr ""
  4471. #. type: Content of: <refentry><refsect1><para>
  4472. #: apt-extracttemplates.1.xml:47
  4473. msgid ""
  4474. "template-file and config-script are written to the temporary directory "
  4475. "specified by the <option>-t</option> or <option>--tempdir</option> "
  4476. "(<literal>APT::ExtractTemplates::TempDir</literal>) directory, with "
  4477. "filenames of the form <filename>package.template.XXXX</filename> and "
  4478. "<filename>package.config.XXXX</filename>"
  4479. msgstr ""
  4480. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  4481. #: apt-extracttemplates.1.xml:60
  4482. msgid ""
  4483. "Temporary directory in which to write extracted <command>debconf</command> "
  4484. "template files and config scripts. Configuration Item: "
  4485. "<literal>APT::ExtractTemplates::TempDir</literal>"
  4486. msgstr ""
  4487. #. type: Content of: <refentry><refsect1><para>
  4488. #: apt-extracttemplates.1.xml:77
  4489. msgid ""
  4490. "<command>apt-extracttemplates</command> returns zero on normal operation, "
  4491. "decimal 100 on error."
  4492. msgstr ""
  4493. #. type: Content of: <refentry><refnamediv><refpurpose>
  4494. #: apt-sortpkgs.1.xml:35
  4495. msgid "Utility to sort package index files"
  4496. msgstr ""
  4497. #. type: Content of: <refentry><refsect1><para>
  4498. #: apt-sortpkgs.1.xml:41
  4499. msgid ""
  4500. "<command>apt-sortpkgs</command> will take an index file (source index or "
  4501. "package index) and sort the records so that they are ordered by the package "
  4502. "name. It will also sort the internal fields of each record according to the "
  4503. "internal sorting rules."
  4504. msgstr ""
  4505. #. type: Content of: <refentry><refsect1><para>
  4506. #: apt-sortpkgs.1.xml:47
  4507. msgid "All output is sent to standard output; the input must be a seekable file."
  4508. msgstr ""
  4509. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  4510. #: apt-sortpkgs.1.xml:56
  4511. msgid ""
  4512. "Use source index field ordering. Configuration Item: "
  4513. "<literal>APT::SortPkgs::Source</literal>."
  4514. msgstr ""
  4515. #. type: Content of: <refentry><refsect1><para>
  4516. #: apt-sortpkgs.1.xml:70
  4517. msgid ""
  4518. "<command>apt-sortpkgs</command> returns zero on normal operation, decimal "
  4519. "100 on error."
  4520. msgstr ""
  4521. #. type: Content of: <refentry><refnamediv><refpurpose>
  4522. #: apt-ftparchive.1.xml:35
  4523. msgid "Utility to generate index files"
  4524. msgstr ""
  4525. #. type: Content of: <refentry><refsect1><para>
  4526. #: apt-ftparchive.1.xml:41
  4527. msgid ""
  4528. "<command>apt-ftparchive</command> is the command line tool that generates "
  4529. "the index files that APT uses to access a distribution source. The index "
  4530. "files should be generated on the origin site based on the content of that "
  4531. "site."
  4532. msgstr ""
  4533. #. type: Content of: <refentry><refsect1><para>
  4534. #: apt-ftparchive.1.xml:45
  4535. msgid ""
  4536. "<command>apt-ftparchive</command> is a superset of the &dpkg-scanpackages; "
  4537. "program, incorporating its entire functionality via the "
  4538. "<literal>packages</literal> command. It also contains a contents file "
  4539. "generator, <literal>contents</literal>, and an elaborate means to 'script' "
  4540. "the generation process for a complete archive."
  4541. msgstr ""
  4542. #. type: Content of: <refentry><refsect1><para>
  4543. #: apt-ftparchive.1.xml:51
  4544. msgid ""
  4545. "Internally <command>apt-ftparchive</command> can make use of binary "
  4546. "databases to cache the contents of a .deb file and it does not rely on any "
  4547. "external programs aside from &gzip;. When doing a full generate it "
  4548. "automatically performs file-change checks and builds the desired compressed "
  4549. "output files."
  4550. msgstr ""
  4551. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  4552. #: apt-ftparchive.1.xml:62
  4553. msgid ""
  4554. "The packages command generates a package file from a directory tree. It "
  4555. "takes the given directory and recursively searches it for .deb files, "
  4556. "emitting a package record to stdout for each. This command is approximately "
  4557. "equivalent to &dpkg-scanpackages;."
  4558. msgstr ""
  4559. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  4560. #: apt-ftparchive.1.xml:67 apt-ftparchive.1.xml:91
  4561. msgid "The option <option>--db</option> can be used to specify a binary caching DB."
  4562. msgstr ""
  4563. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  4564. #: apt-ftparchive.1.xml:72
  4565. msgid ""
  4566. "The <literal>sources</literal> command generates a source index file from a "
  4567. "directory tree. It takes the given directory and recursively searches it "
  4568. "for .dsc files, emitting a source record to stdout for each. This command is "
  4569. "approximately equivalent to &dpkg-scansources;."
  4570. msgstr ""
  4571. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  4572. #: apt-ftparchive.1.xml:77
  4573. msgid ""
  4574. "If an override file is specified then a source override file will be looked "
  4575. "for with an extension of .src. The --source-override option can be used to "
  4576. "change the source override file that will be used."
  4577. msgstr ""
  4578. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  4579. #: apt-ftparchive.1.xml:84
  4580. msgid ""
  4581. "The <literal>contents</literal> command generates a contents file from a "
  4582. "directory tree. It takes the given directory and recursively searches it for "
  4583. ".deb files, and reads the file list from each file. It then sorts and writes "
  4584. "to stdout the list of files matched to packages. Directories are not written "
  4585. "to the output. If multiple packages own the same file then each package is "
  4586. "separated by a comma in the output."
  4587. msgstr ""
  4588. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  4589. #: apt-ftparchive.1.xml:96
  4590. msgid ""
  4591. "The <literal>release</literal> command generates a Release file from a "
  4592. "directory tree. It recursively searches the given directory for uncompressed "
  4593. "<filename>Packages</filename> and <filename>Sources</filename> files and "
  4594. "ones compressed with <command>gzip</command>, <command>bzip2</command> or "
  4595. "<command>lzma</command> as well as <filename>Release</filename> and "
  4596. "<filename>md5sum.txt</filename> files by default "
  4597. "(<literal>APT::FTPArchive::Release::Default-Patterns</literal>). Additional "
  4598. "filename patterns can be added by listing them in "
  4599. "<literal>APT::FTPArchive::Release::Patterns</literal>. It then writes to "
  4600. "stdout a <filename>Release</filename> file containing an MD5, SHA1 and "
  4601. "SHA256 digest for each file."
  4602. msgstr ""
  4603. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  4604. #: apt-ftparchive.1.xml:106
  4605. msgid ""
  4606. "Values for the additional metadata fields in the Release file are taken from "
  4607. "the corresponding variables under "
  4608. "<literal>APT::FTPArchive::Release</literal>, "
  4609. "e.g. <literal>APT::FTPArchive::Release::Origin</literal>. The supported "
  4610. "fields are: <literal>Origin</literal>, <literal>Label</literal>, "
  4611. "<literal>Suite</literal>, <literal>Version</literal>, "
  4612. "<literal>Codename</literal>, <literal>Date</literal>, "
  4613. "<literal>Valid-Until</literal>, <literal>Architectures</literal>, "
  4614. "<literal>Components</literal>, <literal>Description</literal>."
  4615. msgstr ""
  4616. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  4617. #: apt-ftparchive.1.xml:119
  4618. msgid ""
  4619. "The <literal>generate</literal> command is designed to be runnable from a "
  4620. "cron script and builds indexes according to the given config file. The "
  4621. "config language provides a flexible means of specifying which index files "
  4622. "are built from which directories, as well as providing a simple means of "
  4623. "maintaining the required settings."
  4624. msgstr ""
  4625. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  4626. #: apt-ftparchive.1.xml:128
  4627. msgid ""
  4628. "The <literal>clean</literal> command tidies the databases used by the given "
  4629. "configuration file by removing any records that are no longer necessary."
  4630. msgstr ""
  4631. #. type: Content of: <refentry><refsect1><title>
  4632. #: apt-ftparchive.1.xml:134
  4633. msgid "The Generate Configuration"
  4634. msgstr ""
  4635. #. type: Content of: <refentry><refsect1><para>
  4636. #: apt-ftparchive.1.xml:136
  4637. msgid ""
  4638. "The <literal>generate</literal> command uses a configuration file to "
  4639. "describe the archives that are going to be generated. It follows the typical "
  4640. "ISC configuration format as seen in ISC tools like bind 8 and dhcpd. "
  4641. "&apt-conf; contains a description of the syntax. Note that the generate "
  4642. "configuration is parsed in sectional manner, but &apt-conf; is parsed in a "
  4643. "tree manner. This only effects how the scope tag is handled."
  4644. msgstr ""
  4645. #. type: Content of: <refentry><refsect1><para>
  4646. #: apt-ftparchive.1.xml:144
  4647. msgid "The generate configuration has four separate sections, each described below."
  4648. msgstr ""
  4649. #. type: Content of: <refentry><refsect1><refsect2><title>
  4650. #: apt-ftparchive.1.xml:146
  4651. msgid "<literal>Dir</literal> Section"
  4652. msgstr ""
  4653. #. type: Content of: <refentry><refsect1><refsect2><para>
  4654. #: apt-ftparchive.1.xml:148
  4655. msgid ""
  4656. "The <literal>Dir</literal> section defines the standard directories needed "
  4657. "to locate the files required during the generation process. These "
  4658. "directories are prepended certain relative paths defined in later sections "
  4659. "to produce a complete an absolute path."
  4660. msgstr ""
  4661. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  4662. #: apt-ftparchive.1.xml:155
  4663. msgid ""
  4664. "Specifies the root of the FTP archive, in a standard Debian configuration "
  4665. "this is the directory that contains the <filename>ls-LR</filename> and dist "
  4666. "nodes."
  4667. msgstr ""
  4668. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  4669. #: apt-ftparchive.1.xml:162
  4670. msgid "Specifies the location of the override files."
  4671. msgstr ""
  4672. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  4673. #: apt-ftparchive.1.xml:167
  4674. msgid "Specifies the location of the cache files."
  4675. msgstr ""
  4676. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  4677. #: apt-ftparchive.1.xml:172
  4678. msgid ""
  4679. "Specifies the location of the file list files, if the "
  4680. "<literal>FileList</literal> setting is used below."
  4681. msgstr ""
  4682. #. type: Content of: <refentry><refsect1><refsect2><title>
  4683. #: apt-ftparchive.1.xml:178
  4684. msgid "<literal>Default</literal> Section"
  4685. msgstr ""
  4686. #. type: Content of: <refentry><refsect1><refsect2><para>
  4687. #: apt-ftparchive.1.xml:180
  4688. msgid ""
  4689. "The <literal>Default</literal> section specifies default values, and "
  4690. "settings that control the operation of the generator. Other sections may "
  4691. "override these defaults with a per-section setting."
  4692. msgstr ""
  4693. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  4694. #: apt-ftparchive.1.xml:186
  4695. msgid ""
  4696. "Sets the default compression schemes to use for the package index files. It "
  4697. "is a string that contains a space separated list of at least one of: '.' (no "
  4698. "compression), 'gzip' and 'bzip2'. The default for all compression schemes is "
  4699. "'. gzip'."
  4700. msgstr ""
  4701. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  4702. #: apt-ftparchive.1.xml:194
  4703. msgid ""
  4704. "Sets the default list of file extensions that are package files. This "
  4705. "defaults to '.deb'."
  4706. msgstr ""
  4707. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  4708. #: apt-ftparchive.1.xml:200
  4709. msgid ""
  4710. "This is similar to <literal>Packages::Compress</literal> except that it "
  4711. "controls the compression for the Sources files."
  4712. msgstr ""
  4713. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  4714. #: apt-ftparchive.1.xml:206
  4715. msgid ""
  4716. "Sets the default list of file extensions that are source files. This "
  4717. "defaults to '.dsc'."
  4718. msgstr ""
  4719. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  4720. #: apt-ftparchive.1.xml:212
  4721. msgid ""
  4722. "This is similar to <literal>Packages::Compress</literal> except that it "
  4723. "controls the compression for the Contents files."
  4724. msgstr ""
  4725. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  4726. #: apt-ftparchive.1.xml:218
  4727. msgid ""
  4728. "This is similar to <literal>Packages::Compress</literal> except that it "
  4729. "controls the compression for the Translation-en master file."
  4730. msgstr ""
  4731. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  4732. #: apt-ftparchive.1.xml:224
  4733. msgid ""
  4734. "Specifies the number of kilobytes to delink (and replace with hard links) "
  4735. "per run. This is used in conjunction with the per-section "
  4736. "<literal>External-Links</literal> setting."
  4737. msgstr ""
  4738. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  4739. #: apt-ftparchive.1.xml:231
  4740. msgid ""
  4741. "Specifies the mode of all created index files. It defaults to 0644. All "
  4742. "index files are set to this mode with no regard to the umask."
  4743. msgstr ""
  4744. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  4745. #: apt-ftparchive.1.xml:238 apt-ftparchive.1.xml:384
  4746. msgid ""
  4747. "Specifies whether long descriptions should be included in the "
  4748. "<filename>Packages</filename> file or split out into a master "
  4749. "<filename>Translation-en</filename> file."
  4750. msgstr ""
  4751. #. type: Content of: <refentry><refsect1><refsect2><title>
  4752. #: apt-ftparchive.1.xml:244
  4753. msgid "<literal>TreeDefault</literal> Section"
  4754. msgstr ""
  4755. #. type: Content of: <refentry><refsect1><refsect2><para>
  4756. #: apt-ftparchive.1.xml:246
  4757. msgid ""
  4758. "Sets defaults specific to <literal>Tree</literal> sections. All of these "
  4759. "variables are substitution variables and have the strings $(DIST), "
  4760. "$(SECTION) and $(ARCH) replaced with their respective values."
  4761. msgstr ""
  4762. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  4763. #: apt-ftparchive.1.xml:253
  4764. msgid ""
  4765. "Sets the number of kilobytes of contents files that are generated each "
  4766. "day. The contents files are round-robined so that over several days they "
  4767. "will all be rebuilt."
  4768. msgstr ""
  4769. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  4770. #: apt-ftparchive.1.xml:260
  4771. msgid ""
  4772. "Controls the number of days a contents file is allowed to be checked without "
  4773. "changing. If this limit is passed the mtime of the contents file is "
  4774. "updated. This case can occur if the package file is changed in such a way "
  4775. "that does not result in a new contents file [override edit for instance]. A "
  4776. "hold off is allowed in hopes that new .debs will be installed, requiring a "
  4777. "new file anyhow. The default is 10, the units are in days."
  4778. msgstr ""
  4779. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  4780. #: apt-ftparchive.1.xml:271
  4781. msgid ""
  4782. "Sets the top of the .deb directory tree. Defaults to "
  4783. "<filename>$(DIST)/$(SECTION)/binary-$(ARCH)/</filename>"
  4784. msgstr ""
  4785. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  4786. #: apt-ftparchive.1.xml:277
  4787. msgid ""
  4788. "Sets the top of the source package directory tree. Defaults to "
  4789. "<filename>$(DIST)/$(SECTION)/source/</filename>"
  4790. msgstr ""
  4791. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  4792. #: apt-ftparchive.1.xml:283
  4793. msgid ""
  4794. "Sets the output Packages file. Defaults to "
  4795. "<filename>$(DIST)/$(SECTION)/binary-$(ARCH)/Packages</filename>"
  4796. msgstr ""
  4797. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  4798. #: apt-ftparchive.1.xml:289
  4799. msgid ""
  4800. "Sets the output Sources file. Defaults to "
  4801. "<filename>$(DIST)/$(SECTION)/source/Sources</filename>"
  4802. msgstr ""
  4803. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  4804. #: apt-ftparchive.1.xml:295
  4805. msgid ""
  4806. "Sets the output Translation-en master file with the long descriptions if "
  4807. "they should be not included in the Packages file. Defaults to "
  4808. "<filename>$(DIST)/$(SECTION)/i18n/Translation-en</filename>"
  4809. msgstr ""
  4810. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  4811. #: apt-ftparchive.1.xml:302
  4812. msgid ""
  4813. "Sets the path prefix that causes a symlink to be considered an internal link "
  4814. "instead of an external link. Defaults to "
  4815. "<filename>$(DIST)/$(SECTION)/</filename>"
  4816. msgstr ""
  4817. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  4818. #: apt-ftparchive.1.xml:309
  4819. msgid ""
  4820. "Sets the output Contents file. Defaults to "
  4821. "<filename>$(DIST)/$(SECTION)/Contents-$(ARCH)</filename>. If this setting "
  4822. "causes multiple Packages files to map onto a single Contents file (as is the "
  4823. "default) then <command>apt-ftparchive</command> will integrate those "
  4824. "package files together automatically."
  4825. msgstr ""
  4826. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  4827. #: apt-ftparchive.1.xml:318
  4828. msgid "Sets header file to prepend to the contents output."
  4829. msgstr ""
  4830. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  4831. #: apt-ftparchive.1.xml:323
  4832. msgid ""
  4833. "Sets the binary cache database to use for this section. Multiple sections "
  4834. "can share the same database."
  4835. msgstr ""
  4836. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  4837. #: apt-ftparchive.1.xml:329
  4838. msgid ""
  4839. "Specifies that instead of walking the directory tree, "
  4840. "<command>apt-ftparchive</command> should read the list of files from the "
  4841. "given file. Relative files names are prefixed with the archive directory."
  4842. msgstr ""
  4843. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  4844. #: apt-ftparchive.1.xml:336
  4845. msgid ""
  4846. "Specifies that instead of walking the directory tree, "
  4847. "<command>apt-ftparchive</command> should read the list of files from the "
  4848. "given file. Relative files names are prefixed with the archive directory. "
  4849. "This is used when processing source indexes."
  4850. msgstr ""
  4851. #. type: Content of: <refentry><refsect1><refsect2><title>
  4852. #: apt-ftparchive.1.xml:344
  4853. msgid "<literal>Tree</literal> Section"
  4854. msgstr ""
  4855. #. type: Content of: <refentry><refsect1><refsect2><para>
  4856. #: apt-ftparchive.1.xml:346
  4857. msgid ""
  4858. "The <literal>Tree</literal> section defines a standard Debian file tree "
  4859. "which consists of a base directory, then multiple sections in that base "
  4860. "directory and finally multiple Architectures in each section. The exact "
  4861. "pathing used is defined by the <literal>Directory</literal> substitution "
  4862. "variable."
  4863. msgstr ""
  4864. #. type: Content of: <refentry><refsect1><refsect2><para>
  4865. #: apt-ftparchive.1.xml:351
  4866. msgid ""
  4867. "The <literal>Tree</literal> section takes a scope tag which sets the "
  4868. "<literal>$(DIST)</literal> variable and defines the root of the tree (the "
  4869. "path is prefixed by <literal>ArchiveDir</literal>). Typically this is a "
  4870. "setting such as <filename>dists/&stable-codename;</filename>."
  4871. msgstr ""
  4872. #. type: Content of: <refentry><refsect1><refsect2><para>
  4873. #: apt-ftparchive.1.xml:356
  4874. msgid ""
  4875. "All of the settings defined in the <literal>TreeDefault</literal> section "
  4876. "can be used in a <literal>Tree</literal> section as well as three new "
  4877. "variables."
  4878. msgstr ""
  4879. #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
  4880. #: apt-ftparchive.1.xml:362
  4881. #, no-wrap
  4882. msgid ""
  4883. "for i in Sections do \n"
  4884. " for j in Architectures do\n"
  4885. " Generate for DIST=scope SECTION=i ARCH=j\n"
  4886. " "
  4887. msgstr ""
  4888. #. type: Content of: <refentry><refsect1><refsect2><para>
  4889. #: apt-ftparchive.1.xml:359
  4890. msgid ""
  4891. "When processing a <literal>Tree</literal> section "
  4892. "<command>apt-ftparchive</command> performs an operation similar to: "
  4893. "<placeholder type=\"programlisting\" id=\"0\"/>"
  4894. msgstr ""
  4895. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  4896. #: apt-ftparchive.1.xml:370
  4897. msgid ""
  4898. "This is a space separated list of sections which appear under the "
  4899. "distribution; typically this is something like <literal>main contrib "
  4900. "non-free</literal>"
  4901. msgstr ""
  4902. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  4903. #: apt-ftparchive.1.xml:377
  4904. msgid ""
  4905. "This is a space separated list of all the architectures that appear under "
  4906. "search section. The special architecture 'source' is used to indicate that "
  4907. "this tree has a source archive."
  4908. msgstr ""
  4909. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  4910. #: apt-ftparchive.1.xml:390
  4911. msgid ""
  4912. "Sets the binary override file. The override file contains section, priority "
  4913. "and maintainer address information."
  4914. msgstr ""
  4915. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  4916. #: apt-ftparchive.1.xml:396
  4917. msgid ""
  4918. "Sets the source override file. The override file contains section "
  4919. "information."
  4920. msgstr ""
  4921. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  4922. #: apt-ftparchive.1.xml:402 apt-ftparchive.1.xml:448
  4923. msgid "Sets the binary extra override file."
  4924. msgstr ""
  4925. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  4926. #: apt-ftparchive.1.xml:407 apt-ftparchive.1.xml:453
  4927. msgid "Sets the source extra override file."
  4928. msgstr ""
  4929. #. type: Content of: <refentry><refsect1><refsect2><title>
  4930. #: apt-ftparchive.1.xml:412
  4931. msgid "<literal>BinDirectory</literal> Section"
  4932. msgstr ""
  4933. #. type: Content of: <refentry><refsect1><refsect2><para>
  4934. #: apt-ftparchive.1.xml:414
  4935. msgid ""
  4936. "The <literal>bindirectory</literal> section defines a binary directory tree "
  4937. "with no special structure. The scope tag specifies the location of the "
  4938. "binary directory and the settings are similar to the <literal>Tree</literal> "
  4939. "section with no substitution variables or "
  4940. "<literal>Section</literal><literal>Architecture</literal> settings."
  4941. msgstr ""
  4942. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  4943. #: apt-ftparchive.1.xml:422
  4944. msgid "Sets the Packages file output."
  4945. msgstr ""
  4946. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  4947. #: apt-ftparchive.1.xml:427
  4948. msgid ""
  4949. "Sets the Sources file output. At least one of <literal>Packages</literal> or "
  4950. "<literal>Sources</literal> is required."
  4951. msgstr ""
  4952. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  4953. #: apt-ftparchive.1.xml:433
  4954. msgid "Sets the Contents file output (optional)."
  4955. msgstr ""
  4956. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  4957. #: apt-ftparchive.1.xml:438
  4958. msgid "Sets the binary override file."
  4959. msgstr ""
  4960. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  4961. #: apt-ftparchive.1.xml:443
  4962. msgid "Sets the source override file."
  4963. msgstr ""
  4964. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  4965. #: apt-ftparchive.1.xml:458
  4966. msgid "Sets the cache DB."
  4967. msgstr ""
  4968. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  4969. #: apt-ftparchive.1.xml:463
  4970. msgid "Appends a path to all the output paths."
  4971. msgstr ""
  4972. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  4973. #: apt-ftparchive.1.xml:468
  4974. msgid "Specifies the file list file."
  4975. msgstr ""
  4976. #. type: Content of: <refentry><refsect1><title>
  4977. #: apt-ftparchive.1.xml:475
  4978. msgid "The Binary Override File"
  4979. msgstr ""
  4980. #. type: Content of: <refentry><refsect1><para>
  4981. #: apt-ftparchive.1.xml:476
  4982. msgid ""
  4983. "The binary override file is fully compatible with &dpkg-scanpackages;. It "
  4984. "contains four fields separated by spaces. The first field is the package "
  4985. "name, the second is the priority to force that package to, the third is the "
  4986. "section to force that package to and the final field is the maintainer "
  4987. "permutation field."
  4988. msgstr ""
  4989. #. type: Content of: <refentry><refsect1><para><literallayout>
  4990. #: apt-ftparchive.1.xml:482
  4991. #, no-wrap
  4992. msgid "old [// oldn]* => new"
  4993. msgstr ""
  4994. #. type: Content of: <refentry><refsect1><para><literallayout>
  4995. #: apt-ftparchive.1.xml:484
  4996. #, no-wrap
  4997. msgid "new"
  4998. msgstr ""
  4999. #. type: Content of: <refentry><refsect1><para>
  5000. #: apt-ftparchive.1.xml:481
  5001. msgid ""
  5002. "The general form of the maintainer field is: <placeholder "
  5003. "type=\"literallayout\" id=\"0\"/> or simply, <placeholder "
  5004. "type=\"literallayout\" id=\"1\"/> The first form allows a double-slash "
  5005. "separated list of old email addresses to be specified. If any of those are "
  5006. "found then new is substituted for the maintainer field. The second form "
  5007. "unconditionally substitutes the maintainer field."
  5008. msgstr ""
  5009. #. type: Content of: <refentry><refsect1><title>
  5010. #: apt-ftparchive.1.xml:492
  5011. msgid "The Source Override File"
  5012. msgstr ""
  5013. #. type: Content of: <refentry><refsect1><para>
  5014. #: apt-ftparchive.1.xml:494
  5015. msgid ""
  5016. "The source override file is fully compatible with &dpkg-scansources;. It "
  5017. "contains two fields separated by spaces. The first field is the source "
  5018. "package name, the second is the section to assign it."
  5019. msgstr ""
  5020. #. type: Content of: <refentry><refsect1><title>
  5021. #: apt-ftparchive.1.xml:499
  5022. msgid "The Extra Override File"
  5023. msgstr ""
  5024. #. type: Content of: <refentry><refsect1><para>
  5025. #: apt-ftparchive.1.xml:501
  5026. msgid ""
  5027. "The extra override file allows any arbitrary tag to be added or replaced in "
  5028. "the output. It has three columns, the first is the package, the second is "
  5029. "the tag and the remainder of the line is the new value."
  5030. msgstr ""
  5031. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  5032. #: apt-ftparchive.1.xml:512
  5033. msgid ""
  5034. "Generate the given checksum. These options default to on, when turned off "
  5035. "the generated index files will not have the checksum fields where possible. "
  5036. "Configuration Items: "
  5037. "<literal>APT::FTPArchive::<replaceable>Checksum</replaceable></literal> and "
  5038. "<literal>APT::FTPArchive::<replaceable>Index</replaceable>::<replaceable>Checksum</replaceable></literal> "
  5039. "where <literal><replaceable>Index</replaceable></literal> can be "
  5040. "<literal>Packages</literal>, <literal>Sources</literal> or "
  5041. "<literal>Release</literal> and "
  5042. "<literal><replaceable>Checksum</replaceable></literal> can be "
  5043. "<literal>MD5</literal>, <literal>SHA1</literal> or "
  5044. "<literal>SHA256</literal>."
  5045. msgstr ""
  5046. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  5047. #: apt-ftparchive.1.xml:523
  5048. msgid ""
  5049. "Use a binary caching DB. This has no effect on the generate command. "
  5050. "Configuration Item: <literal>APT::FTPArchive::DB</literal>."
  5051. msgstr ""
  5052. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  5053. #: apt-ftparchive.1.xml:529
  5054. msgid ""
  5055. "Quiet; produces output suitable for logging, omitting progress indicators. "
  5056. "More q's will produce more quiet up to a maximum of 2. You can also use "
  5057. "<option>-q=#</option> to set the quiet level, overriding the configuration "
  5058. "file. Configuration Item: <literal>quiet</literal>."
  5059. msgstr ""
  5060. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  5061. #: apt-ftparchive.1.xml:537
  5062. msgid ""
  5063. "Perform Delinking. If the <literal>External-Links</literal> setting is used "
  5064. "then this option actually enables delinking of the files. It defaults to on "
  5065. "and can be turned off with <option>--no-delink</option>. Configuration "
  5066. "Item: <literal>APT::FTPArchive::DeLinkAct</literal>."
  5067. msgstr ""
  5068. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  5069. #: apt-ftparchive.1.xml:545
  5070. msgid ""
  5071. "Perform contents generation. When this option is set and package indexes are "
  5072. "being generated with a cache DB then the file listing will also be extracted "
  5073. "and stored in the DB for later use. When using the generate command this "
  5074. "option also allows the creation of any Contents files. The default is on. "
  5075. "Configuration Item: <literal>APT::FTPArchive::Contents</literal>."
  5076. msgstr ""
  5077. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  5078. #: apt-ftparchive.1.xml:555
  5079. msgid ""
  5080. "Select the source override file to use with the <literal>sources</literal> "
  5081. "command. Configuration Item: "
  5082. "<literal>APT::FTPArchive::SourceOverride</literal>."
  5083. msgstr ""
  5084. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  5085. #: apt-ftparchive.1.xml:561
  5086. msgid ""
  5087. "Make the caching databases read only. Configuration Item: "
  5088. "<literal>APT::FTPArchive::ReadOnlyDB</literal>."
  5089. msgstr ""
  5090. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  5091. #: apt-ftparchive.1.xml:566
  5092. msgid ""
  5093. "Accept in the <literal>packages</literal> and <literal>contents</literal> "
  5094. "commands only package files matching <literal>*_arch.deb</literal> or "
  5095. "<literal>*_all.deb</literal> instead of all package files in the given "
  5096. "path. Configuration Item: <literal>APT::FTPArchive::Architecture</literal>."
  5097. msgstr ""
  5098. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  5099. #: apt-ftparchive.1.xml:574
  5100. msgid ""
  5101. "&apt-ftparchive; caches as much as possible of metadata in a cachedb. If "
  5102. "packages are recompiled and/or republished with the same version again, this "
  5103. "will lead to problems as the now outdated cached metadata like size and "
  5104. "checksums will be used. With this option enabled this will no longer happen "
  5105. "as it will be checked if the file was changed. Note that this option is set "
  5106. "to \"<literal>false</literal>\" by default as it is not recommend to upload "
  5107. "multiply versions/builds of a package with the same versionnumber, so in "
  5108. "theory nobody will have these problems and therefore all these extra checks "
  5109. "are useless."
  5110. msgstr ""
  5111. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  5112. #: apt-ftparchive.1.xml:586
  5113. msgid ""
  5114. "This configuration option defaults to \"<literal>true</literal>\" and should "
  5115. "only be set to <literal>\"false\"</literal> if the Archive generated with "
  5116. "&apt-ftparchive; also provides <filename>Translation</filename> files. Note "
  5117. "that the <filename>Translation-en</filename> master file can only be created "
  5118. "in the generate command."
  5119. msgstr ""
  5120. #. type: Content of: <refentry><refsect1><para><programlisting>
  5121. #: apt-ftparchive.1.xml:604
  5122. #, no-wrap
  5123. msgid ""
  5124. "<command>apt-ftparchive</command> packages "
  5125. "<replaceable>directory</replaceable> | <command>gzip</command> > "
  5126. "<filename>Packages.gz</filename>\n"
  5127. msgstr ""
  5128. #. type: Content of: <refentry><refsect1><para>
  5129. #: apt-ftparchive.1.xml:600
  5130. msgid ""
  5131. "To create a compressed Packages file for a directory containing binary "
  5132. "packages (.deb): <placeholder type=\"programlisting\" id=\"0\"/>"
  5133. msgstr ""
  5134. #. type: Content of: <refentry><refsect1><para>
  5135. #: apt-ftparchive.1.xml:614
  5136. msgid ""
  5137. "<command>apt-ftparchive</command> returns zero on normal operation, decimal "
  5138. "100 on error."
  5139. msgstr ""
  5140. #. type: TH
  5141. #: apt.8:17
  5142. #, no-wrap
  5143. msgid "apt"
  5144. msgstr ""
  5145. #. type: TH
  5146. #: apt.8:17
  5147. #, no-wrap
  5148. msgid "16 June 1998"
  5149. msgstr ""
  5150. #. type: TH
  5151. #: apt.8:17
  5152. #, no-wrap
  5153. msgid "Debian"
  5154. msgstr ""
  5155. #. type: SH
  5156. #: apt.8:18
  5157. #, no-wrap
  5158. msgid "NAME"
  5159. msgstr ""
  5160. #. type: Plain text
  5161. #: apt.8:20
  5162. msgid "apt - Advanced Package Tool"
  5163. msgstr ""
  5164. #. type: SH
  5165. #: apt.8:20
  5166. #, no-wrap
  5167. msgid "SYNOPSIS"
  5168. msgstr ""
  5169. #. type: Plain text
  5170. #: apt.8:22
  5171. msgid "B<apt>"
  5172. msgstr ""
  5173. #. type: SH
  5174. #: apt.8:22
  5175. #, no-wrap
  5176. msgid "DESCRIPTION"
  5177. msgstr ""
  5178. #. type: Plain text
  5179. #: apt.8:31
  5180. msgid ""
  5181. "APT is a management system for software packages. For normal day to day "
  5182. "package management there are several frontends available, such as "
  5183. "B<aptitude>(8) for the command line or B<synaptic>(8) for the X Window "
  5184. "System. Some options are only implemented in B<apt-get>(8) though."
  5185. msgstr ""
  5186. #. type: SH
  5187. #: apt.8:31
  5188. #, no-wrap
  5189. msgid "SEE ALSO"
  5190. msgstr ""
  5191. #. type: Plain text
  5192. #: apt.8:38
  5193. msgid ""
  5194. "B<apt-cache>(8), B<apt-get>(8), B<apt.conf>(5), B<sources.list>(5), "
  5195. "B<apt_preferences>(5), B<apt-secure>(8)"
  5196. msgstr ""
  5197. #. type: SH
  5198. #: apt.8:38
  5199. #, no-wrap
  5200. msgid "DIAGNOSTICS"
  5201. msgstr ""
  5202. #. type: Plain text
  5203. #: apt.8:40
  5204. msgid "apt returns zero on normal operation, decimal 100 on error."
  5205. msgstr ""
  5206. #. type: SH
  5207. #: apt.8:40
  5208. #, no-wrap
  5209. msgid "BUGS"
  5210. msgstr ""
  5211. #. type: Plain text
  5212. #: apt.8:42
  5213. msgid "This manpage isn't even started."
  5214. msgstr ""
  5215. #. type: Plain text
  5216. #: apt.8:51
  5217. msgid ""
  5218. "See E<lt>http://bugs.debian.org/aptE<gt>. If you wish to report a bug in "
  5219. "B<apt>, please see I</usr/share/doc/debian/bug-reporting.txt> or the "
  5220. "B<reportbug>(1) command."
  5221. msgstr ""
  5222. #. type: SH
  5223. #: apt.8:51
  5224. #, no-wrap
  5225. msgid "AUTHOR"
  5226. msgstr ""
  5227. #. type: Plain text
  5228. #: apt.8:52
  5229. msgid "apt was written by the APT team E<lt>apt@packages.debian.orgE<gt>."
  5230. msgstr ""
  5231. #. type: <title></title>
  5232. #: guide.sgml:4
  5233. msgid "APT User's Guide"
  5234. msgstr ""
  5235. #. type: <author></author>
  5236. #: guide.sgml:6 offline.sgml:6
  5237. msgid "<name>Jason Gunthorpe </name><email>jgg@debian.org</email>"
  5238. msgstr ""
  5239. #. type: <version></version>
  5240. #: guide.sgml:7
  5241. msgid "$Id: guide.sgml,v 1.7 2003/04/26 23:26:13 doogie Exp $"
  5242. msgstr ""
  5243. #. type: <abstract></abstract>
  5244. #: guide.sgml:11
  5245. msgid ""
  5246. "This document provides an overview of how to use the the APT package "
  5247. "manager."
  5248. msgstr ""
  5249. #. type: <copyrightsummary></copyrightsummary>
  5250. #: guide.sgml:15
  5251. msgid "Copyright &copy; Jason Gunthorpe, 1998."
  5252. msgstr ""
  5253. #. type: <p></p>
  5254. #: guide.sgml:21 offline.sgml:22
  5255. msgid ""
  5256. "\"APT\" and this document are free software; you can redistribute them "
  5257. "and/or modify them under the terms of the GNU General Public License as "
  5258. "published by the Free Software Foundation; either version 2 of the License, "
  5259. "or (at your option) any later version."
  5260. msgstr ""
  5261. #. type: <p></p>
  5262. #: guide.sgml:24 offline.sgml:25
  5263. msgid ""
  5264. "For more details, on Debian systems, see the file "
  5265. "/usr/share/common-licenses/GPL for the full license."
  5266. msgstr ""
  5267. #. type: <heading></heading>
  5268. #: guide.sgml:32
  5269. msgid "General"
  5270. msgstr ""
  5271. #. type: <p></p>
  5272. #: guide.sgml:38
  5273. msgid ""
  5274. "The APT package currently contains two sections, the APT "
  5275. "<prgn>dselect</prgn> method and the <prgn>apt-get</prgn> command line user "
  5276. "interface. Both provide a way to install and remove packages as well as "
  5277. "download new packages from the Internet."
  5278. msgstr ""
  5279. #. type: <heading></heading>
  5280. #: guide.sgml:39
  5281. msgid "Anatomy of the Package System"
  5282. msgstr ""
  5283. #. type: <p></p>
  5284. #: guide.sgml:44
  5285. msgid ""
  5286. "The Debian packaging system has a large amount of information associated "
  5287. "with each package to help assure that it integrates cleanly and easily into "
  5288. "the system. The most prominent of its features is the dependency system."
  5289. msgstr ""
  5290. #. type: <p></p>
  5291. #: guide.sgml:52
  5292. msgid ""
  5293. "The dependency system allows individual programs to make use of shared "
  5294. "elements in the system such as libraries. It simplifies placing infrequently "
  5295. "used portions of a program in separate packages to reduce the number of "
  5296. "things the average user is required to install. Also, it allows for choices "
  5297. "in mail transport agents, X servers and so on."
  5298. msgstr ""
  5299. #. type: <p></p>
  5300. #: guide.sgml:57
  5301. msgid ""
  5302. "The first step to understanding the dependency system is to grasp the "
  5303. "concept of a simple dependency. The meaning of a simple dependency is that a "
  5304. "package requires another package to be installed at the same time to work "
  5305. "properly."
  5306. msgstr ""
  5307. #. type: <p></p>
  5308. #: guide.sgml:63
  5309. msgid ""
  5310. "For instance, mailcrypt is an emacs extension that aids in encrypting email "
  5311. "with GPG. Without GPGP installed mailcrypt is useless, so mailcrypt has a "
  5312. "simple dependency on GPG. Also, because it is an emacs extension it has a "
  5313. "simple dependency on emacs, without emacs it is completely useless."
  5314. msgstr ""
  5315. #. type: <p></p>
  5316. #: guide.sgml:73
  5317. msgid ""
  5318. "The other important dependency to understand is a conflicting dependency. It "
  5319. "means that a package, when installed with another package, will not work and "
  5320. "may possibly be extremely harmful to the system. As an example consider a "
  5321. "mail transport agent such as sendmail, exim or qmail. It is not possible to "
  5322. "have two mail transport agents installed because both need to listen to the "
  5323. "network to receive mail. Attempting to install two will seriously damage the "
  5324. "system so all mail transport agents have a conflicting dependency with all "
  5325. "other mail transport agents."
  5326. msgstr ""
  5327. #. type: <p></p>
  5328. #: guide.sgml:83
  5329. msgid ""
  5330. "As an added complication there is the possibility for a package to pretend "
  5331. "to be another package. Consider that exim and sendmail for many intents are "
  5332. "identical, they both deliver mail and understand a common interface. Hence, "
  5333. "the package system has a way for them to declare that they are both "
  5334. "mail-transport-agents. So, exim and sendmail both declare that they provide "
  5335. "a mail-transport-agent and other packages that need a mail transport agent "
  5336. "depend on mail-transport-agent. This can add a great deal of confusion when "
  5337. "trying to manually fix packages."
  5338. msgstr ""
  5339. #. type: <p></p>
  5340. #: guide.sgml:88
  5341. msgid ""
  5342. "At any given time a single dependency may be met by packages that are "
  5343. "already installed or it may not be. APT attempts to help resolve dependency "
  5344. "issues by providing a number of automatic algorithms that help in selecting "
  5345. "packages for installation."
  5346. msgstr ""
  5347. #. type: <heading></heading>
  5348. #: guide.sgml:96
  5349. msgid "apt-get"
  5350. msgstr ""
  5351. #. type: <p></p>
  5352. #: guide.sgml:102
  5353. msgid ""
  5354. "<prgn>apt-get</prgn> provides a simple way to install packages from the "
  5355. "command line. Unlike <prgn>dpkg</prgn>, <prgn>apt-get</prgn> does not "
  5356. "understand .deb files, it works with the package's proper name and can only "
  5357. "install .deb archives from a <em>Source</em>."
  5358. msgstr ""
  5359. #. type: <p></p>
  5360. #: guide.sgml:109
  5361. msgid ""
  5362. "The first <footnote><p>If you are using an http proxy server you must set "
  5363. "the http_proxy environment variable first, see "
  5364. "sources.list(5)</p></footnote> thing that should be done before using "
  5365. "<prgn>apt-get</prgn> is to fetch the package lists from the <em>Sources</em> "
  5366. "so that it knows what packages are available. This is done with <tt>apt-get "
  5367. "update</tt>. For instance,"
  5368. msgstr ""
  5369. #. type: <example></example>
  5370. #: guide.sgml:116
  5371. #, no-wrap
  5372. msgid ""
  5373. "# apt-get update\n"
  5374. "Get http://ftp.de.debian.org/debian-non-US/ stable/binary-i386/ Packages\n"
  5375. "Get http://llug.sep.bnl.gov/debian/ testing/contrib Packages\n"
  5376. "Reading Package Lists... Done\n"
  5377. "Building Dependency Tree... Done"
  5378. msgstr ""
  5379. #. type: <p><taglist>
  5380. #: guide.sgml:120
  5381. msgid "Once updated there are several commands that can be used:"
  5382. msgstr ""
  5383. #. type: <tag></tag>
  5384. #: guide.sgml:121
  5385. msgid "upgrade"
  5386. msgstr ""
  5387. #. type: <p></p>
  5388. #: guide.sgml:131
  5389. msgid ""
  5390. "Upgrade will attempt to gently upgrade the whole system. Upgrade will never "
  5391. "install a new package or remove an existing package, nor will it ever "
  5392. "upgrade a package that might cause some other package to break. This can be "
  5393. "used daily to relatively safely upgrade the system. Upgrade will list all of "
  5394. "the packages that it could not upgrade, this usually means that they depend "
  5395. "on new packages or conflict with some other package. <prgn>dselect</prgn> or "
  5396. "<tt>apt-get install</tt> can be used to force these packages to install."
  5397. msgstr ""
  5398. #. type: <tag></tag>
  5399. #: guide.sgml:131
  5400. msgid "install"
  5401. msgstr ""
  5402. #. type: <p></p>
  5403. #: guide.sgml:140
  5404. msgid ""
  5405. "Install is used to install packages by name. The package is automatically "
  5406. "fetched and installed. This can be useful if you already know the name of "
  5407. "the package to install and do not want to go into a GUI to select it. Any "
  5408. "number of packages may be passed to install, they will all be "
  5409. "fetched. Install automatically attempts to resolve dependency problems with "
  5410. "the listed packages and will print a summary and ask for confirmation if "
  5411. "anything other than its arguments are changed."
  5412. msgstr ""
  5413. #. type: <tag></tag>
  5414. #: guide.sgml:140
  5415. msgid "dist-upgrade"
  5416. msgstr ""
  5417. #. type: <p></p>
  5418. #: guide.sgml:149
  5419. msgid ""
  5420. "Dist-upgrade is a complete upgrader designed to simplify upgrading between "
  5421. "releases of Debian. It uses a sophisticated algorithm to determine the best "
  5422. "set of packages to install, upgrade and remove to get as much of the system "
  5423. "to the newest release. In some situations it may be desired to use "
  5424. "dist-upgrade rather than spend the time manually resolving dependencies in "
  5425. "<prgn>dselect</prgn>. Once dist-upgrade has completed then "
  5426. "<prgn>dselect</prgn> can be used to install any packages that may have been "
  5427. "left out."
  5428. msgstr ""
  5429. #. type: <p></p>
  5430. #: guide.sgml:152
  5431. msgid ""
  5432. "It is important to closely look at what dist-upgrade is going to do, its "
  5433. "decisions may sometimes be quite surprising."
  5434. msgstr ""
  5435. #. type: <p></p>
  5436. #: guide.sgml:163
  5437. msgid ""
  5438. "<prgn>apt-get</prgn> has several command line options that are detailed in "
  5439. "its man page, <manref name=\"apt-get\" section=\"8\">. The most useful "
  5440. "option is <tt>-d</tt> which does not install the fetched files. If the "
  5441. "system has to download a large number of package it would be undesired to "
  5442. "start installing them in case something goes wrong. When <tt>-d</tt> is used "
  5443. "the downloaded archives can be installed by simply running the command that "
  5444. "caused them to be downloaded again without <tt>-d</tt>."
  5445. msgstr ""
  5446. #. type: <heading></heading>
  5447. #: guide.sgml:168
  5448. msgid "DSelect"
  5449. msgstr ""
  5450. #. type: <p></p>
  5451. #: guide.sgml:173
  5452. msgid ""
  5453. "The APT <prgn>dselect</prgn> method provides the complete APT system with "
  5454. "the <prgn>dselect</prgn> package selection GUI. <prgn>dselect</prgn> is used "
  5455. "to select the packages to be installed or removed and APT actually installs "
  5456. "them."
  5457. msgstr ""
  5458. #. type: <p></p>
  5459. #: guide.sgml:184
  5460. msgid ""
  5461. "To enable the APT method you need to select [A]ccess in <prgn>dselect</prgn> "
  5462. "and then choose the APT method. You will be prompted for a set of "
  5463. "<em>Sources</em> which are places to fetch archives from. These can be "
  5464. "remote Internet sites, local Debian mirrors or CD-ROMs. Each source can "
  5465. "provide a fragment of the total Debian archive, APT will automatically "
  5466. "combine them to form a complete set of packages. If you have a CD-ROM then "
  5467. "it is a good idea to specify it first and then specify a mirror so that you "
  5468. "have access to the latest bug fixes. APT will automatically use packages on "
  5469. "your CD-ROM before downloading from the Internet."
  5470. msgstr ""
  5471. #. type: <example></example>
  5472. #: guide.sgml:198
  5473. #, no-wrap
  5474. msgid ""
  5475. " Set up a list of distribution source locations\n"
  5476. "\t \n"
  5477. " Please give the base URL of the debian distribution.\n"
  5478. " The access schemes I know about are: http file\n"
  5479. "\t \n"
  5480. " For example:\n"
  5481. " file:/mnt/debian,\n"
  5482. " ftp://ftp.debian.org/debian,\n"
  5483. " http://ftp.de.debian.org/debian,\n"
  5484. " \n"
  5485. " \n"
  5486. " URL [http://llug.sep.bnl.gov/debian]:"
  5487. msgstr ""
  5488. #. type: <p></p>
  5489. #: guide.sgml:205
  5490. msgid ""
  5491. "The <em>Sources</em> setup starts by asking for the base of the Debian "
  5492. "archive, defaulting to a HTTP mirror. Next it asks for the distribution to "
  5493. "get."
  5494. msgstr ""
  5495. #. type: <example></example>
  5496. #: guide.sgml:212
  5497. #, no-wrap
  5498. msgid ""
  5499. " Please give the distribution tag to get or a path to the\n"
  5500. " package file ending in a /. The distribution\n"
  5501. " tags are typically something like: stable unstable testing non-US\n"
  5502. " \n"
  5503. " Distribution [stable]:"
  5504. msgstr ""
  5505. #. type: <p></p>
  5506. #: guide.sgml:222
  5507. msgid ""
  5508. "The distribution refers to the Debian version in the archive, "
  5509. "<em>stable</em> refers to the latest released version and <em>unstable</em> "
  5510. "refers to the developmental version. <em>non-US</em> is only available on "
  5511. "some mirrors and refers to packages that contain encryption technology or "
  5512. "other things that cannot be exported from the United States. Importing these "
  5513. "packages into the US is legal however."
  5514. msgstr ""
  5515. #. type: <example></example>
  5516. #: guide.sgml:228
  5517. #, no-wrap
  5518. msgid ""
  5519. " Please give the components to get\n"
  5520. " The components are typically something like: main contrib non-free\n"
  5521. " \n"
  5522. " Components [main contrib non-free]:"
  5523. msgstr ""
  5524. #. type: <p></p>
  5525. #: guide.sgml:236
  5526. msgid ""
  5527. "The components list refers to the list of sub distributions to fetch. The "
  5528. "distribution is split up based on software licenses, main being DFSG free "
  5529. "packages while contrib and non-free contain things that have various "
  5530. "restrictions placed on their use and distribution."
  5531. msgstr ""
  5532. #. type: <p></p>
  5533. #: guide.sgml:240
  5534. msgid ""
  5535. "Any number of sources can be added, the setup script will continue to prompt "
  5536. "until you have specified all that you want."
  5537. msgstr ""
  5538. #. type: <p></p>
  5539. #: guide.sgml:247
  5540. msgid ""
  5541. "Before starting to use <prgn>dselect</prgn> it is necessary to update the "
  5542. "available list by selecting [U]pdate from the menu. This is a superset of "
  5543. "<tt>apt-get update</tt> that makes the fetched information available to "
  5544. "<prgn>dselect</prgn>. [U]pdate must be performed even if <tt>apt-get "
  5545. "update</tt> has been run before."
  5546. msgstr ""
  5547. #. type: <p></p>
  5548. #: guide.sgml:253
  5549. msgid ""
  5550. "You can then go on and make your selections using [S]elect and then perform "
  5551. "the installation using [I]nstall. When using the APT method the [C]onfig and "
  5552. "[R]emove commands have no meaning, the [I]nstall command performs both of "
  5553. "them together."
  5554. msgstr ""
  5555. #. type: <p></p>
  5556. #: guide.sgml:258
  5557. msgid ""
  5558. "By default APT will automatically remove the package (.deb) files once they "
  5559. "have been successfully installed. To change this behavior place "
  5560. "<tt>Dselect::clean \"prompt\";</tt> in /etc/apt/apt.conf."
  5561. msgstr ""
  5562. #. type: <heading></heading>
  5563. #: guide.sgml:264
  5564. msgid "The Interface"
  5565. msgstr ""
  5566. #. type: <p></p>
  5567. #: guide.sgml:278
  5568. msgid ""
  5569. "Both that APT <prgn>dselect</prgn> method and <prgn>apt-get</prgn> share the "
  5570. "same interface. It is a simple system that generally tells you what it will "
  5571. "do and then goes and does it. <footnote><p>The <prgn>dselect</prgn> method "
  5572. "actually is a set of wrapper scripts to <prgn>apt-get</prgn>. The method "
  5573. "actually provides more functionality than is present in <prgn>apt-get</prgn> "
  5574. "alone.</p></footnote> After printing out a summary of what will happen APT "
  5575. "then will print out some informative status messages so that you can "
  5576. "estimate how far along it is and how much is left to do."
  5577. msgstr ""
  5578. #. type: <heading></heading>
  5579. #: guide.sgml:280
  5580. msgid "Startup"
  5581. msgstr ""
  5582. #. type: <p></p>
  5583. #: guide.sgml:284
  5584. msgid ""
  5585. "Before all operations except update, APT performs a number of actions to "
  5586. "prepare its internal state. It also does some checks of the system's "
  5587. "state. At any time these operations can be performed by running <tt>apt-get "
  5588. "check</tt>."
  5589. msgstr ""
  5590. #. type: <example></example>
  5591. #: guide.sgml:289
  5592. #, no-wrap
  5593. msgid ""
  5594. "# apt-get check\n"
  5595. "Reading Package Lists... Done\n"
  5596. "Building Dependency Tree... Done"
  5597. msgstr ""
  5598. #. type: <p></p>
  5599. #: guide.sgml:297
  5600. msgid ""
  5601. "The first thing it does is read all the package files into memory. APT uses "
  5602. "a caching scheme so this operation will be faster the second time it is "
  5603. "run. If some of the package files are not found then they will be ignored "
  5604. "and a warning will be printed when apt-get exits."
  5605. msgstr ""
  5606. #. type: <p></p>
  5607. #: guide.sgml:303
  5608. msgid ""
  5609. "The final operation performs a detailed analysis of the system's "
  5610. "dependencies. It checks every dependency of every installed or unpacked "
  5611. "package and considers if it is OK. Should this find a problem then a report "
  5612. "will be printed out and <prgn>apt-get</prgn> will refuse to run."
  5613. msgstr ""
  5614. #. type: <example></example>
  5615. #: guide.sgml:320
  5616. #, no-wrap
  5617. msgid ""
  5618. "# apt-get check\n"
  5619. "Reading Package Lists... Done\n"
  5620. "Building Dependency Tree... Done\n"
  5621. "You might want to run apt-get -f install' to correct these.\n"
  5622. "Sorry, but the following packages have unmet dependencies:\n"
  5623. " 9fonts: Depends: xlib6g but it is not installed\n"
  5624. " uucp: Depends: mailx but it is not installed\n"
  5625. " blast: Depends: xlib6g (>= 3.3-5) but it is not installed\n"
  5626. " adduser: Depends: perl-base but it is not installed\n"
  5627. " aumix: Depends: libgpmg1 but it is not installed\n"
  5628. " debiandoc-sgml: Depends: sgml-base but it is not installed\n"
  5629. " bash-builtins: Depends: bash (>= 2.01) but 2.0-3 is installed\n"
  5630. " cthugha: Depends: svgalibg1 but it is not installed\n"
  5631. " Depends: xlib6g (>= 3.3-5) but it is not installed\n"
  5632. " libreadlineg2: Conflicts:libreadline2 (<< 2.1-2.1)"
  5633. msgstr ""
  5634. #. type: <p></p>
  5635. #: guide.sgml:329
  5636. msgid ""
  5637. "In this example the system has many problems, including a serious problem "
  5638. "with libreadlineg2. For each package that has unmet dependencies a line is "
  5639. "printed out indicating the package with the problem and the dependencies "
  5640. "that are unmet. A short explanation of why the package has a dependency "
  5641. "problem is also included."
  5642. msgstr ""
  5643. #. type: <p></p>
  5644. #: guide.sgml:337
  5645. msgid ""
  5646. "There are two ways a system can get into a broken state like this. The first "
  5647. "is caused by <prgn>dpkg</prgn> missing some subtle relationships between "
  5648. "packages when performing upgrades. <footnote><p>APT however considers all "
  5649. "known dependencies and attempts to prevent broken "
  5650. "packages</p></footnote>. The second is if a package installation fails "
  5651. "during an operation. In this situation a package may have been unpacked "
  5652. "without its dependents being installed."
  5653. msgstr ""
  5654. #. type: <p></p>
  5655. #: guide.sgml:345
  5656. msgid ""
  5657. "The second situation is much less serious than the first because APT places "
  5658. "certain constraints on the order that packages are installed. In both cases "
  5659. "supplying the <tt>-f</tt> option to <prgn>apt-get</prgn> will cause APT to "
  5660. "deduce a possible solution to the problem and then continue on. The APT "
  5661. "<prgn>dselect</prgn> method always supplies the <tt>-f</tt> option to allow "
  5662. "for easy continuation of failed maintainer scripts."
  5663. msgstr ""
  5664. #. type: <p></p>
  5665. #: guide.sgml:351
  5666. msgid ""
  5667. "However, if the <tt>-f</tt> option is used to correct a seriously broken "
  5668. "system caused by the first case then it is possible that it will either fail "
  5669. "immediately or the installation sequence will fail. In either case it is "
  5670. "necessary to manually use dpkg (possibly with forcing options) to correct "
  5671. "the situation enough to allow APT to proceed."
  5672. msgstr ""
  5673. #. type: <heading></heading>
  5674. #: guide.sgml:356
  5675. msgid "The Status Report"
  5676. msgstr ""
  5677. #. type: <p></p>
  5678. #: guide.sgml:363
  5679. msgid ""
  5680. "Before proceeding <prgn>apt-get</prgn> will present a report on what will "
  5681. "happen. Generally the report reflects the type of operation being performed "
  5682. "but there are several common elements. In all cases the lists reflect the "
  5683. "final state of things, taking into account the <tt>-f</tt> option and any "
  5684. "other relevant activities to the command being executed."
  5685. msgstr ""
  5686. #. type: <heading></heading>
  5687. #: guide.sgml:364
  5688. msgid "The Extra Package list"
  5689. msgstr ""
  5690. #. type: <example></example>
  5691. #: guide.sgml:372
  5692. #, no-wrap
  5693. msgid ""
  5694. "The following extra packages will be installed:\n"
  5695. " libdbd-mysql-perl xlib6 zlib1 xzx libreadline2 libdbd-msql-perl\n"
  5696. " mailpgp xdpkg fileutils pinepgp zlib1g xlib6g perl-base\n"
  5697. " bin86 libgdbm1 libgdbmg1 quake-lib gmp2 bcc xbuffy\n"
  5698. " squake pgp-i python-base debmake ldso perl libreadlineg2\n"
  5699. " ssh"
  5700. msgstr ""
  5701. #. type: <p></p>
  5702. #: guide.sgml:379
  5703. msgid ""
  5704. "The Extra Package list shows all of the packages that will be installed or "
  5705. "upgraded in excess of the ones mentioned on the command line. It is only "
  5706. "generated for an <tt>install</tt> command. The listed packages are often the "
  5707. "result of an Auto Install."
  5708. msgstr ""
  5709. #. type: <heading></heading>
  5710. #: guide.sgml:382
  5711. msgid "The Packages to Remove"
  5712. msgstr ""
  5713. #. type: <example></example>
  5714. #: guide.sgml:389
  5715. #, no-wrap
  5716. msgid ""
  5717. "The following packages will be REMOVED:\n"
  5718. " xlib6-dev xpat2 tk40-dev xkeycaps xbattle xonix\n"
  5719. " xdaliclock tk40 tk41 xforms0.86 ghostview xloadimage xcolorsel\n"
  5720. " xadmin xboard perl-debug tkined xtetris libreadline2-dev perl-suid\n"
  5721. " nas xpilot xfig"
  5722. msgstr ""
  5723. #. type: <p></p>
  5724. #: guide.sgml:399
  5725. msgid ""
  5726. "The Packages to Remove list shows all of the packages that will be removed "
  5727. "from the system. It can be shown for any of the operations and should be "
  5728. "given a careful inspection to ensure nothing important is to be taken "
  5729. "off. The <tt>-f</tt> option is especially good at generating packages to "
  5730. "remove so extreme care should be used in that case. The list may contain "
  5731. "packages that are going to be removed because they are only partially "
  5732. "installed, possibly due to an aborted installation."
  5733. msgstr ""
  5734. #. type: <heading></heading>
  5735. #: guide.sgml:402
  5736. msgid "The New Packages list"
  5737. msgstr ""
  5738. #. type: <example></example>
  5739. #: guide.sgml:406
  5740. #, no-wrap
  5741. msgid ""
  5742. "The following NEW packages will installed:\n"
  5743. " zlib1g xlib6g perl-base libgdbmg1 quake-lib gmp2 pgp-i python-base"
  5744. msgstr ""
  5745. #. type: <p></p>
  5746. #: guide.sgml:411
  5747. msgid ""
  5748. "The New Packages list is simply a reminder of what will happen. The packages "
  5749. "listed are not presently installed in the system but will be when APT is "
  5750. "done."
  5751. msgstr ""
  5752. #. type: <heading></heading>
  5753. #: guide.sgml:414
  5754. msgid "The Kept Back list"
  5755. msgstr ""
  5756. #. type: <example></example>
  5757. #: guide.sgml:419
  5758. #, no-wrap
  5759. msgid ""
  5760. "The following packages have been kept back\n"
  5761. " compface man-db tetex-base msql libpaper svgalib1\n"
  5762. " gs snmp arena lynx xpat2 groff xscreensaver"
  5763. msgstr ""
  5764. #. type: <p></p>
  5765. #: guide.sgml:428
  5766. msgid ""
  5767. "Whenever the whole system is being upgraded there is the possibility that "
  5768. "new versions of packages cannot be installed because they require new things "
  5769. "or conflict with already installed things. In this case the package will "
  5770. "appear in the Kept Back list. The best way to convince packages listed there "
  5771. "to install is with <tt>apt-get install</tt> or by using <prgn>dselect</prgn> "
  5772. "to resolve their problems."
  5773. msgstr ""
  5774. #. type: <heading></heading>
  5775. #: guide.sgml:431
  5776. msgid "Held Packages warning"
  5777. msgstr ""
  5778. #. type: <example></example>
  5779. #: guide.sgml:435
  5780. #, no-wrap
  5781. msgid ""
  5782. "The following held packages will be changed:\n"
  5783. " cvs"
  5784. msgstr ""
  5785. #. type: <p></p>
  5786. #: guide.sgml:441
  5787. msgid ""
  5788. "Sometimes you can ask APT to install a package that is on hold, in such a "
  5789. "case it prints out a warning that the held package is going to be "
  5790. "changed. This should only happen during dist-upgrade or install."
  5791. msgstr ""
  5792. #. type: <heading></heading>
  5793. #: guide.sgml:444
  5794. msgid "Final summary"
  5795. msgstr ""
  5796. #. type: <p></p>
  5797. #: guide.sgml:447
  5798. msgid "Finally, APT will print out a summary of all the changes that will occur."
  5799. msgstr ""
  5800. #. type: <example></example>
  5801. #: guide.sgml:452
  5802. #, no-wrap
  5803. msgid ""
  5804. "206 packages upgraded, 8 newly installed, 23 to remove and 51 not "
  5805. "upgraded.\n"
  5806. "12 packages not fully installed or removed.\n"
  5807. "Need to get 65.7M/66.7M of archives. After unpacking 26.5M will be used."
  5808. msgstr ""
  5809. #. type: <p></p>
  5810. #: guide.sgml:470
  5811. msgid ""
  5812. "The first line of the summary simply is a reduced version of all of the "
  5813. "lists and includes the number of upgrades - that is packages already "
  5814. "installed that have new versions available. The second line indicates the "
  5815. "number of poorly configured packages, possibly the result of an aborted "
  5816. "installation. The final line shows the space requirements that the "
  5817. "installation needs. The first pair of numbers refer to the size of the "
  5818. "archive files. The first number indicates the number of bytes that must be "
  5819. "fetched from remote locations and the second indicates the total size of all "
  5820. "the archives required. The next number indicates the size difference between "
  5821. "the presently installed packages and the newly installed packages. It is "
  5822. "roughly equivalent to the space required in /usr after everything is "
  5823. "done. If a large number of packages are being removed then the value may "
  5824. "indicate the amount of space that will be freed."
  5825. msgstr ""
  5826. #. type: <p></p>
  5827. #: guide.sgml:473
  5828. msgid ""
  5829. "Some other reports can be generated by using the -u option to show packages "
  5830. "to upgrade, they are similar to the previous examples."
  5831. msgstr ""
  5832. #. type: <heading></heading>
  5833. #: guide.sgml:477
  5834. msgid "The Status Display"
  5835. msgstr ""
  5836. #. type: <p></p>
  5837. #: guide.sgml:481
  5838. msgid ""
  5839. "During the download of archives and package files APT prints out a series of "
  5840. "status messages."
  5841. msgstr ""
  5842. #. type: <example></example>
  5843. #: guide.sgml:490
  5844. #, no-wrap
  5845. msgid ""
  5846. "# apt-get update\n"
  5847. "Get:1 http://ftp.de.debian.org/debian-non-US/ stable/non-US/ Packages\n"
  5848. "Get:2 http://llug.sep.bnl.gov/debian/ testing/contrib Packages\n"
  5849. "Hit http://llug.sep.bnl.gov/debian/ testing/main Packages\n"
  5850. "Get:4 http://ftp.de.debian.org/debian-non-US/ unstable/binary-i386/ "
  5851. "Packages\n"
  5852. "Get:5 http://llug.sep.bnl.gov/debian/ testing/non-free Packages\n"
  5853. "11% [5 testing/non-free `Waiting for file' 0/32.1k 0%] 2203b/s 1m52s"
  5854. msgstr ""
  5855. #. type: <p></p>
  5856. #: guide.sgml:500
  5857. msgid ""
  5858. "The lines starting with <em>Get</em> are printed out when APT begins to "
  5859. "fetch a file while the last line indicates the progress of the download. The "
  5860. "first percent value on the progress line indicates the total percent done of "
  5861. "all files. Unfortunately since the size of the Package files is unknown "
  5862. "<tt>apt-get update</tt> estimates the percent done which causes some "
  5863. "inaccuracies."
  5864. msgstr ""
  5865. #. type: <p></p>
  5866. #: guide.sgml:509
  5867. msgid ""
  5868. "The next section of the status line is repeated once for each download "
  5869. "thread and indicates the operation being performed and some useful "
  5870. "information about what is happening. Sometimes this section will simply read "
  5871. "<em>Forking</em> which means the OS is loading the download module. The "
  5872. "first word after the [ is the fetch number as shown on the history "
  5873. "lines. The next word is the short form name of the object being "
  5874. "downloaded. For archives it will contain the name of the package that is "
  5875. "being fetched."
  5876. msgstr ""
  5877. #. type: <p></p>
  5878. #: guide.sgml:524
  5879. msgid ""
  5880. "Inside of the single quote is an informative string indicating the progress "
  5881. "of the negotiation phase of the download. Typically it progresses from "
  5882. "<em>Connecting</em> to <em>Waiting for file</em> to <em>Downloading</em> or "
  5883. "<em>Resuming</em>. The final value is the number of bytes downloaded from "
  5884. "the remote site. Once the download begins this is represented as "
  5885. "<tt>102/10.2k</tt> indicating that 102 bytes have been fetched and 10.2 "
  5886. "kilobytes is expected. The total size is always shown in 4 figure notation "
  5887. "to preserve space. After the size display is a percent meter for the file "
  5888. "itself. The second last element is the instantaneous average speed. This "
  5889. "values is updated every 5 seconds and reflects the rate of data transfer for "
  5890. "that period. Finally is shown the estimated transfer time. This is updated "
  5891. "regularly and reflects the time to complete everything at the shown transfer "
  5892. "rate."
  5893. msgstr ""
  5894. #. type: <p></p>
  5895. #: guide.sgml:530
  5896. msgid ""
  5897. "The status display updates every half second to provide a constant feedback "
  5898. "on the download progress while the Get lines scroll back whenever a new file "
  5899. "is started. Since the status display is constantly updated it is unsuitable "
  5900. "for logging to a file, use the <tt>-q</tt> option to remove the status "
  5901. "display."
  5902. msgstr ""
  5903. #. type: <heading></heading>
  5904. #: guide.sgml:535
  5905. msgid "Dpkg"
  5906. msgstr ""
  5907. #. type: <p></p>
  5908. #: guide.sgml:542
  5909. msgid ""
  5910. "APT uses <prgn>dpkg</prgn> for installing the archives and will switch over "
  5911. "to the <prgn>dpkg</prgn> interface once downloading is "
  5912. "completed. <prgn>dpkg</prgn> will also ask a number of questions as it "
  5913. "processes the packages and the packages themselves may also ask several "
  5914. "questions. Before each question there is usually a description of what it is "
  5915. "asking and the questions are too varied to discuss completely here."
  5916. msgstr ""
  5917. #. type: <title></title>
  5918. #: offline.sgml:4
  5919. msgid "Using APT Offline"
  5920. msgstr ""
  5921. #. type: <version></version>
  5922. #: offline.sgml:7
  5923. msgid "$Id: offline.sgml,v 1.8 2003/02/12 15:06:41 doogie Exp $"
  5924. msgstr ""
  5925. #. type: <abstract></abstract>
  5926. #: offline.sgml:12
  5927. msgid ""
  5928. "This document describes how to use APT in a non-networked environment, "
  5929. "specifically a 'sneaker-net' approach for performing upgrades."
  5930. msgstr ""
  5931. #. type: <copyrightsummary></copyrightsummary>
  5932. #: offline.sgml:16
  5933. msgid "Copyright &copy; Jason Gunthorpe, 1999."
  5934. msgstr ""
  5935. #. type: <heading></heading>
  5936. #: offline.sgml:32
  5937. msgid "Introduction"
  5938. msgstr ""
  5939. #. type: <heading></heading>
  5940. #: offline.sgml:34 offline.sgml:65 offline.sgml:180
  5941. msgid "Overview"
  5942. msgstr ""
  5943. #. type: <p></p>
  5944. #: offline.sgml:40
  5945. msgid ""
  5946. "Normally APT requires direct access to a Debian archive, either from a local "
  5947. "media or through a network. Another common complaint is that a Debian "
  5948. "machine is on a slow link, such as a modem and another machine has a very "
  5949. "fast connection but they are physically distant."
  5950. msgstr ""
  5951. #. type: <p></p>
  5952. #: offline.sgml:51
  5953. msgid ""
  5954. "The solution to this is to use large removable media such as a Zip disc or a "
  5955. "SuperDisk disc. These discs are not large enough to store the entire Debian "
  5956. "archive but can easily fit a subset large enough for most users. The idea is "
  5957. "to use APT to generate a list of packages that are required and then fetch "
  5958. "them onto the disc using another machine with good connectivity. It is even "
  5959. "possible to use another Debian machine with APT or to use a completely "
  5960. "different OS and a download tool like wget. Let <em>remote host</em> mean "
  5961. "the machine downloading the packages, and <em>target host</em> the one with "
  5962. "bad or no connection."
  5963. msgstr ""
  5964. #. type: <p></p>
  5965. #: offline.sgml:57
  5966. msgid ""
  5967. "This is achieved by creatively manipulating the APT configuration file. The "
  5968. "essential premise to tell APT to look on a disc for it's archive files. Note "
  5969. "that the disc should be formated with a filesystem that can handle long file "
  5970. "names such as ext2, fat32 or vfat."
  5971. msgstr ""
  5972. #. type: <heading></heading>
  5973. #: offline.sgml:63
  5974. msgid "Using APT on both machines"
  5975. msgstr ""
  5976. #. type: <p><example>
  5977. #: offline.sgml:71
  5978. msgid ""
  5979. "APT being available on both machines gives the simplest configuration. The "
  5980. "basic idea is to place a copy of the status file on the disc and use the "
  5981. "remote machine to fetch the latest package files and decide which packages "
  5982. "to download. The disk directory structure should look like:"
  5983. msgstr ""
  5984. #. type: <example></example>
  5985. #: offline.sgml:80
  5986. #, no-wrap
  5987. msgid ""
  5988. " /disc/\n"
  5989. " archives/\n"
  5990. " partial/\n"
  5991. " lists/\n"
  5992. " partial/\n"
  5993. " status\n"
  5994. " sources.list\n"
  5995. " apt.conf"
  5996. msgstr ""
  5997. #. type: <heading></heading>
  5998. #: offline.sgml:88
  5999. msgid "The configuration file"
  6000. msgstr ""
  6001. #. type: <p></p>
  6002. #: offline.sgml:96
  6003. msgid ""
  6004. "The configuration file should tell APT to store its files on the disc and to "
  6005. "use the configuration files on the disc as well. The sources.list should "
  6006. "contain the proper sites that you wish to use from the remote machine, and "
  6007. "the status file should be a copy of <em>/var/lib/dpkg/status</em> from the "
  6008. "<em>target host</em>. Please note, if you are using a local archive you must "
  6009. "use copy URIs, the syntax is identical to file URIs."
  6010. msgstr ""
  6011. #. type: <p><example>
  6012. #: offline.sgml:100
  6013. msgid ""
  6014. "<em>apt.conf</em> must contain the necessary information to make APT use the "
  6015. "disc:"
  6016. msgstr ""
  6017. #. type: <example></example>
  6018. #: offline.sgml:124
  6019. #, no-wrap
  6020. msgid ""
  6021. " APT\n"
  6022. " {\n"
  6023. " /* This is not necessary if the two machines are the same arch, it "
  6024. "tells\n"
  6025. " the remote APT what architecture the target machine is */\n"
  6026. " Architecture \"i386\";\n"
  6027. " \n"
  6028. " Get::Download-Only \"true\";\n"
  6029. " };\n"
  6030. " \n"
  6031. " Dir\n"
  6032. " {\n"
  6033. " /* Use the disc for state information and redirect the status file from\n"
  6034. " the /var/lib/dpkg default */\n"
  6035. " State \"/disc/\";\n"
  6036. " State::status \"status\";\n"
  6037. "\n"
  6038. " // Binary caches will be stored locally\n"
  6039. " Cache::archives \"/disc/archives/\";\n"
  6040. " Cache \"/tmp/\";\n"
  6041. " \n"
  6042. " // Location of the source list.\n"
  6043. " Etc \"/disc/\";\n"
  6044. " };"
  6045. msgstr ""
  6046. #. type: </example></p>
  6047. #: offline.sgml:129
  6048. msgid ""
  6049. "More details can be seen by examining the apt.conf man page and the sample "
  6050. "configuration file in <em>/usr/share/doc/apt/examples/apt.conf</em>."
  6051. msgstr ""
  6052. #. type: <p><example>
  6053. #: offline.sgml:136
  6054. msgid ""
  6055. "On the target machine the first thing to do is mount the disc and copy "
  6056. "<em>/var/lib/dpkg/status</em> to it. You will also need to create the "
  6057. "directories outlined in the Overview, <em>archives/partial/</em> and "
  6058. "<em>lists/partial/</em>. Then take the disc to the remote machine and "
  6059. "configure the sources.list. On the remote machine execute the following:"
  6060. msgstr ""
  6061. #. type: <example></example>
  6062. #: offline.sgml:142
  6063. #, no-wrap
  6064. msgid ""
  6065. " # export APT_CONFIG=\"/disc/apt.conf\"\n"
  6066. " # apt-get update\n"
  6067. " [ APT fetches the package files ]\n"
  6068. " # apt-get dist-upgrade\n"
  6069. " [ APT fetches all the packages needed to upgrade the target machine ]"
  6070. msgstr ""
  6071. #. type: </example></p>
  6072. #: offline.sgml:149
  6073. msgid ""
  6074. "The dist-upgrade command can be replaced with any other standard APT "
  6075. "commands, particularly dselect-upgrade. You can even use an APT front end "
  6076. "such as <em>dselect</em>. However this presents a problem in communicating "
  6077. "your selections back to the local computer."
  6078. msgstr ""
  6079. #. type: <p><example>
  6080. #: offline.sgml:153
  6081. msgid ""
  6082. "Now the disc contains all of the index files and archives needed to upgrade "
  6083. "the target machine. Take the disc back and run:"
  6084. msgstr ""
  6085. #. type: <example></example>
  6086. #: offline.sgml:159
  6087. #, no-wrap
  6088. msgid ""
  6089. " # export APT_CONFIG=\"/disc/apt.conf\"\n"
  6090. " # apt-get check\n"
  6091. " [ APT generates a local copy of the cache files ]\n"
  6092. " # apt-get --no-d -o dir::state::status=/var/lib/dpkg/status dist-upgrade\n"
  6093. " [ Or any other APT command ]"
  6094. msgstr ""
  6095. #. type: <p></p>
  6096. #: offline.sgml:165
  6097. msgid ""
  6098. "It is necessary for proper function to re-specify the status file to be the "
  6099. "local one. This is very important!"
  6100. msgstr ""
  6101. #. type: <p></p>
  6102. #: offline.sgml:172
  6103. msgid ""
  6104. "If you are using dselect you can do the very risky operation of copying "
  6105. "disc/status to /var/lib/dpkg/status so that any selections you made on the "
  6106. "remote machine are updated. I highly recommend that people only make "
  6107. "selections on the local machine - but this may not always be possible. DO "
  6108. "NOT copy the status file if dpkg or APT have been run in the mean time!!"
  6109. msgstr ""
  6110. #. type: <heading></heading>
  6111. #: offline.sgml:178
  6112. msgid "Using APT and wget"
  6113. msgstr ""
  6114. #. type: <p></p>
  6115. #: offline.sgml:185
  6116. msgid ""
  6117. "<em>wget</em> is a popular and portable download tool that can run on nearly "
  6118. "any machine. Unlike the method above this requires that the Debian machine "
  6119. "already has a list of available packages."
  6120. msgstr ""
  6121. #. type: <p></p>
  6122. #: offline.sgml:190
  6123. msgid ""
  6124. "The basic idea is to create a disc that has only the archive files "
  6125. "downloaded from the remote site. This is done by using the --print-uris "
  6126. "option to apt-get and then preparing a wget script to actually fetch the "
  6127. "packages."
  6128. msgstr ""
  6129. #. type: <heading></heading>
  6130. #: offline.sgml:196
  6131. msgid "Operation"
  6132. msgstr ""
  6133. #. type: <p><example>
  6134. #: offline.sgml:200
  6135. msgid ""
  6136. "Unlike the previous technique no special configuration files are "
  6137. "required. We merely use the standard APT commands to generate the file list."
  6138. msgstr ""
  6139. #. type: <example></example>
  6140. #: offline.sgml:205
  6141. #, no-wrap
  6142. msgid ""
  6143. " # apt-get dist-upgrade \n"
  6144. " [ Press no when prompted, make sure you are happy with the actions ]\n"
  6145. " # apt-get -qq --print-uris dist-upgrade > uris\n"
  6146. " # awk '{print \"wget -O \" $2 \" \" $1}' < uris > /disc/wget-script"
  6147. msgstr ""
  6148. #. type: </example></p>
  6149. #: offline.sgml:210
  6150. msgid ""
  6151. "Any command other than dist-upgrade could be used here, including "
  6152. "dselect-upgrade."
  6153. msgstr ""
  6154. #. type: <p></p>
  6155. #: offline.sgml:216
  6156. msgid ""
  6157. "The /disc/wget-script file will now contain a list of wget commands to "
  6158. "execute in order to fetch the necessary archives. This script should be run "
  6159. "with the current directory as the disc's mount point so as to save the "
  6160. "output on the disc."
  6161. msgstr ""
  6162. #. type: <p><example>
  6163. #: offline.sgml:219
  6164. msgid "The remote machine would do something like"
  6165. msgstr ""
  6166. #. type: <example></example>
  6167. #: offline.sgml:223
  6168. #, no-wrap
  6169. msgid ""
  6170. " # cd /disc\n"
  6171. " # sh -x ./wget-script\n"
  6172. " [ wait.. ]"
  6173. msgstr ""
  6174. #. type: </example><example>
  6175. #: offline.sgml:228
  6176. msgid ""
  6177. "Once the archives are downloaded and the disc returned to the Debian machine "
  6178. "installation can proceed using,"
  6179. msgstr ""
  6180. #. type: <example></example>
  6181. #: offline.sgml:230
  6182. #, no-wrap
  6183. msgid " # apt-get -o dir::cache::archives=\"/disc/\" dist-upgrade"
  6184. msgstr ""
  6185. #. type: </example></p>
  6186. #: offline.sgml:234
  6187. msgid "Which will use the already fetched archives on the disc."
  6188. msgstr ""