skip to Main Content

I’m having trouble with updating my Kali system. Tried apt-get update && apt-get full-upgrade -y and got the below output –

Hit:1 http://packages.microsoft.com/repos/code stable InRelease
Hit:2 https://dl.google.com/linux/chrome/deb stable InRelease                                   
Hit:3 https://repo.protonvpn.com/debian stable InRelease                                        
Hit:4 http://mirror.vinehost.net/kali kali-rolling InRelease                                    
Hit:5 https://ngrok-agent.s3.amazonaws.com buster InRelease   
Reading package lists... Done                                 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 coinor-libcoinmp1v5 : Depends: coinor-libcbc3.1 (>= 2.10.10+really2.10.10+ds1) but it is not installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

tried apt –fix-broken install and the same error

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  coinor-libcbc3 libcolamd2 libsuitesparseconfig5
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  coinor-libcbc3.1
The following NEW packages will be installed:
  coinor-libcbc3.1
0 upgraded, 1 newly installed, 0 to remove and 291 not upgraded.
3 not fully installed or removed.
Need to get 0 B/728 kB of archives.
After this operation, 2,364 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 553287 files and directories currently installed.)
Preparing to unpack .../coinor-libcbc3.1_2.10.10+really2.10.10+ds1-2_amd64.deb ...
Unpacking coinor-libcbc3.1:amd64 (2.10.10+really2.10.10+ds1-2) ...
dpkg: error processing archive /var/cache/apt/archives/coinor-libcbc3.1_2.10.10+really2.10.10+ds1
-2_amd64.deb (--unpack):
 trying to overwrite '/usr/lib/x86_64-linux-gnu/libCbc.so.3.10.10', which is also in package coin
or-libcbc3:amd64 2.10.10+ds1-1
Errors were encountered while processing:
 /var/cache/apt/archives/coinor-libcbc3.1_2.10.10+really2.10.10+ds1-2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Tried auto remove, clean and auto clean and its not fixing the problem.

Also tried sudo dpkg –configure -a and no fixes there –

dpkg: dependency problems prevent configuration of coinor-libcoinmp1v5:amd64:
 coinor-libcoinmp1v5:amd64 depends on coinor-libcbc3.1 (>= 2.10.10+really2.10.10+ds1); however:
  Package coinor-libcbc3.1:amd64 is not installed.

dpkg: error processing package coinor-libcoinmp1v5:amd64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libreoffice-calc:
 libreoffice-calc depends on coinor-libcoinmp1v5 (>= 1.8.3-3); however:
  Package coinor-libcoinmp1v5:amd64 is not configured yet.

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

dpkg: error processing package libreoffice (--configure):
 dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.37-5) ...
Errors were encountered while processing:
 coinor-libcoinmp1v5:amd64
 libreoffice-calc
 libreoffice

tried removing and purging all those packages but not working.

any help would be appreciated.

2

Answers


  1. sudo dpkg -r coinor-libcbc3
    sudo apt --fix-broken install
    sudo apt upgrade
    sudo apt update
    
    Login or Signup to reply.
  2. As far I know there was a conflict between coinor-libcbc3 and coinor-libcbc3.1. So just remove the previous package : sudo dpkg -r coinor-libcbc3
    Then fix broken packages and update & upgrade …That’s it > sudo apt –fix-broken install
    sudo apt upgrade
    sudo apt update

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search