You are not logged in.
Pages: 1
Hello all,
I had an installation of arch on my laptop. Yesterday, a large pacman update came to apper. Apper crashed and I tried to redo this but it this didn't failed.
I tried then in a terminal session:
pacman -Syyu
This failed that it could not find core.db (and all other databases) on the mirrors i had selected.
As in windows, if something fails restart you computer :-( . But that was a bad decision the laptop appeared that it booted but it never came to the KDE prompt.
Boohoo. How can I get it in my laptop and fix this?
I never had this sort of situation.
What I do not want is a complete new installation because of the customization I've done.
Regards,
Theo
Offline
Is your network up?
Word to the wise: Linux != Windows -- don't blindly restart or you may be booting from your live media to chroot in and figure out what got borked.
Offline
You have not provided any useful information. We need to know what error messages you received.
If you want to recover the system, you will need to boot with a live CD and mount the partitions yourself, then check the log files to determine which errors occurred and fix them. Look at the output of /var/log/pacman.log.
You should also read this: https://bbs.archlinux.org/viewtopic.php?id=57205
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
Boot to the CLI if you just don't get as far as KDM or whatever. Append systemd.unit=multi-user.target to your kernel command line.
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
I wasn't paying attention while updating with apper. The whole thing was my fault.
I think the network is up I can ping to the laptop but it refuses an ssh connection.
That is may be because a firewall misconfiguration or something else.
I will mount the partitions with the live cd. That is the easiest I think and the safest.
I will report back tommorow late with the results of the logfile.
I do not know what is meant by "boot to the CLI", how do you do that?
Thanks in advance.
Tommorow more.
Last edited by theokvdm (2013-04-07 21:21:45)
Offline
I do not know what is meant by "boot to the CLI", how do you do that?
How did you install Arch in the first place. What CD/ISO did you use?
Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.
Offline
I do not know what is meant by "boot to the CLI",
You said you could not get to the KDE prompt. I assume you mean that KDM isn't starting. So don't boot to the graphical display manager - boot to the command line. That way, KDM won't try to start and you'll get a regular command line session.
how do you do that?
Append systemd.unit=multi-user.target to your kernel command line.
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
I found out what the problem is.
While downloading all the packages it filled up my /var file system to 100% 8gig.
The whole file system is filled with old & new packages. But KDE also uses /var for the operation and crashes.
But I don't know for sure what the definite diskspace solution is.
Is this:
pacman -Sc
?
Or something smarter than this?
Last edited by theokvdm (2013-04-08 21:07:54)
Offline
If you don't need the installed packages cached as well, use -Scc. But for a "definite diskspace solution" you should proably ensure there is enough space on /, e.g. pacgraph can help to find packages to prune out (in case you have packages installed you don't really use anymore), the pacman cache folder can be changed in pacman.conf or you could resize /. Also have a look at your log folder - systemd's journal spammed my root partition badly with its default settings (10% of partition size).
Offline
You could have a separate partition for /var/cache/pacman/pkg
I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.
Offline
File system /var was 100% in use
after:
pacman -Sc
File system /var is 32% in use
I think a crontab (or something) job to do once in 3 months a pacman -Sc.
Does this sounds reasonable?
Offline
File system /var was 100% in use
after:
pacman -Sc
File system /var is 32% in use
I think a crontab (or something) job to do once in 3 months a pacman -Sc.
Does this sounds reasonable?
I don't know that you can trust a definite timeline.
Packages get bigger and smaller and sometimes two or three times.
I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.
Offline
Pacman checks for insufficent disk space, AFAIK this shouldn't really happen anymore?
Offline
Use e.g. paccache so that you can keep some old packages in order to downgrade easily if necessary.
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
I have no idea (yet) how paccache works and what it does because the wikki sends met to the pacman page. There is no internet documentation about it. I will give paccache a try.
Maybe it is a good idea to extend pacman with a feature that it retains X number of previous versions on your local cache dir and deletes the older ones.
Now, if you have endless supply of diskspace you can have go back to the early beginnings of arch linux. Which makes no sense to me.
It is great that pacman checks for enough diskspace but now the problem is that you can not update to a newer release because your disk can not contain the update.
This is less serious, but can be a problem if you don't get why pacman refuses to update. I used apper to update and it told me nothing only that pacman crapped out.
Offline
I have no idea (yet) how paccache works and what it does
Run paccache -h
Maybe it is a good idea to extend pacman with a feature that it retains X number of previous versions on your local cache dir and deletes the older ones.
Now, if you have endless supply of diskspace you can have go back to the early beginnings of arch linux.
Assuming paccache does not do that (I cannot check currently), there are alternatives:
https://bbs.archlinux.org/viewtopic.php?id=122182
https://wiki.archlinux.org/index.php/CacheClean
Offline
That is what paccache does.
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
Pages: 1