apt-doc.pot 312 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942
  1. # Translation of apt manpages and documentation to LANGUAGE
  2. # This file is distributed under the same license as the apt-doc package.
  3. # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
  4. #
  5. #, fuzzy
  6. msgid ""
  7. msgstr ""
  8. "Project-Id-Version: apt-doc 1.3~pre3+cmake2\n"
  9. "Report-Msgid-Bugs-To: APT Development Team <deity@lists.debian.org>\n"
  10. "POT-Creation-Date: 2016-08-06 23:20+0200\n"
  11. "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
  12. "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  13. "Language-Team: LANGUAGE <LL@li.org>\n"
  14. "Language: \n"
  15. "MIME-Version: 1.0\n"
  16. "Content-Type: text/plain; charset=UTF-8\n"
  17. "Content-Transfer-Encoding: 8bit\n"
  18. #. type: Plain text
  19. #: apt.ent:1
  20. #, no-wrap
  21. msgid ""
  22. "<!ENTITY apt-author.team \"\n"
  23. " <author>\n"
  24. " <othername>APT team</othername>\n"
  25. " <contrib></contrib>\n"
  26. " </author>\n"
  27. "\">\n"
  28. msgstr ""
  29. #. type: Plain text
  30. #: apt.ent:1
  31. #, no-wrap
  32. msgid ""
  33. "<!ENTITY apt-qapage \"\n"
  34. "\t<para>\n"
  35. "\t\t<ulink url='http://packages.qa.debian.org/a/apt.html'>QA Page</ulink>\n"
  36. "\t</para>\n"
  37. "\">\n"
  38. msgstr ""
  39. #. type: Plain text
  40. #: apt.ent:1
  41. #, no-wrap
  42. msgid ""
  43. "<!-- Boiler plate Bug reporting section -->\n"
  44. "<!ENTITY manbugs \"\n"
  45. " <refsect1><title>Bugs</title>\n"
  46. " <para><ulink url='http://bugs.debian.org/src:apt'>APT bug page</ulink>.\n"
  47. " If you wish to report a bug in APT, please see\n"
  48. " <filename>/usr/share/doc/debian/bug-reporting.txt</filename> or the\n"
  49. " &reportbug; command.\n"
  50. " </para>\n"
  51. " </refsect1>\n"
  52. "\">\n"
  53. msgstr ""
  54. #. type: Plain text
  55. #: apt.ent:1
  56. #, no-wrap
  57. msgid ""
  58. "<!-- Boiler plate Author section -->\n"
  59. "<!ENTITY manauthor \"\n"
  60. " <refsect1><title>Author</title>\n"
  61. " <para>APT was written by the APT team "
  62. "<email>apt@packages.debian.org</email>.\n"
  63. " </para>\n"
  64. " </refsect1>\n"
  65. "\">\n"
  66. msgstr ""
  67. #. type: Plain text
  68. #: apt.ent:1
  69. #, no-wrap
  70. msgid ""
  71. "<!-- Should be used within the option section of the text to\n"
  72. " put in the blurb about -h, -v, -c and -o -->\n"
  73. "<!ENTITY apt-commonoptions \"\n"
  74. " <varlistentry><term><option>-h</option></term>\n"
  75. " <term><option>--help</option></term>\n"
  76. " <listitem><para>Show a short usage summary.\n"
  77. " </para>\n"
  78. " </listitem>\n"
  79. " </varlistentry>\n"
  80. msgstr ""
  81. #. type: Plain text
  82. #: apt.ent:1
  83. #, no-wrap
  84. msgid ""
  85. " <varlistentry>\n"
  86. " <term><option>-v</option></term>\n"
  87. " <term><option>--version</option></term>\n"
  88. " <listitem><para>Show the program version.\n"
  89. " </para>\n"
  90. " </listitem>\n"
  91. " </varlistentry>\n"
  92. msgstr ""
  93. #. type: Plain text
  94. #: apt.ent:1
  95. #, no-wrap
  96. msgid ""
  97. " <varlistentry>\n"
  98. " <term><option>-c</option></term>\n"
  99. " <term><option>--config-file</option></term>\n"
  100. " <listitem><para>Configuration File; Specify a configuration file to "
  101. "use. \n"
  102. " The program will read the default configuration file and then this \n"
  103. " configuration file. If configuration settings need to be set before "
  104. "the\n"
  105. " default configuration files are parsed specify a file with the "
  106. "<envar>APT_CONFIG</envar>\n"
  107. " environment variable. See &apt-conf; for syntax information.\n"
  108. " </para>\n"
  109. " </listitem>\n"
  110. " </varlistentry>\n"
  111. msgstr ""
  112. #. type: Plain text
  113. #: apt.ent:1
  114. #, no-wrap
  115. msgid ""
  116. " <varlistentry>\n"
  117. " <term><option>-o</option></term>\n"
  118. " <term><option>--option</option></term>\n"
  119. " <listitem><para>Set a Configuration Option; This will set an "
  120. "arbitrary\n"
  121. " configuration option. The syntax is <option>-o "
  122. "Foo::Bar=bar</option>.\n"
  123. " <option>-o</option> and <option>--option</option> can be used "
  124. "multiple\n"
  125. " times to set different options.\n"
  126. " </para>\n"
  127. " </listitem>\n"
  128. " </varlistentry>\n"
  129. "\">\n"
  130. msgstr ""
  131. #. type: Plain text
  132. #: apt.ent:1
  133. #, no-wrap
  134. msgid ""
  135. "<!-- Should be used within the option section of the text to\n"
  136. " put in the blurb about -h, -v, -c and -o -->\n"
  137. "<!ENTITY apt-cmdblurb \"\n"
  138. " <para>All command line options may be set using the configuration file, "
  139. "the\n"
  140. " descriptions indicate the configuration option to set. For boolean\n"
  141. " options you can override the config file by using something like \n"
  142. " <option>-f-</option>,<option>--no-f</option>, <option>-f=no</option>\n"
  143. " or several other variations.\n"
  144. " </para>\n"
  145. "\">\n"
  146. msgstr ""
  147. #. type: Plain text
  148. #: apt.ent:1
  149. #, no-wrap
  150. msgid ""
  151. "<!ENTITY file-aptconf \"\n"
  152. " <varlistentry><term><filename>/etc/apt/apt.conf</filename></term>\n"
  153. " <listitem><para>APT configuration file.\n"
  154. " Configuration Item: "
  155. "<literal>Dir::Etc::Main</literal>.</para></listitem>\n"
  156. " </varlistentry>\n"
  157. msgstr ""
  158. #. type: Plain text
  159. #: apt.ent:1
  160. #, no-wrap
  161. msgid ""
  162. " <varlistentry><term><filename>/etc/apt/apt.conf.d/</filename></term>\n"
  163. " <listitem><para>APT configuration file fragments.\n"
  164. " Configuration Item: "
  165. "<literal>Dir::Etc::Parts</literal>.</para></listitem>\n"
  166. " </varlistentry>\n"
  167. "\">\n"
  168. msgstr ""
  169. #. type: Plain text
  170. #: apt.ent:1
  171. #, no-wrap
  172. msgid ""
  173. "<!ENTITY file-cachearchives \"\n"
  174. " <varlistentry><term><filename>&cachedir;/archives/</filename></term>\n"
  175. " <listitem><para>Storage area for retrieved package files.\n"
  176. " Configuration Item: "
  177. "<literal>Dir::Cache::Archives</literal>.</para></listitem>\n"
  178. " </varlistentry>\n"
  179. msgstr ""
  180. #. type: Plain text
  181. #: apt.ent:1
  182. #, no-wrap
  183. msgid ""
  184. " "
  185. "<varlistentry><term><filename>&cachedir;/archives/partial/</filename></term>\n"
  186. " <listitem><para>Storage area for package files in transit.\n"
  187. " Configuration Item: <literal>Dir::Cache::Archives</literal> "
  188. "(<filename>partial</filename> will be implicitly "
  189. "appended)</para></listitem>\n"
  190. " </varlistentry>\n"
  191. "\">\n"
  192. msgstr ""
  193. #. type: Plain text
  194. #: apt.ent:1
  195. #, no-wrap
  196. msgid ""
  197. "<!ENTITY file-preferences \"\n"
  198. " <varlistentry><term><filename>/etc/apt/preferences</filename></term>\n"
  199. " <listitem><para>Version preferences file.\n"
  200. " This is where you would specify &quot;pinning&quot;,\n"
  201. " i.e. a preference to get certain packages\n"
  202. " from a separate source\n"
  203. " or from a different version of a distribution.\n"
  204. " Configuration Item: "
  205. "<literal>Dir::Etc::Preferences</literal>.</para></listitem>\n"
  206. " </varlistentry>\n"
  207. msgstr ""
  208. #. type: Plain text
  209. #: apt.ent:1
  210. #, no-wrap
  211. msgid ""
  212. " "
  213. "<varlistentry><term><filename>/etc/apt/preferences.d/</filename></term>\n"
  214. " <listitem><para>File fragments for the version preferences.\n"
  215. " Configuration Item: "
  216. "<literal>Dir::Etc::PreferencesParts</literal>.</para></listitem>\n"
  217. " </varlistentry>\n"
  218. "\">\n"
  219. msgstr ""
  220. #. type: Plain text
  221. #: apt.ent:1
  222. #, no-wrap
  223. msgid ""
  224. "<!ENTITY file-sourceslist \"\n"
  225. " <varlistentry><term><filename>/etc/apt/sources.list</filename></term>\n"
  226. " <listitem><para>Locations to fetch packages from.\n"
  227. " Configuration Item: "
  228. "<literal>Dir::Etc::SourceList</literal>.</para></listitem>\n"
  229. " </varlistentry>\n"
  230. msgstr ""
  231. #. type: Plain text
  232. #: apt.ent:1
  233. #, no-wrap
  234. msgid ""
  235. " "
  236. "<varlistentry><term><filename>/etc/apt/sources.list.d/</filename></term>\n"
  237. " <listitem><para>File fragments for locations to fetch packages from.\n"
  238. " Configuration Item: "
  239. "<literal>Dir::Etc::SourceParts</literal>.</para></listitem>\n"
  240. " </varlistentry>\n"
  241. "\">\n"
  242. msgstr ""
  243. #. type: Plain text
  244. #: apt.ent:1
  245. #, no-wrap
  246. msgid ""
  247. "<!ENTITY file-statelists \"\n"
  248. " <varlistentry><term><filename>&statedir;/lists/</filename></term>\n"
  249. " <listitem><para>Storage area for state information for each package "
  250. "resource specified in\n"
  251. " &sources-list;\n"
  252. " Configuration Item: "
  253. "<literal>Dir::State::Lists</literal>.</para></listitem>\n"
  254. " </varlistentry>\n"
  255. msgstr ""
  256. #. type: Plain text
  257. #: apt.ent:1
  258. #, no-wrap
  259. msgid ""
  260. " "
  261. "<varlistentry><term><filename>&statedir;/lists/partial/</filename></term>\n"
  262. " <listitem><para>Storage area for state information in transit.\n"
  263. " Configuration Item: <literal>Dir::State::Lists</literal> "
  264. "(<filename>partial</filename> will be implicitly "
  265. "appended)</para></listitem>\n"
  266. " </varlistentry>\n"
  267. "\">\n"
  268. msgstr ""
  269. #. type: Plain text
  270. #: apt.ent:1
  271. #, no-wrap
  272. msgid ""
  273. "<!ENTITY file-trustedgpg \"\n"
  274. " <varlistentry><term><filename>/etc/apt/trusted.gpg</filename></term>\n"
  275. " <listitem><para>Keyring of local trusted keys, new keys will be added "
  276. "here.\n"
  277. " Configuration Item: "
  278. "<literal>Dir::Etc::Trusted</literal>.</para></listitem>\n"
  279. " </varlistentry>\n"
  280. msgstr ""
  281. #. type: Plain text
  282. #: apt.ent:1
  283. #, no-wrap
  284. msgid ""
  285. " "
  286. "<varlistentry><term><filename>/etc/apt/trusted.gpg.d/</filename></term>\n"
  287. " <listitem><para>File fragments for the trusted keys, additional "
  288. "keyrings can\n"
  289. " be stored here (by other packages or the administrator).\n"
  290. " Configuration Item "
  291. "<literal>Dir::Etc::TrustedParts</literal>.</para></listitem>\n"
  292. " </varlistentry>\n"
  293. "\">\n"
  294. msgstr ""
  295. #. type: Plain text
  296. #: apt.ent:1
  297. #, no-wrap
  298. msgid ""
  299. "<!ENTITY file-extended_states \"\n"
  300. " "
  301. "<varlistentry><term><filename>/var/lib/apt/extended_states</filename></term>\n"
  302. " <listitem><para>Status list of auto-installed packages.\n"
  303. " Configuration Item: <literal>Dir::State::extended_states</literal>.\n"
  304. " </para></listitem>\n"
  305. " </varlistentry>\n"
  306. "\">\n"
  307. msgstr ""
  308. #. type: Plain text
  309. #: apt.ent:1
  310. #, no-wrap
  311. msgid ""
  312. "<!-- TRANSLATOR: This is the section header for the following paragraphs - "
  313. "comparable\n"
  314. " to the other headers like NAME and DESCRIPTION and should therefore be "
  315. "uppercase. -->\n"
  316. "<!ENTITY translation-title \"TRANSLATION\">\n"
  317. msgstr ""
  318. #. type: Plain text
  319. #: apt.ent:1
  320. #, no-wrap
  321. msgid ""
  322. "<!-- TRANSLATOR: This is a placeholder. You should write here who has "
  323. "contributed\n"
  324. " to the translation in the past, who is responsible now and maybe "
  325. "further information\n"
  326. " specially related to your translation. -->\n"
  327. "<!ENTITY translation-holder \"\n"
  328. " The english translation was done by John Doe "
  329. "<email>john@doe.org</email> in 2009,\n"
  330. " 2010 and Daniela Acme <email>daniela@acme.us</email> in 2010 together "
  331. "with the\n"
  332. " Debian Dummy l10n Team "
  333. "<email>debian-l10n-dummy@lists.debian.org</email>.\n"
  334. "\">\n"
  335. msgstr ""
  336. #. type: Plain text
  337. #: apt.ent:1
  338. #, no-wrap
  339. msgid ""
  340. "<!-- TRANSLATOR: As a translation is allowed to have 20% of "
  341. "untranslated/fuzzy strings\n"
  342. " in a shipped manpage newer/modified paragraphs will maybe appear in "
  343. "english in\n"
  344. " the generated manpage. This sentence is therefore here to tell the "
  345. "reader that this\n"
  346. " is not a mistake by the translator - obviously the target is that at "
  347. "least for stable\n"
  348. " releases this sentence is not needed. :) -->\n"
  349. "<!ENTITY translation-english \"\n"
  350. " Note that this translated document may contain untranslated parts.\n"
  351. " This is done on purpose, to avoid losing content when the\n"
  352. " translation is lagging behind the original content.\n"
  353. "\">\n"
  354. msgstr ""
  355. #. type: Plain text
  356. #: apt.ent:1
  357. msgid ""
  358. "<!-- TRANSLATOR: used as in -o=config_string "
  359. "e.g. -o=Debug::pkgProblemResolver=1 --> <!ENTITY synopsis-config-string "
  360. "\"config_string\">"
  361. msgstr ""
  362. #. type: Plain text
  363. #: apt.ent:1
  364. msgid ""
  365. "<!-- TRANSLATOR: used as in -c=config_file e.g. -c=./apt.conf --> <!ENTITY "
  366. "synopsis-config-file \"config_file\">"
  367. msgstr ""
  368. #. type: Plain text
  369. #: apt.ent:1
  370. msgid ""
  371. "<!-- TRANSLATOR: used as in -t=target_release or pkg/target_release "
  372. "e.g. -t=squeeze apt/experimental --> <!ENTITY synopsis-target-release "
  373. "\"target_release\">"
  374. msgstr ""
  375. #. type: Plain text
  376. #: apt.ent:1
  377. msgid ""
  378. "<!-- TRANSLATOR: used as in -a=architecture e.g. -a=armel --> <!ENTITY "
  379. "synopsis-architecture \"architecture\">"
  380. msgstr ""
  381. #. type: Plain text
  382. #: apt.ent:1
  383. msgid ""
  384. "<!-- TRANSLATOR: used as in apt-get install pkg e.g. apt-get install awesome "
  385. "--> <!ENTITY synopsis-pkg \"pkg\">"
  386. msgstr ""
  387. #. type: Plain text
  388. #: apt.ent:1
  389. msgid ""
  390. "<!-- TRANSLATOR: used as in pkg=pkg_version_number e.g. apt=0.8.15 --> "
  391. "<!ENTITY synopsis-pkg-ver-number \"pkg_version_number\">"
  392. msgstr ""
  393. #. type: Plain text
  394. #: apt.ent:1
  395. msgid ""
  396. "<!-- TRANSLATOR: used as in apt-cache pkgnames prefix e.g. apt-cache "
  397. "pkgnames apt --> <!ENTITY synopsis-prefix \"prefix\">"
  398. msgstr ""
  399. #. type: Plain text
  400. #: apt.ent:1
  401. msgid ""
  402. "<!-- TRANSLATOR: used as in apt-cache search regex e.g. apt-cache search "
  403. "awesome --> <!ENTITY synopsis-regex \"regex\">"
  404. msgstr ""
  405. #. type: Plain text
  406. #: apt.ent:1
  407. msgid ""
  408. "<!-- TRANSLATOR: used as in apt-cdrom -d=cdrom_mount_point e.g. apt-cdrom "
  409. "-d=/media/cdrom --> <!ENTITY synopsis-cdrom-mount \"cdrom_mount_point\">"
  410. msgstr ""
  411. #. type: Plain text
  412. #: apt.ent:1
  413. msgid ""
  414. "<!-- TRANSLATOR: used as in apt-extracttemplates -t=temporary_directory "
  415. "e.g. apt-extracttemplates -t=/tmp --> <!ENTITY synopsis-tmp-directory "
  416. "\"temporary_directory\">"
  417. msgstr ""
  418. #. type: Plain text
  419. #: apt.ent:1
  420. msgid ""
  421. "<!-- TRANSLATOR: used as in apt-extracttemplates filename --> <!ENTITY "
  422. "synopsis-filename \"filename\">"
  423. msgstr ""
  424. #. type: Plain text
  425. #: apt.ent:1
  426. msgid ""
  427. "<!-- TRANSLATOR: used as parameter for apt-ftparchive e.g. apt-ftparchive "
  428. "packages path override-file pathprefix --> <!ENTITY synopsis-path \"path\">"
  429. msgstr ""
  430. #. type: Plain text
  431. #: apt.ent:1
  432. msgid ""
  433. "<!-- TRANSLATOR: used as parameter for apt-ftparchive e.g. apt-ftparchive "
  434. "packages path override-file pathprefix --> <!ENTITY synopsis-override "
  435. "\"override-file\">"
  436. msgstr ""
  437. #. type: Plain text
  438. #: apt.ent:1
  439. msgid ""
  440. "<!-- TRANSLATOR: used as parameter for apt-ftparchive e.g. apt-ftparchive "
  441. "packages path override-file pathprefix --> <!ENTITY synopsis-pathprefix "
  442. "\"pathprefix\">"
  443. msgstr ""
  444. #. type: Plain text
  445. #: apt.ent:1
  446. msgid ""
  447. "<!-- TRANSLATOR: used as parameter for apt-ftparchive e.g. apt-ftparchive "
  448. "generate section --> <!ENTITY synopsis-section \"section\">"
  449. msgstr ""
  450. #. type: Plain text
  451. #: apt.ent:1
  452. msgid ""
  453. "<!-- TRANSLATOR: used as in apt-key export keyid e.g. apt-key export "
  454. "473041FA --> <!ENTITY synopsis-keyid \"keyid\">"
  455. msgstr ""
  456. #. type: Content of: <refentry><refmeta><manvolnum>
  457. #: apt.8.xml:1 apt-get.8.xml:1 apt-cache.8.xml:1 apt-key.8.xml:1
  458. #: apt-mark.8.xml:1 apt-secure.8.xml:1 apt-cdrom.8.xml:1 apt-config.8.xml:1
  459. msgid "8"
  460. msgstr ""
  461. #. type: Content of: <refentry><refmeta><refmiscinfo>
  462. #: apt.8.xml:1 apt-get.8.xml:1 apt-cache.8.xml:1 apt-key.8.xml:1
  463. #: apt-mark.8.xml:1 apt-secure.8.xml:1 apt-cdrom.8.xml:1 apt-config.8.xml:1
  464. #: apt.conf.5.xml:1 apt_preferences.5.xml:1 sources.list.5.xml:1
  465. #: apt-extracttemplates.1.xml:1 apt-sortpkgs.1.xml:1 apt-ftparchive.1.xml:1
  466. msgid "APT"
  467. msgstr ""
  468. #. type: Content of: <refentry><refnamediv><refpurpose>
  469. #: apt.8.xml:1
  470. msgid "command-line interface"
  471. msgstr ""
  472. #. type: Content of: <refentry><refsect1><title>
  473. #: apt.8.xml:1 apt-get.8.xml:1 apt-cache.8.xml:1 apt-key.8.xml:1
  474. #: apt-mark.8.xml:1 apt-secure.8.xml:1 apt-cdrom.8.xml:1 apt-config.8.xml:1
  475. #: apt.conf.5.xml:1 apt_preferences.5.xml:1 sources.list.5.xml:1
  476. #: apt-extracttemplates.1.xml:1 apt-sortpkgs.1.xml:1 apt-ftparchive.1.xml:1
  477. msgid "Description"
  478. msgstr ""
  479. #. type: Content of: <refentry><refsect1><para>
  480. #: apt.8.xml:1
  481. msgid ""
  482. "<command>apt</command> provides a high-level commandline interface for the "
  483. "package management system. It is intended as an end user interface and "
  484. "enables some options better suited for interactive usage by default compared "
  485. "to more specialized APT tools like &apt-get; and &apt-cache;."
  486. msgstr ""
  487. #. type: Content of: <refentry><refsect1><para>
  488. #: apt.8.xml:1
  489. msgid ""
  490. "Much like <command>apt</command> itself, its manpage is intended as an end "
  491. "user interface and as such only mentions the most used commands and options "
  492. "partly to not duplicate information in multiple places and partly to avoid "
  493. "overwhelming readers with a cornucopia of options and details."
  494. msgstr ""
  495. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
  496. #: apt.8.xml:1 apt.8.xml:1 apt.8.xml:1 apt.8.xml:1 apt.8.xml:1
  497. msgid "(&apt-get;)"
  498. msgstr ""
  499. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  500. #: apt.8.xml:1
  501. msgid ""
  502. "<option>update</option> is used to download package information from all "
  503. "configured sources. Other commands operate on this data to e.g. perform "
  504. "package upgrades or search in and display details about all packages "
  505. "available for installation."
  506. msgstr ""
  507. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  508. #: apt.8.xml:1
  509. msgid ""
  510. "<option>upgrade</option> is used to install available upgrades of all "
  511. "packages currently installed on the system from the sources configured via "
  512. "&sources-list;. New packages will be installed if required to statisfy "
  513. "dependencies, but existing packages will never be removed. If an upgrade for "
  514. "a package requires the remove of an installed package the upgrade for this "
  515. "package isn't performed."
  516. msgstr ""
  517. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  518. #: apt.8.xml:1
  519. msgid ""
  520. "<literal>full-upgrade</literal> performs the function of upgrade but will "
  521. "remove currently installed packages if this is needed to upgrade the system "
  522. "as a whole."
  523. msgstr ""
  524. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
  525. #: apt.8.xml:1 apt.8.xml:1 apt-key.8.xml:1
  526. msgid ","
  527. msgstr ""
  528. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  529. #: apt.8.xml:1
  530. msgid ""
  531. "Performs the requested action on one or more packages specified via &regex;, "
  532. "&glob; or exact match. The requested action can be overridden for specific "
  533. "packages by append a plus (+) to the package name to install this package or "
  534. "a minus (-) to remove it."
  535. msgstr ""
  536. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  537. #: apt.8.xml:1
  538. msgid ""
  539. "A specific version of a package can be selected for installation by "
  540. "following the package name with an equals (=) and the version of the package "
  541. "to select. Alternatively the version from a specific release can be selected "
  542. "by following the package name with a forward slash (/) and codename "
  543. "(&debian-stable-codename;, &debian-testing-codename;, sid …) or suite name "
  544. "(stable, testing, unstable). This will also select versions from this "
  545. "release for dependencies of this package if needed to satisfy the request."
  546. msgstr ""
  547. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  548. #: apt.8.xml:1
  549. msgid ""
  550. "Removing a package removes all packaged data, but leaves usually small "
  551. "(modified) user configuration files behind, in case the remove was an "
  552. "accident. Just issuing an installation request for the accidentally removed "
  553. "package will restore its function as before in that case. On the other hand "
  554. "you can get rid of these leftovers by calling <command>purge</command> even "
  555. "on already removed packages. Note that this does not affect any data or "
  556. "configuration stored in your home directory."
  557. msgstr ""
  558. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  559. #: apt.8.xml:1
  560. msgid ""
  561. "<literal>autoremove</literal> is used to remove packages that were "
  562. "automatically installed to satisfy dependencies for other packages and are "
  563. "now no longer needed as dependencies changed or the package(s) needing them "
  564. "were removed in the meantime."
  565. msgstr ""
  566. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  567. #: apt.8.xml:1
  568. msgid ""
  569. "You should check that the list does not include applications you have grown "
  570. "to like even though they were once installed just as a dependency of another "
  571. "package. You can mark such a package as manually installed by using "
  572. "&apt-mark;. Packages which you have installed explicitly via "
  573. "<command>install</command> are also never proposed for automatic removal."
  574. msgstr ""
  575. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
  576. #: apt.8.xml:1 apt.8.xml:1
  577. msgid "(&apt-cache;)"
  578. msgstr ""
  579. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  580. #: apt.8.xml:1
  581. msgid ""
  582. "<option>search</option> can be used to search for the given &regex; term(s) "
  583. "in the list of available packages and display matches. This can e.g. be "
  584. "useful if you are looking for packages having a specific feature. If you "
  585. "are looking for a package including a specific file try &apt-file;."
  586. msgstr ""
  587. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  588. #: apt.8.xml:1
  589. msgid ""
  590. "Show information about the given package(s) including its dependencies, "
  591. "installation and download size, sources the package is available from, the "
  592. "description of the packages content and much more. It can e.g. be helpful to "
  593. "look at this information before allowing &apt; to remove a package or while "
  594. "searching for new packages to install."
  595. msgstr ""
  596. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
  597. #: apt.8.xml:1 apt.8.xml:1
  598. msgid "(work-in-progress)"
  599. msgstr ""
  600. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  601. #: apt.8.xml:1
  602. msgid ""
  603. "<option>list</option> is somewhat similar to <command>dpkg-query "
  604. "--list</command> in that it can display a list of packages satisfying "
  605. "certain criteria. It supports &glob; patterns for matching package names as "
  606. "well as options to list installed (<option>--installed</option>), "
  607. "upgradeable (<option>--upgradeable</option>) or all available "
  608. "(<option>--all-versions</option>) versions."
  609. msgstr ""
  610. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  611. #: apt.8.xml:1
  612. msgid ""
  613. "<literal>edit-sources</literal> lets you edit your &sources-list; files in "
  614. "your preferred texteditor while also providing basic sanity checks."
  615. msgstr ""
  616. #. type: Content of: <refentry><refsect1><title>
  617. #: apt.8.xml:1
  618. msgid "Script Usage and Differences from Other APT Tools"
  619. msgstr ""
  620. #. type: Content of: <refentry><refsect1><para>
  621. #: apt.8.xml:1
  622. msgid ""
  623. "The &apt; commandline is designed as an end-user tool and it may change "
  624. "behavior between versions. While it tries not to break backward "
  625. "compatibility this is not guaranteed either if a change seems beneficial for "
  626. "interactive use."
  627. msgstr ""
  628. #. type: Content of: <refentry><refsect1><para>
  629. #: apt.8.xml:1
  630. msgid ""
  631. "All features of &apt; are available in dedicated APT tools like &apt-get; "
  632. "and &apt-cache; as well. &apt; just changes the default value of some "
  633. "options (see &apt-conf; and specifically the Binary scope). So you should "
  634. "prefer using these commands (potentially with some additional options "
  635. "enabled) in your scripts as they keep backward compatibility as much as "
  636. "possible."
  637. msgstr ""
  638. #. type: Content of: <refentry><refsect1><title>
  639. #: apt.8.xml:1 apt-get.8.xml:1 apt-cache.8.xml:1 apt-key.8.xml:1
  640. #: apt-mark.8.xml:1 apt-secure.8.xml:1 apt-cdrom.8.xml:1 apt-config.8.xml:1
  641. #: apt.conf.5.xml:1 apt_preferences.5.xml:1 sources.list.5.xml:1
  642. #: apt-extracttemplates.1.xml:1 apt-sortpkgs.1.xml:1 apt-ftparchive.1.xml:1
  643. msgid "See Also"
  644. msgstr ""
  645. #. type: Content of: <refentry><refsect1><para>
  646. #: apt.8.xml:1
  647. msgid ""
  648. "&apt-get;, &apt-cache;, &sources-list;, &apt-conf;, &apt-config;, The APT "
  649. "User's guide in &guidesdir;, &apt-preferences;, the APT Howto."
  650. msgstr ""
  651. #. type: Content of: <refentry><refsect1><title>
  652. #: apt.8.xml:1 apt-get.8.xml:1 apt-cache.8.xml:1 apt-mark.8.xml:1
  653. #: apt-cdrom.8.xml:1 apt-config.8.xml:1 apt-extracttemplates.1.xml:1
  654. #: apt-sortpkgs.1.xml:1 apt-ftparchive.1.xml:1
  655. msgid "Diagnostics"
  656. msgstr ""
  657. #. type: Content of: <refentry><refsect1><para>
  658. #: apt.8.xml:1
  659. msgid ""
  660. "<command>apt</command> returns zero on normal operation, decimal 100 on "
  661. "error."
  662. msgstr ""
  663. #. type: Content of: <refentry><refnamediv><refpurpose>
  664. #: apt-get.8.xml:1
  665. msgid "APT package handling utility -- command-line interface"
  666. msgstr ""
  667. #. type: Content of: <refentry><refsect1><para>
  668. #: apt-get.8.xml:1
  669. msgid ""
  670. "<command>apt-get</command> is the command-line tool for handling packages, "
  671. "and may be considered the user's \"back-end\" to other tools using the APT "
  672. "library. Several \"front-end\" interfaces exist, such as &aptitude;, "
  673. "&synaptic; and &wajig;."
  674. msgstr ""
  675. #. type: Content of: <refentry><refsect1><para>
  676. #: apt-get.8.xml:1 apt-cache.8.xml:1 apt-cdrom.8.xml:1 apt-config.8.xml:1
  677. #: apt-ftparchive.1.xml:1
  678. msgid ""
  679. "Unless the <option>-h</option>, or <option>--help</option> option is given, "
  680. "one of the commands below must be present."
  681. msgstr ""
  682. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  683. #: apt-get.8.xml:1
  684. msgid ""
  685. "<literal>update</literal> is used to resynchronize the package index files "
  686. "from their sources. The indexes of available packages are fetched from the "
  687. "location(s) specified in <filename>/etc/apt/sources.list</filename>. For "
  688. "example, when using a Debian archive, this command retrieves and scans the "
  689. "<filename>Packages.gz</filename> files, so that information about new and "
  690. "updated packages is available. An <literal>update</literal> should always be "
  691. "performed before an <literal>upgrade</literal> or "
  692. "<literal>dist-upgrade</literal>. Please be aware that the overall progress "
  693. "meter will be incorrect as the size of the package files cannot be known in "
  694. "advance."
  695. msgstr ""
  696. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  697. #: apt-get.8.xml:1
  698. msgid ""
  699. "<literal>upgrade</literal> is used to install the newest versions of all "
  700. "packages currently installed on the system from the sources enumerated in "
  701. "<filename>/etc/apt/sources.list</filename>. Packages currently installed "
  702. "with new versions available are retrieved and upgraded; under no "
  703. "circumstances are currently installed packages removed, or packages not "
  704. "already installed retrieved and installed. New versions of currently "
  705. "installed packages that cannot be upgraded without changing the install "
  706. "status of another package will be left at their current version. An "
  707. "<literal>update</literal> must be performed first so that "
  708. "<command>apt-get</command> knows that new versions of packages are "
  709. "available."
  710. msgstr ""
  711. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  712. #: apt-get.8.xml:1
  713. msgid ""
  714. "<literal>dist-upgrade</literal> in addition to performing the function of "
  715. "<literal>upgrade</literal>, also intelligently handles changing dependencies "
  716. "with new versions of packages; <command>apt-get</command> has a \"smart\" "
  717. "conflict resolution system, and it will attempt to upgrade the most "
  718. "important packages at the expense of less important ones if necessary. The "
  719. "<literal>dist-upgrade</literal> command may therefore remove some packages. "
  720. "The <filename>/etc/apt/sources.list</filename> file contains a list of "
  721. "locations from which to retrieve desired package files. See also "
  722. "&apt-preferences; for a mechanism for overriding the general settings for "
  723. "individual packages."
  724. msgstr ""
  725. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  726. #: apt-get.8.xml:1
  727. msgid ""
  728. "<literal>dselect-upgrade</literal> is used in conjunction with the "
  729. "traditional Debian packaging front-end, "
  730. "&dselect;. <literal>dselect-upgrade</literal> follows the changes made by "
  731. "&dselect; to the <literal>Status</literal> field of available packages, and "
  732. "performs the actions necessary to realize that state (for instance, the "
  733. "removal of old and the installation of new packages)."
  734. msgstr ""
  735. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  736. #: apt-get.8.xml:1
  737. msgid ""
  738. "<literal>install</literal> is followed by one or more packages desired for "
  739. "installation or upgrading. Each package is a package name, not a fully "
  740. "qualified filename (for instance, in a Debian system, "
  741. "<package>apt-utils</package> would be the argument provided, not "
  742. "<filename>apt-utils_&apt-product-version;_amd64.deb</filename>). All "
  743. "packages required by the package(s) specified for installation will also be "
  744. "retrieved and installed. The <filename>/etc/apt/sources.list</filename> "
  745. "file is used to locate the desired packages. If a hyphen is appended to the "
  746. "package name (with no intervening space), the identified package will be "
  747. "removed if it is installed. Similarly a plus sign can be used to designate "
  748. "a package to install. These latter features may be used to override "
  749. "decisions made by apt-get's conflict resolution system."
  750. msgstr ""
  751. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  752. #: apt-get.8.xml:1
  753. msgid ""
  754. "A specific version of a package can be selected for installation by "
  755. "following the package name with an equals and the version of the package to "
  756. "select. This will cause that version to be located and selected for "
  757. "install. Alternatively a specific distribution can be selected by following "
  758. "the package name with a slash and the version of the distribution or the "
  759. "Archive name (stable, testing, unstable)."
  760. msgstr ""
  761. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  762. #: apt-get.8.xml:1
  763. msgid ""
  764. "Both of the version selection mechanisms can downgrade packages and must be "
  765. "used with care."
  766. msgstr ""
  767. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  768. #: apt-get.8.xml:1
  769. msgid ""
  770. "This is also the target to use if you want to upgrade one or more "
  771. "already-installed packages without upgrading every package you have on your "
  772. "system. Unlike the \"upgrade\" target, which installs the newest version of "
  773. "all currently installed packages, \"install\" will install the newest "
  774. "version of only the package(s) specified. Simply provide the name of the "
  775. "package(s) you wish to upgrade, and if a newer version is available, it (and "
  776. "its dependencies, as described above) will be downloaded and installed."
  777. msgstr ""
  778. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  779. #: apt-get.8.xml:1
  780. msgid ""
  781. "Finally, the &apt-preferences; mechanism allows you to create an alternative "
  782. "installation policy for individual packages."
  783. msgstr ""
  784. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  785. #: apt-get.8.xml:1
  786. msgid ""
  787. "If no package matches the given expression and the expression contains one "
  788. "of '.', '?' or '*' then it is assumed to be a POSIX regular expression, and "
  789. "it is applied to all package names in the database. Any matches are then "
  790. "installed (or removed). Note that matching is done by substring so 'lo.*' "
  791. "matches 'how-lo' and 'lowest'. If this is undesired, anchor the regular "
  792. "expression with a '^' or '$' character, or create a more specific regular "
  793. "expression."
  794. msgstr ""
  795. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  796. #: apt-get.8.xml:1
  797. msgid ""
  798. "<literal>remove</literal> is identical to <literal>install</literal> except "
  799. "that packages are removed instead of installed. Note that removing a package "
  800. "leaves its configuration files on the system. If a plus sign is appended to "
  801. "the package name (with no intervening space), the identified package will be "
  802. "installed instead of removed."
  803. msgstr ""
  804. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  805. #: apt-get.8.xml:1
  806. msgid ""
  807. "<literal>purge</literal> is identical to <literal>remove</literal> except "
  808. "that packages are removed and purged (any configuration files are deleted "
  809. "too)."
  810. msgstr ""
  811. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  812. #: apt-get.8.xml:1
  813. msgid ""
  814. "<literal>source</literal> causes <command>apt-get</command> to fetch source "
  815. "packages. APT will examine the available packages to decide which source "
  816. "package to fetch. It will then find and download into the current directory "
  817. "the newest available version of that source package while respecting the "
  818. "default release, set with the option "
  819. "<literal>APT::Default-Release</literal>, the <option>-t</option> option or "
  820. "per package with the <literal>pkg/release</literal> syntax, if possible."
  821. msgstr ""
  822. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  823. #: apt-get.8.xml:1
  824. msgid ""
  825. "Source packages are tracked separately from binary packages via "
  826. "<literal>deb-src</literal> lines in the &sources-list; file. This means that "
  827. "you will need to add such a line for each repository you want to get sources "
  828. "from; otherwise you will probably get either the wrong (too old/too new) "
  829. "source versions or none at all."
  830. msgstr ""
  831. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  832. #: apt-get.8.xml:1
  833. msgid ""
  834. "If the <option>--compile</option> option is specified then the package will "
  835. "be compiled to a binary .deb using <command>dpkg-buildpackage</command> for "
  836. "the architecture as defined by the <command>--host-architecture</command> "
  837. "option. If <option>--download-only</option> is specified then the source "
  838. "package will not be unpacked."
  839. msgstr ""
  840. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  841. #: apt-get.8.xml:1
  842. msgid ""
  843. "A specific source version can be retrieved by postfixing the source name "
  844. "with an equals and then the version to fetch, similar to the mechanism used "
  845. "for the package files. This enables exact matching of the source package "
  846. "name and version, implicitly enabling the "
  847. "<literal>APT::Get::Only-Source</literal> option."
  848. msgstr ""
  849. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  850. #: apt-get.8.xml:1
  851. msgid ""
  852. "Note that source packages are not installed and tracked in the "
  853. "<command>dpkg</command> database like binary packages; they are simply "
  854. "downloaded to the current directory, like source tarballs."
  855. msgstr ""
  856. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  857. #: apt-get.8.xml:1
  858. msgid ""
  859. "<literal>build-dep</literal> causes apt-get to install/remove packages in an "
  860. "attempt to satisfy the build dependencies for a source package. By default "
  861. "the dependencies are satisfied to build the package natively. If desired a "
  862. "host-architecture can be specified with the "
  863. "<option>--host-architecture</option> option instead."
  864. msgstr ""
  865. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  866. #: apt-get.8.xml:1
  867. msgid ""
  868. "<literal>check</literal> is a diagnostic tool; it updates the package cache "
  869. "and checks for broken dependencies."
  870. msgstr ""
  871. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  872. #: apt-get.8.xml:1
  873. msgid ""
  874. "<literal>download</literal> will download the given binary package into the "
  875. "current directory."
  876. msgstr ""
  877. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  878. #: apt-get.8.xml:1
  879. msgid ""
  880. "<literal>clean</literal> clears out the local repository of retrieved "
  881. "package files. It removes everything but the lock file from "
  882. "<filename>&cachedir;/archives/</filename> and "
  883. "<filename>&cachedir;/archives/partial/</filename>."
  884. msgstr ""
  885. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
  886. #: apt-get.8.xml:1 apt-get.8.xml:1
  887. msgid "(and the"
  888. msgstr ""
  889. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
  890. #: apt-get.8.xml:1 apt-get.8.xml:1
  891. msgid "alias since 1.1)"
  892. msgstr ""
  893. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  894. #: apt-get.8.xml:1
  895. msgid ""
  896. "Like <literal>clean</literal>, <literal>autoclean</literal> clears out the "
  897. "local repository of retrieved package files. The difference is that it only "
  898. "removes package files that can no longer be downloaded, and are largely "
  899. "useless. This allows a cache to be maintained over a long period without it "
  900. "growing out of control. The configuration option "
  901. "<literal>APT::Clean-Installed</literal> will prevent installed packages from "
  902. "being erased if it is set to off."
  903. msgstr ""
  904. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  905. #: apt-get.8.xml:1
  906. msgid ""
  907. "<literal>autoremove</literal> is used to remove packages that were "
  908. "automatically installed to satisfy dependencies for other packages and are "
  909. "now no longer needed."
  910. msgstr ""
  911. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  912. #: apt-get.8.xml:1
  913. msgid ""
  914. "<literal>changelog</literal> tries to download the changelog of a package "
  915. "and displays it through <command>sensible-pager</command>. By default it "
  916. "displays the changelog for the version that is installed. However, you can "
  917. "specify the same options as for the <option>install</option> command."
  918. msgstr ""
  919. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  920. #: apt-get.8.xml:1
  921. msgid ""
  922. "Displays by default a deb822 formatted listing of information about all data "
  923. "files (aka index targets) <command>apt-get update</command> would "
  924. "download. Supports a <option>--format</option> option to modify the output "
  925. "format as well as accepts lines of the default output to filter the records "
  926. "by. The command is mainly used as an interface for external tools working "
  927. "with APT to get information as well as filenames for downloaded files so "
  928. "they can use them as well instead of downloading them again on their "
  929. "own. Detailed documentation is omitted here and can instead be found in the "
  930. "file &apt-acquire-additional-files; shipped by the "
  931. "<package>apt-doc</package> package."
  932. msgstr ""
  933. #. type: Content of: <refentry><refsect1><title>
  934. #: apt-get.8.xml:1 apt-cache.8.xml:1 apt-config.8.xml:1
  935. #: apt-extracttemplates.1.xml:1 apt-sortpkgs.1.xml:1 apt-ftparchive.1.xml:1
  936. msgid "options"
  937. msgstr ""
  938. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  939. #: apt-get.8.xml:1
  940. msgid ""
  941. "Do not consider recommended packages as a dependency for installing. "
  942. "Configuration Item: <literal>APT::Install-Recommends</literal>."
  943. msgstr ""
  944. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  945. #: apt-get.8.xml:1
  946. msgid ""
  947. "Consider suggested packages as a dependency for installing. Configuration "
  948. "Item: <literal>APT::Install-Suggests</literal>."
  949. msgstr ""
  950. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  951. #: apt-get.8.xml:1
  952. msgid ""
  953. "Download only; package files are only retrieved, not unpacked or installed. "
  954. "Configuration Item: <literal>APT::Get::Download-Only</literal>."
  955. msgstr ""
  956. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  957. #: apt-get.8.xml:1
  958. msgid ""
  959. "Fix; attempt to correct a system with broken dependencies in place. This "
  960. "option, when used with install/remove, can omit any packages to permit APT "
  961. "to deduce a likely solution. If packages are specified, these have to "
  962. "completely correct the problem. The option is sometimes necessary when "
  963. "running APT for the first time; APT itself does not allow broken package "
  964. "dependencies to exist on a system. It is possible that a system's dependency "
  965. "structure can be so corrupt as to require manual intervention (which usually "
  966. "means using <command>dpkg --remove</command> to eliminate some of the "
  967. "offending packages). Use of this option together with <option>-m</option> "
  968. "may produce an error in some situations. Configuration Item: "
  969. "<literal>APT::Get::Fix-Broken</literal>."
  970. msgstr ""
  971. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  972. #: apt-get.8.xml:1
  973. msgid ""
  974. "Ignore missing packages; if packages cannot be retrieved or fail the "
  975. "integrity check after retrieval (corrupted package files), hold back those "
  976. "packages and handle the result. Use of this option together with "
  977. "<option>-f</option> may produce an error in some situations. If a package is "
  978. "selected for installation (particularly if it is mentioned on the command "
  979. "line) and it could not be downloaded then it will be silently held back. "
  980. "Configuration Item: <literal>APT::Get::Fix-Missing</literal>."
  981. msgstr ""
  982. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  983. #: apt-get.8.xml:1
  984. msgid ""
  985. "Disables downloading of packages. This is best used with "
  986. "<option>--ignore-missing</option> to force APT to use only the .debs it has "
  987. "already downloaded. Configuration Item: "
  988. "<literal>APT::Get::Download</literal>."
  989. msgstr ""
  990. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  991. #: apt-get.8.xml:1
  992. msgid ""
  993. "Quiet; produces output suitable for logging, omitting progress indicators. "
  994. "More q's will produce more quiet up to a maximum of 2. You can also use "
  995. "<option>-q=#</option> to set the quiet level, overriding the configuration "
  996. "file. Note that quiet level 2 implies <option>-y</option>; you should never "
  997. "use -qq without a no-action modifier such as -d, --print-uris or -s as APT "
  998. "may decide to do something you did not expect. Configuration Item: "
  999. "<literal>quiet</literal>."
  1000. msgstr ""
  1001. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1002. #: apt-get.8.xml:1
  1003. msgid ""
  1004. "No action; perform a simulation of events that would occur based on the "
  1005. "current system state but do not actually change the system. Locking will be "
  1006. "disabled (<option>Debug::NoLocking</option>) so the system state could "
  1007. "change while <command>apt-get</command> is running. Simulations can also be "
  1008. "executed by non-root users which might not have read access to all apt "
  1009. "configuration distorting the simulation. A notice expressing this warning "
  1010. "is also shown by default for non-root users "
  1011. "(<option>APT::Get::Show-User-Simulation-Note</option>). Configuration Item: "
  1012. "<literal>APT::Get::Simulate</literal>."
  1013. msgstr ""
  1014. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1015. #: apt-get.8.xml:1
  1016. msgid ""
  1017. "Simulated runs print out a series of lines, each representing a "
  1018. "<command>dpkg</command> operation: configure (<literal>Conf</literal>), "
  1019. "remove (<literal>Remv</literal>) or unpack "
  1020. "(<literal>Inst</literal>). Square brackets indicate broken packages, and "
  1021. "empty square brackets indicate breaks that are of no consequence (rare)."
  1022. msgstr ""
  1023. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1024. #: apt-get.8.xml:1
  1025. msgid ""
  1026. "Automatic yes to prompts; assume \"yes\" as answer to all prompts and run "
  1027. "non-interactively. If an undesirable situation, such as changing a held "
  1028. "package, trying to install a unauthenticated package or removing an "
  1029. "essential package occurs then <literal>apt-get</literal> will abort. "
  1030. "Configuration Item: <literal>APT::Get::Assume-Yes</literal>."
  1031. msgstr ""
  1032. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1033. #: apt-get.8.xml:1
  1034. msgid ""
  1035. "Automatic \"no\" to all prompts. Configuration Item: "
  1036. "<literal>APT::Get::Assume-No</literal>."
  1037. msgstr ""
  1038. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1039. #: apt-get.8.xml:1
  1040. msgid ""
  1041. "Do not show a list of all packages that are to be upgraded. Configuration "
  1042. "Item: <literal>APT::Get::Show-Upgraded</literal>."
  1043. msgstr ""
  1044. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1045. #: apt-get.8.xml:1
  1046. msgid ""
  1047. "Show full versions for upgraded and installed packages. Configuration Item: "
  1048. "<literal>APT::Get::Show-Versions</literal>."
  1049. msgstr ""
  1050. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1051. #: apt-get.8.xml:1
  1052. msgid ""
  1053. "This option controls the architecture packages are built for by "
  1054. "<command>apt-get source --compile</command> and how cross-builddependencies "
  1055. "are satisfied. By default is it not set which means that the host "
  1056. "architecture is the same as the build architecture (which is defined by "
  1057. "<literal>APT::Architecture</literal>). Configuration Item: "
  1058. "<literal>APT::Get::Host-Architecture</literal>."
  1059. msgstr ""
  1060. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1061. #: apt-get.8.xml:1
  1062. msgid ""
  1063. "This option controls the activated build profiles for which a source package "
  1064. "is built by <command>apt-get source --compile</command> and how build "
  1065. "dependencies are satisfied. By default no build profile is active. More "
  1066. "than one build profile can be activated at a time by concatenating them with "
  1067. "a comma. Configuration Item: <literal>APT::Build-Profiles</literal>."
  1068. msgstr ""
  1069. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1070. #: apt-get.8.xml:1
  1071. msgid ""
  1072. "Compile source packages after downloading them. Configuration Item: "
  1073. "<literal>APT::Get::Compile</literal>."
  1074. msgstr ""
  1075. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1076. #: apt-get.8.xml:1
  1077. msgid ""
  1078. "Ignore package holds; this causes <command>apt-get</command> to ignore a "
  1079. "hold placed on a package. This may be useful in conjunction with "
  1080. "<literal>dist-upgrade</literal> to override a large number of undesired "
  1081. "holds. Configuration Item: <literal>APT::Ignore-Hold</literal>."
  1082. msgstr ""
  1083. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1084. #: apt-get.8.xml:1
  1085. msgid ""
  1086. "Allow installing new packages when used in conjunction with "
  1087. "<literal>upgrade</literal>. This is useful if the update of a installed "
  1088. "package requires new dependencies to be installed. Instead of holding the "
  1089. "package back <literal>upgrade</literal> will upgrade the package and install "
  1090. "the new dependencies. Note that <literal>upgrade</literal> with this option "
  1091. "will never remove packages, only allow adding new ones. Configuration Item: "
  1092. "<literal>APT::Get::Upgrade-Allow-New</literal>."
  1093. msgstr ""
  1094. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1095. #: apt-get.8.xml:1
  1096. msgid ""
  1097. "Do not upgrade packages; when used in conjunction with "
  1098. "<literal>install</literal>, <literal>no-upgrade</literal> will prevent "
  1099. "packages on the command line from being upgraded if they are already "
  1100. "installed. Configuration Item: <literal>APT::Get::Upgrade</literal>."
  1101. msgstr ""
  1102. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1103. #: apt-get.8.xml:1
  1104. msgid ""
  1105. "Do not install new packages; when used in conjunction with "
  1106. "<literal>install</literal>, <literal>only-upgrade</literal> will install "
  1107. "upgrades for already installed packages only and ignore requests to install "
  1108. "new packages. Configuration Item: "
  1109. "<literal>APT::Get::Only-Upgrade</literal>."
  1110. msgstr ""
  1111. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1112. #: apt-get.8.xml:1
  1113. msgid ""
  1114. "This is a dangerous option that will cause apt to continue without prompting "
  1115. "if it is doing downgrades. It should not be used except in very special "
  1116. "situations. Using it can potentially destroy your system! Configuration "
  1117. "Item: <literal>APT::Get::allow-downgrades</literal>. Introduced in APT 1.1."
  1118. msgstr ""
  1119. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1120. #: apt-get.8.xml:1
  1121. msgid ""
  1122. "Force yes; this is a dangerous option that will cause apt to continue "
  1123. "without prompting if it is removing essentials. It should not be used except "
  1124. "in very special situations. Using it can potentially destroy your system! "
  1125. "Configuration Item: "
  1126. "<literal>APT::Get::allow-remove-essential</literal>. Introduced in APT 1.1."
  1127. msgstr ""
  1128. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1129. #: apt-get.8.xml:1
  1130. msgid ""
  1131. "Force yes; this is a dangerous option that will cause apt to continue "
  1132. "without prompting if it is changing held packages. It should not be used "
  1133. "except in very special situations. Using it can potentially destroy your "
  1134. "system! Configuration Item: "
  1135. "<literal>APT::Get::allow-change-held-packages</literal>. Introduced in APT "
  1136. "1.1."
  1137. msgstr ""
  1138. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1139. #: apt-get.8.xml:1
  1140. msgid ""
  1141. "Force yes; this is a dangerous option that will cause apt to continue "
  1142. "without prompting if it is doing something potentially harmful. It should "
  1143. "not be used except in very special situations. Using "
  1144. "<literal>force-yes</literal> can potentially destroy your system! "
  1145. "Configuration Item: <literal>APT::Get::force-yes</literal>. This is "
  1146. "deprecated and replaced by <option>--allow-downgrades</option>, "
  1147. "<option>--allow-remove-essential</option>, "
  1148. "<option>--allow-change-held-packages</option> in 1.1."
  1149. msgstr ""
  1150. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1151. #: apt-get.8.xml:1
  1152. msgid ""
  1153. "Instead of fetching the files to install their URIs are printed. Each URI "
  1154. "will have the path, the destination file name, the size and the expected MD5 "
  1155. "hash. Note that the file name to write to will not always match the file "
  1156. "name on the remote site! This also works with the <literal>source</literal> "
  1157. "and <literal>update</literal> commands. When used with the "
  1158. "<literal>update</literal> command the MD5 and size are not included, and it "
  1159. "is up to the user to decompress any compressed files. Configuration Item: "
  1160. "<literal>APT::Get::Print-URIs</literal>."
  1161. msgstr ""
  1162. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1163. #: apt-get.8.xml:1
  1164. msgid ""
  1165. "Use purge instead of remove for anything that would be removed. An asterisk "
  1166. "(\"*\") will be displayed next to packages which are scheduled to be "
  1167. "purged. <option>remove --purge</option> is equivalent to the "
  1168. "<option>purge</option> command. Configuration Item: "
  1169. "<literal>APT::Get::Purge</literal>."
  1170. msgstr ""
  1171. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1172. #: apt-get.8.xml:1
  1173. msgid ""
  1174. "Re-install packages that are already installed and at the newest version. "
  1175. "Configuration Item: <literal>APT::Get::ReInstall</literal>."
  1176. msgstr ""
  1177. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1178. #: apt-get.8.xml:1
  1179. msgid ""
  1180. "This option is on by default; use <literal>--no-list-cleanup</literal> to "
  1181. "turn it off. When it is on, <command>apt-get</command> will automatically "
  1182. "manage the contents of <filename>&statedir;/lists</filename> to ensure that "
  1183. "obsolete files are erased. The only reason to turn it off is if you "
  1184. "frequently change your sources list. Configuration Item: "
  1185. "<literal>APT::Get::List-Cleanup</literal>."
  1186. msgstr ""
  1187. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1188. #: apt-get.8.xml:1
  1189. msgid ""
  1190. "This option controls the default input to the policy engine; it creates a "
  1191. "default pin at priority 990 using the specified release string. This "
  1192. "overrides the general settings in "
  1193. "<filename>/etc/apt/preferences</filename>. Specifically pinned packages are "
  1194. "not affected by the value of this option. In short, this option lets you "
  1195. "have simple control over which distribution packages will be retrieved "
  1196. "from. Some common examples might be <option>-t '2.1*'</option>, <option>-t "
  1197. "unstable</option> or <option>-t sid</option>. Configuration Item: "
  1198. "<literal>APT::Default-Release</literal>; see also the &apt-preferences; "
  1199. "manual page."
  1200. msgstr ""
  1201. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1202. #: apt-get.8.xml:1
  1203. msgid ""
  1204. "Only perform operations that are 'trivial'. Logically this can be considered "
  1205. "related to <option>--assume-yes</option>; where "
  1206. "<option>--assume-yes</option> will answer yes to any prompt, "
  1207. "<option>--trivial-only</option> will answer no. Configuration Item: "
  1208. "<literal>APT::Get::Trivial-Only</literal>."
  1209. msgstr ""
  1210. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1211. #: apt-get.8.xml:1
  1212. msgid ""
  1213. "If any packages are to be removed apt-get immediately aborts without "
  1214. "prompting. Configuration Item: <literal>APT::Get::Remove</literal>."
  1215. msgstr ""
  1216. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1217. #: apt-get.8.xml:1
  1218. msgid ""
  1219. "If the command is either <literal>install</literal> or "
  1220. "<literal>remove</literal>, then this option acts like running the "
  1221. "<literal>autoremove</literal> command, removing unused dependency "
  1222. "packages. Configuration Item: <literal>APT::Get::AutomaticRemove</literal>."
  1223. msgstr ""
  1224. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1225. #: apt-get.8.xml:1
  1226. msgid ""
  1227. "Only has meaning for the <literal>source</literal> and "
  1228. "<literal>build-dep</literal> commands. Indicates that the given source "
  1229. "names are not to be mapped through the binary table. This means that if "
  1230. "this option is specified, these commands will only accept source package "
  1231. "names as arguments, rather than accepting binary package names and looking "
  1232. "up the corresponding source package. Configuration Item: "
  1233. "<literal>APT::Get::Only-Source</literal>."
  1234. msgstr ""
  1235. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1236. #: apt-get.8.xml:1
  1237. msgid ""
  1238. "Download only the diff, dsc, or tar file of a source archive. Configuration "
  1239. "Item: <literal>APT::Get::Diff-Only</literal>, "
  1240. "<literal>APT::Get::Dsc-Only</literal>, and "
  1241. "<literal>APT::Get::Tar-Only</literal>."
  1242. msgstr ""
  1243. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1244. #: apt-get.8.xml:1
  1245. msgid ""
  1246. "Only process architecture-dependent build-dependencies. Configuration Item: "
  1247. "<literal>APT::Get::Arch-Only</literal>."
  1248. msgstr ""
  1249. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1250. #: apt-get.8.xml:1
  1251. msgid ""
  1252. "Ignore if packages can't be authenticated and don't prompt about it. This "
  1253. "can be useful while working with local repositories, but is a huge security "
  1254. "risk if data authenticity isn't ensured in another way by the user itself. "
  1255. "The usage of the <option>Trusted</option> option for &sources-list; entries "
  1256. "should usually be preferred over this global override. Configuration Item: "
  1257. "<literal>APT::Get::AllowUnauthenticated</literal>."
  1258. msgstr ""
  1259. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1260. #: apt-get.8.xml:1
  1261. msgid ""
  1262. "Forbid the update command to acquire unverifiable data from configured "
  1263. "sources. APT will fail at the update command for repositories without valid "
  1264. "cryptographically signatures. See also &apt-secure; for details on the "
  1265. "concept and the implications. Configuration Item: "
  1266. "<literal>Acquire::AllowInsecureRepositories</literal>."
  1267. msgstr ""
  1268. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1269. #: apt-get.8.xml:1
  1270. msgid ""
  1271. "Show user friendly progress information in the terminal window when packages "
  1272. "are installed, upgraded or removed. For a machine parsable version of this "
  1273. "data see README.progress-reporting in the apt doc directory. Configuration "
  1274. "Item: <literal>Dpkg::Progress</literal> and "
  1275. "<literal>Dpkg::Progress-Fancy</literal>."
  1276. msgstr ""
  1277. #. type: Content of: <refentry><refsect1><title>
  1278. #: apt-get.8.xml:1 apt-cache.8.xml:1 apt-key.8.xml:1 apt-mark.8.xml:1
  1279. #: apt.conf.5.xml:1 apt_preferences.5.xml:1
  1280. msgid "Files"
  1281. msgstr ""
  1282. #. type: Content of: <refentry><refsect1><para>
  1283. #: apt-get.8.xml:1
  1284. msgid ""
  1285. "&apt-cache;, &apt-cdrom;, &dpkg;, &sources-list;, &apt-conf;, &apt-config;, "
  1286. "&apt-secure;, The APT User's guide in &guidesdir;, &apt-preferences;, the "
  1287. "APT Howto."
  1288. msgstr ""
  1289. #. type: Content of: <refentry><refsect1><para>
  1290. #: apt-get.8.xml:1
  1291. msgid ""
  1292. "<command>apt-get</command> returns zero on normal operation, decimal 100 on "
  1293. "error."
  1294. msgstr ""
  1295. #. type: Content of: <refentry><refnamediv><refpurpose>
  1296. #: apt-cache.8.xml:1
  1297. msgid "query the APT cache"
  1298. msgstr ""
  1299. #. type: Content of: <refentry><refsect1><para>
  1300. #: apt-cache.8.xml:1
  1301. msgid ""
  1302. "<command>apt-cache</command> performs a variety of operations on APT's "
  1303. "package cache. <command>apt-cache</command> does not manipulate the state of "
  1304. "the system but does provide operations to search and generate interesting "
  1305. "output from the package metadata. The metadata is acquired and updated via "
  1306. "the 'update' command of e.g. <command>apt-get</command>, so that it can be "
  1307. "outdated if the last update is too long ago, but in exchange "
  1308. "<command>apt-cache</command> works independently of the availability of the "
  1309. "configured sources (e.g. offline)."
  1310. msgstr ""
  1311. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1312. #: apt-cache.8.xml:1
  1313. msgid ""
  1314. "<literal>gencaches</literal> creates APT's package cache. This is done "
  1315. "implicitly by all commands needing this cache if it is missing or outdated."
  1316. msgstr ""
  1317. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option><replaceable>
  1318. #: apt-cache.8.xml:1 apt-cache.8.xml:1 apt-cache.8.xml:1 apt-cache.8.xml:1
  1319. #: apt-cache.8.xml:1 apt-cache.8.xml:1 apt-cache.8.xml:1 apt-cache.8.xml:1
  1320. msgid "&synopsis-pkg;"
  1321. msgstr ""
  1322. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1323. #: apt-cache.8.xml:1
  1324. msgid ""
  1325. "<literal>showpkg</literal> displays information about the packages listed on "
  1326. "the command line. Remaining arguments are package names. The available "
  1327. "versions and reverse dependencies of each package listed are listed, as well "
  1328. "as forward dependencies for each version. Forward (normal) dependencies are "
  1329. "those packages upon which the package in question depends; reverse "
  1330. "dependencies are those packages that depend upon the package in "
  1331. "question. Thus, forward dependencies must be satisfied for a package, but "
  1332. "reverse dependencies need not be. For instance, <command>apt-cache showpkg "
  1333. "libreadline2</command> would produce output similar to the following:"
  1334. msgstr ""
  1335. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><informalexample><programlisting>
  1336. #: apt-cache.8.xml:1
  1337. #, no-wrap
  1338. msgid ""
  1339. "Package: libreadline2\n"
  1340. "Versions: 2.1-12(/var/state/apt/lists/foo_Packages),\n"
  1341. "Reverse Depends: \n"
  1342. " libreadlineg2,libreadline2\n"
  1343. " libreadline2-altdev,libreadline2\n"
  1344. "Dependencies:\n"
  1345. "2.1-12 - libc5 (2 5.4.0-0) ncurses3.0 (0 (null))\n"
  1346. "Provides:\n"
  1347. "2.1-12 - \n"
  1348. "Reverse Provides: \n"
  1349. msgstr ""
  1350. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1351. #: apt-cache.8.xml:1
  1352. msgid ""
  1353. "Thus it may be seen that libreadline2, version 2.1-12, depends on libc5 and "
  1354. "ncurses3.0 which must be installed for libreadline2 to work. In turn, "
  1355. "libreadlineg2 and libreadline2-altdev depend on libreadline2. If "
  1356. "libreadline2 is installed, libc5 and ncurses3.0 (and ldso) must also be "
  1357. "installed; libreadlineg2 and libreadline2-altdev do not have to be "
  1358. "installed. For the specific meaning of the remainder of the output it is "
  1359. "best to consult the apt source code."
  1360. msgstr ""
  1361. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1362. #: apt-cache.8.xml:1
  1363. msgid ""
  1364. "<literal>stats</literal> displays some statistics about the cache. No "
  1365. "further arguments are expected. Statistics reported are:"
  1366. msgstr ""
  1367. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
  1368. #: apt-cache.8.xml:1
  1369. msgid ""
  1370. "<literal>Total package names</literal> is the number of package names found "
  1371. "in the cache."
  1372. msgstr ""
  1373. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
  1374. #: apt-cache.8.xml:1
  1375. msgid ""
  1376. "<literal>Normal packages</literal> is the number of regular, ordinary "
  1377. "package names; these are packages that bear a one-to-one correspondence "
  1378. "between their names and the names used by other packages for them in "
  1379. "dependencies. The majority of packages fall into this category."
  1380. msgstr ""
  1381. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
  1382. #: apt-cache.8.xml:1
  1383. msgid ""
  1384. "<literal>Pure virtual packages</literal> is the number of packages that "
  1385. "exist only as a virtual package name; that is, packages only \"provide\" the "
  1386. "virtual package name, and no package actually uses the name. For instance, "
  1387. "\"mail-transport-agent\" in the Debian system is a pure virtual package; "
  1388. "several packages provide \"mail-transport-agent\", but there is no package "
  1389. "named \"mail-transport-agent\"."
  1390. msgstr ""
  1391. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
  1392. #: apt-cache.8.xml:1
  1393. msgid ""
  1394. "<literal>Single virtual packages</literal> is the number of packages with "
  1395. "only one package providing a particular virtual package. For example, in the "
  1396. "Debian system, \"X11-text-viewer\" is a virtual package, but only one "
  1397. "package, xless, provides \"X11-text-viewer\"."
  1398. msgstr ""
  1399. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
  1400. #: apt-cache.8.xml:1
  1401. msgid ""
  1402. "<literal>Mixed virtual packages</literal> is the number of packages that "
  1403. "either provide a particular virtual package or have the virtual package name "
  1404. "as the package name. For instance, in the Debian system, \"debconf\" is both "
  1405. "an actual package, and provided by the debconf-tiny package."
  1406. msgstr ""
  1407. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
  1408. #: apt-cache.8.xml:1
  1409. msgid ""
  1410. "<literal>Missing</literal> is the number of package names that were "
  1411. "referenced in a dependency but were not provided by any package. Missing "
  1412. "packages may be an evidence if a full distribution is not accessed, or if a "
  1413. "package (real or virtual) has been dropped from the distribution. Usually "
  1414. "they are referenced from Conflicts or Breaks statements."
  1415. msgstr ""
  1416. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
  1417. #: apt-cache.8.xml:1
  1418. msgid ""
  1419. "<literal>Total distinct</literal> versions is the number of package versions "
  1420. "found in the cache. If more than one distribution is being accessed (for "
  1421. "instance, \"stable\" and \"unstable\"), this value can be considerably "
  1422. "larger than the number of total package names."
  1423. msgstr ""
  1424. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
  1425. #: apt-cache.8.xml:1
  1426. msgid ""
  1427. "<literal>Total dependencies</literal> is the number of dependency "
  1428. "relationships claimed by all of the packages in the cache."
  1429. msgstr ""
  1430. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1431. #: apt-cache.8.xml:1
  1432. msgid ""
  1433. "<literal>showsrc</literal> displays all the source package records that "
  1434. "match the given package names. All versions are shown, as well as all "
  1435. "records that declare the name to be a binary package. Use "
  1436. "<option>--only-source</option> to display only source package names."
  1437. msgstr ""
  1438. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1439. #: apt-cache.8.xml:1
  1440. msgid ""
  1441. "<literal>dump</literal> shows a short listing of every package in the "
  1442. "cache. It is primarily for debugging."
  1443. msgstr ""
  1444. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1445. #: apt-cache.8.xml:1
  1446. msgid ""
  1447. "<literal>dumpavail</literal> prints out an available list to stdout. This is "
  1448. "suitable for use with &dpkg; and is used by the &dselect; method."
  1449. msgstr ""
  1450. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1451. #: apt-cache.8.xml:1
  1452. msgid ""
  1453. "<literal>unmet</literal> displays a summary of all unmet dependencies in the "
  1454. "package cache."
  1455. msgstr ""
  1456. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1457. #: apt-cache.8.xml:1
  1458. msgid ""
  1459. "<literal>show</literal> performs a function similar to <command>dpkg "
  1460. "--print-avail</command>; it displays the package records for the named "
  1461. "packages."
  1462. msgstr ""
  1463. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option><replaceable>
  1464. #: apt-cache.8.xml:1
  1465. msgid "&synopsis-regex;"
  1466. msgstr ""
  1467. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1468. #: apt-cache.8.xml:1
  1469. msgid ""
  1470. "<literal>search</literal> performs a full text search on all available "
  1471. "package lists for the POSIX regex pattern given, see &regex;. It searches "
  1472. "the package names and the descriptions for an occurrence of the regular "
  1473. "expression and prints out the package name and the short description, "
  1474. "including virtual package names. If <option>--full</option> is given then "
  1475. "output identical to <literal>show</literal> is produced for each matched "
  1476. "package, and if <option>--names-only</option> is given then the long "
  1477. "description is not searched, only the package name and provided packages "
  1478. "are."
  1479. msgstr ""
  1480. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1481. #: apt-cache.8.xml:1
  1482. msgid ""
  1483. "Separate arguments can be used to specify multiple search patterns that are "
  1484. "and'ed together."
  1485. msgstr ""
  1486. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1487. #: apt-cache.8.xml:1
  1488. msgid ""
  1489. "<literal>depends</literal> shows a listing of each dependency a package has "
  1490. "and all the possible other packages that can fulfill that dependency."
  1491. msgstr ""
  1492. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1493. #: apt-cache.8.xml:1
  1494. msgid ""
  1495. "<literal>rdepends</literal> shows a listing of each reverse dependency a "
  1496. "package has."
  1497. msgstr ""
  1498. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
  1499. #: apt-cache.8.xml:1
  1500. msgid "<optional><replaceable>&synopsis-prefix;</replaceable></optional>"
  1501. msgstr ""
  1502. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1503. #: apt-cache.8.xml:1
  1504. msgid ""
  1505. "This command prints the name of each package APT knows. The optional "
  1506. "argument is a prefix match to filter the name list. The output is suitable "
  1507. "for use in a shell tab complete function and the output is generated "
  1508. "extremely quickly. This command is best used with the "
  1509. "<option>--generate</option> option."
  1510. msgstr ""
  1511. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1512. #: apt-cache.8.xml:1
  1513. msgid ""
  1514. "Note that a package which APT knows of is not necessarily available to "
  1515. "download, installable or installed, e.g. virtual packages are also listed in "
  1516. "the generated list."
  1517. msgstr ""
  1518. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1519. #: apt-cache.8.xml:1
  1520. msgid ""
  1521. "<literal>dotty</literal> takes a list of packages on the command line and "
  1522. "generates output suitable for use by dotty from the <ulink "
  1523. "url=\"http://www.research.att.com/sw/tools/graphviz/\">GraphViz</ulink> "
  1524. "package. The result will be a set of nodes and edges representing the "
  1525. "relationships between the packages. By default the given packages will trace "
  1526. "out all dependent packages; this can produce a very large graph. To limit "
  1527. "the output to only the packages listed on the command line, set the "
  1528. "<literal>APT::Cache::GivenOnly</literal> option."
  1529. msgstr ""
  1530. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1531. #: apt-cache.8.xml:1
  1532. msgid ""
  1533. "The resulting nodes will have several shapes; normal packages are boxes, "
  1534. "pure virtual packages are triangles, mixed virtual packages are diamonds, "
  1535. "missing packages are hexagons. Orange boxes mean recursion was stopped (leaf "
  1536. "packages), blue lines are pre-depends, green lines are conflicts."
  1537. msgstr ""
  1538. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1539. #: apt-cache.8.xml:1
  1540. msgid "Caution, dotty cannot graph larger sets of packages."
  1541. msgstr ""
  1542. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1543. #: apt-cache.8.xml:1
  1544. msgid ""
  1545. "The same as <literal>dotty</literal>, only for xvcg from the <ulink "
  1546. "url=\"http://rw4.cs.uni-sb.de/users/sander/html/gsvcg1.html\">VCG "
  1547. "tool</ulink>."
  1548. msgstr ""
  1549. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
  1550. #: apt-cache.8.xml:1
  1551. msgid "<optional><replaceable>&synopsis-pkg;</replaceable>…</optional>"
  1552. msgstr ""
  1553. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1554. #: apt-cache.8.xml:1
  1555. msgid ""
  1556. "<literal>policy</literal> is meant to help debug issues relating to the "
  1557. "preferences file. With no arguments it will print out the priorities of each "
  1558. "source. Otherwise it prints out detailed information about the priority "
  1559. "selection of the named package."
  1560. msgstr ""
  1561. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1562. #: apt-cache.8.xml:1
  1563. msgid ""
  1564. "<literal>apt-cache</literal>'s <literal>madison</literal> command attempts "
  1565. "to mimic the output format and a subset of the functionality of the Debian "
  1566. "archive management tool, <literal>madison</literal>. It displays available "
  1567. "versions of a package in a tabular format. Unlike the original "
  1568. "<literal>madison</literal>, it can only display information for the "
  1569. "architecture for which APT has retrieved package lists "
  1570. "(<literal>APT::Architecture</literal>)."
  1571. msgstr ""
  1572. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1573. #: apt-cache.8.xml:1
  1574. msgid ""
  1575. "Select the file to store the package cache. The package cache is the primary "
  1576. "cache used by all operations. Configuration Item: "
  1577. "<literal>Dir::Cache::pkgcache</literal>."
  1578. msgstr ""
  1579. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1580. #: apt-cache.8.xml:1
  1581. msgid ""
  1582. "Select the file to store the source cache. The source is used only by "
  1583. "<literal>gencaches</literal> and it stores a parsed version of the package "
  1584. "information from remote sources. When building the package cache the source "
  1585. "cache is used to avoid reparsing all of the package files. Configuration "
  1586. "Item: <literal>Dir::Cache::srcpkgcache</literal>."
  1587. msgstr ""
  1588. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1589. #: apt-cache.8.xml:1
  1590. msgid ""
  1591. "Quiet; produces output suitable for logging, omitting progress indicators. "
  1592. "More q's will produce more quietness up to a maximum of 2. You can also use "
  1593. "<option>-q=#</option> to set the quietness level, overriding the "
  1594. "configuration file. Configuration Item: <literal>quiet</literal>."
  1595. msgstr ""
  1596. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1597. #: apt-cache.8.xml:1
  1598. msgid ""
  1599. "Print only important dependencies; for use with <literal>unmet</literal> and "
  1600. "<literal>depends</literal>. Causes only Depends and Pre-Depends relations to "
  1601. "be printed. Configuration Item: <literal>APT::Cache::Important</literal>."
  1602. msgstr ""
  1603. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1604. #: apt-cache.8.xml:1
  1605. msgid ""
  1606. "Per default the <command>depends</command> and <command>rdepends</command> "
  1607. "print all dependencies. This can be tweaked with these flags which will omit "
  1608. "the specified dependency type. Configuration Item: "
  1609. "<literal>APT::Cache::Show<replaceable>DependencyType</replaceable></literal> "
  1610. "e.g. <literal>APT::Cache::ShowRecommends</literal>."
  1611. msgstr ""
  1612. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1613. #: apt-cache.8.xml:1
  1614. msgid ""
  1615. "Per default <command>depends</command> and <command>rdepends</command> print "
  1616. "only dependencies explicitly expressed in the metadata. With this flag it "
  1617. "will also show dependencies implicitly added based on the encountered data. "
  1618. "A <literal>Conflicts: foo</literal> e.g. expresses implicitly that this "
  1619. "package also conflicts with the package foo from any other architecture. "
  1620. "Configuration Item: <literal>APT::Cache::ShowImplicit</literal>."
  1621. msgstr ""
  1622. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1623. #: apt-cache.8.xml:1
  1624. msgid ""
  1625. "Print full package records when searching. Configuration Item: "
  1626. "<literal>APT::Cache::ShowFull</literal>."
  1627. msgstr ""
  1628. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1629. #: apt-cache.8.xml:1
  1630. msgid ""
  1631. "Print full records for all available versions. This is the default; to turn "
  1632. "it off, use <option>--no-all-versions</option>. If "
  1633. "<option>--no-all-versions</option> is specified, only the candidate version "
  1634. "will be displayed (the one which would be selected for installation). This "
  1635. "option is only applicable to the <literal>show</literal> command. "
  1636. "Configuration Item: <literal>APT::Cache::AllVersions</literal>."
  1637. msgstr ""
  1638. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1639. #: apt-cache.8.xml:1
  1640. msgid ""
  1641. "Perform automatic package cache regeneration, rather than use the cache as "
  1642. "it is. This is the default; to turn it off, use "
  1643. "<option>--no-generate</option>. Configuration Item: "
  1644. "<literal>APT::Cache::Generate</literal>."
  1645. msgstr ""
  1646. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1647. #: apt-cache.8.xml:1
  1648. msgid ""
  1649. "Only search on the package and provided package names, not the long "
  1650. "descriptions. Configuration Item: <literal>APT::Cache::NamesOnly</literal>."
  1651. msgstr ""
  1652. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1653. #: apt-cache.8.xml:1
  1654. msgid ""
  1655. "Make <literal>pkgnames</literal> print all names, including virtual packages "
  1656. "and missing dependencies. Configuration Item: "
  1657. "<literal>APT::Cache::AllNames</literal>."
  1658. msgstr ""
  1659. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1660. #: apt-cache.8.xml:1
  1661. msgid ""
  1662. "Make <literal>depends</literal> and <literal>rdepends</literal> recursive so "
  1663. "that all packages mentioned are printed once. Configuration Item: "
  1664. "<literal>APT::Cache::RecurseDepends</literal>."
  1665. msgstr ""
  1666. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1667. #: apt-cache.8.xml:1
  1668. msgid ""
  1669. "Limit the output of <literal>depends</literal> and "
  1670. "<literal>rdepends</literal> to packages which are currently installed. "
  1671. "Configuration Item: <literal>APT::Cache::Installed</literal>."
  1672. msgstr ""
  1673. #. type: Content of: <refentry><refsect1><para>
  1674. #: apt-cache.8.xml:1
  1675. msgid "&apt-conf;, &sources-list;, &apt-get;"
  1676. msgstr ""
  1677. #. type: Content of: <refentry><refsect1><para>
  1678. #: apt-cache.8.xml:1
  1679. msgid ""
  1680. "<command>apt-cache</command> returns zero on normal operation, decimal 100 "
  1681. "on error."
  1682. msgstr ""
  1683. #. type: Content of: <refentry><refnamediv><refpurpose>
  1684. #: apt-key.8.xml:1
  1685. msgid "APT key management utility"
  1686. msgstr ""
  1687. #. type: Content of: <refentry><refsect1><para>
  1688. #: apt-key.8.xml:1
  1689. msgid ""
  1690. "<command>apt-key</command> is used to manage the list of keys used by apt to "
  1691. "authenticate packages. Packages which have been authenticated using these "
  1692. "keys will be considered trusted."
  1693. msgstr ""
  1694. #. type: Content of: <refentry><refsect1><para>
  1695. #: apt-key.8.xml:1
  1696. msgid ""
  1697. "Note that if usage of <command>apt-key</command> is desired the additional "
  1698. "installation of the GNU Privacy Guard suite (packaged in "
  1699. "<package>gnupg</package>) is required. For this reason alone the programatic "
  1700. "usage (especially in package maintainerscripts!) is strongly discouraged. "
  1701. "Further more the output format of all commands is undefined and can and does "
  1702. "change whenever the underlying commands change. <command>apt-key</command> "
  1703. "will try to detect such usage and generates warnings on stderr in these "
  1704. "cases."
  1705. msgstr ""
  1706. #. type: Content of: <refentry><refsect1><title>
  1707. #: apt-key.8.xml:1
  1708. msgid "Commands"
  1709. msgstr ""
  1710. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1711. #: apt-key.8.xml:1
  1712. msgid ""
  1713. "Add a new key to the list of trusted keys. The key is read from the "
  1714. "filename given with the parameter &synopsis-param-filename; or if the "
  1715. "filename is <literal>-</literal> from standard input."
  1716. msgstr ""
  1717. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1718. #: apt-key.8.xml:1
  1719. msgid ""
  1720. "It is critical that keys added manually via <command>apt-key</command> are "
  1721. "verified to belong to the owner of the repositories they claim to be for "
  1722. "otherwise the &apt-secure; infrastructure is completely undermined."
  1723. msgstr ""
  1724. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1725. #: apt-key.8.xml:1
  1726. msgid ""
  1727. "Instead of using this command a keyring can be placed directly in the "
  1728. "<filename>/etc/apt/trusted.gpg.d/</filename> directory with a descriptive "
  1729. "name (same rules for filename apply as for &apt-conf; files) and "
  1730. "\"<literal>gpg</literal>\" as file extension."
  1731. msgstr ""
  1732. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1733. #: apt-key.8.xml:1
  1734. msgid "Remove a key from the list of trusted keys."
  1735. msgstr ""
  1736. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1737. #: apt-key.8.xml:1
  1738. msgid "Output the key &synopsis-param-keyid; to standard output."
  1739. msgstr ""
  1740. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1741. #: apt-key.8.xml:1
  1742. msgid "Output all trusted keys to standard output."
  1743. msgstr ""
  1744. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1745. #: apt-key.8.xml:1
  1746. msgid "List trusted keys with fingerprints."
  1747. msgstr ""
  1748. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1749. #: apt-key.8.xml:1
  1750. msgid ""
  1751. "Pass advanced options to gpg. With <command>adv --recv-key</command> you can "
  1752. "e.g. download key from keyservers directly into the the trusted set of "
  1753. "keys. Note that there are <emphasis>no</emphasis> checks performed, so it is "
  1754. "easy to completely undermine the &apt-secure; infrastructure if used without "
  1755. "care."
  1756. msgstr ""
  1757. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
  1758. #: apt-key.8.xml:1
  1759. msgid "(deprecated)"
  1760. msgstr ""
  1761. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1762. #: apt-key.8.xml:1
  1763. msgid ""
  1764. "Update the local keyring with the archive keyring and remove from the local "
  1765. "keyring the archive keys which are no longer valid. The archive keyring is "
  1766. "shipped in the <literal>archive-keyring</literal> package of your "
  1767. "distribution, e.g. the &keyring-package; package in &keyring-distro;."
  1768. msgstr ""
  1769. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1770. #: apt-key.8.xml:1
  1771. msgid ""
  1772. "Note that a distribution does not need to and in fact should not use this "
  1773. "command any longer and instead ship keyring files in the "
  1774. "<filename>/etc/apt/trusted.gpg</filename> directory directly as this avoids "
  1775. "a dependency on <package>gnupg</package> and it is easier to manage keys by "
  1776. "simply adding and removing files for maintainers and users alike."
  1777. msgstr ""
  1778. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1779. #: apt-key.8.xml:1
  1780. msgid ""
  1781. "Perform an update working similarly to the <command>update</command> command "
  1782. "above, but get the archive keyring from a URI instead and validate it "
  1783. "against a master key. This requires an installed &wget; and an APT build "
  1784. "configured to have a server to fetch from and a master keyring to validate. "
  1785. "APT in Debian does not support this command, relying on "
  1786. "<command>update</command> instead, but Ubuntu's APT does."
  1787. msgstr ""
  1788. #. type: Content of: <refentry><refsect1><title>
  1789. #: apt-key.8.xml:1 apt-mark.8.xml:1 apt-mark.8.xml:1 apt-cdrom.8.xml:1
  1790. msgid "Options"
  1791. msgstr ""
  1792. #. type: Content of: <refentry><refsect1><para>
  1793. #: apt-key.8.xml:1
  1794. msgid ""
  1795. "Note that options need to be defined before the commands described in the "
  1796. "previous section."
  1797. msgstr ""
  1798. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1799. #: apt-key.8.xml:1
  1800. msgid ""
  1801. "With this option it is possible to specify a particular keyring file the "
  1802. "command should operate on. The default is that a command is executed on the "
  1803. "<filename>trusted.gpg</filename> file as well as on all parts in the "
  1804. "<filename>trusted.gpg.d</filename> directory, though "
  1805. "<filename>trusted.gpg</filename> is the primary keyring which means that "
  1806. "e.g. new keys are added to this one."
  1807. msgstr ""
  1808. #. type: Content of: <refentry><refsect1><para>
  1809. #: apt-key.8.xml:1
  1810. msgid "&apt-get;, &apt-secure;"
  1811. msgstr ""
  1812. #. type: Content of: <refentry><refnamediv><refpurpose>
  1813. #: apt-mark.8.xml:1
  1814. msgid "show, set and unset various settings for a package"
  1815. msgstr ""
  1816. #. type: Content of: <refentry><refsect1><para>
  1817. #: apt-mark.8.xml:1
  1818. msgid ""
  1819. "<command>apt-mark</command> can be used as a unified front-end to set "
  1820. "various settings for a package, such as marking a package as being "
  1821. "automatically/manually installed or changing <command>dpkg</command> "
  1822. "selections such as hold, install, deinstall and purge which are respected "
  1823. "e.g. by <command>apt-get dselect-upgrade</command> or "
  1824. "<command>aptitude</command>."
  1825. msgstr ""
  1826. #. type: Content of: <refentry><refsect1><title>
  1827. #: apt-mark.8.xml:1
  1828. msgid "Automatically and Manually Installed Packages"
  1829. msgstr ""
  1830. #. type: Content of: <refentry><refsect1><para>
  1831. #: apt-mark.8.xml:1
  1832. msgid ""
  1833. "When you request that a package is installed, and as a result other packages "
  1834. "are installed to satisfy its dependencies, the dependencies are marked as "
  1835. "being automatically installed, while the package you installed explicitly is "
  1836. "marked as manually installed. Once an automatically installed package is no "
  1837. "longer depended on by any manually installed package it is considered no "
  1838. "longer needed and e.g. <command>apt-get</command> or "
  1839. "<command>aptitude</command> will at least suggest removing them."
  1840. msgstr ""
  1841. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1842. #: apt-mark.8.xml:1
  1843. msgid ""
  1844. "<literal>auto</literal> is used to mark a package as being automatically "
  1845. "installed, which will cause the package to be removed when no more manually "
  1846. "installed packages depend on this package."
  1847. msgstr ""
  1848. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1849. #: apt-mark.8.xml:1
  1850. msgid ""
  1851. "<literal>manual</literal> is used to mark a package as being manually "
  1852. "installed, which will prevent the package from being automatically removed "
  1853. "if no other packages depend on it."
  1854. msgstr ""
  1855. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1856. #: apt-mark.8.xml:1
  1857. msgid ""
  1858. "<literal>showauto</literal> is used to print a list of automatically "
  1859. "installed packages with each package on a new line. All automatically "
  1860. "installed packages will be listed if no package is given. If packages are "
  1861. "given only those which are automatically installed will be shown."
  1862. msgstr ""
  1863. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1864. #: apt-mark.8.xml:1
  1865. msgid ""
  1866. "<literal>showmanual</literal> can be used in the same way as "
  1867. "<literal>showauto</literal> except that it will print a list of manually "
  1868. "installed packages instead."
  1869. msgstr ""
  1870. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  1871. #: apt-mark.8.xml:1
  1872. msgid ""
  1873. "Read/Write package stats from the filename given with the parameter "
  1874. "&synopsis-param-filename; instead of from the default location, which is "
  1875. "<filename>extended_status</filename> in the directory defined by the "
  1876. "Configuration Item: <literal>Dir::State</literal>."
  1877. msgstr ""
  1878. #. type: Content of: <refentry><refsect1><title>
  1879. #: apt-mark.8.xml:1
  1880. msgid "Prevent Changes for a Package"
  1881. msgstr ""
  1882. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1883. #: apt-mark.8.xml:1
  1884. msgid ""
  1885. "<literal>hold</literal> is used to mark a package as held back, which will "
  1886. "prevent the package from being automatically installed, upgraded or removed."
  1887. msgstr ""
  1888. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1889. #: apt-mark.8.xml:1
  1890. msgid ""
  1891. "<literal>unhold</literal> is used to cancel a previously set hold on a "
  1892. "package to allow all actions again."
  1893. msgstr ""
  1894. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  1895. #: apt-mark.8.xml:1
  1896. msgid ""
  1897. "<literal>showhold</literal> is used to print a list of packages on hold in "
  1898. "the same way as for the other show commands."
  1899. msgstr ""
  1900. #. type: Content of: <refentry><refsect1><title>
  1901. #: apt-mark.8.xml:1
  1902. msgid "Schedule Packages for Install, Remove and Purge"
  1903. msgstr ""
  1904. #. type: Content of: <refentry><refsect1><para>
  1905. #: apt-mark.8.xml:1
  1906. msgid ""
  1907. "Some front-ends like <command>apt-get dselect-upgrade</command> can be used "
  1908. "to apply previously scheduled changes to the install state of packages. Such "
  1909. "changes can be scheduled with the <option>install</option>, "
  1910. "<option>remove</option> (also known as <option>deinstall</option>) and "
  1911. "<option>purge</option> commands. Packages with a specific selection can be "
  1912. "displayed with <option>showinstall</option>, <option>showremove</option> and "
  1913. "<option>showpurge</option> respectively. More information about these so "
  1914. "called dpkg selections can be found in &dpkg;."
  1915. msgstr ""
  1916. #. type: Content of: <refentry><refsect1><para>
  1917. #: apt-mark.8.xml:1
  1918. msgid ""
  1919. "<command>apt-mark</command> returns zero on normal operation, non-zero on "
  1920. "error."
  1921. msgstr ""
  1922. #. type: Content of: <refentry><refnamediv><refpurpose>
  1923. #: apt-secure.8.xml:1
  1924. msgid "Archive authentication support for APT"
  1925. msgstr ""
  1926. #. type: Content of: <refentry><refsect1><para>
  1927. #: apt-secure.8.xml:1
  1928. msgid ""
  1929. "Starting with version 0.6, <command>APT</command> contains code that does "
  1930. "signature checking of the Release file for all repositories. This ensures "
  1931. "that data like packages in the archive can't be modified by people who have "
  1932. "no access to the Release file signing key. Starting with version 1.1 "
  1933. "<command>APT</command> requires repositories to provide recent "
  1934. "authentication information for unimpeded usage of the repository."
  1935. msgstr ""
  1936. #. type: Content of: <refentry><refsect1><para>
  1937. #: apt-secure.8.xml:1
  1938. msgid ""
  1939. "If an archive has an unsigned Release file or no Release file at all current "
  1940. "APT versions will refuse to download data from them by default in "
  1941. "<command>update</command> operations and even if forced to download "
  1942. "front-ends like &apt-get; will require explicit confirmation if an "
  1943. "installation request includes a package from such an unauthenticated "
  1944. "archive."
  1945. msgstr ""
  1946. #. type: Content of: <refentry><refsect1><para>
  1947. #: apt-secure.8.xml:1
  1948. msgid ""
  1949. "As a temporary exception &apt-get; (not &apt;!) raises warnings only if it "
  1950. "encounters unauthenticated archives to give a slightly longer grace period "
  1951. "on this backward compatibility effecting change. This exception will be "
  1952. "removed in future releases and you can opt-out of this grace period by "
  1953. "setting the configuration option "
  1954. "<option>Binary::apt-get::Acquire::AllowInsecureRepositories</option> to "
  1955. "<literal>false</literal> or "
  1956. "<option>--no-allow-insecure-repositories</option> on the command line."
  1957. msgstr ""
  1958. #. type: Content of: <refentry><refsect1><para>
  1959. #: apt-secure.8.xml:1
  1960. msgid ""
  1961. "You can force all APT clients to raise only warnings by setting the "
  1962. "configuration option <option>Acquire::AllowInsecureRepositories</option> to "
  1963. "<literal>true</literal>. Individual repositories can also be allowed to be "
  1964. "insecure via the &sources-list; option "
  1965. "<literal>allow-insecure=yes</literal>. Note that insecure repositories are "
  1966. "strongly discouraged and all options to force apt to continue supporting "
  1967. "them will eventually be removed. Users also have the "
  1968. "<option>Trusted</option> option available to disable even the warnings, but "
  1969. "be sure to understand the implications as detailed in &sources-list;."
  1970. msgstr ""
  1971. #. type: Content of: <refentry><refsect1><para>
  1972. #: apt-secure.8.xml:1
  1973. msgid ""
  1974. "A repository which previously was authentication but would loose this state "
  1975. "in an <command>update</command> operation raises an error in all APT clients "
  1976. "irrespective of the option to allow or forbid usage of insecure "
  1977. "repositories. The error can be overcome by additionally setting "
  1978. "<option>Acquire::AllowDowngradeToInsecureRepositories</option> to "
  1979. "<literal>true</literal> or for Individual repositories with the "
  1980. "&sources-list; option <literal>allow-downgrade-to-insecure=yes</literal>."
  1981. msgstr ""
  1982. #. type: Content of: <refentry><refsect1><para>
  1983. #: apt-secure.8.xml:1
  1984. msgid ""
  1985. "Note: All APT-based package management front-ends like &apt-get;, &aptitude; "
  1986. "and &synaptic; support this authentication feature, so this manpage uses "
  1987. "<literal>APT</literal> to refer to them all for simplicity only."
  1988. msgstr ""
  1989. #. type: Content of: <refentry><refsect1><title>
  1990. #: apt-secure.8.xml:1
  1991. msgid "Trusted Repositories"
  1992. msgstr ""
  1993. #. type: Content of: <refentry><refsect1><para>
  1994. #: apt-secure.8.xml:1
  1995. msgid ""
  1996. "The chain of trust from an APT archive to the end user is made up of several "
  1997. "steps. <command>apt-secure</command> is the last step in this chain; "
  1998. "trusting an archive does not mean that you trust its packages not to contain "
  1999. "malicious code, but means that you trust the archive maintainer. It's the "
  2000. "archive maintainer's responsibility to ensure that the archive's integrity "
  2001. "is preserved."
  2002. msgstr ""
  2003. #. type: Content of: <refentry><refsect1><para>
  2004. #: apt-secure.8.xml:1
  2005. msgid ""
  2006. "apt-secure does not review signatures at a package level. If you require "
  2007. "tools to do this you should look at <command>debsig-verify</command> and "
  2008. "<command>debsign</command> (provided in the debsig-verify and devscripts "
  2009. "packages respectively)."
  2010. msgstr ""
  2011. #. type: Content of: <refentry><refsect1><para>
  2012. #: apt-secure.8.xml:1
  2013. msgid ""
  2014. "The chain of trust in Debian starts (e.g.) when a maintainer uploads a new "
  2015. "package or a new version of a package to the Debian archive. In order to "
  2016. "become effective, this upload needs to be signed by a key contained in one "
  2017. "of the Debian package maintainer keyrings (available in the debian-keyring "
  2018. "package). Maintainers' keys are signed by other maintainers following "
  2019. "pre-established procedures to ensure the identity of the key holder. Similar "
  2020. "procedures exist in all Debian-based distributions."
  2021. msgstr ""
  2022. #. type: Content of: <refentry><refsect1><para>
  2023. #: apt-secure.8.xml:1
  2024. msgid ""
  2025. "Once the uploaded package is verified and included in the archive, the "
  2026. "maintainer signature is stripped off, and checksums of the package are "
  2027. "computed and put in the Packages file. The checksums of all of the Packages "
  2028. "files are then computed and put into the Release file. The Release file is "
  2029. "then signed by the archive key for this &keyring-distro; release, and "
  2030. "distributed alongside the packages and the Packages files on "
  2031. "&keyring-distro; mirrors. The keys are in the &keyring-distro; archive "
  2032. "keyring available in the &keyring-package; package."
  2033. msgstr ""
  2034. #. type: Content of: <refentry><refsect1><para>
  2035. #: apt-secure.8.xml:1
  2036. msgid ""
  2037. "End users can check the signature of the Release file, extract a checksum of "
  2038. "a package from it and compare it with the checksum of the package they "
  2039. "downloaded by hand - or rely on APT doing this automatically."
  2040. msgstr ""
  2041. #. type: Content of: <refentry><refsect1><para>
  2042. #: apt-secure.8.xml:1
  2043. msgid ""
  2044. "Notice that this is distinct from checking signatures on a per package "
  2045. "basis. It is designed to prevent two possible attacks:"
  2046. msgstr ""
  2047. #. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
  2048. #: apt-secure.8.xml:1
  2049. msgid ""
  2050. "<literal>Network \"man in the middle\" attacks</literal>. Without signature "
  2051. "checking, malicious agents can introduce themselves into the package "
  2052. "download process and provide malicious software either by controlling a "
  2053. "network element (router, switch, etc.) or by redirecting traffic to a rogue "
  2054. "server (through ARP or DNS spoofing attacks)."
  2055. msgstr ""
  2056. #. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
  2057. #: apt-secure.8.xml:1
  2058. msgid ""
  2059. "<literal>Mirror network compromise</literal>. Without signature checking, a "
  2060. "malicious agent can compromise a mirror host and modify the files in it to "
  2061. "propagate malicious software to all users downloading packages from that "
  2062. "host."
  2063. msgstr ""
  2064. #. type: Content of: <refentry><refsect1><para>
  2065. #: apt-secure.8.xml:1
  2066. msgid ""
  2067. "However, it does not defend against a compromise of the master server itself "
  2068. "(which signs the packages) or against a compromise of the key used to sign "
  2069. "the Release files. In any case, this mechanism can complement a per-package "
  2070. "signature."
  2071. msgstr ""
  2072. #. type: Content of: <refentry><refsect1><title>
  2073. #: apt-secure.8.xml:1
  2074. msgid "User Configuration"
  2075. msgstr ""
  2076. #. type: Content of: <refentry><refsect1><para>
  2077. #: apt-secure.8.xml:1
  2078. msgid ""
  2079. "<command>apt-key</command> is the program that manages the list of keys used "
  2080. "by APT to trust repositories. It can be used to add or remove keys as well "
  2081. "as list the trusted keys. Limiting which key(s) are able to sign which "
  2082. "archive is possible via the <option>Signed-By</option> in &sources-list;."
  2083. msgstr ""
  2084. #. type: Content of: <refentry><refsect1><para>
  2085. #: apt-secure.8.xml:1
  2086. msgid ""
  2087. "Note that a default installation already contains all keys to securely "
  2088. "acquire packages from the default repositories, so fiddling with "
  2089. "<command>apt-key</command> is only needed if third-party repositories are "
  2090. "added."
  2091. msgstr ""
  2092. #. type: Content of: <refentry><refsect1><para>
  2093. #: apt-secure.8.xml:1
  2094. msgid ""
  2095. "In order to add a new key you need to first download it (you should make "
  2096. "sure you are using a trusted communication channel when retrieving it), add "
  2097. "it with <command>apt-key</command> and then run <command>apt-get "
  2098. "update</command> so that apt can download and verify the "
  2099. "<filename>InRelease</filename> or <filename>Release.gpg</filename> files "
  2100. "from the archives you have configured."
  2101. msgstr ""
  2102. #. type: Content of: <refentry><refsect1><title>
  2103. #: apt-secure.8.xml:1
  2104. msgid "Archive Configuration"
  2105. msgstr ""
  2106. #. type: Content of: <refentry><refsect1><para>
  2107. #: apt-secure.8.xml:1
  2108. msgid ""
  2109. "If you want to provide archive signatures in an archive under your "
  2110. "maintenance you have to:"
  2111. msgstr ""
  2112. #. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
  2113. #: apt-secure.8.xml:1
  2114. msgid ""
  2115. "<emphasis>Create a toplevel Release file</emphasis>, if it does not exist "
  2116. "already. You can do this by running <command>apt-ftparchive "
  2117. "release</command> (provided in apt-utils)."
  2118. msgstr ""
  2119. #. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
  2120. #: apt-secure.8.xml:1
  2121. msgid ""
  2122. "<emphasis>Sign it</emphasis>. You can do this by running <command>gpg "
  2123. "--clearsign -o InRelease Release</command> and <command>gpg -abs -o "
  2124. "Release.gpg Release</command>."
  2125. msgstr ""
  2126. #. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
  2127. #: apt-secure.8.xml:1
  2128. msgid ""
  2129. "<emphasis>Publish the key fingerprint</emphasis>, so that your users will "
  2130. "know what key they need to import in order to authenticate the files in the "
  2131. "archive. It is best to ship your key in its own keyring package like "
  2132. "&keyring-distro; does with &keyring-package; to be able to distribute "
  2133. "updates and key transitions automatically later."
  2134. msgstr ""
  2135. #. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
  2136. #: apt-secure.8.xml:1
  2137. msgid ""
  2138. "<emphasis>Provide instructions on how to add your archive and "
  2139. "key</emphasis>. If your users can't acquire your key securely the chain of "
  2140. "trust described above is broken. How you can help users add your key "
  2141. "depends on your archive and target audience ranging from having your keyring "
  2142. "package included in another archive users already have configured (like the "
  2143. "default repositories of their distribution) to leveraging the web of trust."
  2144. msgstr ""
  2145. #. type: Content of: <refentry><refsect1><para>
  2146. #: apt-secure.8.xml:1
  2147. msgid ""
  2148. "Whenever the contents of the archive change (new packages are added or "
  2149. "removed) the archive maintainer has to follow the first two steps outlined "
  2150. "above."
  2151. msgstr ""
  2152. #. type: Content of: <refentry><refsect1><para>
  2153. #: apt-secure.8.xml:1
  2154. msgid ""
  2155. "&apt-conf;, &apt-get;, &sources-list;, &apt-key;, &apt-ftparchive;, "
  2156. "&debsign;, &debsig-verify;, &gpg;"
  2157. msgstr ""
  2158. #. type: Content of: <refentry><refsect1><para>
  2159. #: apt-secure.8.xml:1
  2160. msgid ""
  2161. "For more background information you might want to review the <ulink "
  2162. "url=\"https://www.debian.org/doc/manuals/securing-debian-howto/ch7\">Debian "
  2163. "Security Infrastructure</ulink> chapter of the Securing Debian Manual (also "
  2164. "available in the harden-doc package) and the <ulink "
  2165. "url=\"http://www.cryptnet.net/fdp/crypto/strong_distro.html\" >Strong "
  2166. "Distribution HOWTO</ulink> by V. Alex Brennen."
  2167. msgstr ""
  2168. #. type: Content of: <refentry><refsect1><title>
  2169. #: apt-secure.8.xml:1
  2170. msgid "Manpage Authors"
  2171. msgstr ""
  2172. #. type: Content of: <refentry><refsect1><para>
  2173. #: apt-secure.8.xml:1
  2174. msgid ""
  2175. "This man-page is based on the work of Javier Fernández-Sanguino Peña, Isaac "
  2176. "Jones, Colin Walters, Florian Weimer and Michael Vogt."
  2177. msgstr ""
  2178. #. type: Content of: <refentry><refnamediv><refpurpose>
  2179. #: apt-cdrom.8.xml:1
  2180. msgid "APT CD-ROM management utility"
  2181. msgstr ""
  2182. #. type: Content of: <refentry><refsect1><para>
  2183. #: apt-cdrom.8.xml:1
  2184. msgid ""
  2185. "<command>apt-cdrom</command> is used to add a new CD-ROM to APT's list of "
  2186. "available sources. <command>apt-cdrom</command> takes care of determining "
  2187. "the structure of the disc as well as correcting for several possible "
  2188. "mis-burns and verifying the index files."
  2189. msgstr ""
  2190. #. type: Content of: <refentry><refsect1><para>
  2191. #: apt-cdrom.8.xml:1
  2192. msgid ""
  2193. "It is necessary to use <command>apt-cdrom</command> to add CDs to the APT "
  2194. "system; it cannot be done by hand. Furthermore each disc in a multi-CD set "
  2195. "must be inserted and scanned separately to account for possible mis-burns."
  2196. msgstr ""
  2197. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2198. #: apt-cdrom.8.xml:1
  2199. msgid ""
  2200. "<literal>add</literal> is used to add a new disc to the source list. It will "
  2201. "unmount the CD-ROM device, prompt for a disc to be inserted and then proceed "
  2202. "to scan it and copy the index files. If the disc does not have a proper "
  2203. "<filename>.disk</filename> directory you will be prompted for a descriptive "
  2204. "title."
  2205. msgstr ""
  2206. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2207. #: apt-cdrom.8.xml:1
  2208. msgid ""
  2209. "APT uses a CD-ROM ID to track which disc is currently in the drive and "
  2210. "maintains a database of these IDs in "
  2211. "<filename>&statedir;/cdroms.list</filename>"
  2212. msgstr ""
  2213. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2214. #: apt-cdrom.8.xml:1
  2215. msgid ""
  2216. "A debugging tool to report the identity of the current disc as well as the "
  2217. "stored file name"
  2218. msgstr ""
  2219. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2220. #: apt-cdrom.8.xml:1
  2221. msgid ""
  2222. "Do not try to auto-detect the CD-ROM path. Usually combined with the "
  2223. "<option>--cdrom</option> option. Configuration Item: "
  2224. "<literal>Acquire::cdrom::AutoDetect</literal>."
  2225. msgstr ""
  2226. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2227. #: apt-cdrom.8.xml:1
  2228. msgid ""
  2229. "Mount point; specify the location to mount the CD-ROM. This mount point must "
  2230. "be listed in <filename>/etc/fstab</filename> and properly configured. "
  2231. "Configuration Item: <literal>Acquire::cdrom::mount</literal>."
  2232. msgstr ""
  2233. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2234. #: apt-cdrom.8.xml:1
  2235. msgid ""
  2236. "Rename a disc; change the label of a disc or override the disc's given "
  2237. "label. This option will cause <command>apt-cdrom</command> to prompt for a "
  2238. "new label. Configuration Item: <literal>APT::CDROM::Rename</literal>."
  2239. msgstr ""
  2240. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2241. #: apt-cdrom.8.xml:1
  2242. msgid ""
  2243. "No mounting; prevent <command>apt-cdrom</command> from mounting and "
  2244. "unmounting the mount point. Configuration Item: "
  2245. "<literal>APT::CDROM::NoMount</literal>."
  2246. msgstr ""
  2247. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2248. #: apt-cdrom.8.xml:1
  2249. msgid ""
  2250. "Fast Copy; Assume the package files are valid and do not check every "
  2251. "package. This option should be used only if <command>apt-cdrom</command> has "
  2252. "been run on this disc before and did not detect any errors. Configuration "
  2253. "Item: <literal>APT::CDROM::Fast</literal>."
  2254. msgstr ""
  2255. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2256. #: apt-cdrom.8.xml:1
  2257. msgid ""
  2258. "Thorough Package Scan; This option may be needed with some old Debian "
  2259. "1.1/1.2 discs that have Package files in strange places. It takes much "
  2260. "longer to scan the CD but will pick them all up."
  2261. msgstr ""
  2262. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2263. #: apt-cdrom.8.xml:1
  2264. msgid ""
  2265. "No Changes; Do not change the &sources-list; file and do not write index "
  2266. "files. Everything is still checked however. Configuration Item: "
  2267. "<literal>APT::CDROM::NoAct</literal>."
  2268. msgstr ""
  2269. #. type: Content of: <refentry><refsect1><para>
  2270. #: apt-cdrom.8.xml:1
  2271. msgid "&apt-conf;, &apt-get;, &sources-list;"
  2272. msgstr ""
  2273. #. type: Content of: <refentry><refsect1><para>
  2274. #: apt-cdrom.8.xml:1
  2275. msgid ""
  2276. "<command>apt-cdrom</command> returns zero on normal operation, decimal 100 "
  2277. "on error."
  2278. msgstr ""
  2279. #. type: Content of: <refentry><refnamediv><refpurpose>
  2280. #: apt-config.8.xml:1
  2281. msgid "APT Configuration Query program"
  2282. msgstr ""
  2283. #. type: Content of: <refentry><refsect1><para>
  2284. #: apt-config.8.xml:1
  2285. msgid ""
  2286. "<command>apt-config</command> is an internal program used by various "
  2287. "portions of the APT suite to provide consistent configurability. It accesses "
  2288. "the main configuration file <filename>/etc/apt/apt.conf</filename> in a "
  2289. "manner that is easy to use for scripted applications."
  2290. msgstr ""
  2291. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2292. #: apt-config.8.xml:1
  2293. msgid ""
  2294. "shell is used to access the configuration information from a shell "
  2295. "script. It is given pairs of arguments, the first being a shell variable and "
  2296. "the second the configuration value to query. As output it lists shell "
  2297. "assignment commands for each value present. In a shell script it should be "
  2298. "used as follows:"
  2299. msgstr ""
  2300. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><informalexample><programlisting>
  2301. #: apt-config.8.xml:1
  2302. #, no-wrap
  2303. msgid ""
  2304. "OPTS=\"-f\"\n"
  2305. "RES=`apt-config shell OPTS MyApp::options`\n"
  2306. "eval $RES\n"
  2307. msgstr ""
  2308. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2309. #: apt-config.8.xml:1
  2310. msgid ""
  2311. "This will set the shell environment variable $OPTS to the value of "
  2312. "MyApp::options with a default of <option>-f</option>."
  2313. msgstr ""
  2314. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2315. #: apt-config.8.xml:1
  2316. msgid ""
  2317. "The configuration item may be postfixed with a /[fdbi]. f returns file "
  2318. "names, d returns directories, b returns true or false and i returns an "
  2319. "integer. Each of the returns is normalized and verified internally."
  2320. msgstr ""
  2321. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2322. #: apt-config.8.xml:1
  2323. msgid "Just show the contents of the configuration space."
  2324. msgstr ""
  2325. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2326. #: apt-config.8.xml:1
  2327. msgid ""
  2328. "Include options which have an empty value. This is the default, so use "
  2329. "--no-empty to remove them from the output."
  2330. msgstr ""
  2331. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option><replaceable>
  2332. #: apt-config.8.xml:1
  2333. msgid "&percnt;f &#x0022;&percnt;v&#x0022;;&percnt;n"
  2334. msgstr ""
  2335. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2336. #: apt-config.8.xml:1
  2337. msgid ""
  2338. "Defines the output of each config option. &percnt;t will be replaced with "
  2339. "its individual name, &percnt;f with its full hierarchical name and &percnt;v "
  2340. "with its value. Use uppercase letters and special characters in the value "
  2341. "will be encoded to ensure that it can e.g. be safely used in a quoted-string "
  2342. "as defined by RFC822. Additionally &percnt;n will be replaced by a newline, "
  2343. "and &percnt;N by a tab. A &percnt; can be printed by using &percnt;&percnt;."
  2344. msgstr ""
  2345. #. type: Content of: <refentry><refsect1><para>
  2346. #: apt-config.8.xml:1 apt-extracttemplates.1.xml:1 apt-sortpkgs.1.xml:1
  2347. #: apt-ftparchive.1.xml:1
  2348. msgid "&apt-conf;"
  2349. msgstr ""
  2350. #. type: Content of: <refentry><refsect1><para>
  2351. #: apt-config.8.xml:1
  2352. msgid ""
  2353. "<command>apt-config</command> returns zero on normal operation, decimal 100 "
  2354. "on error."
  2355. msgstr ""
  2356. #. type: Content of: <refentry><refentryinfo><author><contrib>
  2357. #: apt.conf.5.xml:1
  2358. msgid "Initial documentation of Debug::*."
  2359. msgstr ""
  2360. #. type: Content of: <refentry><refentryinfo><author><email>
  2361. #: apt.conf.5.xml:1
  2362. msgid "dburrows@debian.org"
  2363. msgstr ""
  2364. #. type: Content of: <refentry><refmeta><manvolnum>
  2365. #: apt.conf.5.xml:1 apt_preferences.5.xml:1 sources.list.5.xml:1
  2366. msgid "5"
  2367. msgstr ""
  2368. #. type: Content of: <refentry><refnamediv><refpurpose>
  2369. #: apt.conf.5.xml:1
  2370. msgid "Configuration file for APT"
  2371. msgstr ""
  2372. #. type: Content of: <refentry><refsect1><para>
  2373. #: apt.conf.5.xml:1
  2374. msgid ""
  2375. "<filename>/etc/apt/apt.conf</filename> is the main configuration file shared "
  2376. "by all the tools in the APT suite of tools, though it is by no means the "
  2377. "only place options can be set. The suite also shares a common command line "
  2378. "parser to provide a uniform environment."
  2379. msgstr ""
  2380. #. type: Content of: <refentry><refsect1><orderedlist><para>
  2381. #: apt.conf.5.xml:1
  2382. msgid ""
  2383. "When an APT tool starts up it will read the configuration files in the "
  2384. "following order:"
  2385. msgstr ""
  2386. #. type: Content of: <refentry><refsect1><orderedlist><listitem><para>
  2387. #: apt.conf.5.xml:1
  2388. msgid ""
  2389. "the file specified by the <envar>APT_CONFIG</envar> environment variable (if "
  2390. "any)"
  2391. msgstr ""
  2392. #. type: Content of: <refentry><refsect1><orderedlist><listitem><para>
  2393. #: apt.conf.5.xml:1
  2394. msgid ""
  2395. "all files in <literal>Dir::Etc::Parts</literal> in alphanumeric ascending "
  2396. "order which have either no or \"<literal>conf</literal>\" as filename "
  2397. "extension and which only contain alphanumeric, hyphen (-), underscore (_) "
  2398. "and period (.) characters. Otherwise APT will print a notice that it has "
  2399. "ignored a file, unless that file matches a pattern in the "
  2400. "<literal>Dir::Ignore-Files-Silently</literal> configuration list - in which "
  2401. "case it will be silently ignored."
  2402. msgstr ""
  2403. #. type: Content of: <refentry><refsect1><orderedlist><listitem><para>
  2404. #: apt.conf.5.xml:1
  2405. msgid "the main configuration file specified by <literal>Dir::Etc::main</literal>"
  2406. msgstr ""
  2407. #. type: Content of: <refentry><refsect1><orderedlist><listitem><para>
  2408. #: apt.conf.5.xml:1
  2409. msgid ""
  2410. "all options set in the binary specific configuration subtree are moved into "
  2411. "the root of the tree."
  2412. msgstr ""
  2413. #. type: Content of: <refentry><refsect1><orderedlist><listitem><para>
  2414. #: apt.conf.5.xml:1
  2415. msgid ""
  2416. "the command line options are applied to override the configuration "
  2417. "directives or to load even more configuration files."
  2418. msgstr ""
  2419. #. type: Content of: <refentry><refsect1><title>
  2420. #: apt.conf.5.xml:1
  2421. msgid "Syntax"
  2422. msgstr ""
  2423. #. type: Content of: <refentry><refsect1><para>
  2424. #: apt.conf.5.xml:1
  2425. msgid ""
  2426. "The configuration file is organized in a tree with options organized into "
  2427. "functional groups. Option specification is given with a double colon "
  2428. "notation; for instance <literal>APT::Get::Assume-Yes</literal> is an option "
  2429. "within the APT tool group, for the Get tool. Options do not inherit from "
  2430. "their parent groups."
  2431. msgstr ""
  2432. #. type: Content of: <refentry><refsect1><para>
  2433. #: apt.conf.5.xml:1
  2434. msgid ""
  2435. "Syntactically the configuration language is modeled after what the ISC tools "
  2436. "such as bind and dhcp use. Lines starting with <literal>//</literal> are "
  2437. "treated as comments (ignored), as well as all text between "
  2438. "<literal>/*</literal> and <literal>*/</literal>, just like C/C++ comments. "
  2439. "Each line is of the form <literal>APT::Get::Assume-Yes \"true\";</literal>. "
  2440. "The quotation marks and trailing semicolon are required. The value must be "
  2441. "on one line, and there is no kind of string concatenation. Values must not "
  2442. "include backslashes or extra quotation marks. Option names are made up of "
  2443. "alphanumeric characters and the characters \"/-:._+\". A new scope can be "
  2444. "opened with curly braces, like this:"
  2445. msgstr ""
  2446. #. type: Content of: <refentry><refsect1><informalexample><programlisting>
  2447. #: apt.conf.5.xml:1
  2448. #, no-wrap
  2449. msgid ""
  2450. "APT {\n"
  2451. " Get {\n"
  2452. " Assume-Yes \"true\";\n"
  2453. " Fix-Broken \"true\";\n"
  2454. " };\n"
  2455. "};\n"
  2456. msgstr ""
  2457. #. type: Content of: <refentry><refsect1><para>
  2458. #: apt.conf.5.xml:1
  2459. msgid ""
  2460. "with newlines placed to make it more readable. Lists can be created by "
  2461. "opening a scope and including a single string enclosed in quotes followed by "
  2462. "a semicolon. Multiple entries can be included, separated by a semicolon."
  2463. msgstr ""
  2464. #. type: Content of: <refentry><refsect1><informalexample><programlisting>
  2465. #: apt.conf.5.xml:1
  2466. #, no-wrap
  2467. msgid "DPkg::Pre-Install-Pkgs {\"/usr/sbin/dpkg-preconfigure --apt\";};\n"
  2468. msgstr ""
  2469. #. type: Content of: <refentry><refsect1><para>
  2470. #: apt.conf.5.xml:1
  2471. msgid ""
  2472. "In general the sample configuration file &configureindex; is a good guide "
  2473. "for how it should look."
  2474. msgstr ""
  2475. #. type: Content of: <refentry><refsect1><para>
  2476. #: apt.conf.5.xml:1
  2477. msgid ""
  2478. "Case is not significant in names of configuration items, so in the previous "
  2479. "example you could use <literal>dpkg::pre-install-pkgs</literal>."
  2480. msgstr ""
  2481. #. type: Content of: <refentry><refsect1><para>
  2482. #: apt.conf.5.xml:1
  2483. msgid ""
  2484. "Names for the configuration items are optional if a list is defined as can "
  2485. "be seen in the <literal>DPkg::Pre-Install-Pkgs</literal> example above. If "
  2486. "you don't specify a name a new entry will simply add a new option to the "
  2487. "list. If you specify a name you can override the option in the same way as "
  2488. "any other option by reassigning a new value to the option."
  2489. msgstr ""
  2490. #. type: Content of: <refentry><refsect1><para>
  2491. #: apt.conf.5.xml:1
  2492. msgid ""
  2493. "Two special commands are defined: <literal>#include</literal> (which is "
  2494. "deprecated and not supported by alternative implementations) and "
  2495. "<literal>#clear</literal>. <literal>#include</literal> will include the "
  2496. "given file, unless the filename ends in a slash, in which case the whole "
  2497. "directory is included. <literal>#clear</literal> is used to erase a part of "
  2498. "the configuration tree. The specified element and all its descendants are "
  2499. "erased. (Note that these lines also need to end with a semicolon.)"
  2500. msgstr ""
  2501. #. type: Content of: <refentry><refsect1><para>
  2502. #: apt.conf.5.xml:1
  2503. msgid ""
  2504. "The <literal>#clear</literal> command is the only way to delete a list or a "
  2505. "complete scope. Reopening a scope (or using the syntax described below with "
  2506. "an appended <literal>::</literal>) will <emphasis>not</emphasis> override "
  2507. "previously written entries. Options can only be overridden by addressing a "
  2508. "new value to them - lists and scopes can't be overridden, only cleared."
  2509. msgstr ""
  2510. #. type: Content of: <refentry><refsect1><para>
  2511. #: apt.conf.5.xml:1
  2512. msgid ""
  2513. "All of the APT tools take an -o option which allows an arbitrary "
  2514. "configuration directive to be specified on the command line. The syntax is a "
  2515. "full option name (<literal>APT::Get::Assume-Yes</literal> for instance) "
  2516. "followed by an equals sign then the new value of the option. To append a new "
  2517. "element to a list, add a trailing <literal>::</literal> to the name of the "
  2518. "list. (As you might suspect, the scope syntax can't be used on the command "
  2519. "line.)"
  2520. msgstr ""
  2521. #. type: Content of: <refentry><refsect1><para>
  2522. #: apt.conf.5.xml:1
  2523. msgid ""
  2524. "Note that appending items to a list using <literal>::</literal> only works "
  2525. "for one item per line, and that you should not use it in combination with "
  2526. "the scope syntax (which adds <literal>::</literal> implicitly). Using both "
  2527. "syntaxes together will trigger a bug which some users unfortunately depend "
  2528. "on: an option with the unusual name \"<literal>::</literal>\" which acts "
  2529. "like every other option with a name. This introduces many problems; for one "
  2530. "thing, users who write multiple lines in this <emphasis>wrong</emphasis> "
  2531. "syntax in the hope of appending to a list will achieve the opposite, as only "
  2532. "the last assignment for this option \"<literal>::</literal>\" will be "
  2533. "used. Future versions of APT will raise errors and stop working if they "
  2534. "encounter this misuse, so please correct such statements now while APT "
  2535. "doesn't explicitly complain about them."
  2536. msgstr ""
  2537. #. type: Content of: <refentry><refsect1><title>
  2538. #: apt.conf.5.xml:1
  2539. msgid "The APT Group"
  2540. msgstr ""
  2541. #. type: Content of: <refentry><refsect1><para>
  2542. #: apt.conf.5.xml:1
  2543. msgid ""
  2544. "This group of options controls general APT behavior as well as holding the "
  2545. "options for all of the tools."
  2546. msgstr ""
  2547. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2548. #: apt.conf.5.xml:1
  2549. msgid ""
  2550. "System Architecture; sets the architecture to use when fetching files and "
  2551. "parsing package lists. The internal default is the architecture apt was "
  2552. "compiled for."
  2553. msgstr ""
  2554. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2555. #: apt.conf.5.xml:1
  2556. msgid ""
  2557. "All Architectures the system supports. For instance, CPUs implementing the "
  2558. "<literal>amd64</literal> (also called <literal>x86-64</literal>) "
  2559. "instruction set are also able to execute binaries compiled for the "
  2560. "<literal>i386</literal> (<literal>x86</literal>) instruction set. This list "
  2561. "is used when fetching files and parsing package lists. The initial default "
  2562. "is always the system's native architecture "
  2563. "(<literal>APT::Architecture</literal>), and foreign architectures are added "
  2564. "to the default list when they are registered via <command>dpkg "
  2565. "--add-architecture</command>."
  2566. msgstr ""
  2567. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2568. #: apt.conf.5.xml:1
  2569. msgid ""
  2570. "This scope defines which compression formats are supported, how compression "
  2571. "and decompression can be performed if support for this format isn't built "
  2572. "into apt directly and a cost-value indicating how costly it is to compress "
  2573. "something in this format. As an example the following configuration stanza "
  2574. "would allow apt to download and uncompress as well as create and store files "
  2575. "with the low-cost <literal>.reversed</literal> file extension which it will "
  2576. "pass to the command <command>rev</command> without additional commandline "
  2577. "parameters for compression and uncompression:"
  2578. msgstr ""
  2579. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><informalexample><programlisting>
  2580. #: apt.conf.5.xml:1
  2581. #, no-wrap
  2582. msgid ""
  2583. "APT::Compressor::rev {\n"
  2584. "\tName \"rev\";\n"
  2585. "\tExtension \".reversed\";\n"
  2586. "\tBinary \"rev\";\n"
  2587. "\tCompressArg {};\n"
  2588. "\tUncompressArg {};\n"
  2589. "\tCost \"10\";\n"
  2590. "};\n"
  2591. msgstr ""
  2592. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2593. #: apt.conf.5.xml:1
  2594. msgid ""
  2595. "List of all build profiles enabled for build-dependency resolution, without "
  2596. "the \"<literal>profile.</literal>\" namespace prefix. By default this list "
  2597. "is empty. The <envar>DEB_BUILD_PROFILES</envar> as used by "
  2598. "&dpkg-buildpackage; overrides the list notation."
  2599. msgstr ""
  2600. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2601. #: apt.conf.5.xml:1
  2602. msgid ""
  2603. "Default release to install packages from if more than one version is "
  2604. "available. Contains release name, codename or release version. Examples: "
  2605. "'stable', 'testing', 'unstable', '&debian-stable-codename;', "
  2606. "'&debian-testing-codename;', '4.0', '5.0*'. See also &apt-preferences;."
  2607. msgstr ""
  2608. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2609. #: apt.conf.5.xml:1
  2610. msgid ""
  2611. "Ignore held packages; this global option causes the problem resolver to "
  2612. "ignore held packages in its decision making."
  2613. msgstr ""
  2614. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2615. #: apt.conf.5.xml:1
  2616. msgid ""
  2617. "Defaults to on. When turned on the autoclean feature will remove any "
  2618. "packages which can no longer be downloaded from the cache. If turned off "
  2619. "then packages that are locally installed are also excluded from cleaning - "
  2620. "but note that APT provides no direct means to reinstall them."
  2621. msgstr ""
  2622. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2623. #: apt.conf.5.xml:1
  2624. msgid ""
  2625. "Defaults to on, which will cause APT to install essential and important "
  2626. "packages as soon as possible in an install/upgrade operation, in order to "
  2627. "limit the effect of a failing &dpkg; call. If this option is disabled, APT "
  2628. "treats an important package in the same way as an extra package: between the "
  2629. "unpacking of the package A and its configuration there can be many other "
  2630. "unpack or configuration calls for other unrelated packages B, C etc. If "
  2631. "these cause the &dpkg; call to fail (e.g. because package B's maintainer "
  2632. "scripts generate an error), this results in a system state in which package "
  2633. "A is unpacked but unconfigured - so any package depending on A is now no "
  2634. "longer guaranteed to work, as its dependency on A is no longer satisfied."
  2635. msgstr ""
  2636. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2637. #: apt.conf.5.xml:1
  2638. msgid ""
  2639. "The immediate configuration marker is also applied in the potentially "
  2640. "problematic case of circular dependencies, since a dependency with the "
  2641. "immediate flag is equivalent to a Pre-Dependency. In theory this allows APT "
  2642. "to recognise a situation in which it is unable to perform immediate "
  2643. "configuration, abort, and suggest to the user that the option should be "
  2644. "temporarily deactivated in order to allow the operation to proceed. Note "
  2645. "the use of the word \"theory\" here; in the real world this problem has "
  2646. "rarely been encountered, in non-stable distribution versions, and was caused "
  2647. "by wrong dependencies of the package in question or by a system in an "
  2648. "already broken state; so you should not blindly disable this option, as the "
  2649. "scenario mentioned above is not the only problem it can help to prevent in "
  2650. "the first place."
  2651. msgstr ""
  2652. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2653. #: apt.conf.5.xml:1
  2654. msgid ""
  2655. "Before a big operation like <literal>dist-upgrade</literal> is run with this "
  2656. "option disabled you should try to explicitly <literal>install</literal> the "
  2657. "package APT is unable to configure immediately; but please make sure you "
  2658. "also report your problem to your distribution and to the APT team with the "
  2659. "buglink below, so they can work on improving or correcting the upgrade "
  2660. "process."
  2661. msgstr ""
  2662. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2663. #: apt.conf.5.xml:1
  2664. msgid ""
  2665. "Never enable this option unless you <emphasis>really</emphasis> know what "
  2666. "you are doing. It permits APT to temporarily remove an essential package to "
  2667. "break a Conflicts/Conflicts or Conflicts/Pre-Depends loop between two "
  2668. "essential packages. <emphasis>Such a loop should never exist and is a grave "
  2669. "bug</emphasis>. This option will work if the essential packages are not "
  2670. "<command>tar</command>, <command>gzip</command>, <command>libc</command>, "
  2671. "<command>dpkg</command>, <command>dash</command> or anything that those "
  2672. "packages depend on."
  2673. msgstr ""
  2674. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2675. #: apt.conf.5.xml:1
  2676. msgid ""
  2677. "APT uses since version 0.7.26 a resizable memory mapped cache file to store "
  2678. "the available information. <literal>Cache-Start</literal> acts as a hint of "
  2679. "the size the cache will grow to, and is therefore the amount of memory APT "
  2680. "will request at startup. The default value is 20971520 bytes (~20 MB). Note "
  2681. "that this amount of space needs to be available for APT; otherwise it will "
  2682. "likely fail ungracefully, so for memory restricted devices this value should "
  2683. "be lowered while on systems with a lot of configured sources it should be "
  2684. "increased. <literal>Cache-Grow</literal> defines in bytes with the default "
  2685. "of 1048576 (~1 MB) how much the cache size will be increased in the event "
  2686. "the space defined by <literal>Cache-Start</literal> is not enough. This "
  2687. "value will be applied again and again until either the cache is big enough "
  2688. "to store all information or the size of the cache reaches the "
  2689. "<literal>Cache-Limit</literal>. The default of "
  2690. "<literal>Cache-Limit</literal> is 0 which stands for no limit. If "
  2691. "<literal>Cache-Grow</literal> is set to 0 the automatic growth of the cache "
  2692. "is disabled."
  2693. msgstr ""
  2694. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2695. #: apt.conf.5.xml:1
  2696. msgid "Defines which packages are considered essential build dependencies."
  2697. msgstr ""
  2698. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2699. #: apt.conf.5.xml:1
  2700. msgid ""
  2701. "The Get subsection controls the &apt-get; tool; please see its documentation "
  2702. "for more information about the options here."
  2703. msgstr ""
  2704. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2705. #: apt.conf.5.xml:1
  2706. msgid ""
  2707. "The Cache subsection controls the &apt-cache; tool; please see its "
  2708. "documentation for more information about the options here."
  2709. msgstr ""
  2710. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2711. #: apt.conf.5.xml:1
  2712. msgid ""
  2713. "The CDROM subsection controls the &apt-cdrom; tool; please see its "
  2714. "documentation for more information about the options here."
  2715. msgstr ""
  2716. #. type: Content of: <refentry><refsect1><title>
  2717. #: apt.conf.5.xml:1
  2718. msgid "The Acquire Group"
  2719. msgstr ""
  2720. #. type: Content of: <refentry><refsect1><para>
  2721. #: apt.conf.5.xml:1
  2722. msgid ""
  2723. "The <literal>Acquire</literal> group of options controls the download of "
  2724. "packages as well as the various \"acquire methods\" responsible for the "
  2725. "download itself (see also &sources-list;)."
  2726. msgstr ""
  2727. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2728. #: apt.conf.5.xml:1
  2729. msgid ""
  2730. "Security related option defaulting to true, as giving a Release file's "
  2731. "validation an expiration date prevents replay attacks over a long timescale, "
  2732. "and can also for example help users to identify mirrors that are no longer "
  2733. "updated - but the feature depends on the correctness of the clock on the "
  2734. "user system. Archive maintainers are encouraged to create Release files with "
  2735. "the <literal>Valid-Until</literal> header, but if they don't or a stricter "
  2736. "value is desired the <literal>Max-ValidTime</literal> option below can be "
  2737. "used. The <option>Check-Valid-Until</option> option of &sources-list; "
  2738. "entries should be preferred to disable the check selectively instead of "
  2739. "using this global override."
  2740. msgstr ""
  2741. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2742. #: apt.conf.5.xml:1
  2743. msgid ""
  2744. "Maximum time (in seconds) after its creation (as indicated by the "
  2745. "<literal>Date</literal> header) that the <filename>Release</filename> file "
  2746. "should be considered valid. If the Release file itself includes a "
  2747. "<literal>Valid-Until</literal> header the earlier date of the two is used as "
  2748. "the expiration date. The default value is <literal>0</literal> which stands "
  2749. "for \"valid forever\". Archive specific settings can be made by appending "
  2750. "the label of the archive to the option name. Preferably, the same can be "
  2751. "achieved for specific &sources-list; entries by using the "
  2752. "<option>Valid-Until-Max</option> option there."
  2753. msgstr ""
  2754. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2755. #: apt.conf.5.xml:1
  2756. msgid ""
  2757. "Minimum time (in seconds) after its creation (as indicated by the "
  2758. "<literal>Date</literal> header) that the <filename>Release</filename> file "
  2759. "should be considered valid. Use this if you need to use a seldom updated "
  2760. "(local) mirror of a more frequently updated archive with a "
  2761. "<literal>Valid-Until</literal> header instead of completely disabling the "
  2762. "expiration date checking. Archive specific settings can and should be used "
  2763. "by appending the label of the archive to the option name. Preferably, the "
  2764. "same can be achieved for specific &sources-list; entries by using the "
  2765. "<option>Valid-Until-Min</option> option there."
  2766. msgstr ""
  2767. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2768. #: apt.conf.5.xml:1
  2769. msgid ""
  2770. "Try to download deltas called <literal>PDiffs</literal> for indexes (like "
  2771. "<filename>Packages</filename> files) instead of downloading whole ones. True "
  2772. "by default. Preferably, this can be set for specific &sources-list; entries "
  2773. "or index files by using the <option>PDiffs</option> option there."
  2774. msgstr ""
  2775. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2776. #: apt.conf.5.xml:1
  2777. msgid ""
  2778. "Two sub-options to limit the use of PDiffs are also available: "
  2779. "<literal>FileLimit</literal> can be used to specify a maximum number of "
  2780. "PDiff files should be downloaded to update a "
  2781. "file. <literal>SizeLimit</literal> on the other hand is the maximum "
  2782. "percentage of the size of all patches compared to the size of the targeted "
  2783. "file. If one of these limits is exceeded the complete file is downloaded "
  2784. "instead of the patches."
  2785. msgstr ""
  2786. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2787. #: apt.conf.5.xml:1
  2788. msgid ""
  2789. "Try to download indexes via an URI constructed from a hashsum of the "
  2790. "expected file rather than downloaded via a well-known stable filename. True "
  2791. "by default, but automatically disabled if the source indicates no support "
  2792. "for it. Usage can be forced with the special value \"force\". Preferably, "
  2793. "this can be set for specific &sources-list; entries or index files by using "
  2794. "the <option>By-Hash</option> option there."
  2795. msgstr ""
  2796. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2797. #: apt.conf.5.xml:1
  2798. msgid ""
  2799. "Queuing mode; <literal>Queue-Mode</literal> can be one of "
  2800. "<literal>host</literal> or <literal>access</literal> which determines how "
  2801. "APT parallelizes outgoing connections. <literal>host</literal> means that "
  2802. "one connection per target host will be opened, <literal>access</literal> "
  2803. "means that one connection per URI type will be opened."
  2804. msgstr ""
  2805. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2806. #: apt.conf.5.xml:1
  2807. msgid ""
  2808. "Number of retries to perform. If this is non-zero APT will retry failed "
  2809. "files the given number of times."
  2810. msgstr ""
  2811. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2812. #: apt.conf.5.xml:1
  2813. msgid ""
  2814. "Use symlinks for source archives. If set to true then source archives will "
  2815. "be symlinked when possible instead of copying. True is the default."
  2816. msgstr ""
  2817. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2818. #: apt.conf.5.xml:1
  2819. msgid ""
  2820. "<literal>http::Proxy</literal> sets the default proxy to use for HTTP "
  2821. "URIs. It is in the standard form of "
  2822. "<literal>http://[[user][:pass]@]host[:port]/</literal>. Per host proxies "
  2823. "can also be specified by using the form "
  2824. "<literal>http::Proxy::&lt;host&gt;</literal> with the special keyword "
  2825. "<literal>DIRECT</literal> meaning to use no proxies. If no one of the above "
  2826. "settings is specified, <envar>http_proxy</envar> environment variable will "
  2827. "be used."
  2828. msgstr ""
  2829. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2830. #: apt.conf.5.xml:1
  2831. msgid ""
  2832. "Three settings are provided for cache control with HTTP/1.1 compliant proxy "
  2833. "caches. <literal>No-Cache</literal> tells the proxy not to use its cached "
  2834. "response under any circumstances. <literal>Max-Age</literal> sets the "
  2835. "allowed maximum age (in seconds) of an index file in the cache of the "
  2836. "proxy. <literal>No-Store</literal> specifies that the proxy should not "
  2837. "store the requested archive files in its cache, which can be used to prevent "
  2838. "the proxy from polluting its cache with (big) .deb files."
  2839. msgstr ""
  2840. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2841. #: apt.conf.5.xml:1 apt.conf.5.xml:1
  2842. msgid ""
  2843. "The option <literal>timeout</literal> sets the timeout timer used by the "
  2844. "method; this value applies to the connection as well as the data timeout."
  2845. msgstr ""
  2846. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2847. #: apt.conf.5.xml:1
  2848. msgid ""
  2849. "The setting <literal>Acquire::http::Pipeline-Depth</literal> can be used to "
  2850. "enable HTTP pipelining (RFC 2616 section 8.1.2.2) which can be beneficial "
  2851. "e.g. on high-latency connections. It specifies how many requests are sent in "
  2852. "a pipeline. APT tries to detect and workaround misbehaving webservers and "
  2853. "proxies at runtime, but if you know that yours does not conform to the "
  2854. "HTTP/1.1 specification pipelining can be disabled by setting the value to "
  2855. "0. It is enabled by default with the value 10."
  2856. msgstr ""
  2857. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2858. #: apt.conf.5.xml:1
  2859. msgid ""
  2860. "<literal>Acquire::http::AllowRedirect</literal> controls whether APT will "
  2861. "follow redirects, which is enabled by default."
  2862. msgstr ""
  2863. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2864. #: apt.conf.5.xml:1
  2865. msgid ""
  2866. "The used bandwidth can be limited with "
  2867. "<literal>Acquire::http::Dl-Limit</literal> which accepts integer values in "
  2868. "kilobytes per second. The default value is 0 which deactivates the limit and "
  2869. "tries to use all available bandwidth. Note that this option implicitly "
  2870. "disables downloading from multiple servers at the same time."
  2871. msgstr ""
  2872. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2873. #: apt.conf.5.xml:1
  2874. msgid ""
  2875. "<literal>Acquire::http::User-Agent</literal> can be used to set a different "
  2876. "User-Agent for the http download method as some proxies allow access for "
  2877. "clients only if the client uses a known identifier."
  2878. msgstr ""
  2879. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2880. #: apt.conf.5.xml:1
  2881. msgid ""
  2882. "<literal>Acquire::http::Proxy-Auto-Detect</literal> can be used to specify "
  2883. "an external command to discover the http proxy to use. The first and only "
  2884. "parameter is an URI denoting the host to be contacted to allow for "
  2885. "host-specific configuration. APT expects the command to output the proxy on "
  2886. "stdout as a single line in the style <literal>http://proxy:port/</literal> "
  2887. "or the word <literal>DIRECT</literal> if no proxy should be used. No output "
  2888. "indicates that the generic proxy settings should be used. Note that "
  2889. "auto-detection will not be used for a host if a host-specific proxy "
  2890. "configuration is already set via "
  2891. "<literal>Acquire::http::Proxy::<replaceable>HOST</replaceable></literal>. "
  2892. "See the &squid-deb-proxy-client; package for an example implementation that "
  2893. "uses avahi. This option takes precedence over the legacy option name "
  2894. "<literal>ProxyAutoDetect</literal>."
  2895. msgstr ""
  2896. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2897. #: apt.conf.5.xml:1
  2898. msgid ""
  2899. "The <literal>Cache-control</literal>, <literal>Timeout</literal>, "
  2900. "<literal>AllowRedirect</literal>, <literal>Dl-Limit</literal> and "
  2901. "<literal>proxy</literal> options work for HTTPS URIs in the same way as for "
  2902. "the <literal>http</literal> method, and default to the same values if they "
  2903. "are not explicitly set. The <literal>Pipeline-Depth</literal> option is not "
  2904. "yet supported."
  2905. msgstr ""
  2906. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2907. #: apt.conf.5.xml:1
  2908. msgid ""
  2909. "<literal>CaInfo</literal> suboption specifies place of file that holds info "
  2910. "about trusted certificates. <literal>&lt;host&gt;::CaInfo</literal> is the "
  2911. "corresponding per-host option. <literal>Verify-Peer</literal> boolean "
  2912. "suboption determines whether or not the server's host certificate should be "
  2913. "verified against trusted certificates. "
  2914. "<literal>&lt;host&gt;::Verify-Peer</literal> is the corresponding per-host "
  2915. "option. <literal>Verify-Host</literal> boolean suboption determines whether "
  2916. "or not the server's hostname should be verified. "
  2917. "<literal>&lt;host&gt;::Verify-Host</literal> is the corresponding per-host "
  2918. "option. <literal>SslCert</literal> determines what certificate to use for "
  2919. "client authentication. <literal>&lt;host&gt;::SslCert</literal> is the "
  2920. "corresponding per-host option. <literal>SslKey</literal> determines what "
  2921. "private key to use for client "
  2922. "authentication. <literal>&lt;host&gt;::SslKey</literal> is the corresponding "
  2923. "per-host option. <literal>SslForceVersion</literal> overrides default SSL "
  2924. "version to use. It can contain either of the strings "
  2925. "'<literal>TLSv1</literal>' or '<literal>SSLv3</literal>'. "
  2926. "<literal>&lt;host&gt;::SslForceVersion</literal> is the corresponding "
  2927. "per-host option."
  2928. msgstr ""
  2929. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2930. #: apt.conf.5.xml:1
  2931. msgid ""
  2932. "<literal>ftp::Proxy</literal> sets the default proxy to use for FTP URIs. "
  2933. "It is in the standard form of "
  2934. "<literal>ftp://[[user][:pass]@]host[:port]/</literal>. Per host proxies can "
  2935. "also be specified by using the form "
  2936. "<literal>ftp::Proxy::&lt;host&gt;</literal> with the special keyword "
  2937. "<literal>DIRECT</literal> meaning to use no proxies. If no one of the above "
  2938. "settings is specified, <envar>ftp_proxy</envar> environment variable will be "
  2939. "used. To use an FTP proxy you will have to set the "
  2940. "<literal>ftp::ProxyLogin</literal> script in the configuration file. This "
  2941. "entry specifies the commands to send to tell the proxy server what to "
  2942. "connect to. Please see &configureindex; for an example of how to do "
  2943. "this. The substitution variables representing the corresponding URI "
  2944. "component are <literal>$(PROXY_USER)</literal>, "
  2945. "<literal>$(PROXY_PASS)</literal>, <literal>$(SITE_USER)</literal>, "
  2946. "<literal>$(SITE_PASS)</literal>, <literal>$(SITE)</literal> and "
  2947. "<literal>$(SITE_PORT)</literal>."
  2948. msgstr ""
  2949. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2950. #: apt.conf.5.xml:1
  2951. msgid ""
  2952. "Several settings are provided to control passive mode. Generally it is safe "
  2953. "to leave passive mode on; it works in nearly every environment. However, "
  2954. "some situations require that passive mode be disabled and port mode FTP used "
  2955. "instead. This can be done globally or for connections that go through a "
  2956. "proxy or for a specific host (see the sample config file for examples)."
  2957. msgstr ""
  2958. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2959. #: apt.conf.5.xml:1
  2960. msgid ""
  2961. "It is possible to proxy FTP over HTTP by setting the "
  2962. "<envar>ftp_proxy</envar> environment variable to an HTTP URL - see the "
  2963. "discussion of the http method above for syntax. You cannot set this in the "
  2964. "configuration file and it is not recommended to use FTP over HTTP due to its "
  2965. "low efficiency."
  2966. msgstr ""
  2967. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2968. #: apt.conf.5.xml:1
  2969. msgid ""
  2970. "The setting <literal>ForceExtended</literal> controls the use of RFC2428 "
  2971. "<literal>EPSV</literal> and <literal>EPRT</literal> commands. The default is "
  2972. "false, which means these commands are only used if the control connection is "
  2973. "IPv6. Setting this to true forces their use even on IPv4 connections. Note "
  2974. "that most FTP servers do not support RFC2428."
  2975. msgstr ""
  2976. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><literallayout>
  2977. #: apt.conf.5.xml:1
  2978. #, no-wrap
  2979. msgid "/cdrom/::Mount \"foo\";"
  2980. msgstr ""
  2981. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2982. #: apt.conf.5.xml:1
  2983. msgid ""
  2984. "For URIs using the <literal>cdrom</literal> method, the only configurable "
  2985. "option is the mount point, <literal>cdrom::Mount</literal>, which must be "
  2986. "the mount point for the CD-ROM (or DVD, or whatever) drive as specified in "
  2987. "<filename>/etc/fstab</filename>. It is possible to provide alternate mount "
  2988. "and unmount commands if your mount point cannot be listed in the fstab. The "
  2989. "syntax is to put <placeholder type=\"literallayout\" id=\"0\"/> within the "
  2990. "<literal>cdrom</literal> block. It is important to have the trailing slash. "
  2991. "Unmount commands can be specified using UMount."
  2992. msgstr ""
  2993. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  2994. #: apt.conf.5.xml:1
  2995. msgid ""
  2996. "For GPGV URIs the only configurable option is "
  2997. "<literal>gpgv::Options</literal>, which passes additional parameters to "
  2998. "gpgv."
  2999. msgstr ""
  3000. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><synopsis>
  3001. #: apt.conf.5.xml:1
  3002. #, no-wrap
  3003. msgid ""
  3004. "Acquire::CompressionTypes::<replaceable>FileExtension</replaceable> "
  3005. "\"<replaceable>Methodname</replaceable>\";"
  3006. msgstr ""
  3007. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3008. #: apt.conf.5.xml:1
  3009. msgid ""
  3010. "List of compression types which are understood by the acquire methods. "
  3011. "Files like <filename>Packages</filename> can be available in various "
  3012. "compression formats. By default the acquire methods can decompress and "
  3013. "recompress many common formats like <command>xz</command> and "
  3014. "<command>gzip</command>; with this scope the supported formats can be "
  3015. "queried, modified as well as support for more formats added (see also "
  3016. "<option>APT::Compressor</option>). The syntax for this is: <placeholder "
  3017. "type=\"synopsis\" id=\"0\"/>"
  3018. msgstr ""
  3019. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><synopsis>
  3020. #: apt.conf.5.xml:1
  3021. #, no-wrap
  3022. msgid "Acquire::CompressionTypes::Order:: \"gz\";"
  3023. msgstr ""
  3024. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><synopsis>
  3025. #: apt.conf.5.xml:1
  3026. #, no-wrap
  3027. msgid "Acquire::CompressionTypes::Order { \"xz\"; \"gz\"; };"
  3028. msgstr ""
  3029. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3030. #: apt.conf.5.xml:1
  3031. msgid ""
  3032. "Also, the <literal>Order</literal> subgroup can be used to define in which "
  3033. "order the acquire system will try to download the compressed files. The "
  3034. "acquire system will try the first and proceed with the next compression type "
  3035. "in this list on error, so to prefer one over the other type simply add the "
  3036. "preferred type first - types not already added will be implicitly appended "
  3037. "to the end of the list, so e.g. <placeholder type=\"synopsis\" id=\"0\"/> "
  3038. "can be used to prefer <command>gzip</command> compressed files over all "
  3039. "other compression formats. If <command>xz</command> should be preferred "
  3040. "over <command>gzip</command> and <command>bzip2</command> the configure "
  3041. "setting should look like this: <placeholder type=\"synopsis\" id=\"1\"/> It "
  3042. "is not needed to add <literal>bz2</literal> to the list explicitly as it "
  3043. "will be added automatically."
  3044. msgstr ""
  3045. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><literallayout>
  3046. #: apt.conf.5.xml:1
  3047. #, no-wrap
  3048. msgid "Dir::Bin::bzip2 \"/bin/bzip2\";"
  3049. msgstr ""
  3050. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3051. #: apt.conf.5.xml:1
  3052. msgid ""
  3053. "Note that the "
  3054. "<literal>Dir::Bin::<replaceable>Methodname</replaceable></literal> will be "
  3055. "checked at run time. If this option has been set and support for this format "
  3056. "isn't directly built into apt, the method will only be used if this file "
  3057. "exists; e.g. for the <literal>bzip2</literal> method (the inbuilt) setting "
  3058. "is: <placeholder type=\"literallayout\" id=\"0\"/> Note also that list "
  3059. "entries specified on the command line will be added at the end of the list "
  3060. "specified in the configuration files, but before the default entries. To "
  3061. "prefer a type in this case over the ones specified in the configuration "
  3062. "files you can set the option direct - not in list style. This will not "
  3063. "override the defined list; it will only prefix the list with this type."
  3064. msgstr ""
  3065. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3066. #: apt.conf.5.xml:1
  3067. msgid ""
  3068. "The special type <literal>uncompressed</literal> can be used to give "
  3069. "uncompressed files a preference, but note that most archives don't provide "
  3070. "uncompressed files so this is mostly only useable for local mirrors."
  3071. msgstr ""
  3072. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3073. #: apt.conf.5.xml:1
  3074. msgid ""
  3075. "When downloading <literal>gzip</literal> compressed indexes (Packages, "
  3076. "Sources, or Translations), keep them gzip compressed locally instead of "
  3077. "unpacking them. This saves quite a lot of disk space at the expense of more "
  3078. "CPU requirements when building the local package caches. False by default."
  3079. msgstr ""
  3080. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3081. #: apt.conf.5.xml:1
  3082. msgid ""
  3083. "The Languages subsection controls which <filename>Translation</filename> "
  3084. "files are downloaded and in which order APT tries to display the "
  3085. "description-translations. APT will try to display the first available "
  3086. "description in the language which is listed first. Languages can be defined "
  3087. "with their short or long language codes. Note that not all archives provide "
  3088. "<filename>Translation</filename> files for every language - the long "
  3089. "language codes are especially rare."
  3090. msgstr ""
  3091. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><programlisting>
  3092. #: apt.conf.5.xml:1
  3093. #, no-wrap
  3094. msgid "Acquire::Languages { \"environment\"; \"de\"; \"en\"; \"none\"; \"fr\"; };"
  3095. msgstr ""
  3096. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3097. #: apt.conf.5.xml:1
  3098. msgid ""
  3099. "The default list includes \"environment\" and "
  3100. "\"en\". \"<literal>environment</literal>\" has a special meaning here: it "
  3101. "will be replaced at runtime with the language codes extracted from the "
  3102. "<literal>LC_MESSAGES</literal> environment variable. It will also ensure "
  3103. "that these codes are not included twice in the list. If "
  3104. "<literal>LC_MESSAGES</literal> is set to \"C\" only the "
  3105. "<filename>Translation-en</filename> file (if available) will be used. To "
  3106. "force APT to use no Translation file use the setting "
  3107. "<literal>Acquire::Languages=none</literal>. \"<literal>none</literal>\" is "
  3108. "another special meaning code which will stop the search for a suitable "
  3109. "<filename>Translation</filename> file. This tells APT to download these "
  3110. "translations too, without actually using them unless the environment "
  3111. "specifies the languages. So the following example configuration will result "
  3112. "in the order \"en, de\" in an English locale or \"de, en\" in a German "
  3113. "one. Note that \"fr\" is downloaded, but not used unless APT is used in a "
  3114. "French locale (where the order would be \"fr, de, en\"). <placeholder "
  3115. "type=\"programlisting\" id=\"0\"/>"
  3116. msgstr ""
  3117. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3118. #: apt.conf.5.xml:1
  3119. msgid ""
  3120. "Note: To prevent problems resulting from APT being executed in different "
  3121. "environments (e.g. by different users or by other programs) all Translation "
  3122. "files which are found in <filename>/var/lib/apt/lists/</filename> will be "
  3123. "added to the end of the list (after an implicit "
  3124. "\"<literal>none</literal>\")."
  3125. msgstr ""
  3126. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3127. #: apt.conf.5.xml:1
  3128. msgid "When downloading, force to use only the IPv4 protocol."
  3129. msgstr ""
  3130. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3131. #: apt.conf.5.xml:1
  3132. msgid "When downloading, force to use only the IPv6 protocol."
  3133. msgstr ""
  3134. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3135. #: apt.conf.5.xml:1
  3136. msgid ""
  3137. "The maximum file size of Release/Release.gpg/InRelease files. The default "
  3138. "is 10MB."
  3139. msgstr ""
  3140. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3141. #: apt.conf.5.xml:1
  3142. msgid ""
  3143. "This option controls if apt will use the DNS SRV server record as specified "
  3144. "in RFC 2782 to select an alternative server to connect to. The default is "
  3145. "\"true\"."
  3146. msgstr ""
  3147. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3148. #: apt.conf.5.xml:1
  3149. msgid ""
  3150. "Allow update operations to load data files from repositories without "
  3151. "sufficient security information. The default value is "
  3152. "\"<literal>false</literal>\". Concept, implications as well as alternatives "
  3153. "are detailed in &apt-secure;."
  3154. msgstr ""
  3155. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3156. #: apt.conf.5.xml:1
  3157. msgid ""
  3158. "Allow update operations to load data files from repositories which provide "
  3159. "security information, but these are deemed no longer cryptographically "
  3160. "strong enough. The default value is \"<literal>false</literal>\". Concept, "
  3161. "implications as well as alternatives are detailed in &apt-secure;."
  3162. msgstr ""
  3163. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3164. #: apt.conf.5.xml:1
  3165. msgid ""
  3166. "Allow that a repository that was previously gpg signed to become unsigned "
  3167. "during an update operation. When there is no valid signature for a "
  3168. "previously trusted repository apt will refuse the update. This option can be "
  3169. "used to override this protection. You almost certainly never want to enable "
  3170. "this. The default is <literal>false</literal>. Concept, implications as "
  3171. "well as alternatives are detailed in &apt-secure;."
  3172. msgstr ""
  3173. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
  3174. #: apt.conf.5.xml:1
  3175. msgid "scope"
  3176. msgstr ""
  3177. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3178. #: apt.conf.5.xml:1
  3179. msgid ""
  3180. "Acquiring changelogs can only be done if an URI is known from where to get "
  3181. "them. Preferable the Release file indicates this in a 'Changelogs' "
  3182. "field. If this isn't available the Label/Origin field of the Release file is "
  3183. "used to check if a "
  3184. "<literal>Acquire::Changelogs::URI::Label::<replaceable>LABEL</replaceable></literal> "
  3185. "or "
  3186. "<literal>Acquire::Changelogs::URI::Origin::<replaceable>ORIGIN</replaceable></literal> "
  3187. "option exists and if so this value is taken. The value in the Release file "
  3188. "can be overridden with "
  3189. "<literal>Acquire::Changelogs::URI::Override::Label::<replaceable>LABEL</replaceable></literal> "
  3190. "or "
  3191. "<literal>Acquire::Changelogs::URI::Override::Origin::<replaceable>ORIGIN</replaceable></literal>. "
  3192. "The value should be a normal URI to a text file, except that package "
  3193. "specific data is replaced with the placeholder "
  3194. "<literal>@CHANGEPATH@</literal>. The value for it is: 1. if the package is "
  3195. "from a component (e.g. <literal>main</literal>) this is the first part "
  3196. "otherwise it is omitted, 2. the first letter of source package name, except "
  3197. "if the source package name starts with '<literal>lib</literal>' in which "
  3198. "case it will be the first four letters. 3. The complete source package "
  3199. "name. 4. the complete name again and 5. the source version. The first (if "
  3200. "present), second, third and fourth part are separated by a slash "
  3201. "('<literal>/</literal>') and between the fourth and fifth part is an "
  3202. "underscore ('<literal>_</literal>'). The special value "
  3203. "'<literal>no</literal>' is available for this option indicating that this "
  3204. "source can't be used to acquire changelog files from. Another source will be "
  3205. "tried if available in this case."
  3206. msgstr ""
  3207. #. type: Content of: <refentry><refsect1><title>
  3208. #: apt.conf.5.xml:1
  3209. msgid "Binary specific configuration"
  3210. msgstr ""
  3211. #. type: Content of: <refentry><refsect1><para>
  3212. #: apt.conf.5.xml:1
  3213. msgid ""
  3214. "Especially with the introduction of the <command>apt</command> binary it can "
  3215. "be useful to set certain options only for a specific binary as even options "
  3216. "which look like they would effect only a certain binary like "
  3217. "<option>APT::Get::Show-Versions</option> effect <command>apt-get</command> "
  3218. "as well as <command>apt</command>."
  3219. msgstr ""
  3220. #. type: Content of: <refentry><refsect1><para>
  3221. #: apt.conf.5.xml:1
  3222. msgid ""
  3223. "Setting an option for a specific binary only can be achieved by setting the "
  3224. "option inside the "
  3225. "<option>Binary::<replaceable>specific-binary</replaceable></option> "
  3226. "scope. Setting the option <option>APT::Get::Show-Versions</option> for the "
  3227. "<command>apt</command> only can e.g. by done by setting "
  3228. "<option>Binary::apt::APT::Get::Show-Versions</option> instead."
  3229. msgstr ""
  3230. #. type: Content of: <refentry><refsect1><para>
  3231. #: apt.conf.5.xml:1
  3232. msgid ""
  3233. "Note that as seen in the DESCRIPTION section further above you can't set "
  3234. "binary-specific options on the commandline itself nor in configuration files "
  3235. "loaded via the commandline."
  3236. msgstr ""
  3237. #. type: Content of: <refentry><refsect1><title>
  3238. #: apt.conf.5.xml:1
  3239. msgid "Directories"
  3240. msgstr ""
  3241. #. type: Content of: <refentry><refsect1><para>
  3242. #: apt.conf.5.xml:1
  3243. msgid ""
  3244. "The <literal>Dir::State</literal> section has directories that pertain to "
  3245. "local state information. <literal>lists</literal> is the directory to place "
  3246. "downloaded package lists in and <literal>status</literal> is the name of the "
  3247. "&dpkg; status file. <literal>preferences</literal> is the name of the APT "
  3248. "<filename>preferences</filename> file. <literal>Dir::State</literal> "
  3249. "contains the default directory to prefix on all sub-items if they do not "
  3250. "start with <filename>/</filename> or <filename>./</filename>."
  3251. msgstr ""
  3252. #. type: Content of: <refentry><refsect1><para>
  3253. #: apt.conf.5.xml:1
  3254. msgid ""
  3255. "<literal>Dir::Cache</literal> contains locations pertaining to local cache "
  3256. "information, such as the two package caches <literal>srcpkgcache</literal> "
  3257. "and <literal>pkgcache</literal> as well as the location to place downloaded "
  3258. "archives, <literal>Dir::Cache::archives</literal>. Generation of caches can "
  3259. "be turned off by setting <literal>pkgcache</literal> or "
  3260. "<literal>srcpkgcache</literal> to <literal>\"\"</literal>. This will slow "
  3261. "down startup but save disk space. It is probably preferable to turn off the "
  3262. "pkgcache rather than the srcpkgcache. Like <literal>Dir::State</literal> "
  3263. "the default directory is contained in <literal>Dir::Cache</literal>"
  3264. msgstr ""
  3265. #. type: Content of: <refentry><refsect1><para>
  3266. #: apt.conf.5.xml:1
  3267. msgid ""
  3268. "<literal>Dir::Etc</literal> contains the location of configuration files, "
  3269. "<literal>sourcelist</literal> gives the location of the sourcelist and "
  3270. "<literal>main</literal> is the default configuration file (setting has no "
  3271. "effect, unless it is done from the config file specified by "
  3272. "<envar>APT_CONFIG</envar>)."
  3273. msgstr ""
  3274. #. type: Content of: <refentry><refsect1><para>
  3275. #: apt.conf.5.xml:1
  3276. msgid ""
  3277. "The <literal>Dir::Parts</literal> setting reads in all the config fragments "
  3278. "in lexical order from the directory specified. After this is done then the "
  3279. "main config file is loaded."
  3280. msgstr ""
  3281. #. type: Content of: <refentry><refsect1><para>
  3282. #: apt.conf.5.xml:1
  3283. msgid ""
  3284. "Binary programs are pointed to by "
  3285. "<literal>Dir::Bin</literal>. <literal>Dir::Bin::Methods</literal> specifies "
  3286. "the location of the method handlers and <literal>gzip</literal>, "
  3287. "<literal>bzip2</literal>, <literal>lzma</literal>, <literal>dpkg</literal>, "
  3288. "<literal>apt-get</literal> <literal>dpkg-source</literal> "
  3289. "<literal>dpkg-buildpackage</literal> and <literal>apt-cache</literal> "
  3290. "specify the location of the respective programs."
  3291. msgstr ""
  3292. #. type: Content of: <refentry><refsect1><para>
  3293. #: apt.conf.5.xml:1
  3294. msgid ""
  3295. "The configuration item <literal>RootDir</literal> has a special meaning. If "
  3296. "set, all paths will be relative to <literal>RootDir</literal>, "
  3297. "<emphasis>even paths that are specified absolutely</emphasis>. So, for "
  3298. "instance, if <literal>RootDir</literal> is set to "
  3299. "<filename>/tmp/staging</filename> and <literal>Dir::State::status</literal> "
  3300. "is set to <filename>/var/lib/dpkg/status</filename>, then the status file "
  3301. "will be looked up in <filename>/tmp/staging/var/lib/dpkg/status</filename>. "
  3302. "If you want to prefix only relative paths, set <literal>Dir</literal> "
  3303. "instead."
  3304. msgstr ""
  3305. #. type: Content of: <refentry><refsect1><para>
  3306. #: apt.conf.5.xml:1
  3307. msgid ""
  3308. "The <literal>Ignore-Files-Silently</literal> list can be used to specify "
  3309. "which files APT should silently ignore while parsing the files in the "
  3310. "fragment directories. Per default a file which end with "
  3311. "<literal>.disabled</literal>, <literal>~</literal>, <literal>.bak</literal> "
  3312. "or <literal>.dpkg-[a-z]+</literal> is silently ignored. As seen in the last "
  3313. "default value these patterns can use regular expression syntax."
  3314. msgstr ""
  3315. #. type: Content of: <refentry><refsect1><title>
  3316. #: apt.conf.5.xml:1
  3317. msgid "APT in DSelect"
  3318. msgstr ""
  3319. #. type: Content of: <refentry><refsect1><para>
  3320. #: apt.conf.5.xml:1
  3321. msgid ""
  3322. "When APT is used as a &dselect; method several configuration directives "
  3323. "control the default behavior. These are in the <literal>DSelect</literal> "
  3324. "section."
  3325. msgstr ""
  3326. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3327. #: apt.conf.5.xml:1
  3328. msgid ""
  3329. "Cache Clean mode; this value may be one of <literal>always</literal>, "
  3330. "<literal>prompt</literal>, <literal>auto</literal>, "
  3331. "<literal>pre-auto</literal> and <literal>never</literal>. "
  3332. "<literal>always</literal> and <literal>prompt</literal> will remove all "
  3333. "packages from the cache after upgrading, <literal>prompt</literal> (the "
  3334. "default) does so conditionally. <literal>auto</literal> removes only those "
  3335. "packages which are no longer downloadable (replaced with a new version for "
  3336. "instance). <literal>pre-auto</literal> performs this action before "
  3337. "downloading new packages."
  3338. msgstr ""
  3339. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3340. #: apt.conf.5.xml:1
  3341. msgid ""
  3342. "The contents of this variable are passed to &apt-get; as command line "
  3343. "options when it is run for the install phase."
  3344. msgstr ""
  3345. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3346. #: apt.conf.5.xml:1
  3347. msgid ""
  3348. "The contents of this variable are passed to &apt-get; as command line "
  3349. "options when it is run for the update phase."
  3350. msgstr ""
  3351. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3352. #: apt.conf.5.xml:1
  3353. msgid ""
  3354. "If true the [U]pdate operation in &dselect; will always prompt to continue. "
  3355. "The default is to prompt only on error."
  3356. msgstr ""
  3357. #. type: Content of: <refentry><refsect1><title>
  3358. #: apt.conf.5.xml:1
  3359. msgid "How APT calls &dpkg;"
  3360. msgstr ""
  3361. #. type: Content of: <refentry><refsect1><para>
  3362. #: apt.conf.5.xml:1
  3363. msgid ""
  3364. "Several configuration directives control how APT invokes &dpkg;. These are "
  3365. "in the <literal>DPkg</literal> section."
  3366. msgstr ""
  3367. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3368. #: apt.conf.5.xml:1
  3369. msgid ""
  3370. "This is a list of options to pass to &dpkg;. The options must be specified "
  3371. "using the list notation and each list item is passed as a single argument to "
  3372. "&dpkg;."
  3373. msgstr ""
  3374. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3375. #: apt.conf.5.xml:1
  3376. msgid ""
  3377. "This is a list of shell commands to run before/after invoking &dpkg;. Like "
  3378. "<literal>options</literal> this must be specified in list notation. The "
  3379. "commands are invoked in order using <filename>/bin/sh</filename>; should any "
  3380. "fail APT will abort."
  3381. msgstr ""
  3382. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3383. #: apt.conf.5.xml:1
  3384. msgid ""
  3385. "This is a list of shell commands to run before invoking &dpkg;. Like "
  3386. "<literal>options</literal> this must be specified in list notation. The "
  3387. "commands are invoked in order using <filename>/bin/sh</filename>; should any "
  3388. "fail APT will abort. APT will pass the filenames of all .deb files it is "
  3389. "going to install to the commands, one per line on the requested file "
  3390. "descriptor, defaulting to standard input."
  3391. msgstr ""
  3392. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3393. #: apt.conf.5.xml:1
  3394. msgid ""
  3395. "Version 2 of this protocol sends more information through the requested file "
  3396. "descriptor: a line with the text <literal>VERSION 2</literal>, the APT "
  3397. "configuration space, and a list of package actions with filename and version "
  3398. "information."
  3399. msgstr ""
  3400. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3401. #: apt.conf.5.xml:1
  3402. msgid ""
  3403. "Each configuration directive line has the form "
  3404. "<literal>key=value</literal>. Special characters (equal signs, newlines, "
  3405. "nonprintable characters, quotation marks, and percent signs in "
  3406. "<literal>key</literal> and newlines, nonprintable characters, and percent "
  3407. "signs in <literal>value</literal>) are %-encoded. Lists are represented by "
  3408. "multiple <literal>key::=value</literal> lines with the same key. The "
  3409. "configuration section ends with a blank line."
  3410. msgstr ""
  3411. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3412. #: apt.conf.5.xml:1
  3413. msgid ""
  3414. "Package action lines consist of five fields in Version 2: package name "
  3415. "(without architecture qualification even if foreign), old version, direction "
  3416. "of version change (&lt; for upgrades, &gt; for downgrades, = for no change), "
  3417. "new version, action. The version fields are \"-\" for no version at all (for "
  3418. "example when installing a package for the first time; no version is treated "
  3419. "as earlier than any real version, so that is an upgrade, indicated as "
  3420. "<literal>- &lt; 1.23.4</literal>). The action field is \"**CONFIGURE**\" if "
  3421. "the package is being configured, \"**REMOVE**\" if it is being removed, or "
  3422. "the filename of a .deb file if it is being unpacked."
  3423. msgstr ""
  3424. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3425. #: apt.conf.5.xml:1
  3426. msgid ""
  3427. "In Version 3 after each version field follows the architecture of this "
  3428. "version, which is \"-\" if there is no version, and a field showing the "
  3429. "MultiArch type \"same\", \"foreign\", \"allowed\" or \"none\". Note that "
  3430. "\"none\" is an incorrect typename which is just kept to remain compatible, "
  3431. "it should be read as \"no\" and users are encouraged to support both."
  3432. msgstr ""
  3433. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3434. #: apt.conf.5.xml:1
  3435. msgid ""
  3436. "The version of the protocol to be used for the command "
  3437. "<literal><replaceable>cmd</replaceable></literal> can be chosen by setting "
  3438. "<literal>DPkg::Tools::options::<replaceable>cmd</replaceable>::Version</literal> "
  3439. "accordingly, the default being version 1. If APT isn't supporting the "
  3440. "requested version it will send the information in the highest version it has "
  3441. "support for instead."
  3442. msgstr ""
  3443. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3444. #: apt.conf.5.xml:1
  3445. msgid ""
  3446. "The file descriptor to be used to send the information can be requested with "
  3447. "<literal>DPkg::Tools::options::<replaceable>cmd</replaceable>::InfoFD</literal> "
  3448. "which defaults to <literal>0</literal> for standard input and is available "
  3449. "since version 0.9.11. Support for the option can be detected by looking for "
  3450. "the environment variable <envar>APT_HOOK_INFO_FD</envar> which contains the "
  3451. "number of the used file descriptor as a confirmation."
  3452. msgstr ""
  3453. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3454. #: apt.conf.5.xml:1
  3455. msgid ""
  3456. "APT chdirs to this directory before invoking &dpkg;, the default is "
  3457. "<filename>/</filename>."
  3458. msgstr ""
  3459. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3460. #: apt.conf.5.xml:1
  3461. msgid ""
  3462. "These options are passed to &dpkg-buildpackage; when compiling packages; the "
  3463. "default is to disable signing and produce all binaries."
  3464. msgstr ""
  3465. #. type: Content of: <refentry><refsect1><refsect2><title>
  3466. #: apt.conf.5.xml:1
  3467. msgid "dpkg trigger usage (and related options)"
  3468. msgstr ""
  3469. #. type: Content of: <refentry><refsect1><refsect2><para>
  3470. #: apt.conf.5.xml:1
  3471. msgid ""
  3472. "APT can call &dpkg; in such a way as to let it make aggressive use of "
  3473. "triggers over multiple calls of &dpkg;. Without further options &dpkg; will "
  3474. "use triggers once each time it runs. Activating these options can therefore "
  3475. "decrease the time needed to perform the install or upgrade. Note that it is "
  3476. "intended to activate these options per default in the future, but as it "
  3477. "drastically changes the way APT calls &dpkg; it needs a lot more testing. "
  3478. "<emphasis>These options are therefore currently experimental and should not "
  3479. "be used in production environments.</emphasis> It also breaks progress "
  3480. "reporting such that all front-ends will currently stay around half (or more) "
  3481. "of the time in the 100% state while it actually configures all packages."
  3482. msgstr ""
  3483. #. type: Content of: <refentry><refsect1><refsect2><para><literallayout>
  3484. #: apt.conf.5.xml:1
  3485. #, no-wrap
  3486. msgid ""
  3487. "DPkg::NoTriggers \"true\";\n"
  3488. "PackageManager::Configure \"smart\";\n"
  3489. "DPkg::ConfigurePending \"true\";\n"
  3490. "DPkg::TriggersPending \"true\";"
  3491. msgstr ""
  3492. #. type: Content of: <refentry><refsect1><refsect2><para>
  3493. #: apt.conf.5.xml:1
  3494. msgid ""
  3495. "Note that it is not guaranteed that APT will support these options or that "
  3496. "these options will not cause (big) trouble in the future. If you have "
  3497. "understand the current risks and problems with these options, but are brave "
  3498. "enough to help testing them, create a new configuration file and test a "
  3499. "combination of options. Please report any bugs, problems and improvements "
  3500. "you encounter and make sure to note which options you have used in your "
  3501. "reports. Asking &dpkg; for help could also be useful for debugging proposes, "
  3502. "see e.g. <command>dpkg --audit</command>. A defensive option combination "
  3503. "would be <placeholder type=\"literallayout\" id=\"0\"/>"
  3504. msgstr ""
  3505. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  3506. #: apt.conf.5.xml:1
  3507. msgid ""
  3508. "Add the no triggers flag to all &dpkg; calls (except the ConfigurePending "
  3509. "call). See &dpkg; if you are interested in what this actually means. In "
  3510. "short: &dpkg; will not run the triggers when this flag is present unless it "
  3511. "is explicitly called to do so in an extra call. Note that this option "
  3512. "exists (undocumented) also in older APT versions with a slightly different "
  3513. "meaning: Previously these option only append --no-triggers to the configure "
  3514. "calls to &dpkg; - now APT will also add this flag to the unpack and remove "
  3515. "calls."
  3516. msgstr ""
  3517. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  3518. #: apt.conf.5.xml:1
  3519. msgid ""
  3520. "Valid values are \"<literal>all</literal>\", \"<literal>smart</literal>\" "
  3521. "and \"<literal>no</literal>\". The default value is "
  3522. "\"<literal>all</literal>\", which causes APT to configure all packages. The "
  3523. "\"<literal>smart</literal>\" way is to configure only packages which need to "
  3524. "be configured before another package can be unpacked (Pre-Depends), and let "
  3525. "the rest be configured by &dpkg; with a call generated by the "
  3526. "ConfigurePending option (see below). On the other hand, "
  3527. "\"<literal>no</literal>\" will not configure anything, and totally relies on "
  3528. "&dpkg; for configuration (which at the moment will fail if a Pre-Depends is "
  3529. "encountered). Setting this option to any value other than "
  3530. "<literal>all</literal> will implicitly also activate the next option by "
  3531. "default, as otherwise the system could end in an unconfigured and "
  3532. "potentially unbootable state."
  3533. msgstr ""
  3534. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  3535. #: apt.conf.5.xml:1
  3536. msgid ""
  3537. "If this option is set APT will call <command>dpkg --configure "
  3538. "--pending</command> to let &dpkg; handle all required configurations and "
  3539. "triggers. This option is activated automatically per default if the previous "
  3540. "option is not set to <literal>all</literal>, but deactivating it could be "
  3541. "useful if you want to run APT multiple times in a row - e.g. in an "
  3542. "installer. In these sceneries you could deactivate this option in all but "
  3543. "the last run."
  3544. msgstr ""
  3545. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  3546. #: apt.conf.5.xml:1
  3547. msgid ""
  3548. "Useful for the <literal>smart</literal> configuration as a package which has "
  3549. "pending triggers is not considered as <literal>installed</literal>, and "
  3550. "&dpkg; treats them as <literal>unpacked</literal> currently which is a "
  3551. "showstopper for Pre-Dependencies (see debbugs #526774). Note that this will "
  3552. "process all triggers, not only the triggers needed to configure this "
  3553. "package."
  3554. msgstr ""
  3555. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para><literallayout>
  3556. #: apt.conf.5.xml:1
  3557. #, no-wrap
  3558. msgid ""
  3559. "OrderList::Score {\n"
  3560. "\tDelete 500;\n"
  3561. "\tEssential 200;\n"
  3562. "\tImmediate 10;\n"
  3563. "\tPreDepends 50;\n"
  3564. "};"
  3565. msgstr ""
  3566. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  3567. #: apt.conf.5.xml:1
  3568. msgid ""
  3569. "Essential packages (and their dependencies) should be configured immediately "
  3570. "after unpacking. It is a good idea to do this quite early in the upgrade "
  3571. "process as these configure calls also currently require "
  3572. "<literal>DPkg::TriggersPending</literal> which will run quite a few triggers "
  3573. "(which may not be needed). Essentials get per default a high score but the "
  3574. "immediate flag is relatively low (a package which has a Pre-Depends is rated "
  3575. "higher). These option and the others in the same group can be used to "
  3576. "change the scoring. The following example shows the settings with their "
  3577. "default values. <placeholder type=\"literallayout\" id=\"0\"/>"
  3578. msgstr ""
  3579. #. type: Content of: <refentry><refsect1><title>
  3580. #: apt.conf.5.xml:1
  3581. msgid "Periodic and Archives options"
  3582. msgstr ""
  3583. #. type: Content of: <refentry><refsect1><para>
  3584. #: apt.conf.5.xml:1
  3585. msgid ""
  3586. "<literal>APT::Periodic</literal> and <literal>APT::Archives</literal> groups "
  3587. "of options configure behavior of apt periodic updates, which is done by the "
  3588. "<literal>/usr/lib/apt/apt.systemd.daily</literal> script. See the top of "
  3589. "this script for the brief documentation of these options."
  3590. msgstr ""
  3591. #. type: Content of: <refentry><refsect1><title>
  3592. #: apt.conf.5.xml:1
  3593. msgid "Debug options"
  3594. msgstr ""
  3595. #. type: Content of: <refentry><refsect1><para>
  3596. #: apt.conf.5.xml:1
  3597. msgid ""
  3598. "Enabling options in the <literal>Debug::</literal> section will cause "
  3599. "debugging information to be sent to the standard error stream of the program "
  3600. "utilizing the <literal>apt</literal> libraries, or enable special program "
  3601. "modes that are primarily useful for debugging the behavior of "
  3602. "<literal>apt</literal>. Most of these options are not interesting to a "
  3603. "normal user, but a few may be:"
  3604. msgstr ""
  3605. #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
  3606. #: apt.conf.5.xml:1
  3607. msgid ""
  3608. "<literal>Debug::pkgProblemResolver</literal> enables output about the "
  3609. "decisions made by <literal>dist-upgrade, upgrade, install, remove, "
  3610. "purge</literal>."
  3611. msgstr ""
  3612. #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
  3613. #: apt.conf.5.xml:1
  3614. msgid ""
  3615. "<literal>Debug::NoLocking</literal> disables all file locking. This can be "
  3616. "used to run some operations (for instance, <literal>apt-get -s "
  3617. "install</literal>) as a non-root user."
  3618. msgstr ""
  3619. #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
  3620. #: apt.conf.5.xml:1
  3621. msgid ""
  3622. "<literal>Debug::pkgDPkgPM</literal> prints out the actual command line each "
  3623. "time that <literal>apt</literal> invokes &dpkg;."
  3624. msgstr ""
  3625. #. TODO: provide a
  3626. #. motivating example, except I haven't a clue why you'd want
  3627. #. to do this.
  3628. #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
  3629. #: apt.conf.5.xml:1
  3630. msgid ""
  3631. "<literal>Debug::IdentCdrom</literal> disables the inclusion of statfs data "
  3632. "in CD-ROM IDs."
  3633. msgstr ""
  3634. #. type: Content of: <refentry><refsect1><para>
  3635. #: apt.conf.5.xml:1
  3636. msgid "A full list of debugging options to apt follows."
  3637. msgstr ""
  3638. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3639. #: apt.conf.5.xml:1
  3640. msgid "Print information related to accessing <literal>cdrom://</literal> sources."
  3641. msgstr ""
  3642. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3643. #: apt.conf.5.xml:1
  3644. msgid "Print information related to downloading packages using FTP."
  3645. msgstr ""
  3646. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3647. #: apt.conf.5.xml:1
  3648. msgid "Print information related to downloading packages using HTTP."
  3649. msgstr ""
  3650. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3651. #: apt.conf.5.xml:1
  3652. msgid "Print information related to downloading packages using HTTPS."
  3653. msgstr ""
  3654. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3655. #: apt.conf.5.xml:1
  3656. msgid ""
  3657. "Print information related to verifying cryptographic signatures using "
  3658. "<literal>gpg</literal>."
  3659. msgstr ""
  3660. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3661. #: apt.conf.5.xml:1
  3662. msgid ""
  3663. "Output information about the process of accessing collections of packages "
  3664. "stored on CD-ROMs."
  3665. msgstr ""
  3666. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3667. #: apt.conf.5.xml:1
  3668. msgid "Describes the process of resolving build-dependencies in &apt-get;."
  3669. msgstr ""
  3670. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3671. #: apt.conf.5.xml:1
  3672. msgid ""
  3673. "Output each cryptographic hash that is generated by the "
  3674. "<literal>apt</literal> libraries."
  3675. msgstr ""
  3676. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3677. #: apt.conf.5.xml:1
  3678. msgid ""
  3679. "Do not include information from <literal>statfs</literal>, namely the number "
  3680. "of used and free blocks on the CD-ROM filesystem, when generating an ID for "
  3681. "a CD-ROM."
  3682. msgstr ""
  3683. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3684. #: apt.conf.5.xml:1
  3685. msgid ""
  3686. "Disable all file locking. For instance, this will allow two instances of "
  3687. "<quote><literal>apt-get update</literal></quote> to run at the same time."
  3688. msgstr ""
  3689. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3690. #: apt.conf.5.xml:1
  3691. msgid "Log when items are added to or removed from the global download queue."
  3692. msgstr ""
  3693. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3694. #: apt.conf.5.xml:1
  3695. msgid ""
  3696. "Output status messages and errors related to verifying checksums and "
  3697. "cryptographic signatures of downloaded files."
  3698. msgstr ""
  3699. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3700. #: apt.conf.5.xml:1
  3701. msgid ""
  3702. "Output information about downloading and applying package index list diffs, "
  3703. "and errors relating to package index list diffs."
  3704. msgstr ""
  3705. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3706. #: apt.conf.5.xml:1
  3707. msgid ""
  3708. "Output information related to patching apt package lists when downloading "
  3709. "index diffs instead of full indices."
  3710. msgstr ""
  3711. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3712. #: apt.conf.5.xml:1
  3713. msgid "Log all interactions with the sub-processes that actually perform downloads."
  3714. msgstr ""
  3715. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3716. #: apt.conf.5.xml:1
  3717. msgid ""
  3718. "Log events related to the automatically-installed status of packages and to "
  3719. "the removal of unused packages."
  3720. msgstr ""
  3721. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3722. #: apt.conf.5.xml:1
  3723. msgid ""
  3724. "Generate debug messages describing which packages are being automatically "
  3725. "installed to resolve dependencies. This corresponds to the initial "
  3726. "auto-install pass performed in, e.g., <literal>apt-get install</literal>, "
  3727. "and not to the full <literal>apt</literal> dependency resolver; see "
  3728. "<literal>Debug::pkgProblemResolver</literal> for that."
  3729. msgstr ""
  3730. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3731. #: apt.conf.5.xml:1
  3732. msgid ""
  3733. "Generate debug messages describing which packages are marked as "
  3734. "keep/install/remove while the ProblemResolver does his work. Each addition "
  3735. "or deletion may trigger additional actions; they are shown indented two "
  3736. "additional spaces under the original entry. The format for each line is "
  3737. "<literal>MarkKeep</literal>, <literal>MarkDelete</literal> or "
  3738. "<literal>MarkInstall</literal> followed by <literal>package-name &lt;a.b.c "
  3739. "-&gt; d.e.f | x.y.z&gt; (section)</literal> where <literal>a.b.c</literal> "
  3740. "is the current version of the package, <literal>d.e.f</literal> is the "
  3741. "version considered for installation and <literal>x.y.z</literal> is a newer "
  3742. "version, but not considered for installation (because of a low pin "
  3743. "score). The later two can be omitted if there is none or if it is the same "
  3744. "as the installed version. <literal>section</literal> is the name of the "
  3745. "section the package appears in."
  3746. msgstr ""
  3747. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3748. #: apt.conf.5.xml:1
  3749. msgid ""
  3750. "When invoking &dpkg;, output the precise command line with which it is being "
  3751. "invoked, with arguments separated by a single space character."
  3752. msgstr ""
  3753. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3754. #: apt.conf.5.xml:1
  3755. msgid ""
  3756. "Output all the data received from &dpkg; on the status file descriptor and "
  3757. "any errors encountered while parsing it."
  3758. msgstr ""
  3759. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3760. #: apt.conf.5.xml:1
  3761. msgid ""
  3762. "Generate a trace of the algorithm that decides the order in which "
  3763. "<literal>apt</literal> should pass packages to &dpkg;."
  3764. msgstr ""
  3765. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3766. #: apt.conf.5.xml:1
  3767. msgid "Output status messages tracing the steps performed when invoking &dpkg;."
  3768. msgstr ""
  3769. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3770. #: apt.conf.5.xml:1
  3771. msgid "Output the priority of each package list on startup."
  3772. msgstr ""
  3773. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3774. #: apt.conf.5.xml:1
  3775. msgid ""
  3776. "Trace the execution of the dependency resolver (this applies only to what "
  3777. "happens when a complex dependency problem is encountered)."
  3778. msgstr ""
  3779. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3780. #: apt.conf.5.xml:1
  3781. msgid ""
  3782. "Display a list of all installed packages with their calculated score used by "
  3783. "the pkgProblemResolver. The description of the package is the same as "
  3784. "described in <literal>Debug::pkgDepCache::Marker</literal>"
  3785. msgstr ""
  3786. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3787. #: apt.conf.5.xml:1
  3788. msgid ""
  3789. "Print information about the vendors read from "
  3790. "<filename>/etc/apt/vendors.list</filename>."
  3791. msgstr ""
  3792. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  3793. #: apt.conf.5.xml:1
  3794. msgid ""
  3795. "Display the external commands that are called by apt hooks. This includes "
  3796. "e.g. the config options <literal>DPkg::{Pre,Post}-Invoke</literal> or "
  3797. "<literal>APT::Update::{Pre,Post}-Invoke</literal>."
  3798. msgstr ""
  3799. #. type: Content of: <refentry><refsect1><title>
  3800. #: apt.conf.5.xml:1 apt_preferences.5.xml:1 sources.list.5.xml:1
  3801. #: apt-ftparchive.1.xml:1
  3802. msgid "Examples"
  3803. msgstr ""
  3804. #. type: Content of: <refentry><refsect1><para>
  3805. #: apt.conf.5.xml:1
  3806. msgid ""
  3807. "&configureindex; is a configuration file showing example values for all "
  3808. "possible options."
  3809. msgstr ""
  3810. #. ? reading apt.conf
  3811. #. type: Content of: <refentry><refsect1><para>
  3812. #: apt.conf.5.xml:1
  3813. msgid "&apt-cache;, &apt-config;, &apt-preferences;."
  3814. msgstr ""
  3815. #. type: Content of: <refentry><refnamediv><refpurpose>
  3816. #: apt_preferences.5.xml:1
  3817. msgid "Preference control file for APT"
  3818. msgstr ""
  3819. #. type: Content of: <refentry><refsect1><para>
  3820. #: apt_preferences.5.xml:1
  3821. msgid ""
  3822. "The APT preferences file <filename>/etc/apt/preferences</filename> and the "
  3823. "fragment files in the <filename>/etc/apt/preferences.d/</filename> folder "
  3824. "can be used to control which versions of packages will be selected for "
  3825. "installation."
  3826. msgstr ""
  3827. #. type: Content of: <refentry><refsect1><para>
  3828. #: apt_preferences.5.xml:1
  3829. msgid ""
  3830. "Several versions of a package may be available for installation when the "
  3831. "&sources-list; file contains references to more than one distribution (for "
  3832. "example, <literal>stable</literal> and <literal>testing</literal>). APT "
  3833. "assigns a priority to each version that is available. Subject to dependency "
  3834. "constraints, <command>apt-get</command> selects the version with the highest "
  3835. "priority for installation. The APT preferences override the priorities that "
  3836. "APT assigns to package versions by default, thus giving the user control "
  3837. "over which one is selected for installation."
  3838. msgstr ""
  3839. #. type: Content of: <refentry><refsect1><para>
  3840. #: apt_preferences.5.xml:1
  3841. msgid ""
  3842. "Several instances of the same version of a package may be available when the "
  3843. "&sources-list; file contains references to more than one source. In this "
  3844. "case <command>apt-get</command> downloads the instance listed earliest in "
  3845. "the &sources-list; file. The APT preferences do not affect the choice of "
  3846. "instance, only the choice of version."
  3847. msgstr ""
  3848. #. type: Content of: <refentry><refsect1><para>
  3849. #: apt_preferences.5.xml:1
  3850. msgid ""
  3851. "Preferences are a strong power in the hands of a system administrator but "
  3852. "they can become also their biggest nightmare if used without care! APT will "
  3853. "not question the preferences, so wrong settings can lead to uninstallable "
  3854. "packages or wrong decisions while upgrading packages. Even more problems "
  3855. "will arise if multiple distribution releases are mixed without a good "
  3856. "understanding of the following paragraphs. Packages included in a specific "
  3857. "release aren't tested in (and therefore don't always work as expected in) "
  3858. "older or newer releases, or together with other packages from different "
  3859. "releases. You have been warned."
  3860. msgstr ""
  3861. #. type: Content of: <refentry><refsect1><para>
  3862. #: apt_preferences.5.xml:1
  3863. msgid ""
  3864. "Note that the files in the <filename>/etc/apt/preferences.d</filename> "
  3865. "directory are parsed in alphanumeric ascending order and need to obey the "
  3866. "following naming convention: The files have either no or "
  3867. "\"<literal>pref</literal>\" as filename extension and only contain "
  3868. "alphanumeric, hyphen (-), underscore (_) and period (.) characters. "
  3869. "Otherwise APT will print a notice that it has ignored a file, unless that "
  3870. "file matches a pattern in the <literal>Dir::Ignore-Files-Silently</literal> "
  3871. "configuration list - in which case it will be silently ignored."
  3872. msgstr ""
  3873. #. type: Content of: <refentry><refsect1><refsect2><title>
  3874. #: apt_preferences.5.xml:1
  3875. msgid "APT's Default Priority Assignments"
  3876. msgstr ""
  3877. #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
  3878. #: apt_preferences.5.xml:1
  3879. #, no-wrap
  3880. msgid ""
  3881. "<command>apt-get install -t testing "
  3882. "<replaceable>some-package</replaceable></command>\n"
  3883. msgstr ""
  3884. #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
  3885. #: apt_preferences.5.xml:1
  3886. #, no-wrap
  3887. msgid "APT::Default-Release \"stable\";\n"
  3888. msgstr ""
  3889. #. type: Content of: <refentry><refsect1><refsect2><para>
  3890. #: apt_preferences.5.xml:1
  3891. msgid ""
  3892. "If there is no preferences file or if there is no entry in the file that "
  3893. "applies to a particular version then the priority assigned to that version "
  3894. "is the priority of the distribution to which that version belongs. It is "
  3895. "possible to single out a distribution, \"the target release\", which "
  3896. "receives a higher priority than other distributions do by default. The "
  3897. "target release can be set on the <command>apt-get</command> command line or "
  3898. "in the APT configuration file <filename>/etc/apt/apt.conf</filename>. Note "
  3899. "that this has precedence over any general priority you set in the "
  3900. "<filename>/etc/apt/preferences</filename> file described later, but not over "
  3901. "specifically pinned packages. For example, <placeholder "
  3902. "type=\"programlisting\" id=\"0\"/> <placeholder type=\"programlisting\" "
  3903. "id=\"1\"/>"
  3904. msgstr ""
  3905. #. type: Content of: <refentry><refsect1><refsect2><para>
  3906. #: apt_preferences.5.xml:1
  3907. msgid ""
  3908. "If the target release has been specified then APT uses the following "
  3909. "algorithm to set the priorities of the versions of a package. Assign:"
  3910. msgstr ""
  3911. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
  3912. #: apt_preferences.5.xml:1
  3913. msgid "priority 1"
  3914. msgstr ""
  3915. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
  3916. #: apt_preferences.5.xml:1
  3917. msgid ""
  3918. "to the versions coming from archives which in their "
  3919. "<filename>Release</filename> files are marked as \"NotAutomatic: yes\" but "
  3920. "<emphasis>not</emphasis> as \"ButAutomaticUpgrades: yes\" like the Debian "
  3921. "<literal>experimental</literal> archive."
  3922. msgstr ""
  3923. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
  3924. #: apt_preferences.5.xml:1
  3925. msgid "priority 100"
  3926. msgstr ""
  3927. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
  3928. #: apt_preferences.5.xml:1
  3929. msgid ""
  3930. "to the version that is already installed (if any) and to the versions coming "
  3931. "from archives which in their <filename>Release</filename> files are marked "
  3932. "as \"NotAutomatic: yes\" and \"ButAutomaticUpgrades: yes\" like the Debian "
  3933. "backports archive since <literal>squeeze-backports</literal>."
  3934. msgstr ""
  3935. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
  3936. #: apt_preferences.5.xml:1
  3937. msgid "priority 500"
  3938. msgstr ""
  3939. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
  3940. #: apt_preferences.5.xml:1
  3941. msgid "to the versions that do not belong to the target release."
  3942. msgstr ""
  3943. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
  3944. #: apt_preferences.5.xml:1
  3945. msgid "priority 990"
  3946. msgstr ""
  3947. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
  3948. #: apt_preferences.5.xml:1
  3949. msgid "to the versions that belong to the target release."
  3950. msgstr ""
  3951. #. type: Content of: <refentry><refsect1><refsect2><para>
  3952. #: apt_preferences.5.xml:1
  3953. msgid ""
  3954. "The highest of those priorities whose description matches the version is "
  3955. "assigned to the version."
  3956. msgstr ""
  3957. #. type: Content of: <refentry><refsect1><refsect2><para>
  3958. #: apt_preferences.5.xml:1
  3959. msgid ""
  3960. "If the target release has not been specified then APT simply assigns "
  3961. "priority 100 to all installed package versions and priority 500 to all "
  3962. "uninstalled package versions, except versions coming from archives which in "
  3963. "their <filename>Release</filename> files are marked as \"NotAutomatic: yes\" "
  3964. "- these versions get the priority 1 or priority 100 if it is additionally "
  3965. "marked as \"ButAutomaticUpgrades: yes\"."
  3966. msgstr ""
  3967. #. type: Content of: <refentry><refsect1><refsect2><para>
  3968. #: apt_preferences.5.xml:1
  3969. msgid ""
  3970. "APT then applies the following rules, listed in order of precedence, to "
  3971. "determine which version of a package to install."
  3972. msgstr ""
  3973. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
  3974. #: apt_preferences.5.xml:1
  3975. msgid ""
  3976. "Never downgrade unless the priority of an available version exceeds 1000. "
  3977. "(\"Downgrading\" is installing a less recent version of a package in place "
  3978. "of a more recent version. Note that none of APT's default priorities "
  3979. "exceeds 1000; such high priorities can only be set in the preferences file. "
  3980. "Note also that downgrading a package can be risky.)"
  3981. msgstr ""
  3982. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
  3983. #: apt_preferences.5.xml:1
  3984. msgid "Install the highest priority version."
  3985. msgstr ""
  3986. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
  3987. #: apt_preferences.5.xml:1
  3988. msgid ""
  3989. "If two or more versions have the same priority, install the most recent one "
  3990. "(that is, the one with the higher version number)."
  3991. msgstr ""
  3992. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
  3993. #: apt_preferences.5.xml:1
  3994. msgid ""
  3995. "If two or more versions have the same priority and version number but either "
  3996. "the packages differ in some of their metadata or the "
  3997. "<literal>--reinstall</literal> option is given, install the uninstalled one."
  3998. msgstr ""
  3999. #. type: Content of: <refentry><refsect1><refsect2><para>
  4000. #: apt_preferences.5.xml:1
  4001. msgid ""
  4002. "In a typical situation, the installed version of a package (priority 100) "
  4003. "is not as recent as one of the versions available from the sources listed in "
  4004. "the &sources-list; file (priority 500 or 990). Then the package will be "
  4005. "upgraded when <command>apt-get install "
  4006. "<replaceable>some-package</replaceable></command> or <command>apt-get "
  4007. "upgrade</command> is executed."
  4008. msgstr ""
  4009. #. type: Content of: <refentry><refsect1><refsect2><para>
  4010. #: apt_preferences.5.xml:1
  4011. msgid ""
  4012. "More rarely, the installed version of a package is <emphasis>more</emphasis> "
  4013. "recent than any of the other available versions. The package will not be "
  4014. "downgraded when <command>apt-get install "
  4015. "<replaceable>some-package</replaceable></command> or <command>apt-get "
  4016. "upgrade</command> is executed."
  4017. msgstr ""
  4018. #. type: Content of: <refentry><refsect1><refsect2><para>
  4019. #: apt_preferences.5.xml:1
  4020. msgid ""
  4021. "Sometimes the installed version of a package is more recent than the version "
  4022. "belonging to the target release, but not as recent as a version belonging to "
  4023. "some other distribution. Such a package will indeed be upgraded when "
  4024. "<command>apt-get install <replaceable>some-package</replaceable></command> "
  4025. "or <command>apt-get upgrade</command> is executed, because at least "
  4026. "<emphasis>one</emphasis> of the available versions has a higher priority "
  4027. "than the installed version."
  4028. msgstr ""
  4029. #. type: Content of: <refentry><refsect1><refsect2><title>
  4030. #: apt_preferences.5.xml:1
  4031. msgid "The Effect of APT Preferences"
  4032. msgstr ""
  4033. #. type: Content of: <refentry><refsect1><refsect2><para>
  4034. #: apt_preferences.5.xml:1
  4035. msgid ""
  4036. "The APT preferences file allows the system administrator to control the "
  4037. "assignment of priorities. The file consists of one or more multi-line "
  4038. "records separated by blank lines. Records can have one of two forms, a "
  4039. "specific form and a general form."
  4040. msgstr ""
  4041. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
  4042. #: apt_preferences.5.xml:1
  4043. msgid ""
  4044. "The specific form assigns a priority (a \"Pin-Priority\") to one or more "
  4045. "specified packages with a specified version or version range. For example, "
  4046. "the following record assigns a high priority to all versions of the "
  4047. "<filename>perl</filename> package whose version number begins with "
  4048. "\"<literal>&good-perl;</literal>\". Multiple packages can be separated by "
  4049. "spaces."
  4050. msgstr ""
  4051. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
  4052. #: apt_preferences.5.xml:1
  4053. #, no-wrap
  4054. msgid ""
  4055. "Package: perl\n"
  4056. "Pin: version &good-perl;*\n"
  4057. "Pin-Priority: 1001\n"
  4058. msgstr ""
  4059. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
  4060. #: apt_preferences.5.xml:1
  4061. msgid ""
  4062. "The general form assigns a priority to all of the package versions in a "
  4063. "given distribution (that is, to all the versions of packages that are listed "
  4064. "in a certain <filename>Release</filename> file) or to all of the package "
  4065. "versions coming from a particular Internet site, as identified by the site's "
  4066. "fully qualified domain name."
  4067. msgstr ""
  4068. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
  4069. #: apt_preferences.5.xml:1
  4070. msgid ""
  4071. "This general-form entry in the APT preferences file applies only to groups "
  4072. "of packages. For example, the following record assigns a high priority to "
  4073. "all package versions available from the local site."
  4074. msgstr ""
  4075. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
  4076. #: apt_preferences.5.xml:1
  4077. #, no-wrap
  4078. msgid ""
  4079. "Package: *\n"
  4080. "Pin: origin \"\"\n"
  4081. "Pin-Priority: 999\n"
  4082. msgstr ""
  4083. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
  4084. #: apt_preferences.5.xml:1
  4085. msgid ""
  4086. "A note of caution: the keyword used here is \"<literal>origin</literal>\" "
  4087. "which can be used to match a hostname. The following record will assign a "
  4088. "high priority to all versions available from the server identified by the "
  4089. "hostname \"ftp.de.debian.org\""
  4090. msgstr ""
  4091. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
  4092. #: apt_preferences.5.xml:1
  4093. #, no-wrap
  4094. msgid ""
  4095. "Package: *\n"
  4096. "Pin: origin \"ftp.de.debian.org\"\n"
  4097. "Pin-Priority: 999\n"
  4098. msgstr ""
  4099. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
  4100. #: apt_preferences.5.xml:1
  4101. msgid ""
  4102. "This should <emphasis>not</emphasis> be confused with the Origin of a "
  4103. "distribution as specified in a <filename>Release</filename> file. What "
  4104. "follows the \"Origin:\" tag in a <filename>Release</filename> file is not an "
  4105. "Internet address but an author or vendor name, such as \"Debian\" or "
  4106. "\"Ximian\"."
  4107. msgstr ""
  4108. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
  4109. #: apt_preferences.5.xml:1
  4110. msgid ""
  4111. "The following record assigns a low priority to all package versions "
  4112. "belonging to any distribution whose Archive name is "
  4113. "\"<literal>unstable</literal>\"."
  4114. msgstr ""
  4115. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
  4116. #: apt_preferences.5.xml:1
  4117. #, no-wrap
  4118. msgid ""
  4119. "Package: *\n"
  4120. "Pin: release a=unstable\n"
  4121. "Pin-Priority: 50\n"
  4122. msgstr ""
  4123. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
  4124. #: apt_preferences.5.xml:1
  4125. msgid ""
  4126. "The following record assigns a high priority to all package versions "
  4127. "belonging to any distribution whose Codename is "
  4128. "\"<literal>&debian-testing-codename;</literal>\"."
  4129. msgstr ""
  4130. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
  4131. #: apt_preferences.5.xml:1
  4132. #, no-wrap
  4133. msgid ""
  4134. "Package: *\n"
  4135. "Pin: release n=&debian-testing-codename;\n"
  4136. "Pin-Priority: 900\n"
  4137. msgstr ""
  4138. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
  4139. #: apt_preferences.5.xml:1
  4140. msgid ""
  4141. "The following record assigns a high priority to all package versions "
  4142. "belonging to any release whose Archive name is \"<literal>stable</literal>\" "
  4143. "and whose release Version number is "
  4144. "\"<literal>&debian-stable-version;</literal>\"."
  4145. msgstr ""
  4146. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
  4147. #: apt_preferences.5.xml:1
  4148. #, no-wrap
  4149. msgid ""
  4150. "Package: *\n"
  4151. "Pin: release a=stable, v=&debian-stable-version;\n"
  4152. "Pin-Priority: 500\n"
  4153. msgstr ""
  4154. #. type: Content of: <refentry><refsect1><refsect2><para>
  4155. #: apt_preferences.5.xml:1
  4156. msgid ""
  4157. "The effect of the comma operator is similar to an \"and\" in logic: All "
  4158. "conditions must be satisfied for the pin to match. There is one exception: "
  4159. "For any type of condition (such as two \"a\" conditions), only the last such "
  4160. "condition is checked."
  4161. msgstr ""
  4162. #. type: Content of: <refentry><refsect1><refsect2><title>
  4163. #: apt_preferences.5.xml:1
  4164. msgid "Regular expressions and &glob; syntax"
  4165. msgstr ""
  4166. #. type: Content of: <refentry><refsect1><refsect2><para>
  4167. #: apt_preferences.5.xml:1
  4168. msgid ""
  4169. "APT also supports pinning by &glob; expressions, and regular expressions "
  4170. "surrounded by slashes. For example, the following example assigns the "
  4171. "priority 500 to all packages from experimental where the name starts with "
  4172. "gnome (as a &glob;-like expression) or contains the word kde (as a POSIX "
  4173. "extended regular expression surrounded by slashes)."
  4174. msgstr ""
  4175. #. type: Content of: <refentry><refsect1><refsect2><programlisting>
  4176. #: apt_preferences.5.xml:1
  4177. #, no-wrap
  4178. msgid ""
  4179. "Package: gnome* /kde/\n"
  4180. "Pin: release a=experimental\n"
  4181. "Pin-Priority: 500\n"
  4182. msgstr ""
  4183. #. type: Content of: <refentry><refsect1><refsect2><para>
  4184. #: apt_preferences.5.xml:1
  4185. msgid ""
  4186. "The rule for those expressions is that they can occur anywhere where a "
  4187. "string can occur. Thus, the following pin assigns the priority 990 to all "
  4188. "packages from a release starting with &ubuntu-codename;."
  4189. msgstr ""
  4190. #. type: Content of: <refentry><refsect1><refsect2><programlisting>
  4191. #: apt_preferences.5.xml:1
  4192. #, no-wrap
  4193. msgid ""
  4194. "Package: *\n"
  4195. "Pin: release n=&ubuntu-codename;*\n"
  4196. "Pin-Priority: 990\n"
  4197. msgstr ""
  4198. #. type: Content of: <refentry><refsect1><refsect2><para>
  4199. #: apt_preferences.5.xml:1
  4200. msgid ""
  4201. "If a regular expression occurs in a <literal>Package</literal> field, the "
  4202. "behavior is the same as if this regular expression were replaced with a list "
  4203. "of all package names it matches. It is undecided whether this will change in "
  4204. "the future; thus you should always list wild-card pins first, so later "
  4205. "specific pins override it. The pattern \"<literal>*</literal>\" in a "
  4206. "Package field is not considered a &glob; expression in itself."
  4207. msgstr ""
  4208. #. type: Content of: <refentry><refsect1><refsect2><title>
  4209. #: apt_preferences.5.xml:1
  4210. msgid "How APT Interprets Priorities"
  4211. msgstr ""
  4212. #. type: Content of: <refentry><refsect1><refsect2><para>
  4213. #: apt_preferences.5.xml:1
  4214. msgid ""
  4215. "Priorities (P) assigned in the APT preferences file must be positive or "
  4216. "negative integers. They are interpreted as follows (roughly speaking):"
  4217. msgstr ""
  4218. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
  4219. #: apt_preferences.5.xml:1
  4220. msgid "P &gt;= 1000"
  4221. msgstr ""
  4222. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
  4223. #: apt_preferences.5.xml:1
  4224. msgid ""
  4225. "causes a version to be installed even if this constitutes a downgrade of the "
  4226. "package"
  4227. msgstr ""
  4228. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
  4229. #: apt_preferences.5.xml:1
  4230. msgid "990 &lt;= P &lt; 1000"
  4231. msgstr ""
  4232. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
  4233. #: apt_preferences.5.xml:1
  4234. msgid ""
  4235. "causes a version to be installed even if it does not come from the target "
  4236. "release, unless the installed version is more recent"
  4237. msgstr ""
  4238. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
  4239. #: apt_preferences.5.xml:1
  4240. msgid "500 &lt;= P &lt; 990"
  4241. msgstr ""
  4242. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
  4243. #: apt_preferences.5.xml:1
  4244. msgid ""
  4245. "causes a version to be installed unless there is a version available "
  4246. "belonging to the target release or the installed version is more recent"
  4247. msgstr ""
  4248. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
  4249. #: apt_preferences.5.xml:1
  4250. msgid "100 &lt;= P &lt; 500"
  4251. msgstr ""
  4252. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
  4253. #: apt_preferences.5.xml:1
  4254. msgid ""
  4255. "causes a version to be installed unless there is a version available "
  4256. "belonging to some other distribution or the installed version is more recent"
  4257. msgstr ""
  4258. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
  4259. #: apt_preferences.5.xml:1
  4260. msgid "0 &lt; P &lt; 100"
  4261. msgstr ""
  4262. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
  4263. #: apt_preferences.5.xml:1
  4264. msgid ""
  4265. "causes a version to be installed only if there is no installed version of "
  4266. "the package"
  4267. msgstr ""
  4268. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
  4269. #: apt_preferences.5.xml:1
  4270. msgid "P &lt; 0"
  4271. msgstr ""
  4272. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
  4273. #: apt_preferences.5.xml:1
  4274. msgid "prevents the version from being installed"
  4275. msgstr ""
  4276. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
  4277. #: apt_preferences.5.xml:1
  4278. msgid "P = 0"
  4279. msgstr ""
  4280. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
  4281. #: apt_preferences.5.xml:1
  4282. msgid "has undefined behaviour, do not use it."
  4283. msgstr ""
  4284. #. type: Content of: <refentry><refsect1><refsect2><para>
  4285. #: apt_preferences.5.xml:1
  4286. msgid ""
  4287. "The first specific-form record matching an available package version "
  4288. "determines the priority of the package version. Failing that, the priority "
  4289. "of the package is defined as the maximum of all priorities defined by "
  4290. "generic-form records matching the version. Records defined using patterns "
  4291. "in the Pin field other than \"*\" are treated like specific-form records."
  4292. msgstr ""
  4293. #. type: Content of: <refentry><refsect1><refsect2><para>
  4294. #: apt_preferences.5.xml:1
  4295. msgid ""
  4296. "For example, suppose the APT preferences file contains the three records "
  4297. "presented earlier:"
  4298. msgstr ""
  4299. #. type: Content of: <refentry><refsect1><refsect2><programlisting>
  4300. #: apt_preferences.5.xml:1
  4301. #, no-wrap
  4302. msgid ""
  4303. "Package: perl\n"
  4304. "Pin: version &good-perl;*\n"
  4305. "Pin-Priority: 1001\n"
  4306. "\n"
  4307. "Package: *\n"
  4308. "Pin: origin \"\"\n"
  4309. "Pin-Priority: 999\n"
  4310. "\n"
  4311. "Package: *\n"
  4312. "Pin: release unstable\n"
  4313. "Pin-Priority: 50\n"
  4314. msgstr ""
  4315. #. type: Content of: <refentry><refsect1><refsect2><para>
  4316. #: apt_preferences.5.xml:1
  4317. msgid "Then:"
  4318. msgstr ""
  4319. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
  4320. #: apt_preferences.5.xml:1
  4321. msgid ""
  4322. "The most recent available version of the <literal>perl</literal> package "
  4323. "will be installed, so long as that version's version number begins with "
  4324. "\"<literal>&good-perl;</literal>\". If <emphasis>any</emphasis> "
  4325. "&good-perl;* version of <literal>perl</literal> is available and the "
  4326. "installed version is &bad-perl;*, then <literal>perl</literal> will be "
  4327. "downgraded."
  4328. msgstr ""
  4329. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
  4330. #: apt_preferences.5.xml:1
  4331. msgid ""
  4332. "A version of any package other than <literal>perl</literal> that is "
  4333. "available from the local system has priority over other versions, even "
  4334. "versions belonging to the target release."
  4335. msgstr ""
  4336. #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
  4337. #: apt_preferences.5.xml:1
  4338. msgid ""
  4339. "A version of a package whose origin is not the local system but some other "
  4340. "site listed in &sources-list; and which belongs to an "
  4341. "<literal>unstable</literal> distribution is only installed if it is selected "
  4342. "for installation and no version of the package is already installed."
  4343. msgstr ""
  4344. #. type: Content of: <refentry><refsect1><refsect2><title>
  4345. #: apt_preferences.5.xml:1
  4346. msgid "Determination of Package Version and Distribution Properties"
  4347. msgstr ""
  4348. #. type: Content of: <refentry><refsect1><refsect2><para>
  4349. #: apt_preferences.5.xml:1
  4350. msgid ""
  4351. "The locations listed in the &sources-list; file should provide "
  4352. "<filename>Packages</filename> and <filename>Release</filename> files to "
  4353. "describe the packages available at that location."
  4354. msgstr ""
  4355. #. type: Content of: <refentry><refsect1><refsect2><para>
  4356. #: apt_preferences.5.xml:1
  4357. msgid ""
  4358. "The <filename>Packages</filename> file is normally found in the directory "
  4359. "<filename>.../dists/<replaceable>dist-name</replaceable>/<replaceable>component</replaceable>/<replaceable>arch</replaceable></filename>: "
  4360. "for example, "
  4361. "<filename>.../dists/stable/main/binary-i386/Packages</filename>. It "
  4362. "consists of a series of multi-line records, one for each package available "
  4363. "in that directory. Only two lines in each record are relevant for setting "
  4364. "APT priorities:"
  4365. msgstr ""
  4366. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
  4367. #: apt_preferences.5.xml:1
  4368. msgid "the <literal>Package:</literal> line"
  4369. msgstr ""
  4370. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
  4371. #: apt_preferences.5.xml:1
  4372. msgid "gives the package name"
  4373. msgstr ""
  4374. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
  4375. #: apt_preferences.5.xml:1 apt_preferences.5.xml:1
  4376. msgid "the <literal>Version:</literal> line"
  4377. msgstr ""
  4378. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
  4379. #: apt_preferences.5.xml:1
  4380. msgid "gives the version number for the named package"
  4381. msgstr ""
  4382. #. type: Content of: <refentry><refsect1><refsect2><para>
  4383. #: apt_preferences.5.xml:1
  4384. msgid ""
  4385. "The <filename>Release</filename> file is normally found in the directory "
  4386. "<filename>.../dists/<replaceable>dist-name</replaceable></filename>: for "
  4387. "example, <filename>.../dists/stable/Release</filename>, or "
  4388. "<filename>.../dists/&debian-stable-codename;/Release</filename>. It "
  4389. "consists of a single multi-line record which applies to "
  4390. "<emphasis>all</emphasis> of the packages in the directory tree below its "
  4391. "parent. Unlike the <filename>Packages</filename> file, nearly all of the "
  4392. "lines in a <filename>Release</filename> file are relevant for setting APT "
  4393. "priorities:"
  4394. msgstr ""
  4395. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
  4396. #: apt_preferences.5.xml:1
  4397. msgid "the <literal>Archive:</literal> or <literal>Suite:</literal> line"
  4398. msgstr ""
  4399. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
  4400. #: apt_preferences.5.xml:1
  4401. msgid ""
  4402. "names the archive to which all the packages in the directory tree belong. "
  4403. "For example, the line \"Archive: stable\" or \"Suite: stable\" specifies "
  4404. "that all of the packages in the directory tree below the parent of the "
  4405. "<filename>Release</filename> file are in a <literal>stable</literal> "
  4406. "archive. Specifying this value in the APT preferences file would require "
  4407. "the line:"
  4408. msgstr ""
  4409. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
  4410. #: apt_preferences.5.xml:1
  4411. #, no-wrap
  4412. msgid "Pin: release a=stable\n"
  4413. msgstr ""
  4414. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
  4415. #: apt_preferences.5.xml:1
  4416. msgid "the <literal>Codename:</literal> line"
  4417. msgstr ""
  4418. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
  4419. #: apt_preferences.5.xml:1
  4420. msgid ""
  4421. "names the codename to which all the packages in the directory tree belong. "
  4422. "For example, the line \"Codename: &debian-testing-codename;\" specifies that "
  4423. "all of the packages in the directory tree below the parent of the "
  4424. "<filename>Release</filename> file belong to a version named "
  4425. "<literal>&debian-testing-codename;</literal>. Specifying this value in the "
  4426. "APT preferences file would require the line:"
  4427. msgstr ""
  4428. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
  4429. #: apt_preferences.5.xml:1
  4430. #, no-wrap
  4431. msgid "Pin: release n=&debian-testing-codename;\n"
  4432. msgstr ""
  4433. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
  4434. #: apt_preferences.5.xml:1
  4435. msgid ""
  4436. "names the release version. For example, the packages in the tree might "
  4437. "belong to Debian release version &debian-stable-version;. Note that there "
  4438. "is normally no version number for the <literal>testing</literal> and "
  4439. "<literal>unstable</literal> distributions because they have not been "
  4440. "released yet. Specifying this in the APT preferences file would require one "
  4441. "of the following lines."
  4442. msgstr ""
  4443. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
  4444. #: apt_preferences.5.xml:1
  4445. #, no-wrap
  4446. msgid ""
  4447. "Pin: release v=&debian-stable-version;\n"
  4448. "Pin: release a=stable, v=&debian-stable-version;\n"
  4449. "Pin: release &debian-stable-version;\n"
  4450. msgstr ""
  4451. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
  4452. #: apt_preferences.5.xml:1
  4453. msgid "the <literal>Component:</literal> line"
  4454. msgstr ""
  4455. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
  4456. #: apt_preferences.5.xml:1
  4457. msgid ""
  4458. "names the licensing component associated with the packages in the directory "
  4459. "tree of the <filename>Release</filename> file. For example, the line "
  4460. "\"Component: main\" specifies that all the packages in the directory tree "
  4461. "are from the <literal>main</literal> component, which entails that they are "
  4462. "licensed under terms listed in the Debian Free Software Guidelines. "
  4463. "Specifying this component in the APT preferences file would require the "
  4464. "line:"
  4465. msgstr ""
  4466. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
  4467. #: apt_preferences.5.xml:1
  4468. #, no-wrap
  4469. msgid "Pin: release c=main\n"
  4470. msgstr ""
  4471. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
  4472. #: apt_preferences.5.xml:1
  4473. msgid "the <literal>Origin:</literal> line"
  4474. msgstr ""
  4475. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
  4476. #: apt_preferences.5.xml:1
  4477. msgid ""
  4478. "names the originator of the packages in the directory tree of the "
  4479. "<filename>Release</filename> file. Most commonly, this is "
  4480. "<literal>Debian</literal>. Specifying this origin in the APT preferences "
  4481. "file would require the line:"
  4482. msgstr ""
  4483. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
  4484. #: apt_preferences.5.xml:1
  4485. #, no-wrap
  4486. msgid "Pin: release o=Debian\n"
  4487. msgstr ""
  4488. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
  4489. #: apt_preferences.5.xml:1
  4490. msgid "the <literal>Label:</literal> line"
  4491. msgstr ""
  4492. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
  4493. #: apt_preferences.5.xml:1
  4494. msgid ""
  4495. "names the label of the packages in the directory tree of the "
  4496. "<filename>Release</filename> file. Most commonly, this is "
  4497. "<literal>Debian</literal>. Specifying this label in the APT preferences "
  4498. "file would require the line:"
  4499. msgstr ""
  4500. #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
  4501. #: apt_preferences.5.xml:1
  4502. #, no-wrap
  4503. msgid "Pin: release l=Debian\n"
  4504. msgstr ""
  4505. #. type: Content of: <refentry><refsect1><refsect2><para>
  4506. #: apt_preferences.5.xml:1
  4507. msgid ""
  4508. "All of the <filename>Packages</filename> and <filename>Release</filename> "
  4509. "files retrieved from locations listed in the &sources-list; file are stored "
  4510. "in the directory <filename>/var/lib/apt/lists</filename>, or in the file "
  4511. "named by the variable <literal>Dir::State::Lists</literal> in the "
  4512. "<filename>apt.conf</filename> file. For example, the file "
  4513. "<filename>debian.lcs.mit.edu_debian_dists_unstable_contrib_binary-i386_Release</filename> "
  4514. "contains the <filename>Release</filename> file retrieved from the site "
  4515. "<literal>debian.lcs.mit.edu</literal> for <literal>binary-i386</literal> "
  4516. "architecture files from the <literal>contrib</literal> component of the "
  4517. "<literal>unstable</literal> distribution."
  4518. msgstr ""
  4519. #. type: Content of: <refentry><refsect1><refsect2><title>
  4520. #: apt_preferences.5.xml:1
  4521. msgid "Optional Lines in an APT Preferences Record"
  4522. msgstr ""
  4523. #. type: Content of: <refentry><refsect1><refsect2><para>
  4524. #: apt_preferences.5.xml:1
  4525. msgid ""
  4526. "Each record in the APT preferences file can optionally begin with one or "
  4527. "more lines beginning with the word <literal>Explanation:</literal>. This "
  4528. "provides a place for comments."
  4529. msgstr ""
  4530. #. type: Content of: <refentry><refsect1><refsect2><title>
  4531. #: apt_preferences.5.xml:1
  4532. msgid "Tracking Stable"
  4533. msgstr ""
  4534. #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
  4535. #: apt_preferences.5.xml:1
  4536. #, no-wrap
  4537. msgid ""
  4538. "Explanation: Uninstall or do not install any Debian-originated\n"
  4539. "Explanation: package versions other than those in the stable distro\n"
  4540. "Package: *\n"
  4541. "Pin: release a=stable\n"
  4542. "Pin-Priority: 900\n"
  4543. "\n"
  4544. "Package: *\n"
  4545. "Pin: release o=Debian\n"
  4546. "Pin-Priority: -10\n"
  4547. msgstr ""
  4548. #. type: Content of: <refentry><refsect1><refsect2><para>
  4549. #: apt_preferences.5.xml:1
  4550. msgid ""
  4551. "The following APT preferences file will cause APT to assign a priority "
  4552. "higher than the default (500) to all package versions belonging to a "
  4553. "<literal>stable</literal> distribution and a prohibitively low priority to "
  4554. "package versions belonging to other <literal>Debian</literal> "
  4555. "distributions. <placeholder type=\"programlisting\" id=\"0\"/>"
  4556. msgstr ""
  4557. #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
  4558. #: apt_preferences.5.xml:1 apt_preferences.5.xml:1 apt_preferences.5.xml:1
  4559. #, no-wrap
  4560. msgid ""
  4561. "apt-get install <replaceable>package-name</replaceable>\n"
  4562. "apt-get upgrade\n"
  4563. "apt-get dist-upgrade\n"
  4564. msgstr ""
  4565. #. type: Content of: <refentry><refsect1><refsect2><para>
  4566. #: apt_preferences.5.xml:1
  4567. msgid ""
  4568. "With a suitable &sources-list; file and the above preferences file, any of "
  4569. "the following commands will cause APT to upgrade to the latest "
  4570. "<literal>stable</literal> version(s). <placeholder type=\"programlisting\" "
  4571. "id=\"0\"/>"
  4572. msgstr ""
  4573. #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
  4574. #: apt_preferences.5.xml:1
  4575. #, no-wrap
  4576. msgid "apt-get install <replaceable>package</replaceable>/testing\n"
  4577. msgstr ""
  4578. #. type: Content of: <refentry><refsect1><refsect2><para>
  4579. #: apt_preferences.5.xml:1
  4580. msgid ""
  4581. "The following command will cause APT to upgrade the specified package to the "
  4582. "latest version from the <literal>testing</literal> distribution; the package "
  4583. "will not be upgraded again unless this command is given again. <placeholder "
  4584. "type=\"programlisting\" id=\"0\"/>"
  4585. msgstr ""
  4586. #. type: Content of: <refentry><refsect1><refsect2><title>
  4587. #: apt_preferences.5.xml:1
  4588. msgid "Tracking Testing or Unstable"
  4589. msgstr ""
  4590. #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
  4591. #: apt_preferences.5.xml:1
  4592. #, no-wrap
  4593. msgid ""
  4594. "Package: *\n"
  4595. "Pin: release a=testing\n"
  4596. "Pin-Priority: 900\n"
  4597. "\n"
  4598. "Package: *\n"
  4599. "Pin: release a=unstable\n"
  4600. "Pin-Priority: 800\n"
  4601. "\n"
  4602. "Package: *\n"
  4603. "Pin: release o=Debian\n"
  4604. "Pin-Priority: -10\n"
  4605. msgstr ""
  4606. #. type: Content of: <refentry><refsect1><refsect2><para>
  4607. #: apt_preferences.5.xml:1
  4608. msgid ""
  4609. "The following APT preferences file will cause APT to assign a high priority "
  4610. "to package versions from the <literal>testing</literal> distribution, a "
  4611. "lower priority to package versions from the <literal>unstable</literal> "
  4612. "distribution, and a prohibitively low priority to package versions from "
  4613. "other <literal>Debian</literal> distributions. <placeholder "
  4614. "type=\"programlisting\" id=\"0\"/>"
  4615. msgstr ""
  4616. #. type: Content of: <refentry><refsect1><refsect2><para>
  4617. #: apt_preferences.5.xml:1
  4618. msgid ""
  4619. "With a suitable &sources-list; file and the above preferences file, any of "
  4620. "the following commands will cause APT to upgrade to the latest "
  4621. "<literal>testing</literal> version(s). <placeholder type=\"programlisting\" "
  4622. "id=\"0\"/>"
  4623. msgstr ""
  4624. #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
  4625. #: apt_preferences.5.xml:1
  4626. #, no-wrap
  4627. msgid "apt-get install <replaceable>package</replaceable>/unstable\n"
  4628. msgstr ""
  4629. #. type: Content of: <refentry><refsect1><refsect2><para>
  4630. #: apt_preferences.5.xml:1
  4631. msgid ""
  4632. "The following command will cause APT to upgrade the specified package to the "
  4633. "latest version from the <literal>unstable</literal> distribution. "
  4634. "Thereafter, <command>apt-get upgrade</command> will upgrade the package to "
  4635. "the most recent <literal>testing</literal> version if that is more recent "
  4636. "than the installed version, otherwise, to the most recent "
  4637. "<literal>unstable</literal> version if that is more recent than the "
  4638. "installed version. <placeholder type=\"programlisting\" id=\"0\"/>"
  4639. msgstr ""
  4640. #. type: Content of: <refentry><refsect1><refsect2><title>
  4641. #: apt_preferences.5.xml:1
  4642. msgid "Tracking the evolution of a codename release"
  4643. msgstr ""
  4644. #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
  4645. #: apt_preferences.5.xml:1
  4646. #, no-wrap
  4647. msgid ""
  4648. "Explanation: Uninstall or do not install any Debian-originated package "
  4649. "versions\n"
  4650. "Explanation: other than those in the distribution codenamed with "
  4651. "&debian-testing-codename; or sid\n"
  4652. "Package: *\n"
  4653. "Pin: release n=&debian-testing-codename;\n"
  4654. "Pin-Priority: 900\n"
  4655. "\n"
  4656. "Explanation: Debian unstable is always codenamed with sid\n"
  4657. "Package: *\n"
  4658. "Pin: release n=sid\n"
  4659. "Pin-Priority: 800\n"
  4660. "\n"
  4661. "Package: *\n"
  4662. "Pin: release o=Debian\n"
  4663. "Pin-Priority: -10\n"
  4664. msgstr ""
  4665. #. type: Content of: <refentry><refsect1><refsect2><para>
  4666. #: apt_preferences.5.xml:1
  4667. msgid ""
  4668. "The following APT preferences file will cause APT to assign a priority "
  4669. "higher than the default (500) to all package versions belonging to a "
  4670. "specified codename of a distribution and a prohibitively low priority to "
  4671. "package versions belonging to other <literal>Debian</literal> distributions, "
  4672. "codenames and archives. Note that with this APT preference APT will follow "
  4673. "the migration of a release from the archive <literal>testing</literal> to "
  4674. "<literal>stable</literal> and later <literal>oldstable</literal>. If you "
  4675. "want to follow for example the progress in <literal>testing</literal> "
  4676. "notwithstanding the codename changes you should use the example "
  4677. "configurations above. <placeholder type=\"programlisting\" id=\"0\"/>"
  4678. msgstr ""
  4679. #. type: Content of: <refentry><refsect1><refsect2><para>
  4680. #: apt_preferences.5.xml:1
  4681. msgid ""
  4682. "With a suitable &sources-list; file and the above preferences file, any of "
  4683. "the following commands will cause APT to upgrade to the latest version(s) in "
  4684. "the release codenamed with <literal>&debian-testing-codename;</literal>. "
  4685. "<placeholder type=\"programlisting\" id=\"0\"/>"
  4686. msgstr ""
  4687. #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
  4688. #: apt_preferences.5.xml:1
  4689. #, no-wrap
  4690. msgid "apt-get install <replaceable>package</replaceable>/sid\n"
  4691. msgstr ""
  4692. #. type: Content of: <refentry><refsect1><refsect2><para>
  4693. #: apt_preferences.5.xml:1
  4694. msgid ""
  4695. "The following command will cause APT to upgrade the specified package to the "
  4696. "latest version from the <literal>sid</literal> distribution. Thereafter, "
  4697. "<command>apt-get upgrade</command> will upgrade the package to the most "
  4698. "recent <literal>&debian-testing-codename;</literal> version if that is more "
  4699. "recent than the installed version, otherwise, to the most recent "
  4700. "<literal>sid</literal> version if that is more recent than the installed "
  4701. "version. <placeholder type=\"programlisting\" id=\"0\"/>"
  4702. msgstr ""
  4703. #. type: Content of: <refentry><refsect1><para>
  4704. #: apt_preferences.5.xml:1
  4705. msgid "&apt-get; &apt-cache; &apt-conf; &sources-list;"
  4706. msgstr ""
  4707. #. type: Content of: <refentry><refnamediv><refpurpose>
  4708. #: sources.list.5.xml:1
  4709. msgid "List of configured APT data sources"
  4710. msgstr ""
  4711. #. type: Content of: <refentry><refsect1><para>
  4712. #: sources.list.5.xml:1
  4713. msgid ""
  4714. "The source list <filename>/etc/apt/sources.list</filename> and the files "
  4715. "contained in <filename>/etc/apt/sources.list.d/</filename> are designed to "
  4716. "support any number of active sources and a variety of source media. The "
  4717. "files list one source per line (one-line style) or contain multiline stanzas "
  4718. "defining one or more sources per stanza (deb822 style), with the most "
  4719. "preferred source listed first (in case a single version is available from "
  4720. "more than one source). The information available from the configured sources "
  4721. "is acquired by <command>apt-get update</command> (or by an equivalent "
  4722. "command from another APT front-end)."
  4723. msgstr ""
  4724. #. type: Content of: <refentry><refsect1><title>
  4725. #: sources.list.5.xml:1
  4726. msgid "sources.list.d"
  4727. msgstr ""
  4728. #. type: Content of: <refentry><refsect1><para>
  4729. #: sources.list.5.xml:1
  4730. msgid ""
  4731. "The <filename>/etc/apt/sources.list.d</filename> directory provides a way to "
  4732. "add sources.list entries in separate files. Two different file formats are "
  4733. "allowed as described in the next two sections. Filenames need to have "
  4734. "either the extension <filename>.list</filename> or "
  4735. "<filename>.sources</filename> depending on the contained format. The "
  4736. "filenames may only contain letters (a-z and A-Z), digits (0-9), underscore "
  4737. "(_), hyphen (-) and period (.) characters. Otherwise APT will print a "
  4738. "notice that it has ignored a file, unless that file matches a pattern in the "
  4739. "<literal>Dir::Ignore-Files-Silently</literal> configuration list - in which "
  4740. "case it will be silently ignored."
  4741. msgstr ""
  4742. #. type: Content of: <refentry><refsect1><title>
  4743. #: sources.list.5.xml:1
  4744. msgid "One-Line-Style Format"
  4745. msgstr ""
  4746. #. type: Content of: <refentry><refsect1><para>
  4747. #: sources.list.5.xml:1
  4748. msgid ""
  4749. "Files in this format have the extension <filename>.list</filename>. Each "
  4750. "line specifying a source starts with a type "
  4751. "(e.g. <literal>deb-src</literal>) followed by options and arguments for "
  4752. "this type. Individual entries cannot be continued onto a following "
  4753. "line. Empty lines are ignored, and a <literal>#</literal> character anywhere "
  4754. "on a line marks the remainder of that line as a comment. Consequently an "
  4755. "entry can be disabled by commenting out the entire line. If options should "
  4756. "be provided they are separated by spaces and all of them together are "
  4757. "enclosed by square brackets (<literal>[]</literal>) included in the line "
  4758. "after the type separated from it with a space. If an option allows multiple "
  4759. "values these are separated from each other with a comma "
  4760. "(<literal>,</literal>). An option name is separated from its value(s) by an "
  4761. "equals sign (<literal>=</literal>). Multivalue options also have "
  4762. "<literal>-=</literal> and <literal>+=</literal> as separators, which instead "
  4763. "of replacing the default with the given value(s) modify the default value(s) "
  4764. "to remove or include the given values."
  4765. msgstr ""
  4766. #. type: Content of: <refentry><refsect1><para>
  4767. #: sources.list.5.xml:1
  4768. msgid ""
  4769. "This is the traditional format and supported by all apt versions. Note that "
  4770. "not all options as described below are supported by all apt versions. Note "
  4771. "also that some older applications parsing this format on their own might not "
  4772. "expect to encounter options as they were uncommon before the introduction of "
  4773. "multi-architecture support."
  4774. msgstr ""
  4775. #. type: Content of: <refentry><refsect1><title>
  4776. #: sources.list.5.xml:1
  4777. msgid "deb822-Style Format"
  4778. msgstr ""
  4779. #. type: Content of: <refentry><refsect1><para>
  4780. #: sources.list.5.xml:1
  4781. msgid ""
  4782. "Files in this format have the extension <filename>.sources</filename>. The "
  4783. "format is similar in syntax to other files used by Debian and its "
  4784. "derivatives, such as the metadata files that apt will download from the "
  4785. "configured sources or the <filename>debian/control</filename> file in a "
  4786. "Debian source package. Individual entries are separated by an empty line; "
  4787. "additional empty lines are ignored, and a <literal>#</literal> character at "
  4788. "the start of the line marks the entire line as a comment. An entry can hence "
  4789. "be disabled by commenting out each line belonging to the stanza, but it is "
  4790. "usually easier to add the field \"Enabled: no\" to the stanza to disable the "
  4791. "entry. Removing the field or setting it to yes reenables it. Options have "
  4792. "the same syntax as every other field: A fieldname separated by a colon "
  4793. "(<literal>:</literal>) and optionally spaces from its value(s). Note "
  4794. "especially that multiple values are separated by spaces, not by commas as in "
  4795. "the one-line format. Multivalue fields like <literal>Architectures</literal> "
  4796. "also have <literal>Architectures-Add</literal> and "
  4797. "<literal>Architectures-Remove</literal> to modify the default value rather "
  4798. "than replacing it."
  4799. msgstr ""
  4800. #. type: Content of: <refentry><refsect1><para>
  4801. #: sources.list.5.xml:1
  4802. msgid ""
  4803. "This is a new format supported by apt itself since version 1.1. Previous "
  4804. "versions ignore such files with a notice message as described earlier. It "
  4805. "is intended to make this format gradually the default format, deprecating "
  4806. "the previously described one-line-style format, as it is easier to create, "
  4807. "extend and modify for humans and machines alike especially if a lot of "
  4808. "sources and/or options are involved. Developers who are working with and/or "
  4809. "parsing apt sources are highly encouraged to add support for this format and "
  4810. "to contact the APT team to coordinate and share this work. Users can freely "
  4811. "adopt this format already, but may encounter problems with software not "
  4812. "supporting the format yet."
  4813. msgstr ""
  4814. #. type: Content of: <refentry><refsect1><title>
  4815. #: sources.list.5.xml:1
  4816. msgid "The deb and deb-src Types: General Format"
  4817. msgstr ""
  4818. #. type: Content of: <refentry><refsect1><para>
  4819. #: sources.list.5.xml:1
  4820. msgid ""
  4821. "The <literal>deb</literal> type references a typical two-level Debian "
  4822. "archive, <filename>distribution/component</filename>. The "
  4823. "<literal>distribution</literal> is generally a suite name like "
  4824. "<literal>stable</literal> or <literal>testing</literal> or a codename like "
  4825. "<literal>&debian-stable-codename;</literal> or "
  4826. "<literal>&debian-testing-codename;</literal> while component is one of "
  4827. "<literal>main</literal>, <literal>contrib</literal> or "
  4828. "<literal>non-free</literal>. The <literal>deb-src</literal> type references "
  4829. "a Debian distribution's source code in the same form as the "
  4830. "<literal>deb</literal> type. A <literal>deb-src</literal> line is required "
  4831. "to fetch source indexes."
  4832. msgstr ""
  4833. #. type: Content of: <refentry><refsect1><para>
  4834. #: sources.list.5.xml:1
  4835. msgid ""
  4836. "The format for two one-line-style entries using the <literal>deb</literal> "
  4837. "and <literal>deb-src</literal> types is:"
  4838. msgstr ""
  4839. #. type: Content of: <refentry><refsect1><literallayout>
  4840. #: sources.list.5.xml:1
  4841. #, no-wrap
  4842. msgid ""
  4843. "deb [ option1=value1 option2=value2 ] uri suite [component1] [component2] "
  4844. "[...]\n"
  4845. "deb-src [ option1=value1 option2=value2 ] uri suite [component1] "
  4846. "[component2] [...]"
  4847. msgstr ""
  4848. #. type: Content of: <refentry><refsect1><para><literallayout>
  4849. #: sources.list.5.xml:1
  4850. #, no-wrap
  4851. msgid ""
  4852. " Types: deb deb-src\n"
  4853. " URIs: uri\n"
  4854. " Suites: suite\n"
  4855. " Components: [component1] [component2] [...]\n"
  4856. " option1: value1\n"
  4857. " option2: value2\n"
  4858. " "
  4859. msgstr ""
  4860. #. type: Content of: <refentry><refsect1><para>
  4861. #: sources.list.5.xml:1
  4862. msgid ""
  4863. "Alternatively the equivalent entry in deb822 style looks like this: "
  4864. "<placeholder type=\"literallayout\" id=\"0\"/>"
  4865. msgstr ""
  4866. #. type: Content of: <refentry><refsect1><para>
  4867. #: sources.list.5.xml:1
  4868. msgid ""
  4869. "The URI for the <literal>deb</literal> type must specify the base of the "
  4870. "Debian distribution, from which APT will find the information it needs. "
  4871. "<literal>suite</literal> can specify an exact path, in which case the "
  4872. "components must be omitted and <literal>suite</literal> must end with a "
  4873. "slash (<literal>/</literal>). This is useful for the case when only a "
  4874. "particular sub-directory of the archive denoted by the URI is of interest. "
  4875. "If <literal>suite</literal> does not specify an exact path, at least one "
  4876. "<literal>component</literal> must be present."
  4877. msgstr ""
  4878. #. type: Content of: <refentry><refsect1><para>
  4879. #: sources.list.5.xml:1
  4880. msgid ""
  4881. "<literal>suite</literal> may also contain a variable, "
  4882. "<literal>$(ARCH)</literal> which expands to the Debian architecture (such as "
  4883. "<literal>amd64</literal> or <literal>armel</literal>) used on the "
  4884. "system. This permits architecture-independent "
  4885. "<filename>sources.list</filename> files to be used. In general this is only "
  4886. "of interest when specifying an exact path; <literal>APT</literal> will "
  4887. "automatically generate a URI with the current architecture otherwise."
  4888. msgstr ""
  4889. #. type: Content of: <refentry><refsect1><para>
  4890. #: sources.list.5.xml:1
  4891. msgid ""
  4892. "Especially in the one-line-style format since only one distribution can be "
  4893. "specified per line it may be necessary to have multiple lines for the same "
  4894. "URI, if a subset of all available distributions or components at that "
  4895. "location is desired. APT will sort the URI list after it has generated a "
  4896. "complete set internally, and will collapse multiple references to the same "
  4897. "Internet host, for instance, into a single connection, so that it does not "
  4898. "inefficiently establish a connection, close it, do something else, and then "
  4899. "re-establish a connection to that same host. APT also parallelizes "
  4900. "connections to different hosts to more effectively deal with sites with low "
  4901. "bandwidth."
  4902. msgstr ""
  4903. #. type: Content of: <refentry><refsect1><para>
  4904. #: sources.list.5.xml:1
  4905. msgid ""
  4906. "It is important to list sources in order of preference, with the most "
  4907. "preferred source listed first. Typically this will result in sorting by "
  4908. "speed from fastest to slowest (CD-ROM followed by hosts on a local network, "
  4909. "followed by distant Internet hosts, for example)."
  4910. msgstr ""
  4911. #. type: Content of: <refentry><refsect1><para><literallayout>
  4912. #: sources.list.5.xml:1
  4913. #, no-wrap
  4914. msgid "&sourceslist-list-format;"
  4915. msgstr ""
  4916. #. type: Content of: <refentry><refsect1><para><literallayout>
  4917. #: sources.list.5.xml:1
  4918. #, no-wrap
  4919. msgid "&sourceslist-sources-format;"
  4920. msgstr ""
  4921. #. type: Content of: <refentry><refsect1><para>
  4922. #: sources.list.5.xml:1
  4923. msgid ""
  4924. "As an example, the sources for your distribution could look like this in "
  4925. "one-line-style format: <placeholder type=\"literallayout\" id=\"0\"/> or "
  4926. "like this in deb822 style format: <placeholder type=\"literallayout\" "
  4927. "id=\"1\"/>"
  4928. msgstr ""
  4929. #. type: Content of: <refentry><refsect1><title>
  4930. #: sources.list.5.xml:1
  4931. msgid "The deb and deb-src types: Options"
  4932. msgstr ""
  4933. #. type: Content of: <refentry><refsect1><para>
  4934. #: sources.list.5.xml:1
  4935. msgid ""
  4936. "Each source entry can have options specified to modify which source is "
  4937. "accessed and how data is acquired from it. Format, syntax and names of the "
  4938. "options vary between the one-line-style and deb822-style formats as "
  4939. "described, but they both have the same options available. For simplicity we "
  4940. "list the deb822 fieldname and provide the one-line name in brackets. "
  4941. "Remember that besides setting multivalue options explicitly, there is also "
  4942. "the option to modify them based on the default, but we aren't listing those "
  4943. "names explicitly here. Unsupported options are silently ignored by all APT "
  4944. "versions."
  4945. msgstr ""
  4946. #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
  4947. #: sources.list.5.xml:1
  4948. msgid ""
  4949. "<option>Architectures</option> (<option>arch</option>) is a multivalue "
  4950. "option defining for which architectures information should be downloaded. If "
  4951. "this option isn't set the default is all architectures as defined by the "
  4952. "<option>APT::Architectures</option> config option."
  4953. msgstr ""
  4954. #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
  4955. #: sources.list.5.xml:1
  4956. msgid ""
  4957. "<option>Languages</option> (<option>lang</option>) is a multivalue option "
  4958. "defining for which languages information such as translated package "
  4959. "descriptions should be downloaded. If this option isn't set the default is "
  4960. "all languages as defined by the <option>Acquire::Languages</option> config "
  4961. "option."
  4962. msgstr ""
  4963. #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
  4964. #: sources.list.5.xml:1
  4965. msgid ""
  4966. "<option>Targets</option> (<option>target</option>) is a multivalue option "
  4967. "defining which download targets apt will try to acquire from this source. If "
  4968. "not specified, the default set is defined by the "
  4969. "<option>Acquire::IndexTargets</option> configuration scope (targets are "
  4970. "specified by their name in the <literal>Created-By</literal> field). "
  4971. "Additionally, targets can be enabled or disabled by using the "
  4972. "<literal>Identifier</literal> field as an option with a boolean value "
  4973. "instead of using this multivalue option."
  4974. msgstr ""
  4975. #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
  4976. #: sources.list.5.xml:1
  4977. msgid ""
  4978. "<option>PDiffs</option> (<option>pdiffs</option>) is a yes/no value which "
  4979. "controls if APT should try to use PDiffs to update old indexes instead of "
  4980. "downloading the new indexes entirely. The value of this option is ignored if "
  4981. "the repository doesn't announce the availability of PDiffs. Defaults to the "
  4982. "value of the option with the same name for a specific index file defined in "
  4983. "the <option>Acquire::IndexTargets</option> scope, which itself defaults to "
  4984. "the value of configuration option <option>Acquire::PDiffs</option> which "
  4985. "defaults to <literal>yes</literal>."
  4986. msgstr ""
  4987. #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
  4988. #: sources.list.5.xml:1
  4989. msgid ""
  4990. "<option>By-Hash</option> (<option>by-hash</option>) can have the value "
  4991. "<literal>yes</literal>, <literal>no</literal> or <literal>force</literal> "
  4992. "and controls if APT should try to acquire indexes via a URI constructed from "
  4993. "a hashsum of the expected file instead of using the well-known stable "
  4994. "filename of the index. Using this can avoid hashsum mismatches, but requires "
  4995. "a supporting mirror. A <literal>yes</literal> or <literal>no</literal> value "
  4996. "activates/disables the use of this feature if this source indicates support "
  4997. "for it, while <literal>force</literal> will enable the feature regardless of "
  4998. "what the source indicates. Defaults to the value of the option of the same "
  4999. "name for a specific index file defined in the "
  5000. "<option>Acquire::IndexTargets</option> scope, which itself defaults to the "
  5001. "value of configuration option <option>Acquire::By-Hash</option> which "
  5002. "defaults to <literal>yes</literal>."
  5003. msgstr ""
  5004. #. type: Content of: <refentry><refsect1><para>
  5005. #: sources.list.5.xml:1
  5006. msgid ""
  5007. "Furthermore, there are options which if set affect <emphasis>all</emphasis> "
  5008. "sources with the same URI and Suite, so they have to be set on all such "
  5009. "entries and can not be varied between different components. APT will try to "
  5010. "detect and error out on such anomalies."
  5011. msgstr ""
  5012. #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
  5013. #: sources.list.5.xml:1
  5014. msgid ""
  5015. "<option>Allow-Insecure</option> (<option>allow-insecure</option>), "
  5016. "<option>Allow-Weak</option> (<option>allow-weak</option>) and "
  5017. "<option>Allow-Downgrade-To-Insecure</option> "
  5018. "(<option>allow-downgrade-to-insecure</option>) are boolean values which all "
  5019. "default to <literal>no</literal>. If set to <literal>yes</literal> they "
  5020. "circumvent parts of &apt-secure; and should therefore not be used lightly!"
  5021. msgstr ""
  5022. #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
  5023. #: sources.list.5.xml:1
  5024. msgid ""
  5025. "<option>Trusted</option> (<option>trusted</option>) is a tri-state value "
  5026. "which defaults to APT deciding if a source is considered trusted or if "
  5027. "warnings should be raised before e.g. packages are installed from this "
  5028. "source. This option can be used to override that decision. The value "
  5029. "<literal>yes</literal> tells APT always to consider this source as trusted, "
  5030. "even if it doesn't pass authentication checks. It disables parts of "
  5031. "&apt-secure;, and should therefore only be used in a local and trusted "
  5032. "context (if at all) as otherwise security is breached. The value "
  5033. "<literal>no</literal> does the opposite, causing the source to be handled as "
  5034. "untrusted even if the authentication checks passed successfully. The default "
  5035. "value can't be set explicitly."
  5036. msgstr ""
  5037. #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
  5038. #: sources.list.5.xml:1
  5039. msgid ""
  5040. "<option>Signed-By</option> (<option>signed-by</option>) is either an "
  5041. "absolute path to a keyring file (has to be accessible and readable for the "
  5042. "<literal>_apt</literal> user, so ensure everyone has read-permissions on the "
  5043. "file) or one or more fingerprints of keys either in the "
  5044. "<filename>trusted.gpg</filename> keyring or in the keyrings in the "
  5045. "<filename>trusted.gpg.d/</filename> directory (see <command>apt-key "
  5046. "fingerprint</command>). If the option is set, only the key(s) in this "
  5047. "keyring or only the keys with these fingerprints are used for the "
  5048. "&apt-secure; verification of this repository. Defaults to the value of the "
  5049. "option with the same name if set in the previously acquired "
  5050. "<filename>Release</filename> file. Otherwise all keys in the trusted "
  5051. "keyrings are considered valid signers for this repository."
  5052. msgstr ""
  5053. #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
  5054. #: sources.list.5.xml:1
  5055. msgid ""
  5056. "<option>Check-Valid-Until</option> (<option>check-valid-until</option>) is "
  5057. "a yes/no value which controls if APT should try to detect replay attacks. A "
  5058. "repository creator can declare a time until which the data provided in the "
  5059. "repository should be considered valid, and if this time is reached, but no "
  5060. "new data is provided, the data is considered expired and an error is "
  5061. "raised. Besides increasing security, as a malicious attacker can't send old "
  5062. "data forever to prevent a user from upgrading to a new version, this also "
  5063. "helps users identify mirrors which are no longer updated. However, some "
  5064. "repositories such as historic archives are not updated any more by design, "
  5065. "so this check can be disabled by setting this option to "
  5066. "<literal>no</literal>. Defaults to the value of configuration option "
  5067. "<option>Acquire::Check-Valid-Until</option> which itself defaults to "
  5068. "<literal>yes</literal>."
  5069. msgstr ""
  5070. #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
  5071. #: sources.list.5.xml:1
  5072. msgid ""
  5073. "<option>Valid-Until-Min</option> (<option>valid-until-min</option>) and "
  5074. "<option>Valid-Until-Max</option> (<option>valid-until-max</option>) can be "
  5075. "used to raise or lower the time period in seconds in which the data from "
  5076. "this repository is considered valid. -Max can be especially useful if the "
  5077. "repository provides no Valid-Until field on its Release file to set your own "
  5078. "value, while -Min can be used to increase the valid time on seldom updated "
  5079. "(local) mirrors of a more frequently updated but less accessible archive "
  5080. "(which is in the sources.list as well) instead of disabling the check "
  5081. "entirely. Default to the value of the configuration options "
  5082. "<option>Acquire::Min-ValidTime</option> and "
  5083. "<option>Acquire::Max-ValidTime</option> which are both unset by default."
  5084. msgstr ""
  5085. #. type: Content of: <refentry><refsect1><title>
  5086. #: sources.list.5.xml:1
  5087. msgid "URI Specification"
  5088. msgstr ""
  5089. #. type: Content of: <refentry><refsect1><para>
  5090. #: sources.list.5.xml:1
  5091. msgid "The currently recognized URI types are:"
  5092. msgstr ""
  5093. #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
  5094. #: sources.list.5.xml:1
  5095. msgid ""
  5096. "The file scheme allows an arbitrary directory in the file system to be "
  5097. "considered an archive. This is useful for NFS mounts and local mirrors or "
  5098. "archives."
  5099. msgstr ""
  5100. #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
  5101. #: sources.list.5.xml:1
  5102. msgid ""
  5103. "The cdrom scheme allows APT to use a local CD-ROM drive with media "
  5104. "swapping. Use the &apt-cdrom; program to create cdrom entries in the source "
  5105. "list."
  5106. msgstr ""
  5107. #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
  5108. #: sources.list.5.xml:1
  5109. msgid ""
  5110. "The http scheme specifies an HTTP server for the archive. If an environment "
  5111. "variable <envar>http_proxy</envar> is set with the format "
  5112. "http://server:port/, the proxy server specified in <envar>http_proxy</envar> "
  5113. "will be used. Users of authenticated HTTP/1.1 proxies may use a string of "
  5114. "the format http://user:pass@server:port/. Note that this is an insecure "
  5115. "method of authentication."
  5116. msgstr ""
  5117. #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
  5118. #: sources.list.5.xml:1
  5119. msgid ""
  5120. "The ftp scheme specifies an FTP server for the archive. APT's FTP behavior "
  5121. "is highly configurable; for more information see the &apt-conf; manual "
  5122. "page. Please note that an FTP proxy can be specified by using the "
  5123. "<envar>ftp_proxy</envar> environment variable. It is possible to specify an "
  5124. "HTTP proxy (HTTP proxy servers often understand FTP URLs) using this "
  5125. "environment variable and <emphasis>only</emphasis> this environment "
  5126. "variable. Proxies using HTTP specified in the configuration file will be "
  5127. "ignored."
  5128. msgstr ""
  5129. #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
  5130. #: sources.list.5.xml:1
  5131. msgid ""
  5132. "The copy scheme is identical to the file scheme except that packages are "
  5133. "copied into the cache directory instead of used directly at their location. "
  5134. "This is useful for people using removable media to copy files around with "
  5135. "APT."
  5136. msgstr ""
  5137. #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
  5138. #: sources.list.5.xml:1
  5139. msgid ""
  5140. "The rsh/ssh method invokes RSH/SSH to connect to a remote host and access "
  5141. "the files as a given user. Prior configuration of rhosts or RSA keys is "
  5142. "recommended. The standard <command>find</command> and <command>dd</command> "
  5143. "commands are used to perform the file transfers from the remote host."
  5144. msgstr ""
  5145. #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
  5146. #: sources.list.5.xml:1
  5147. msgid "adding more recognizable URI types"
  5148. msgstr ""
  5149. #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
  5150. #: sources.list.5.xml:1
  5151. msgid ""
  5152. "APT can be extended with more methods shipped in other optional packages, "
  5153. "which should follow the naming scheme "
  5154. "<package>apt-transport-<replaceable>method</replaceable></package>. For "
  5155. "instance, the APT team also maintains the package "
  5156. "<package>apt-transport-https</package>, which provides access methods for "
  5157. "HTTPS URIs with features similar to the http method. Methods for using "
  5158. "e.g. debtorrent are also available - see &apt-transport-debtorrent;."
  5159. msgstr ""
  5160. #. type: Content of: <refentry><refsect1><para>
  5161. #: sources.list.5.xml:1
  5162. msgid ""
  5163. "Uses the archive stored locally (or NFS mounted) at /home/apt/debian for "
  5164. "stable/main, stable/contrib, and stable/non-free."
  5165. msgstr ""
  5166. #. type: Content of: <refentry><refsect1><literallayout>
  5167. #: sources.list.5.xml:1
  5168. #, no-wrap
  5169. msgid "deb file:/home/apt/debian stable main contrib non-free"
  5170. msgstr ""
  5171. #. type: Content of: <refentry><refsect1><literallayout>
  5172. #: sources.list.5.xml:1
  5173. #, no-wrap
  5174. msgid ""
  5175. "Types: deb\n"
  5176. "URIs: file:/home/apt/debian\n"
  5177. "Suites: stable\n"
  5178. "Components: main contrib non-free"
  5179. msgstr ""
  5180. #. type: Content of: <refentry><refsect1><para>
  5181. #: sources.list.5.xml:1
  5182. msgid "As above, except this uses the unstable (development) distribution."
  5183. msgstr ""
  5184. #. type: Content of: <refentry><refsect1><literallayout>
  5185. #: sources.list.5.xml:1
  5186. #, no-wrap
  5187. msgid "deb file:/home/apt/debian unstable main contrib non-free"
  5188. msgstr ""
  5189. #. type: Content of: <refentry><refsect1><literallayout>
  5190. #: sources.list.5.xml:1
  5191. #, no-wrap
  5192. msgid ""
  5193. "Types: deb\n"
  5194. "URIs: file:/home/apt/debian\n"
  5195. "Suites: unstable\n"
  5196. "Components: main contrib non-free"
  5197. msgstr ""
  5198. #. type: Content of: <refentry><refsect1><para>
  5199. #: sources.list.5.xml:1
  5200. msgid "Sources specification for the above."
  5201. msgstr ""
  5202. #. type: Content of: <refentry><refsect1><literallayout>
  5203. #: sources.list.5.xml:1
  5204. #, no-wrap
  5205. msgid "deb-src file:/home/apt/debian unstable main contrib non-free"
  5206. msgstr ""
  5207. #. type: Content of: <refentry><refsect1><literallayout>
  5208. #: sources.list.5.xml:1
  5209. #, no-wrap
  5210. msgid ""
  5211. "Types: deb-src\n"
  5212. "URIs: file:/home/apt/debian\n"
  5213. "Suites: unstable\n"
  5214. "Components: main contrib non-free"
  5215. msgstr ""
  5216. #. type: Content of: <refentry><refsect1><para>
  5217. #: sources.list.5.xml:1
  5218. msgid ""
  5219. "The first line gets package information for the architectures in "
  5220. "<literal>APT::Architectures</literal> while the second always retrieves "
  5221. "<literal>amd64</literal> and <literal>armel</literal>."
  5222. msgstr ""
  5223. #. type: Content of: <refentry><refsect1><literallayout>
  5224. #: sources.list.5.xml:1
  5225. #, no-wrap
  5226. msgid ""
  5227. "deb http://httpredir.debian.org/debian &debian-stable-codename; main\n"
  5228. "deb [ arch=amd64,armel ] http://httpredir.debian.org/debian "
  5229. "&debian-stable-codename; main"
  5230. msgstr ""
  5231. #. type: Content of: <refentry><refsect1><literallayout>
  5232. #: sources.list.5.xml:1
  5233. #, no-wrap
  5234. msgid ""
  5235. "Types: deb\n"
  5236. "URIs: http://httpredir.debian.org/debian\n"
  5237. "Suites: &debian-stable-codename;\n"
  5238. "Components: main\n"
  5239. "\n"
  5240. "Types: deb\n"
  5241. "URIs: http://httpredir.debian.org/debian\n"
  5242. "Suites: &debian-stable-codename;\n"
  5243. "Components: main\n"
  5244. "Architectures: amd64 armel\n"
  5245. msgstr ""
  5246. #. type: Content of: <refentry><refsect1><para>
  5247. #: sources.list.5.xml:1
  5248. msgid ""
  5249. "Uses HTTP to access the archive at archive.debian.org, and uses only the "
  5250. "hamm/main area."
  5251. msgstr ""
  5252. #. type: Content of: <refentry><refsect1><literallayout>
  5253. #: sources.list.5.xml:1
  5254. #, no-wrap
  5255. msgid "deb http://archive.debian.org/debian-archive hamm main"
  5256. msgstr ""
  5257. #. type: Content of: <refentry><refsect1><literallayout>
  5258. #: sources.list.5.xml:1
  5259. #, no-wrap
  5260. msgid ""
  5261. "Types: deb\n"
  5262. "URIs: http://archive.debian.org/debian-archive\n"
  5263. "Suites: hamm\n"
  5264. "Components: main"
  5265. msgstr ""
  5266. #. type: Content of: <refentry><refsect1><para>
  5267. #: sources.list.5.xml:1
  5268. msgid ""
  5269. "Uses FTP to access the archive at ftp.debian.org, under the debian "
  5270. "directory, and uses only the &debian-stable-codename;/contrib area."
  5271. msgstr ""
  5272. #. type: Content of: <refentry><refsect1><literallayout>
  5273. #: sources.list.5.xml:1
  5274. #, no-wrap
  5275. msgid "deb ftp://ftp.debian.org/debian &debian-stable-codename; contrib"
  5276. msgstr ""
  5277. #. type: Content of: <refentry><refsect1><literallayout>
  5278. #: sources.list.5.xml:1
  5279. #, no-wrap
  5280. msgid ""
  5281. "Types: deb\n"
  5282. "URIs: ftp://ftp.debian.org/debian\n"
  5283. "Suites: &debian-stable-codename;\n"
  5284. "Components: contrib"
  5285. msgstr ""
  5286. #. type: Content of: <refentry><refsect1><para>
  5287. #: sources.list.5.xml:1
  5288. msgid ""
  5289. "Uses FTP to access the archive at ftp.debian.org, under the debian "
  5290. "directory, and uses only the unstable/contrib area. If this line appears as "
  5291. "well as the one in the previous example in <filename>sources.list</filename> "
  5292. "a single FTP session will be used for both resource lines."
  5293. msgstr ""
  5294. #. type: Content of: <refentry><refsect1><literallayout>
  5295. #: sources.list.5.xml:1
  5296. #, no-wrap
  5297. msgid "deb ftp://ftp.debian.org/debian unstable contrib"
  5298. msgstr ""
  5299. #. type: Content of: <refentry><refsect1><literallayout>
  5300. #: sources.list.5.xml:1
  5301. #, no-wrap
  5302. msgid ""
  5303. "Types: deb\n"
  5304. "URIs: ftp://ftp.debian.org/debian\n"
  5305. "Suites: unstable\n"
  5306. "Components: contrib"
  5307. msgstr ""
  5308. #. type: Content of: <refentry><refsect1><para><literallayout>
  5309. #: sources.list.5.xml:1
  5310. #, no-wrap
  5311. msgid "deb http://ftp.tlh.debian.org/universe unstable/binary-$(ARCH)/"
  5312. msgstr ""
  5313. #. type: Content of: <refentry><refsect1><para><literallayout>
  5314. #: sources.list.5.xml:1
  5315. #, no-wrap
  5316. msgid ""
  5317. "Types: deb\n"
  5318. "URIs: http://ftp.tlh.debian.org/universe\n"
  5319. "Suites: unstable/binary-$(ARCH)/"
  5320. msgstr ""
  5321. #. type: Content of: <refentry><refsect1><para>
  5322. #: sources.list.5.xml:1
  5323. msgid ""
  5324. "Uses HTTP to access the archive at ftp.tlh.debian.org, under the universe "
  5325. "directory, and uses only files found under "
  5326. "<filename>unstable/binary-i386</filename> on i386 machines, "
  5327. "<filename>unstable/binary-amd64</filename> on amd64, and so forth for other "
  5328. "supported architectures. [Note this example only illustrates how to use the "
  5329. "substitution variable; official debian archives are not structured like "
  5330. "this] <placeholder type=\"literallayout\" id=\"0\"/> <placeholder "
  5331. "type=\"literallayout\" id=\"1\"/>"
  5332. msgstr ""
  5333. #. type: Content of: <refentry><refsect1><para>
  5334. #: sources.list.5.xml:1
  5335. msgid ""
  5336. "Uses HTTP to get binary packages as well as sources from the stable, testing "
  5337. "and unstable suites and the components main and contrib."
  5338. msgstr ""
  5339. #. type: Content of: <refentry><refsect1><literallayout>
  5340. #: sources.list.5.xml:1
  5341. #, no-wrap
  5342. msgid ""
  5343. "deb http://httpredir.debian.org/debian stable main contrib\n"
  5344. "deb-src http://httpredir.debian.org/debian stable main contrib\n"
  5345. "deb http://httpredir.debian.org/debian testing main contrib\n"
  5346. "deb-src http://httpredir.debian.org/debian testing main contrib\n"
  5347. "deb http://httpredir.debian.org/debian unstable main contrib\n"
  5348. "deb-src http://httpredir.debian.org/debian unstable main contrib"
  5349. msgstr ""
  5350. #. type: Content of: <refentry><refsect1><literallayout>
  5351. #: sources.list.5.xml:1
  5352. #, no-wrap
  5353. msgid ""
  5354. "Types: deb deb-src\n"
  5355. "URIs: http://httpredir.debian.org/debian\n"
  5356. "Suites: stable testing unstable\n"
  5357. "Components: main contrib\n"
  5358. msgstr ""
  5359. #. type: Content of: <refentry><refsect1><para>
  5360. #: sources.list.5.xml:1
  5361. msgid "&apt-get;, &apt-conf;, &apt-acquire-additional-files;"
  5362. msgstr ""
  5363. #. type: Content of: <refentry><refmeta><manvolnum>
  5364. #: apt-extracttemplates.1.xml:1 apt-sortpkgs.1.xml:1 apt-ftparchive.1.xml:1
  5365. msgid "1"
  5366. msgstr ""
  5367. #. type: Content of: <refentry><refnamediv><refpurpose>
  5368. #: apt-extracttemplates.1.xml:1
  5369. msgid ""
  5370. "Utility to extract <command>debconf</command> config and templates from "
  5371. "Debian packages"
  5372. msgstr ""
  5373. #. type: Content of: <refentry><refsect1><para>
  5374. #: apt-extracttemplates.1.xml:1
  5375. msgid ""
  5376. "<command>apt-extracttemplates</command> will take one or more Debian package "
  5377. "files as input and write out (to a temporary directory) all associated "
  5378. "config scripts and template files. For each passed in package that contains "
  5379. "config scripts and templates, one line of output will be generated in the "
  5380. "format:"
  5381. msgstr ""
  5382. #. type: Content of: <refentry><refsect1><para>
  5383. #: apt-extracttemplates.1.xml:1
  5384. msgid "package version template-file config-script"
  5385. msgstr ""
  5386. #. type: Content of: <refentry><refsect1><para>
  5387. #: apt-extracttemplates.1.xml:1
  5388. msgid ""
  5389. "template-file and config-script are written to the temporary directory "
  5390. "specified by the <option>-t</option> or <option>--tempdir</option> "
  5391. "(<literal>APT::ExtractTemplates::TempDir</literal>) directory, with "
  5392. "filenames of the form <filename>package.template.XXXXXX</filename> and "
  5393. "<filename>package.config.XXXXXX</filename>"
  5394. msgstr ""
  5395. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  5396. #: apt-extracttemplates.1.xml:1
  5397. msgid ""
  5398. "Temporary directory in which to write extracted <command>debconf</command> "
  5399. "template files and config scripts. Configuration Item: "
  5400. "<literal>APT::ExtractTemplates::TempDir</literal>"
  5401. msgstr ""
  5402. #. type: Content of: <refentry><refsect1><para>
  5403. #: apt-extracttemplates.1.xml:1
  5404. msgid ""
  5405. "<command>apt-extracttemplates</command> returns zero on normal operation, "
  5406. "decimal 100 on error."
  5407. msgstr ""
  5408. #. type: Content of: <refentry><refnamediv><refpurpose>
  5409. #: apt-sortpkgs.1.xml:1
  5410. msgid "Utility to sort package index files"
  5411. msgstr ""
  5412. #. type: Content of: <refentry><refsect1><para>
  5413. #: apt-sortpkgs.1.xml:1
  5414. msgid ""
  5415. "<command>apt-sortpkgs</command> will take an index file (source index or "
  5416. "package index) and sort the records so that they are ordered by the package "
  5417. "name. It will also sort the internal fields of each record according to the "
  5418. "internal sorting rules."
  5419. msgstr ""
  5420. #. type: Content of: <refentry><refsect1><para>
  5421. #: apt-sortpkgs.1.xml:1
  5422. msgid "All output is sent to standard output; the input must be a seekable file."
  5423. msgstr ""
  5424. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  5425. #: apt-sortpkgs.1.xml:1
  5426. msgid ""
  5427. "Use source index field ordering. Configuration Item: "
  5428. "<literal>APT::SortPkgs::Source</literal>."
  5429. msgstr ""
  5430. #. type: Content of: <refentry><refsect1><para>
  5431. #: apt-sortpkgs.1.xml:1
  5432. msgid ""
  5433. "<command>apt-sortpkgs</command> returns zero on normal operation, decimal "
  5434. "100 on error."
  5435. msgstr ""
  5436. #. type: Content of: <refentry><refnamediv><refpurpose>
  5437. #: apt-ftparchive.1.xml:1
  5438. msgid "Utility to generate index files"
  5439. msgstr ""
  5440. #. type: Content of: <refentry><refsect1><para>
  5441. #: apt-ftparchive.1.xml:1
  5442. msgid ""
  5443. "<command>apt-ftparchive</command> is the command line tool that generates "
  5444. "the index files that APT uses to access a distribution source. The index "
  5445. "files should be generated on the origin site based on the content of that "
  5446. "site."
  5447. msgstr ""
  5448. #. type: Content of: <refentry><refsect1><para>
  5449. #: apt-ftparchive.1.xml:1
  5450. msgid ""
  5451. "<command>apt-ftparchive</command> is a superset of the &dpkg-scanpackages; "
  5452. "program, incorporating its entire functionality via the "
  5453. "<literal>packages</literal> command. It also contains a contents file "
  5454. "generator, <literal>contents</literal>, and an elaborate means to 'script' "
  5455. "the generation process for a complete archive."
  5456. msgstr ""
  5457. #. type: Content of: <refentry><refsect1><para>
  5458. #: apt-ftparchive.1.xml:1
  5459. msgid ""
  5460. "Internally <command>apt-ftparchive</command> can make use of binary "
  5461. "databases to cache the contents of a .deb file and it does not rely on any "
  5462. "external programs aside from &gzip;. When doing a full generate it "
  5463. "automatically performs file-change checks and builds the desired compressed "
  5464. "output files."
  5465. msgstr ""
  5466. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  5467. #: apt-ftparchive.1.xml:1
  5468. msgid ""
  5469. "The packages command generates a package file from a directory tree. It "
  5470. "takes the given directory and recursively searches it for .deb files, "
  5471. "emitting a package record to stdout for each. This command is approximately "
  5472. "equivalent to &dpkg-scanpackages;."
  5473. msgstr ""
  5474. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  5475. #: apt-ftparchive.1.xml:1 apt-ftparchive.1.xml:1
  5476. msgid "The option <option>--db</option> can be used to specify a binary caching DB."
  5477. msgstr ""
  5478. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  5479. #: apt-ftparchive.1.xml:1
  5480. msgid ""
  5481. "The <literal>sources</literal> command generates a source index file from a "
  5482. "directory tree. It takes the given directory and recursively searches it "
  5483. "for .dsc files, emitting a source record to stdout for each. This command is "
  5484. "approximately equivalent to &dpkg-scansources;."
  5485. msgstr ""
  5486. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  5487. #: apt-ftparchive.1.xml:1
  5488. msgid ""
  5489. "If an override file is specified then a source override file will be looked "
  5490. "for with an extension of .src. The --source-override option can be used to "
  5491. "change the source override file that will be used."
  5492. msgstr ""
  5493. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  5494. #: apt-ftparchive.1.xml:1
  5495. msgid ""
  5496. "The <literal>contents</literal> command generates a contents file from a "
  5497. "directory tree. It takes the given directory and recursively searches it for "
  5498. ".deb files, and reads the file list from each file. It then sorts and writes "
  5499. "to stdout the list of files matched to packages. Directories are not written "
  5500. "to the output. If multiple packages own the same file then each package is "
  5501. "separated by a comma in the output."
  5502. msgstr ""
  5503. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  5504. #: apt-ftparchive.1.xml:1
  5505. msgid ""
  5506. "The <literal>release</literal> command generates a Release file from a "
  5507. "directory tree. It recursively searches the given directory for uncompressed "
  5508. "and compressed <filename>Packages</filename>, <filename>Sources</filename>, "
  5509. "<filename>Contents</filename>, <filename>Components</filename> and "
  5510. "<filename>icons</filename> files as well as <filename>Release</filename>, "
  5511. "<filename>Index</filename> and <filename>md5sum.txt</filename> files by "
  5512. "default (<literal>APT::FTPArchive::Release::Default-Patterns</literal>). "
  5513. "Additional filename patterns can be added by listing them in "
  5514. "<literal>APT::FTPArchive::Release::Patterns</literal>. It then writes to "
  5515. "stdout a <filename>Release</filename> file containing (by default) an MD5, "
  5516. "SHA1, SHA256 and SHA512 digest for each file."
  5517. msgstr ""
  5518. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  5519. #: apt-ftparchive.1.xml:1
  5520. msgid ""
  5521. "Values for the additional metadata fields in the Release file are taken from "
  5522. "the corresponding variables under "
  5523. "<literal>APT::FTPArchive::Release</literal>, "
  5524. "e.g. <literal>APT::FTPArchive::Release::Origin</literal>. The supported "
  5525. "fields are <literal>Origin</literal>, <literal>Label</literal>, "
  5526. "<literal>Suite</literal>, <literal>Version</literal>, "
  5527. "<literal>Codename</literal>, <literal>Date</literal>, "
  5528. "<literal>Valid-Until</literal>, <literal>Signed-By</literal>, "
  5529. "<literal>Architectures</literal>, <literal>Components</literal> and "
  5530. "<literal>Description</literal>."
  5531. msgstr ""
  5532. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  5533. #: apt-ftparchive.1.xml:1
  5534. msgid ""
  5535. "The <literal>generate</literal> command is designed to be runnable from a "
  5536. "cron script and builds indexes according to the given config file. The "
  5537. "config language provides a flexible means of specifying which index files "
  5538. "are built from which directories, as well as providing a simple means of "
  5539. "maintaining the required settings."
  5540. msgstr ""
  5541. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  5542. #: apt-ftparchive.1.xml:1
  5543. msgid ""
  5544. "The <literal>clean</literal> command tidies the databases used by the given "
  5545. "configuration file by removing any records that are no longer necessary."
  5546. msgstr ""
  5547. #. type: Content of: <refentry><refsect1><title>
  5548. #: apt-ftparchive.1.xml:1
  5549. msgid "The Generate Configuration"
  5550. msgstr ""
  5551. #. type: Content of: <refentry><refsect1><para>
  5552. #: apt-ftparchive.1.xml:1
  5553. msgid ""
  5554. "The <literal>generate</literal> command uses a configuration file to "
  5555. "describe the archives that are going to be generated. It follows the typical "
  5556. "ISC configuration format as seen in ISC tools like bind 8 and dhcpd. "
  5557. "&apt-conf; contains a description of the syntax. Note that the generate "
  5558. "configuration is parsed in sectional manner, but &apt-conf; is parsed in a "
  5559. "tree manner. This only effects how the scope tag is handled."
  5560. msgstr ""
  5561. #. type: Content of: <refentry><refsect1><para>
  5562. #: apt-ftparchive.1.xml:1
  5563. msgid "The generate configuration has four separate sections, each described below."
  5564. msgstr ""
  5565. #. type: Content of: <refentry><refsect1><refsect2><title>
  5566. #: apt-ftparchive.1.xml:1
  5567. msgid "<literal>Dir</literal> Section"
  5568. msgstr ""
  5569. #. type: Content of: <refentry><refsect1><refsect2><para>
  5570. #: apt-ftparchive.1.xml:1
  5571. msgid ""
  5572. "The <literal>Dir</literal> section defines the standard directories needed "
  5573. "to locate the files required during the generation process. These "
  5574. "directories are prepended certain relative paths defined in later sections "
  5575. "to produce a complete an absolute path."
  5576. msgstr ""
  5577. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5578. #: apt-ftparchive.1.xml:1
  5579. msgid ""
  5580. "Specifies the root of the FTP archive, in a standard Debian configuration "
  5581. "this is the directory that contains the <filename>ls-LR</filename> and dist "
  5582. "nodes."
  5583. msgstr ""
  5584. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5585. #: apt-ftparchive.1.xml:1
  5586. msgid "Specifies the location of the override files."
  5587. msgstr ""
  5588. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5589. #: apt-ftparchive.1.xml:1
  5590. msgid "Specifies the location of the cache files."
  5591. msgstr ""
  5592. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5593. #: apt-ftparchive.1.xml:1
  5594. msgid ""
  5595. "Specifies the location of the file list files, if the "
  5596. "<literal>FileList</literal> setting is used below."
  5597. msgstr ""
  5598. #. type: Content of: <refentry><refsect1><refsect2><title>
  5599. #: apt-ftparchive.1.xml:1
  5600. msgid "<literal>Default</literal> Section"
  5601. msgstr ""
  5602. #. type: Content of: <refentry><refsect1><refsect2><para>
  5603. #: apt-ftparchive.1.xml:1
  5604. msgid ""
  5605. "The <literal>Default</literal> section specifies default values, and "
  5606. "settings that control the operation of the generator. Other sections may "
  5607. "override these defaults with a per-section setting."
  5608. msgstr ""
  5609. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5610. #: apt-ftparchive.1.xml:1
  5611. msgid ""
  5612. "Sets the default compression schemes to use for the package index files. It "
  5613. "is a string that contains a space separated list of at least one of the "
  5614. "compressors configured via the <option>APT::Compressor</option> "
  5615. "configuration scope. The default for all compression schemes is '. gzip'."
  5616. msgstr ""
  5617. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5618. #: apt-ftparchive.1.xml:1
  5619. msgid ""
  5620. "Sets the default list of file extensions that are package files. This "
  5621. "defaults to '.deb'."
  5622. msgstr ""
  5623. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5624. #: apt-ftparchive.1.xml:1
  5625. msgid ""
  5626. "This is similar to <literal>Packages::Compress</literal> except that it "
  5627. "controls the compression for the Sources files."
  5628. msgstr ""
  5629. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5630. #: apt-ftparchive.1.xml:1
  5631. msgid ""
  5632. "Sets the default list of file extensions that are source files. This "
  5633. "defaults to '.dsc'."
  5634. msgstr ""
  5635. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5636. #: apt-ftparchive.1.xml:1
  5637. msgid ""
  5638. "This is similar to <literal>Packages::Compress</literal> except that it "
  5639. "controls the compression for the Contents files."
  5640. msgstr ""
  5641. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5642. #: apt-ftparchive.1.xml:1
  5643. msgid ""
  5644. "This is similar to <literal>Packages::Compress</literal> except that it "
  5645. "controls the compression for the Translation-en master file."
  5646. msgstr ""
  5647. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5648. #: apt-ftparchive.1.xml:1
  5649. msgid ""
  5650. "Specifies the number of kilobytes to delink (and replace with hard links) "
  5651. "per run. This is used in conjunction with the per-section "
  5652. "<literal>External-Links</literal> setting."
  5653. msgstr ""
  5654. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5655. #: apt-ftparchive.1.xml:1
  5656. msgid ""
  5657. "Specifies the mode of all created index files. It defaults to 0644. All "
  5658. "index files are set to this mode with no regard to the umask."
  5659. msgstr ""
  5660. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5661. #: apt-ftparchive.1.xml:1 apt-ftparchive.1.xml:1
  5662. msgid ""
  5663. "Specifies whether long descriptions should be included in the "
  5664. "<filename>Packages</filename> file or split out into a master "
  5665. "<filename>Translation-en</filename> file."
  5666. msgstr ""
  5667. #. type: Content of: <refentry><refsect1><refsect2><title>
  5668. #: apt-ftparchive.1.xml:1
  5669. msgid "<literal>TreeDefault</literal> Section"
  5670. msgstr ""
  5671. #. type: Content of: <refentry><refsect1><refsect2><para>
  5672. #: apt-ftparchive.1.xml:1
  5673. msgid ""
  5674. "Sets defaults specific to <literal>Tree</literal> sections. All of these "
  5675. "variables are substitution variables and have the strings $(DIST), "
  5676. "$(SECTION) and $(ARCH) replaced with their respective values."
  5677. msgstr ""
  5678. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5679. #: apt-ftparchive.1.xml:1
  5680. msgid ""
  5681. "Sets the number of kilobytes of contents files that are generated each "
  5682. "day. The contents files are round-robined so that over several days they "
  5683. "will all be rebuilt."
  5684. msgstr ""
  5685. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5686. #: apt-ftparchive.1.xml:1
  5687. msgid ""
  5688. "Controls the number of days a contents file is allowed to be checked without "
  5689. "changing. If this limit is passed the mtime of the contents file is "
  5690. "updated. This case can occur if the package file is changed in such a way "
  5691. "that does not result in a new contents file [override edit for instance]. A "
  5692. "hold off is allowed in hopes that new .debs will be installed, requiring a "
  5693. "new file anyhow. The default is 10, the units are in days."
  5694. msgstr ""
  5695. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5696. #: apt-ftparchive.1.xml:1
  5697. msgid ""
  5698. "Sets the top of the .deb directory tree. Defaults to "
  5699. "<filename>$(DIST)/$(SECTION)/binary-$(ARCH)/</filename>"
  5700. msgstr ""
  5701. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5702. #: apt-ftparchive.1.xml:1
  5703. msgid ""
  5704. "Sets the top of the source package directory tree. Defaults to "
  5705. "<filename>$(DIST)/$(SECTION)/source/</filename>"
  5706. msgstr ""
  5707. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5708. #: apt-ftparchive.1.xml:1
  5709. msgid ""
  5710. "Sets the output Packages file. Defaults to "
  5711. "<filename>$(DIST)/$(SECTION)/binary-$(ARCH)/Packages</filename>"
  5712. msgstr ""
  5713. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5714. #: apt-ftparchive.1.xml:1
  5715. msgid ""
  5716. "Sets the output Sources file. Defaults to "
  5717. "<filename>$(DIST)/$(SECTION)/source/Sources</filename>"
  5718. msgstr ""
  5719. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5720. #: apt-ftparchive.1.xml:1
  5721. msgid ""
  5722. "Sets the output Translation-en master file with the long descriptions if "
  5723. "they should be not included in the Packages file. Defaults to "
  5724. "<filename>$(DIST)/$(SECTION)/i18n/Translation-en</filename>"
  5725. msgstr ""
  5726. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5727. #: apt-ftparchive.1.xml:1
  5728. msgid ""
  5729. "Sets the path prefix that causes a symlink to be considered an internal link "
  5730. "instead of an external link. Defaults to "
  5731. "<filename>$(DIST)/$(SECTION)/</filename>"
  5732. msgstr ""
  5733. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5734. #: apt-ftparchive.1.xml:1
  5735. msgid ""
  5736. "Sets the output Contents file. Defaults to "
  5737. "<filename>$(DIST)/$(SECTION)/Contents-$(ARCH)</filename>. If this setting "
  5738. "causes multiple Packages files to map onto a single Contents file (as is the "
  5739. "default) then <command>apt-ftparchive</command> will integrate those "
  5740. "package files together automatically."
  5741. msgstr ""
  5742. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5743. #: apt-ftparchive.1.xml:1
  5744. msgid "Sets header file to prepend to the contents output."
  5745. msgstr ""
  5746. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5747. #: apt-ftparchive.1.xml:1
  5748. msgid ""
  5749. "Sets the binary cache database to use for this section. Multiple sections "
  5750. "can share the same database."
  5751. msgstr ""
  5752. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5753. #: apt-ftparchive.1.xml:1
  5754. msgid ""
  5755. "Specifies that instead of walking the directory tree, "
  5756. "<command>apt-ftparchive</command> should read the list of files from the "
  5757. "given file. Relative files names are prefixed with the archive directory."
  5758. msgstr ""
  5759. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5760. #: apt-ftparchive.1.xml:1
  5761. msgid ""
  5762. "Specifies that instead of walking the directory tree, "
  5763. "<command>apt-ftparchive</command> should read the list of files from the "
  5764. "given file. Relative files names are prefixed with the archive directory. "
  5765. "This is used when processing source indexes."
  5766. msgstr ""
  5767. #. type: Content of: <refentry><refsect1><refsect2><title>
  5768. #: apt-ftparchive.1.xml:1
  5769. msgid "<literal>Tree</literal> Section"
  5770. msgstr ""
  5771. #. type: Content of: <refentry><refsect1><refsect2><para>
  5772. #: apt-ftparchive.1.xml:1
  5773. msgid ""
  5774. "The <literal>Tree</literal> section defines a standard Debian file tree "
  5775. "which consists of a base directory, then multiple sections in that base "
  5776. "directory and finally multiple Architectures in each section. The exact "
  5777. "pathing used is defined by the <literal>Directory</literal> substitution "
  5778. "variable."
  5779. msgstr ""
  5780. #. type: Content of: <refentry><refsect1><refsect2><para>
  5781. #: apt-ftparchive.1.xml:1
  5782. msgid ""
  5783. "The <literal>Tree</literal> section takes a scope tag which sets the "
  5784. "<literal>$(DIST)</literal> variable and defines the root of the tree (the "
  5785. "path is prefixed by <literal>ArchiveDir</literal>). Typically this is a "
  5786. "setting such as <filename>dists/&debian-stable-codename;</filename>."
  5787. msgstr ""
  5788. #. type: Content of: <refentry><refsect1><refsect2><para>
  5789. #: apt-ftparchive.1.xml:1
  5790. msgid ""
  5791. "All of the settings defined in the <literal>TreeDefault</literal> section "
  5792. "can be used in a <literal>Tree</literal> section as well as three new "
  5793. "variables."
  5794. msgstr ""
  5795. #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
  5796. #: apt-ftparchive.1.xml:1
  5797. #, no-wrap
  5798. msgid ""
  5799. "for i in Sections do \n"
  5800. " for j in Architectures do\n"
  5801. " Generate for DIST=scope SECTION=i ARCH=j\n"
  5802. " "
  5803. msgstr ""
  5804. #. type: Content of: <refentry><refsect1><refsect2><para>
  5805. #: apt-ftparchive.1.xml:1
  5806. msgid ""
  5807. "When processing a <literal>Tree</literal> section "
  5808. "<command>apt-ftparchive</command> performs an operation similar to: "
  5809. "<placeholder type=\"programlisting\" id=\"0\"/>"
  5810. msgstr ""
  5811. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5812. #: apt-ftparchive.1.xml:1
  5813. msgid ""
  5814. "This is a space separated list of sections which appear under the "
  5815. "distribution; typically this is something like <literal>main contrib "
  5816. "non-free</literal>"
  5817. msgstr ""
  5818. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5819. #: apt-ftparchive.1.xml:1
  5820. msgid ""
  5821. "This is a space separated list of all the architectures that appear under "
  5822. "search section. The special architecture 'source' is used to indicate that "
  5823. "this tree has a source archive. The architecture 'all' signals that "
  5824. "architecture specific files like <filename>Packages</filename> should not "
  5825. "include information about architecture <literal>all</literal> packages in "
  5826. "all files as they will be available in a dedicated file."
  5827. msgstr ""
  5828. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5829. #: apt-ftparchive.1.xml:1
  5830. msgid ""
  5831. "Sets the binary override file. The override file contains section, priority "
  5832. "and maintainer address information."
  5833. msgstr ""
  5834. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5835. #: apt-ftparchive.1.xml:1
  5836. msgid ""
  5837. "Sets the source override file. The override file contains section "
  5838. "information."
  5839. msgstr ""
  5840. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5841. #: apt-ftparchive.1.xml:1 apt-ftparchive.1.xml:1
  5842. msgid "Sets the binary extra override file."
  5843. msgstr ""
  5844. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5845. #: apt-ftparchive.1.xml:1 apt-ftparchive.1.xml:1
  5846. msgid "Sets the source extra override file."
  5847. msgstr ""
  5848. #. type: Content of: <refentry><refsect1><refsect2><title>
  5849. #: apt-ftparchive.1.xml:1
  5850. msgid "<literal>BinDirectory</literal> Section"
  5851. msgstr ""
  5852. #. type: Content of: <refentry><refsect1><refsect2><para>
  5853. #: apt-ftparchive.1.xml:1
  5854. msgid ""
  5855. "The <literal>bindirectory</literal> section defines a binary directory tree "
  5856. "with no special structure. The scope tag specifies the location of the "
  5857. "binary directory and the settings are similar to the <literal>Tree</literal> "
  5858. "section with no substitution variables or "
  5859. "<literal>Section</literal><literal>Architecture</literal> settings."
  5860. msgstr ""
  5861. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5862. #: apt-ftparchive.1.xml:1
  5863. msgid "Sets the Packages file output."
  5864. msgstr ""
  5865. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5866. #: apt-ftparchive.1.xml:1
  5867. msgid ""
  5868. "Sets the Sources file output. At least one of <literal>Packages</literal> or "
  5869. "<literal>Sources</literal> is required."
  5870. msgstr ""
  5871. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5872. #: apt-ftparchive.1.xml:1
  5873. msgid "Sets the Contents file output (optional)."
  5874. msgstr ""
  5875. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5876. #: apt-ftparchive.1.xml:1
  5877. msgid "Sets the binary override file."
  5878. msgstr ""
  5879. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5880. #: apt-ftparchive.1.xml:1
  5881. msgid "Sets the source override file."
  5882. msgstr ""
  5883. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5884. #: apt-ftparchive.1.xml:1
  5885. msgid "Sets the cache DB."
  5886. msgstr ""
  5887. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5888. #: apt-ftparchive.1.xml:1
  5889. msgid "Appends a path to all the output paths."
  5890. msgstr ""
  5891. #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
  5892. #: apt-ftparchive.1.xml:1
  5893. msgid "Specifies the file list file."
  5894. msgstr ""
  5895. #. type: Content of: <refentry><refsect1><title>
  5896. #: apt-ftparchive.1.xml:1
  5897. msgid "The Binary Override File"
  5898. msgstr ""
  5899. #. type: Content of: <refentry><refsect1><para>
  5900. #: apt-ftparchive.1.xml:1
  5901. msgid ""
  5902. "The binary override file is fully compatible with &dpkg-scanpackages;. It "
  5903. "contains four fields separated by spaces. The first field is the package "
  5904. "name, the second is the priority to force that package to, the third is the "
  5905. "section to force that package to and the final field is the maintainer "
  5906. "permutation field."
  5907. msgstr ""
  5908. #. type: Content of: <refentry><refsect1><para><literallayout>
  5909. #: apt-ftparchive.1.xml:1
  5910. #, no-wrap
  5911. msgid "old [// oldn]* => new"
  5912. msgstr ""
  5913. #. type: Content of: <refentry><refsect1><para><literallayout>
  5914. #: apt-ftparchive.1.xml:1
  5915. #, no-wrap
  5916. msgid "new"
  5917. msgstr ""
  5918. #. type: Content of: <refentry><refsect1><para>
  5919. #: apt-ftparchive.1.xml:1
  5920. msgid ""
  5921. "The general form of the maintainer field is: <placeholder "
  5922. "type=\"literallayout\" id=\"0\"/> or simply, <placeholder "
  5923. "type=\"literallayout\" id=\"1\"/> The first form allows a double-slash "
  5924. "separated list of old email addresses to be specified. If any of those are "
  5925. "found then new is substituted for the maintainer field. The second form "
  5926. "unconditionally substitutes the maintainer field."
  5927. msgstr ""
  5928. #. type: Content of: <refentry><refsect1><title>
  5929. #: apt-ftparchive.1.xml:1
  5930. msgid "The Source Override File"
  5931. msgstr ""
  5932. #. type: Content of: <refentry><refsect1><para>
  5933. #: apt-ftparchive.1.xml:1
  5934. msgid ""
  5935. "The source override file is fully compatible with &dpkg-scansources;. It "
  5936. "contains two fields separated by spaces. The first field is the source "
  5937. "package name, the second is the section to assign it."
  5938. msgstr ""
  5939. #. type: Content of: <refentry><refsect1><title>
  5940. #: apt-ftparchive.1.xml:1
  5941. msgid "The Extra Override File"
  5942. msgstr ""
  5943. #. type: Content of: <refentry><refsect1><para>
  5944. #: apt-ftparchive.1.xml:1
  5945. msgid ""
  5946. "The extra override file allows any arbitrary tag to be added or replaced in "
  5947. "the output. It has three columns, the first is the package, the second is "
  5948. "the tag and the remainder of the line is the new value."
  5949. msgstr ""
  5950. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  5951. #: apt-ftparchive.1.xml:1
  5952. msgid ""
  5953. "Generate the given checksum. These options default to on, when turned off "
  5954. "the generated index files will not have the checksum fields where possible. "
  5955. "Configuration Items: "
  5956. "<literal>APT::FTPArchive::<replaceable>Checksum</replaceable></literal> and "
  5957. "<literal>APT::FTPArchive::<replaceable>Index</replaceable>::<replaceable>Checksum</replaceable></literal> "
  5958. "where <literal><replaceable>Index</replaceable></literal> can be "
  5959. "<literal>Packages</literal>, <literal>Sources</literal> or "
  5960. "<literal>Release</literal> and "
  5961. "<literal><replaceable>Checksum</replaceable></literal> can be "
  5962. "<literal>MD5</literal>, <literal>SHA1</literal>, <literal>SHA256</literal> "
  5963. "or <literal>SHA512</literal>."
  5964. msgstr ""
  5965. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  5966. #: apt-ftparchive.1.xml:1
  5967. msgid ""
  5968. "Use a binary caching DB. This has no effect on the generate command. "
  5969. "Configuration Item: <literal>APT::FTPArchive::DB</literal>."
  5970. msgstr ""
  5971. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  5972. #: apt-ftparchive.1.xml:1
  5973. msgid ""
  5974. "Quiet; produces output suitable for logging, omitting progress indicators. "
  5975. "More q's will produce more quiet up to a maximum of 2. You can also use "
  5976. "<option>-q=#</option> to set the quiet level, overriding the configuration "
  5977. "file. Configuration Item: <literal>quiet</literal>."
  5978. msgstr ""
  5979. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  5980. #: apt-ftparchive.1.xml:1
  5981. msgid ""
  5982. "Perform Delinking. If the <literal>External-Links</literal> setting is used "
  5983. "then this option actually enables delinking of the files. It defaults to on "
  5984. "and can be turned off with <option>--no-delink</option>. Configuration "
  5985. "Item: <literal>APT::FTPArchive::DeLinkAct</literal>."
  5986. msgstr ""
  5987. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  5988. #: apt-ftparchive.1.xml:1
  5989. msgid ""
  5990. "Perform contents generation. When this option is set and package indexes are "
  5991. "being generated with a cache DB then the file listing will also be extracted "
  5992. "and stored in the DB for later use. When using the generate command this "
  5993. "option also allows the creation of any Contents files. The default is on. "
  5994. "Configuration Item: <literal>APT::FTPArchive::Contents</literal>."
  5995. msgstr ""
  5996. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  5997. #: apt-ftparchive.1.xml:1
  5998. msgid ""
  5999. "Select the source override file to use with the <literal>sources</literal> "
  6000. "command. Configuration Item: "
  6001. "<literal>APT::FTPArchive::SourceOverride</literal>."
  6002. msgstr ""
  6003. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  6004. #: apt-ftparchive.1.xml:1
  6005. msgid ""
  6006. "Make the caching databases read only. Configuration Item: "
  6007. "<literal>APT::FTPArchive::ReadOnlyDB</literal>."
  6008. msgstr ""
  6009. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  6010. #: apt-ftparchive.1.xml:1
  6011. msgid ""
  6012. "Accept in the <literal>packages</literal> and <literal>contents</literal> "
  6013. "commands only package files matching <literal>*_arch.deb</literal> or "
  6014. "<literal>*_all.deb</literal> instead of all package files in the given "
  6015. "path. Configuration Item: <literal>APT::FTPArchive::Architecture</literal>."
  6016. msgstr ""
  6017. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  6018. #: apt-ftparchive.1.xml:1
  6019. msgid ""
  6020. "&apt-ftparchive; caches as much as possible of metadata in a cachedb. If "
  6021. "packages are recompiled and/or republished with the same version again, this "
  6022. "will lead to problems as the now outdated cached metadata like size and "
  6023. "checksums will be used. With this option enabled this will no longer happen "
  6024. "as it will be checked if the file was changed. Note that this option is set "
  6025. "to \"<literal>false</literal>\" by default as it is not recommend to upload "
  6026. "multiply versions/builds of a package with the same versionnumber, so in "
  6027. "theory nobody will have these problems and therefore all these extra checks "
  6028. "are useless."
  6029. msgstr ""
  6030. #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
  6031. #: apt-ftparchive.1.xml:1
  6032. msgid ""
  6033. "This configuration option defaults to \"<literal>true</literal>\" and should "
  6034. "only be set to <literal>\"false\"</literal> if the Archive generated with "
  6035. "&apt-ftparchive; also provides <filename>Translation</filename> files. Note "
  6036. "that the <filename>Translation-en</filename> master file can only be created "
  6037. "in the generate command."
  6038. msgstr ""
  6039. #. type: Content of: <refentry><refsect1><para><programlisting>
  6040. #: apt-ftparchive.1.xml:1
  6041. #, no-wrap
  6042. msgid ""
  6043. "<command>apt-ftparchive</command> packages "
  6044. "<replaceable>directory</replaceable> | <command>gzip</command> > "
  6045. "<filename>Packages.gz</filename>\n"
  6046. msgstr ""
  6047. #. type: Content of: <refentry><refsect1><para>
  6048. #: apt-ftparchive.1.xml:1
  6049. msgid ""
  6050. "To create a compressed Packages file for a directory containing binary "
  6051. "packages (.deb): <placeholder type=\"programlisting\" id=\"0\"/>"
  6052. msgstr ""
  6053. #. type: Content of: <refentry><refsect1><para>
  6054. #: apt-ftparchive.1.xml:1
  6055. msgid ""
  6056. "<command>apt-ftparchive</command> returns zero on normal operation, decimal "
  6057. "100 on error."
  6058. msgstr ""
  6059. #. type: Attribute 'lang' of: <book>
  6060. #: guide.dbk:1 offline.dbk:1
  6061. msgid "en"
  6062. msgstr ""
  6063. #. type: Content of: <book><title>
  6064. #: guide.dbk:1
  6065. msgid "APT User's Guide"
  6066. msgstr ""
  6067. #. type: Content of: <book><bookinfo><authorgroup><author><personname>
  6068. #: guide.dbk:1 offline.dbk:1
  6069. msgid "Jason Gunthorpe"
  6070. msgstr ""
  6071. #. type: Content of: <book><bookinfo><authorgroup><author><email>
  6072. #: guide.dbk:1 offline.dbk:1
  6073. msgid "jgg@debian.org"
  6074. msgstr ""
  6075. #. type: Content of: <book><bookinfo><releaseinfo>
  6076. #: guide.dbk:1 offline.dbk:1
  6077. msgid "Version &apt-product-version;"
  6078. msgstr ""
  6079. #. type: Content of: <book><bookinfo><abstract><para>
  6080. #: guide.dbk:1
  6081. msgid ""
  6082. "This document provides an overview of how to use the the APT package "
  6083. "manager."
  6084. msgstr ""
  6085. #. type: Content of: <book><bookinfo>
  6086. #: guide.dbk:1
  6087. msgid "<copyright><year>1998</year><holder>Jason Gunthorpe</holder></copyright>"
  6088. msgstr ""
  6089. #. type: Content of: <book><bookinfo><legalnotice><title>
  6090. #: guide.dbk:1 offline.dbk:1
  6091. msgid "License Notice"
  6092. msgstr ""
  6093. #. type: Content of: <book><bookinfo><legalnotice><para>
  6094. #: guide.dbk:1 offline.dbk:1
  6095. msgid ""
  6096. "\"APT\" and this document are free software; you can redistribute them "
  6097. "and/or modify them under the terms of the GNU General Public License as "
  6098. "published by the Free Software Foundation; either version 2 of the License, "
  6099. "or (at your option) any later version."
  6100. msgstr ""
  6101. #. type: Content of: <book><bookinfo><legalnotice><para>
  6102. #: guide.dbk:1 offline.dbk:1
  6103. msgid ""
  6104. "For more details, on Debian systems, see the file "
  6105. "/usr/share/common-licenses/GPL for the full license."
  6106. msgstr ""
  6107. #. type: Content of: <book><chapter><title>
  6108. #: guide.dbk:1
  6109. msgid "General"
  6110. msgstr ""
  6111. #. type: Content of: <book><chapter><para>
  6112. #: guide.dbk:1
  6113. msgid ""
  6114. "The APT package currently contains two sections, the APT "
  6115. "<command>dselect</command> method and the <command>apt-get</command> command "
  6116. "line user interface. Both provide a way to install and remove packages as "
  6117. "well as download new packages from the Internet."
  6118. msgstr ""
  6119. #. type: Content of: <book><chapter><section><title>
  6120. #: guide.dbk:1
  6121. msgid "Anatomy of the Package System"
  6122. msgstr ""
  6123. #. type: Content of: <book><chapter><section><para>
  6124. #: guide.dbk:1
  6125. msgid ""
  6126. "The Debian packaging system has a large amount of information associated "
  6127. "with each package to help assure that it integrates cleanly and easily into "
  6128. "the system. The most prominent of its features is the dependency system."
  6129. msgstr ""
  6130. #. type: Content of: <book><chapter><section><para>
  6131. #: guide.dbk:1
  6132. msgid ""
  6133. "The dependency system allows individual programs to make use of shared "
  6134. "elements in the system such as libraries. It simplifies placing infrequently "
  6135. "used portions of a program in separate packages to reduce the number of "
  6136. "things the average user is required to install. Also, it allows for choices "
  6137. "in mail transport agents, X servers and so on."
  6138. msgstr ""
  6139. #. type: Content of: <book><chapter><section><para>
  6140. #: guide.dbk:1
  6141. msgid ""
  6142. "The first step to understanding the dependency system is to grasp the "
  6143. "concept of a simple dependency. The meaning of a simple dependency is that a "
  6144. "package requires another package to be installed at the same time to work "
  6145. "properly."
  6146. msgstr ""
  6147. #. type: Content of: <book><chapter><section><para>
  6148. #: guide.dbk:1
  6149. msgid ""
  6150. "For instance, mailcrypt is an emacs extension that aids in encrypting email "
  6151. "with GPG. Without GPGP installed mailcrypt is useless, so mailcrypt has a "
  6152. "simple dependency on GPG. Also, because it is an emacs extension it has a "
  6153. "simple dependency on emacs, without emacs it is completely useless."
  6154. msgstr ""
  6155. #. type: Content of: <book><chapter><section><para>
  6156. #: guide.dbk:1
  6157. msgid ""
  6158. "The other important dependency to understand is a conflicting dependency. It "
  6159. "means that a package, when installed with another package, will not work and "
  6160. "may possibly be extremely harmful to the system. As an example consider a "
  6161. "mail transport agent such as sendmail, exim or qmail. It is not possible to "
  6162. "have two mail transport agents installed because both need to listen to the "
  6163. "network to receive mail. Attempting to install two will seriously damage the "
  6164. "system so all mail transport agents have a conflicting dependency with all "
  6165. "other mail transport agents."
  6166. msgstr ""
  6167. #. type: Content of: <book><chapter><section><para>
  6168. #: guide.dbk:1
  6169. msgid ""
  6170. "As an added complication there is the possibility for a package to pretend "
  6171. "to be another package. Consider that exim and sendmail for many intents are "
  6172. "identical, they both deliver mail and understand a common interface. Hence, "
  6173. "the package system has a way for them to declare that they are both "
  6174. "mail-transport-agents. So, exim and sendmail both declare that they provide "
  6175. "a mail-transport-agent and other packages that need a mail transport agent "
  6176. "depend on mail-transport-agent. This can add a great deal of confusion when "
  6177. "trying to manually fix packages."
  6178. msgstr ""
  6179. #. type: Content of: <book><chapter><section><para>
  6180. #: guide.dbk:1
  6181. msgid ""
  6182. "At any given time a single dependency may be met by packages that are "
  6183. "already installed or it may not be. APT attempts to help resolve dependency "
  6184. "issues by providing a number of automatic algorithms that help in selecting "
  6185. "packages for installation."
  6186. msgstr ""
  6187. #. type: Content of: <book><chapter><title>
  6188. #: guide.dbk:1
  6189. msgid "apt-get"
  6190. msgstr ""
  6191. #. type: Content of: <book><chapter><para>
  6192. #: guide.dbk:1
  6193. msgid ""
  6194. "<command>apt-get</command> provides a simple way to install packages from "
  6195. "the command line. Unlike <command>dpkg</command>, <command>apt-get</command> "
  6196. "does not understand .deb files, it works with the package's proper name and "
  6197. "can only install .deb archives from a <emphasis>Source</emphasis>."
  6198. msgstr ""
  6199. #. type: Content of: <book><chapter><para><footnote><para>
  6200. #: guide.dbk:1
  6201. msgid ""
  6202. "If you are using an http proxy server you must set the http_proxy "
  6203. "environment variable first, see sources.list(5)"
  6204. msgstr ""
  6205. #. type: Content of: <book><chapter><para>
  6206. #: guide.dbk:1
  6207. msgid ""
  6208. "The first <placeholder type=\"footnote\" id=\"0\"/> thing that should be "
  6209. "done before using <command>apt-get</command> is to fetch the package lists "
  6210. "from the <emphasis>Sources</emphasis> so that it knows what packages are "
  6211. "available. This is done with <literal>apt-get update</literal>. For "
  6212. "instance,"
  6213. msgstr ""
  6214. #. type: Content of: <book><chapter><screen>
  6215. #: guide.dbk:1
  6216. #, no-wrap
  6217. msgid ""
  6218. "# apt-get update\n"
  6219. "Get http://ftp.de.debian.org/debian-non-US/ stable/binary-i386/ Packages\n"
  6220. "Get http://llug.sep.bnl.gov/debian/ testing/contrib Packages\n"
  6221. "Reading Package Lists... Done\n"
  6222. "Building Dependency Tree... Done\n"
  6223. msgstr ""
  6224. #. type: Content of: <book><chapter><para>
  6225. #: guide.dbk:1
  6226. msgid "Once updated there are several commands that can be used:"
  6227. msgstr ""
  6228. #. type: Content of: <book><chapter><variablelist><varlistentry><term>
  6229. #: guide.dbk:1
  6230. msgid "upgrade"
  6231. msgstr ""
  6232. #. type: Content of: <book><chapter><variablelist><varlistentry><listitem><para>
  6233. #: guide.dbk:1
  6234. msgid ""
  6235. "Upgrade will attempt to gently upgrade the whole system. Upgrade will never "
  6236. "install a new package or remove an existing package, nor will it ever "
  6237. "upgrade a package that might cause some other package to break. This can be "
  6238. "used daily to relatively safely upgrade the system. Upgrade will list all of "
  6239. "the packages that it could not upgrade, this usually means that they depend "
  6240. "on new packages or conflict with some other "
  6241. "package. <command>dselect</command> or <literal>apt-get install</literal> "
  6242. "can be used to force these packages to install."
  6243. msgstr ""
  6244. #. type: Content of: <book><chapter><variablelist><varlistentry><term>
  6245. #: guide.dbk:1
  6246. msgid "install"
  6247. msgstr ""
  6248. #. type: Content of: <book><chapter><variablelist><varlistentry><listitem><para>
  6249. #: guide.dbk:1
  6250. msgid ""
  6251. "Install is used to install packages by name. The package is automatically "
  6252. "fetched and installed. This can be useful if you already know the name of "
  6253. "the package to install and do not want to go into a GUI to select it. Any "
  6254. "number of packages may be passed to install, they will all be "
  6255. "fetched. Install automatically attempts to resolve dependency problems with "
  6256. "the listed packages and will print a summary and ask for confirmation if "
  6257. "anything other than its arguments are changed."
  6258. msgstr ""
  6259. #. type: Content of: <book><chapter><variablelist><varlistentry><term>
  6260. #: guide.dbk:1
  6261. msgid "dist-upgrade"
  6262. msgstr ""
  6263. #. type: Content of: <book><chapter><variablelist><varlistentry><listitem><para>
  6264. #: guide.dbk:1
  6265. msgid ""
  6266. "Dist-upgrade is a complete upgrader designed to simplify upgrading between "
  6267. "releases of Debian. It uses a sophisticated algorithm to determine the best "
  6268. "set of packages to install, upgrade and remove to get as much of the system "
  6269. "to the newest release. In some situations it may be desired to use "
  6270. "dist-upgrade rather than spend the time manually resolving dependencies in "
  6271. "<command>dselect</command>. Once dist-upgrade has completed then "
  6272. "<command>dselect</command> can be used to install any packages that may have "
  6273. "been left out."
  6274. msgstr ""
  6275. #. type: Content of: <book><chapter><variablelist><varlistentry><listitem><para>
  6276. #: guide.dbk:1
  6277. msgid ""
  6278. "It is important to closely look at what dist-upgrade is going to do, its "
  6279. "decisions may sometimes be quite surprising."
  6280. msgstr ""
  6281. #. type: Content of: <book><chapter><para>
  6282. #: guide.dbk:1
  6283. msgid ""
  6284. "<command>apt-get</command> has several command line options that are "
  6285. "detailed in its man page, "
  6286. "<citerefentry><refentrytitle>apt-get</refentrytitle><manvolnum>8</manvolnum></citerefentry>. "
  6287. "The most useful option is <literal>-d</literal> which does not install the "
  6288. "fetched files. If the system has to download a large number of package it "
  6289. "would be undesired to start installing them in case something goes "
  6290. "wrong. When <literal>-d</literal> is used the downloaded archives can be "
  6291. "installed by simply running the command that caused them to be downloaded "
  6292. "again without <literal>-d</literal>."
  6293. msgstr ""
  6294. #. type: Content of: <book><chapter><title>
  6295. #: guide.dbk:1
  6296. msgid "DSelect"
  6297. msgstr ""
  6298. #. type: Content of: <book><chapter><para>
  6299. #: guide.dbk:1
  6300. msgid ""
  6301. "The APT <command>dselect</command> method provides the complete APT system "
  6302. "with the <command>dselect</command> package selection "
  6303. "GUI. <command>dselect</command> is used to select the packages to be "
  6304. "installed or removed and APT actually installs them."
  6305. msgstr ""
  6306. #. type: Content of: <book><chapter><para>
  6307. #: guide.dbk:1
  6308. msgid ""
  6309. "To enable the APT method you need to select [A]ccess in "
  6310. "<command>dselect</command> and then choose the APT method. You will be "
  6311. "prompted for a set of <emphasis>Sources</emphasis> which are places to fetch "
  6312. "archives from. These can be remote Internet sites, local Debian mirrors or "
  6313. "CD-ROMs. Each source can provide a fragment of the total Debian archive, APT "
  6314. "will automatically combine them to form a complete set of packages. If you "
  6315. "have a CD-ROM then it is a good idea to specify it first and then specify a "
  6316. "mirror so that you have access to the latest bug fixes. APT will "
  6317. "automatically use packages on your CD-ROM before downloading from the "
  6318. "Internet."
  6319. msgstr ""
  6320. #. type: Content of: <book><chapter><screen>
  6321. #: guide.dbk:1
  6322. #, no-wrap
  6323. msgid ""
  6324. " Set up a list of distribution source locations\n"
  6325. "\n"
  6326. " Please give the base URL of the debian distribution.\n"
  6327. " The access schemes I know about are: http file\n"
  6328. "\n"
  6329. " For example:\n"
  6330. " file:/mnt/debian,\n"
  6331. " ftp://ftp.debian.org/debian,\n"
  6332. " http://ftp.de.debian.org/debian,\n"
  6333. "\n"
  6334. "\n"
  6335. " URL [http://llug.sep.bnl.gov/debian]:\n"
  6336. msgstr ""
  6337. #. type: Content of: <book><chapter><para>
  6338. #: guide.dbk:1
  6339. msgid ""
  6340. "The <emphasis>Sources</emphasis> setup starts by asking for the base of the "
  6341. "Debian archive, defaulting to a HTTP mirror. Next it asks for the "
  6342. "distribution to get."
  6343. msgstr ""
  6344. #. type: Content of: <book><chapter><screen>
  6345. #: guide.dbk:1
  6346. #, no-wrap
  6347. msgid ""
  6348. " Please give the distribution tag to get or a path to the\n"
  6349. " package file ending in a /. The distribution\n"
  6350. " tags are typically something like: stable unstable testing non-US\n"
  6351. "\n"
  6352. " Distribution [stable]:\n"
  6353. msgstr ""
  6354. #. type: Content of: <book><chapter><para>
  6355. #: guide.dbk:1
  6356. msgid ""
  6357. "The distribution refers to the Debian version in the archive, "
  6358. "<emphasis>stable</emphasis> refers to the latest released version and "
  6359. "<emphasis>unstable</emphasis> refers to the developmental "
  6360. "version. <emphasis>non-US</emphasis> is only available on some mirrors and "
  6361. "refers to packages that contain encryption technology or other things that "
  6362. "cannot be exported from the United States. Importing these packages into the "
  6363. "US is legal however."
  6364. msgstr ""
  6365. #. type: Content of: <book><chapter><screen>
  6366. #: guide.dbk:1
  6367. #, no-wrap
  6368. msgid ""
  6369. " Please give the components to get\n"
  6370. " The components are typically something like: main contrib non-free\n"
  6371. "\n"
  6372. " Components [main contrib non-free]:\n"
  6373. msgstr ""
  6374. #. type: Content of: <book><chapter><para>
  6375. #: guide.dbk:1
  6376. msgid ""
  6377. "The components list refers to the list of sub distributions to fetch. The "
  6378. "distribution is split up based on software licenses, main being DFSG free "
  6379. "packages while contrib and non-free contain things that have various "
  6380. "restrictions placed on their use and distribution."
  6381. msgstr ""
  6382. #. type: Content of: <book><chapter><para>
  6383. #: guide.dbk:1
  6384. msgid ""
  6385. "Any number of sources can be added, the setup script will continue to prompt "
  6386. "until you have specified all that you want."
  6387. msgstr ""
  6388. #. type: Content of: <book><chapter><para>
  6389. #: guide.dbk:1
  6390. msgid ""
  6391. "Before starting to use <command>dselect</command> it is necessary to update "
  6392. "the available list by selecting [U]pdate from the menu. This is a superset "
  6393. "of <literal>apt-get update</literal> that makes the fetched information "
  6394. "available to <command>dselect</command>. [U]pdate must be performed even if "
  6395. "<literal>apt-get update</literal> has been run before."
  6396. msgstr ""
  6397. #. type: Content of: <book><chapter><para>
  6398. #: guide.dbk:1
  6399. msgid ""
  6400. "You can then go on and make your selections using [S]elect and then perform "
  6401. "the installation using [I]nstall. When using the APT method the [C]onfig and "
  6402. "[R]emove commands have no meaning, the [I]nstall command performs both of "
  6403. "them together."
  6404. msgstr ""
  6405. #. type: Content of: <book><chapter><para>
  6406. #: guide.dbk:1
  6407. msgid ""
  6408. "By default APT will automatically remove the package (.deb) files once they "
  6409. "have been successfully installed. To change this behavior place "
  6410. "<literal>Dselect::clean \"prompt\";</literal> in /etc/apt/apt.conf."
  6411. msgstr ""
  6412. #. type: Content of: <book><chapter><title>
  6413. #: guide.dbk:1
  6414. msgid "The Interface"
  6415. msgstr ""
  6416. #. type: Content of: <book><chapter><para><footnote><para>
  6417. #: guide.dbk:1
  6418. msgid ""
  6419. "The <command>dselect</command> method actually is a set of wrapper scripts "
  6420. "to <command>apt-get</command>. The method actually provides more "
  6421. "functionality than is present in <command>apt-get</command> alone."
  6422. msgstr ""
  6423. #. type: Content of: <book><chapter><para>
  6424. #: guide.dbk:1
  6425. msgid ""
  6426. "Both that APT <command>dselect</command> method and "
  6427. "<command>apt-get</command> share the same interface. It is a simple system "
  6428. "that generally tells you what it will do and then goes and does "
  6429. "it. <placeholder type=\"footnote\" id=\"0\"/> After printing out a summary "
  6430. "of what will happen APT then will print out some informative status messages "
  6431. "so that you can estimate how far along it is and how much is left to do."
  6432. msgstr ""
  6433. #. type: Content of: <book><chapter><section><title>
  6434. #: guide.dbk:1
  6435. msgid "Startup"
  6436. msgstr ""
  6437. #. type: Content of: <book><chapter><section><para>
  6438. #: guide.dbk:1
  6439. msgid ""
  6440. "Before all operations except update, APT performs a number of actions to "
  6441. "prepare its internal state. It also does some checks of the system's "
  6442. "state. At any time these operations can be performed by running "
  6443. "<literal>apt-get check</literal>."
  6444. msgstr ""
  6445. #. type: Content of: <book><chapter><section><screen>
  6446. #: guide.dbk:1
  6447. #, no-wrap
  6448. msgid ""
  6449. "# apt-get check\n"
  6450. "Reading Package Lists... Done\n"
  6451. "Building Dependency Tree... Done\n"
  6452. msgstr ""
  6453. #. type: Content of: <book><chapter><section><para>
  6454. #: guide.dbk:1
  6455. msgid ""
  6456. "The first thing it does is read all the package files into memory. APT uses "
  6457. "a caching scheme so this operation will be faster the second time it is "
  6458. "run. If some of the package files are not found then they will be ignored "
  6459. "and a warning will be printed when apt-get exits."
  6460. msgstr ""
  6461. #. type: Content of: <book><chapter><section><para>
  6462. #: guide.dbk:1
  6463. msgid ""
  6464. "The final operation performs a detailed analysis of the system's "
  6465. "dependencies. It checks every dependency of every installed or unpacked "
  6466. "package and considers if it is OK. Should this find a problem then a report "
  6467. "will be printed out and <command>apt-get</command> will refuse to run."
  6468. msgstr ""
  6469. #. type: Content of: <book><chapter><section><screen>
  6470. #: guide.dbk:1
  6471. #, no-wrap
  6472. msgid ""
  6473. "# apt-get check\n"
  6474. "Reading Package Lists... Done\n"
  6475. "Building Dependency Tree... Done\n"
  6476. "You might want to run apt-get -f install' to correct these.\n"
  6477. "Sorry, but the following packages have unmet dependencies:\n"
  6478. " 9fonts: Depends: xlib6g but it is not installed\n"
  6479. " uucp: Depends: mailx but it is not installed\n"
  6480. " blast: Depends: xlib6g (&gt;= 3.3-5) but it is not installed\n"
  6481. " adduser: Depends: perl-base but it is not installed\n"
  6482. " aumix: Depends: libgpmg1 but it is not installed\n"
  6483. " debiandoc-sgml: Depends: sgml-base but it is not installed\n"
  6484. " bash-builtins: Depends: bash (&gt;= 2.01) but 2.0-3 is installed\n"
  6485. " cthugha: Depends: svgalibg1 but it is not installed\n"
  6486. " Depends: xlib6g (&gt;= 3.3-5) but it is not installed\n"
  6487. " libreadlineg2: Conflicts:libreadline2 (&lt;&lt; 2.1-2.1)\n"
  6488. msgstr ""
  6489. #. type: Content of: <book><chapter><section><para>
  6490. #: guide.dbk:1
  6491. msgid ""
  6492. "In this example the system has many problems, including a serious problem "
  6493. "with libreadlineg2. For each package that has unmet dependencies a line is "
  6494. "printed out indicating the package with the problem and the dependencies "
  6495. "that are unmet. A short explanation of why the package has a dependency "
  6496. "problem is also included."
  6497. msgstr ""
  6498. #. type: Content of: <book><chapter><section><para><footnote><para>
  6499. #: guide.dbk:1
  6500. msgid ""
  6501. "APT however considers all known dependencies and attempts to prevent broken "
  6502. "packages"
  6503. msgstr ""
  6504. #. type: Content of: <book><chapter><section><para>
  6505. #: guide.dbk:1
  6506. msgid ""
  6507. "There are two ways a system can get into a broken state like this. The first "
  6508. "is caused by <command>dpkg</command> missing some subtle relationships "
  6509. "between packages when performing upgrades. <placeholder type=\"footnote\" "
  6510. "id=\"0\"/>. The second is if a package installation fails during an "
  6511. "operation. In this situation a package may have been unpacked without its "
  6512. "dependents being installed."
  6513. msgstr ""
  6514. #. type: Content of: <book><chapter><section><para>
  6515. #: guide.dbk:1
  6516. msgid ""
  6517. "The second situation is much less serious than the first because APT places "
  6518. "certain constraints on the order that packages are installed. In both cases "
  6519. "supplying the <literal>-f</literal> option to <command>apt-get</command> "
  6520. "will cause APT to deduce a possible solution to the problem and then "
  6521. "continue on. The APT <command>dselect</command> method always supplies the "
  6522. "<literal>-f</literal> option to allow for easy continuation of failed "
  6523. "maintainer scripts."
  6524. msgstr ""
  6525. #. type: Content of: <book><chapter><section><para>
  6526. #: guide.dbk:1
  6527. msgid ""
  6528. "However, if the <literal>-f</literal> option is used to correct a seriously "
  6529. "broken system caused by the first case then it is possible that it will "
  6530. "either fail immediately or the installation sequence will fail. In either "
  6531. "case it is necessary to manually use dpkg (possibly with forcing options) to "
  6532. "correct the situation enough to allow APT to proceed."
  6533. msgstr ""
  6534. #. type: Content of: <book><chapter><section><title>
  6535. #: guide.dbk:1
  6536. msgid "The Status Report"
  6537. msgstr ""
  6538. #. type: Content of: <book><chapter><section><para>
  6539. #: guide.dbk:1
  6540. msgid ""
  6541. "Before proceeding <command>apt-get</command> will present a report on what "
  6542. "will happen. Generally the report reflects the type of operation being "
  6543. "performed but there are several common elements. In all cases the lists "
  6544. "reflect the final state of things, taking into account the "
  6545. "<literal>-f</literal> option and any other relevant activities to the "
  6546. "command being executed."
  6547. msgstr ""
  6548. #. type: Content of: <book><chapter><section><section><title>
  6549. #: guide.dbk:1
  6550. msgid "The Extra Package list"
  6551. msgstr ""
  6552. #. type: Content of: <book><chapter><section><section><screen>
  6553. #: guide.dbk:1
  6554. #, no-wrap
  6555. msgid ""
  6556. "The following extra packages will be installed:\n"
  6557. " libdbd-mysql-perl xlib6 zlib1 xzx libreadline2 libdbd-msql-perl\n"
  6558. " mailpgp xdpkg fileutils pinepgp zlib1g xlib6g perl-base\n"
  6559. " bin86 libgdbm1 libgdbmg1 quake-lib gmp2 bcc xbuffy\n"
  6560. " squake pgp-i python-base debmake ldso perl libreadlineg2\n"
  6561. " ssh\n"
  6562. msgstr ""
  6563. #. type: Content of: <book><chapter><section><section><para>
  6564. #: guide.dbk:1
  6565. msgid ""
  6566. "The Extra Package list shows all of the packages that will be installed or "
  6567. "upgraded in excess of the ones mentioned on the command line. It is only "
  6568. "generated for an <literal>install</literal> command. The listed packages are "
  6569. "often the result of an Auto Install."
  6570. msgstr ""
  6571. #. type: Content of: <book><chapter><section><section><title>
  6572. #: guide.dbk:1
  6573. msgid "The Packages to Remove"
  6574. msgstr ""
  6575. #. type: Content of: <book><chapter><section><section><screen>
  6576. #: guide.dbk:1
  6577. #, no-wrap
  6578. msgid ""
  6579. "The following packages will be REMOVED:\n"
  6580. " xlib6-dev xpat2 tk40-dev xkeycaps xbattle xonix\n"
  6581. " xdaliclock tk40 tk41 xforms0.86 ghostview xloadimage xcolorsel\n"
  6582. " xadmin xboard perl-debug tkined xtetris libreadline2-dev perl-suid\n"
  6583. " nas xpilot xfig\n"
  6584. msgstr ""
  6585. #. type: Content of: <book><chapter><section><section><para>
  6586. #: guide.dbk:1
  6587. msgid ""
  6588. "The Packages to Remove list shows all of the packages that will be removed "
  6589. "from the system. It can be shown for any of the operations and should be "
  6590. "given a careful inspection to ensure nothing important is to be taken "
  6591. "off. The <literal>-f</literal> option is especially good at generating "
  6592. "packages to remove so extreme care should be used in that case. The list may "
  6593. "contain packages that are going to be removed because they are only "
  6594. "partially installed, possibly due to an aborted installation."
  6595. msgstr ""
  6596. #. type: Content of: <book><chapter><section><section><title>
  6597. #: guide.dbk:1
  6598. msgid "The New Packages list"
  6599. msgstr ""
  6600. #. type: Content of: <book><chapter><section><section><screen>
  6601. #: guide.dbk:1
  6602. #, no-wrap
  6603. msgid ""
  6604. "The following NEW packages will installed:\n"
  6605. " zlib1g xlib6g perl-base libgdbmg1 quake-lib gmp2 pgp-i python-base\n"
  6606. msgstr ""
  6607. #. type: Content of: <book><chapter><section><section><para>
  6608. #: guide.dbk:1
  6609. msgid ""
  6610. "The New Packages list is simply a reminder of what will happen. The packages "
  6611. "listed are not presently installed in the system but will be when APT is "
  6612. "done."
  6613. msgstr ""
  6614. #. type: Content of: <book><chapter><section><section><title>
  6615. #: guide.dbk:1
  6616. msgid "The Kept Back list"
  6617. msgstr ""
  6618. #. type: Content of: <book><chapter><section><section><screen>
  6619. #: guide.dbk:1
  6620. #, no-wrap
  6621. msgid ""
  6622. "The following packages have been kept back\n"
  6623. " compface man-db tetex-base msql libpaper svgalib1\n"
  6624. " gs snmp arena lynx xpat2 groff xscreensaver\n"
  6625. msgstr ""
  6626. #. type: Content of: <book><chapter><section><section><para>
  6627. #: guide.dbk:1
  6628. msgid ""
  6629. "Whenever the whole system is being upgraded there is the possibility that "
  6630. "new versions of packages cannot be installed because they require new things "
  6631. "or conflict with already installed things. In this case the package will "
  6632. "appear in the Kept Back list. The best way to convince packages listed there "
  6633. "to install is with <literal>apt-get install</literal> or by using "
  6634. "<command>dselect</command> to resolve their problems."
  6635. msgstr ""
  6636. #. type: Content of: <book><chapter><section><section><title>
  6637. #: guide.dbk:1
  6638. msgid "Held Packages warning"
  6639. msgstr ""
  6640. #. type: Content of: <book><chapter><section><section><screen>
  6641. #: guide.dbk:1
  6642. #, no-wrap
  6643. msgid ""
  6644. "The following held packages will be changed:\n"
  6645. " cvs\n"
  6646. msgstr ""
  6647. #. type: Content of: <book><chapter><section><section><para>
  6648. #: guide.dbk:1
  6649. msgid ""
  6650. "Sometimes you can ask APT to install a package that is on hold, in such a "
  6651. "case it prints out a warning that the held package is going to be "
  6652. "changed. This should only happen during dist-upgrade or install."
  6653. msgstr ""
  6654. #. type: Content of: <book><chapter><section><section><title>
  6655. #: guide.dbk:1
  6656. msgid "Final summary"
  6657. msgstr ""
  6658. #. type: Content of: <book><chapter><section><section><para>
  6659. #: guide.dbk:1
  6660. msgid "Finally, APT will print out a summary of all the changes that will occur."
  6661. msgstr ""
  6662. #. type: Content of: <book><chapter><section><section><screen>
  6663. #: guide.dbk:1
  6664. #, no-wrap
  6665. msgid ""
  6666. "206 packages upgraded, 8 newly installed, 23 to remove and 51 not "
  6667. "upgraded.\n"
  6668. "12 packages not fully installed or removed.\n"
  6669. "Need to get 65.7M/66.7M of archives. After unpacking 26.5M will be used.\n"
  6670. msgstr ""
  6671. #. type: Content of: <book><chapter><section><section><para>
  6672. #: guide.dbk:1
  6673. msgid ""
  6674. "The first line of the summary simply is a reduced version of all of the "
  6675. "lists and includes the number of upgrades - that is packages already "
  6676. "installed that have new versions available. The second line indicates the "
  6677. "number of poorly configured packages, possibly the result of an aborted "
  6678. "installation. The final line shows the space requirements that the "
  6679. "installation needs. The first pair of numbers refer to the size of the "
  6680. "archive files. The first number indicates the number of bytes that must be "
  6681. "fetched from remote locations and the second indicates the total size of all "
  6682. "the archives required. The next number indicates the size difference between "
  6683. "the presently installed packages and the newly installed packages. It is "
  6684. "roughly equivalent to the space required in /usr after everything is "
  6685. "done. If a large number of packages are being removed then the value may "
  6686. "indicate the amount of space that will be freed."
  6687. msgstr ""
  6688. #. type: Content of: <book><chapter><section><section><para>
  6689. #: guide.dbk:1
  6690. msgid ""
  6691. "Some other reports can be generated by using the -u option to show packages "
  6692. "to upgrade, they are similar to the previous examples."
  6693. msgstr ""
  6694. #. type: Content of: <book><chapter><section><title>
  6695. #: guide.dbk:1
  6696. msgid "The Status Display"
  6697. msgstr ""
  6698. #. type: Content of: <book><chapter><section><para>
  6699. #: guide.dbk:1
  6700. msgid ""
  6701. "During the download of archives and package files APT prints out a series of "
  6702. "status messages."
  6703. msgstr ""
  6704. #. type: Content of: <book><chapter><section><screen>
  6705. #: guide.dbk:1
  6706. #, no-wrap
  6707. msgid ""
  6708. "# apt-get update\n"
  6709. "Get:1 http://ftp.de.debian.org/debian-non-US/ stable/non-US/ Packages\n"
  6710. "Get:2 http://llug.sep.bnl.gov/debian/ testing/contrib Packages\n"
  6711. "Hit http://llug.sep.bnl.gov/debian/ testing/main Packages\n"
  6712. "Get:4 http://ftp.de.debian.org/debian-non-US/ unstable/binary-i386/ "
  6713. "Packages\n"
  6714. "Get:5 http://llug.sep.bnl.gov/debian/ testing/non-free Packages\n"
  6715. "11% [5 testing/non-free `Waiting for file' 0/32.1k 0%] 2203b/s 1m52s\n"
  6716. msgstr ""
  6717. #. type: Content of: <book><chapter><section><para>
  6718. #: guide.dbk:1
  6719. msgid ""
  6720. "The lines starting with <emphasis>Get</emphasis> are printed out when APT "
  6721. "begins to fetch a file while the last line indicates the progress of the "
  6722. "download. The first percent value on the progress line indicates the total "
  6723. "percent done of all files. Unfortunately since the size of the Package files "
  6724. "is unknown <literal>apt-get update</literal> estimates the percent done "
  6725. "which causes some inaccuracies."
  6726. msgstr ""
  6727. #. type: Content of: <book><chapter><section><para>
  6728. #: guide.dbk:1
  6729. msgid ""
  6730. "The next section of the status line is repeated once for each download "
  6731. "thread and indicates the operation being performed and some useful "
  6732. "information about what is happening. Sometimes this section will simply read "
  6733. "<emphasis>Forking</emphasis> which means the OS is loading the download "
  6734. "module. The first word after the [ is the fetch number as shown on the "
  6735. "history lines. The next word is the short form name of the object being "
  6736. "downloaded. For archives it will contain the name of the package that is "
  6737. "being fetched."
  6738. msgstr ""
  6739. #. type: Content of: <book><chapter><section><para>
  6740. #: guide.dbk:1
  6741. msgid ""
  6742. "Inside of the single quote is an informative string indicating the progress "
  6743. "of the negotiation phase of the download. Typically it progresses from "
  6744. "<emphasis>Connecting</emphasis> to <emphasis>Waiting for file</emphasis> to "
  6745. "<emphasis>Downloading</emphasis> or <emphasis>Resuming</emphasis>. The final "
  6746. "value is the number of bytes downloaded from the remote site. Once the "
  6747. "download begins this is represented as <literal>102/10.2k</literal> "
  6748. "indicating that 102 bytes have been fetched and 10.2 kilobytes is "
  6749. "expected. The total size is always shown in 4 figure notation to preserve "
  6750. "space. After the size display is a percent meter for the file itself. The "
  6751. "second last element is the instantaneous average speed. This values is "
  6752. "updated every 5 seconds and reflects the rate of data transfer for that "
  6753. "period. Finally is shown the estimated transfer time. This is updated "
  6754. "regularly and reflects the time to complete everything at the shown transfer "
  6755. "rate."
  6756. msgstr ""
  6757. #. type: Content of: <book><chapter><section><para>
  6758. #: guide.dbk:1
  6759. msgid ""
  6760. "The status display updates every half second to provide a constant feedback "
  6761. "on the download progress while the Get lines scroll back whenever a new file "
  6762. "is started. Since the status display is constantly updated it is unsuitable "
  6763. "for logging to a file, use the <literal>-q</literal> option to remove the "
  6764. "status display."
  6765. msgstr ""
  6766. #. type: Content of: <book><chapter><section><title>
  6767. #: guide.dbk:1
  6768. msgid "Dpkg"
  6769. msgstr ""
  6770. #. type: Content of: <book><chapter><section><para>
  6771. #: guide.dbk:1
  6772. msgid ""
  6773. "APT uses <command>dpkg</command> for installing the archives and will switch "
  6774. "over to the <command>dpkg</command> interface once downloading is "
  6775. "completed. <command>dpkg</command> will also ask a number of questions as it "
  6776. "processes the packages and the packages themselves may also ask several "
  6777. "questions. Before each question there is usually a description of what it is "
  6778. "asking and the questions are too varied to discuss completely here."
  6779. msgstr ""
  6780. #. type: Content of: <book><title>
  6781. #: offline.dbk:1
  6782. msgid "Using APT Offline"
  6783. msgstr ""
  6784. #. type: Content of: <book><bookinfo><abstract><para>
  6785. #: offline.dbk:1
  6786. msgid ""
  6787. "This document describes how to use APT in a non-networked environment, "
  6788. "specifically a 'sneaker-net' approach for performing upgrades."
  6789. msgstr ""
  6790. #. type: Content of: <book><bookinfo>
  6791. #: offline.dbk:1
  6792. msgid "<copyright><year>1999</year><holder>Jason Gunthorpe</holder></copyright>"
  6793. msgstr ""
  6794. #. type: Content of: <book><chapter><title>
  6795. #: offline.dbk:1
  6796. msgid "Introduction"
  6797. msgstr ""
  6798. #. type: Content of: <book><chapter><section><title>
  6799. #: offline.dbk:1 offline.dbk:1 offline.dbk:1
  6800. msgid "Overview"
  6801. msgstr ""
  6802. #. type: Content of: <book><chapter><section><para>
  6803. #: offline.dbk:1
  6804. msgid ""
  6805. "Normally APT requires direct access to a Debian archive, either from a local "
  6806. "media or through a network. Another common complaint is that a Debian "
  6807. "machine is on a slow link, such as a modem and another machine has a very "
  6808. "fast connection but they are physically distant."
  6809. msgstr ""
  6810. #. type: Content of: <book><chapter><section><para>
  6811. #: offline.dbk:1
  6812. msgid ""
  6813. "The solution to this is to use large removable media such as a Zip disc or a "
  6814. "SuperDisk disc. These discs are not large enough to store the entire Debian "
  6815. "archive but can easily fit a subset large enough for most users. The idea is "
  6816. "to use APT to generate a list of packages that are required and then fetch "
  6817. "them onto the disc using another machine with good connectivity. It is even "
  6818. "possible to use another Debian machine with APT or to use a completely "
  6819. "different OS and a download tool like wget. Let <emphasis>remote "
  6820. "host</emphasis> mean the machine downloading the packages, and "
  6821. "<emphasis>target host</emphasis> the one with bad or no connection."
  6822. msgstr ""
  6823. #. type: Content of: <book><chapter><section><para>
  6824. #: offline.dbk:1
  6825. msgid ""
  6826. "This is achieved by creatively manipulating the APT configuration file. The "
  6827. "essential premise to tell APT to look on a disc for it's archive files. Note "
  6828. "that the disc should be formatted with a filesystem that can handle long "
  6829. "file names such as ext2, fat32 or vfat."
  6830. msgstr ""
  6831. #. type: Content of: <book><chapter><title>
  6832. #: offline.dbk:1
  6833. msgid "Using APT on both machines"
  6834. msgstr ""
  6835. #. type: Content of: <book><chapter><section><para>
  6836. #: offline.dbk:1
  6837. msgid ""
  6838. "APT being available on both machines gives the simplest configuration. The "
  6839. "basic idea is to place a copy of the status file on the disc and use the "
  6840. "remote machine to fetch the latest package files and decide which packages "
  6841. "to download. The disk directory structure should look like:"
  6842. msgstr ""
  6843. #. type: Content of: <book><chapter><section><screen>
  6844. #: offline.dbk:1
  6845. #, no-wrap
  6846. msgid ""
  6847. " /disc/\n"
  6848. " archives/\n"
  6849. " partial/\n"
  6850. " lists/\n"
  6851. " partial/\n"
  6852. " status\n"
  6853. " sources.list\n"
  6854. " apt.conf\n"
  6855. msgstr ""
  6856. #. type: Content of: <book><chapter><section><title>
  6857. #: offline.dbk:1
  6858. msgid "The configuration file"
  6859. msgstr ""
  6860. #. type: Content of: <book><chapter><section><para>
  6861. #: offline.dbk:1
  6862. msgid ""
  6863. "The configuration file should tell APT to store its files on the disc and to "
  6864. "use the configuration files on the disc as well. The sources.list should "
  6865. "contain the proper sites that you wish to use from the remote machine, and "
  6866. "the status file should be a copy of "
  6867. "<emphasis>/var/lib/dpkg/status</emphasis> from the <emphasis>target "
  6868. "host</emphasis>. Please note, if you are using a local archive you must use "
  6869. "copy URIs, the syntax is identical to file URIs."
  6870. msgstr ""
  6871. #. type: Content of: <book><chapter><section><para>
  6872. #: offline.dbk:1
  6873. msgid ""
  6874. "<emphasis>apt.conf</emphasis> must contain the necessary information to make "
  6875. "APT use the disc:"
  6876. msgstr ""
  6877. #. type: Content of: <book><chapter><section><screen>
  6878. #: offline.dbk:1
  6879. #, no-wrap
  6880. msgid ""
  6881. " APT\n"
  6882. " {\n"
  6883. " /* This is not necessary if the two machines are the same arch, it "
  6884. "tells\n"
  6885. " the remote APT what architecture the target machine is */\n"
  6886. " Architecture \"i386\";\n"
  6887. "\n"
  6888. " Get::Download-Only \"true\";\n"
  6889. " };\n"
  6890. "\n"
  6891. " Dir\n"
  6892. " {\n"
  6893. " /* Use the disc for state information and redirect the status file from\n"
  6894. " the /var/lib/dpkg default */\n"
  6895. " State \"/disc/\";\n"
  6896. " State::status \"status\";\n"
  6897. "\n"
  6898. " // Binary caches will be stored locally\n"
  6899. " Cache::archives \"/disc/archives/\";\n"
  6900. " Cache \"/tmp/\";\n"
  6901. "\n"
  6902. " // Location of the source list.\n"
  6903. " Etc \"/disc/\";\n"
  6904. " };\n"
  6905. msgstr ""
  6906. #. type: Content of: <book><chapter><section><para>
  6907. #: offline.dbk:1
  6908. msgid ""
  6909. "More details can be seen by examining the apt.conf man page and the sample "
  6910. "configuration file in "
  6911. "<emphasis>/usr/share/doc/apt/examples/apt.conf</emphasis>."
  6912. msgstr ""
  6913. #. type: Content of: <book><chapter><section><para>
  6914. #: offline.dbk:1
  6915. msgid ""
  6916. "On the target machine the first thing to do is mount the disc and copy "
  6917. "<emphasis>/var/lib/dpkg/status</emphasis> to it. You will also need to "
  6918. "create the directories outlined in the Overview, "
  6919. "<emphasis>archives/partial/</emphasis> and "
  6920. "<emphasis>lists/partial/</emphasis>. Then take the disc to the remote "
  6921. "machine and configure the sources.list. On the remote machine execute the "
  6922. "following:"
  6923. msgstr ""
  6924. #. type: Content of: <book><chapter><section><screen>
  6925. #: offline.dbk:1
  6926. #, no-wrap
  6927. msgid ""
  6928. " # export APT_CONFIG=\"/disc/apt.conf\"\n"
  6929. " # apt-get update\n"
  6930. " [ APT fetches the package files ]\n"
  6931. " # apt-get dist-upgrade\n"
  6932. " [ APT fetches all the packages needed to upgrade the target machine ]\n"
  6933. msgstr ""
  6934. #. type: Content of: <book><chapter><section><para>
  6935. #: offline.dbk:1
  6936. msgid ""
  6937. "The dist-upgrade command can be replaced with any other standard APT "
  6938. "commands, particularly dselect-upgrade. You can even use an APT front end "
  6939. "such as <emphasis>dselect</emphasis>. However this presents a problem in "
  6940. "communicating your selections back to the local computer."
  6941. msgstr ""
  6942. #. type: Content of: <book><chapter><section><para>
  6943. #: offline.dbk:1
  6944. msgid ""
  6945. "Now the disc contains all of the index files and archives needed to upgrade "
  6946. "the target machine. Take the disc back and run:"
  6947. msgstr ""
  6948. #. type: Content of: <book><chapter><section><screen>
  6949. #: offline.dbk:1
  6950. #, no-wrap
  6951. msgid ""
  6952. " # export APT_CONFIG=\"/disc/apt.conf\"\n"
  6953. " # apt-get check\n"
  6954. " [ APT generates a local copy of the cache files ]\n"
  6955. " # apt-get --no-d -o dir::state::status=/var/lib/dpkg/status dist-upgrade\n"
  6956. " [ Or any other APT command ]\n"
  6957. msgstr ""
  6958. #. type: Content of: <book><chapter><section><para>
  6959. #: offline.dbk:1
  6960. msgid ""
  6961. "It is necessary for proper function to re-specify the status file to be the "
  6962. "local one. This is very important!"
  6963. msgstr ""
  6964. #. type: Content of: <book><chapter><section><para>
  6965. #: offline.dbk:1
  6966. msgid ""
  6967. "If you are using dselect you can do the very risky operation of copying "
  6968. "disc/status to /var/lib/dpkg/status so that any selections you made on the "
  6969. "remote machine are updated. I highly recommend that people only make "
  6970. "selections on the local machine - but this may not always be possible. DO "
  6971. "NOT copy the status file if dpkg or APT have been run in the mean time!!"
  6972. msgstr ""
  6973. #. type: Content of: <book><chapter><title>
  6974. #: offline.dbk:1
  6975. msgid "Using APT and wget"
  6976. msgstr ""
  6977. #. type: Content of: <book><chapter><section><para>
  6978. #: offline.dbk:1
  6979. msgid ""
  6980. "<emphasis>wget</emphasis> is a popular and portable download tool that can "
  6981. "run on nearly any machine. Unlike the method above this requires that the "
  6982. "Debian machine already has a list of available packages."
  6983. msgstr ""
  6984. #. type: Content of: <book><chapter><section><para>
  6985. #: offline.dbk:1
  6986. msgid ""
  6987. "The basic idea is to create a disc that has only the archive files "
  6988. "downloaded from the remote site. This is done by using the --print-uris "
  6989. "option to apt-get and then preparing a wget script to actually fetch the "
  6990. "packages."
  6991. msgstr ""
  6992. #. type: Content of: <book><chapter><section><title>
  6993. #: offline.dbk:1
  6994. msgid "Operation"
  6995. msgstr ""
  6996. #. type: Content of: <book><chapter><section><para>
  6997. #: offline.dbk:1
  6998. msgid ""
  6999. "Unlike the previous technique no special configuration files are "
  7000. "required. We merely use the standard APT commands to generate the file list."
  7001. msgstr ""
  7002. #. type: Content of: <book><chapter><section><screen>
  7003. #: offline.dbk:1
  7004. #, no-wrap
  7005. msgid ""
  7006. " # apt-get dist-upgrade\n"
  7007. " [ Press no when prompted, make sure you are happy with the actions ]\n"
  7008. " # apt-get -qq --print-uris dist-upgrade &gt; uris\n"
  7009. " # awk '{print \"wget -O \" $2 \" \" $1}' &lt; uris &gt; /disc/wget-script\n"
  7010. msgstr ""
  7011. #. type: Content of: <book><chapter><section><para>
  7012. #: offline.dbk:1
  7013. msgid ""
  7014. "Any command other than dist-upgrade could be used here, including "
  7015. "dselect-upgrade."
  7016. msgstr ""
  7017. #. type: Content of: <book><chapter><section><para>
  7018. #: offline.dbk:1
  7019. msgid ""
  7020. "The /disc/wget-script file will now contain a list of wget commands to "
  7021. "execute in order to fetch the necessary archives. This script should be run "
  7022. "with the current directory as the disc's mount point so as to save the "
  7023. "output on the disc."
  7024. msgstr ""
  7025. #. type: Content of: <book><chapter><section><para>
  7026. #: offline.dbk:1
  7027. msgid "The remote machine would do something like"
  7028. msgstr ""
  7029. #. type: Content of: <book><chapter><section><screen>
  7030. #: offline.dbk:1
  7031. #, no-wrap
  7032. msgid ""
  7033. " # cd /disc\n"
  7034. " # sh -x ./wget-script\n"
  7035. " [ wait.. ]\n"
  7036. msgstr ""
  7037. #. type: Content of: <book><chapter><section><para>
  7038. #: offline.dbk:1
  7039. msgid ""
  7040. "Once the archives are downloaded and the disc returned to the Debian machine "
  7041. "installation can proceed using,"
  7042. msgstr ""
  7043. #. type: Content of: <book><chapter><section><screen>
  7044. #: offline.dbk:1
  7045. #, no-wrap
  7046. msgid " # apt-get -o dir::cache::archives=\"/disc/\" dist-upgrade\n"
  7047. msgstr ""
  7048. #. type: Content of: <book><chapter><section><para>
  7049. #: offline.dbk:1
  7050. msgid "Which will use the already fetched archives on the disc."
  7051. msgstr ""