{"id":73258,"date":"2020-03-08T14:42:07","date_gmt":"2020-03-08T11:42:07","guid":{"rendered":"https:\/\/prohoster.info\/blog\/novosti-interneta\/vypusk-paketnogo-menedzhera-apt-2-0"},"modified":"2020-03-08T14:42:07","modified_gmt":"2020-03-08T11:42:07","slug":"vypusk-paketnogo-menedzhera-apt-2-0","status":"publish","type":"post","link":"https:\/\/prohoster.info\/ro\/blog\/news\/vypusk-paketnogo-menedzhera-apt-2-0","title":{"rendered":"Lansarea managerului de pachete APT 2.0","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p><noindex><a rel=\"nofollow\" href=\"https:\/\/blog.jak-linux.org\/2020\/03\/07\/apt-2.0\/\">Preg\u0103tit<\/a><\/noindex> lansarea instrumentului de gestionare a pachetelor <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/Debian\/apt\">APT 2.0<\/a><\/noindex> (Advanced Package Tool), dezvoltat de proiectul Debian. Pe l\u00e2ng\u0103 Debian \u0219i deriva\u021bii s\u0103i, APT este utilizat \u0219i \u00een unele distribu\u021bii bazate pe managerul de pachete rpm, cum ar fi PCLinuxOS \u0219i ALT Linux. Noua ramur\u0103 a inclus modific\u0103rile acumulate \u00een timpul dezvolt\u0103rii ramurii experimentale 1.9.x. Noua versiune va fi lansat\u0103 \u00een cur\u00e2nd <noindex><a rel=\"nofollow\" href=\"https:\/\/packages.debian.org\/source\/sid\/apt\">integrat<\/a><\/noindex> \u00een ramura Debian Unstable \u0219i \u00een baza de date a pachetelor <noindex><a rel=\"nofollow\" href=\"https:\/\/launchpad.net\/ubuntu\/eoan\/+source\/apt\">Ubuntu<\/a><\/noindex> (\u00een Ubuntu 19.10 a fost utilizat\u0103 ramura experimental\u0103 1.9).<\/p>\n<p>Din <noindex><a rel=\"nofollow\" href=\"https:\/\/launchpad.net\/ubuntu\/+source\/apt\/+changelog\">modific\u0103ri<\/a><\/noindex> se pot men\u021biona:\n<\/p>\n<ul>\n<li class=\"l\"> \u00cen comenzile care accept\u0103 nume de pachete, a ap\u0103rut suportul <noindex><a rel=\"nofollow\" href=\"http:\/\/manpages.ubuntu.com\/manpages\/focal\/man7\/apt-patterns.7.html\">\u0219abloane<\/a><\/noindex>. Sintaxa \u0219abloanelor se repet\u0103 \u00een principal stilul \u0219abloanelor aptitude. Suportul pentru m\u0103\u0219ti \u0219i expresii regulate \u00een argumentele comenzii apt a fost eliminat, acum trebuie folosite \u0219abloanele. De exemplu, pentru a lista toate pachetele instalate manual din sec\u021biunile cu cuvintele libs, perl \u0219i python:\n<p>    apt list '~i !~M (~slibs|~sperl|~spython)'<\/p>\n<li class=\"l\"> Au fost ad\u0103ugate comenzile \u00abapt satisfy\u00bb \u0219i \u00abapt-get satisfy\u00bb, care permit instalarea pachetelor necesare pentru satisfacerea dependen\u021belor specificate \u00een linia transmis\u0103 ca argument. De asemenea, este posibil s\u0103 se men\u021bioneze mai multe linii \u0219i s\u0103 se specifice blocuri \u00abConflicts:\u00bb pentru a exclude dependen\u021bele. De exemplu:\n<p>   apt-get satisfy \u00abfoo\u00bb \u00abConflicts: bar\u00bb \u00abbaz (&gt;&gt; 1.0) | bar (= 2.0), moo\u00bb<\/p>\n<li class=\"l\"> A fost ad\u0103ugat\u0103 posibilitatea de a face leg\u0103tura cu un pachet prin ad\u0103ugarea prefixului \u00absrc:\u00bb \u00eenainte de numele pachetului (<noindex><a rel=\"nofollow\" href=\"https:\/\/wiki.debian.org\/AptConfiguration?action=show&#038;redirect=AptPreferences\">pinning<\/a><\/noindex>, permite ad\u0103ugarea pachetelor din alte ramuri f\u0103r\u0103 a actualiza \u00eentreaga sistem, de exemplu, instalarea pachetelor din testing sau unstable \u00een stable). Pentru a fixa toate pachetele binare, compilate din pachetul surs\u0103 apt 2.0.0, se poate specifica:\n<p>    Package: src:apt<br \/>\n    Pin: version 2.0.0<br \/>\n    Pin-Priority: 990<\/p>\n<li class=\"l\"> \u00cen comanda apt a fost asigurat\u0103 a\u0219teptarea eliber\u0103rii bloc\u0103rii dpkg. \u00cen mod implicit, la lansarea din consol\u0103, a\u0219teptarea nu este limitat\u0103 \u00een timp, iar \u00een celelalte cazuri timeout-ul este de 120 de secunde.\n<li class=\"l\"> Dac\u0103 apt nu reu\u0219e\u0219te s\u0103 ob\u021bin\u0103 blocarea, acum eroarea este afi\u0219at\u0103 cu afi\u0219area numelui \u0219i pid-ului procesului care de\u021bine fi\u0219ierul lock.\n<\/li>\n<li class=\"l\"> Au fost ad\u0103ugate comenzile merge-translations \u0219i bump-abi.\n<li class=\"l\"> Pentru hashing-ul criptografic sunt utilizate implement\u0103rile MD5, SHA1 \u0219i SHA2 din biblioteca libgcrypt.\n<li class=\"l\"> A fost consolidat paralelismul \u00een execu\u021bia handler-elor <noindex><a rel=\"nofollow\" href=\"https:\/\/manpages.debian.org\/jessie\/apt-file\/diffindex-rred.1\">rred<\/a><\/noindex> \u0219i desf\u0103\u0219urarea \u00een timpul execut\u0103rii comenzii update.\n<li class=\"l\"> Conturile men\u021bionate \u00een fi\u0219ierul auth.conf sunt acum transmise doar atunci c\u00e2nd se face o solicitare prin HTTPS pentru a evita scurgerile \u00een cazul intercept\u0103rii unei conexiuni HTTP.\n<\/li>\n<li class=\"l\"> Cerin\u021ba pentru versiunea standard C++ a fost ridicat\u0103 la C++14.\n<\/li>\n<li class=\"l\"> \u00cen apt-helper a fost ad\u0103ugat suportul pentru specificarea mai multor hash-uri pentru un singur fi\u0219ier.\n<\/li>\n<li class=\"l\"> S-a realizat unirea bibliotecii libapt-inst cu libapt-pkg.\n<li class=\"l\"> Formatul cache-ului a fost modernizat, permi\u021b\u00e2nd acum ad\u0103ugarea de noi \u00eenregistr\u0103ri f\u0103r\u0103 a \u00eenc\u0103lca ABI. Puntele din cache sunt acum tipizate static \u0219i nu pot fi comparate cu numere \u00eentregi (cu excep\u021bia lui 0 prin nullptr).\n<\/li>\n<li class=\"l\"> S-a efectuat cur\u0103\u021barea flagurilor \u00eenvechite \u0219i s-a realizat unirea diferitelor prototipuri de func\u021bii. S-au eliminat implement\u0103rile proprii ale algoritmilor CRC16, MD5, SHA1 \u0219i SHA2.\n<\/li>\n<\/ul>\n<p><noindex><a rel=\"nofollow\" name=\"link\"><\/a><\/noindex><\/p>\n<p>Sursa: <a \ncontent=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=52503\">opennet.ro<\/a><\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u041f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043b\u0435\u043d \u0440\u0435\u043b\u0438\u0437 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f \u0434\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043f\u0430\u043a\u0435\u0442\u0430\u043c\u0438 APT 2.0 (Advanced Package Tool), \u0440\u0430\u0437\u0432\u0438\u0432\u0430\u0435\u043c\u043e\u0433\u043e \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u043c Debian. \u041a\u0440\u043e\u043c\u0435 Debian \u0438 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u043d\u044b\u0445 \u043e\u0442 \u043d\u0435\u0433\u043e \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432\u043e\u0432 APT \u0442\u0430\u043a\u0436\u0435 \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f \u0432 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432\u0430\u0445 \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u043f\u0430\u043a\u0435\u0442\u043d\u043e\u0433\u043e \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440\u0430 rpm, \u0442\u0430\u043a\u0438\u0445 \u043a\u0430\u043a PCLinuxOS \u0438 ALT Linux. \u041d\u043e\u0432\u0430\u044f \u0432\u0435\u0442\u043a\u0430 \u0432\u043e\u0431\u0440\u0430\u043b\u0430 \u0432 \u0441\u0435\u0431\u044f \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f, \u043d\u0430\u043a\u043e\u043f\u043b\u0435\u043d\u043d\u044b\u0435 \u0432 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0435 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u0430\u043b\u044c\u043d\u043e\u0439 \u0432\u0435\u0442\u043a\u0438 1.9.x. \u041d\u043e\u0432\u044b\u0439 \u0432\u044b\u043f\u0443\u0441\u043a \u0432 \u0431\u043b\u0438\u0436\u0430\u0439\u0448\u0435\u0435 [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[702],"tags":[],"class_list":["post-73258","post","type-post","status-publish","format-standard","hentry","category-news"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.2.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u041f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043b\u0435\u043d \u0440\u0435\u043b\u0438\u0437 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f \u0434\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043f\u0430\u043a\u0435\u0442\u0430\u043c\u0438\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/ro\/blog\/news\/vypusk-paketnogo-menedzhera-apt-2-0\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.2.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"ro_RO\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47\u0412\u044b\u043f\u0443\u0441\u043a \u043f\u0430\u043a\u0435\u0442\u043d\u043e\u0433\u043e \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440\u0430 APT 2.0 | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u041f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043b\u0435\u043d \u0440\u0435\u043b\u0438\u0437 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f \u0434\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043f\u0430\u043a\u0435\u0442\u0430\u043c\u0438\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/ro\/blog\/news\/vypusk-paketnogo-menedzhera-apt-2-0\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2020-03-08T11:42:07+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2020-03-08T11:42:07+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47Lansarea managerului de pachete APT 2.0 | ProHoster","description":"A fost preg\u0103tit\u0103 lansarea instrumentului de gestionare a pachetelor","canonical_url":"https:\/\/prohoster.info\/ro\/blog\/news\/vypusk-paketnogo-menedzhera-apt-2-0","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"ro_RO","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47\u0412\u044b\u043f\u0443\u0441\u043a \u043f\u0430\u043a\u0435\u0442\u043d\u043e\u0433\u043e \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440\u0430 APT 2.0 | ProHoster","og:description":"\u041f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043b\u0435\u043d \u0440\u0435\u043b\u0438\u0437 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f \u0434\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043f\u0430\u043a\u0435\u0442\u0430\u043c\u0438","og:url":"https:\/\/prohoster.info\/ro\/blog\/news\/vypusk-paketnogo-menedzhera-apt-2-0","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2020-03-08T11:42:07+00:00","article:modified_time":"2020-03-08T11:42:07+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"73258","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":null,"breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2021-02-28 18:36:23","updated":"2022-09-28 16:40:26","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/ro\/wp-json\/wp\/v2\/posts\/73258","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/ro\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/ro\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/ro\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/ro\/wp-json\/wp\/v2\/comments?post=73258"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/ro\/wp-json\/wp\/v2\/posts\/73258\/revisions"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/ro\/wp-json\/wp\/v2\/media?parent=73258"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/ro\/wp-json\/wp\/v2\/categories?post=73258"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/ro\/wp-json\/wp\/v2\/tags?post=73258"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}