Results 1 to 3 of 3

Thread: add-apt : No command found No installation candidate for supporting files

  1. #1
    Join Date
    2016-Apr
    Posts
    1

    add-apt : No command found No installation candidate for supporting files

    The add-apt-repository function is not working

    Code:
    add-apt
    bash: add-apt: command not found

    I read the kali forum and it said to run the following commands in the given link

    https://forums.kali.org/archive/index.php/t-292.html

    it does not work

    Many ubuntu forums said to install common-software-properties or python-software-properties or python3-software-properties

    Code:
    apt-get install python-software-properties
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Package python-software-properties 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 'python-software-properties' has no installation candidate
    Code:
    apt-get install python3-software-properties
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    E: Unable to locate package python3-software-properties
    Code:
    apt-get install common-software-properties
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    E: Unable to locate package common-software-properties
    root@root:~# apt-get install software-common-properties
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    E: Unable to locroot@root:~# sudo apt-get update
    Reading package lists... Done
    root@root:~# 
    ate package software-common-properties
    As you can see nothing is working.

    On further research I was told to simply update repositories and then try reinstalling but apt-get update didn't work

    Code:
    root@root:~# sudo apt-get update
    Reading package lists... Done
    root@root:~#
    I am using kali rolling.

    I have used linux for a few months but I have only recently started using kali so please keep the solution as detailed as possible.

  2. #2
    Join Date
    2013-Mar
    Posts
    85
    Not entirely sure what you want to do, but seems like you have the wrong source file based on your apt-get update command.

    Code:
    root@kali:~# apt-get update
    Get:1 http://archive-3.kali.org/kali kali-rolling InRelease [24.6 kB]
    Get:2 http://archive-3.kali.org/kali kali-rolling/main i386 Packages [13.6 MB]
    Get:3 http://archive-3.kali.org/kali kali-rolling/non-free i386 Packages [130 kB]                                                                      
    Get:4 http://archive-3.kali.org/kali kali-rolling/contrib i386 Packages [87.6 kB]                                                                      
    Fetched 13.8 MB in 29s (462 kB/s)                                                                                                                      
    Reading package lists... Done
    root@kali:~# apt-cache search python | grep properties
    python-ironic-inspector - discovering hardware properties for OpenStack Ironic - Python 2.7
    python-jpylyzer - JP2 (JPEG 2000 Part 1) validator and properties extractor
    python-jpylyzer-doc - JP2 (JPEG 2000 Part 1) validator and properties extractor - doc
    python-pyjavaproperties - Python implementation of java.util.Properties
    python3-software-properties - manage the repositories that you install software from

  3. #3
    I had never heard about "add-apt" until today.
    It seems that it is a command to add ppa repositories.
    But before adding any ppa repositories... You "may" want to enable kali rolling repositories :
    http://docs.kali.org/general-use/kal...t-repositories
    Like this you will be able to use apt-get repositories and you will know how to add ppa repositories without using add-apt.

Similar Threads

  1. E: Package 'libpng12-0' has no installation candidate
    By Abhishek404 in forum ARM Archive
    Replies: 1
    Last Post: 2020-08-24, 17:57

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •