I wiped /var/lib
Fun fact, you can't remove :
/var/lib/pacman/cache
Without having problems with pacman. I tried to repair it from a live usb but I can't find a way to do it.
I just bought a new sdd of 1T since nix (in arch) and games (in windows) takes a lot of space. When the new sdd arrive I was planning to use mi old ssd for Windows and the new one exclusive for linux, so I was in need to do a fresh install anyway.
So, Some recommendations to add to my configs/system? I had my process of fresh installs quite pulished over the years, but maybe (most probably thing) some of you would have nice recommendations that I have been missing.
About my system:
I have the following partitions:
- Uefi of 1G
- Windows rest of 1T disk
- / 40G
- /var 40G (docker got most my space here, that was what i was trying to remove).
- /home 100G
- /nix 280G
And I plan to update like :
- Windows in a 1T disk
- Uefi 1G
- / 40G
- /var 200G
- / home 200G
- / nix 559 G
Other things :
- WM : sway
- gpu: nvidia 1050 ti with open source drivers (hopefully my new ssd comes with my new rx 6600 :) )
- cpu : intel i5 11400f
- terminal : kitty with zsh with vim mode and without oh-myzsh.
- Browsers: Firefox and Chromium (one for me other for work).
- file manager : thunar
- keychain for ssh and gpg
- pipewire
- As logger i have been using the gnome one since lightdm refuses to work nice with sway.
- I use neovim with lsp pluging that has a quite complex configuration for all my configs (las time I change my system i didn't have time config my lsps).
things i would like to add this time :
- a widget/waybar thing that connect to harvest to show if I had it runing and maybe pause/start it.
- a widget/waybar thing that show cripto rates.
- a user udev rule that display a sound whenerver a usb is connected to mi pc (I had already this in a old config, but it didn't work in my last one)
- Sound in the logging screen and after logging.
- Splash screen after grub (I never got Plymouth to work in arch).
- A tool to show over the windows (ie a pop up with transparency) the pipewire output devices to select the one I want
- to fix pipewire insistence in set my headset as my default output (is a know bug) maybe with a udev the based on time changes between my headset and my tv
- A tool that shows a popup with all the videos runing on browsers/system and audio to choose to stop/play one (I just get all of them and get the top of the list binded a couple of keys to star/stop it).
- replace my vim lsp configs with a simpler plugging or do it my self.
- Add a way to restore my vim session.
- config qick fix in neovim
- Config in a right way neovim so that tab completion use more ofthen the buffer suggested options first instead of lsp.
- Find a way to add hadoock(Haskell) or tags (never worked with tags) to my completion options since lsp fails most of the time.
- find a way to have a
universal project managerthat is able to call cabal or nix or cargo or some script with my templates to set new proyects - find a way to switch to proyects environment gracefully (some times i had to had 3 different nix environments to test stuff).
- Since we come this far, what about an IA that could solve github issues and I just have to review them? XD
Thanks if you come to the end and have some suggestion for one or two of the things I mentioned.
About this post
- Posted
- Archived
- Score
- 0 · 47% up
- Kind
- Text
- ID
- vuos49
7 comments
I remove the cache anytime it grows too big or I have backups for my system. The cache can be safely removed I'm not sure what happened on your end. It's useful for downgrading in case of broken updates though
Maybe it wasn't just the cache since I got a
lapmerror, and i find is a bout the missing of an important file.Also I haven't do a system backup before, it's quite stupid since I have a 1.5T in hdds + my 1T ssd (and now my new 1T ssd). So, this time I will search how to do properly the backup and begin to have a backup of the last month and the previous one. Thanks for remind me if it!
I deleted "/etc" by mistake days ago,10 years with Linux and never done something stupid like that,then I decided,enough is enough,I am fully switching to btrfs from now on...
It looks as a nice option! thanks!
If you have access to pacman.log you can reconstruct the pacman cache. There are instructions on the wiki.
yep, I need to :
Install the pacutils package to get paclog.before i do anything.
That's the problem, i can't use pacman since it has problems finding a config file in
/var/lib/*.So, I tried to arch-chroot from the live usb and got the same. Then I tried using live usb pacman with root and system root options to my mount point and got the same, then I tried just root and then just system root and none of the worked. I also tried to use pacstrap but i keep getting a "you had already those packages installed, I won't fix this"
At this point i will do a backup of home and then format my disk to get a fresh arch install to work for my job until i got the new ssd and formar this disk to use windows in it (and arch in my new one).