public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] dpkg: failed to open package info file `/var/lib/dpkg/status' for reading: No such file or directory
@ 2009-03-24 18:36 Alexander Pilipovsky
  2009-03-24 18:41 ` Alan McKinnon
  0 siblings, 1 reply; 7+ messages in thread
From: Alexander Pilipovsky @ 2009-03-24 18:36 UTC (permalink / raw
  To: gentoo-user

Hi all!
I have emerged dpkg and tried to install deb package, but got error:
dpkg: failed to open package info file `/var/lib/dpkg/status' for
reading: No such file or directory
How to fix this problem?

Thanks!

-- 
Alexander Pilipovsky aka Engraver




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] dpkg: failed to open package info file `/var/lib/dpkg/status' for reading: No such file or directory
  2009-03-24 18:36 [gentoo-user] dpkg: failed to open package info file `/var/lib/dpkg/status' for reading: No such file or directory Alexander Pilipovsky
@ 2009-03-24 18:41 ` Alan McKinnon
  2009-03-24 18:57   ` Alexander Pilipovsky
  0 siblings, 1 reply; 7+ messages in thread
From: Alan McKinnon @ 2009-03-24 18:41 UTC (permalink / raw
  To: gentoo-user

On Tuesday 24 March 2009 20:36:07 Alexander Pilipovsky wrote:
> Hi all!
> I have emerged dpkg and tried to install deb package, but got error:
> dpkg: failed to open package info file `/var/lib/dpkg/status' for
> reading: No such file or directory
> How to fix this problem?
>
> Thanks!

I have no idea, but I imagine

mkdir -p /var/lib/dpkg
touch /var/lib/dpkg/status

would be a good first test. Did you even attempt that much?

And why are you installing dpkg on a portage box? That looks like a vast file 
collision fsck-fest just waiting to happen

-- 
alan dot mckinnon at gmail dot com



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] dpkg: failed to open package info file `/var/lib/dpkg/status' for reading: No such file or directory
  2009-03-24 18:41 ` Alan McKinnon
@ 2009-03-24 18:57   ` Alexander Pilipovsky
  2009-03-24 19:31     ` Paul Hartman
  0 siblings, 1 reply; 7+ messages in thread
From: Alexander Pilipovsky @ 2009-03-24 18:57 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 775 bytes --]

Alan McKinnon написав(ла):
>
> I have no idea, but I imagine
>
> mkdir -p /var/lib/dpkg
> touch /var/lib/dpkg/status
>
> would be a good first test. Did you even attempt that much?
>
> And why are you installing dpkg on a portage box? That looks like a vast file 
> collision fsck-fest just waiting to happen
>
>   
I tried to

mkdir -p /var/lib/dpkg
touch /var/lib/dpkg/status
touch /var/lib/dpkg/available
ln /sbin/update-rc /sbin/update-rc.d
and got a new error, heh
sh-3.2# dpkg -i nerolinux-3.5.0.1-x86.deb
dpkg: error processing nerolinux-3.5.0.1-x86.deb (--install):
 package architecture (i386) does not match system ()
Errors were encountered while processing:
 nerolinux-3.5.0.1-x86.deb

-- 
Alexander Pilipovsky aka Engraver


[-- Attachment #2: Type: text/html, Size: 1207 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] dpkg: failed to open package info file  `/var/lib/dpkg/status' for reading: No such file or directory
  2009-03-24 18:57   ` Alexander Pilipovsky
@ 2009-03-24 19:31     ` Paul Hartman
  2009-03-24 20:16       ` Alexander Pilipovsky
  0 siblings, 1 reply; 7+ messages in thread
From: Paul Hartman @ 2009-03-24 19:31 UTC (permalink / raw
  To: gentoo-user

On Tue, Mar 24, 2009 at 1:57 PM, Alexander Pilipovsky
<alexander.pilipovsky@gmail.com> wrote:
> Alan McKinnon написав(ла):
>
> I have no idea, but I imagine
>
> mkdir -p /var/lib/dpkg
> touch /var/lib/dpkg/status
>
> would be a good first test. Did you even attempt that much?
>
> And why are you installing dpkg on a portage box? That looks like a vast
> file
> collision fsck-fest just waiting to happen
>
>
>
> I tried to
>
> mkdir -p /var/lib/dpkg
> touch /var/lib/dpkg/status
> touch /var/lib/dpkg/available
> ln /sbin/update-rc /sbin/update-rc.d
> and got a new error, heh
> sh-3.2# dpkg -i nerolinux-3.5.0.1-x86.deb
> dpkg: error processing nerolinux-3.5.0.1-x86.deb (--install):
>  package architecture (i386) does not match system ()
> Errors were encountered while processing:
>  nerolinux-3.5.0.1-x86.deb

Why not use the ebuild for app-cdr/nero?



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] dpkg: failed to open package info file  `/var/lib/dpkg/status' for reading: No such file or directory
  2009-03-24 19:31     ` Paul Hartman
@ 2009-03-24 20:16       ` Alexander Pilipovsky
  2009-03-24 20:23         ` Alan McKinnon
  2009-03-24 20:33         ` Paul Hartman
  0 siblings, 2 replies; 7+ messages in thread
From: Alexander Pilipovsky @ 2009-03-24 20:16 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1116 bytes --]

