On Wed, Dec 06, 2000 at 10:57:24AM -0800, Joey Hess wrote:
dpkg --get-selections --root=/whever-you-have-mounted-your-dead-system
may work.
This worked beautifully, once I constructed a fake path under a
temporary directory.
Thanks for the suggestions, all.
A
--
Andrew Sullivan
Hi,
I know that you can get a complete list of things installed on a
system with dpkg --get-selections, and can set those to be installed
on another system with dpkg --set-selections. Is there, however, a
way to extract from an _old_ /var/lib/dpkg/ tree the same output as
one would get on a
I have a system whose root partition died part way through an
incremental backup cycle. I'm afraid the full increment was spaced
too far, because I'd made a number of changes to the system in the
few days before the hard drive died (yes, I know, I should have done
a full backup then. I
On Wed, Dec 06, 2000 at 10:32:02AM -0800, Sean 'Shaleh' Perry wrote:
let's see .
/var/lib/dpkg/status. Every package marked 'Status: install ok installed' is
installed.
Yes, but it's in a big file with a lot of extra data (whereas the
output from --get-selections is just lines
On 06-Dec-2000 Andrew Sullivan wrote:
On Wed, Dec 06, 2000 at 10:32:02AM -0800, Sean 'Shaleh' Perry wrote:
let's see .
/var/lib/dpkg/status. Every package marked 'Status: install ok installed'
is
installed.
Yes, but it's in a big file with a lot of extra data (whereas the
output
Andrew Sullivan wrote:
Yes, but it's in a big file with a lot of extra data (whereas the
output from --get-selections is just lines indicating package and
state). I know that I can just pull the relevant bits with some
regex work, but I wondered if there was a way to make dpkg read its
data
Quoting Andrew Sullivan ([EMAIL PROTECTED]):
Yes, but it's in a big file with a lot of extra data (whereas the
output from --get-selections is just lines indicating package and
state). I know that I can just pull the relevant bits with some
regex work, but I wondered if there was a way to
On Wed, Dec 06, 2000 at 07:02:34PM +, David Wright wrote:
Work? It takes two minutes to come up with
grep -B 1 Status: install ok installed /var/lib/dpkg/status |
grep Package | cut -d \ -f 2
Is that the sort of thing you want?
Well, not as easy as that, but that's also what I came
8 matches
Mail list logo