Vraag & Antwoord

OS Linux

apt.conf.rpmnew wijzigen naar apt.conf. Kan dat?

Anoniem
nefertitis
1 antwoord
  • ik heb de volgende actie uitgevoerdt een paar dagen geleden:[code:1:64bf3046ac]apt-get dist-upgrade[/code:1:64bf3046ac]
    waarna allerlei paketten werden geinstalleerdt.

    Nu kreeg ik de volgende melding:
    [code:1:64bf3046ac]2:apt warning: /etc/apt/apt.conf created as
    /etc/apt/apt.conf.rpmnew
    warning: /etc/apt/sources.list created as /etc/apt/sources.list.rpmnew
    ########################################### [ 18%][/code:1:64bf3046ac]

    mag ik de volgende acties nu uitvoeren:
    [code:1:64bf3046ac]mv apt.conf apt.conf.old
    mv apt.conf.rpmnew apt.conf
    mv sources.list sources.list.old
    mv sources.list.rpmnew sources.list[/code:1:64bf3046ac] om alles weer recht te trekken? Of moet ik aannemen dat alles goed staat?
    In apt.conf.rpmnew staat mijns inziens meer relevante info dan in apt.conf

    apt.conf:[code:1:64bf3046ac]// User customizable configuration

    RPM
    {
    // Uncomment to disable GPG-signature checking for packages
    // GPG-Check "false";
    // Uncomment to prevent kernel being handled along with (dist-)upgrade
    // Upgrade-Kernel "false";
    // Uncomment to hold packages with modified config files in (dist-)upgrade
    // Preserve-Config "true";
    Allow-Duplicated { "^gpg-pubkey$";
    };

    // Options for the downloading routines
    Acquire
    {
    // Retries "1";
    // http::Proxy "http://user:password@proxy-server.domain.tld:port/";
    // http::Proxy "http://proxy-server.domain.tld:port/";
    };

    // Automatically written by your friendly first-time druid…
    Apt::State::FirstRun "false";[/code:1:64bf3046ac]

    apt.conf.rpmnew:[code:1:64bf3046ac]// $Id: apt.conf,v 1.10 2003/06/16 10:22:32 dude Exp $
    // See the apt.conf(5) man page for syntax and all available options

    APT {
    Clean-Installed "false";
    Get {
    Assume-Yes "false";
    Download-Only "false";
    Show-Upgraded "true";
    Fix-Broken "false";
    Ignore-Missing "false";
    Compile "false";
    };
    };

    Acquire {
    Retries "0";
    Http {
    Proxy ""; // http://user:pass@host:port/
    }
    };

    RPM {
    Ignore { };
    Hold { };
    Allow-Duplicated { "^kernel$"; "^kernel-smp$"; "^kernel-bigmem$"; "^kernel-source$"; "^gpg-pubkey$" };
    Options { };
    Install-Options "";
    Erase-Options "";
    Source {
    Build-Command "rpmbuild –rebuild";
    };
    };

    [/code:1:64bf3046ac]

Beantwoord deze vraag

Dit is een gearchiveerde pagina. Antwoorden is niet meer mogelijk.