{"id":2874,"date":"2024-03-31T12:20:12","date_gmt":"2024-03-31T10:20:12","guid":{"rendered":"https:\/\/www.final-memory.org\/?p=2874"},"modified":"2024-03-31T12:20:12","modified_gmt":"2024-03-31T10:20:12","slug":"updateproblem-bei-samba-common-und-ubuntu-22-04lts","status":"publish","type":"post","link":"https:\/\/www.final-memory.org\/?p=2874","title":{"rendered":"Updateproblem bei samba-common und Ubuntu 22.04LTS"},"content":{"rendered":"<p>Eben gab es bei Instalaltion der Updatepakete f\u00fcr samba-common ein Problem beim post-installation Schritt.<\/p>\n<p>Da ich Samba lokal nur als Client benutze, sind mir die Configfiles relativ egal. Ich habe daher geschaut, ob man das Skript aushebeln kann.<\/p>\n<p>Und siehe da, es geht wie folgt:<\/p>\n<ol>\n<li>betroffenes .deb Paket unter \/var\/cache\/apt\/archives herausfinden<\/li>\n<li>mit sudo root werden, damit die Dateirechte im Paket intakt bleiben<\/li>\n<li>mkdir tmp<\/li>\n<li>dpkg-deb -R original.deb tmp\u00a0 # Paket entpacken<\/li>\n<li>Datei tmp\/DEBIAN\/postinst bearbeiten # ich habe sie stark verk\u00fcrzt<\/li>\n<li>dpkg-deb -b tmp fixed.deb # Paket wieder einpacken<\/li>\n<\/ol>\n<p>Danach konnte man das Paket ohne das Post-install Skript mit dpkg &#8211;force-all -i fixed.deb installieren und den Upgradeprozess erneut anstossen.<\/p>\n<p>Da es eigentlich nur um Patchlevel geht, sollte zumindest hier im Fall Samba alles passen. Ich werde es beobachten.<\/p>\n<p>Im Sommer kommt dann sowieso das Upgrade auf 24.04LTS, die jetzt demn\u00e4chst freigegeben werden sollte.<\/p>\n<div id=\"facebook_like\"><iframe src=\"http:\/\/www.facebook.com\/plugins\/like.php?href=https%3A%2F%2Fwww.final-memory.org%2F%3Fp%3D2874&amp;layout=standard&amp;show_faces=true&amp;width=500&amp;action=like&amp;font=segoe+ui&amp;colorscheme=light&amp;height=80\" scrolling=\"no\" frameborder=\"0\" style=\"border:none; overflow:hidden; width:500px; height:80px;\" allowTransparency=\"true\"><\/iframe><\/div>","protected":false},"excerpt":{"rendered":"<p>Eben gab es bei Instalaltion der Updatepakete f\u00fcr samba-common ein Problem beim post-installation Schritt. Da ich Samba lokal nur als Client benutze, sind mir die Configfiles relativ egal. Ich habe daher geschaut, ob man das Skript aushebeln kann. Und siehe da, es geht wie folgt: betroffenes .deb Paket unter \/var\/cache\/apt\/archives herausfinden mit sudo root werden, &hellip; <a href=\"https:\/\/www.final-memory.org\/?p=2874\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Updateproblem bei samba-common und Ubuntu 22.04LTS&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[24],"tags":[],"class_list":["post-2874","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/www.final-memory.org\/index.php?rest_route=\/wp\/v2\/posts\/2874","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.final-memory.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.final-memory.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.final-memory.org\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.final-memory.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2874"}],"version-history":[{"count":1,"href":"https:\/\/www.final-memory.org\/index.php?rest_route=\/wp\/v2\/posts\/2874\/revisions"}],"predecessor-version":[{"id":2875,"href":"https:\/\/www.final-memory.org\/index.php?rest_route=\/wp\/v2\/posts\/2874\/revisions\/2875"}],"wp:attachment":[{"href":"https:\/\/www.final-memory.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2874"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.final-memory.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2874"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.final-memory.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2874"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}