Skip to content

deb packages are missing dependencies on Kali Linux #1269

Open
@Shivanshu10

Description

@Shivanshu10

on installing BAP deb file as per instruction provided in README, i got these issues:

$ sudo dpkg -i {bap,libbap,libbap-dev}_2.2.0.deb
[sudo] password for shivanshu: 
Selecting previously unselected package bap.
dpkg: warning: files list file for package 'kali-menu' missing; assuming package has no files currently installed
(Reading database ... 408378 files and directories currently installed.)
Preparing to unpack bap_2.2.0.deb ...
Unpacking bap (2.2.0) ...
Selecting previously unselected package libbap.
Preparing to unpack libbap_2.2.0.deb ...
Unpacking libbap (2.2.0) ...
Selecting previously unselected package libbap-dev.
Preparing to unpack libbap-dev_2.2.0.deb ...
Unpacking libbap-dev (2.2.0) ...
Setting up bap (2.2.0) ...
dpkg: dependency problems prevent configuration of libbap:
 libbap depends on libffi6; however:
  Package libffi6 is not installed.

dpkg: error processing package libbap (--install):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libbap-dev:
 libbap-dev depends on libbap; however:
  Package libbap is not configured yet.

dpkg: error processing package libbap-dev (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 libbap
 libbap-dev

so, i thaught, i should try installing libff6

$ sudo apt-install libff6
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package libffi6 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libffi6' has no installation candidate

on performing apt search

$ sudo apt search libff
Sorting... Done
Full Text Search... Done
libffi-dev/now 3.3-5 amd64 [installed,local]
  Foreign Function Interface library (development files)

libffi7/now 3.3-5 amd64 [installed,local]
  Foreign Function Interface library runtime

so there is no liff6 available, so i tried using libffi7

$ sudo apt-get install libffi7
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libffi7 is already the newest version (3.3-5).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

then rerun installation

$ sudo dpkg -i {bap,libbap,libbap-dev}_2.2.0.deb
dpkg: warning: files list file for package 'kali-menu' missing; assuming package has no files currently installed
(Reading database ... 408496 files and directories currently installed.)
Preparing to unpack bap_2.2.0.deb ...
Unpacking bap (2.2.0) over (2.2.0) ...
Selecting previously unselected package libbap.
Preparing to unpack libbap_2.2.0.deb ...
Unpacking libbap (2.2.0) ...
Selecting previously unselected package libbap-dev.
Preparing to unpack libbap-dev_2.2.0.deb ...
Unpacking libbap-dev (2.2.0) ...
Setting up bap (2.2.0) ...
dpkg: dependency problems prevent configuration of libbap:
 libbap depends on libffi6; however:
  Package libffi6 is not installed.

dpkg: error processing package libbap (--install):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libbap-dev:
 libbap-dev depends on libbap; however:
  Package libbap is not configured yet.

dpkg: error processing package libbap-dev (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 libbap
 libbap-dev

but it again asked me libffi6 which is no longer supported on kali sources

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions