You are not logged in.

#1 2016-08-16 16:21:32

milky
Member
Registered: 2016-08-16
Posts: 2

SOLVED :: Generating package lists for archiso

Hi!

Long time arch user, first time poster.
I'm working on a custom arch install which i intend to be a mirror of my desktop.
I know how to build the arch iso and bundle applications and config files and stuff, but I was wondering, is there an easy way to just generate the packages.both, packages.i686, and packages.x86_64 files based on what is installed on my box presently?
It's just too hard to keep of every single package I install to solve every little problem I run into, I'm not organized like that.
I just want to have a list of package names that pacman needs to install a system that's identical to this box.

I'm not concerned about stuff from the AUR, I already set up a local repo for those so I know what they all are.

Any help is appreciated, I'm having a hard time finding concise information on google or pacman's manual :(

Thanks !!

Last edited by milky (2016-08-27 16:30:05)

Offline

#2 2016-08-16 17:33:13

FlowIt
Member
Registered: 2014-10-25
Posts: 239

Re: SOLVED :: Generating package lists for archiso

If I understand you correctly, pacman -Qq should do what you want.

Offline

#3 2016-08-16 18:29:12

ajbibb
Member
Registered: 2012-02-12
Posts: 142

Re: SOLVED :: Generating package lists for archiso

From the Arch Wiki (https://wiki.archlinux.org/index.php/Pa … repository)

List explicitely installed packages not in the base or base-devel groups:

comm -23 <(pacman -Qeq | sort) <(pacman -Qgq base base-devel | sort)

Should be easy enough to pipe that into a file, or modify the groups you want excluded or listed.

Offline

#4 2016-08-27 08:14:50

milky
Member
Registered: 2016-08-16
Posts: 2

Re: SOLVED :: Generating package lists for archiso

ajbibb wrote:

From the Arch Wiki (https://wiki.archlinux.org/index.php/Pa … repository)

List explicitely installed packages not in the base or base-devel groups:

comm -23 <(pacman -Qeq | sort) <(pacman -Qgq base base-devel | sort)

Should be easy enough to pipe that into a file, or modify the groups you want excluded or listed.

Hi sorry for not replying for a while, thanks very much, this is exactly what i needed im still really new to doing this kind of stuff in bash.
~

Offline

#5 2016-08-27 11:07:47

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,845
Website

Re: SOLVED :: Generating package lists for archiso

Please remember to mark your thread as solved by editing your first post and amending the topic title.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB