Apt-get (Ubuntu): Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
(7 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
== Probleme == | == Probleme == | ||
=== Schlüssel ist im veralteten Schlüsselbund trusted.gpg gespeichert (/etc/apt/trusted.gpg), siehe den Abschnitt MISSBILLIGUNG in apt-key(8) für Details. === | |||
Alten Key löschen: | |||
<pre> | |||
sudo apt-key list | grep owncloud | |||
sudo apt-key del FD41A71A | |||
</pre> | |||
Key neu installieren: | |||
<pre> | |||
wget -nv https://download.owncloud.com/desktop/ownCloud/stable/latest/linux/Ubuntu_22.04/Release.key -O - > owncloud.key | |||
cat owncloud.key | gpg --dearmor > owncloud.gpg | |||
sudo install -o root -g root -m 644 owncloud.gpg /etc/apt/trusted.gpg.d/ | |||
</pre> | |||
==== Links ==== | |||
[https://techviewleo.com/apt-key-is-deprecated-manage-keyring-files-in-trusted-gpg-dot-d/ https://techviewleo.com/apt-key-is-deprecated-manage-keyring-files-in-trusted-gpg-dot-d/] | |||
=== The following packages have been kept back: === | |||
Wenn sich die Abhängigkeiten geändert habe und neue Pakete installiert werden müssen, dann ist die Option <code>--with-new-pkgs</code> notwendig: | |||
<pre> | |||
sudo apt-get --with-new-pkgs upgrade | |||
</pre> | |||
=== You might want to run 'apt-get -f install' to correct these. === | === You might want to run 'apt-get -f install' to correct these. === | ||
Zeile 7: | Zeile 36: | ||
sudo apt --fix-broken install | sudo apt --fix-broken install | ||
sudo apt-get -y upgrade | sudo apt-get -y upgrade | ||
</pre> | |||
=== The following signatures were invalid: EXPKEYSIG 23E7166788B63E1E Yarn Packaging <yarn@dan.cx> === | |||
<pre> | |||
sudo apt-key adv --refresh-keys --keyserver keyserver.ubuntu.com | |||
</pre> | </pre> | ||
Zurück zu [[Ubuntu#A (Client)|Ubuntu]] | Zurück zu [[Ubuntu#A (Client)|Ubuntu]] |
Aktuelle Version vom 8. Oktober 2022, 11:26 Uhr
Probleme
Schlüssel ist im veralteten Schlüsselbund trusted.gpg gespeichert (/etc/apt/trusted.gpg), siehe den Abschnitt MISSBILLIGUNG in apt-key(8) für Details.
Alten Key löschen:
sudo apt-key list | grep owncloud sudo apt-key del FD41A71A
Key neu installieren:
wget -nv https://download.owncloud.com/desktop/ownCloud/stable/latest/linux/Ubuntu_22.04/Release.key -O - > owncloud.key cat owncloud.key | gpg --dearmor > owncloud.gpg sudo install -o root -g root -m 644 owncloud.gpg /etc/apt/trusted.gpg.d/
Links
https://techviewleo.com/apt-key-is-deprecated-manage-keyring-files-in-trusted-gpg-dot-d/
The following packages have been kept back:
Wenn sich die Abhängigkeiten geändert habe und neue Pakete installiert werden müssen, dann ist die Option --with-new-pkgs
notwendig:
sudo apt-get --with-new-pkgs upgrade
You might want to run 'apt-get -f install' to correct these.
sudo apt update && sudo apt-get autoclean && sudo apt-get clean && sudo apt-get autoremove sudo apt --fix-broken install sudo apt-get -y upgrade
The following signatures were invalid: EXPKEYSIG 23E7166788B63E1E Yarn Packaging <yarn@dan.cx>
sudo apt-key adv --refresh-keys --keyserver keyserver.ubuntu.com
Zurück zu Ubuntu