Results 1 to 2 of 2

Thread: Distribution error

  1. #1
    Join Date

    Distribution error

    I've been getting the error below every time i try to upgrade my system. Where could the problem be? And how can I solve it?? Any help will be greatly appreciated

    Error and some of the commands i ran to try and solve the problems are shown below:

    Laptop specs: HP Elitebook 8440p,
    OS: Windows and Kali linux dual booted
    Processor: Intel core i5
    Graphics card: Intel HD graphics


    Linux localhost.localdomain 4.7.0-kali1-amd64 #1 SMP Debian 4.7.5-1kali3 (2016-09-29) x86_64 GNU/Linux
    root@localhost:~# apt-get update && apt-get upgrade -y && apt-get dist-upgrade -y
    Hit:1 kali-rolling InRelease
    Reading package lists... Done
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    You might want to run 'apt-get -f install' to correct these.
    The following packages have unmet dependencies:
     codeblocks-contrib : Depends: libhunspell-1.3-0 (>= 1.3.3) but it is not installable
                          Depends: libwxsmithlib0 (= 16.01) but 16.01+dfsg-2 is installed
                          Depends: codeblocks (= 16.01) but 16.01+dfsg-2 is installed
                          Recommends: valgrind but it is not installed
                          Recommends: cppcheck but it is not installed
                          Recommends: cscope but it is not installed
                          Recommends: cccc but it is not installed
    E: Unmet dependencies. Try using -f.
    root@localhost:~# apt-get -f install
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Correcting dependencies... Done
    The following additional packages will be installed:
    Recommended packages:
    The following packages will be upgraded:
    1 upgraded, 0 newly installed, 0 to remove and 177 not upgraded.
    7 not fully installed or removed.
    Need to get 0 B/4,327 kB of archives.
    After this operation, 2,749 kB of additional disk space will be used.
    Do you want to continue? [Y/n] y
    Reading changelogs... Done
    (Reading database ... 362909 files and directories currently installed.)
    Preparing to unpack .../codeblocks-contrib_16.01+dfsg-2_amd64.deb ...
    Unpacking codeblocks-contrib (16.01+dfsg-2) over (16.01) ...
    dpkg: error processing archive /var/cache/apt/archives/codeblocks-contrib_16.01+dfsg-2_amd64.deb (--unpack):
     trying to overwrite '/usr/lib/codeblocks/wxContribItems/', which is also in package codeblocks-libwxcontrib0 16.01
    dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
    Errors were encountered while processing:
    E: Sub-process /usr/bin/dpkg returned an error code (1)

  2. #2
    Join Date
    Kali forums
    I'd try uninstalling, then reinstalling the codeblocks-contrib package, and see if that fixes the problem.

Similar Threads

  1. Replies: 13
    Last Post: 2017-01-29, 15:41
  2. Worng version of linux-headers in rolling distribution
    By iorenton in forum Building Archive
    Replies: 1
    Last Post: 2016-03-10, 07:00
  3. Totally screwed the distribution | apt-get, wicd-client doesn't work
    By Ferus21 in forum TroubleShooting Archive
    Replies: 0
    Last Post: 2016-02-22, 00:29
  4. Replies: 10
    Last Post: 2015-09-08, 14:04
  5. Updating kali distribution problem
    By art3m in forum General Archive
    Replies: 1
    Last Post: 2013-12-16, 09:11

Posting Permissions

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