Erischa
Member
Hallo,
ich möchte nach Anleitung ein apt update von 9.2 auf 9.3 durchführen.
Ich habe alles bis zum Schritt 10 durchgeführt und auf Version 9.3 angepasst.
Bei einem apt update erscheint folgende Fehlermeldung in der Konsole
Meine apt.conf
Die Linie 14 ist das Zeichen "}" am Schluss
hier noch die ältere apt.conf
an was liegt der Fehler beim apt.conf ?
vielen Dank für die Antworten
ich möchte nach Anleitung ein apt update von 9.2 auf 9.3 durchführen.
Ich habe alles bis zum Schritt 10 durchgeführt und auf Version 9.3 angepasst.
Bei einem apt update erscheint folgende Fehlermeldung in der Konsole
Code:
update # apt update
E: Syntaxfehler /etc/apt/apt.conf.d/apt.conf:14: Unnötiger Müll nach Wert
E: Syntaxfehler /etc/apt/apt.conf.d/apt.conf:14: Unnötiger Müll nach Wert
dhcppc0:~/update #
Meine apt.conf
Code:
// with "apt-config dump" all settings can be viewed
Acquire::CDROM::Copy "true";
Debug
{
pkgRPMPM "false";
}
RPM
{
Hold { "kernel-default"; }; ändern zu // Hold { "kernel-default"; };
...
}
// Directory layout
Dir "/"
{
// Location of the state dir
State "local/state/apt/"
{
lists "lists-9.3/";
status "/local/status";
...
};
// Location of the cache dir
Cache "local/cache/apt/" {
archives "archives-9.3/";
srcpkgcache "srcpkgcache-9.3.bin";
pkgcache "pkgcache-9.3.bin";
};
...
};
Die Linie 14 ist das Zeichen "}" am Schluss
Code:
{
Hold { "kernel-default"; }; ändern zu // Hold { "kernel-default"; };
...
}
hier noch die ältere apt.conf
Code:
// with "apt-config dump" all settings can be viewed
Acquire::CDROM::Copy "true";
Debug
{
pkgRPMPM "false";
}
RPM
{
// Hold (do not update) a list with pkgs:
Hold { "kernel-default"; "kernel-source"; };
Hold { "kernel-smp"; kernel-default"; "kernel-source");
// Leave list empty to disable
Ignore {"gpg-pubkey"; };
Options { };
Install-Options "";
Erase-Options "";
Source {
Build-Command "rpmbuild --rebuild";
};
}// Directory layout
Dir "/"
{
// Location of the state dir
State "local/state/apt/"
{
lists "lists-9.3/";
status "/local/status";
...
};
// Location of the cache dir
Cache "local/cache/apt/" {
archives "archives-9.3/";
srcpkgcache "srcpkgcache-9.3.bin";
pkgcache "pkgcache-9.3.bin";
};
...
};
an was liegt der Fehler beim apt.conf ?
vielen Dank für die Antworten