Gentoo Archives: gentoo-user

From: Paul Hartman <paul.hartman+gentoo@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] dpkg: failed to open package info file `/var/lib/dpkg/status' for reading: No such file or directory
Date: Tue, 24 Mar 2009 20:33:59
Message-Id: 58965d8a0903241333m27aaaedfn80daf665b5aad49f@mail.gmail.com
In Reply to: Re: [gentoo-user] dpkg: failed to open package info file `/var/lib/dpkg/status' for reading: No such file or directory by Alexander Pilipovsky
1 2009/3/24 Alexander Pilipovsky <alexander.pilipovsky@×××××.com>:
2 > Paul Hartman ÎÁÐÉÓÁ×(ÌÁ):
3 >
4 > On Tue, Mar 24, 2009 at 1:57 PM, Alexander Pilipovsky
5 > <alexander.pilipovsky@×××××.com> wrote:
6 >
7 >
8 > Alan McKinnon ÎÁÐÉÓÁ×(ÌÁ):
9 >
10 > I have no idea, but I imagine
11 >
12 > mkdir -p /var/lib/dpkg
13 > touch /var/lib/dpkg/status
14 >
15 > would be a good first test. Did you even attempt that much?
16 >
17 > And why are you installing dpkg on a portage box? That looks like a vast
18 > file
19 > collision fsck-fest just waiting to happen
20 >
21 >
22 >
23 > I tried to
24 >
25 > mkdir -p /var/lib/dpkg
26 > touch /var/lib/dpkg/status
27 > touch /var/lib/dpkg/available
28 > ln /sbin/update-rc /sbin/update-rc.d
29 > and got a new error, heh
30 > sh-3.2# dpkg -i nerolinux-3.5.0.1-x86.deb
31 > dpkg: error processing nerolinux-3.5.0.1-x86.deb (--install):
32 > package architecture (i386) does not match system ()
33 > Errors were encountered while processing:
34 > nerolinux-3.5.0.1-x86.deb
35 >
36 >
37 > Why not use the ebuild for app-cdr/nero?
38 >
39 >
40 >
41 >
42 > I used nero in previous listing as example to install, but I get these
43 > errors for any deb :(
44
45 Well, a .deb is just a tar with special file names inside. You can
46 untar it, then unpack the data.tar.gz and get the files and try to
47 install it manually (in a worst case scenario) :)
48
49 I haven't tried dpkg to install a .deb so I am of no use...