You are not logged in.

#1 2010-02-10 14:25:41

marciorp
Member
From: Brazil
Registered: 2006-09-03
Posts: 12
Website

[SOLVED] package list from an old install

Hey, people, i had myself a new computer, just installed arch and am about to go pacman -Syuing.

I have my old computer's HD connected via USB, so i can access all files and everything. But i want a fresh install anyway, so the only thing i would like to get from it that i don't know how is the package list, so i don't forget to install something that i will miss after (planing on spending quite some time away from the nets...).

How do i do it?

Thanks

marcio

Last edited by marciorp (2010-02-10 18:30:04)


----
Marcio

Offline

#2 2010-02-10 14:54:57

sHyLoCk
Member
From: /dev/null
Registered: 2009-06-19
Posts: 1,197

Re: [SOLVED] package list from an old install

pacman -Qq | sort ?


~ Regards,
sHy
ArchBang: Yet another Distro for Allan to break.
Blog | GIT | Forum (。◕‿◕。)

Offline

#3 2010-02-10 14:58:21

marciorp
Member
From: Brazil
Registered: 2006-09-03
Posts: 12
Website

Re: [SOLVED] package list from an old install

this does not work because my pacman is connected to the NEW databases, not the ones i had in my previous install. i want the package list of the cold system, not the booted one. and i think the best option is pacman -Qe, actually. what i want is a way to run pacman -Qe over an install that is not running.


----
Marcio

Offline

#4 2010-02-10 16:01:14

jac
Member
From: /home/jac
Registered: 2009-05-19
Posts: 431
Website

Re: [SOLVED] package list from an old install

Have you tried looking in the man page? There are ways to have pacman act out of different directories (e.g., your other hard drive). This is one of my aliases, you should be able to adapt it pretty easily:

pacman --root /opt/arch32 --cachedir /opt/arch32/var/cache/pacman/pkg --config /opt/arch32/pacman.conf

Offline

#5 2010-02-11 19:09:42

marciorp
Member
From: Brazil
Registered: 2006-09-03
Posts: 12
Website

Re: [SOLVED] package list from an old install

Well, yes, i admit i had not looked the man page (this time, though i did read pacman man page quite a few times), but, in my defense i can say that i knew about the --root option, but i thought it was useful just for installing packages, not to query them, it just never ocurred to me. Anyway, i did pacman -Qe --root /oldinstall and it worked perfectly, thanks a million.


----
Marcio

Offline

Board footer

Powered by FluxBB