Errors with apt-get update apt-get upgrade

Discussion in 'Installation/Configuration' started by Hans, Mar 30, 2006.

  1. Hans

    Hans Moderator

    When i do an apt-get update and a apt-get upgrade on my debian sarge system i receive this error:

    dpkg: syntax error: unknown group `Debian-exim' in statusoverride file
    E: Sub-process /usr/bin/dpkg returned an error code (2)

    What does this mean?

    Who knows?
     
  2. sbovisjb1

    sbovisjb1 HowtoForge Supporter

    Hmmmm

    Its seems to me that you do not have the correct debian-packages installed, or apt-get was somehow corrupted when you tried to install it.

    goto: http://fedoraproject.org/wiki/Tools/Apt and download it.



    su -

    Hit enter. Type your root password. Hit enter. Type:

    yum -y install apt

    Hit enter. Wait for the installation to complete. Type:

    yum -y install synaptic

    Hit enter. Wait for the installation to complete. Type:

    gedit /etc/apt/sources.list.d/dag.list

    Hit enter and gedit will open. If there is nothing in this file (blank page), type the following in gedit:

    # Name: Dag RPM Repository
    # URL: http://dag.wieers.com/apt/

    ### Dag RPM Repository for Fedora Core
    rpm http://apt.sw.be fedora/4/en/i386 dag

    Be sure there is a carriage return (blank line) at the bottom of the file. Click the "save" icon in gedit and then close gedit. While still in the root terminal, type:

    gedit /etc/apt/sources.list.d/freshrpms.list

    Hit enter and gedit will open. If there is nothing in this file (blank page), type the following in gedit:

    # Name: FreshRPMS
    # URL: http://ayo.freshrpms.net/

    ### Fedora Core
    rpm http://ayo.freshrpms.net fedora/linux/4/i386 freshrpms

    Be sure there is a carriage return (blank line) at the bottom of the file. Click the "save" icon in gedit and then close gedit. While still in the root terminal, type:

    gedit /etc/apt/sources.list.d/dries.list

    Hit enter and gedit will open. If there is nothing in this file (blank page), type the following in gedit:

    # Name: Dries RPM Repository
    # URL: http://dries.studentenweb.org/apt/

    ### Fedora Core
    rpm http://apt.sw.be dries/fedora/fc4/i386 dries

    Be sure there is a carriage return (blank line) at the bottom of the file. Click the "save" icon in gedit and then close gedit. While still in the root terminal, type:

    rpm --import http://dries.ulyssis.org/rpm/RPM-GPG-KEY.dries.txt

    Hit enter. Type:

    rpm --import http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt

    Hit enter. Type:

    rpm --import http://freshrpms.net/packages/RPM-GPG-KEY.txt

    Hit enter. You have just imported the GPG keys for your apt repositories. Type:

    apt-get update

    Your apt repository package list will be updated. Close the terminal.
     
  3. falko

    falko Super Moderator

Share This Page