meuhlavache1 a écrit 4 commentaires

  • [^] # Re: apt-get -f install

    Posté par  . En réponse au message Probleme APT après MAJ etch => lenny. Évalué à 2.

    Merci ça marche :)
    Tu peux m'expliquer quelle était la nature exacte du probleme stp?
    (Simple curiosité)
  • [^] # Re: apt-get -f install

    Posté par  . En réponse au message Probleme APT après MAJ etch => lenny. Évalué à 1.

    Un peu plus de précisions sur le script en question:
    
    TOTO:/home/olivier# cat -n /var/lib/dpkg/info/libapache-mod-php5.prerm
         1  #!/bin/sh
         2
         3  set -e
         4
         5
         6
         7  if [ "$1" != "remove" -a "$1" != "purge" ]; then
         8          exit 0
         9  fi
        10
        11  for i in apache apache-ssl apache-perl; do
        12          if [ -e /etc/$i/httpd.conf ]; then
        13                  apache-modconf $i disable mod_php5 quiet
        14          fi
        15  done
        16
        17  exit 0
    
    
    
  • [^] # Re: apt-get -f install

    Posté par  . En réponse au message Probleme APT après MAJ etch => lenny. Évalué à 1.

    On dirait qu'il n'arrive pas a enlever le paquet PHP:
    TOTO:/home/olivier# apt-get -f install
    Reading package lists... Done
    Building dependency tree... Done
    Correcting dependencies... Done
    The following packages will be REMOVED:
      libapache-mod-php5
    0 upgraded, 0 newly installed, 1 to remove and 528 not upgraded.
    After this operation, 5468kB disk space will be freed.
    Do you want to continue [Y/n]? y
    (Reading database ... 80268 files and directories currently installed.)
    Removing libapache-mod-php5 ...
    /var/lib/dpkg/info/libapache-mod-php5.prerm: line 13: apache-modconf: command not found
    dpkg: error processing libapache-mod-php5 (--remove):
     subprocess pre-removal script returned error exit status 127
    Errors were encountered while processing:
     libapache-mod-php5
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    TOTO:/home/olivier#
    
    
  • [^] # Re: + d'info

    Posté par  . En réponse au message Probleme APT après MAJ etch => lenny. Évalué à 1.

    Salut niol :) contenu de /etc/apt/sources.list :
    # deb cdrom:[Debian GNU/Linux 4.0 r3 _Etch_ - Official i386 NETINST Binary-1 20080218-14:15]/ etch contrib main
    
    #deb cdrom:[Debian GNU/Linux 4.0 r3 _Etch_ - Official i386 NETINST Binary-1 20080218-14:15]/ etch contrib main
    
    deb http://ftp.fr.debian.org/debian/ lenny main non-free
    deb-src http://ftp.fr.debian.org/debian/ lenny main non-free
    
    deb http://security.debian.org/ lenny/updates main contrib
    deb-src http://security.debian.org/ lenny/updates main contrib
    
    #deb http://www.backports.org/debian lenny-backports main contrib non-free
    
    TOTO:/home/olivier# apt-cache policy evince
    evince:
      Installed: 2.20.2-1+b1
      Candidate: 2.20.2-1+b1
      Version table:
     *** 2.20.2-1+b1 0
            500 http://ftp.fr.debian.org lenny/main Packages
            100 /var/lib/dpkg/status