{"id":5734,"date":"2020-10-27T17:30:19","date_gmt":"2020-10-27T16:30:19","guid":{"rendered":"https:\/\/axebase.net\/blog\/?p=5734"},"modified":"2020-11-13T20:21:42","modified_gmt":"2020-11-13T19:21:42","slug":"bash-append_path-command-not-found","status":"publish","type":"post","link":"https:\/\/axebase.net\/blog\/2020\/10\/27\/bash-append_path-command-not-found\/","title":{"rendered":"arch: &#8220;-bash: append_path: command not found&#8221;"},"content":{"rendered":"<p>\u00dcber ssh auf ein arch-basiertes System eingeloggt bringt folgende Ausgabe, ggf. auch mehrfach untereinander:<\/p>\n<pre lang=\"sh\" line=\"\">\r\n-bash: append_path: command not found\r\n<\/pre>\n<p>Check auf profile* in \/etc:<\/p>\n<pre lang=\"sh\" line=\"\">\r\n\/etc$ ls -la profile*\r\n-rw-r--r-- 1 root root  811 Aug  6  2018 profile\r\n-rw-r--r-- 1 root root 1020 Sep  3 00:30 profile.pacnew\r\n\r\nprofile.d:\r\n(...)\r\n<\/pre>\n<p>Bei einer Aktualisierung ist ein neues profile geschrieben, aber sicherheitshalber unter ver\u00e4ndertem Filename gespeichert worden. Dies sollte man vergleichen. Entscheidet man sich f\u00fcr die neue Konfiguration, ist profile zu l\u00f6schen (oder meinetwegen zu sichern) und dann profile.pacnew in profile umzubenennen:<\/p>\n<pre lang=\"sh\" line=\"\">\r\n\/etc$ sudo mv profile{,_old}\r\n\/etc$ sudo mv profile.pacnew profile\r\n<\/pre>\n<ul>\n<li><a href=\"https:\/\/wiki.archlinux.org\/index.php\/Pacman\/Pacnew_and_Pacsave\" rel=\"noopener noreferrer\" target=\"_blank\">https:\/\/wiki.archlinux.org\/index.php\/Pacman\/Pacnew_and_Pacsave<\/a><\/li>\n<li><a href=\"https:\/\/wiki.archlinux.org\/index.php\/bash#Invocation\" rel=\"noopener noreferrer\" target=\"_blank\">https:\/\/wiki.archlinux.org\/index.php\/bash#Invocation<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u00dcber ssh auf ein arch-basiertes System eingeloggt bringt folgende Ausgabe, ggf. auch mehrfach untereinander: -bash: append_path: command not found Check auf profile* in \/etc: \/etc$ ls -la profile* -rw-r&#8211;r&#8211; 1 root root 811 Aug 6 2018 profile -rw-r&#8211;r&#8211; 1 root root 1020 Sep 3 00:30 profile.pacnew profile.d: (&#8230;) Bei einer Aktualisierung ist ein neues profile [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","footnotes":""},"categories":[26,2,5],"tags":[],"class_list":["post-5734","post","type-post","status-publish","format-standard","hentry","category-arch_based","category-computer","category-linux"],"_links":{"self":[{"href":"https:\/\/axebase.net\/blog\/wp-json\/wp\/v2\/posts\/5734","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/axebase.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/axebase.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/axebase.net\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/axebase.net\/blog\/wp-json\/wp\/v2\/comments?post=5734"}],"version-history":[{"count":2,"href":"https:\/\/axebase.net\/blog\/wp-json\/wp\/v2\/posts\/5734\/revisions"}],"predecessor-version":[{"id":5761,"href":"https:\/\/axebase.net\/blog\/wp-json\/wp\/v2\/posts\/5734\/revisions\/5761"}],"wp:attachment":[{"href":"https:\/\/axebase.net\/blog\/wp-json\/wp\/v2\/media?parent=5734"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/axebase.net\/blog\/wp-json\/wp\/v2\/categories?post=5734"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/axebase.net\/blog\/wp-json\/wp\/v2\/tags?post=5734"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}