LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 01-17-2004, 09:56 PM   #1
adamsjw2
Member
 
Registered: Jan 2003
Distribution: Mandrake 9 & SuSE 81.
Posts: 40

Rep: Reputation: 15
dpkg unable to access status area


Greetings,
I'm using a Debian-based system, DamnSmall Linux (based on Knoppix). I'm trying to install a driver for my Conextant modem which is in a *.deb package.
When I execute dpkg -i xxxxxx.deb I receive the error:
dpkg: unable to access status area.

Any idea what I'm doing wrong.
I'm running this as root.
TIA,
Jim
Maysville KY USA
 
Old 02-01-2004, 10:31 PM   #2
Homer Jay
LQ Newbie
 
Registered: Dec 2003
Location: Berlin/Germany
Distribution: Debian
Posts: 22

Rep: Reputation: 15
hmmmmm...
Try dpkg-deb --info xxxxxx.deb and dpkg-deb --contents xxxxxx.deb
to check that file first.
Then: is /var/lib/dpkg/status present?
What does dpkg -l say?
Have you ever installed another package on this box using dpkg -i?
Perhaps you could run strace dpkg -i xxxxxx.deb
to find out what this
Quote:
unable to access status area.
means...
 
Old 02-01-2004, 10:43 PM   #3
snacky
Member
 
Registered: Feb 2004
Distribution: Debian
Posts: 286

Rep: Reputation: 30
I don't know about you, but I often find drivers packaged in files with misleading names. Try the command "file xxxxx.deb". I have a funny feeling it's actually compressed or something.
 
Old 02-06-2004, 06:32 AM   #4
carpao
LQ Newbie
 
Registered: Feb 2004
Posts: 1

Rep: Reputation: 0
short answer

1) To make room the files and directories under /var/lib/dpkg are deleted so the tool are not directly usable

2) It is possible to restore them (having access to the net) using the command:
sudo dpkg-restore


bye
CARPAO



long answer and references From the dsl site:

1)
"To make room I had to delete the entire /var/lib/dpkg/ from the iso to make room. It is available as a separate download (dpkg.tar.gz). It's integrity should be high. Below is the list of Debian packages currently in Damn Small Linux.

Also, keep in mind that Damn Small is not pure Debian based. there are applications in DSL that are not on this list." [ http://www.damnsmalllinux.org/packages.html ]



2)
"Notes on using apt-get:
DSL is based on Debian, so it is possible to use apt-get after a hard drive install once the dpkg database is restored.

The way to do this is to download the compressed dpkg file from here and move it to '/var/lib/', then uncompress it:
tar zxvf dpkg.tar.gz

After that just 'apt-get update' and then Apt should be fully functional.

If you have net access, type 'sudo dpkg-restore' in your term window.

Now for the warning:
Damn Small is not derived purely from Debian, if you 'apt-get install' the wrong application you may break something, for instance, the X servers."
[ http://www.damnsmalllinux.org/dsl-hd...l.html#apt-get ]
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
APT/dpkg errors! /var/lib/dpkg/status bassclarinet Debian 16 12-01-2011 10:24 AM
dpkg -- what does a status of 'rc' mean? stefanlasiewski Debian 6 05-13-2009 10:33 AM
Unable to access dpkg area: read-only filesystem. Gag Halfrunt Linux - Newbie 3 11-26-2004 02:07 AM
trying to access Network Shares on a Windows 2000 Storage area panito Linux - Networking 0 09-03-2004 02:04 PM
access windows area through linux onlyhuman9 Linux - General 4 09-30-2001 11:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 10:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration