You are not logged in.
After trying a system update, I was getting a error saying that some files already existed on my filesystem. This error came from ncurses. So I decided to uninstall it, and reinstall it.
I remove it doing -Rdd
But now my system is broken. If I try to go to root, for example, it gives
bash: error while loading shared libraries: libncursesw.so.6: cannot open shared object file: No such file or directory
If I try to reinstall it using sudo I get something like
[group@sparkling ~]$ sudo pacman -S ncurses
resolving dependencies...
looking for conflicting packages...
Packages (1) ncurses-6.0+20170902-2
Total Installed Size: 3.47 MiB
:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring [#####################################################] 100%
error: GPGME error: Invalid crypto engine
(1/1) checking package integrity [#####################################################] 100%
error: GPGME error: Invalid crypto engine
error: ncurses: missing required signature
:: File /var/cache/pacman/pkg/ncurses-6.0+20170902-2-x86_64.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
error: failed to commit transaction (invalid or corrupted package (PGP signature))
Errors occurred, no packages were upgraded.I dont want to boot the computer because I am afraid it won't work again.
Is there any way to fix this?
Last edited by joanmanel (2017-10-31 16:17:35)
Offline
Define "Try to go to root". Did you log in as root? Or did you, while logged in as a normal user, use the su command? If not the later, try that now.
When it gave you the opportunity do delete ncurses from your cache, please tell me you said "no"
Last edited by ewaller (2017-10-30 15:25:53)
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
libgcrypt depends on ncurses ... EVERYTHING DEPENDS ON NCURSES! (Ok, "virtually" ;-)
You'll likely have to fix the system offline: https://wiki.archlinux.org/index.php/Pa … an_upgrade (install ncurses from the installation medium)
Offline
seth, I was thinking they might be able to use LocalFileSigLevel = Optional iff they had not deleted the cached version.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
sudo depends on libgcrypt - idk, but nuking ncurses is usually close to "game over" (also xz depends on ncurses ...)
Offline
...also xz depends on ncurses ...
That I did not know. Yeah, Tilt -- game over.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
libgcrypt depends on ncurses ... EVERYTHING DEPENDS ON NCURSES! (Ok, "virtually" ;-)
You'll likely have to fix the system offline: https://wiki.archlinux.org/index.php/Pa … an_upgrade (install ncurses from the installation medium)
So I went through your link, and I was able to update the system with
pacman --root=/mnt --cachedir=/mnt/var/cache/pacman/pkg -Syyuand then using a similar command I installed ncurses.
When I run the other command they say:
find /mnt/usr/lib -size 0I actually got a lot of stuff going out, more than 5000 lines.
Anyway, I rebooted the system, and everything seems to be OK, it gives me green OKs during boot, but it doesnt go into GDM, it gets stuck in "[OK] Started accounts service", and doesnt go through that.
Stuff like "[OK] Started authorization manager" "Reached graphical Interface" "started gnome display manager" .... all these are also OK.
Offline
Empty files are expectable notably if you've linux-headers installed. (Also the check is not necessary. You did not face a corrupted update, but deliberately removed some crucial files)
About GDM: https://bbs.archlinux.org/viewtopic.php?id=231381 ?
Offline
Empty files are expectable notably if you've linux-headers installed. (Also the check is not necessary. You did not face a corrupted update, but deliberately removed some crucial files)
About GDM: https://bbs.archlinux.org/viewtopic.php?id=231381 ?
now it works, thanks
Offline