You are not logged in.

#1 2011-03-27 15:16:25

jlacroix
Member
Registered: 2009-08-16
Posts: 576

[SOLVED] Exporting a List of Installed Packages when Pacman is Dead

I'm about to reinstall my system, and I want to export a list of packages before I wipe my drive. Normally I would use Pacman -Qq to do that, but Pacman is completely dead. Is there another way to get a list of packages installed on this system without using Pacman?

Last edited by jlacroix (2011-03-27 16:55:30)

Offline

#2 2011-03-27 15:27:05

lives2evil
Member
From: GMT+7
Registered: 2010-03-21
Posts: 244

Re: [SOLVED] Exporting a List of Installed Packages when Pacman is Dead

Try looking at this directory:
/var/lib/pacman/sync


tsujeruplive, tnarongisi... ... ... ... ɥsılƃuǝ sı sıɥʇ

Offline

#3 2011-03-27 15:30:54

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [SOLVED] Exporting a List of Installed Packages when Pacman is Dead

lives2evil wrote:

Try looking at this directory:
/var/lib/pacman/sync

in fact is /var/lib/pacman/local


Give what you have. To someone, it may be better than you dare to think.

Offline

#4 2011-03-27 15:33:14

lives2evil
Member
From: GMT+7
Registered: 2010-03-21
Posts: 244

Re: [SOLVED] Exporting a List of Installed Packages when Pacman is Dead

Thanks for correcting me, I was not very sure myself.


tsujeruplive, tnarongisi... ... ... ... ɥsılƃuǝ sı sıɥʇ

Offline

#5 2011-03-27 16:03:53

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Exporting a List of Installed Packages when Pacman is Dead

What happened to poor pacman?

Offline

#6 2011-03-27 16:11:19

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: [SOLVED] Exporting a List of Installed Packages when Pacman is Dead

karol wrote:

What happened to poor pacman?

Probably this :: https://bbs.archlinux.org/viewtopic.php?id=115717


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#7 2011-03-27 16:23:17

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Exporting a List of Installed Packages when Pacman is Dead

Maybe this will help a bit

find /var/lib/pacman/local -type d | cut -c23- | sed 's/-[0-9].*//g' > ~/pkglist

Last edited by karol (2011-03-27 16:35:09)

Offline

#8 2011-03-27 16:55:01

jlacroix
Member
Registered: 2009-08-16
Posts: 576

Re: [SOLVED] Exporting a List of Installed Packages when Pacman is Dead

Thank you so much, I have my package list now. smile

Offline

Board footer

Powered by FluxBB