Nach Systemupdate startet System nicht mehr

Wenn ich Manjaro starten will, erscheinen nur noch Fehlermeldungen:
Failed to mount Kernel Trace File System
Failed to mount Temporary Directory /tmp
Failed to start Load AppArmor profiles

Ich glaube, ich habe den Fehler gemacht, den Rechner nach dem Neustart zu früh auszuschalten.
Gibt es eine Möglichkeit, wie ich das beheben kann? Bin leider ein absoluter Laie.

Hallo @timint :wink:

Bei einem unterbrochenen Update einmal hier lesen:

Übersetzer sollte helfen, wenn Englisch nicht deine Stärke ist.

Bei spezifischen Fragen zum Prozess einfach schreiben.

1 Like

Das probiere ich gleich mal aus.
Wo kann ich sehen, ob ich “ext4” oder “btrfs” habe?

[quote=“[HowTo] Recovering from an interrupted update/upgrade, post:1, topic:132762”]
whether you have ext4 or btrfs.
[/quote]

lsblk --fs
# oder
sudo blkid

Danke, das stand ja auch schon in dem Beitrag, ich hatte es übersehen. Ich habe ext4.
Ich bin jetzt an dem Punkt, wo ich mit 0 das ManjaroLinux system auswählen kann.
Er gibt dann aus:
==> Mounting (ManjaroLinux) [/dev/sda1]
→ mount: [/mnt]
Was muss ich als nächstes eingeben?

Nein, das stand nicht drin. Ich habe es kürzlich ergänzt.

Weiterlesen… :

After chrooting…

Wenn ich die Befehle ab der Stelle eingebe, passiert leider nichts.

Gut, wie gibst du die Befehle ein? Drückst du auch ENTER?

Ja, habe ich.

Wenn “nichts” passiert, dann gehe ich davon aus, dass es ein Benutzerfehler ist. Dann erkläre doch mal Schritt für Schritt was du gemacht hast.

Am Besten die Terminal-Ausgabe Kopieren und hier Einfügen als Code Block grafik.