Paul Hartman написав(ла):
> On Tue, Mar 24, 2009 at 1:57 PM, Alexander Pilipovsky
> <alexander.pilipovsky@gmail.com> wrote:
>   
>> Alan McKinnon написав(ла):
>>
>> I have no idea, but I imagine
>>
>> mkdir -p /var/lib/dpkg
>> touch /var/lib/dpkg/status
>>
>> would be a good first test. Did you even attempt that much?
>>
>> And why are you installing dpkg on a portage box? That looks like a vast
>> file
>> collision fsck-fest just waiting to happen
>>
>>
>>
>> I tried to
>>
>> mkdir -p /var/lib/dpkg
>> touch /var/lib/dpkg/status
>> touch /var/lib/dpkg/available
>> ln /sbin/update-rc /sbin/update-rc.d
>> and got a new error, heh
>> sh-3.2# dpkg -i nerolinux-3.5.0.1-x86.deb
>> dpkg: error processing nerolinux-3.5.0.1-x86.deb (--install):
>>  package architecture (i386) does not match system ()
>> Errors were encountered while processing:
>>  nerolinux-3.5.0.1-x86.deb
>>     
>
> Why not use the ebuild for app-cdr/nero?
>
>
>   
I used nero in previous listing as example to install, but I get these
errors for any deb :(

-- 
Alexander Pilipovsky aka Engraver


[-- Attachment #2: Type: text/html, Size: 1617 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] dpkg: failed to open package info file   `/var/lib/dpkg/status' for reading: No such file or directory
  2009-03-24 20:16       ` Alexander Pilipovsky
@ 2009-03-24 20:23         ` Alan McKinnon
  2009-03-24 20:33         ` Paul Hartman
  1 sibling, 0 replies; 7+ messages in thread
From: Alan McKinnon @ 2009-03-24 20:23 UTC (permalink / raw
  To: gentoo-user

On Tuesday 24 March 2009 22:16:46 Alexander Pilipovsky wrote:
> Why not use the ebuild for app-cdr/nero?
>
>
>
>  I used nero in previous listing as example to install, but I get these
> errors for any deb :(

I find it's useful to look at error messages. It often tells you what is 
wrong:

dpkg: error processing nerolinux-3.5.0.1-x86.deb (--install):
 package architecture (i386) does not match system ()

dpkg does nto want ot install that .deb on your system as the arch is wrong. 
It makes sense, it wouldn't install sparc binaries either. Gentoo doesn't have 
an i386 arch, it has x86 and amd64.

But I still feel your whole approach is wrong. Two package managers on one 
system? Therein lies madness, and file collisions that will leave you 
scratching your head wondering wtf?

The solution is simple:

alien

I know it doesn't do the whole pre- and post- install thing right, but that 
doesn't matter as they probably aren't suitable on gentoo anyway. You want the 
binaries and a way to extract them.

-- 
alan dot mckinnon at gmail dot com



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] dpkg: failed to open package info file  `/var/lib/dpkg/status' for reading: No such file or directory
  2009-03-24 20:16       ` Alexander Pilipovsky
  2009-03-24 20:23         ` Alan McKinnon
@ 2009-03-24 20:33         ` Paul Hartman
  1 sibling, 0 replies; 7+ messages in thread
From: Paul Hartman @ 2009-03-24 20:33 UTC (permalink / raw
  To: gentoo-user

2009/3/24 Alexander Pilipovsky <alexander.pilipovsky@gmail.com>:
> Paul Hartman написав(ла):
>
> On Tue, Mar 24, 2009 at 1:57 PM, Alexander Pilipovsky
> <alexander.pilipovsky@gmail.com> wrote:
>
>
> Alan McKinnon написав(ла):
>
> I have no idea, but I imagine
>
> mkdir -p /var/lib/dpkg
> touch /var/lib/dpkg/status
>
> would be a good first test. Did you even attempt that much?
>
> And why are you installing dpkg on a portage box? That looks like a vast
> file
> collision fsck-fest just waiting to happen
>
>
>
> I tried to
>
> mkdir -p /var/lib/dpkg
> touch /var/lib/dpkg/status
> touch /var/lib/dpkg/available
> ln /sbin/update-rc /sbin/update-rc.d
> and got a new error, heh
> sh-3.2# dpkg -i nerolinux-3.5.0.1-x86.deb
> dpkg: error processing nerolinux-3.5.0.1-x86.deb (--install):
>  package architecture (i386) does not match system ()
> Errors were encountered while processing:
>  nerolinux-3.5.0.1-x86.deb
>
>
> Why not use the ebuild for app-cdr/nero?
>
>
>
>
> I used nero in previous listing as example to install, but I get these
> errors for any deb :(

Well, a .deb is just a tar with special file names inside. You can
untar it, then unpack the data.tar.gz and get the files and try to
install it manually (in a worst case scenario) :)

I haven't tried dpkg to install a .deb so I am of no use...



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2009-03-24 20:33 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-24 18:36 [gentoo-user] dpkg: failed to open package info file `/var/lib/dpkg/status' for reading: No such file or directory Alexander Pilipovsky
2009-03-24 18:41 ` Alan McKinnon
2009-03-24 18:57   ` Alexander Pilipovsky
2009-03-24 19:31     ` Paul Hartman
2009-03-24 20:16       ` Alexander Pilipovsky
2009-03-24 20:23         ` Alan McKinnon
2009-03-24 20:33         ` Paul Hartman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox