You are not logged in.
Hi,
just ran pacman -Syua and it froze at some point extracting the packages.
After the reboot it only logs into the text console, spitting the errors.
Trying the update again brings error while loading shared libraries libcurl.so.4 too short (this message applies to other libs as well)
Moreover some of the execs are 0 bytes (ls, cat and so on)
Please suggest how to repair this from the archiso or any other way!!!
Last edited by aka1g (2013-12-25 10:59:08)
Offline
What is "-Syua"? pacman doesn't have an -a switch.
Chroot in an look at pacman's log; you will need to provide exact error messages for what went wrong.
Not an Installation issue, moving to NC...
Offline
Nothing interesting in the pacman.log - starting a full system upgrade the last line.
Then a few lines of ^@^@^@^@ symbols.
Can I do a pacstrap base and then do a reinstall of all the packages then? It seems that some of the essential files are zeroed out.
Offline
I'd be more concerned to try and work out what went wrong. Is there anything in the journal, or dmesg?
Offline
Nothing in the journal, last entry is sudo log of update.
Any other place to look at? Really need to get the OS back ![]()
Offline
Any suggestions please?
Offline
You haven't provided any information that could usefully help diagnose your issue. No logs, nothing but something about "spitting errors", but no actual error messages or any other diagnostics.
You say there is "nothing interesting" in pacman's log, but that is clearly the most obvious place for any relevant information related to a failed update.
You also haven't answered my question about "pacman -Syua".
Please read How To Ask Questions The Smart Way before you post again.
Offline
I have described the nature of the problem: the libraries and execs are 0 bytes. Therefore I can't use the system.
There is NOTHING of interest in the logs, I have described that as well. I don't want to waste time on retyping their contents, but pacman log and journal do not contain any information besides what I've provided.
This happened after the update froze and I reset the PC.
Lets assume there was a hdd failure caused by the reset. Now I need to reinstall the packages.
I have booted from the arch install, trying the pacstrap -i /mnt base
It says a lot of warning: xxxx is up to date - --reinstalling
then error: could not open /mnt/var/<path>libreoffice-smth No such file (ok, again lost data)
then looking for inter-conflicts
error:
gcc: requires gcc-libs=4.8.2-6
then it quits
Pleas help to proceed with this or suggest another solution
Offline
Ok, installed pacman and gcc into the target via pacstrap.
This solved the gcc req-t issue.
Now trying to install base - getting a lot of
checking for file conflicts:
coreutils: /mnt/usr/bin/[ exists in filesystem
.....
errors occured, no packages were upgraded.
Ideas? Why does it quits on conflicts - shouldn't it reinstall?
Offline
Ok, edited the pacstrap to add the --force option.
Now how can I reinstall all the packages in the system (some are yaourt-ed)
Offline
Got it fixed.
For anyone who ever needs to fix the system after a weird crash.
Reinstalled the packages: ran pacman -Qeq to get a list of all the installed.
Manually removed the aur -ones.
Ran pacman -S --force --noconfirm `cat packagelist.txt`
Offline