Partage
  • Partager sur Facebook
  • Partager sur Twitter

Probleme d'installation

    9 septembre 2017 à 17:51:56

    Bonjour a tous,

    J'ai quelque soucis d'installation avec apt-get

    Je souhaiterais installer build-essential du Kali linux avec cette command :

    root@Weed:~# apt-get install build-essential
    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:
     build-essential : Depends: libc6-dev but it is not going to be installed or
                                libc-dev
                       Depends: gcc (>= 4:4.4.3) but it is not going to be installed
                       Depends: g++ (>= 4:4.4.3) but it is not going to be installed
                       Depends: dpkg-dev (>= 1.13.5) but it is not going to be installed
    E: Unable to correct problems, you have held broken packages.
    root@Weed:~# aptitude why-not build-essential
    W: Ignoring Provides line with DepCompareOp for package libapt-pkg
    W: Ignoring Provides line with DepCompareOp for package libapt-inst
    W: Ignoring Provides line with DepCompareOp for package libjpeg62
    W: You may want to update the package lists to correct these missing files

     en cherchant sur un forum je suis tomber sur cette command :

    root@Weed:~# sudo apt-get install build-essential libxslt1.1 libxslt1-dev libxml2 ruby-full mysql-server libmysqlclient-dev libmysql-ruby libssl-dev libopenssl-ruby libcurl4-openssl-dev imagemagick libmagickwand-dev git-core redis-server libffi-dev libffi-ruby rubygems libsqlite3-dev libpq-dev libreadline5 openjdk-7-jre nodejs libncurses5-dev openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libyaml-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev libgdbm-dev ncurses-dev automake libtool bison subversion pkg-config
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Note, selecting 'libruby' instead of 'libopenssl-ruby'
    Note, selecting 'libxslt1-dev' instead of 'libxslt-dev'
    Note, selecting 'libncurses5-dev' instead of 'ncurses-dev'
    curl is already the newest version (7.26.0-1+wheezy13).
    libmysqlclient-dev is already the newest version (5.6.37-1debian7).
    mysql-server is already the newest version (5.6.37-1debian7).
    nodejs is already the newest version (6.11.3-1nodesource1).
    zlib1g is already the newest version (1:1.2.8.dfsg-2+b1).
    libxml2 is already the newest version (2.9.4+dfsg1-1+b1).
    libxml2 set to manually installed.
    libxslt1.1 is already the newest version (1.1.29-1).
    libxslt1.1 set to manually installed.
    openssl is already the newest version (1.0.2h-1).
    openssl set to manually installed.
    libreadline6 is already the newest version (6.3-8+b4).
    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:
     build-essential : Depends: gcc (>= 4:4.4.3) but it is not going to be installed
                       Depends: g++ (>= 4:4.4.3) but it is not going to be installed
                       Depends: dpkg-dev (>= 1.13.5) but it is not going to be installed
     libc6-dev : Depends: libc6 (= 2.13-38+deb7u10) but 2.23-5 is to be installed
                 Depends: libc-dev-bin (= 2.13-38+deb7u10) but it is not going to be installed
     libcurl4-openssl-dev : Depends: libidn11-dev but it is not going to be installed
                            Depends: libkrb5-dev but it is not going to be installed
                            Depends: libldap2-dev but it is not going to be installed
                            Depends: librtmp-dev but it is not going to be installed
                            Depends: libssh2-1-dev but it is not going to be installed
     libgdbm-dev : Depends: libgdbm3 (= 1.8.3-11) but 1.8.3-14 is to be installed
     libmagickwand-dev : Depends: libmagickcore5-extra (= 8:6.7.7.10-5+deb7u4) but it is not going to be installed
                         Depends: libmagickcore-dev (= 8:6.7.7.10-5+deb7u4) but it is not going to be installed
     libncurses5-dev : Depends: libtinfo5 (= 5.9-10) but 6.0+20160625-1 is to be installed
                       Depends: libncurses5 (= 5.9-10) but 6.0+20160625-1 is to be installed
                       Depends: libtinfo-dev (= 5.9-10) but it is not going to be installed
                       Depends: ncurses-bin (= 5.9-10) but 6.0+20160625-1 is to be installed
     libpq-dev : Depends: libkrb5-dev but it is not going to be installed
                 Depends: comerr-dev but it is not going to be installed
     libreadline6-dev : Depends: libreadline6 (= 6.2+dfsg-0.1) but 6.3-8+b4 is to be installed
                        Depends: libtinfo-dev but it is not going to be installed
     libsqlite3-dev : Depends: libsqlite3-0 (= 3.7.13-1+deb7u2) but 3.14.1-1 is to be installed
     libxml2-dev : Depends: libxml2 (= 2.8.0+dfsg1-7+wheezy5) but 2.9.4+dfsg1-1+b1 is to be installed
     libxslt1-dev : Depends: libxslt1.1 (= 1.1.26-14.1) but 1.1.29-1 is to be installed
     openjdk-7-jre : Depends: openjdk-7-jre-headless (= 7u95-2.6.4-1~deb7u1)
                     Depends: libpango1.0-0 (>= 1.14.0) but it is not going to be installed
                     Depends: libatk-wrapper-java-jni (>= 0.30.4-0ubuntu2) but it is not going to be installed
     sqlite3 : Depends: libsqlite3-0 (= 3.7.13-1+deb7u2) but 3.14.1-1 is to be installed
     zlib1g-dev : Depends: zlib1g (= 1:1.2.7.dfsg-13) but 1:1.2.8.dfsg-2+b1 is to be installed
    E: Unable to correct problems, you have held broken packages.

    Mais Toujours rien

    Voici le Source.list :

    root@Weed:~# cat /etc/apt/sources.list
    # 
    
    # deb cdrom:[Debian GNU/Linux 2016.1 _Kali-rolling_ - Official Snapshot i386 LIVE/INSTALL Binary 20160830-18:07]/ kali-rolling contrib main non-free
    
    #deb cdrom:[Debian GNU/Linux 2016.1 _Kali-rolling_ - Official Snapshot i386 LIVE/INSTALL Binary 20160830-18:07]/ kali-rolling contrib main non-free
    deb http://ftp.fr.debian.org/debian wheezy main
    deb http://ftp.debian.org/debian wheezy-backports main contrib non-free
    deb http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main
    deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu precise main

    la question est : Pouvez vous m'aidez a installer ces fichus packs s'il vous plait ?

    merci d'avance pour vos reponses

    • Partager sur Facebook
    • Partager sur Twitter
      10 septembre 2017 à 10:20:39

      Bonjour,

      Tout d'abord pourquoi Kali Linux (cf ma signature)? Ensuite essayer de lancer :

      sudo apt-get install -f

      • Partager sur Facebook
      • Partager sur Twitter
        10 septembre 2017 à 11:30:54

        Salut

        Pour faire court , tu as flingué ta distrib en rajoutant dans ton "source.list" des dépôts non supportés par Kali.

        Je te conseille vivement de lire ces deux liens :

        https://docs.kali.org/introduction/should-i-use-kali-linux

        https://docs.kali.org/general-use/kali-linux-sources-list-repositories

        A plus

        -
        Edité par cjd 10 septembre 2017 à 11:34:22

        • Partager sur Facebook
        • Partager sur Twitter

        Probleme d'installation

        × Après avoir cliqué sur "Répondre" vous serez invité à vous connecter pour que votre message soit publié.
        × Attention, ce sujet est très ancien. Le déterrer n'est pas forcément approprié. Nous te conseillons de créer un nouveau sujet pour poser ta question.
        • Editeur
        • Markdown