Auswahl ManjaroLinux mit 0, das klappt.
Dann kommt als Ausgabe:
==> Mounting (ManjaroLinux) [/dev/sda1]
→ mount: [/mnt]
Ab [ -f /var/lib… gibt er immer nur den prompt wieder

Hast du den ganzen Text (Befehle) da einfach eingefügt, oder Zeile für Zeile?

Ich habe erst versucht, nur die erste eckige Klammer einzugeben, dann kam nur der Prompt.
Dann habe ich alles in einer Zeile eingegeben (und Enter), dann kommt auch nur der Prompt

Nicht nur ein Laie, sondern auch keine Ahnung wie man ein Terminal bedient. Nicht böse gemeint, aber ich wunder mich warum du Manjaro installiert hast bzw. in Betracht gezogen hast. Ubuntu und Co. wäre doch besser für dich?

Das war eine rhetorische Frage. Natürlich sollte es Zeile für Zeile kopiert und eingefügt werden.

Die erste Zeile (die Kommandos in der ersten Zeile) bedeuten:
schau nach ob eine Sperrdatei existiert - und entferne sie, wenn eine da ist

Da ist keine Ausgabe zu erwarten.

Die nächsten Kommandos würden aber nicht funktionieren, wenn diese Sperrdatei da wäre.

Aber dann, nach:

pacman-mirrors -f
und
pacman -Syyu

ist hingegen schon eine längere Ausgabe zu erwarten.
und darum gehts

und nach der dritten Zeile auch

2 Likes

Ok, danke.
Nach der Eingabe pacman -Syyu kommt eine Ausgabe.
Es wird ein conflicting package gefunden:
gpgme-1.23.2-4
Wenn ich mit proceed with installation fortfahre, kommen Fehlermeldungen

Davor kam noch ein anderes Kommando - lief das ohne Fehler durch?
pacman-mirrors -f

Da Du ja selbst damit anscheinend nichts anfangen kannst, wirst Du uns wohl sagen müssen welche …

Copy/paste und dann als “Preformatted Text” → dieses Symbol: </>
hier einfügen.

Ich bin sicher, daß zu den Fehlern hier schon -zig Beiträge existieren, Du könntest also auch danach suchen.
Was anderes würde zumindest ich auch nicht machen - hab auch nicht alles im Kopf.

1 Like

Hier die Ausgabe:

    ~  sudo su -                                                                                                                            ✔ 
[manjaro ~]# manjaro-chroot -a
grub-probe: error: cannot find a GRUB drive for /dev/sdb1.  Check your device.map.
grub-probe: error: cannot find a GRUB drive for /dev/sdb1.  Check your device.map.
==> Mounting (ManjaroLinux) [/dev/sda1]
 --> mount: [/mnt]
[manjaro /]# pacman-mirrors -f
::INFO Downloading mirrors from Manjaro
::INFO => Mirror pool: https://repo.manjaro.org/mirrors.json
::INFO => Mirror status: https://repo.manjaro.org/status.json
::INFO Using default mirror file
::INFO Querying mirrors - This may take some time
  0.809 United_States  : https://mirror.math.princeton.edu/pub/manjaro/
  2.071 Brazil         : https://mirror.ufam.edu.br/manjaro/
  0.364 Netherlands    : https://mirror.koddos.net/manjaro/
  0.184 Global         : https://mirrors2.manjaro.org/
  0.927 United_States  : https://repo.ialab.dsu.edu/manjaro/
  1.958 New_Zealand    : https://mirror.2degrees.nz/manjaro/
  0.256 Netherlands    : https://ftp.nluug.nl/pub/os/Linux/distr/manjaro/
  ..... Germany        : https://mirror.alpix.eu/manjaro/
  0.159 Global         : https://mirrors.manjaro.org/repo/
  0.224 Austria        : https://mirror.easyname.at/manjaro/
::INFO Writing mirror list
::Global          : https://mirrors.manjaro.org/repo/stable
::Global          : https://mirrors2.manjaro.org/stable
::Austria         : https://mirror.easyname.at/manjaro/stable
::Netherlands     : https://ftp.nluug.nl/pub/os/Linux/distr/manjaro/stable
::Netherlands     : https://mirror.koddos.net/manjaro/stable
::United_States   : https://mirror.math.princeton.edu/pub/manjaro/stable
::United_States   : https://repo.ialab.dsu.edu/manjaro/stable
::New_Zealand     : https://mirror.2degrees.nz/manjaro/stable
::Brazil          : https://mirror.ufam.edu.br/manjaro/stable
::Germany         : https://mirror.alpix.eu/manjaro/stable
::INFO Mirror list generated and saved to: /etc/pacman.d/mirrorlist
[manjaro /]# pacman -Syyu
:: Synchronizing package databases...
 core                                                        140.9 KiB   753 KiB/s 00:00 [####################################################] 100%
 extra                                                         8.4 MiB  5.59 MiB/s 00:02 [####################################################] 100%
 community                                                    29.0   B  1450   B/s 00:00 [####################################################] 100%
 multilib                                                    145.4 KiB  3.30 MiB/s 00:00 [####################################################] 100%
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Packages (2) gpgme-1.23.2-4  openssh-9.8p1-1

Total Download Size:   1.12 MiB
Total Installed Size:  7.18 MiB
Net Upgrade Size:      0.39 MiB

:: Proceed with installation? [Y/n] Y
:: Retrieving packages...
 openssh-9.8p1-1-x86_64                                     1151.4 KiB  3.15 MiB/s 00:00 [####################################################] 100%
(2/2) checking keys in keyring                                                           [####################################################] 100%
(2/2) checking package integrity                                                         [####################################################] 100%
(2/2) loading package files                                                              [####################################################] 100%
(2/2) checking for file conflicts                                                        [####################################################] 100%
error: failed to commit transaction (conflicting files)
gpgme: /usr/include/QGpgME/AbstractImportJob exists in filesystem (owned by qgpgme)
gpgme: /usr/include/QGpgME/AddExistingSubkeyJob exists in filesystem (owned by qgpgme)
gpgme: /usr/include/QGpgME/AddUserIDJob exists in filesystem (owned by qgpgme)
gpgme: /usr/include/QGpgME/ChangeExpiryJob exists in filesystem (owned by qgpgme)
gpgme: /usr/include/QGpgME/ChangeOwnerTrustJob exists in filesystem (owned by qgpgme)
gpgme: /usr/include/QGpgME/ChangePasswdJob exists in filesystem (owned by qgpgme)
gpgme: /usr/include/QGpgME/CryptoConfig exists in filesystem (owned by qgpgme)
gpgme: /usr/include/QGpgME/DN exists in filesystem (owned by qgpgme)
gpgme: /usr/include/QGpgME/DataProvider exists in filesystem (owned by qgpgme)
gpgme: /usr/include/QGpgME/Debug exists in filesystem (owned by qgpgme)
gpgme: /usr/include/QGpgME/DecryptJob exists in filesystem (owned by qgpgme)
gpgme: /usr/include/QGpgME/DecryptVerifyArchiveJob exists in filesystem (owned by qgpgme)
gpgme: /usr/include/QGpgME/DecryptVerifyJob exists in filesystem (owned by qgpgme)
gpgme: /usr/include/QGpgME/DefaultKeyGenerationJob exists in filesystem (owned by qgpgme)
gpgme: /usr/include/QGpgME/DeleteJob exists in filesystem (owned by qgpgme)
gpgme: /usr/include/QGpgME/DownloadJob exists in filesystem (owned by qgpgme)
gpgme: /usr/include/QGpgME/EncryptArchiveJob exists in filesystem (owned by qgpgme)
gpgme: /usr/include/QGpgME/EncryptJob exists in filesystem (owned by qgpgme)
gpgme: /usr/include/QGpgME/ExportJob exists in filesystem (owned by qgpgme)
gpgme: /usr/include/QGpgME/FileListDataProvider exists in filesystem (owned by qgpgme)
gpgme: /usr/include/QGpgME/GpgCardJob exists in filesystem (owned by qgpgme)
gpgme: /usr/include/QGpgME/HierarchicalKeyKistJob exists in filesystem (owned by qgpgme)
gpgme: /usr/include/QGpgME/ImportFromKeyserverJob exists in filesystem (owned by qgpgme)
gpgme: /usr/include/QGpgME/ImportJob exists in filesystem (owned by qgpgme)
gpgme: /usr/include/QGpgME/Job exists in filesystem (owned by qgpgme)
gpgme: /usr/include/QGpgME/KeyForMailboxJob exists in filesystem (owned by qgpgme)
gpgme: /usr/include/QGpgME/KeyGenerationJob exists in filesystem (owned by qgpgme)
gpgme: /usr/include/QGpgME/KeyListJob exists in filesystem (owned by qgpgme)
gpgme: /usr/include/QGpgME/ListAllKeysJob exists in filesystem (owned by qgpgme)
gpgme: /usr/include/QGpgME/MultiDeleteJob exists in filesystem (owned by qgpgme)
gpgme: /usr/include/QGpgME/Protocol exists in filesystem (owned by qgpgme)
gpgme: /usr/include/QGpgME/QGpgMENewCryptoConfig exists in filesystem (owned by qgpgme)
gpgme: /usr/include/QGpgME/QuickJob exists in filesystem (owned by qgpgme)
gpgme: /usr/include/QGpgME/ReceiveKeysJob exists in filesystem (owned by qgpgme)
gpgme: /usr/include/QGpgME/RefreshKeysJob exists in filesystem (owned by qgpgme)
gpgme: /usr/include/QGpgME/RevokeKeyJob exists in filesystem (owned by qgpgme)
gpgme: /usr/include/QGpgME/SetPrimaryUserIDJob exists in filesystem (owned by qgpgme)
gpgme: /usr/include/QGpgME/SignArchiveJob exists in filesystem (owned by qgpgme)
gpgme: /usr/include/QGpgME/SignEncryptArchiveJob exists in filesystem (owned by qgpgme)
gpgme: /usr/include/QGpgME/SignEncryptJob exists in filesystem (owned by qgpgme)
gpgme: /usr/include/QGpgME/SignJob exists in filesystem (owned by qgpgme)
gpgme: /usr/include/QGpgME/SignKeyJob exists in filesystem (owned by qgpgme)
gpgme: /usr/include/QGpgME/SpecialJob exists in filesystem (owned by qgpgme)
gpgme: /usr/include/QGpgME/TofuPolicyJob exists in filesystem (owned by qgpgme)
gpgme: /usr/include/QGpgME/VerifyDetachedJob exists in filesystem (owned by qgpgme)
gpgme: /usr/include/QGpgME/VerifyOpaqueJob exists in filesystem (owned by qgpgme)
gpgme: /usr/include/QGpgME/WKDLookupJob exists in filesystem (owned by qgpgme)
gpgme: /usr/include/QGpgME/WKDLookupResult exists in filesystem (owned by qgpgme)
gpgme: /usr/include/QGpgME/WKSPublishJob exists in filesystem (owned by qgpgme)
gpgme: /usr/include/qgpgme/abstractimportjob.h exists in filesystem (owned by qgpgme)
gpgme: /usr/include/qgpgme/addexistingsubkeyjob.h exists in filesystem (owned by qgpgme)
gpgme: /usr/include/qgpgme/adduseridjob.h exists in filesystem (owned by qgpgme)
gpgme: /usr/include/qgpgme/changeexpiryjob.h exists in filesystem (owned by qgpgme)
gpgme: /usr/include/qgpgme/changeownertrustjob.h exists in filesystem (owned by qgpgme)
gpgme: /usr/include/qgpgme/changepasswdjob.h exists in filesystem (owned by qgpgme)
gpgme: /usr/include/qgpgme/cryptoconfig.h exists in filesystem (owned by qgpgme)
gpgme: /usr/include/qgpgme/dataprovider.h exists in filesystem (owned by qgpgme)
gpgme: /usr/include/qgpgme/debug.h exists in filesystem (owned by qgpgme)
gpgme: /usr/include/qgpgme/decryptjob.h exists in filesystem (owned by qgpgme)
gpgme: /usr/include/qgpgme/decryptverifyarchivejob.h exists in filesystem (owned by qgpgme)
gpgme: /usr/include/qgpgme/decryptverifyjob.h exists in filesystem (owned by qgpgme)
gpgme: /usr/include/qgpgme/defaultkeygenerationjob.h exists in filesystem (owned by qgpgme)
gpgme: /usr/include/qgpgme/deletejob.h exists in filesystem (owned by qgpgme)
gpgme: /usr/include/qgpgme/dn.h exists in filesystem (owned by qgpgme)
gpgme: /usr/include/qgpgme/downloadjob.h exists in filesystem (owned by qgpgme)
gpgme: /usr/include/qgpgme/encryptarchivejob.h exists in filesystem (owned by qgpgme)
gpgme: /usr/include/qgpgme/encryptjob.h exists in filesystem (owned by qgpgme)
gpgme: /usr/include/qgpgme/exportjob.h exists in filesystem (owned by qgpgme)
gpgme: /usr/include/qgpgme/filelistdataprovider.h exists in filesystem (owned by qgpgme)
gpgme: /usr/include/qgpgme/gpgcardjob.h exists in filesystem (owned by qgpgme)
gpgme: /usr/include/qgpgme/hierarchicalkeylistjob.h exists in filesystem (owned by qgpgme)
gpgme: /usr/include/qgpgme/importfromkeyserverjob.h exists in filesystem (owned by qgpgme)
gpgme: /usr/include/qgpgme/importjob.h exists in filesystem (owned by qgpgme)
gpgme: /usr/include/qgpgme/job.h exists in filesystem (owned by qgpgme)
gpgme: /usr/include/qgpgme/keyformailboxjob.h exists in filesystem (owned by qgpgme)
gpgme: /usr/include/qgpgme/keygenerationjob.h exists in filesystem (owned by qgpgme)
gpgme: /usr/include/qgpgme/keylistjob.h exists in filesystem (owned by qgpgme)
gpgme: /usr/include/qgpgme/listallkeysjob.h exists in filesystem (owned by qgpgme)
gpgme: /usr/include/qgpgme/multideletejob.h exists in filesystem (owned by qgpgme)
gpgme: /usr/include/qgpgme/protocol.h exists in filesystem (owned by qgpgme)
gpgme: /usr/include/qgpgme/qgpgme_export.h exists in filesystem (owned by qgpgme)
gpgme: /usr/include/qgpgme/qgpgme_version.h exists in filesystem (owned by qgpgme)
gpgme: /usr/include/qgpgme/qgpgmenewcryptoconfig.h exists in filesystem (owned by qgpgme)
gpgme: /usr/include/qgpgme/quickjob.h exists in filesystem (owned by qgpgme)
gpgme: /usr/include/qgpgme/receivekeysjob.h exists in filesystem (owned by qgpgme)
gpgme: /usr/include/qgpgme/refreshkeysjob.h exists in filesystem (owned by qgpgme)
gpgme: /usr/include/qgpgme/revokekeyjob.h exists in filesystem (owned by qgpgme)
gpgme: /usr/include/qgpgme/setprimaryuseridjob.h exists in filesystem (owned by qgpgme)
gpgme: /usr/include/qgpgme/signarchivejob.h exists in filesystem (owned by qgpgme)
gpgme: /usr/include/qgpgme/signencryptarchivejob.h exists in filesystem (owned by qgpgme)
gpgme: /usr/include/qgpgme/signencryptjob.h exists in filesystem (owned by qgpgme)
gpgme: /usr/include/qgpgme/signjob.h exists in filesystem (owned by qgpgme)
gpgme: /usr/include/qgpgme/signkeyjob.h exists in filesystem (owned by qgpgme)
gpgme: /usr/include/qgpgme/specialjob.h exists in filesystem (owned by qgpgme)
gpgme: /usr/include/qgpgme/tofupolicyjob.h exists in filesystem (owned by qgpgme)
gpgme: /usr/include/qgpgme/verifydetachedjob.h exists in filesystem (owned by qgpgme)
gpgme: /usr/include/qgpgme/verifyopaquejob.h exists in filesystem (owned by qgpgme)
gpgme: /usr/include/qgpgme/wkdlookupjob.h exists in filesystem (owned by qgpgme)
gpgme: /usr/include/qgpgme/wkdlookupresult.h exists in filesystem (owned by qgpgme)
gpgme: /usr/include/qgpgme/wkspublishjob.h exists in filesystem (owned by qgpgme)
Errors occurred, no packages were upgraded.
[manjaro /]# 

Ich bin für Hilfe dankbar, sorry wenn es etwas gedauert hat.

Einfach überschreiben. An der Stelle hast du das Update abgebrochen.

pacman -Syu --overwrite "/usr/include/*"

Hab ich probiert:

warning: '/usr/include/zstd_errors.h' is a file, did you mean -U/--upgrade instead of -S/--sync?
error: target not found: /usr/include/zzip
warning: '/usr/include/zzip' is a file, did you mean -U/--upgrade instead of -S/--sync?
error: target not found: /usr/include/zzip-io.h
warning: '/usr/include/zzip-io.h' is a file, did you mean -U/--upgrade instead of -S/--sync?
error: target not found: /usr/include/zzip.h
warning: '/usr/include/zzip.h' is a file, did you mean -U/--upgrade instead of -S/--sync?
error: target not found: /usr/include/zziplib.h
warning: '/usr/include/zziplib.h' is a file, did you mean -U/--upgrade instead of -S/--sync?
[manjaro /]# update-grub
bash: update-grub: command not found
[manjaro /]# 

Jetzt stehe ich wieder auf dem Schlauch