add Dir::State::Status to apt config for apt << 1.3

pull/1/head
parent dd5214a8c8
commit 14d3a4e30f
Signed by: josch
GPG Key ID: F2CBA5C78FBD83E1

@ -949,6 +949,8 @@ sub setup {
print $conf "Apt::Architectures \"$options->{nativearch}\";\n";
}
print $conf "Dir \"$options->{root}\";\n";
# not needed anymore for apt 1.3 and newer
print $conf "Dir::State::Status \"$options->{root}/var/lib/dpkg/status\";\n";
# for authentication, use the keyrings from the host
print $conf "Dir::Etc::Trusted \"/etc/apt/trusted.gpg\";\n";
print $conf "Dir::Etc::TrustedParts \"/etc/apt/trusted.gpg.d\";\n";

Loading…
Cancel
Save