You are not logged in.
I want to reinstall the system on an SSD because the current one has a lot of unnecessary stuff installed and I don't want to transfer it. Now I'm trying to get a list of explicitly installed packages
pacman -Qqn
, from this list I want to filter out explicit dependencies and additional dependencies that I stupidly installed without
--asdeps
.
At the moment, I use the list obtained by pacman, then pacman -Si for each package from the list and from it grep dependencies into the second list, then
grep -Fvxf ./dep_sorted.txt ./pkgs_sorted.txt > ./pkg-dep.txt
and repeat for the list of optional dependencies that I will install separately with the --asdeps flag. But at some point, packages that I definitely installed myself disappear from the final list, for example, telegram-desktop, gparted (but gpart remains) and probably some others. How can I correctly compile the required list so that I don’t have to deliver them to the system one by one, but can immediately specify them as a complete list during installation?
Last edited by smopro (2025-01-04 03:50:36)
Offline
its all here
though i still think you should learn to clean up your system and then do a top to bottom migration
lostfiles is great for finding files not tracked by pacman.
Offline
its all.
Oh, thank you! I apologize for creating such a topic. I didn't think about something like that on the wiki at all. I'm sick now and my head is in a fog, I can't think straight.
Offline
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
Offline