Find the answer to your Linux question:
Results 1 to 8 of 8
Hi, I want to make an "apt-get -f install" command to install and upgrade some programs (every apg-get install anypackage give me an error) , after changing the lines in ...
  1. #1
    Just Joined!
    Join Date
    Dec 2007
    Posts
    15

    apt-get -f install Error

    Hi, I want to make an "apt-get -f install" command to install and upgrade some programs (every apg-get install anypackage give me an error) , after changing the lines in apt/sources.list i get this error:

    E: Internal Error, Could not early remove e2fsprogs

    Apt-get tells me to use the Option "APT::Force-LoopBreak",
    How do I do that ?
    can I break my system if i do that ?

    Best Regards.
    Nicolas

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Post the contents of /etc/apt/sources.list and /etc/debian_version files.
    Execute this
    Code:
    dpkg --configure -a
    Does it throw any error message?
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Just Joined!
    Join Date
    Dec 2007
    Posts
    15
    hi, here is the sources.list:

    Code:
    # /etc/apt/sources.list for Knoppix
    # If you want to do a "full upgrade", you should first
    # upgrade the Packages from Debian/unstable (KDE & Co.)
    # before doing a (dist-)upgrade for Debian/testing.
    #
    # See sources.list(5) for more information, especialy
    # Remember that you can only use http, ftp or file URIs
    # CDROMs are managed through the apt-cdrom tool.
    
    # Stable
    deb http://sunsite.rediris.es/debian-non-US stable/non-US main contrib non-free
    deb-src http://sunsite.rediris.es/debian-non-US stable/non-US main contrib non-f
    ree
    
    #deb http://sunsite.rediris.es/debian-non-US/dists/stable/non-US  stable main co
    ntrib non-free
    deb http://security.debian.org stable/updates main contrib non-free
    
    # Stable Sources
    # deb-src http://ftp.rediris.es/debian-non-US stable main contrib non-free
    
    deb http://debian.logiclinux.com/debian etch main contrib non-free
    and teh debian_version
    Code:
    root@linux:~# cat /etc/debian_version
    3.1
    Is a Knoppix Distro.

    When I do dpkg --configure -a :
    Code:
    dpkg: problemas de dependencias impiden la configuración de libc6-dev:
     libc6-dev depende de libc6 (= 2.7-5); sin embargo:
      Versión de libc6  en el sistema es 2.3.2.ds1-16.
     libc6-dev depende de linux-libc-dev; sin embargo:
      el paquete linux-libc-dev no está instalado.
    dpkg: error al procesar libc6-dev (--configure):
     problemas de dependencias - se deja sin configurar
    dpkg: problemas de dependencias impiden la configuración de locales:
     locales depende de glibc-2.7-1; sin embargo:
      el paquete glibc-2.7-1 no está instalado.
    dpkg: error al procesar locales (--configure):
     problemas de dependencias - se deja sin configurar
    dpkg: problemas de dependencias impiden la configuración de binutils:
     binutils depende de libc6 (>= 2.6.1-1); sin embargo:
      Versión de libc6  en el sistema es 2.3.2.ds1-16.
    dpkg: error al procesar binutils (--configure):
     problemas de dependencias - se deja sin configurar
    Se encontraron errores al procesar:
     libc6-dev
     locales
     binutils
    Best Regards

  4. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Open sources.list file and put # sign before this line
    Code:
    deb http://debian.logiclinux.com/debian etch main contrib non-free
    Save file and execute this
    Code:
    apt-get clean all
    apt-get update
    apt-get -f install
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  5. #5
    Just Joined!
    Join Date
    Dec 2007
    Posts
    15
    Hi , devils_casper ...
    I have allways the same error:

    Code:
    root@linux:~# apt-get -f install
    Leyendo lista de paquetes... Hecho
    Creando árbol de dependencias... Hecho
    Corrigiendo dependencias... falló.
    Los siguientes paquetes tienen dependencias incumplidas:
      binutils: Depende: libc6 (>= 2.6.1-1) pero 2.3.2.ds1-16 está instalado
      binutils-dev: Depende: binutils (= 2.15-1) pero 2.18.1~cvs20071027-1 está instalado
      libc6-dev: Depende: libc6 (= 2.7-5) pero 2.3.2.ds1-16 está instalado
                 Depende: linux-libc-dev pero no es instalable
      locales: Depende: glibc-2.7-1 pero no es instalable
    E: Error, pkgProblemResolver::Resolve generó cortes, esto puede haber sido causado por paquetes retenidos.
    E: No se puede corregir las dependencias
    I have a problem with libc6, 2.3.2.ds1-16 is installed but binutils needs >= 2.6.1-1 ??

    Regards

  6. #6
    Just Joined!
    Join Date
    Jan 2008
    Posts
    10
    Try apt-get update then apt-get upgrade binutils

  7. #7
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Is there any reason for using Knoppix only? Its not recommended to install Knoppix. Package Manager problem is common in Knoppix. You should install any other distro thats is meant for HD installation only like Debian, Ubuntu or Fedora.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  8. #8
    Just Joined!
    Join Date
    Dec 2007
    Posts
    15
    Quote Originally Posted by devils_casper View Post
    Is there any reason for using Knoppix only? Its not recommended to install Knoppix. Package Manager problem is common in Knoppix. You should install any other distro thats is meant for HD installation only like Debian, Ubuntu or Fedora.
    No, there is no reason, its for my kids, an old PC.
    I choose this because it was the only one that start ...

    Right now I'm downloading a version of debian 4.0R2.

    Best regards

Posting Permissions

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