Neue pacnew mit dem letzten Update gekommen, was tun?

Ich habe eben ein Update gemacht und da wurde mir die folgende pacnew gemeldet. Was ist hierbei zu tun, bzw was ist sinnvoll, in die alte Datei zu übernehmen?

Check https://forum.endeavouros.com/t/warning-etc-shells-installed-as-etc-shells-pacnew/36888

I just removed the .pacnew file.

Edit: This solution is not correct, please follow below for joekamprad post.

1 Like

should be save to add newly added values from tha panew to your shells list. only not overwrite you local one as shells adding themself to that list and you do not want them to be removed.

Ich habe es jetzt so gemacht:

/bin/sh
/bin/bash
/bin/rbash
/usr/bin/sh
/usr/bin/bash
/usr/bin/git-shell

/usr/bin/rbash hätte ich wohl raus nehmen können, laut daltos Aussage:

schaden sollte es auch nicht ist ja schließlich mit dem filesystem Paket direkt von Achlinux gekommen.

Hm, I think I got it all wrong then.

Based on that link mentioned above, I understood that:
this is /usr/bin/rbash the same as /bin/rbash
this is /bin/sh the same as /usr/bin/sh
this is /bin/bash the same as /usr/bin/bash

/bin is a symlink to /usr/bin


/bin ist eine Verknüpfung zu /usr/bin

2 Likes

hmmm, thanks joekamprad, I’m now merging those files instead of removing .pacnew.

And those symlinks can cause problems with adding a new user via useradd (or via homectl create if using systemd-homed), which is why the full path has been added to /etc/shells.

See here:

Which resulted in the /etc/shells.pacnew file:

7 Likes

:vulcan_salute:

Now this thread is a good wiki … loving it!

3 Likes

Indeed :slight_smile:
Nice info @Stagger_Lee

Wie ist eigentlich der genaue Befehl, der hinter dem Button Pacdiff & meld in der Welcome-App steckt? Beim Klick auf selbigen reagiert jetzt nichts mehr. Möchte das lieber in der Konsole machen.

eos-pacdiff

wird wohl meld oder eos-bash-shared deinstalliert sein?

hm, eher nicht, denn gestern ging es ja noch. So habe ich ja dies shell.pacnew gefunden.

dann “renne” …
eos-pacdiff
im terminal wird Aufschluss geben

eos-bash-shared ist nach wie vor installiert, meld sowieso

und? funtioniert eos-pacdiff aus dem Terminal?

es scheint zumindest so. es gibt die Vorwarnung (habe ich mittlerweile abgestellt) und eine Ausgabe

eos-pacdiff: nothing to do.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.