Results 1 to 2 of 2

Thread: Troubleshooting - Kali apt-get upgrade

  1. #1
    Join Date
    2020-Jun
    Posts
    1

    Troubleshooting - Kali apt-get upgrade

    Following the source.list from https://www.kali.org/docs/general-use/updating-kali/

    deb http://http.kali.org/kali kali-rolling main non-free contrib
    deb-src http://http.kali.org/kali kali-rolling main non-free contrib

    I am still having issue updating my kali. The image is from the kali image the pwk course.

    sudo apt full-upgrade -y
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Calculating upgrade... Error!
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    The following information may help to resolve the situation:

    The following packages have unmet dependencies:
    libc6-dev : Breaks: libgcc-8-dev (< 8.4.0-2~) but 8.2.0-4 is to be installed
    E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

    So far i tried to update libgcc-8-dev then it throw me another dependencies error and after going down the rabbit hole the error will go go full circle and back to libgcc-8-dev

    apt install libgcc-8-dev
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    The following information may help to resolve the situation:

    The following packages have unmet dependencies:
    gsettings-desktop-schemas : Breaks: mutter (< 3.31.4) but 3.28.3-1 is to be installed
    libgcc-8-dev : Depends: gcc-8-base (= 8.4.0-4) but 8.2.0-4 is to be installed
    Depends: libmpx2 (>= 8.4.0-4) but 8.2.0-4 is to be installed
    E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.



    Appreciate if anyone can give me some insight.

  2. #2
    Join Date
    2020-Aug
    Posts
    1
    To fix this error you need to install gcc 8, mutter and libmxp2 at the same time, here is the command:

    sudo apt install gcc-8-base mutter libmpx2
    Last edited by waimanto; 2020-09-08 at 20:54.

Similar Threads

  1. big troubleshooting with apt full-upgrade
    By theo_kali in forum TroubleShooting Archive
    Replies: 2
    Last Post: 2023-03-25, 04:21
  2. Replies: 1
    Last Post: 2022-08-01, 01:31
  3. Replies: 0
    Last Post: 2020-12-10, 23:21
  4. Troubleshooting - Upgrade Metasploit 404 Not Found
    By suduma in forum TroubleShooting Archive
    Replies: 7
    Last Post: 2015-07-30, 17:00

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
  •