Results 1 to 2 of 2

Thread: E: Unable to correct problems, you have held broken packages.

  1. #1
    Join Date
    2013-Aug
    Posts
    25

    E: Unable to correct problems, you have held broken packages.

    I'm trying to install either irssi or weechat but both give me a similar error.

    This is what I'm running:

    ~# uname -a
    Linux kali2 4.0.0-kali1-686-pae #1 SMP Debian 4.0.4-1+kali2 (2015-06-03) i686 GNU/Linux



    These are the errors when I try to install irssi or the weechat plugins:


    The following packages have unmet dependencies:
    irssi : Depends: libperl5.14 (>= 5.14.2) but it is not going to be installed
    Depends: perlapi-5.14.2
    E: Unable to correct problems, you have held broken packages.



    The following packages have unmet dependencies:
    weechat-plugins : Depends: libperl5.14 (>= 5.14.2) but it is not going to be installed
    Depends: tcl8.5 (>= 8.5.0) but it is not going to be installed
    E: Unable to correct problems, you have held broken packages.




    This is my current /etc/apt/sources.list


    #

    # deb cdrom:[Debian GNU/Linux 2.0 _Sana_ - Official Snapshot i386 LIVE/INSTALL Binary 20150811-09:06]/ sana contrib main non-free

    #deb cdrom:[Debian GNU/Linux 2.0 _Sana_ - Official Snapshot i386 LIVE/INSTALL Binary 20150811-09:06]/ sana contrib main non-free

    deb http://security.kali.org/kali-security/ sana/updates main contrib non-free
    deb-src http://security.kali.org/kali-security/ sana/updates main contrib non-free

    # I added these:
    deb http://http.kali.org/kali kali main contrib non-free
    deb http://security.kali.org/kali-security kali/updates main contrib non-free



    I've tried:
    apt-get update && apt-get upgrade


    Somewhere I read to try this to see if there are any "held" packages:
    dpkg --get-selections | awk '{if ($2 == "hold") print $0;}'

    I get no results from running that.




    Any ideas?

    Thanks

  2. #2
    Join Date
    2013-Aug
    Posts
    25
    UPDATE:

    I commented out those last two lines in my sources file, and now I am getting:


    ~# apt-get install irssi
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    E: Unable to locate package irssi



    and for weechat plugins:

    # apt-get install weechat-plugins
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Package weechat-plugins 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
    However the following packages replace it:
    weechat-core

    E: Package 'weechat-plugins' has no installation candidate



    # apt-get install weechat-core
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    weechat-core is already the newest version.
    weechat-core set to manually installed.
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.





    So maybe I'm OK on weechat not sure, I've never used it yet.

    I guess I shouldn't have had those two extra lines in my sources file, there must be reason why I added them but I don't recall what for.

Similar Threads

  1. Replies: 1
    Last Post: 2020-04-05, 21:14
  2. E: Unable to correct problems, you have held broken packages.
    By jackherer in forum TroubleShooting Archive
    Replies: 0
    Last Post: 2015-10-23, 13:18

Posting Permissions

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