How to Fix E: Sub-Process /Usr/Bin/Dpkg Returned an Error Code (1)? (In Kali Android)

root@localhost:~# apt-get install wget lzip unzip squashfs-tools
Reading package lists... Done
Building dependency tree
Reading state information... Done
lzip is already the newest version (1.21-7).
squashfs-tools is already the newest version (1:4.4-2).
unzip is already the newest version (6.0-25).
wget is already the newest version (1.20.3-1+b1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? Y/n y
Setting up udisks2 (2.8.4-1) ...
Failed to scan devices: No such file or directory
dpkg: error processing package udisks2 (--configure):
installed udisks2 package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of gvfs-daemons:
gvfs-daemons depends on udisks2; however:
Package udisks2 is not configured yet.

dpkg: error processing package gvfs-daemons (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of gvfs:arm64:
gvfs:arm64 depends on gvfs-daemons (<< 1.44.1-1.1~); however:
Package gvfs-daemons is not configured yet.
gvfs:arm64 depends on gvfs-daemons (>= 1.44.1-1); however:
Package gvfs-daemons is not configured yet.

dpkg: error processing package gvfs:arm64 (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
udisks2
gvfs-daemons
gvfs:arm64
E: Sub-process /usr/bin/dpkg returned an error code (1)

How to fix E: Sub-process /usr/bin/dpkg returned an error code (1)?

Please help me

Our Best Hacking & Security Guides

New Null Byte posts — delivered straight to your inbox.

1 Response

try using kali live or kali nethunter in your android device

Share Your Thoughts

  • Hot
  • Active