Skip to content
This repository has been archived by the owner on Jan 16, 2025. It is now read-only.

dpkg: error: unable to access dpkg status area: No such file or directory #28191

Closed
sseen opened this issue Apr 6, 2014 · 3 comments
Closed

Comments

@sseen
Copy link

sseen commented Apr 6, 2014

when I installed the dpkg using brew, and type the command
"sudo dpkg -i **.deb ",
the terminal show me this message
"dpkg: error: unable to access dpkg status area: No such file or directory"

this is the installing process

➜ Downloads brew install dpkg
Warning: A newer Command Line Tools release is available
Update them from Software Update in the App Store.
==> Downloading http://ftp.debian.org/debian/pool/main/d/dpkg/dpkg_1.17.6.tar.xz
Already downloaded: /Library/Caches/Homebrew/dpkg-1.17.6.tar.xz
==> Patching
patching file configure
Hunk #1 succeeded at 8812 (offset 424 lines).
patching file lib/dpkg/dpkg.h
patching file scripts/Makefile.am
Hunk #1 succeeded at 118 (offset 1 line).
patching file scripts/Makefile.in
Hunk #1 succeeded at 487 (offset 1 line).
patching file scripts/Dpkg/Checksums.pm
Hunk #1 succeeded at 51 (offset 1 line).
patching file scripts/Dpkg/Source/Archive.pm
Hunk #1 succeeded at 48 (offset 1 line).
Hunk #2 succeeded at 125 (offset 2 lines).
==> ./configure --prefix=/usr/local/Cellar/dpkg/1.17.6 --disable-dselect --disable-linker-optimisations --disable-start-stop-daemon --disable-update-alternatives
==> make
==> make install
==> Caveats
This installation of dpkg is not configured to install software, so
commands such as dpkg -i, dpkg --configure will fail.
==> Summary
🍺 /usr/local/Cellar/dpkg/1.17.6: 214 files, 4.6M, built in 27 seconds

@jacknagel
Copy link
Contributor

Read the caveats:

==> Caveats
This installation of dpkg is not configured to install software, so
commands such as dpkg -i, dpkg --configure will fail.

@sseen
Copy link
Author

sseen commented Apr 6, 2014

how to configured, thank you

@mistydemeo
Copy link
Contributor

dpkg is provided in Homebrew so that you can build packages; you can't install software with it.

@Homebrew Homebrew locked and limited conversation to collaborators Feb 17, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants