# Swedish translation of the debconf manual pages.
# This file is distributed under the same license as debconf.
# Jonatan Nyberg, 2026.
#
msgid ""
msgstr ""
"Project-Id-Version: debconf 1.5.92\n"
"Report-Msgid-Bugs-To: debconf@packages.debian.org\n"
"POT-Creation-Date: 2024-01-21 19:23+0000\n"
"PO-Revision-Date: 2026-11-21 11:01+0200\n"
"Last-Translator: Jonatan Nyberg\n"
"Language-Team: Swedish <debian-l10n-swedish@lists.debian.org>\n"
"Language: sv\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#. type: SH
#: ../../debconf:3 ../../Debconf/Client/ConfModule.pm:3
#: ../../debconf-apt-progress:3 ../../debconf-escape:3
#: ../../debconf-communicate:3 ../../debconf-copydb:3 ../../debconf-getlang:3
#: ../../debconf-get-selections:3 ../../debconf-loadtemplate:3
#: ../../debconf-mergetemplate:3 ../../debconf-set-selections:3
#: ../../debconf-show:3 ../../dpkg-preconfigure:3 ../../dpkg-reconfigure:3
#: debconf.conf.5:2 confmodule.3:2 debconf.7:2 debconf-devel.7:2
#, no-wrap
msgid "NAME"
msgstr "NAMN"

#. type: textblock
#: ../../debconf:5
msgid "debconf - run a debconf-using program"
msgstr "debconf - kör ett program som använder debconf"

#. type: SH
#: ../../debconf:9 ../../Debconf/Client/ConfModule.pm:7
#: ../../debconf-apt-progress:7 ../../debconf-escape:7
#: ../../debconf-communicate:9 ../../debconf-copydb:17
#: ../../debconf-getlang:16 ../../debconf-get-selections:7
#: ../../debconf-loadtemplate:14 ../../debconf-mergetemplate:17
#: ../../debconf-set-selections:7 ../../debconf-show:7
#: ../../dpkg-preconfigure:7 ../../dpkg-reconfigure:7 debconf.conf.5:12
#: confmodule.3:4
#, no-wrap
msgid "SYNOPSIS"
msgstr "SYNOPSIS"

#. type: verbatim
#: ../../debconf:11
#, no-wrap
msgid ""
" debconf [options] command [args]\n"
"\n"
msgstr ""
" debconf [flaggor] kommando [argument]\n"
"\n"

#. type: SH
#: ../../debconf:13 ../../Debconf/Client/ConfModule.pm:20
#: ../../debconf-apt-progress:15 ../../debconf-escape:12
#: ../../debconf-communicate:13 ../../debconf-copydb:30
#: ../../debconf-getlang:21 ../../debconf-get-selections:11
#: ../../debconf-loadtemplate:18 ../../debconf-mergetemplate:21
#: ../../debconf-set-selections:12 ../../debconf-show:13
#: ../../dpkg-preconfigure:13 ../../dpkg-reconfigure:11 debconf.conf.5:4
#: confmodule.3:12 debconf.7:4 debconf-devel.7:4
#, no-wrap
msgid "DESCRIPTION"
msgstr "BESKRIVNING"

#. type: textblock
#: ../../debconf:15
msgid ""
"Debconf is a configuration system for Debian packages. For a debconf "
"overview and documentation for sysadmins, see L<debconf(7)> (in the debconf-"
"doc package)."
msgstr ""
"Debconf är ett system för konfigurering av Debianpaket. En översikt över "
"debconf och dokumentation för systemadministratörer finns i L<debconf(7)> (i"
" paketet debconf-doc)."

#. type: textblock
#: ../../debconf:19
msgid ""
"The B<debconf> program runs a program under debconf's control, setting it up"
" to talk with debconf on stdio. The program's output is expected to be "
"debconf protocol commands, and it is expected to read result codes on stdin."
" See L<debconf-devel(7)> for details about the debconf protocol."
msgstr ""
"B<debconf> startar ett program och ansluter dess standardströmmar till "
"debconf. Programmet förväntas skriva kommandon i debconf-protokollet till "
"standardutmatningen och läsa returkoder från standardinmatningen. Mer "
"information om protokollet finns i L<debconf-devel(7)>."

#. type: textblock
#: ../../debconf:24
msgid ""
"The command to be run under debconf must be specified in a way that will let"
" your PATH find it."
msgstr ""
"Ange kommandot som ska köras under debconf så att det går att hitta med "
"hjälp av PATH."

#. type: textblock
#: ../../debconf:27
msgid ""
"This command is not the usual way that debconf is used. It's more typical "
"for debconf to be used via L<dpkg-preconfigure(8)> or L<dpkg-"
"reconfigure(8)>."
msgstr ""
"Det är ovanligt att anropa debconf med det här kommandot. Oftast används "
"debconf via L<dpkg-preconfigure(8)> eller L<dpkg-reconfigure(8)>."

#. type: =head1
#: ../../debconf:30 ../../debconf-apt-progress:43 ../../debconf-copydb:36
#: ../../debconf-mergetemplate:45 ../../debconf-set-selections:56
#: ../../debconf-show:24 ../../dpkg-preconfigure:20 ../../dpkg-reconfigure:21
msgid "OPTIONS"
msgstr "FLAGGOR"

#. type: =item
#: ../../debconf:34
msgid "B<-o>I<package>, B<--owner=>I<package>"
msgstr "B<-o>I<paket>, B<--owner=>I<paket>"

#. type: textblock
#: ../../debconf:36
msgid ""
"Tell debconf what package the command it is running is a part of. This is "
"necessary to get ownership of registered questions right, and to support "
"unregister and purge commands properly."
msgstr ""
"Ange vilket paket kommandot som debconf kör tillhör. Då får registrerade "
"frågor rätt ägare och kommandona för att avregistrera frågor och rensa "
"paketdata fungerar som avsett."

#. type: =item
#: ../../debconf:40 ../../dpkg-preconfigure:24 ../../dpkg-reconfigure:25
msgid "B<-f>I<type>, B<--frontend=>I<type>"
msgstr "B<-f>I<typ>, B<--frontend=>I<typ>"

#. type: textblock
#: ../../debconf:42 ../../dpkg-preconfigure:26
msgid "Select the frontend to use."
msgstr "Välj vilket gränssnitt som ska användas."

#. type: =item
#: ../../debconf:44 ../../dpkg-preconfigure:28 ../../dpkg-reconfigure:36
msgid "B<-p>I<value>, B<--priority=>I<value>"
msgstr "B<-p>I<värde>, B<--priority=>I<värde>"

#. type: textblock
#: ../../debconf:46
msgid "Specify the minimum priority of question that will be displayed."
msgstr "Ange lägsta prioritet för de frågor som ska visas."

#. type: =item
#: ../../debconf:48 ../../dpkg-preconfigure:34 ../../dpkg-reconfigure:42
msgid "B<--terse>"
msgstr "B<--terse>"

#. type: textblock
#: ../../debconf:50 ../../dpkg-preconfigure:36 ../../dpkg-reconfigure:44
msgid "Enables terse output mode. This affects only some frontends."
msgstr "Ger kortfattad utmatning. Det påverkar bara vissa gränssnitt."

#. type: =head1
#: ../../debconf:54 ../../debconf-apt-progress:107 ../../debconf-copydb:75
#: ../../debconf-set-selections:47
msgid "EXAMPLES"
msgstr "EXEMPEL"

#. type: textblock
#: ../../debconf:56
msgid "To debug a shell script that uses debconf, you might use:"
msgstr "Så här kan du felsöka ett skalskript som använder debconf:"

#. type: verbatim
#: ../../debconf:58
#, no-wrap
msgid ""
" DEBCONF_DEBUG=developer debconf my-shell-prog\n"
"\n"
msgstr ""
" DEBCONF_DEBUG=developer debconf my-shell-prog\n"
"\n"

#. type: textblock
#: ../../debconf:60
msgid "Or, you might use this:"
msgstr "Du kan också använda:"

#. type: verbatim
#: ../../debconf:62
#, no-wrap
msgid ""
" debconf --frontend=readline sh -x my-shell-prog\n"
"\n"
msgstr ""
" debconf --frontend=readline sh -x my-shell-prog\n"
"\n"

#. type: SH
#: ../../debconf:64 ../../Debconf/Client/ConfModule.pm:154
#: ../../debconf-escape:21 ../../debconf-communicate:39
#: ../../debconf-copydb:102 ../../debconf-getlang:74
#: ../../debconf-loadtemplate:31 ../../debconf-mergetemplate:61
#: ../../debconf-set-selections:70 ../../dpkg-preconfigure:59
#: ../../dpkg-reconfigure:77 debconf.conf.5:537 confmodule.3:36 debconf.7:376
#: debconf-devel.7:958
#, no-wrap
msgid "SEE ALSO"
msgstr "SE ÄVEN"

#. type: textblock
#: ../../debconf:66
msgid "L<debconf-devel(7)>, L<debconf(7)>"
msgstr "L<debconf-devel(7)>, L<debconf(7)>"

#. type: SH
#: ../../debconf:117 ../../Debconf/Client/ConfModule.pm:159
#: ../../debconf-escape:72 ../../debconf-communicate:74
#: ../../debconf-copydb:175 ../../debconf-getlang:256
#: ../../debconf-get-selections:78 ../../debconf-loadtemplate:48
#: ../../debconf-mergetemplate:181 ../../debconf-set-selections:226
#: ../../debconf-show:152 ../../dpkg-preconfigure:258
#: ../../dpkg-reconfigure:309 debconf.conf.5:539 confmodule.3:42 debconf.7:382
#: debconf-devel.7:968
#, no-wrap
msgid "AUTHOR"
msgstr "FÖRFATTARE"

#. type: textblock
#: ../../debconf:119 ../../Debconf/Client/ConfModule.pm:161
#: ../../debconf-apt-progress:658 ../../debconf-communicate:76
#: ../../debconf-copydb:177 ../../debconf-getlang:258
#: ../../debconf-loadtemplate:50 ../../debconf-mergetemplate:183
#: ../../dpkg-preconfigure:260 ../../dpkg-reconfigure:311
msgid "Joey Hess <joeyh@debian.org>"
msgstr "Joey Hess <joeyh@debian.org>"

#. type: textblock
#: ../../Debconf/Client/ConfModule.pm:5
msgid "Debconf::Client::ConfModule - client module for ConfModules"
msgstr "Debconf::Client::ConfModule - klientmodul för konfigurationsmoduler"

#. type: verbatim
#: ../../Debconf/Client/ConfModule.pm:9
#, no-wrap
msgid ""
" use Debconf::Client::ConfModule ':all';\n"
" version('2.0');\n"
" my $capb=capb('backup');\n"
" input(\"medium\", \"foo/bar\");\n"
" my @ret=go();\n"
" if ($ret[0] == 30) {\n"
" \t# Back button pressed.\n"
" \t...\n"
" }\n"
" ...\n"
"\n"
msgstr ""
" use Debconf::Client::ConfModule ':all';\n"
" version('2.0');\n"
" my $capb=capb('backup');\n"
" input(\"medium\", \"foo/bar\");\n"
" my @ret=go();\n"
" if ($ret[0] == 30) {\n"
" \t# Användaren tryckte på Tillbaka.\n"
" \t...\n"
" }\n"
" ...\n"
"\n"

#. type: textblock
#: ../../Debconf/Client/ConfModule.pm:22
msgid ""
"This is a module to ease writing ConfModules for Debian's configuration "
"management system. It can communicate with a FrontEnd via the debconf "
"protocol (which is documented in full in the debconf_specification in Debian"
" policy)."
msgstr ""
"Den här modulen förenklar arbetet med att skriva konfigurationsmoduler för "
"Debians konfigurationssystem. Den kan kommunicera med ett gränssnitt via "
"debconf-protokollet, som beskrivs i sin helhet i debconf_specification i "
"Debians policymanual."

#. type: textblock
#: ../../Debconf/Client/ConfModule.pm:27
msgid ""
"The design is that each command in the protocol is represented by one "
"function in this module (with the name lower-cased).  Call the function and "
"pass in any parameters you want to follow the command. If the function is "
"called in scalar context, it will return any textual return code. If it is "
"called in list context, an array consisting of the numeric return code and "
"the textual return code will be returned."
msgstr ""
"Varje kommando i protokollet har en motsvarande funktion i modulen, med "
"namnet skrivet med små bokstäver. Anropa funktionen med de parametrar som "
"ska följa efter kommandot. I skalärkontext returnerar funktionen returkodens"
" textdel, om det finns en sådan. I listkontext returnerar den en lista med "
"den numeriska returkoden och dess textdel."

#. type: textblock
#: ../../Debconf/Client/ConfModule.pm:34
msgid ""
"This module uses Exporter to export all functions it defines. To import "
"everything, simply import \":all\"."
msgstr ""
"Modulen använder Exporter för att exportera alla funktioner den definierar. "
"Importera ”:all” för att importera samtliga."

#. type: =item
#: ../../Debconf/Client/ConfModule.pm:62
msgid "import"
msgstr "import"

#. type: textblock
#: ../../Debconf/Client/ConfModule.pm:64
msgid ""
"Ensure that a FrontEnd is running.  It's a little hackish. If "
"DEBIAN_HAS_FRONTEND is set, a FrontEnd is assumed to be running.  If not, "
"one is started up automatically and stdin and out are connected to it. Note "
"that this function is always run when the module is loaded in the usual way."
msgstr ""
"Ser till att ett gränssnitt körs. Funktionen använder en enkel genväg: om "
"DEBIAN_HAS_FRONTEND är satt förutsätter den att ett gränssnitt redan körs. "
"Annars startar den ett gränssnitt och kopplar standardinmatningen och "
"standardutmatningen till det. Funktionen körs alltid när modulen läses in på"
" vanligt sätt."

#. type: =item
#: ../../Debconf/Client/ConfModule.pm:95
msgid "stop"
msgstr "stop"

#. type: textblock
#: ../../Debconf/Client/ConfModule.pm:97
msgid ""
"The frontend doesn't send a return code here, so we cannot try to read it or"
" we'll block."
msgstr ""
"Gränssnittet skickar ingen returkod här. Ett försök att läsa en sådan skulle"
" därför blockera anropet."

#. type: =item
#: ../../Debconf/Client/ConfModule.pm:107
msgid "AUTOLOAD"
msgstr "AUTOLOAD"

#. type: textblock
#: ../../Debconf/Client/ConfModule.pm:109
msgid "Creates handler functions for commands on the fly."
msgstr "Skapar funktioner för att hantera kommandona när de behövs."

#. type: textblock
#: ../../Debconf/Client/ConfModule.pm:156
msgid ""
"The debconf specification (/usr/share/doc/debian-"
"policy/debconf_specification.txt.gz)."
msgstr ""
"Specifikationen för debconf (/usr/share/doc/debian-"
"policy/debconf_specification.txt.gz)."

#. type: textblock
#: ../../debconf-apt-progress:5
msgid ""
"debconf-apt-progress - install packages using debconf to display a progress "
"bar"
msgstr ""
"debconf-apt-progress - installera paket och visa en förloppsindikator med "
"debconf"

#. type: verbatim
#: ../../debconf-apt-progress:9
#, no-wrap
msgid ""
" debconf-apt-progress [--] command [args ...]\n"
" debconf-apt-progress --config\n"
" debconf-apt-progress --start\n"
" debconf-apt-progress --from waypoint --to waypoint [--] command [args ...]\n"
" debconf-apt-progress --stop\n"
"\n"
msgstr ""
" debconf-apt-progress [--] kommando [argument ...]\n"
" debconf-apt-progress --config\n"
" debconf-apt-progress --start\n"
" debconf-apt-progress --from läge --to läge [--] kommando [argument ...]\n"
" debconf-apt-progress --stop\n"
"\n"

#. type: textblock
#: ../../debconf-apt-progress:17
msgid ""
"B<debconf-apt-progress> installs packages using debconf to display a "
"progress bar. The given I<command> should be any command-line apt frontend; "
"specifically, it must send progress information to the file descriptor "
"selected by the C<APT::Status-Fd> configuration option, and must keep the "
"file descriptors nominated by the C<APT::Keep-Fds> configuration option open"
" when invoking debconf (directly or indirectly), as those file descriptors "
"will be used for the debconf passthrough protocol."
msgstr ""
"B<debconf-apt-progress> installerar paket och visar en förloppsindikator med"
" debconf. Angivet I<kommando> ska vara ett kommandoradsgränssnitt för apt. "
"Det måste rapportera förloppet via den filbeskrivare som anges med "
"inställningen C<APT::Status-Fd>. Det måste också hålla de filbeskrivare som "
"anges med C<APT::Keep-Fds> öppna när det anropar debconf, direkt eller "
"indirekt. Dessa används för debconfs protokoll för vidarebefordran."

#. type: textblock
#: ../../debconf-apt-progress:25
msgid ""
"The arguments to the command you supply should generally include B<-y> (for "
"B<apt-get> or B<aptitude>) or similar to avoid the apt frontend prompting "
"for input. B<debconf-apt-progress> cannot do this itself because the "
"appropriate argument may differ between apt frontends."
msgstr ""
"Ange normalt B<-y> (för B<apt-get> eller B<aptitude>) eller motsvarande "
"bland kommandots argument så att apt-gränssnittet inte väntar på svar från "
"användaren. B<debconf-apt-progress> kan inte lägga till argumentet självt "
"eftersom olika gränssnitt kan använda olika argument."

#. type: textblock
#: ../../debconf-apt-progress:30
msgid ""
"The B<--start>, B<--stop>, B<--from>, and B<--to> options may be used to "
"create a progress bar with multiple segments for different stages of "
"installation, provided that the caller is a debconf confmodule. The caller "
"may also interact with the progress bar itself using the debconf protocol if"
" it so desires."
msgstr ""
"Med flaggorna B<--start>, B<--stop>, B<--from> och B<--to> kan du dela in "
"förloppsindikatorn i segment för installationens olika steg. Det förutsätter"
" att anroparen är en konfigurationsmodul för debconf. Anroparen kan också "
"styra förloppsindikatorn direkt via debconf-protokollet."

#. type: textblock
#: ../../debconf-apt-progress:36
msgid ""
"debconf locks its config database when it starts up, which makes it "
"unfortunately inconvenient to have one instance of debconf displaying the "
"progress bar and another passing through questions from packages being "
"installed. If you're using a multiple-segment progress bar, you'll need to "
"eval the output of the B<--config> option before starting the debconf "
"frontend to work around this. See L<the EXAMPLES section/EXAMPLES> below."
msgstr ""
"Debconf låser konfigurationsdatabasen vid start. Det gör det svårt att låta "
"en instans av debconf visa förloppsindikatorn medan en annan vidarebefordrar"
" frågor från de paket som installeras. Om du använder en förloppsindikator "
"med flera segment måste du därför köra utmatningen från B<--config> med "
"skalets eval innan du startar debconf-gränssnittet. Se L<avsnittet "
"EXEMPEL|/EXEMPEL> nedan."

#. type: =item
#: ../../debconf-apt-progress:47
msgid "B<--config>"
msgstr "B<--config>"

#. type: textblock
#: ../../debconf-apt-progress:49
msgid ""
"Print environment variables necessary to start up a progress bar frontend."
msgstr ""
"Skriv ut de miljövariabler som behövs för att starta ett gränssnitt med "
"förloppsindikator."

#. type: =item
#: ../../debconf-apt-progress:51
msgid "B<--start>"
msgstr "B<--start>"

#. type: textblock
#: ../../debconf-apt-progress:53
msgid ""
"Start up a progress bar, running from 0 to 100 by default. Use B<--from> and"
" B<--to> to use other endpoints."
msgstr ""
"Starta en förloppsindikator. Den går normalt från 0 till 100. Välj andra "
"gränser med B<--from> och B<--to>."

#. type: =item
#: ../../debconf-apt-progress:56
msgid "B<--from> I<waypoint>"
msgstr "B<--from> I<läge>"

#. type: textblock
#: ../../debconf-apt-progress:58
msgid ""
"If used with B<--start>, make the progress bar begin at I<waypoint> rather "
"than 0."
msgstr ""
"Tillsammans med B<--start> anger flaggan att förloppsindikatorn ska börja "
"vid I<läge> i stället för 0."

#. type: textblock
#: ../../debconf-apt-progress:61
msgid ""
"Otherwise, install packages with their progress bar beginning at this "
"\"waypoint\". Must be used with B<--to>."
msgstr ""
"I annat fall anger flaggan vid vilket läge på förloppsindikatorn "
"paketinstallationen ska börja. Den måste då användas tillsammans med "
"B<--to>."

#. type: =item
#: ../../debconf-apt-progress:64
msgid "B<--to> I<waypoint>"
msgstr "B<--to> I<läge>"

#. type: textblock
#: ../../debconf-apt-progress:66
msgid ""
"If used with B<--start>, make the progress bar end at I<waypoint> rather "
"than 100."
msgstr ""
"Tillsammans med B<--start> anger flaggan att förloppsindikatorn ska sluta "
"vid I<läge> i stället för 100."

#. type: textblock
#: ../../debconf-apt-progress:69
msgid ""
"Otherwise, install packages with their progress bar ending at this "
"\"waypoint\". Must be used with B<--from>."
msgstr ""
"I annat fall anger flaggan vid vilket läge på förloppsindikatorn "
"paketinstallationen ska sluta. Den måste då användas tillsammans med "
"B<--from>."

#. type: =item
#: ../../debconf-apt-progress:72
msgid "B<--stop>"
msgstr "B<--stop>"

#. type: textblock
#: ../../debconf-apt-progress:74
msgid "Stop a running progress bar."
msgstr "Stoppa en aktiv förloppsindikator."

#. type: =item
#: ../../debconf-apt-progress:76
msgid "B<--no-progress>"
msgstr "B<--no-progress>"

#. type: textblock
#: ../../debconf-apt-progress:78
msgid ""
"Avoid starting, stopping, or stepping the progress bar. Progress messages "
"from apt, media change events, and debconf questions will still be passed "
"through to debconf."
msgstr ""
"Låt förloppsindikatorn vara oförändrad, utan att starta, stoppa eller flytta"
" fram den. Förloppsmeddelanden från apt, begäranden om mediebyte och "
"debconf-frågor vidarebefordras fortfarande till debconf."

#. type: =item
#: ../../debconf-apt-progress:82
msgid "B<--dlwaypoint> I<percentage>"
msgstr "B<--dlwaypoint> I<procent>"

#. type: textblock
#: ../../debconf-apt-progress:84
msgid ""
"Specify what percent of the progress bar to use for downloading packages.  "
"The remainder will be used for installing packages. The default is to use "
"15% for downloading and the remaining 85% for installing."
msgstr ""
"Ange hur många procent av förloppsindikatorn som ska användas för att hämta "
"paket. Resten används för att installera dem. Standardvärdet är 15 % för "
"hämtning och återstående 85 % för installation."

#. type: =item
#: ../../debconf-apt-progress:88
msgid "B<--logfile> I<file>"
msgstr "B<--logfile> I<fil>"

#. type: textblock
#: ../../debconf-apt-progress:90
msgid "Send the normal output from apt to the given file."
msgstr "Skriv den vanliga utmatningen från apt till den angivna filen."

#. type: =item
#: ../../debconf-apt-progress:92
msgid "B<--logstderr>"
msgstr "B<--logstderr>"

#. type: textblock
#: ../../debconf-apt-progress:94
msgid ""
"Send the normal output from apt to stderr. If you supply neither "
"B<--logfile> nor B<--logstderr>, the normal output from apt will be "
"discarded."
msgstr ""
"Skriv den vanliga utmatningen från apt till standardfelutmatningen. Om du "
"varken anger B<--logfile> eller B<--logstderr> kastas den vanliga "
"utmatningen från apt."

#. type: =item
#: ../../debconf-apt-progress:98
msgid "B<-->"
msgstr "B<-->"

#. type: textblock
#: ../../debconf-apt-progress:100
msgid ""
"Terminate options. Since you will normally need to give at least the B<-y> "
"argument to the command being run, you will usually need to use B<--> to "
"prevent that being interpreted as an option to B<debconf-apt-progress> "
"itself."
msgstr ""
"Avsluta tolkningen av flaggor. Kommandot som körs behöver i regel åtminstone"
" argumentet B<-y>. Använd då B<--> så att argumentet inte tolkas som en "
"flagga till B<debconf-apt-progress> självt."

#. type: textblock
#: ../../debconf-apt-progress:109
msgid ""
"Install the GNOME desktop and an X window system development environment "
"within a progress bar:"
msgstr ""
"Installera GNOME-skrivbordet och en utvecklingsmiljö för fönstersystemet X "
"med en förloppsindikator:"

#. type: verbatim
#: ../../debconf-apt-progress:112
#, no-wrap
msgid ""
" debconf-apt-progress -- aptitude -y install gnome x-window-system-dev\n"
"\n"
msgstr ""
" debconf-apt-progress -- aptitude -y install gnome x-window-system-dev\n"
"\n"

#. type: textblock
#: ../../debconf-apt-progress:114
msgid ""
"Install the GNOME, KDE, and XFCE desktops within a single progress bar, "
"allocating 45% of the progress bar for each of GNOME and KDE and the "
"remaining 10% for XFCE:"
msgstr ""
"Installera skrivbordsmiljöerna GNOME, KDE och Xfce med en gemensam "
"förloppsindikator. Avsätt 45 % vardera för GNOME och KDE och återstående 10 "
"% för Xfce:"

#. type: verbatim
#: ../../debconf-apt-progress:118
#, no-wrap
msgid ""
" #! /bin/sh\n"
" set -e\n"
" case $1 in\n"
"   '')\n"
"     eval \"$(debconf-apt-progress --config)\"\n"
"     \"$0\" debconf\n"
"     ;;\n"
"   debconf)\n"
"     . /usr/share/debconf/confmodule\n"
"     debconf-apt-progress --start\n"
"     debconf-apt-progress --from 0 --to 45 -- apt-get -y install gnome\n"
"     debconf-apt-progress --from 45 --to 90 -- apt-get -y install kde\n"
"     debconf-apt-progress --from 90 --to 100 -- apt-get -y install xfce4\n"
"     debconf-apt-progress --stop\n"
"     ;;\n"
" esac\n"
"\n"
msgstr ""
" #! /bin/sh\n"
" set -e\n"
" case $1 in\n"
"   '')\n"
"     eval \"$(debconf-apt-progress --config)\"\n"
"     \"$0\" debconf\n"
"     ;;\n"
"   debconf)\n"
"     . /usr/share/debconf/confmodule\n"
"     debconf-apt-progress --start\n"
"     debconf-apt-progress --from 0 --to 45 -- apt-get -y install gnome\n"
"     debconf-apt-progress --from 45 --to 90 -- apt-get -y install kde\n"
"     debconf-apt-progress --from 90 --to 100 -- apt-get -y install xfce4\n"
"     debconf-apt-progress --stop\n"
"     ;;\n"
" esac\n"
"\n"

#. type: =head1
#: ../../debconf-apt-progress:135
msgid "RETURN CODE"
msgstr "RETURKOD"

#. type: textblock
#: ../../debconf-apt-progress:137
msgid ""
"The exit code of the specified command is returned, unless the user hit the "
"cancel button on the progress bar. If the cancel button was hit, a value of "
"30 is returned. To avoid ambiguity, if the command returned 30, a value of 3"
" will be returned."
msgstr ""
"Programmet returnerar det angivna kommandots avslutningskod. Om användaren "
"klickar på förloppsindikatorns avbrytknapp returneras i stället 30. För att "
"dessa fall ska kunna skiljas åt returneras 3 om kommandot självt returnerar "
"30."

#. type: =head1
#: ../../debconf-apt-progress:654
msgid "AUTHORS"
msgstr "FÖRFATTARE"

#. type: textblock
#: ../../debconf-apt-progress:656 ../../debconf-escape:74
msgid "Colin Watson <cjwatson@debian.org>"
msgstr "Colin Watson <cjwatson@debian.org>"

#. type: textblock
#: ../../debconf-escape:5
msgid "debconf-escape - helper when working with debconf's escape capability"
msgstr ""
"debconf-escape - hjälpverktyg för debconfs funktion för kontrollsekvenser"

#. type: verbatim
#: ../../debconf-escape:9
#, no-wrap
msgid ""
" debconf-escape -e < unescaped-text\n"
" debconf-escape -u < escaped-text\n"
"\n"
msgstr ""
" debconf-escape -e < text-utan-kontrollsekvenser\n"
" debconf-escape -u < text-med-kontrollsekvenser\n"
"\n"

#. type: textblock
#: ../../debconf-escape:14
msgid ""
"When debconf has the 'escape' capability set, it will expect commands you "
"send it to have backslashes and newlines escaped (as C<\\\\> and C<\\n> "
"respectively) and will in turn escape backslashes and newlines in its "
"replies. This can be used, for example, to substitute multi-line strings "
"into templates, or to get multi-line extended descriptions reliably using "
"C<METAGET>."
msgstr ""
"När funktionen 'escape' är aktiverad i debconf måste kommandon som skickas "
"till debconf ange omvända snedstreck och radbrytningar med "
"kontrollsekvenserna C<\\\\> respektive C<\\n>. Debconf använder samma "
"kontrollsekvenser i sina svar. På så sätt kan till exempel flerradiga "
"strängar infogas i mallar och fullständiga beskrivningar hämtas "
"tillförlitligt med C<METAGET> även om de innehåller radbrytningar."

#. type: textblock
#: ../../debconf-escape:23
msgid "L<debconf-devel(7)> (available in the debconf-doc package)"
msgstr "L<debconf-devel(7)> (finns i paketet debconf-doc)"

#. type: textblock
#: ../../debconf-communicate:5
msgid "debconf-communicate - communicate with debconf"
msgstr "debconf-communicate - kommunicera med debconf"

#. type: verbatim
#: ../../debconf-communicate:11
#, no-wrap
msgid ""
" echo commands | debconf-communicate [options] [package]\n"
"\n"
msgstr ""
" echo kommandon | debconf-communicate [flaggor] [paket]\n"
"\n"

#. type: textblock
#: ../../debconf-communicate:15
msgid ""
"B<debconf-communicate> allows you to communicate with debconf on the fly, "
"from the command line. The package argument is the name of the package which"
" you are pretending to be as you communicate with debconf, and it may be "
"omitted if you are lazy. It reads commands in the form used by the debconf "
"protocol from stdin. For documentation on the available commands and their "
"usage, see the debconf specification."
msgstr ""
"Med B<debconf-communicate> kan du kommunicera direkt med debconf från "
"kommandoraden. Paketargumentet anger vilket paket du uppträder som när du "
"kommunicerar med debconf. Du kan utelämna det. Programmet läser kommandon i "
"debconf-protokollets format från standardinmatningen. Tillgängliga kommandon"
" och hur de används beskrivs i specifikationen för debconf."

#. type: textblock
#: ../../debconf-communicate:22
msgid ""
"The commands are executed in sequence. The textual return code of each is "
"printed out to standard output."
msgstr ""
"Kommandona körs i tur och ordning. Textdelen av varje returkod skrivs till "
"standardutmatningen."

#. type: textblock
#: ../../debconf-communicate:25
msgid ""
"The return value of this program is the numeric return code of the last "
"executed command."
msgstr ""
"Programmets returvärde är den numeriska returkoden för det sist körda "
"kommandot."

#. type: SH
#: ../../debconf-communicate:28 debconf.conf.5:444
#, no-wrap
msgid "EXAMPLE"
msgstr "EXEMPEL"

#. type: verbatim
#: ../../debconf-communicate:30
#, no-wrap
msgid ""
" echo get debconf/frontend | debconf-communicate\n"
"\n"
msgstr ""
" echo get debconf/frontend | debconf-communicate\n"
"\n"

#. type: textblock
#: ../../debconf-communicate:32
msgid "Print out the value of the debconf/frontend question."
msgstr "Skriv ut värdet för frågan debconf/frontend."

#. type: =head1
#: ../../debconf-communicate:34 ../../debconf-loadtemplate:25
#: ../../debconf-set-selections:20
msgid "WARNING"
msgstr "VARNING"

#. type: textblock
#: ../../debconf-communicate:36
msgid ""
"This program should never be used from a maintainer script of a package that"
" uses debconf! It may however, be useful in debugging."
msgstr ""
"Använd aldrig det här programmet i ett underhållsskript för ett paket som "
"använder debconf. Det kan däremot vara användbart vid felsökning."

#. type: textblock
#: ../../debconf-communicate:41
msgid "L<debconf-loadtemplate(1)>"
msgstr "L<debconf-loadtemplate(1)>"

#. type: textblock
#: ../../debconf-copydb:5
msgid "debconf-copydb - copy a debconf database"
msgstr "debconf-copydb - kopiera en debconf-databas"

#. type: verbatim
#: ../../debconf-copydb:19
#, no-wrap
msgid ""
" debconf-copydb sourcedb destdb [--pattern=pattern] [--owner-pattern=pattern] [--config=Foo:bar]\n"
"\n"
msgstr ""
" debconf-copydb källdatabas måldatabas [--pattern=mönster] [--owner-pattern=mönster] [--config=Foo:bar]\n"
"\n"

#. type: textblock
#: ../../debconf-copydb:32
msgid ""
"B<debconf-copydb> copies items from an existing debconf database into "
"another, possibly new database. The two databases may have different "
"formats; if so a conversion will automatically be done."
msgstr ""
"B<debconf-copydb> kopierar poster från en befintlig debconf-databas till en "
"annan databas, som kan vara ny. Om de två databaserna har olika format "
"omvandlas uppgifterna automatiskt."

#. type: =item
#: ../../debconf-copydb:40
msgid "I<sourcedb>"
msgstr "I<källdatabas>"

#. type: textblock
#: ../../debconf-copydb:42
msgid ""
"The name of the source database. Typically it will be defined in your "
"debconf.conf (or .debconfrc) file."
msgstr ""
"Källdatabasens namn. Den är vanligtvis definierad i filen debconf.conf "
"(eller .debconfrc)."

#. type: =item
#: ../../debconf-copydb:45
msgid "I<destdb>"
msgstr "I<måldatabas>"

#. type: textblock
#: ../../debconf-copydb:47
msgid ""
"The name of the destination database. It may be defined in debconf.conf or "
".debconfrc, or you might define it on the command line (see below)."
msgstr ""
"Måldatabasens namn. Du kan definiera den i debconf.conf eller .debconfrc, "
"eller på kommandoraden (se nedan)."

#. type: =item
#: ../../debconf-copydb:51
msgid "B<-p> I<pattern>, B<--pattern> I<pattern>"
msgstr "B<-p> I<mönster>, B<--pattern> I<mönster>"

#. type: textblock
#: ../../debconf-copydb:53
msgid ""
"If this is specified, only items in I<sourcedb> whose names match the "
"pattern will be copied."
msgstr ""
"Om du anger den här flaggan kopieras bara de poster i I<källdatabas> vars "
"namn matchar mönstret."

#. type: =item
#: ../../debconf-copydb:56
msgid "B<--owner-pattern> I<pattern>"
msgstr "B<--owner-pattern> I<mönster>"

#. type: textblock
#: ../../debconf-copydb:58
msgid ""
"If this is specified, only items in I<sourcedb> whose owners match the "
"pattern will be copied."
msgstr ""
"Om du anger den här flaggan kopieras bara de poster i I<källdatabas> vars "
"ägare matchar mönstret."

#. type: =item
#: ../../debconf-copydb:61
msgid "B<-c> I<foo:bar>, B<--config> I<Foo:bar>"
msgstr "B<-c> I<foo:bar>, B<--config> I<Foo:bar>"

#. type: textblock
#: ../../debconf-copydb:63
msgid "Set option Foo to bar. This is similar to writing:"
msgstr ""
"Ge inställningen Foo värdet bar. Det motsvarar att skriva följande i "
"debconf.conf:"

#. type: verbatim
#: ../../debconf-copydb:65
#, no-wrap
msgid ""
"  Foo: bar\n"
"\n"
msgstr ""
"  Foo: bar\n"
"\n"

#. type: textblock
#: ../../debconf-copydb:67
msgid ""
"In debconf.conf, except you probably want to leave off the space on the "
"command line (or quote it: \"Foo: bar\"). Generally must be used multiple "
"times, to build up a full configuration stanza. While blank lines are used "
"to separate stanzas in debconf.conf, this program will assume that "
"\"Name:dbname\" denotes the beginning of a new stanza."
msgstr ""
"På kommandoraden behöver du däremot utelämna mellanslaget eller använda "
"citattecken: \"Foo: bar\". Flaggan måste i regel anges flera gånger för att "
"bilda ett fullständigt konfigurationsstycke. I debconf.conf skiljs styckena "
"åt av tomrader. På kommandoraden tolkar programmet \"Name:dbname\" som "
"början på ett nytt stycke."

#. type: verbatim
#: ../../debconf-copydb:77
#, no-wrap
msgid ""
"  debconf-copydb configdb backup\n"
"\n"
msgstr ""
"  debconf-copydb configdb backup\n"
"\n"

#. type: textblock
#: ../../debconf-copydb:79
msgid ""
"Copy all of configdb to backup, assuming you already have the backup "
"database defined in debconf.conf."
msgstr ""
"Kopiera hela configdb till backup. Detta förutsätter att databasen backup "
"redan har definierats i debconf.conf."

#. type: verbatim
#: ../../debconf-copydb:82
#, no-wrap
msgid ""
"  debconf-copydb configdb newdb --pattern='^slrn/' \\\n"
"  \t--config=Name:newdb --config=Driver:File \\\n"
"\t--config=Filename:newdb.dat\n"
"\n"
msgstr ""
"  debconf-copydb configdb newdb --pattern='^slrn/' \\\n"
"  \t--config=Name:newdb --config=Driver:File \\\n"
"\t--config=Filename:newdb.dat\n"
"\n"

#. type: textblock
#: ../../debconf-copydb:86
msgid ""
"Copy slrn's data out of configdb, and into newdb. newdb is not defined in "
"the rc file, so the --config switches set up the database on the fly."
msgstr ""
"Kopiera uppgifterna för slrn från configdb till newdb. Databasen newdb är "
"inte definierad i konfigurationsfilen, utan anges direkt med flaggorna "
"--config."

#. type: verbatim
#: ../../debconf-copydb:89
#, no-wrap
msgid ""
"  debconf-copydb configdb stdout -c Name:stdout -c Driver:Pipe \\\n"
"  \t-c InFd:none --pattern='^foo/'\n"
"\n"
msgstr ""
"  debconf-copydb configdb stdout -c Name:stdout -c Driver:Pipe \\\n"
"  \t-c InFd:none --pattern='^foo/'\n"
"\n"

#. type: textblock
#: ../../debconf-copydb:92
msgid "Spit out all the items in the debconf database related to package foo."
msgstr "Skriv ut alla poster i debconf-databasen som hör till paketet foo."

#. type: verbatim
#: ../../debconf-copydb:94
#, no-wrap
msgid ""
"  debconf-copydb configdb pipe --config=Name:pipe \\\n"
"                --config=Driver:Pipe --config=InFd:none | \\\n"
"  \tssh remotehost debconf-copydb pipe configdb \\\n"
"\t\t--config=Name:pipe --config=Driver:Pipe\n"
"\n"
msgstr ""
"  debconf-copydb configdb pipe --config=Name:pipe \\\n"
"                --config=Driver:Pipe --config=InFd:none | \\\n"
"  \tssh remotehost debconf-copydb pipe configdb \\\n"
"\t\t--config=Name:pipe --config=Driver:Pipe\n"
"\n"

#. type: textblock
#: ../../debconf-copydb:99
msgid ""
"This uses the special purpose pipe driver to copy a database to a remote "
"system."
msgstr ""
"Här används den särskilda drivrutinen Pipe för att kopiera en databas till "
"ett fjärrsystem."

#. type: textblock
#: ../../debconf-copydb:104
msgid "L<debconf.conf(5)>"
msgstr "L<debconf.conf(5)>"

#. type: textblock
#: ../../debconf-getlang:5
msgid "debconf-getlang - extract a language from a templates file"
msgstr "debconf-getlang - extrahera ett språk ur en mallfil"

#. type: verbatim
#: ../../debconf-getlang:18
#, no-wrap
msgid ""
" debconf-getlang lang master [translation]\n"
" debconf-getlang --stats master translation [...]\n"
"\n"
msgstr ""
" debconf-getlang språk original [översättning]\n"
" debconf-getlang --stats original översättning [...]\n"
"\n"

#. type: textblock
#: ../../debconf-getlang:23
msgid ""
"Note: This utility is deprecated; you should switch to using the po-debconf "
"package."
msgstr "Det här verktyget är föråldrat. Använd i stället paketet po-debconf."

#. type: textblock
#: ../../debconf-getlang:25
msgid ""
"This program helps make and manage translations of debconf templates.  There"
" are basically three situations in which this program might be called:"
msgstr ""
"Programmet hjälper dig att skapa och underhålla översättningar av debconf-"
"mallar. Det används främst i tre situationer:"

#. type: =item
#: ../../debconf-getlang:30
msgid "A translation is just being started."
msgstr "En ny översättning ska påbörjas."

#. type: textblock
#: ../../debconf-getlang:32
msgid ""
"You want to provide the translator with a file they can work on that has the"
" English fields from your templates file, plus blank Field-ll fields for the"
" target language that they can fill in."
msgstr ""
"Du vill ge översättaren en fil som innehåller de engelska fälten från "
"mallfilen och tomma Field-ll-fält att fylla i på målspråket."

#. type: textblock
#: ../../debconf-getlang:36
msgid ""
"To do this, run the program with first parameter being the code for the "
"language that is being translated to, and the second parameter being the "
"filename of the English templates file."
msgstr ""
"Ange målspråkets språkkod som första parameter och namnet på den engelska "
"mallfilen som andra parameter."

#. type: =item
#: ../../debconf-getlang:40
msgid "A translation is well under way."
msgstr "Översättningen är redan påbörjad."

#. type: textblock
#: ../../debconf-getlang:42
msgid ""
"You have changed some English text, or added more items to your templates "
"file, and you want to send the translators a file with the English text plus"
" their current translations (or you are the translator, and you want to "
"generate such a file for your own use)."
msgstr ""
"Du har ändrat den engelska texten eller lagt till poster i mallfilen och "
"vill skicka en fil med både den engelska texten och den befintliga "
"översättningen till översättaren. Du kan också vara översättaren som vill "
"skapa en sådan fil för eget bruk."

#. type: textblock
#: ../../debconf-getlang:47
msgid ""
"To accomplish this, run the program with the first parameter being the the "
"code for the language that is being translated to, the second parameter "
"being the filename of the master English templates file, and the third "
"parameter being the filename of the current translated file."
msgstr ""
"Ange målspråkets språkkod som första parameter, namnet på den engelska "
"originalfilen som andra parameter och namnet på den befintliga "
"översättningsfilen som tredje parameter."

#. type: textblock
#: ../../debconf-getlang:52
msgid ""
"When run this way, the program is smart enough to notice fuzzy translations."
" For example a fuzzy Description will be output as Description-<lang>-fuzzy,"
" and a new, blank Description-<lang> will be added.  Translators should "
"remove the -fuzzy fields as they correct the fuzzy translations."
msgstr ""
"Programmet känner då igen översättningar som behöver granskas. Om exempelvis"
" en Description behöver granskas får fältet namnet Description-<lang>-fuzzy "
"och ett nytt, tomt fält med namnet Description-<lang> läggs till. Ta bort "
"fälten med suffixet -fuzzy allteftersom översättningarna rättas."

#. type: =item
#: ../../debconf-getlang:58
msgid "Checking the status of a translation"
msgstr "Kontrollera hur långt översättningen har kommit"

#. type: textblock
#: ../../debconf-getlang:60
msgid ""
"To check the status of a translation, use the --status flag, and pass the "
"english template file as the first parameter, and all the other translated "
"templates after that. It will output statistics for each of them. For "
"example:"
msgstr ""
"Använd flaggan --stats för att kontrollera översättningens status. Ange den "
"engelska mallfilen som första parameter och därefter alla översatta "
"mallfiler. Programmet skriver ut statistik för varje översättning. Exempel:"

#. type: verbatim
#: ../../debconf-getlang:65
#, no-wrap
msgid ""
"  debconf-getlang --stats debian/templates debian/templates.*\n"
"\n"
msgstr ""
"  debconf-getlang --stats debian/templates debian/templates.*\n"
"\n"

#. type: =head1
#: ../../debconf-getlang:69
msgid "NOTE"
msgstr "ANMÄRKNING"

#. type: textblock
#: ../../debconf-getlang:71
msgid ""
"Note that the text in the generated templates may be word-wrapped by "
"debconf."
msgstr "Debconf kan radbryta texten i de genererade mallarna."

#. type: textblock
#: ../../debconf-getlang:76
msgid "L<debconf-mergetemplate(1)>"
msgstr "L<debconf-mergetemplate(1)>"

#. type: textblock
#: ../../debconf-get-selections:5
msgid "debconf-get-selections - output contents of debconf database"
msgstr "debconf-get-selections - skriv ut innehållet i debconf-databasen"

#. type: textblock
#: ../../debconf-get-selections:9
msgid "debconf-get-selections [--installer]"
msgstr "debconf-get-selections [--installer]"

#. type: textblock
#: ../../debconf-get-selections:13
msgid ""
"Output the current debconf database in a format understandable by debconf-"
"set-selections."
msgstr ""
"Skriver ut den aktuella debconf-databasen i ett format som debconf-set-"
"selections kan läsa."

#. type: textblock
#: ../../debconf-get-selections:16
msgid ""
"To dump the debconf database of the debian-installer, from "
"/var/log/installer/cdebconf, use the --installer parameter."
msgstr ""
"Använd flaggan --installer för att skriva ut debconf-databasen för Debians "
"installationsprogram från /var/log/installer/cdebconf."

#. type: textblock
#: ../../debconf-get-selections:80 ../../debconf-set-selections:228
msgid "Petter Reinholdtsen <pere@hungry.com>"
msgstr "Petter Reinholdtsen <pere@hungry.com>"

#. type: textblock
#: ../../debconf-loadtemplate:5
msgid "debconf-loadtemplate - load template file into debconf database"
msgstr "debconf-loadtemplate - läs in mallfiler i debconf-databasen"

#. type: verbatim
#: ../../debconf-loadtemplate:16
#, no-wrap
msgid ""
" debconf-loadtemplate owner file [file ..]\n"
"\n"
msgstr ""
" debconf-loadtemplate ägare fil [fil ..]\n"
"\n"

#. type: textblock
#: ../../debconf-loadtemplate:20
msgid ""
"Loads one or more template files into the debconf database. The first "
"parameter specifies the owner of the templates (typically, the owner is the "
"name of a debian package). The remaining parameters are template files to "
"load."
msgstr ""
"Läser in en eller flera mallfiler i debconf-databasen. Den första parametern"
" anger mallarnas ägare, vanligtvis namnet på ett Debianpaket. Återstående "
"parametrar anger vilka mallfiler som ska läsas in."

#. type: textblock
#: ../../debconf-loadtemplate:27
msgid ""
"This program should never be used from a maintainer script of a package that"
" uses debconf! It may however, be useful in debugging, or to seed the "
"debconf database."
msgstr ""
"Använd aldrig det här programmet i ett underhållsskript för ett paket som "
"använder debconf. Det kan däremot användas för att felsöka eller för att "
"fylla debconf-databasen med värden i förväg."

#. type: textblock
#: ../../debconf-loadtemplate:33
msgid "L<debconf-communicate(1)>"
msgstr "L<debconf-communicate(1)>"

#. type: textblock
#: ../../debconf-mergetemplate:5
msgid "debconf-mergetemplate - merge together multiple debconf template files"
msgstr "debconf-mergetemplate - slå ihop flera debconf-mallfiler"

#. type: verbatim
#: ../../debconf-mergetemplate:19
#, no-wrap
msgid ""
" debconf-mergetemplate [options] [templates.ll ...] templates\n"
"\n"
msgstr ""
" debconf-mergetemplate [flaggor] [mallar.ll ...] mallar\n"
"\n"

#. type: textblock
#: ../../debconf-mergetemplate:23
msgid ""
"Note: This utility is deprecated. You should switch to using po-debconf's "
"po2debconf program."
msgstr ""
"Det här verktyget är föråldrat. Använd i stället programmet po2debconf från "
"paketet po-debconf."

#. type: textblock
#: ../../debconf-mergetemplate:26
msgid ""
"This program is useful if you have multiple debconf templates files which "
"you want to merge together into one big file. All the specified files will "
"be read in, merged, and output to standard output."
msgstr ""
"Använd programmet för att slå ihop flera debconf-mallfiler till en enda. "
"Alla angivna filer läses in och slås ihop. Resultatet skrivs till "
"standardutmatningen."

#. type: textblock
#: ../../debconf-mergetemplate:30
msgid ""
"This can be especially useful if you are dealing with translated template "
"files. In this case, you might have your main template file, plus several "
"other files provided by the translators. These files will have translated "
"fields in them, and maybe the translators left in the english versions of "
"the fields they translated, for their reference."
msgstr ""
"Detta är särskilt användbart för översatta mallfiler. Utöver huvudmallfilen "
"kan du ha fått flera andra filer från översättarna. De innehåller översatta "
"fält och ibland även de engelska originalfälten som översättarna har "
"behållit som referens."

#. type: textblock
#: ../../debconf-mergetemplate:36
msgid ""
"So, you want to merge together all the translated templates files with your "
"main templates file. Any fields that are unique to the translated files need"
" to be added in to the correct templates, but any fields they have in common"
" should be superseded by the fields in the main file (which might be more "
"up-to-date)."
msgstr ""
"Då behöver de översatta mallfilerna slås ihop med huvudmallfilen. Fält som "
"bara finns i de översatta filerna ska läggas till i motsvarande mall. För "
"fält som också finns i huvudfilen bör värdet i huvudfilen ha företräde, "
"eftersom det kan vara nyare."

#. type: textblock
#: ../../debconf-mergetemplate:42
msgid ""
"This program handles that case properly, just list each of the translated "
"templates files, and then your main templates file last."
msgstr ""
"Programmet gör detta om du anger de översatta mallfilerna först och "
"huvudmallfilen sist."

#. type: =item
#: ../../debconf-mergetemplate:49
msgid "--outdated"
msgstr "--outdated"

#. type: textblock
#: ../../debconf-mergetemplate:51
msgid ""
"Merge in even outdated translations. The default is to drop them with a "
"warning message."
msgstr ""
"Ta även med föråldrade översättningar. Normalt utelämnas de och programmet "
"skriver ut en varning."

#. type: =item
#: ../../debconf-mergetemplate:54
msgid "--drop-old-templates"
msgstr "--drop-old-templates"

#. type: textblock
#: ../../debconf-mergetemplate:56
msgid ""
"If a translation has an entire template that is not in the master file (and "
"thus is probably an old template), drop that entire template."
msgstr ""
"Om en översättning innehåller en hel mall som saknas i huvudfilen och därför"
" troligen är inaktuell, utelämnas hela den mallen."

#. type: textblock
#: ../../debconf-mergetemplate:63
msgid "L<debconf-getlang(1)>"
msgstr "L<debconf-getlang(1)>"

#. type: textblock
#: ../../debconf-set-selections:5
msgid "debconf-set-selections - insert new values into the debconf database"
msgstr "debconf-set-selections - lägg in nya värden i debconf-databasen"

#. type: verbatim
#: ../../debconf-set-selections:9
#, no-wrap
msgid ""
" debconf-set-selections file\n"
" debconf-get-selections | ssh newhost debconf-set-selections\n"
"\n"
msgstr ""
" debconf-set-selections fil\n"
" debconf-get-selections | ssh newhost debconf-set-selections\n"
"\n"

#. type: textblock
#: ../../debconf-set-selections:14
msgid ""
"B<debconf-set-selections> can be used to pre-seed the debconf database with "
"answers, or to change answers in the database. Each question will be marked "
"as seen to prevent debconf from asking the question interactively."
msgstr ""
"Med B<debconf-set-selections> kan du lägga in svar i debconf-databasen i "
"förväg eller ändra befintliga svar. Varje fråga markeras som visad så att "
"debconf inte ställer den interaktivt."

#. type: textblock
#: ../../debconf-set-selections:18
msgid "Reads from a file if a filename is given, otherwise from stdin."
msgstr ""
"Läser från en fil om ett filnamn har angetts, annars från "
"standardinmatningen."

#. type: textblock
#: ../../debconf-set-selections:22
msgid ""
"Only use this command to seed debconf values for packages that will be or "
"are installed. Otherwise you can end up with values in the database for "
"uninstalled packages that will not go away, or with worse problems involving"
" shared values. It is recommended that this only be used to seed the "
"database if the originating machine has an identical install."
msgstr ""
"Använd endast kommandot för att förinställa debconf-värden för paket som "
"redan är installerade eller ska installeras. Annars kan värden för paket som"
" inte är installerade bli kvar i databasen. Delade värden kan orsaka ännu "
"större problem. Förinställ helst bara databasen på det här sättet om "
"källdatorn har en identisk installation."

#. type: =head1
#: ../../debconf-set-selections:28
msgid "DATA FORMAT"
msgstr "DATAFORMAT"

#. type: textblock
#: ../../debconf-set-selections:30
msgid ""
"The data is a series of lines. Lines beginning with a # character are "
"comments. Blank lines are ignored. All other lines set the value of one "
"question, and should contain four values, each separated by one character of"
" whitespace. The first value is the name of the package that owns the "
"question. The second is the name of the question, the third value is the "
"type of this question, and the fourth value (through the end of the line)  "
"is the value to use for the answer of the question."
msgstr ""
"Indata består av en rad per post. Rader som börjar med # är kommentarer och "
"tomrader ignoreras. Alla andra rader anger värdet för en fråga. De ska "
"innehålla fyra värden med ett blanktecken som avskiljare. Det första värdet "
"är namnet på paketet som äger frågan. Det andra är frågans namn och det "
"tredje är dess typ. Det fjärde värdet, som sträcker sig till radslutet, är "
"svaret på frågan."

#. type: textblock
#: ../../debconf-set-selections:38
msgid ""
"Alternatively, the third value can be \"seen\"; then the preseed line only "
"controls whether the question is marked as seen in debconf's database. Note "
"that preseeding a question's value defaults to marking that question as "
"seen, so to override the default value without marking a question seen, you "
"need two lines."
msgstr ""
"Det tredje värdet kan också vara \"seen\". Då styr raden bara om frågan "
"markeras som visad i debconf-databasen. När du anger ett svar i förväg "
"markeras frågan normalt som visad. För att ändra standardvärdet och ändå "
"låta frågan visas behöver du därför två rader."

#. type: textblock
#: ../../debconf-set-selections:44
msgid ""
"Lines can be continued to the next line by ending them with a \"\\\" "
"character."
msgstr ""
"En rad kan fortsätta på nästa rad om den avslutas med ett omvänt snedstreck "
"(”\\”)."

#. type: verbatim
#: ../../debconf-set-selections:49
#, no-wrap
msgid ""
" # Force debconf priority to critical.\n"
" debconf debconf/priority select critical\n"
"\n"
msgstr ""
" # Tvinga debconf att använda kritisk prioritet.\n"
" debconf debconf/priority select critical\n"
"\n"

#. type: verbatim
#: ../../debconf-set-selections:52
#, no-wrap
msgid ""
" # Override default frontend to readline, but allow user to select.\n"
" debconf debconf/frontend select readline\n"
" debconf debconf/frontend seen false\n"
"\n"
msgstr ""
" # Använd readline som standardgränssnitt men låt användaren välja.\n"
" debconf debconf/frontend select readline\n"
" debconf debconf/frontend seen false\n"
"\n"

#. type: =item
#: ../../debconf-set-selections:60
msgid "B<--verbose>, B<-v>"
msgstr "B<--verbose>, B<-v>"

#. type: textblock
#: ../../debconf-set-selections:62
msgid "verbose output"
msgstr "utförlig utmatning"

#. type: =item
#: ../../debconf-set-selections:64
msgid "B<--checkonly>, B<-c>"
msgstr "B<--checkonly>, B<-c>"

#. type: textblock
#: ../../debconf-set-selections:66
msgid "only check the input file format, do not save changes to database"
msgstr ""
"kontrollera bara indatafilens format utan att spara ändringar i databasen"

#. type: textblock
#: ../../debconf-set-selections:72
msgid "L<debconf-get-selections(1)> (available in the debconf-utils package)"
msgstr "L<debconf-get-selections(1)> (finns i paketet debconf-utils)"

#. type: textblock
#: ../../debconf-show:5
msgid "debconf-show - query the debconf database"
msgstr "debconf-show - sök i debconf-databasen"

#. type: verbatim
#: ../../debconf-show:9
#, no-wrap
msgid ""
" debconf-show packagename [...] [--db=dbname]\n"
" debconf-show --listowners [--db=dbname]\n"
" debconf-show --listdbs\n"
"\n"
msgstr ""
" debconf-show paketnamn [...] [--db=databasnamn]\n"
" debconf-show --listowners [--db=databasnamn]\n"
" debconf-show --listdbs\n"
"\n"

#. type: textblock
#: ../../debconf-show:15
msgid "B<debconf-show> lets you query the debconf database in different ways."
msgstr "Med B<debconf-show> kan du söka i debconf-databasen på flera sätt."

#. type: textblock
#: ../../debconf-show:17
msgid ""
"The most common use is \"debconf-show packagename\", which displays all "
"items in the debconf database owned by a given package, and their current "
"values.  Questions that have been asked already are prefixed with an '*'."
msgstr ""
"Det vanligaste anropet är ”debconf-show paketnamn”. Det visar alla poster "
"som paketet äger i debconf-databasen och deras nuvarande värden. En fråga "
"som redan har ställts markeras med en inledande asterisk (*)."

#. type: textblock
#: ../../debconf-show:21
msgid ""
"This can be useful as a debugging aid, and especially handy in bug reports "
"involving a package's use of debconf."
msgstr ""
"Detta kan underlätta felsökning och är särskilt användbart i felrapporter om"
" hur ett paket använder debconf."

#. type: =item
#: ../../debconf-show:28
msgid "B<--db=>I<dbname>"
msgstr "B<--db=>I<databasnamn>"

#. type: textblock
#: ../../debconf-show:30
msgid ""
"Specify the database to query. By default, debconf-show queries the main "
"database."
msgstr ""
"Ange vilken databas som ska användas för sökningen. Som standard söker "
"debconf-show i huvuddatabasen."

#. type: =item
#: ../../debconf-show:33
msgid "B<--listowners>"
msgstr "B<--listowners>"

#. type: textblock
#: ../../debconf-show:35
msgid ""
"Lists all owners of questions in the database. Generally an owner is "
"equivalent to a debian package name."
msgstr ""
"Lista alla ägare till frågor i databasen. En ägare är i allmänhet namnet på "
"ett Debianpaket."

#. type: =item
#: ../../debconf-show:38
msgid "B<--listdbs>"
msgstr "B<--listdbs>"

#. type: textblock
#: ../../debconf-show:40
msgid "Lists all available databases."
msgstr "Lista alla tillgängliga databaser."

#. type: textblock
#: ../../debconf-show:154
msgid "Joey Hess <joeyh@debian.org> and Sylvain Ferriol"
msgstr "Joey Hess <joeyh@debian.org> och Sylvain Ferriol"

#. type: textblock
#: ../../dpkg-preconfigure:5
msgid ""
"dpkg-preconfigure - let packages ask questions prior to their installation"
msgstr "dpkg-preconfigure - låt paket ställa frågor före installationen"

#. type: verbatim
#: ../../dpkg-preconfigure:9
#, no-wrap
msgid ""
" dpkg-preconfigure [options] package.deb\n"
"\n"
msgstr ""
" dpkg-preconfigure [flaggor] paket.deb\n"
"\n"

#. type: verbatim
#: ../../dpkg-preconfigure:11
#, no-wrap
msgid ""
" dpkg-preconfigure --apt\n"
"\n"
msgstr ""
" dpkg-preconfigure --apt\n"
"\n"

#. type: textblock
#: ../../dpkg-preconfigure:15
msgid ""
"B<dpkg-preconfigure> lets packages ask questions before they are installed."
"  It operates on a set of debian packages, and all packages that use debconf"
" will have their config script run so they can examine the system and ask "
"questions."
msgstr ""
"Med B<dpkg-preconfigure> kan paket ställa frågor innan de installeras. "
"Kommandot tar ett antal Debianpaket som indata. För varje paket som använder"
" debconf körs konfigurationsskriptet så att det kan undersöka systemet och "
"ställa frågor."

#. type: textblock
#: ../../dpkg-preconfigure:30
msgid ""
"Set the lowest priority of questions you are interested in. Any questions "
"with a priority below the selected priority will be ignored and their "
"default answers will be used."
msgstr ""
"Ange den lägsta prioriteten för frågor du vill se. Frågor med lägre "
"prioritet visas inte, och deras standardsvar används."

#. type: =item
#: ../../dpkg-preconfigure:38
msgid "B<--apt>"
msgstr "B<--apt>"

#. type: textblock
#: ../../dpkg-preconfigure:40
msgid ""
"Run in apt mode. It will expect to read a set of package filenames from "
"stdin, rather than getting them as parameters. Typically this is used to "
"make apt run dpkg-preconfigure on all packages before they are installed.  "
"To do this, add something like this to /etc/apt/apt.conf:"
msgstr ""
"Kör i apt-läge. Paketfilernas namn läses då från standardinmatningen i "
"stället för att anges som parametrar. Detta används vanligen för att låta "
"apt köra dpkg-preconfigure på alla paket före installationen. Lägg "
"exempelvis till följande i /etc/apt/apt.conf:"

#. type: verbatim
#: ../../dpkg-preconfigure:45
#, no-wrap
msgid ""
" // Pre-configure all packages before\n"
" // they are installed.\n"
" DPkg::Pre-Install-Pkgs {\n"
" \t\"dpkg-preconfigure --apt --priority=low\";\n"
" };\n"
"\n"
msgstr ""
" // Förkonfigurera alla paket innan\n"
" // de installeras.\n"
" DPkg::Pre-Install-Pkgs {\n"
" \t\"dpkg-preconfigure --apt --priority=low\";\n"
" };\n"
"\n"

#. type: =item
#: ../../dpkg-preconfigure:51 ../../dpkg-reconfigure:69
msgid "B<-h>, B<--help>"
msgstr "B<-h>, B<--help>"

#. type: textblock
#: ../../dpkg-preconfigure:53 ../../dpkg-reconfigure:71
msgid "Display usage help."
msgstr "Visa hjälpen för kommandot."

#. type: textblock
#: ../../dpkg-preconfigure:61 ../../dpkg-reconfigure:79
msgid "L<debconf(7)>"
msgstr "L<debconf(7)>"

#. type: textblock
#: ../../dpkg-reconfigure:5
msgid "dpkg-reconfigure - reconfigure an already installed package"
msgstr "dpkg-reconfigure - konfigurera om ett redan installerat paket"

#. type: verbatim
#: ../../dpkg-reconfigure:9
#, no-wrap
msgid ""
" dpkg-reconfigure [options] packages\n"
"\n"
msgstr ""
" dpkg-reconfigure [flaggor] paket\n"
"\n"

#. type: textblock
#: ../../dpkg-reconfigure:13
msgid ""
"B<dpkg-reconfigure> reconfigures packages after they have already been "
"installed. Pass it the names of a package or packages to reconfigure. It "
"will ask configuration questions, much like when the package was first "
"installed."
msgstr ""
"B<dpkg-reconfigure> konfigurerar om paket efter installationen. Ange namnen "
"på ett eller flera paket som ska konfigureras om. Programmet ställer "
"konfigurationsfrågor ungefär som när paketet installerades första gången."

#. type: textblock
#: ../../dpkg-reconfigure:18
msgid ""
"If you just want to see the current configuration of a package, see "
"L<debconf-show(1)> instead."
msgstr ""
"Om du bara vill se den aktuella konfigurationen för ett paket, se L<debconf-"
"show(1)>."

#. type: textblock
#: ../../dpkg-reconfigure:27
msgid ""
"Select the frontend to use. The default frontend can be permanently changed "
"by:"
msgstr ""
"Välj vilket gränssnitt som ska användas. Du kan ändra standardgränssnittet "
"permanent med kommandot:"

#. type: verbatim
#: ../../dpkg-reconfigure:30
#, no-wrap
msgid ""
" dpkg-reconfigure debconf\n"
"\n"
msgstr ""
" dpkg-reconfigure debconf\n"
"\n"

#. type: textblock
#: ../../dpkg-reconfigure:32
msgid ""
"Note that if you normally have debconf set to use the noninteractive "
"frontend, dpkg-reconfigure will use the dialog frontend instead, so you "
"actually get to reconfigure the package."
msgstr ""
"Om debconf normalt använder det icke-interaktiva gränssnittet använder dpkg-"
"reconfigure i stället gränssnittet Dialog så att du kan konfigurera om "
"paketet."

#. type: textblock
#: ../../dpkg-reconfigure:38
msgid ""
"Specify the minimum priority of question that will be displayed.  dpkg-"
"reconfigure normally shows low priority questions no matter what your "
"default priority is. See L<debconf(7)> for a list."
msgstr ""
"Ange lägsta prioritet för de frågor som ska visas. dpkg-reconfigure visar "
"normalt även frågor med låg prioritet, oavsett vilken standardprioritet du "
"har valt. En lista över prioriteterna finns i L<debconf(7)>."

#. type: =item
#: ../../dpkg-reconfigure:46
msgid "B<--default-priority>"
msgstr "B<--default-priority>"

#. type: textblock
#: ../../dpkg-reconfigure:48
msgid ""
"Use whatever the default priority of question is, instead of forcing the "
"priority to low."
msgstr ""
"Använd den valda standardprioriteten för frågor i stället för att alltid "
"använda låg prioritet."

#. type: =item
#: ../../dpkg-reconfigure:51
msgid "B<-u>, B<--unseen-only>"
msgstr "B<-u>, B<--unseen-only>"

#. type: textblock
#: ../../dpkg-reconfigure:53
msgid ""
"By default, all questions are shown, even if they have already been "
"answered. If this parameter is set though, only questions that have not yet "
"been seen will be asked."
msgstr ""
"Normalt visas alla frågor, även de som redan har besvarats. Med den här "
"flaggan ställs bara frågor som ännu inte har visats."

#. type: =item
#: ../../dpkg-reconfigure:57
msgid "B<--force>"
msgstr "B<--force>"

#. type: textblock
#: ../../dpkg-reconfigure:59
msgid ""
"Force dpkg-reconfigure to reconfigure a package even if the package is in an"
" inconsistent or broken state. Use with caution."
msgstr ""
"Tvinga dpkg-reconfigure att konfigurera om ett paket även om paketet är i "
"ett inkonsekvent eller trasigt tillstånd. Använd med försiktighet."

#. type: =item
#: ../../dpkg-reconfigure:62
msgid "B<--no-reload>"
msgstr "B<--no-reload>"

#. type: textblock
#: ../../dpkg-reconfigure:64
msgid ""
"Prevent dpkg-reconfigure from reloading templates. Use with caution; this "
"will prevent dpkg-reconfigure from repairing broken templates databases.  "
"However, it may be useful in constrained environments where rewriting the "
"templates database is expensive."
msgstr ""
"Hindra dpkg-reconfigure från att läsa in mallarna på nytt. Använd flaggan "
"med försiktighet eftersom dpkg-reconfigure då inte kan reparera en skadad "
"malldatabas. Den kan vara användbar i miljöer med begränsade resurser där "
"det är kostsamt att skriva om malldatabasen."

#. type: TH
#: debconf.conf.5:1
#, no-wrap
msgid "DEBCONF.CONF"
msgstr "DEBCONF.CONF"

#. type: Plain text
#: debconf.conf.5:4
msgid "debconf.conf - debconf configuration file"
msgstr "debconf.conf - konfigurationsfil för debconf"

#. type: Plain text
#: debconf.conf.5:12
msgid ""
"Debconf is a configuration system for Debian packages. /etc/debconf.conf and"
" ~/.debconfrc are configuration files debconf uses to determine which "
"databases it should use. These databases are used for storing two types of "
"information; dynamic config data the user enters into it, and static "
"template data. Debconf offers a flexible, extensible database backend. New "
"drivers can be created with a minimum of effort, and sets of drivers can be "
"combined in various ways."
msgstr ""
"Debconf är ett system för konfigurering av Debianpaket. Filerna "
"/etc/debconf.conf och ~/.debconfrc anger vilka databaser debconf ska "
"använda. Databaserna lagrar dels de konfigurationsvärden som användaren "
"anger och som kan ändras, dels statiska mallar. Debconfs databassystem går "
"att anpassa och bygga ut. Det är enkelt att skapa nya drivrutiner och att "
"kombinera flera drivrutiner på olika sätt."

#. type: Plain text
#: debconf.conf.5:17
#, no-wrap
msgid ""
"  # This is a sample config file that is\n"
"  # sufficient to use debconf.\n"
"  Config: configdb\n"
"  Templates: templatedb\n"
msgstr ""
"  # Exempel på en konfigurationsfil som\n"
"  # räcker för att använda debconf.\n"
"  Config: configdb\n"
"  Templates: templatedb\n"

#. type: Plain text
#: debconf.conf.5:21
#, no-wrap
msgid ""
"  Name: configdb\n"
"  Driver: File\n"
"  Filename: /var/cache/debconf/config.dat\n"
msgstr ""
"  Name: configdb\n"
"  Driver: File\n"
"  Filename: /var/cache/debconf/config.dat\n"

#. type: Plain text
#: debconf.conf.5:26
#, no-wrap
msgid ""
"  Name: templatedb\n"
"  Driver: File\n"
"  Mode: 644\n"
"  Filename: /var/cache/debconf/templates.dat\n"
msgstr ""
"  Name: templatedb\n"
"  Driver: File\n"
"  Mode: 644\n"
"  Filename: /var/cache/debconf/templates.dat\n"

#. type: SH
#: debconf.conf.5:26
#, no-wrap
msgid "FILE FORMAT"
msgstr "FILFORMAT"

#. type: Plain text
#: debconf.conf.5:30
msgid ""
"The format of this file is a series of stanzas, each separated by at least "
"one wholly blank line. Comment lines beginning with a \"#\" character are "
"ignored."
msgstr ""
"Filen består av stycken som skiljs åt av minst en helt tom rad. "
"Kommentarrader som börjar med # ignoreras."

#. type: Plain text
#: debconf.conf.5:33
msgid ""
"The first stanza of the file is special, is used to configure debconf as a "
"whole. Two fields are required to be in this first stanza:"
msgstr ""
"Det första stycket har en särskild funktion. Det konfigurerar debconf som "
"helhet och måste innehålla följande två fält:"

#. type: TP
#: debconf.conf.5:34
#, no-wrap
msgid "B<Config>"
msgstr "B<Config>"

#. type: Plain text
#: debconf.conf.5:37
msgid "Specifies the name of the database from which to load config data."
msgstr "Anger namnet på databasen som konfigurationsvärden ska läsas från."

#. type: TP
#: debconf.conf.5:37
#, no-wrap
msgid "B<Templates>"
msgstr "B<Templates>"

#. type: Plain text
#: debconf.conf.5:40
msgid "Specifies the name of the database to use for the template cache."
msgstr "Anger namnet på den databas där mallarna mellanlagras."

#. type: Plain text
#: debconf.conf.5:43
msgid "Additional fields that can be used include:"
msgstr "Andra fält som kan användas är bland annat:"

#. type: TP
#: debconf.conf.5:44
#, no-wrap
msgid "B<Frontend>"
msgstr "B<Frontend>"

#. type: Plain text
#: debconf.conf.5:48
msgid ""
"The frontend Debconf should use, overriding any frontend set in the debconf "
"database."
msgstr ""
"Det gränssnitt som debconf ska använda. Värdet har företräde framför det "
"gränssnitt som anges i debconf-databasen."

#. type: TP
#: debconf.conf.5:48
#, no-wrap
msgid "B<Priority>"
msgstr "B<Priority>"

#. type: Plain text
#: debconf.conf.5:52
msgid ""
"The priority Debconf should use, overriding any priority set in the debconf "
"database."
msgstr ""
"Den prioritet som debconf ska använda. Den åsidosätter eventuell prioritet "
"som angetts i debconf-databasen."

#. type: TP
#: debconf.conf.5:52
#, no-wrap
msgid "B<Admin-Email>"
msgstr "B<Admin-Email>"

#. type: Plain text
#: debconf.conf.5:59
msgid ""
"The email address Debconf should send mail to if it needs to make sure that "
"the admin has seen an important message. Defaults to \"root\", but can be "
"set to any valid email address to send the mail there. If you prefer to "
"never have debconf send you mail, specify a blank address. This can be "
"overridden on the fly with the DEBCONF_ADMIN_EMAIL environment variable."
msgstr ""
"Den e-postadress dit debconf ska skicka meddelanden som administratören "
"behöver läsa. Standardvärdet är ”root”, men du kan ange vilken giltig "
"e-postadress som helst. Lämna adressen tom om du aldrig vill ha e-post från "
"debconf. Miljövariabeln DEBCONF_ADMIN_EMAIL kan åsidosätta inställningen vid"
" körning."

#. type: Plain text
#: debconf.conf.5:59 debconf.conf.5:395
#, no-wrap
msgid "B<Debug>"
msgstr "B<Debug>"

#. type: Plain text
#: debconf.conf.5:67
msgid ""
"If set, this will cause debconf to output debugging information to standard "
"error. The value it is set to can be something like \"user\", \"developer\","
" \"db\", or a regular expression. Typically, rather than setting it "
"permanently in a config file, you will only want to temporarily turn on "
"debugging, and the DEBCONF_DEBUG environment variable can be set instead to "
"accomplish that."
msgstr ""
"Om detta fält anges skriver debconf felsökningsinformation till standardfel."
" Värdet kan till exempel vara ”user”, ”developer”, ”db” eller ett reguljärt "
"uttryck. Oftast vill man bara aktivera felsökning tillfälligt. Använd då "
"miljövariabeln DEBCONF_DEBUG i stället för att göra en permanent inställning"
" i konfigurationsfilen."

#. type: TP
#: debconf.conf.5:67
#, no-wrap
msgid "B<NoWarnings>"
msgstr "B<NoWarnings>"

#. type: Plain text
#: debconf.conf.5:72
msgid ""
"If set, this will make debconf not display warnings about various things.  "
"This can be overridden on the fly with the DEBCONF_NOWARNINGS environment "
"variable."
msgstr ""
"Om detta fält anges döljer debconf varningar. Miljövariabeln "
"DEBCONF_NOWARNINGS kan åsidosätta inställningen vid körning."

#. type: TP
#: debconf.conf.5:72
#, no-wrap
msgid "B<Log>"
msgstr "B<Log>"

#. type: Plain text
#: debconf.conf.5:77
msgid ""
"Makes debconf log debugging information as it runs, to the syslog. The value"
" it is set to controls that is logged. See Debug, above for an explanation "
"of the values that can be set to control what is logged."
msgstr ""
"Gör att debconf under körningen skriver felsökningsinformation till "
"systemloggen (syslog). Fältets värde styr vad som loggas. Värdena beskrivs "
"under Debug ovan."

#. type: TP
#: debconf.conf.5:77
#, no-wrap
msgid "B<Terse>"
msgstr "B<Terse>"

#. type: Plain text
#: debconf.conf.5:82
msgid ""
"If set to \"true\", makes some debconf frontends use a special terse display"
" mode that outputs as little as possible. Defaults to false. Terse mode may "
"be temporarily set via the DEBCONF_TERSE environment variable."
msgstr ""
"Om värdet är ”true” använder vissa av debconfs gränssnitt ett kortfattat "
"visningsläge där så lite text som möjligt visas. Standardvärdet är false. "
"Läget kan aktiveras tillfälligt med miljövariabeln DEBCONF_TERSE."

#. type: Plain text
#: debconf.conf.5:87
#, no-wrap
msgid ""
"For example, the first stanza of a file might look like this:\n"
"  Config: configdb\n"
"  Templates: templatedb\n"
msgstr ""
"Filens första stycke kan till exempel se ut så här:\n"
"  Config: configdb\n"
"  Templates: templatedb\n"

#. type: Plain text
#: debconf.conf.5:91
#, no-wrap
msgid ""
"Each remaining stanza in the file sets up a database. A database stanza\n"
"begins by naming the database:\n"
"  Name: configdb\n"
msgstr ""
"Vart och ett av de återstående styckena i filen konfigurerar en databas.\n"
"Ett databasstycke börjar med databasens namn:\n"
"  Name: configdb\n"

#. type: Plain text
#: debconf.conf.5:95
#, no-wrap
msgid ""
"Then it indicates what database driver should be used for this database.\n"
"See DRIVERS, below, for information about what drivers are available.\n"
"  Driver: File\n"
msgstr ""
"Därefter anges vilken databasdrivrutin som ska användas.\n"
"Se DRIVRUTINER nedan för en beskrivning av de tillgängliga drivrutinerna.\n"
"  Driver: File\n"

#. type: Plain text
#: debconf.conf.5:100
#, no-wrap
msgid ""
"You can indicate that the database is not essential to the proper\n"
"functioning of debconf by saying it is not required. This will make debconf\n"
"muddle on if the database fails for some reason.\n"
"  Required: false\n"
msgstr ""
"Om debconf kan fungera utan databasen kan du ange att den är valfri. Då\n"
"försöker debconf fortsätta även om databasen av någon anledning slutar\n"
"fungera.\n"
"  Required: false\n"

#. type: Plain text
#: debconf.conf.5:104
#, no-wrap
msgid ""
"You can mark any database as readonly and debconf will not write anything\n"
"to it.\n"
"  Readonly: true\n"
msgstr ""
"Du kan skrivskydda valfri databas så att debconf aldrig skriver till den.\n"
"  Readonly: true\n"

#. type: Plain text
#: debconf.conf.5:107
msgid ""
"You can also limit what types of data can go into the database with Accept- "
"and Reject- lines; see ACCESS CONTROLS, below."
msgstr ""
"Du kan också begränsa vilka slags data som får lagras i databasen med rader "
"som börjar med Accept- eller Reject-. Se ÅTKOMSTKONTROLL nedan."

#. type: Plain text
#: debconf.conf.5:112
#, no-wrap
msgid ""
"The remainder of each database stanza is used to provide configuration\n"
"specific to that driver. For example, the Text driver needs to know\n"
"a directory to put the database in, so you might say:\n"
"  Filename: /var/cache/debconf/config.dat\n"
msgstr ""
"Resten av databasstycket innehåller inställningar som är specifika för\n"
"drivrutinen. Du kan till exempel ange var en textbaserad databas ska\n"
"lagras genom att ange dess filnamn:\n"
"  Filename: /var/cache/debconf/config.dat\n"

#. type: SH
#: debconf.conf.5:112
#, no-wrap
msgid "DRIVERS"
msgstr "DRIVRUTINER"

#. type: Plain text
#: debconf.conf.5:119
msgid ""
"A number of drivers are available, and more can be written with little "
"difficulty. Drivers come in two general types. First there are real drivers "
"-- drivers that actually access and store data in some kind of database, "
"which might be on the local filesystem, or on a remote system. Then there "
"are meta-drivers that combine other drivers together to form more "
"interesting systems. Let's start with the former."
msgstr ""
"Det finns ett antal drivrutiner och det är ganska enkelt att skriva fler. "
"Drivrutinerna kan delas in i två huvudtyper. Den ena typen läser och lagrar "
"data direkt i en databas. Databasen kan finnas i det lokala filsystemet "
"eller på en annan dator. Den andra typen är metadrivrutiner som kombinerar "
"andra drivrutiner för att bygga upp mer avancerade system. Här beskrivs "
"först de drivrutiner som arbetar direkt mot en databas."

#. type: TP
#: debconf.conf.5:120
#, no-wrap
msgid "B<File>"
msgstr "B<File>"

#. type: Plain text
#: debconf.conf.5:127
msgid ""
"This database driver allows debconf to store a whole database in a single "
"flat text file. This makes it easy to archive, transfer between machines, "
"and edit. It is one of the more compact database formats in terms of disk "
"space used. It is also one of the slowest."
msgstr ""
"Med den här databasdrivrutinen kan debconf lagra en hel databas i en enda "
"vanlig textfil. Det gör databasen lätt att arkivera, flytta mellan datorer "
"och redigera. Formatet hör till dem som tar minst diskutrymme, men är också "
"ett av de långsammaste."

#. type: Plain text
#: debconf.conf.5:130
msgid ""
"On the downside, the entire file has to be read in each time debconf starts "
"up, and saving it is also slow."
msgstr ""
"Hela filen måste läsas in varje gång debconf startar, och det tar också tid "
"att spara den."

#. type: Plain text
#: debconf.conf.5:132 debconf.conf.5:168 debconf.conf.5:238 debconf.conf.5:309
msgid "The following things are configurable for this driver."
msgstr "Följande inställningar kan göras för den här drivrutinen."

#. type: TP
#: debconf.conf.5:133
#, no-wrap
msgid "B<Filename>"
msgstr "B<Filename>"

#. type: Plain text
#: debconf.conf.5:136
msgid "The file to use as the database. This is a required field."
msgstr "Filen som ska användas som databas. Fältet är obligatoriskt."

#. type: TP
#: debconf.conf.5:136 debconf.conf.5:203
#, no-wrap
msgid "B<Mode>"
msgstr "B<Mode>"

#. type: Plain text
#: debconf.conf.5:140
msgid ""
"The permissions to create the file with if it does not exist. Defaults to "
"600, since the file could contain passwords in some circumstances."
msgstr ""
"De behörigheter filen får när den skapas, om den ännu inte finns. "
"Standardvärdet är 600 eftersom filen i vissa fall kan innehålla lösenord."

#. type: TP
#: debconf.conf.5:140 debconf.conf.5:176 debconf.conf.5:310
#, no-wrap
msgid "B<Format>"
msgstr "B<Format>"

#. type: Plain text
#: debconf.conf.5:144 debconf.conf.5:180
msgid ""
"The format of the file. See FORMATS below. Defaults to using a rfc-822 like "
"format."
msgstr ""
"Filformatet. Se FORMAT nedan. Standardvärdet är ett format som liknar RFC "
"822."

#. type: Plain text
#: debconf.conf.5:144 debconf.conf.5:180 debconf.conf.5:371
#, no-wrap
msgid "B<Backup>"
msgstr "B<Backup>"

#. type: Plain text
#: debconf.conf.5:148 debconf.conf.5:184
msgid ""
"Whether a backup should be made of the old file before changing it.  "
"Defaults to true."
msgstr ""
"Anger om den tidigare filen ska säkerhetskopieras innan den ändras. "
"Standardvärdet är true."

#. type: Plain text
#: debconf.conf.5:151 debconf.conf.5:187 debconf.conf.5:209
msgid "As example stanza setting up a database using this driver:"
msgstr ""
"Exempel på ett stycke som konfigurerar en databas med den här drivrutinen:"

#. type: Plain text
#: debconf.conf.5:155
#, no-wrap
msgid ""
"  Name: mydb\n"
"  Driver: File\n"
"  Filename: /var/cache/debconf/mydb.dat\n"
msgstr ""
"  Name: mydb\n"
"  Driver: File\n"
"  Filename: /var/cache/debconf/mydb.dat\n"

#. type: TP
#: debconf.conf.5:156
#, no-wrap
msgid "B<DirTree>"
msgstr "B<DirTree>"

#. type: Plain text
#: debconf.conf.5:166
msgid ""
"This database driver allows debconf to store data in a hierarchical "
"directory structure. The names of the various debconf templates and "
"questions are used as-is to form directories with files in them. This format"
" for the database is the easiest to browse and fiddle with by hand.  It has "
"very good load and save speeds. It also typically occupies the most space, "
"since a lot of small files and subdirectories do take up some additional "
"room."
msgstr ""
"Med den här databasdrivrutinen kan debconf lagra data i en hierarkisk "
"katalogstruktur. Namnen på debconfs mallar och frågor används oförändrade "
"för att bilda sökvägar till kataloger och filer. Det är det databasformat "
"som är enklast att bläddra i och redigera för hand. Det går mycket snabbt "
"att läsa in och spara databasen. Formatet tar vanligtvis mest plats eftersom"
" de många små filerna och underkatalogerna kräver extra utrymme."

#. type: TP
#: debconf.conf.5:169
#, no-wrap
msgid "B<Directory>"
msgstr "B<Directory>"

#. type: Plain text
#: debconf.conf.5:172
msgid "The directory to put the files in. Required."
msgstr "Katalogen där filerna ska lagras. Fältet är obligatoriskt."

#. type: TP
#: debconf.conf.5:172
#, no-wrap
msgid "B<Extension>"
msgstr "B<Extension>"

#. type: Plain text
#: debconf.conf.5:176
msgid ""
"An extension to add to the names of files. Must be set to a non-empty "
"string; defaults to \".dat\""
msgstr ""
"Ett filnamnstillägg som läggs till i filnamnen. Värdet måste vara en icke-"
"tom sträng. Standardvärdet är ”.dat”."

#. type: Plain text
#: debconf.conf.5:192
#, no-wrap
msgid ""
"  Name: mydb\n"
"  Driver: DirTree\n"
"  Directory: /var/cache/debconf/mydb\n"
"  Extension: .txt\n"
msgstr ""
"  Name: mydb\n"
"  Driver: DirTree\n"
"  Directory: /var/cache/debconf/mydb\n"
"  Extension: .txt\n"

#. type: TP
#: debconf.conf.5:193
#, no-wrap
msgid "B<PackageDir>"
msgstr "B<PackageDir>"

#. type: Plain text
#: debconf.conf.5:200
msgid ""
"This database driver is a compromise between the File and DirTree databases."
" It uses a directory, in which there is (approximately) one file per package"
" that uses debconf. This is fairly fast, while using little more room than "
"the File database driver."
msgstr ""
"Den här databasdrivrutinen är ett mellanting mellan File och DirTree. Den "
"använder en katalog som innehåller ungefär en fil per paket som använder "
"debconf. Drivrutinen är relativt snabb och kräver bara något mer utrymme än "
"File."

#. type: Plain text
#: debconf.conf.5:203
msgid ""
"This driver is configurable in the same ways as is the DirTree driver, plus:"
msgstr "Drivrutinen har samma inställningar som DirTree samt följande:"

#. type: Plain text
#: debconf.conf.5:207
msgid ""
"The permissions to create files with. Defaults to 600, since the files could"
" contain passwords in some circumstances."
msgstr ""
"De behörigheter som filerna får när de skapas. Standardvärdet är 600 "
"eftersom filerna i vissa fall kan innehålla lösenord."

#. type: Plain text
#: debconf.conf.5:213
#, no-wrap
msgid ""
"  Name: mydb\n"
"  Driver: PackageDir\n"
"  Directory: /var/cache/debconf/mydb\n"
msgstr ""
"  Name: mydb\n"
"  Driver: PackageDir\n"
"  Directory: /var/cache/debconf/mydb\n"

#. type: TP
#: debconf.conf.5:214
#, no-wrap
msgid "B<LDAP>"
msgstr "B<LDAP>"

#. type: Plain text
#: debconf.conf.5:218
msgid ""
"WARNING: This database driver is currently experimental. Use with caution."
msgstr ""
"VARNING: Den här databasdrivrutinen är experimentell. Använd den med "
"försiktighet."

#. type: Plain text
#: debconf.conf.5:226
msgid ""
"This database driver accesses a LDAP directory for debconf configuration "
"data. Due to the nature of the beast, LDAP directories should typically be "
"accessed in read-only mode. This is because multiple accesses can take "
"place, and it's generally better for data consistency if nobody tries to "
"modify the data while this is happening. Of course, write access is "
"supported for those cases where you do want to update the config data in the"
" directory."
msgstr ""
"Den här databasdrivrutinen använder en LDAP-katalog för debconfs "
"konfigurationsdata. Normalt bör LDAP-kataloger användas skrivskyddade. Flera"
" klienter kan komma åt katalogen samtidigt, och det är i allmänhet lättare "
"att hålla data konsekventa om ingen ändrar dem under tiden. Det finns även "
"stöd för skrivåtkomst när du behöver uppdatera konfigurationsdata i "
"katalogen."

#. type: Plain text
#: debconf.conf.5:229
msgid ""
"For information about setting up a LDAP server for debconf, read "
"/usr/share/doc/debconf-doc/README.LDAP (from the debconf-doc package)."
msgstr ""
"Information om hur du ställer in en LDAP-server för debconf finns i "
"/usr/share/doc/debconf-doc/README.LDAP i paketet debconf-doc."

#. type: Plain text
#: debconf.conf.5:232
msgid ""
"To use this database driver, you must have the libnet-ldap-perl package "
"installed. Debconf suggests that package, but does not depend on it."
msgstr ""
"För att använda den här databasdrivrutinen måste du ha installerat paketet "
"libnet-ldap-perl. Debconf föreslår paketet men har inget beroende av det."

#. type: Plain text
#: debconf.conf.5:236
msgid ""
"Please carefully consider the security implications of using a remote "
"debconf database. Unless you trust the source, and you trust the intervening"
" network, it is not a very safe thing to do."
msgstr ""
"Tänk noga igenom vilka säkerhetsrisker en debconf-databas på en annan dator "
"medför. Du behöver kunna lita på både datakällan och nätverket däremellan."

#. type: TP
#: debconf.conf.5:239
#, no-wrap
msgid "B<server>"
msgstr "B<server>"

#. type: Plain text
#: debconf.conf.5:242
msgid "The host name or IP address of an LDAP server to connect to."
msgstr ""
"Värdnamnet eller IP-adressen till den LDAP-server som drivrutinen ska "
"ansluta till."

#. type: TP
#: debconf.conf.5:242
#, no-wrap
msgid "B<port>"
msgstr "B<port>"

#. type: Plain text
#: debconf.conf.5:246
msgid ""
"The port on which to connect to the LDAP server. If none is given, the "
"default port is used."
msgstr ""
"Den port som ska användas för anslutningen till LDAP-servern. Om ingen port "
"anges används standardporten."

#. type: TP
#: debconf.conf.5:246
#, no-wrap
msgid "B<basedn>"
msgstr "B<basedn>"

#. type: Plain text
#: debconf.conf.5:251
msgid ""
"The DN under which all config items will be stored. Each config item will be"
" assumed to live in a DN of cn=E<lt>item nameE<gt>,E<lt>Base DNE<gt>. If "
"this structure is not followed, all bets are off."
msgstr ""
"Det DN (distinguished name) under vilket alla konfigurationsposter ska "
"lagras. Varje post förväntas ha ett DN av formen "
"cn=E<lt>postnamnE<gt>,E<lt>bas-DNE<gt>. Om katalogen har en annan struktur "
"kan drivrutinen ge oväntade resultat."

#. type: TP
#: debconf.conf.5:251
#, no-wrap
msgid "B<binddn>"
msgstr "B<binddn>"

#. type: Plain text
#: debconf.conf.5:255
msgid ""
"The DN to bind to the directory as. Anonymous bind will be used if none is "
"specified."
msgstr ""
"Det DN som ska användas vid bindning till katalogen. Om inget DN anges "
"används anonym bindning."

#. type: TP
#: debconf.conf.5:255
#, no-wrap
msgid "B<bindpasswd>"
msgstr "B<bindpasswd>"

#. type: Plain text
#: debconf.conf.5:259
msgid ""
"The password to use in an authenticated bind (used with binddn, above). If "
"not specified, anonymous bind will be used."
msgstr ""
"Lösenordet för autentiserad bindning (används tillsammans med binddn ovan). "
"Om inget lösenord anges används anonym bindning."

#. type: Plain text
#: debconf.conf.5:265
msgid ""
"This option should not be used in the general case. Anonymous binding should"
" be sufficient most of the time for read-only access. Specifying a bind DN "
"and password should be reserved for the occasional case where you wish to "
"update the debconf configuration data."
msgstr ""
"I normalfallet behöver du inte använda det här alternativet. Anonym bindning"
" räcker oftast för läsåtkomst. Ange ett DN och ett lösenord för bindning "
"bara om du behöver uppdatera debconfs konfigurationsdata."

#. type: TP
#: debconf.conf.5:266
#, no-wrap
msgid "B<keybykey>"
msgstr "B<keybykey>"

#. type: Plain text
#: debconf.conf.5:272
msgid ""
"Enable access to individual LDAP entries, instead of fetching them all at "
"once in the beginning. This is very useful if you want to monitor your LDAP "
"logs for specific debconf keys requested. In this way, you could also write "
"custom handling code on the LDAP server part."
msgstr ""
"Aktivera åtkomst till enskilda LDAP-poster i stället för att hämta alla "
"poster när debconf startar. Det är användbart om du vill följa i LDAP-"
"loggarna vilka debconf-nycklar som efterfrågas. Det gör det också möjligt "
"att skriva egen kod på LDAP-servern som hanterar sådana förfrågningar."

#. type: Plain text
#: debconf.conf.5:279
msgid ""
"Note that when this option is enabled, the connection to the LDAP server is "
"kept active during the whole Debconf run. This is a little different from "
"the all-in-one behavior where two brief connections are made to LDAP; in the"
" beginning to retrieve all the entries, and in the end to save eventual "
"changes."
msgstr ""
"När det här alternativet är aktiverat hålls anslutningen till LDAP-servern "
"öppen under hela debconf-körningen. Annars görs två korta LDAP-anslutningar:"
" en i början för att hämta alla poster och en på slutet för att spara "
"eventuella ändringar."

#. type: Plain text
#: debconf.conf.5:284
msgid ""
"An example stanza setting up a database using this driver, assuming the "
"remote database is on example.com and can be accessed anonymously:"
msgstr ""
"Exempel på ett stycke som konfigurerar en databas med den här drivrutinen. "
"Här finns databasen på example.com och tillåter anonym åtkomst:"

#. type: Plain text
#: debconf.conf.5:291
#, no-wrap
msgid ""
"  Name: ldapdb\n"
"  Driver: LDAP\n"
"  Readonly: true\n"
"  Server: example.com\n"
"  BaseDN: cn=debconf,dc=example,dc=com\n"
"  KeyByKey: 0\n"
msgstr ""
"  Name: ldapdb\n"
"  Driver: LDAP\n"
"  Readonly: true\n"
"  Server: example.com\n"
"  BaseDN: cn=debconf,dc=example,dc=com\n"
"  KeyByKey: 0\n"

#. type: Plain text
#: debconf.conf.5:294
msgid ""
"Another example, this time the LDAP database is on localhost, and can be "
"written to:"
msgstr ""
"I nästa exempel finns LDAP-databasen på localhost och tillåter skrivning:"

#. type: Plain text
#: debconf.conf.5:301
#, no-wrap
msgid ""
"  Name: ldapdb\n"
"  Driver: LDAP\n"
"  Server: localhost\n"
"  BaseDN: cn=debconf,dc=domain,dc=com\n"
"  BindPasswd: secret\n"
"  KeyByKey: 1\n"
msgstr ""
"  Name: ldapdb\n"
"  Driver: LDAP\n"
"  Server: localhost\n"
"  BaseDN: cn=debconf,dc=domain,dc=com\n"
"  BindDN: uid=admin,dc=domain,dc=com\n"
"  BindPasswd: secret\n"
"  KeyByKey: 1\n"

#. type: TP
#: debconf.conf.5:302
#, no-wrap
msgid "B<Pipe>"
msgstr "B<Pipe>"

#. type: Plain text
#: debconf.conf.5:307
msgid ""
"This special-purpose database driver reads and writes the database from "
"standard input/output. It may be useful for people with special needs."
msgstr ""
"Den här databasdrivrutinen läser databasen från standardindata och skriver "
"den till standardutdata. Det kan vara användbart för särskilda "
"tillämpningar."

#. type: Plain text
#: debconf.conf.5:314
msgid ""
"The format to read and write. See FORMATS below. Defaults to using a rfc-822"
" like format."
msgstr ""
"Formatet som ska användas för läsning och skrivning. Se FORMAT nedan. "
"Standardvärdet är ett format som liknar RFC 822."

#. type: TP
#: debconf.conf.5:314
#, no-wrap
msgid "B<Infd>"
msgstr "B<Infd>"

#. type: Plain text
#: debconf.conf.5:318
msgid ""
"File descriptor number to read from. Defaults to reading from stdin. If set "
"to \"none\", the database will not read any data on startup."
msgstr ""
"Numret på den filbeskrivare som drivrutinen läser från. Som standard läser "
"den från standardindata. Om värdet är ”none” läser databasen inte in några "
"data vid start."

#. type: TP
#: debconf.conf.5:318
#, no-wrap
msgid "B<Outfd>"
msgstr "B<Outfd>"

#. type: Plain text
#: debconf.conf.5:322
msgid ""
"File descriptor number to write to. Defaults to writing to stdout. If set to"
" \"none\", the database will be thrown away on shutdown."
msgstr ""
"Numret på den filbeskrivare som drivrutinen skriver till. Som standard "
"skriver den till standardutdata. Om värdet är ”none” kasseras databasen vid "
"avslut."

#. type: Plain text
#: debconf.conf.5:326
msgid "That's all of the real drivers, now moving on to meta-drivers.."
msgstr ""
"Därmed har vi gått igenom de drivrutiner som arbetar direkt mot en databas. "
"Nu följer metadrivrutinerna."

#. type: TP
#: debconf.conf.5:326 debconf.conf.5:354
#, no-wrap
msgid "B<Stack>"
msgstr "B<Stack>"

#. type: Plain text
#: debconf.conf.5:335
msgid ""
"This driver stacks up a number of other databases (of any type), and allows "
"them to be accessed as one. When debconf asks for a value, the first "
"database on the stack that contains the value returns it. If debconf writes "
"something to the database, the write normally goes to the first driver on "
"the stack that has the item debconf is modifying, and if none do, the new "
"item is added to the first writable database on the stack."
msgstr ""
"Den här drivrutinen lägger andra databaser, oavsett typ, i en stack så att "
"de kan användas som en enda databas. När debconf frågar efter ett värde "
"hämtas det från den första databasen i stacken som innehåller värdet. När "
"debconf ändrar en post skrivs ändringen normalt till den första databasen i "
"stacken som innehåller posten. Om posten saknas överallt läggs den till i "
"den första skrivbara databasen i stacken."

#. type: Plain text
#: debconf.conf.5:343
msgid ""
"Things become more interesting if one of the databases on the stack is "
"readonly. Consider a stack of the databases foo, bar, and baz, where foo and"
" baz are both readonly. Debconf wants to change an item, and this item is "
"only present in baz, which is readonly. The stack driver is smart enough to "
"realize that won't work, and it will copy the item from baz to bar, and the "
"write will take place in bar. Now the item in baz is shadowed by the item in"
" bar, and it will not longer be visible to debconf."
msgstr ""
"Om en av databaserna i stacken är skrivskyddad blir förloppet annorlunda. "
"Anta att stacken innehåller databaserna foo, bar och baz, och att foo och "
"baz är skrivskyddade. Debconf vill ändra en post som bara finns i baz. "
"Eftersom det inte går att skriva till baz kopierar stackdrivrutinen posten "
"till bar och skriver ändringen där. Posten i bar skymmer nu posten i baz så "
"att debconf inte längre ser den senare."

#. type: Plain text
#: debconf.conf.5:350
msgid ""
"This kind of thing is particularly useful if you want to point many systems "
"at a central, readonly database, while still allowing things to be "
"overridden on each system. When access controls are added to the picture, "
"stacks allow you to do many other interesting things, like redirect all "
"passwords to one database while a database underneath it handles everything "
"else."
msgstr ""
"Det här är särskilt användbart om flera system ska använda en central "
"skrivskyddad databas och du samtidigt vill kunna åsidosätta värden på varje "
"system. Genom att kombinera en stack med åtkomstkontroll kan du exempelvis "
"styra alla lösenord till en databas medan en databas längre ned i stacken "
"hanterar allt annat."

#. type: Plain text
#: debconf.conf.5:352
msgid "Only one piece of configuration is needed to set up a stack:"
msgstr "För att konfigurera en stack behövs bara en inställning:"

#. type: Plain text
#: debconf.conf.5:358
msgid ""
"This is where you specify a list of other databases, by name, to tell it "
"what makes up the stack."
msgstr "Ange namnen på de databaser som ska ingå i stacken."

#. type: Plain text
#: debconf.conf.5:361 debconf.conf.5:387
msgid "For example:"
msgstr "Exempel:"

#. type: Plain text
#: debconf.conf.5:365
#, no-wrap
msgid ""
"  Name: megadb\n"
"  Driver: stack\n"
"  Stack: passworddb, configdb, companydb\n"
msgstr ""
"  Name: megadb\n"
"  Driver: Stack\n"
"  Stack: passworddb, configdb, companydb\n"

#. type: Plain text
#: debconf.conf.5:368
msgid ""
"WARNING: The stack driver is not very well tested yet. Use at your own risk."
msgstr ""
"VARNING: Stackdrivrutinen har ännu inte testats särskilt grundligt. Använd "
"den på egen risk."

#. type: Plain text
#: debconf.conf.5:374
msgid ""
"This driver passes all requests on to another database driver. But it also "
"copies all write requests to a backup database driver."
msgstr ""
"Den här drivrutinen vidarebefordrar alla anrop till en annan "
"databasdrivrutin. Dessutom skickar den en kopia av varje skrivning till en "
"drivrutin för säkerhetskopiering."

#. type: Plain text
#: debconf.conf.5:376 debconf.conf.5:400
msgid "You must specify the following fields to set up this driver:"
msgstr "Följande fält måste anges för att konfigurera drivrutinen:"

#. type: TP
#: debconf.conf.5:378 debconf.conf.5:402
#, no-wrap
msgid "B<Db>"
msgstr "B<Db>"

#. type: Plain text
#: debconf.conf.5:381 debconf.conf.5:405
msgid "The database to read from and write to."
msgstr "Databasen som drivrutinen ska läsa från och skriva till."

#. type: TP
#: debconf.conf.5:381
#, no-wrap
msgid "B<Backupdb>"
msgstr "B<Backupdb>"

#. type: Plain text
#: debconf.conf.5:384
msgid "The name of the database to send copies of writes to."
msgstr "Namnet på den databas som ska ta emot en kopia av varje skrivning."

#. type: Plain text
#: debconf.conf.5:392
#, no-wrap
msgid ""
"  Name: backup\n"
"  Driver: Backup\n"
"  Db: mydb\n"
"  Backupdb: mybackupdb\n"
msgstr ""
"  Name: backup\n"
"  Driver: Backup\n"
"  Db: mydb\n"
"  Backupdb: mybackupdb\n"

#. type: Plain text
#: debconf.conf.5:398
msgid ""
"This driver passes all requests on to another database driver, outputting "
"verbose debugging output about the request and the result."
msgstr ""
"Den här drivrutinen vidarebefordrar alla anrop till en annan "
"databasdrivrutin och skriver ut utförlig felsökningsinformation om varje "
"anrop och dess resultat."

#. type: SH
#: debconf.conf.5:407
#, no-wrap
msgid "ACCESS CONTROLS"
msgstr "ÅTKOMSTKONTROLL"

#. type: Plain text
#: debconf.conf.5:411
msgid ""
"When you set up a database, you can also use some fields to specify access "
"controls. You can specify that a database only accepts passwords, for "
"example, or make a database only accept things with \"foo\" in their name."
msgstr ""
"När du konfigurerar en databas kan du också ange fält som styr åtkomsten "
"till den. Du kan till exempel låta en databas ta emot enbart lösenord eller "
"enbart poster som har ”foo” i namnet."

#. type: TP
#: debconf.conf.5:411
#, no-wrap
msgid "B<Readonly>"
msgstr "B<Readonly>"

#. type: Plain text
#: debconf.conf.5:416
msgid ""
"As was mentioned earlier, this access control, if set to \"true\", makes a "
"database readonly. Debconf will read values from it, but will never write "
"anything to it."
msgstr ""
"Som nämnts ovan gör värdet ”true” databasen skrivskyddad. Debconf läser "
"värden från databasen men skriver aldrig något till den."

#. type: TP
#: debconf.conf.5:416
#, no-wrap
msgid "B<Accept-Name>"
msgstr "B<Accept-Name>"

#. type: Plain text
#: debconf.conf.5:422
msgid ""
"The text in this field is a perl-compatible regular expression that is "
"matched against the names of items as they are requested from the database. "
"Only if an items name matches the regular expression, will the database "
"allow debconf to access or modify it."
msgstr ""
"Texten i det här fältet är ett Perl-kompatibelt reguljärt uttryck. När en "
"post efterfrågas jämförs dess namn med uttrycket. Databasen låter bara "
"debconf komma åt eller ändra posten om namnet matchar uttrycket."

#. type: TP
#: debconf.conf.5:422
#, no-wrap
msgid "B<Reject-Name>"
msgstr "B<Reject-Name>"

#. type: Plain text
#: debconf.conf.5:426
msgid ""
"Like Accept-Name, except any item name matching this regular expression will"
" be rejected."
msgstr ""
"Som Accept-Name, men poster vars namn matchar det reguljära uttrycket "
"avvisas."

#. type: TP
#: debconf.conf.5:426
#, no-wrap
msgid "B<Accept-Type>"
msgstr "B<Accept-Type>"

#. type: Plain text
#: debconf.conf.5:431
msgid ""
"Another regular expression, this matches against the type of the item that "
"is being accessed. Only if the type matches the regex will access be "
"granted."
msgstr ""
"Ett annat reguljärt uttryck, som jämförs med typen på den post som debconf "
"vill komma åt. Åtkomst beviljas endast om typen matchar uttrycket."

#. type: TP
#: debconf.conf.5:431
#, no-wrap
msgid "B<Reject-Type>"
msgstr "B<Reject-Type>"

#. type: Plain text
#: debconf.conf.5:435
msgid ""
"Like Accept-Type, except any type matching this regular expression will be "
"rejected."
msgstr ""
"Som Accept-Type, men alla typer som matchar det reguljära uttrycket avvisas."

#. type: SH
#: debconf.conf.5:435
#, no-wrap
msgid "FORMATS"
msgstr "FORMAT"

#. type: Plain text
#: debconf.conf.5:439
msgid ""
"Some of the database drivers use format modules to control the actual format"
" in which the database is stored on disk. These formats are currently "
"supported:"
msgstr ""
"Vissa databasdrivrutiner använder formatmoduler för att styra hur databasen "
"lagras på disk. Följande format stöds:"

#. type: TP
#: debconf.conf.5:439
#, no-wrap
msgid "B<822>"
msgstr "B<822>"

#. type: Plain text
#: debconf.conf.5:444
msgid ""
"This is a file format loosely based upon the rfc-822 format for email "
"message headers. Similar formats are used throughout Debian; in the dpkg "
"status file, and so on."
msgstr ""
"Ett filformat som bygger löst på RFC 822-formatet för e-posthuvuden. "
"Liknande format används på många håll i Debian, bland annat i dpkg:s "
"statusfil."

#. type: Plain text
#: debconf.conf.5:446
msgid "Here is a more complicated example of a debconf.conf file."
msgstr "Här följer ett mer omfattande exempel på en debconf.conf-fil."

#. type: Plain text
#: debconf.conf.5:452
#, no-wrap
msgid ""
"  # This stanza is used for general debconf setup.\n"
"  Config: stack\n"
"  Templates: templates\n"
"  Log: developer\n"
"  Debug: developer\n"
msgstr ""
"  # Detta stycke innehåller allmänna inställningar för debconf.\n"
"  Config: stack\n"
"  Templates: templates\n"
"  Log: developer\n"
"  Debug: developer\n"

#. type: Plain text
#: debconf.conf.5:457
#, no-wrap
msgid ""
"  # This is my own local database.\n"
"  Name: mydb\n"
"  Driver: DirTree\n"
"  Directory: /var/cache/debconf/config\n"
msgstr ""
"  # Det här är min egen lokala databas.\n"
"  Name: mydb\n"
"  Driver: DirTree\n"
"  Directory: /var/cache/debconf/config\n"

#. type: Plain text
#: debconf.conf.5:469
#, no-wrap
msgid ""
"  # This is another database that I use to hold\n"
"  # only X server configuration.\n"
"  Name: X\n"
"  Driver: File\n"
"  Filename: /etc/X11/debconf.dat\n"
"  Mode: 644\n"
"  # It's sorta hard to work out what questions\n"
"  # belong to X; it should be using a deeper\n"
"  # tree structure so I could just match on ^X/\n"
"  # Oh well.\n"
"  Accept-Name: xserver|xfree86|xbase\n"
msgstr ""
"  # I den här databasen lagrar jag bara\n"
"  # inställningarna för X-servern.\n"
"  Name: X\n"
"  Driver: File\n"
"  Filename: /etc/X11/debconf.dat\n"
"  Mode: 644\n"
"  # Det är rätt svårt att avgöra vilka frågor som\n"
"  # hör till X. Med en djupare trädstruktur hade\n"
"  # det räckt att matcha mot ^X/ för att hitta dem.\n"
"  # Nåja.\n"
"  Accept-Name: xserver|xfree86|xbase\n"

#. type: Plain text
#: debconf.conf.5:485
#, no-wrap
msgid ""
"  # This is our company's global, read-only\n"
"  # (for me!) debconf database.\n"
"  Name: company\n"
"  Driver: LDAP\n"
"  Server: debconf.foo.com\n"
"  BaseDN: cn=debconf,dc=foo,dc=com\n"
"  BindDN: uid=admin,dc=foo,dc=com\n"
"  BindPasswd: secret\n"
"  Readonly: true\n"
"  # I don't want any passwords that might be\n"
"  # floating around in there.\n"
"  Reject-Type: password\n"
"  # If this db is not accessible for whatever\n"
"  # reason, carry on anyway.\n"
"  Required: false\n"
msgstr ""
"  # Det här är företagets gemensamma debconf-databas,\n"
"  # där jag bara har läsåtkomst.\n"
"  Name: company\n"
"  Driver: LDAP\n"
"  Server: debconf.foo.com\n"
"  BaseDN: cn=debconf,dc=foo,dc=com\n"
"  BindDN: uid=admin,dc=foo,dc=com\n"
"  BindPasswd: secret\n"
"  Readonly: true\n"
"  # Jag vill inte hämta eventuella lösenord\n"
"  # som finns i databasen.\n"
"  Reject-Type: password\n"
"  # Fortsätt även om databasen av någon\n"
"  # anledning inte går att nå.\n"
"  Required: false\n"

#. type: Plain text
#: debconf.conf.5:493
#, no-wrap
msgid ""
"  # I use this database to hold\n"
"  # passwords safe and secure.\n"
"  Name: passwords\n"
"  Driver: File\n"
"  Filename: /etc/debconf/passwords\n"
"  Mode: 600\n"
"  Accept-Type: password\n"
msgstr ""
"  # I den här databasen förvarar jag\n"
"  # lösenorden på ett säkert sätt.\n"
"  Name: passwords\n"
"  Driver: File\n"
"  Filename: /etc/debconf/passwords\n"
"  Mode: 600\n"
"  Accept-Type: password\n"

#. type: Plain text
#: debconf.conf.5:506
#, no-wrap
msgid ""
"  # Let's put them all together\n"
"  # in a database stack.\n"
"  Name: stack\n"
"  Driver: Stack\n"
"  Stack: passwords, X, mydb, company\n"
"  # So, all passwords go to the password database.\n"
"  # Most X configuration stuff goes to the X\n"
"  # database, and anything else goes to my main\n"
"  # database. Values are looked up in each of those\n"
"  # in turn, and if none has a particular value, it\n"
"  # is looked up in the company-wide LDAP database\n"
"  # (unless it's a password).\n"
msgstr ""
"  # Nu lägger jag samman alla databaserna\n"
"  # i en stack.\n"
"  Name: stack\n"
"  Driver: Stack\n"
"  Stack: passwords, X, mydb, company\n"
"  # Alla lösenord hamnar därmed i lösenordsdatabasen.\n"
"  # De flesta inställningar för X hamnar i databasen X\n"
"  # och allt annat hamnar i min huvuddatabas.\n"
"  # Värden söks i var och en av dessa databaser i tur\n"
"  # och ordning. Ett värde som saknas i alla tre söks\n"
"  # i företagets gemensamma LDAP-databas, såvida det\n"
"  # inte är ett lösenord.\n"

#. type: Plain text
#: debconf.conf.5:514
#, no-wrap
msgid ""
"  # A database is also used to hold templates. We\n"
"  # don't need to make this as fancy.\n"
"  Name: templates\n"
"  Driver: File\n"
"  Mode: 644\n"
"  Format: 822\n"
"  Filename: /var/cache/debconf/templates\n"
msgstr ""
"  # Även mallarna lagras i en databas. För den\n"
"  # räcker det med en enklare konfiguration.\n"
"  Name: templates\n"
"  Driver: File\n"
"  Mode: 644\n"
"  Format: 822\n"
"  Filename: /var/cache/debconf/templates\n"

#. type: SH
#: debconf.conf.5:514 confmodule.3:22
#, no-wrap
msgid "NOTES"
msgstr "ANMÄRKNINGAR"

#. type: Plain text
#: debconf.conf.5:517
msgid ""
"If you use something like ${HOME} in this file, it will be replaced with the"
" value of the named environment variable."
msgstr ""
"Om du skriver något i stil med ${HOME} i den här filen ersätts det med "
"värdet på miljövariabeln med det angivna namnet."

#. type: Plain text
#: debconf.conf.5:521
msgid ""
"Environment variables can also be used to override the databases on the fly,"
" see B<debconf>(7)"
msgstr ""
"Du kan också använda miljövariabler för att åsidosätta "
"databasinställningarna vid körning. Se B<debconf>(7)."

#. type: Plain text
#: debconf.conf.5:524
msgid ""
"The field names (the part of the line before the colon) is case-insensitive."
" The values, though, are case sensitive."
msgstr ""
"Fältnamnen (den del av raden som står före kolonet) är inte "
"skiftlägeskänsliga. I värdena har däremot stora och små bokstäver olika "
"betydelse."

#. type: SH
#: debconf.conf.5:524
#, no-wrap
msgid "PLANNED ENHANCEMENTS"
msgstr "PLANERADE FÖRBÄTTRINGAR"

#. type: Plain text
#: debconf.conf.5:533
msgid ""
"More drivers and formats. Some ideas include: A SQL driver, with the "
"capability to access a remote database.  A DHCP driver, that makes available"
" some special things like hostname, IP address, and DNS servers.  A driver "
"that pulls values out of public DNS records TXT fields.  A format that is "
"compatible with the output of cdebconf.  An override driver, which can "
"override the value field or flags of all requests that pass through it."
msgstr ""
"Fler drivrutiner och format. Bland idéerna finns en SQL-drivrutin som kan "
"komma åt en fjärrdatabas, en DHCP-drivrutin som kan tillhandahålla uppgifter"
" som värdnamn, IP-adress och DNS-servrar samt en drivrutin som hämtar värden"
" från TXT-fält i offentliga DNS-poster. Andra förslag är ett format som är "
"kompatibelt med utdata från cdebconf och en drivrutin som kan åsidosätta "
"värdefältet eller flaggorna för alla anrop som passerar genom den."

#. type: SH
#: debconf.conf.5:533
#, no-wrap
msgid "FILES"
msgstr "FILER"

#. type: Plain text
#: debconf.conf.5:535
msgid "/etc/debconf.conf"
msgstr "/etc/debconf.conf"

#. type: Plain text
#: debconf.conf.5:537
msgid "~/.debconfrc"
msgstr "~/.debconfrc"

#. type: Plain text
#: debconf.conf.5:539
msgid "B<debconf>(7)"
msgstr "B<debconf>(7)"

#. type: Plain text
#: debconf.conf.5:540 confmodule.3:43 debconf.7:383 debconf-devel.7:969
msgid "Joey Hess E<lt>joeyh@debian.orgE<gt>"
msgstr "Joey Hess E<lt>joeyh@debian.orgE<gt>"

#. type: TH
#: confmodule.3:1
#, no-wrap
msgid "CONFMODULE"
msgstr "CONFMODULE"

#. type: Plain text
#: confmodule.3:4
msgid "confmodule - communicate with Debian configuration system FrontEnd."
msgstr ""
"confmodule - kommunicera med gränssnittet till Debians konfigurationssystem"

#. type: Plain text
#: confmodule.3:12
#, no-wrap
msgid ""
"  #!/bin/sh -e\n"
"  . /usr/share/debconf/confmodule\n"
"  db_version 2.0\n"
"  db_capb 'backup'\n"
"  CAPB=$RET\n"
"  db_input 'foo/bar' || true\n"
"  db_go || true\n"
msgstr ""
"  #!/bin/sh -e\n"
"  . /usr/share/debconf/confmodule\n"
"  db_version 2.0\n"
"  db_capb 'backup'\n"
"  CAPB=$RET\n"
"  db_input medium 'foo/bar' || true\n"
"  db_go || true\n"

#. type: Plain text
#: confmodule.3:22
msgid ""
"This is a library of shell functions that eases communication with Debian's "
"configuration management system. It can communicate with a FrontEnd via the "
"debconf protocol. The design is that each command in the protocol is "
"represented by one function in this module. The functionname is the same as "
"the command, except it is prefixed with \"db_\" and is lower-case. Call the "
"function and pass in any parameters you want to follow the command. Any "
"textual return code from the FrontEnd will be returned to you in the $RET "
"variable, while the numeric return code from the FrontEnd will be returned "
"as a return code (and so those return codes must be captured or ignored)."
msgstr ""
"Det här biblioteket innehåller skalfunktioner som underlättar "
"kommunikationen med Debians konfigurationssystem. Det kan kommunicera med "
"ett gränssnitt via debconf-protokollet. Varje kommando i protokollet "
"motsvaras av en funktion i modulen. Funktionens namn är kommandot med små "
"bokstäver och prefixet ”db_”. Anropa funktionen med de parametrar som ska "
"följa efter kommandot. Ett eventuellt textsvar från gränssnittet finns sedan"
" i variabeln $RET. Gränssnittets numeriska returkod blir funktionens "
"returkod och måste därför tas om hand eller uttryckligen ignoreras."

#. type: Plain text
#: confmodule.3:29
#, no-wrap
msgid ""
"Once this library is loaded, any text you later output will go to standard\n"
"error, rather than standard output. This is a good thing in general, because\n"
"text sent to standard output is interpreted by the FrontEnd as commands. If\n"
"you do want to send a command directly to the FrontEnd, you must output it\n"
"to file descriptor 3, like this:\n"
"  echo GET foo/bar E<gt>&3\n"
msgstr ""
"När biblioteket har lästs in går text som skriptet skriver ut till\n"
"standardfel i stället för till standardutdata. Det är normalt önskvärt,\n"
"eftersom gränssnittet tolkar text på standardutdata som kommandon. Vill\n"
"du skicka ett kommando direkt till gränssnittet måste du i stället skriva\n"
"det till filbeskrivare 3, så här:\n"
"  echo GET foo/bar E<gt>&3\n"

#. type: Plain text
#: confmodule.3:36
msgid ""
"The library checks to make sure it is actually speaking to a FrontEnd by "
"examining the DEBIAN_HAS_FRONTEND variable. If it is set, a FrontEnd is "
"assumed to be running. If not, the library turns into one, and runs a copy "
"of the script that loaded the library connected to it. This means that if "
"you source this library, you should do so very near to the top of your "
"script, because everything before the sourcing of the library may well be "
"run again."
msgstr ""
"Biblioteket undersöker variabeln DEBIAN_HAS_FRONTEND för att kontrollera att"
" det kommunicerar med ett gränssnitt. Om variabeln är satt förutsätts ett "
"gränssnitt redan vara i gång. Annars startar biblioteket självt ett "
"gränssnitt och kör en kopia av skriptet som läste in biblioteket, med kopian"
" ansluten till gränssnittet. Läs därför in biblioteket så nära början av "
"skriptet som möjligt. Allt som står före inläsningen kan komma att köras en "
"gång till."

#. type: Plain text
#: confmodule.3:42
msgid ""
"B<debconf-devel>(7), B<dpkg-preconfigure>(8), B<dpkg-reconfigure>(8), "
"debconf_specification in the debian-policy package"
msgstr ""
"B<debconf-devel>(7), B<dpkg-preconfigure>(8), B<dpkg-reconfigure>(8), "
"debconf_specification i paketet debian-policy"

#. type: TH
#: debconf.7:1
#, no-wrap
msgid "DEBCONF"
msgstr "DEBCONF"

#. type: Plain text
#: debconf.7:4
msgid "debconf - Debian package configuration system"
msgstr "debconf - konfigurationssystem för Debianpaket"

#. type: Plain text
#: debconf.7:8
msgid ""
"Debconf is a configuration system for Debian packages. There is a rarely-"
"used command named debconf, documented in B<debconf>(1)"
msgstr ""
"Debconf är ett konfigurationssystem för Debianpaket. Det finns också ett "
"kommando som heter debconf. Det används sällan och beskrivs i B<debconf>(1)."

#. type: Plain text
#: debconf.7:16
msgid ""
"Debconf provides a consistent interface for configuring packages, allowing "
"you to choose from several user interface frontends. It supports "
"preconfiguring packages before they are installed, which allows large "
"installs and upgrades to ask you for all the necessary information up front,"
" and then go do the work while you do something else. It lets you, if you're"
" in a hurry, skip over less important questions and information while "
"installing a package (and revisit it later)."
msgstr ""
"Med debconf konfigureras paketen på ett enhetligt sätt och du kan välja "
"mellan flera användargränssnitt. Paketen kan förkonfigureras före "
"installationen. Vid större installationer och uppgraderingar kan du därför "
"besvara alla frågor i början och sedan göra något annat medan arbetet "
"slutförs. Om du har bråttom kan du hoppa över mindre viktiga frågor och "
"meddelanden när du installerar ett paket och återkomma till dem senare."

#. type: SH
#: debconf.7:16
#, no-wrap
msgid "Preconfiguring packages"
msgstr "Förkonfigurera paket"

#. type: Plain text
#: debconf.7:22
msgid ""
"Debconf can configure packages before they are even installed onto your "
"system. This is useful because it lets all the questions the packages are "
"going to ask be asked at the beginning of an install, so the rest of the "
"install can proceed while you are away getting a cup of coffee."
msgstr ""
"Med debconf kan du konfigurera paket redan innan de installeras på systemet."
" Alla frågor kan då ställas i början av installationen, så att resten kan "
"fortgå medan du exempelvis tar en kopp kaffe."

#. type: Plain text
#: debconf.7:27
msgid ""
"If you use apt (version 0.5 or above), and you have apt-utils installed, "
"each package apt installs will be automatically preconfigured. This is "
"controlled via I</etc/apt/apt.conf.d/70debconf>"
msgstr ""
"Om du använder apt (version 0.5 eller senare) och har installerat apt-utils "
"förkonfigureras automatiskt varje paket som apt installerar. Detta styrs via"
" I</etc/apt/apt.conf.d/70debconf>."

#. type: Plain text
#: debconf.7:33
msgid ""
"Sometimes you might want to preconfigure a package by hand, when you're not "
"installing it with apt. You can use B<dpkg-preconfigure>(8)  to do that, "
"just pass it the filenames of the packages you want to preconfigure. You "
"will need apt-utils installed for that to work."
msgstr ""
"Ibland vill du förkonfigurera ett paket för hand när du inte använder apt "
"för att installera det. Kör då B<dpkg-preconfigure>(8) med filnamnen på de "
"paket som du vill förkonfigurera. Paketet apt-utils måste vara installerat."

#. type: SH
#: debconf.7:33
#, no-wrap
msgid "Reconfiguring packages"
msgstr "Konfigurera om paket"

#. type: Plain text
#: debconf.7:40
msgid ""
"Suppose you installed the package, and answered debconf's questions, but now"
" that you've used it awhile, you realize you want to go back and change some"
" of your answers. In the past, reinstalling a package was often the thing to"
" do when you got in this situation, but when you reinstall the package, "
"debconf seems to remember you have answered the questions, and doesn't ask "
"them again (this is a feature)."
msgstr ""
"Anta att du har installerat ett paket och svarat på debconfs frågor. När du "
"har använt paketet ett tag vill du ändra några av svaren. Förr var det "
"vanligt att installera om paketet i det läget. Vid en ominstallation minns "
"dock debconf att du redan har svarat och ställer inte frågorna igen. Det är "
"avsiktligt."

#. type: Plain text
#: debconf.7:44
#, no-wrap
msgid ""
"Luckily, debconf makes it easy to reconfigure any package that uses it.\n"
"Suppose you want to reconfigure debconf itself. Just run, as root:\n"
"  dpkg-reconfigure debconf\n"
msgstr ""
"Det är enkelt att konfigurera om ett paket som använder debconf. Om du till\n"
"exempel vill konfigurera om själva debconf kör du följande som root:\n"
"  dpkg-reconfigure debconf\n"

#. type: Plain text
#: debconf.7:49
msgid ""
"This will ask all the questions you saw when debconf was first installed.  "
"It may ask you other questions as well, since it asks even low priority "
"questions that may have been skipped when the package was installed.  You "
"can use it on any other package that uses debconf, as well."
msgstr ""
"Du får då svara på alla de frågor som ställdes första gången debconf "
"installerades. Det kan också tillkomma frågor eftersom även frågor med låg "
"prioritet ställs, trots att de kan ha hoppats över vid installationen. Du "
"kan använda samma kommando för alla andra paket som använder debconf."

#. type: SH
#: debconf.7:49
#, no-wrap
msgid "Frontends"
msgstr "Gränssnitt"

#. type: Plain text
#: debconf.7:53
msgid ""
"One of debconf's unique features is that the interface it presents to you is"
" only one of many, that can be swapped in at will. There are many debconf "
"frontends available:"
msgstr ""
"Debconf erbjuder flera utbytbara användargränssnitt. Du kan när som helst "
"välja vilket av följande gränssnitt du vill använda:"

#. type: TP
#: debconf.7:53
#, no-wrap
msgid "B<dialog>"
msgstr "B<dialog>"

#. type: Plain text
#: debconf.7:60
msgid ""
"The default frontend, this uses the B<whiptail>(1)  or B<dialog>(1)  "
"programs to display questions to you. It works in text mode."
msgstr ""
"Standardgränssnittet använder programmet B<whiptail>(1) eller B<dialog>(1) "
"för att visa frågor. Det körs i textläge."

#. type: TP
#: debconf.7:60
#, no-wrap
msgid "B<readline>"
msgstr "B<readline>"

#. type: Plain text
#: debconf.7:72
msgid ""
"The most traditional frontend, this looks quite similar to how Debian "
"configuration always has been: a series of questions, printed out at the "
"console using plain text, and prompts done using the readline library. It "
"even supports tab completion. The libterm-readline-gnu-perl package is "
"strongly recommended if you chose to use this frontend; the default readline"
" module does not support prompting with default values.  At the minimum, "
"you'll need the perl-modules package installed to use this frontend."
msgstr ""
"Det här är det mest traditionella gränssnittet. Det liknar det sätt på "
"vilket Debian länge har konfigurerats: frågor skrivs ut som vanlig text på "
"konsolen och du svarar med hjälp av readline-biblioteket. Det stöder även "
"komplettering med tabbtangenten. Paketet libterm-readline-gnu-perl "
"rekommenderas starkt för det här gränssnittet, eftersom readline-modulen som"
" används som standard inte stöder inmatning med förifyllda standardvärden. "
"Som minimum måste paketet perl-modules vara installerat."

#. type: Plain text
#: debconf.7:77
msgid ""
"This frontend has some special hotkeys. Pageup (or ctrl-u)  will go back to "
"the previous question (if that is supported by the package that is using "
"debconf), and pagedown (or ctrl-v) will skip forward to the next question."
msgstr ""
"Gränssnittet har särskilda kortkommandon. Page Up (eller Ctrl+U) går "
"tillbaka till föregående fråga om paketet som använder debconf stöder det. "
"Page Down (eller Ctrl+V) hoppar fram till nästa fråga."

#. type: Plain text
#: debconf.7:80
msgid ""
"This is the best frontend for remote admin work over a slow connection, or "
"for those who are comfortable with unix."
msgstr ""
"Det här gränssnittet passar särskilt bra för fjärradministration över en "
"långsam anslutning och för den som är van vid Unix."

#. type: TP
#: debconf.7:81
#, no-wrap
msgid "B<noninteractive>"
msgstr "B<noninteractive>"

#. type: Plain text
#: debconf.7:90
msgid ""
"This is the anti-frontend. It never interacts with you at all, and makes the"
" default answers be used for all questions. It might mail error messages to "
"root, but that's it; otherwise it is completely silent and unobtrusive, a "
"perfect frontend for automatic installs. If you are using this front-end, "
"and require non-default answers to questions, you will need to preseed the "
"debconf database; see the section below on Unattended Package Installation "
"for more details."
msgstr ""
"Det här gränssnittet använder standardsvaren på alla frågor utan att be dig "
"om inmatning. Det kan skicka felmeddelanden till root via e-post men arbetar"
" i övrigt tyst i bakgrunden och lämpar sig därför väl för automatiska "
"installationer. Om du behöver andra svar än standardvärdena måste du fylla i"
" dem i debconf-databasen i förväg. Se avsnittet Obevakad paketinstallation "
"nedan."

#. type: TP
#: debconf.7:90
#, no-wrap
msgid "B<gnome>"
msgstr "B<gnome>"

#. type: Plain text
#: debconf.7:96
msgid ""
"This is a modern X GUI using the gtk and gnome libraries. Of course, it "
"requires a valid DISPLAY to work; debconf will fall back to other frontends "
"if it can't work. Note that this frontend requires you have the libgtk3-perl"
" package installed."
msgstr ""
"Ett grafiskt X-gränssnitt som använder GTK- och GNOME-biblioteken. Det "
"förutsätter att DISPLAY har ett giltigt värde. Om gränssnittet inte går att "
"använda försöker debconf med andra gränssnitt. Paketet libgtk3-perl måste "
"vara installerat."

#. type: TP
#: debconf.7:96
#, no-wrap
msgid "B<kde>"
msgstr "B<kde>"

#. type: Plain text
#: debconf.7:102
msgid ""
"This frontend provides a modern X GUI based on the KDE Platform. You of "
"course need a DISPLAY to use this frontend and you must install debconf-kde-"
"helper package. The frontend will fall back to dialog if some of the "
"prerequisites are not met."
msgstr ""
"Ett grafiskt X-gränssnitt som bygger på KDE-plattformen. För att använda det"
" måste du ha angett DISPLAY och installerat paketet debconf-kde-helper. Om "
"förutsättningarna saknas växlar debconf till dialog."

#. type: TP
#: debconf.7:102
#, no-wrap
msgid "B<editor>"
msgstr "B<editor>"

#. type: Plain text
#: debconf.7:110
msgid ""
"This is for those fanatics who have to do everything in a text editor. It "
"runs your editor on a file that looks something like a typical unix config "
"file, and you edit the file to communicate with debconf. Debconf's author "
"prefers to not comment regarding the circumstances that led to this frontend"
" being written."
msgstr ""
"Det här gränssnittet är för dig som helst gör allt i en textredigerare. I "
"din textredigerare öppnas en fil som liknar en vanlig konfigurationsfil i "
"Unix. Genom att redigera filen kommunicerar du med debconf. Författaren till"
" debconf avstår helst från att kommentera omständigheterna bakom "
"gränssnittets tillkomst."

#. type: TP
#: debconf.7:110
#, no-wrap
msgid "B<web>"
msgstr "B<web>"

#. type: Plain text
#: debconf.7:120
msgid ""
"This frontend acts as a web server, that you connect to with your web "
"browser, to browse the questions and answer them.  It has a lot of promise, "
"but is a little rough so far.  When this frontend starts up, it will print "
"out the location you should point your web browser to. You have to run the "
"web browser on the same machine you are configuring, for security reasons."
msgstr ""
"Gränssnittet fungerar som en webbserver. Du ansluter med en webbläsare för "
"att läsa frågorna och besvara dem. Gränssnittet är lovande men ännu inte "
"helt färdigutvecklat. När det startar visas adressen som du ska öppna i "
"webbläsaren. Av säkerhetsskäl måste webbläsaren köras på den dator som du "
"konfigurerar."

#. type: Plain text
#: debconf.7:126
msgid ""
"Do keep in mind that this is not a very secure frontend.  Anyone who has "
"access to the computer being configured can currently access the web server "
"and configure things while this frontend is running. So this is more of a "
"proof of concept than anything."
msgstr ""
"Tänk på att det här gränssnittet har begränsad säkerhet. Så länge det körs "
"kan alla som har tillgång till datorn som konfigureras komma åt webbservern "
"och ändra inställningar. Gränssnittet bör därför främst betraktas som en "
"demonstration."

#. type: Plain text
#: debconf.7:133
#, no-wrap
msgid ""
"You can change the default frontend debconf uses by reconfiguring\n"
"debconf. On the other hand, if you just want to change the frontend\n"
"for a minute, you can set the DEBIAN_FRONTEND environment variable to\n"
"the name of the frontend to use. For example:\n"
"  DEBIAN_FRONTEND=readline apt-get install slrn\n"
msgstr ""
"Du kan ändra standardgränssnitt genom att konfigurera om debconf.\n"
"Vill du bara byta gränssnitt tillfälligt kan du sätta miljövariabeln\n"
"DEBIAN_FRONTEND till namnet på det gränssnitt du vill använda.\n"
"Exempel:\n"
"  DEBIAN_FRONTEND=readline apt-get install slrn\n"

#. type: Plain text
#: debconf.7:141
msgid ""
"The B<dpkg-reconfigure>(8)  and B<dpkg-preconfigure>(8)  commands also let "
"you pass I<--frontend=> to them, followed by the frontend you want them to "
"use."
msgstr ""
"När du kör B<dpkg-reconfigure>(8) eller B<dpkg-preconfigure>(8) kan du också"
" ange I<--frontend=> följt av namnet på det gränssnitt du vill använda."

#. type: Plain text
#: debconf.7:145
msgid ""
"Note that not all frontends will work in all circumstances. If a frontend "
"fails to start up for some reason, debconf will print out a message "
"explaining why, and fall back to the next-most similar frontend."
msgstr ""
"Alla gränssnitt fungerar inte i alla situationer. Om ett gränssnitt inte går"
" att starta visar debconf ett meddelande som förklarar varför och provar "
"sedan det gränssnitt som är mest likt det första."

#. type: SH
#: debconf.7:145
#, no-wrap
msgid "Priorities"
msgstr "Prioriteter"

#. type: Plain text
#: debconf.7:152
msgid ""
"Another nice feature of debconf is that the questions it asks you are "
"prioritized. If you don't want to be bothered about every little thing, you "
"can set up debconf to only ask you the most important questions.  On the "
"other hand, if you are a control freak, you can make it show you all "
"questions. Each question has a priority. In increasing order of importance:"
msgstr ""
"Varje fråga som debconf ställer har en prioritet. Om du inte vill bli "
"tillfrågad om varje detalj kan du ställa in debconf så att bara de "
"viktigaste frågorna visas. Du kan också välja att se alla frågor. Här är "
"prioriteterna i stigande ordning:"

#. type: TP
#: debconf.7:152 debconf-devel.7:294
#, no-wrap
msgid "B<low>"
msgstr "B<low>"

#. type: Plain text
#: debconf.7:156
msgid ""
"Very trivial questions that have defaults that will work in the vast "
"majority of cases."
msgstr "Enkla frågor vars standardvärden fungerar i de allra flesta fall."

#. type: TP
#: debconf.7:156 debconf-devel.7:298
#, no-wrap
msgid "B<medium>"
msgstr "B<medium>"

#. type: Plain text
#: debconf.7:159
msgid "Normal questions that have reasonable defaults."
msgstr "Vanliga frågor med rimliga standardvärden."

#. type: TP
#: debconf.7:159 debconf-devel.7:301
#, no-wrap
msgid "B<high>"
msgstr "B<high>"

#. type: Plain text
#: debconf.7:162
msgid "Questions that don't have a reasonable default."
msgstr "Frågor som saknar ett rimligt standardvärde."

#. type: TP
#: debconf.7:162 debconf-devel.7:304
#, no-wrap
msgid "B<critical>"
msgstr "B<critical>"

#. type: Plain text
#: debconf.7:165
msgid "Questions that you really, really need to see (or else)."
msgstr "Frågor som du absolut måste få se."

#. type: Plain text
#: debconf.7:175
msgid ""
"Only questions with a priority equal to or greater than the priority you "
"choose will be shown to you. You can set the priority value by reconfiguring"
" debconf, or temporarily by passing I<--priority=> followed by the value to "
"the B<dpkg-reconfigure>(8)  and B<dpkg-preconfigure>(8)  commands, or by "
"setting the DEBIAN_PRIORITY environment variable."
msgstr ""
"Du får bara se frågor med den prioritet du har valt eller högre. Du kan "
"ställa in prioriteten genom att konfigurera om debconf. För att ändra den "
"tillfälligt kan du ange I<--priority=> följt av värdet när du kör B<dpkg-"
"reconfigure>(8) eller B<dpkg-preconfigure>(8), eller sätta miljövariabeln "
"DEBIAN_PRIORITY."

#. type: SH
#: debconf.7:175
#, no-wrap
msgid "Backend Database"
msgstr "Databasen"

#. type: Plain text
#: debconf.7:187
msgid ""
"Debconf uses a rather flexible and potentially complicated backend database "
"for storing data such as the answers to questions. The file "
"B</etc/debconf.conf> is used to configure this database. If you need to set "
"up something complicated, like make debconf read a remote database to get "
"defaults, with local overrides, read the B<debconf.conf>(5)  man page for "
"all the gory details. Generally, the backend database is located in "
"B</var/cache/debconf/> ."
msgstr ""
"Debconf lagrar bland annat svaren på frågor i en databas. Databasen är "
"flexibel och kan konfigureras på många olika sätt i filen "
"B</etc/debconf.conf>. Om du till exempel vill att debconf ska läsa "
"standardvärden från en fjärrdatabas och låta lokala värden ha företräde, "
"hittar du detaljerna i manualsidan B<debconf.conf>(5). Databasen finns "
"normalt i B</var/cache/debconf/>."

#. type: SH
#: debconf.7:187
#, no-wrap
msgid "Unattended Package Installation"
msgstr "Obevakad paketinstallation"

#. type: Plain text
#: debconf.7:194
msgid ""
"If you have many machines to manage you will sometimes find yourself in the "
"position of needing to perform an unattended installation or upgrade of "
"packages on many systems, when the default answers to some configuration "
"questions are not acceptable. There are many ways to approach this; all "
"involve setting up a database and making debconf use it to get the answers "
"you want."
msgstr ""
"Om du administrerar många datorer kan du behöva installera eller uppgradera "
"paket utan tillsyn på flera system, även när standardsvaren på vissa "
"konfigurationsfrågor är olämpliga. Det finns flera sätt att göra detta. "
"Gemensamt för dem är att du förbereder en databas med de svar du vill "
"använda och låter debconf hämta svaren därifrån."

#. type: Plain text
#: debconf.7:198
msgid ""
"You should really read B<debconf.conf>(5)  before this section, as you need "
"to understand how debconf's databases work."
msgstr ""
"Läs gärna B<debconf.conf>(5) innan du fortsätter. För att följa exemplen "
"behöver du förstå hur debconfs databaser fungerar."

#. type: Plain text
#: debconf.7:205
msgid ""
"The easiest way to set up the database is to install the packages on one "
"machine and answer their questions as usual. Or you might just use B<dpkg-"
"preconfigure>(8)  to configure a set of packages without actually installing"
" them. Or you might even decide to write a plain text debconf database by "
"hand or something."
msgstr ""
"Det enklaste sättet att skapa databasen är att installera paketen på en "
"dator och svara på frågorna som vanligt. Du kan också använda B<dpkg-"
"preconfigure>(8) för att konfigurera paketen utan att installera dem, eller "
"skriva en debconf-databas i ren text för hand."

#. type: Plain text
#: debconf.7:209
msgid ""
"Once you have the database, you need to figure out how to make the remote "
"systems use it. This depends of course on the configuration of those systems"
" and what database types they are set up to use."
msgstr ""
"När databasen är klar behöver du få fjärrsystemen att använda den. Hur du "
"gör beror på hur systemen är konfigurerade och vilka databastyper de "
"använder."

#. type: Plain text
#: debconf.7:213
msgid ""
"If you are using the LDAP debconf database, an entire network of debian "
"machines can also have any or all package installation questions answered "
"automatically by a single LDAP server."
msgstr ""
"Om du använder debconfs LDAP-databas kan en enda LDAP-server automatiskt "
"besvara alla eller vissa frågor vid paketinstallation på ett helt nätverk av"
" Debian-datorer."

#. type: Plain text
#: debconf.7:222
msgid ""
"But perhaps you're using something a little bit easier to set up like, say, "
"the default debconf database configuration, or you just don't want your "
"remote systems to use LDAP all the time. In this case the best approach is "
"to temporarily configure the remote systems to stack your database "
"underneath their own existing databases, so they pull default values out of "
"it. Debconf offers two environment variables, DEBCONF_DB_FALLBACK and "
"DEBCONF_DB_OVERRIDE, to make it easy to do this on the fly. Here is a sample"
" use:"
msgstr ""
"Du kanske använder en enklare lösning, exempelvis debconfs standarddatabas, "
"eller vill undvika att fjärrsystemen alltid måste använda LDAP. Då kan du "
"tillfälligt lägga din databas sist i fjärrsystemens sökordning, så att den "
"tillhandahåller standardvärden. Med miljövariablerna DEBCONF_DB_FALLBACK och"
" DEBCONF_DB_OVERRIDE kan du enkelt ändra sökordningen för en enskild "
"körning. Här är ett exempel:"

#. type: Plain text
#: debconf.7:226
#, no-wrap
msgid ""
"   cat /var/cache/debconf/config.dat | \\e\n"
"   ssh root@target \"DEBIAN_FRONTEND=noninteractive \\e\n"
"                  DEBCONF_DB_FALLBACK=Pipe apt-get upgrade\"\n"
msgstr ""
"   cat /var/cache/debconf/config.dat | \\e\n"
"   ssh root@target \"DEBIAN_FRONTEND=noninteractive \\e\n"
"                  DEBCONF_DB_FALLBACK=Pipe apt-get upgrade\"\n"

#. type: Plain text
#: debconf.7:232
msgid ""
"This makes the debconf on the remote host read in the data that is piped "
"across the ssh connection and interpret it as a plain text format debconf "
"database. It then uses that database as a fallback database -- a read-only "
"database that is queried for answers to questions if the system's main "
"debconf database lacks answers."
msgstr ""
"Debconf på fjärrdatorn läser de data som skickas genom röret över ssh-"
"förbindelsen och tolkar dem som en debconf-databas i textformat. Den används"
" sedan som reservdatabas. Det är en skrivskyddad databas där debconf söker "
"efter svar som saknas i systemets ordinarie databas."

#. type: Plain text
#: debconf.7:234
msgid ""
"Here's another way to use the DEBCONF_DB_FALLBACK environment variable:"
msgstr "Här är ett annat sätt att använda miljövariabeln DEBCONF_DB_FALLBACK:"

#. type: Plain text
#: debconf.7:237
#, no-wrap
msgid ""
"  ssh -R 389:ldap:389 root@target \\e\n"
"  \t\"DEBCONF_DB_FALLBACK='LDAP{host:localhost}' apt-get upgrade\"\n"
msgstr ""
"  ssh -R 389:ldap:389 root@target \\e\n"
"    \"DEBCONF_DB_FALLBACK='LDAP{server:localhost \\e\n"
"  basedn:cn=debconf,dc=example,dc=com}' \\e\n"
"  apt-get upgrade\"\n"

#. type: Plain text
#: debconf.7:242
msgid ""
"Here ssh is used to set up a tunneled LDAP connection and run debconf.  "
"Debconf is told to use the LDAP server as the fallback database. Note the "
"use of \"{host:localhost}\" to configure how debconf accesses the LDAP "
"database by providing the \"host\" field with a value of \"localhost\"."
msgstr ""
"Här används ssh för att upprätta en LDAP-tunnel och köra debconf. LDAP-"
"servern används som reservdatabas. Fältet \"server\" anger tunnelns lokala "
"ändpunkt och \"basedn\" anger var i katalogträdet debconf ska söka. Byt ut "
"exemplets bas-DN mot bas-DN för din katalog."

#. type: Plain text
#: debconf.7:244
msgid "Here's another method:"
msgstr "Ytterligare ett sätt:"

#. type: Plain text
#: debconf.7:247
#, no-wrap
msgid ""
"  scp config.dat root@target:\n"
"  ssh root@target \"DEBCONF_DB_FALLBACK='File{/root/config.dat}' apt-get upgrade\n"
msgstr ""
"  scp config.dat root@target:\n"
"  ssh root@target \\e\n"
"    \"DEBCONF_DB_FALLBACK='File{/root/config.dat}' apt-get upgrade\"\n"

#. type: Plain text
#: debconf.7:252
msgid ""
"Here you copy the database over with scp, and then ssh over and make debconf"
" use the file you copied over. This illustrates a shorthand you can use in "
"the DEBCONF_DB_FALLBACK parameters -- if a field name is left off, it "
"defaults to \"filename\"."
msgstr ""
"Här kopierar du databasen med scp och ansluter sedan med ssh för att låta "
"debconf använda den kopierade filen. Exemplet visar hur värdet för "
"DEBCONF_DB_FALLBACK kan förkortas. Om du utelämnar fältnamnet används "
"\"filename\"."

#. type: Plain text
#: debconf.7:261
msgid ""
"There is only one problem with these uses of the DEBCONF_DB_FALLBACK "
"parameter: While the fallback database can provide answers to questions the "
"other debconf databases have never seen, it is only queried as a fallback; "
"after the other databases. If you need to instead temporarily override an "
"existing value on the remote host, you should instead use the "
"DEBCONF_DB_OVERRIDE variable. Like DEBCONF_DB_FALLBACK, it sets up a "
"temporary database, but this database is consulted before any others, and "
"can be used to override existing values."
msgstr ""
"Exemplen med DEBCONF_DB_FALLBACK har en begränsning. Reservdatabasen kan "
"besvara frågor som övriga debconf-databaser aldrig har sett, men den "
"genomsöks sist. Om du tillfälligt vill åsidosätta ett befintligt värde på "
"fjärrdatorn ska du använda DEBCONF_DB_OVERRIDE. Precis som "
"DEBCONF_DB_FALLBACK anger den en tillfällig databas, men debconf söker där "
"först, så att dess värden får företräde."

#. type: SH
#: debconf.7:261
#, no-wrap
msgid "Developing for Debconf"
msgstr "Utveckla paket för debconf"

#. type: Plain text
#: debconf.7:266
msgid ""
"Package developers and others who want to develop packages that use debconf "
"should read B<debconf-devel>(7)  ."
msgstr ""
"Paketutvecklare och andra som vill skapa paket som använder debconf bör läsa"
" B<debconf-devel>(7)."

#. type: Plain text
#: debconf.7:274
msgid ""
"Briefly, debconf communicates with maintainer scripts or other programs via "
"standard input and output, using a simple line-oriented command language "
"similar to that used by common internet protocols such as SMTP. Programs use"
" this protocol to ask debconf to display questions to the user, and retrieve"
" the user's answers. The questions themselves are defined in a separate "
"file, called the \"templates file\", which has a format not unlike a debian "
"control file."
msgstr ""
"Debconf kommunicerar med underhållsskript och andra program via "
"standardinmatningen och standardutmatningen. Det använder ett enkelt "
"radbaserat kommandospråk som liknar vanliga internetprotokoll som SMTP. "
"Program använder protokollet för att be debconf visa frågor för användaren "
"och hämta svaren. Frågorna definieras i en separat mallfil vars format "
"liknar Debians kontrollfiler."

#. type: Plain text
#: debconf.7:278
msgid ""
"Debian packages which use debconf typically provide both a templates file "
"and a \"config\" script (run to preconfigure the package) in the control "
"metadata section of the package."
msgstr ""
"Debianpaket som använder debconf har vanligtvis både en mallfil och ett "
"skript som heter \"config\" bland paketets styrfiler. Skriptet körs för att "
"förkonfigurera paketet."

#. type: SH
#: debconf.7:278
#, no-wrap
msgid "ENVIRONMENT"
msgstr "MILJÖVARIABLER"

#. type: TP
#: debconf.7:279
#, no-wrap
msgid "B<DEBIAN_FRONTEND>"
msgstr "B<DEBIAN_FRONTEND>"

#. type: Plain text
#: debconf.7:282
msgid "Used to temporarily change the frontend debconf uses. See above."
msgstr "Ändrar tillfälligt vilket gränssnitt debconf använder. Se ovan."

#. type: TP
#: debconf.7:282
#, no-wrap
msgid "B<DEBIAN_PRIORITY>"
msgstr "B<DEBIAN_PRIORITY>"

#. type: Plain text
#: debconf.7:286
msgid ""
"Used to temporarily change the minimum priority of question debconf will "
"display. See above."
msgstr ""
"Ändrar tillfälligt den lägsta prioriteten för de frågor som debconf visar. "
"Se ovan."

#. type: TP
#: debconf.7:286 debconf-devel.7:576
#, no-wrap
msgid "B<DEBCONF_DEBUG>"
msgstr "B<DEBCONF_DEBUG>"

#. type: Plain text
#: debconf.7:292
msgid ""
"Turns on debugging output on standard error. May be set to a facility name "
"or a regular expression which matches a facility name (such as '.*' to "
"output all debug info). The facility names include:"
msgstr ""
"Aktiverar felsökningsutskrifter till standardfelutmatningen. Ange namnet på "
"en kategori eller ett reguljärt uttryck som matchar kategorinamn. Använd "
"till exempel '.*' för att visa all felsökningsinformation. Bland "
"kategorierna finns:"

#. type: TP
#: debconf.7:292
#, no-wrap
msgid "B<user>"
msgstr "B<user>"

#. type: Plain text
#: debconf.7:295
msgid "Debugging info of interest to a debconf user."
msgstr "Felsökningsinformation för den som använder debconf."

#. type: TP
#: debconf.7:295
#, no-wrap
msgid "B<developer>"
msgstr "B<developer>"

#. type: Plain text
#: debconf.7:298
msgid "Debugging info of interest to a package developer."
msgstr "Felsökningsinformation för paketutvecklare."

#. type: TP
#: debconf.7:298
#, no-wrap
msgid "B<db>"
msgstr "B<db>"

#. type: Plain text
#: debconf.7:301
msgid "Debugging info about the backend database."
msgstr "Felsökningsinformation om databasen."

#. type: TP
#: debconf.7:302
#, no-wrap
msgid "B<DEBCONF_NOWARNINGS>"
msgstr "B<DEBCONF_NOWARNINGS>"

#. type: Plain text
#: debconf.7:306
msgid ""
"Set to \"yes\" to disable some warnings that debconf may display. Does not "
"suppress display of fatal errors."
msgstr ""
"Sätt till \"yes\" för att dölja vissa varningar från debconf. Allvarliga fel"
" som avbryter körningen visas fortfarande."

#. type: TP
#: debconf.7:306
#, no-wrap
msgid "B<DEBCONF_TERSE>"
msgstr "B<DEBCONF_TERSE>"

#. type: Plain text
#: debconf.7:310
msgid ""
"Set to \"yes\" to enable terse mode, in which debconf frontends cut down on "
"the verbiage as much as possible."
msgstr ""
"Sätt till \"yes\" för att aktivera kortfattat läge. Då begränsar debconfs "
"gränssnitt textmängden så långt som möjligt."

#. type: TP
#: debconf.7:310
#, no-wrap
msgid "B<DEBCONF_DB_FALLBACK>"
msgstr "B<DEBCONF_DB_FALLBACK>"

#. type: Plain text
#: debconf.7:320
msgid ""
"Stack a database after the normally used databases, so that it is used as a "
"fallback to get configuration information from. See \"Unattended Package "
"Installation\" above. If the value of the variable is the name of an "
"existing database in debconf.conf, then that database will be used.  "
"Otherwise, the environment variable can be used to configure a database on "
"the fly, by telling the type of database, and optionally passing field:value"
" settings, inside curly braces after the type. Spaces are used to separate "
"fields, so you cannot specify a field value containing whitespace."
msgstr ""
"Lägger en databas sist i sökordningen, så att debconf kan hämta "
"konfigurationsuppgifter där när de saknas i de ordinarie databaserna. Se "
"”Obevakad paketinstallation” ovan. Om variabelns värde är namnet på en "
"befintlig databas i debconf.conf används den. Du kan också konfigurera en "
"databas för den aktuella körningen genom att ange databastypen, eventuellt "
"följd av inställningar i formen fält:värde inom klammerparenteser. Fälten "
"avgränsas med blanksteg och ett fältvärde kan därför inte innehålla "
"blanktecken."

#. type: Plain text
#: debconf.7:323
#, no-wrap
msgid ""
"Thus, this uses the fallbackdb in debconf.conf:\n"
"  DEBCONF_DB_FALLBACK=fallbackdb\n"
msgstr ""
"Här används alltså databasen fallbackdb från debconf.conf:\n"
"  export DEBCONF_DB_FALLBACK=fallbackdb\n"

#. type: Plain text
#: debconf.7:327
#, no-wrap
msgid ""
"While this sets up a new database of type File, and tells it a filename to\n"
"use and turns off backups:\n"
"  DEBCONF_DB_FALLBACK=File{Filename:/root/config.dat Backup:no}\n"
msgstr ""
"Det här exemplet anger en ny databas av typen File och ett filnamn samt\n"
"stänger av säkerhetskopieringen:\n"
"  export DEBCONF_DB_FALLBACK=\"File{filename:/root/config.dat \\e\n"
"  backup:false}\"\n"

#. type: Plain text
#: debconf.7:330
#, no-wrap
msgid ""
"And as a shorthand, this sets up a database of type File with a filename:\n"
"  DEBCONF_DB_FALLBACK=File{/root/config.dat}\n"
msgstr ""
"Så här kan du ange en databas av typen File och ett filnamn i kortform:\n"
"  export DEBCONF_DB_FALLBACK=File{/root/config.dat}\n"

#. type: Plain text
#: debconf.7:333
msgid ""
"Note that if a fallback database is set up on the fly, it will be read-only "
"by default."
msgstr ""
"En reservdatabas som konfigureras för den aktuella körningen är skrivskyddad"
" som standard."

#. type: TP
#: debconf.7:333
#, no-wrap
msgid "B<DEBCONF_DB_OVERRIDE>"
msgstr "B<DEBCONF_DB_OVERRIDE>"

#. type: Plain text
#: debconf.7:338
msgid ""
"Stack a database before the normally used databases, so that it can override"
" values from them. The value of the variable works the same as does the "
"value of DEBCONF_DB_FALLBACK."
msgstr ""
"Lägger en databas först i sökordningen, så att dess värden får företräde "
"framför de ordinarie databasernas. Variabelns värde anges på samma sätt som "
"för DEBCONF_DB_FALLBACK."

#. type: TP
#: debconf.7:338
#, no-wrap
msgid "B<DEBCONF_DB_REPLACE>"
msgstr "B<DEBCONF_DB_REPLACE>"

#. type: Plain text
#: debconf.7:343
msgid ""
"Use a given database instead of the normally used databases.  This may be "
"useful for testing with a separate database without having to create a "
"separate debconf.conf, or to avoid locking the normal databases."
msgstr ""
"Använder en angiven databas i stället för de ordinarie databaserna. Det är "
"praktiskt när du vill testa med en separat databas utan att skapa en "
"särskild debconf.conf, eller när du vill undvika att låsa de ordinarie "
"databaserna."

#. type: TP
#: debconf.7:343
#, no-wrap
msgid "B<DEBCONF_SYSTEMRC>"
msgstr "B<DEBCONF_SYSTEMRC>"

#. type: Plain text
#: debconf.7:349
msgid ""
"If this environment variable is set, debconf will ignore a user's "
"~/.debconfrc file, and use the system one instead.  If it is set to the name"
" of a regular file, debconf will use that file in preference to the system "
"configuration files."
msgstr ""
"Om miljövariabeln är satt bortser debconf från användarens ~/.debconfrc och "
"använder systemets konfiguration. Om värdet är namnet på en vanlig fil "
"använder debconf den filen i stället för systemets konfigurationsfiler."

#. type: TP
#: debconf.7:349
#, no-wrap
msgid "B<DEBCONF_FORCE_DIALOG>"
msgstr "B<DEBCONF_FORCE_DIALOG>"

#. type: Plain text
#: debconf.7:353
msgid ""
"If this environment variable is set, debconf will use dialog in preference "
"to whiptail for the dialog frontend."
msgstr ""
"Om miljövariabeln är satt föredrar debconf dialog framför whiptail för sitt "
"Dialog-gränssnitt."

#. type: TP
#: debconf.7:353
#, no-wrap
msgid "B<DEBCONF_FORCE_XDIALOG>"
msgstr "B<DEBCONF_FORCE_XDIALOG>"

#. type: Plain text
#: debconf.7:357
msgid ""
"If this environment variable is set, debconf will use Xdialog in preference "
"to whiptail for the dialog frontend."
msgstr ""
"Om miljövariabeln är satt föredrar debconf Xdialog framför whiptail för sitt"
" Dialog-gränssnitt."

#. type: TP
#: debconf.7:357
#, no-wrap
msgid "B<DEBCONF_NONINTERACTIVE_SEEN>"
msgstr "B<DEBCONF_NONINTERACTIVE_SEEN>"

#. type: Plain text
#: debconf.7:361
msgid ""
"Set to \"true\" to cause the seen flag to be set for questions asked in the "
"noninteractive frontend."
msgstr ""
"Sätt till \"true\" för att sätta flaggan seen för frågor som ställs via det "
"icke-interaktiva gränssnittet."

#. type: SH
#: debconf.7:361
#, no-wrap
msgid "BUGS"
msgstr "FEL"

#. type: Plain text
#: debconf.7:363
msgid "Probably quite a few, there's a lot of code here."
msgstr ""
"Det finns förmodligen en hel del fel, med tanke på hur mycket kod programmet"
" innehåller."

#. type: Plain text
#: debconf.7:365
msgid ""
"If you do file a bug report, be sure to include the following information:"
msgstr "Ta med följande uppgifter när du rapporterar ett fel:"

#. type: TP
#: debconf.7:365 debconf.7:368 debconf.7:371 debconf-devel.7:469
#: debconf-devel.7:473 debconf-devel.7:479 debconf-devel.7:484
#: debconf-devel.7:489
#, no-wrap
msgid "B<*>"
msgstr "B<*>"

#. type: Plain text
#: debconf.7:368
msgid "The debconf frontend you were using when the problem occurred"
msgstr "Vilket debconf-gränssnitt du använde när problemet uppstod."

#. type: Plain text
#: debconf.7:371
msgid "What you did to trigger the problem."
msgstr "Vad du gjorde för att framkalla problemet."

#. type: Plain text
#: debconf.7:376
msgid ""
"The full text of any error messages. If you can reproduce the bug, do so "
"with DEBCONF_DEBUG='.*' set and exported. This speeds up debugging a lot."
msgstr ""
"Den fullständiga texten i eventuella felmeddelanden. Om du kan återskapa "
"felet, sätt och exportera DEBCONF_DEBUG='.*' och upprepa stegen. Det "
"underlättar felsökningen betydligt."

#. type: Plain text
#: debconf.7:382
msgid ""
"B<debconf.conf>(5), B<debconf-devel>(7), B<dpkg-preconfigure>(8), B<dpkg-"
"reconfigure>(8), B<debconf>(1),"
msgstr ""
"B<debconf.conf>(5), B<debconf-devel>(7), B<dpkg-preconfigure>(8), B<dpkg-"
"reconfigure>(8), B<debconf>(1),"

#. type: TH
#: debconf-devel.7:1
#, no-wrap
msgid "DEBCONF-DEVEL"
msgstr "DEBCONF-DEVEL"

#. type: Plain text
#: debconf-devel.7:4
msgid "debconf - developers guide"
msgstr "debconf – utvecklarhandbok"

#. type: Plain text
#: debconf-devel.7:6
msgid "This is a guide for developing packages that use debconf."
msgstr ""
"Den här handboken beskriver hur du utvecklar paket som använder debconf."

#. type: Plain text
#: debconf-devel.7:9
msgid ""
"This manual assumes that you are familiar with debconf as a user, and are "
"familiar with the basics of debian package construction."
msgstr ""
"Den här handboken förutsätter att du har använt debconf och känner till "
"grunderna i hur man bygger Debianpaket."

#. type: Plain text
#: debconf-devel.7:18
msgid ""
"This manual begins by explaining two new files that are added to debian "
"packages that use debconf. Then it explains how the debconf protocol works, "
"and points you at some libraries that will let your programs speak the "
"protocol. It discusses other maintainer scripts that debconf is typically "
"used in: the postinst and postrm scripts. Then moves on to more advanced "
"topics like shared debconf templates, debugging, and some common techniques "
"and pitfalls of programming with debconf. It closes with a discussion of "
"debconf's current shortcomings."
msgstr ""
"Först beskriver handboken de två extra filer som ingår i Debianpaket som "
"använder debconf. Därefter förklarar den hur debconf-protokollet fungerar "
"och visar vilka bibliotek dina program kan använda för att kommunicera med "
"debconf. Den tar också upp två andra underhållsskript som ofta använder "
"debconf, nämligen postinst och postrm. Sedan följer mer avancerade ämnen som"
" gemensamma debconf-mallar, felsökning samt vanliga tekniker och fallgropar "
"vid programmering med debconf. Sist behandlas några av de begränsningar som "
"debconf har i dag."

#. type: SH
#: debconf-devel.7:18
#, no-wrap
msgid "THE CONFIG SCRIPT"
msgstr "KONFIGURATIONSSKRIPTET"

#. type: Plain text
#: debconf-devel.7:23
msgid ""
"Debconf adds an additional maintainer script, the config script, to the set "
"of maintainer scripts that can be in debian packages (the postinst, preinst,"
" postrm, and prerm). The config script is responsible for asking any "
"questions necessary to configure the package."
msgstr ""
"Utöver de vanliga underhållsskripten i Debianpaket (postinst, preinst, "
"postrm och prerm) gör debconf det möjligt att använda ett "
"konfigurationsskript, config. Konfigurationsskriptet ställer de frågor som "
"behövs för att konfigurera paketet."

#. type: Plain text
#: debconf-devel.7:28
msgid ""
"Note: It is a little confusing that dpkg refers to running a package's "
"postinst script as \"configuring\" the package, since a package that uses "
"debconf is often fully pre-configured, by its config script, before the "
"postinst ever runs. Oh well."
msgstr ""
"Terminologin kan vara förvirrande. När dpkg ”konfigurerar” ett paket innebär"
" det att dpkg kör paketets postinst-skript. För ett paket som använder "
"debconf har konfigurationsskriptet ofta redan hunnit förkonfigurera hela "
"paketet när postinst körs."

#. type: Plain text
#: debconf-devel.7:34
msgid ""
"Like the postinst, the config script is passed two parameters when it is "
"run. The first tells what action is being performed, and the second is the "
"version of the package that is currently installed. So, like in a postinst, "
"you can use dpkg --compare-versions on $2 to make some behavior happen only "
"on upgrade from a particular version of a package, and things like that."
msgstr ""
"Liksom postinst får konfigurationsskriptet två parametrar. Den första anger "
"vilken åtgärd som utförs, den andra anger vilken version av paketet som är "
"installerad. Precis som i postinst kan du alltså använda dpkg --compare-"
"versions med $2 för att exempelvis utföra en åtgärd bara vid uppgradering "
"från en viss version av paketet."

#. type: Plain text
#: debconf-devel.7:36
msgid "The config script can be run in one of three ways:"
msgstr "Konfigurationsskriptet kan köras på tre sätt:"

#. type: TP
#: debconf-devel.7:36
#, no-wrap
msgid "B<1>"
msgstr "B<1>"

#. type: Plain text
#: debconf-devel.7:40
msgid ""
"If a package is pre-configured, with dpkg-preconfigure, its config script is"
" run, and is passed the parameters \"configure\", and installed-version."
msgstr ""
"När dpkg-preconfigure förkonfigurerar ett paket körs konfigurationsskriptet "
"med ”configure” som första parameter och det installerade paketets "
"versionsnummer som andra parameter."

#. type: TP
#: debconf-devel.7:40
#, no-wrap
msgid "B<2>"
msgstr "B<2>"

#. type: Plain text
#: debconf-devel.7:47
msgid ""
"When a package's postinst is run, debconf will try to run the config script "
"then too, and it will be passed the same parameters it was passed when it is"
" pre-configured. This is necessary because the package might not have been "
"pre-configured, and the config script still needs to get a chance to run. "
"See HACKS for details."
msgstr ""
"När paketets postinst körs försöker debconf också köra "
"konfigurationsskriptet med samma parametrar som vid förkonfigureringen. "
"Detta behövs för att konfigurationsskriptet ska få tillfälle att köras även "
"om paketet aldrig förkonfigurerades. Se avsnittet SPECIALKNEP för närmare "
"upplysningar."

#. type: TP
#: debconf-devel.7:47
#, no-wrap
msgid "B<3>"
msgstr "B<3>"

#. type: Plain text
#: debconf-devel.7:52
msgid ""
"If a package is reconfigured, with dpkg-reconfigure, its config script it "
"run, and is passed the parameters \"reconfigure\" and installed-version."
msgstr ""
"När dpkg-reconfigure konfigurerar om ett paket körs konfigurationsskriptet "
"med ”reconfigure” som första parameter och det installerade paketets "
"versionsnummer som andra parameter."

#. type: Plain text
#: debconf-devel.7:58
msgid ""
"Note that since a typical package install or upgrade using apt runs steps 1 "
"and 2, the config script will typically be run twice. It should do nothing "
"the second time (to ask questions twice in a row is annoying), and it should"
" definitely be idempotent. Luckily, debconf avoids repeating questions by "
"default, so this is generally easy to accomplish."
msgstr ""
"När apt installerar eller uppgraderar ett paket utförs normalt både steg 1 "
"och steg 2. Konfigurationsskriptet körs alltså i regel två gånger. Andra "
"gången bör det inte göra något alls. Att få samma frågor två gånger i rad är"
" irriterande, och skriptet måste vara idempotent, alltså ge samma resultat "
"även om det körs flera gånger. Som standard undviker debconf att upprepa "
"frågor, vilket brukar göra det enkelt att uppnå detta."

#. type: Plain text
#: debconf-devel.7:64
msgid ""
"Note that the config script is run before the package is unpacked. It should"
" only use commands that are in essential packages. The only dependency of "
"your package that is guaranteed to be met when its config script is run is a"
" dependency (possibly versioned) on debconf itself."
msgstr ""
"Konfigurationsskriptet körs innan paketet packas upp och bör bara använda "
"kommandon som ingår i nödvändiga paket (Essential). Det enda av paketets "
"beroenden som garanterat är uppfyllt när konfigurationsskriptet körs är ett "
"eventuellt beroende av debconf självt. Beroendet får ange en version."

#. type: Plain text
#: debconf-devel.7:70
msgid ""
"The config script should not need to modify the filesystem at all. It just "
"examines the state of the system, and asks questions, and debconf stores the"
" answers to be acted on later by the postinst script. Conversely, the "
"postinst script should almost never use debconf to ask questions, but should"
" instead act on the answers to questions asked by the config script."
msgstr ""
"Konfigurationsskriptet ska normalt inte behöva ändra något i filsystemet. "
"Det undersöker systemets tillstånd och ställer frågor. Debconf sparar svaren"
" så att postinst-skriptet kan använda dem senare. Postinst-skriptet bör i "
"sin tur nästan aldrig använda debconf för att ställa frågor. Dess uppgift är"
" att använda svaren på konfigurationsskriptets frågor."

#. type: SH
#: debconf-devel.7:70
#, no-wrap
msgid "THE TEMPLATES FILE"
msgstr "MALLFILEN"

#. type: Plain text
#: debconf-devel.7:73
msgid ""
"A package that uses debconf probably wants to ask some questions. These "
"questions are stored, in template form, in the templates file."
msgstr ""
"Ett paket som använder debconf behöver i regel ställa några frågor. Frågorna"
" lagras som mallar i filen templates."

#. type: Plain text
#: debconf-devel.7:78
msgid ""
"Like the config script, the templates file is put in the control.tar.gz "
"section of a deb. Its format is similar to a debian control file; a set of "
"stanzas separated by blank lines, with each stanza having a RFC822-like "
"form:"
msgstr ""
"Liksom konfigurationsskriptet ligger mallfilen i delen control.tar.gz i ett "
"deb-paket. Formatet påminner om Debians control-filer. Tomma rader skiljer "
"styckena åt, och varje stycke följer ett RFC 822-liknande format:"

#. type: Plain text
#: debconf-devel.7:94
#, no-wrap
msgid ""
"  Template: foo/bar\n"
"  Type: string\n"
"  Default: foo\n"
"  Description: This is a sample string question.\n"
"   This is its extended description.\n"
"   .\n"
"   Notice that:\n"
"    - Like in a debian package description, a dot\n"
"      on its own line sets off a new paragraph.\n"
"    - Most text is word-wrapped, but doubly-indented\n"
"      text is left alone, so you can use it for lists\n"
"      of items, like this list. Be careful, since\n"
"      it is not word-wrapped, if it's too wide\n"
"      it will look bad. Using it for short items\n"
"      is best (so this is a bad example).\n"
msgstr ""
"  Template: foo/bar\n"
"  Type: string\n"
"  Default: foo\n"
"  Description: Det här är ett exempel på en fråga med ett textsvar.\n"
"   Det här är den utförliga beskrivningen.\n"
"   .\n"
"   Lägg märke till följande:\n"
"    - Precis som i beskrivningen av ett Debianpaket\n"
"      inleder en punkt på en egen rad ett nytt stycke.\n"
"    - Det mesta av texten radbryts, men text med dubbelt\n"
"      indrag lämnas som den är. Det kan du använda för\n"
"      punktlistor som den här. Eftersom raderna inte bryts\n"
"      automatiskt ser det illa ut om de blir för långa.\n"
"      Håll därför punkterna korta (så det här är ett dåligt\n"
"      exempel).\n"

#. type: Plain text
#: debconf-devel.7:99
#, no-wrap
msgid ""
"  Template: foo/baz\n"
"  Type: boolean\n"
"  Description: Clear enough, no?\n"
"   This is another question, of boolean type.\n"
msgstr ""
"  Template: foo/baz\n"
"  Type: boolean\n"
"  Description: Är det tydligt?\n"
"   Det här är en annan fråga, av typen boolean.\n"

#. type: Plain text
#: debconf-devel.7:103
msgid ""
"For some real-life examples of templates files, see "
"/var/lib/dpkg/info/debconf.templates, and other .templates files in that "
"directory."
msgstr ""
"I /var/lib/dpkg/info/debconf.templates och andra filer med ändelsen "
".templates i samma katalog finns exempel på mallfiler som används i "
"praktiken."

#. type: Plain text
#: debconf-devel.7:105
msgid "Let's look at each of the fields in turn.."
msgstr "Här följer en genomgång av fälten."

#. type: TP
#: debconf-devel.7:105
#, no-wrap
msgid "B<Template>"
msgstr "B<Template>"

#. type: Plain text
#: debconf-devel.7:111
msgid ""
"The name of the template, in the 'Template' field, is generally prefixed "
"with the name of the package. After that the namespace is wide open; you can"
" use a simple flat layout like the one above, or set up \"subdirectories\" "
"containing related questions."
msgstr ""
"Mallens namn anges i fältet ”Template” och börjar i regel med paketets namn."
" I övrigt väljer du själv hur du använder namnrymden. Du kan använda en "
"enkel, platt struktur som i exemplet ovan eller samla relaterade frågor i "
"”underkataloger”."

#. type: TP
#: debconf-devel.7:111
#, no-wrap
msgid "B<Type>"
msgstr "B<Type>"

#. type: Plain text
#: debconf-devel.7:115
msgid ""
"The type of the template determines what kind of widget is displayed to the "
"user. The currently supported types are:"
msgstr ""
"Mallens typ avgör vilken form av inmatning eller information som visas för "
"användaren. Följande typer stöds:"

#. type: TP
#: debconf-devel.7:116
#, no-wrap
msgid "B<string>"
msgstr "B<string>"

#. type: Plain text
#: debconf-devel.7:119
msgid ""
"Results in a free-form input field that the user can type any string into."
msgstr "Visar ett inmatningsfält där användaren kan skriva valfri text."

#. type: TP
#: debconf-devel.7:119
#, no-wrap
msgid "B<password>"
msgstr "B<password>"

#. type: Plain text
#: debconf-devel.7:124
msgid ""
"Prompts the user for a password. Use this with caution; be aware that the "
"password the user enters will be written to debconf's database. You should "
"probably clean that value out of the database as soon as is possible."
msgstr ""
"Ber användaren ange ett lösenord. Använd typen med försiktighet eftersom "
"lösenordet skrivs till debconfs databas. I regel bör du ta bort värdet ur "
"databasen så snart som möjligt."

#. type: TP
#: debconf-devel.7:124
#, no-wrap
msgid "B<boolean>"
msgstr "B<boolean>"

#. type: Plain text
#: debconf-devel.7:127
msgid "A true/false choice."
msgstr "Ett val mellan sant och falskt."

#. type: TP
#: debconf-devel.7:127
#, no-wrap
msgid "B<select>"
msgstr "B<select>"

#. type: Plain text
#: debconf-devel.7:132
msgid ""
"A choice between one of a number of values. The choices must be specified in"
" a field named 'Choices'. Separate the possible values with commas and "
"spaces, like this:"
msgstr ""
"Användaren kan välja ett av flera värden. Ange alternativen i ett fält med "
"namnet ”Choices”. Skilj dem åt med kommatecken och mellanslag, som i "
"följande exempel:"

#. type: Plain text
#: debconf-devel.7:134
#, no-wrap
msgid "  Choices: yes, no, maybe\n"
msgstr "  Choices: yes, no, maybe\n"

#. type: TP
#: debconf-devel.7:135
#, no-wrap
msgid "B<multiselect>"
msgstr "B<multiselect>"

#. type: Plain text
#: debconf-devel.7:139
msgid ""
"Like the select data type, except the user can choose any number of items "
"from the choices list (or choose none of them)."
msgstr ""
"Fungerar som datatypen select, men användaren kan välja valfritt antal "
"alternativ i listan eller avstå från att välja något."

#. type: TP
#: debconf-devel.7:139
#, no-wrap
msgid "B<note>"
msgstr "B<note>"

#. type: Plain text
#: debconf-devel.7:147
msgid ""
"Rather than being a question per se, this datatype indicates a note that can"
" be displayed to the user. It should be used only for important notes that "
"the user really should see, since debconf will go to great pains to make "
"sure the user sees it; halting the install for them to press a key.  It's "
"best to use these only for warning about very serious problems, and the "
"error datatype is often more suitable."
msgstr ""
"Den här datatypen anger ett meddelande som kan visas för användaren. Använd "
"den bara för viktiga meddelanden som användaren verkligen behöver se. "
"Debconf kan avbryta installationen och vänta på en tangenttryckning för att "
"meddelandet ska uppmärksammas. Spara sådana meddelanden till varningar om "
"mycket allvarliga problem. Ofta passar datatypen error bättre."

#. type: TP
#: debconf-devel.7:147
#, no-wrap
msgid "B<error>"
msgstr "B<error>"

#. type: Plain text
#: debconf-devel.7:152
msgid ""
"This datatype is used for error messages, such as input validation errors.  "
"Debconf will show a question of this type even if the priority is too high "
"or the user has already seen it."
msgstr ""
"Datatypen används för felmeddelanden, till exempel när en kontroll av "
"inmatade uppgifter misslyckas. Debconf visar frågor av den här typen även om"
" den inställda prioritetsgränsen är för hög eller om användaren redan har "
"sett frågan."

#. type: TP
#: debconf-devel.7:152
#, no-wrap
msgid "B<title>"
msgstr "B<title>"

#. type: Plain text
#: debconf-devel.7:155
msgid "This datatype is used for titles, to be set with the SETTITLE command."
msgstr "Datatypen används för titlar som anges med kommandot SETTITLE."

#. type: TP
#: debconf-devel.7:155
#, no-wrap
msgid "B<text>"
msgstr "B<text>"

#. type: Plain text
#: debconf-devel.7:162
msgid ""
"This datatype can be used for fragments of text, such as labels, that can be"
" used for cosmetic reasons in the displays of some frontends. Other "
"frontends will not use it at all. There is no point in using this datatype "
"yet, since no frontends support it well. It may even be removed in the "
"future."
msgstr ""
"Datatypen kan användas för korta texter, till exempel etiketter, som vissa "
"gränssnitt kan visa av utseendemässiga skäl. Andra gränssnitt ignorerar den "
"helt. Än så länge finns det inget skäl att använda typen eftersom inget "
"gränssnitt har bra stöd för den. Den kan till och med komma att tas bort."

#. type: TP
#: debconf-devel.7:163
#, no-wrap
msgid "B<Default>"
msgstr "B<Default>"

#. type: Plain text
#: debconf-devel.7:171
msgid ""
"The 'Default' field tells debconf what the default value should be. For "
"multiselect, it can be a list of choices, separated by commas and spaces, "
"similar to the 'Choices' field. For select, it should be one of the choices."
" For boolean, it is \"true\" or \"false\", while it can be anything for a "
"string, and it is ignored for passwords."
msgstr ""
"Fältet ”Default” anger vilket standardvärde debconf ska använda. För "
"multiselect kan det vara en lista med alternativ åtskilda av kommatecken och"
" mellanslag, som i fältet ”Choices”. För select ska det vara ett av "
"alternativen och för boolean antingen ”true” eller ”false”. För string kan "
"det vara vilket värde som helst. För password ignoreras fältet."

#. type: Plain text
#: debconf-devel.7:178
msgid ""
"Don't make the mistake of thinking that the default field contains the "
"\"value\" of the question, or that it can be used to change the value of the"
" question. It does not, and cannot, it just provides a default value for the"
" first time the question is displayed. To provide a default that changes on "
"the fly, you'd have to use the SET command to change the value of a "
"question."
msgstr ""
"Fältet Default anger bara ett förvalt värde första gången frågan visas. Det "
"innehåller inte frågans aktuella värde och kan inte användas för att ändra "
"det. Om ditt program behöver beräkna ett standardvärde under körning "
"använder du kommandot SET för att ändra frågans värde."

#. type: TP
#: debconf-devel.7:179
#, no-wrap
msgid "B<Description>"
msgstr "B<Description>"

#. type: Plain text
#: debconf-devel.7:187
msgid ""
"The 'Description' field, like the description of a Debian package, has two "
"parts: A short description and an extended description. Note that some "
"debconf frontends don't display the long description, or might only display "
"it if the user asks for help. So the short description should be able to "
"stand on its own."
msgstr ""
"Fältet ”Description” har precis som beskrivningen av ett Debianpaket två "
"delar, en kort beskrivning och en utförlig beskrivning. Vissa debconf-"
"gränssnitt visar aldrig den utförliga beskrivningen eller visar den först "
"när användaren ber om hjälp. Den korta beskrivningen behöver därför kunna "
"stå för sig själv."

#. type: Plain text
#: debconf-devel.7:193
msgid ""
"If you can't think up a long description, then first, think some more. Post "
"to debian-devel. Ask for help. Take a writing class! That extended "
"description is important. If after all that you still can't come up with "
"anything, leave it blank. There is no point in duplicating the short "
"description."
msgstr ""
"Om du har svårt att formulera en utförlig beskrivning, tänk ett varv till. "
"Skriv till debian-devel. Be om hjälp. Gå en skrivkurs! Den utförliga "
"beskrivningen är viktig. Om du ändå inte kommer på något kan du lämna den "
"tom. Det finns ingen anledning att upprepa den korta beskrivningen."

#. type: Plain text
#: debconf-devel.7:198
msgid ""
"Text in the extended description will be word-wrapped, unless it is prefixed"
" by additional whitespace (beyond the one required space). You can break it "
"up into separate paragraphs by putting \" .\" on a line by itself between "
"them."
msgstr ""
"Texten i den utförliga beskrivningen radbryts automatiskt utom när raderna "
"inleds med extra blanktecken utöver det obligatoriska mellanslaget. Dela upp"
" texten i stycken genom att infoga en rad som bara innehåller ” .” mellan "
"dem."

#. type: SH
#: debconf-devel.7:199
#, no-wrap
msgid "QUESTIONS"
msgstr "FRÅGOR"

#. type: Plain text
#: debconf-devel.7:211
msgid ""
"A question is an instantiated template. By asking debconf to display a "
"question, your config script can interact with the user. When debconf loads "
"a templates file (this happens whenever a config or postinst script is run),"
" it automatically instantiates a question from each template. It is actually"
" possible to instantiate several independent questions from the same "
"template (using the REGISTER command), but that is rarely necessary. "
"Templates are static data that comes from the templates file, while "
"questions are used to store dynamic data, like the current value of the "
"question, whether a user has seen a question, and so on. Keep the "
"distinction between a template and a question in mind, but don't worry too "
"much about it."
msgstr ""
"En fråga är en instans av en mall. Konfigurationsskriptet kan kommunicera "
"med användaren genom att be debconf visa en fråga. Varje gång ett config- "
"eller postinst-skript körs läser debconf in mallfilen och skapar automatiskt"
" en fråga för varje mall. Med kommandot REGISTER går det att skapa flera "
"oberoende frågor från samma mall, men det behövs sällan. Mallarna innehåller"
" statiska data från mallfilen. I frågorna lagras däremot data som kan "
"ändras, till exempel frågans aktuella värde och om användaren redan har sett"
" den. Det räcker att ha den här skillnaden i åtanke."

#. type: SH
#: debconf-devel.7:211
#, no-wrap
msgid "SHARED TEMPLATES"
msgstr "GEMENSAMMA MALLAR"

#. type: Plain text
#: debconf-devel.7:218
msgid ""
"It's actually possible to have a template and a question that are shared "
"among a set of packages. All the packages have to provide an identical copy "
"of the template in their templates files. This can be useful if a bunch of "
"packages need to ask the same question, and you only want to bother the user"
" with it once. Shared templates are generally put in the shared/ pseudo-"
"directory in the debconf template namespace."
msgstr ""
"Flera paket kan dela på en mall och den tillhörande frågan. Varje paket "
"måste då ha en identisk kopia av mallen i sin mallfil. Det är praktiskt när "
"flera paket behöver ställa samma fråga men användaren bara ska behöva svara "
"en gång. Gemensamma mallar placeras vanligtvis i pseudokatalogen shared/ i "
"debconf-mallarnas namnrymd."

#. type: SH
#: debconf-devel.7:218
#, no-wrap
msgid "THE DEBCONF PROTOCOL"
msgstr "DEBCONF-PROTOKOLLET"

#. type: Plain text
#: debconf-devel.7:224
msgid ""
"Config scripts communicate with debconf using the debconf protocol. This is "
"a simple line-oriented protocol, similar to common internet protocols such "
"as SMTP. The config script sends debconf a command by writing the command to"
" standard output. Then it can read debconf's reply from standard input."
msgstr ""
"Konfigurationsskript kommunicerar med debconf via debconf-protokollet. Det "
"är ett enkelt, radbaserat protokoll som liknar vanliga internetprotokoll som"
" SMTP. Konfigurationsskriptet skickar ett kommando till debconf genom att "
"skriva det till standardutmatningen och kan sedan läsa svaret från "
"standardinmatningen."

#. type: Plain text
#: debconf-devel.7:230
msgid ""
"Debconf's reply can be broken down into two parts: A numeric result code "
"(the first word of the reply), and an optional extended result code (the "
"remainder of the reply). The numeric code uses 0 to indicate success, and "
"other numbers to indicate various kinds of failure. For full details, see "
"the table in Debian policy's debconf specification document."
msgstr ""
"Ett svar från debconf har två delar. Det första ordet är en numerisk "
"resultatkod. Resten av svaret är en valfri utökad resultatkod. Den numeriska"
" koden 0 betyder att kommandot lyckades. Andra tal anger olika slags fel. Se"
" tabellen i debconf-specifikationen i Debian Policy för fullständig "
"information."

#. type: Plain text
#: debconf-devel.7:235
msgid ""
"The extended return code is generally free form and unspecified, so you "
"should generally ignore it, and should certainly not try to parse it in a "
"program to work out what debconf is doing. The exception is commands like "
"GET, that cause a value to be returned in the extended return code."
msgstr ""
"Den utökade resultatkoden har i regel fri form och saknar fastställd "
"betydelse. Oftast kan du ignorera den. Försök inte tolka den i ett program "
"för att ta reda på vad debconf gör. Ett undantag är kommandon som GET, där "
"den utökade resultatkoden innehåller ett returvärde."

#. type: Plain text
#: debconf-devel.7:239
msgid ""
"Generally you'll want to use a language-specific library that handles the "
"nuts and bolts of setting up these connections to debconf and communicating "
"with it."
msgstr ""
"I regel är det enklast att använda ett bibliotek för ditt "
"programmeringsspråk som sköter anslutningen till debconf och kommunikationen"
" med det."

#. type: Plain text
#: debconf-devel.7:242
msgid ""
"For now, here are the commands in the protocol. This is not the definitive "
"definition, see Debian policy's debconf specification document for that."
msgstr ""
"Här följer kommandona i protokollet. Den fullständiga, normerande "
"beskrivningen finns i debconf-specifikationen i Debian Policy."

#. type: TP
#: debconf-devel.7:242
#, no-wrap
msgid "B<VERSION number>"
msgstr "B<VERSION nummer>"

#. type: Plain text
#: debconf-devel.7:250
msgid ""
"You generally don't need to use this command. It exchanges with debconf the "
"protocol version number that is being used. The current protocol version is "
"2.0, and versions in the 2.x series will be backwards-compatible. You may "
"specify the protocol version number you are speaking and debconf will return"
" the version of the protocol it speaks in the extended result code. If the "
"version you specify is too low, debconf will reply with numeric code 30."
msgstr ""
"Det här kommandot behövs sällan. Med det kan du och debconf utbyta uppgifter"
" om vilken protokollversion ni använder. Den aktuella versionen är 2.0, och "
"versionerna i serien 2.x ska vara bakåtkompatibla. Om du anger vilken "
"protokollversion ditt program använder, svarar debconf med sin egen "
"protokollversion i den utökade resultatkoden. Om du anger en för låg version"
" svarar debconf med den numeriska koden 30."

#. type: TP
#: debconf-devel.7:250
#, no-wrap
msgid "B<CAPB capabilities>"
msgstr "B<CAPB funktioner>"

#. type: Plain text
#: debconf-devel.7:257
msgid ""
"You generally don't need to use this command. It exchanges with debconf a "
"list of supported capabilities (separated by spaces). Capabilities that both"
" you and debconf support will be used, and debconf will reply with all the "
"capabilities it supports."
msgstr ""
"Det här kommandot behövs sällan. Med det kan du och debconf utbyta listor "
"över vilka funktioner ni stöder. Skilj funktionerna åt med mellanslag. De "
"funktioner som både ditt program och debconf stöder kan användas. Debconf "
"svarar med alla funktioner som det stöder."

#. type: Plain text
#: debconf-devel.7:267
msgid ""
"If 'escape' is found among your capabilities, debconf will expect commands "
"you send it to have backslashes and newlines escaped (as \\e\\e and \\en "
"respectively) and will in turn escape backslashes and newlines in its "
"replies. This can be used, for example, to substitute multi-line strings "
"into templates, or to get multi-line extended descriptions reliably using "
"METAGET. In this mode, you must escape input text yourself (you can use "
"B<debconf-escape>(1)  to help with this if you want), but the confmodule "
"libraries will unescape replies for you."
msgstr ""
"Om din lista över funktioner innehåller ”escape” förväntar sig debconf att "
"kommandona du skickar återger omvända snedstreck som \\e\\e och "
"radbrytningar som \\en. Debconf använder samma skrivsätt i sina svar. Det "
"gör det till exempel möjligt att infoga flerradiga strängar i mallar eller "
"att tillförlitligt hämta flerradiga utförliga beskrivningar med METAGET. I "
"det här läget måste du själv ersätta tecknen i den text du skickar. Du kan "
"ta hjälp av B<debconf-escape>(1). Biblioteken för confmodule omvandlar "
"teckensekvenserna i svaren tillbaka åt dig."

#. type: TP
#: debconf-devel.7:268
#, no-wrap
msgid "B<SETTITLE question>"
msgstr "B<SETTITLE fråga>"

#. type: Plain text
#: debconf-devel.7:275
msgid ""
"This sets the title debconf displays to the user, using the short "
"description of the template for the specified question. The template should "
"be of type title. You rarely need to use this command since debconf can "
"automatically generate a title based on your package's name."
msgstr ""
"Anger titeln som debconf visar för användaren. Titeln hämtas från den korta "
"beskrivningen i mallen för den angivna frågan. Mallen ska vara av typen "
"title. Kommandot behövs sällan eftersom debconf automatiskt kan skapa en "
"titel utifrån paketets namn."

#. type: Plain text
#: debconf-devel.7:278
msgid ""
"Setting the title from a template means they are stored in the same place as"
" the rest of the debconf questions, and allows them to be translated."
msgstr ""
"När titlar hämtas från mallar kan de lagras tillsammans med de övriga "
"debconf-frågorna och översättas på samma sätt."

#. type: TP
#: debconf-devel.7:279
#, no-wrap
msgid "B<TITLE string>"
msgstr "B<TITLE sträng>"

#. type: Plain text
#: debconf-devel.7:284
msgid ""
"This sets the title debconf displays to the user to the specified string.  "
"Use of the SETTITLE command is normally to be preferred as it allows for "
"translation of the title."
msgstr ""
"Låter debconf visa den angivna strängen som titel för användaren. Använd i "
"regel SETTITLE så att titeln kan översättas."

#. type: TP
#: debconf-devel.7:284
#, no-wrap
msgid "B<INPUT priority question>"
msgstr "B<INPUT prioritet fråga>"

#. type: Plain text
#: debconf-devel.7:291
msgid ""
"Ask debconf to prepare to display a question to the user. The question is "
"not actually displayed until a GO command is issued; this lets several INPUT"
" commands be given in series, to build up a set of questions, which might "
"all be asked on a single screen."
msgstr ""
"Ber debconf förbereda en fråga för visning. Frågan visas först när kommandot"
" GO ges. Du kan därför ge flera INPUT-kommandon i följd och samla frågor som"
" sedan kan visas på samma skärm."

#. type: Plain text
#: debconf-devel.7:294
msgid ""
"The priority field tells debconf how important it is that this question be "
"shown to the user. The priority values are:"
msgstr ""
"Prioritetsfältet anger hur viktigt det är att användaren ser frågan. "
"Följande prioriteter finns:"

#. type: Plain text
#: debconf-devel.7:298
msgid ""
"Very trivial items that have defaults that will work in the vast majority of"
" cases; only control freaks see these."
msgstr ""
"Rutinfrågor med standardvärden som fungerar i de allra flesta fall. De visas"
" bara för den som vill styra allt in i minsta detalj."

#. type: Plain text
#: debconf-devel.7:301
msgid "Normal items that have reasonable defaults."
msgstr "Vanliga frågor med rimliga standardvärden."

#. type: Plain text
#: debconf-devel.7:304
msgid "Items that don't have a reasonable default."
msgstr "Frågor som saknar rimliga standardvärden."

#. type: Plain text
#: debconf-devel.7:307
msgid "Items that will probably break the system without user intervention."
msgstr ""
"Frågor där systemet sannolikt slutar fungera om användaren inte ingriper."

#. type: Plain text
#: debconf-devel.7:312
msgid ""
"Debconf decides if the question is actually displayed, based on its "
"priority, and whether the user has seen it before, and which frontend is "
"being used. If the question will not be displayed, debconf replies with code"
" 30."
msgstr ""
"Debconf avgör om frågan ska visas utifrån prioriteten, om användaren har "
"sett den förut och vilket gränssnitt som används. Om frågan inte kommer att "
"visas svarar debconf med kod 30."

#. type: TP
#: debconf-devel.7:313
#, no-wrap
msgid "B<GO>"
msgstr "B<GO>"

#. type: Plain text
#: debconf-devel.7:318
msgid ""
"Tells debconf to display the accumulated set of questions (from INPUT "
"commands) to the user."
msgstr "Ber debconf visa de frågor som samlats in med INPUT-kommandon."

#. type: Plain text
#: debconf-devel.7:321
msgid ""
"If the backup capability is supported and the user indicates they want to "
"back up a step, debconf replies with code 30."
msgstr ""
"Om funktionen backup stöds och användaren väljer att gå tillbaka ett steg "
"svarar debconf med kod 30."

#. type: TP
#: debconf-devel.7:322
#, no-wrap
msgid "B<CLEAR>"
msgstr "B<CLEAR>"

#. type: Plain text
#: debconf-devel.7:326
msgid ""
"Clears the accumulated set of questions (from INPUT commands) without "
"displaying them."
msgstr ""
"Tömmer uppsättningen frågor som samlats in med INPUT-kommandon utan att visa"
" dem."

#. type: TP
#: debconf-devel.7:326
#, no-wrap
msgid "B<BEGINBLOCK>"
msgstr "B<BEGINBLOCK>"

#. type: TP
#: debconf-devel.7:328
#, no-wrap
msgid "B<ENDBLOCK>"
msgstr "B<ENDBLOCK>"

#. type: Plain text
#: debconf-devel.7:336
msgid ""
"Some debconf frontends can display a number of questions to the user at "
"once.  Maybe in the future a frontend will even be able to group these "
"questions into blocks on screen. BEGINBLOCK and ENDBLOCK can be placed "
"around a set of INPUT commands to indicate blocks of questions (and blocks "
"can even be nested). Since no debconf frontend is so sophisticated yet, "
"these commands are ignored for now."
msgstr ""
"Vissa debconf-gränssnitt kan visa flera frågor samtidigt. I framtiden kan "
"ett gränssnitt kanske även gruppera dem i block på skärmen. Med BEGINBLOCK "
"och ENDBLOCK runt en följd av INPUT-kommandon kan du markera ett block av "
"frågor. Block kan även nästlas. Eftersom inget debconf-gränssnitt ännu har "
"den här funktionen ignoreras kommandona tills vidare."

#. type: TP
#: debconf-devel.7:336
#, no-wrap
msgid "B<STOP>"
msgstr "B<STOP>"

#. type: Plain text
#: debconf-devel.7:340
msgid ""
"This command tells debconf that you're done talking to it. Often debconf can"
" detect termination of your program and this command is not necessary."
msgstr ""
"Talar om för debconf att programmet har avslutat kommunikationen. Debconf "
"märker ofta självt att programmet har avslutats, och då behövs inte "
"kommandot."

#. type: TP
#: debconf-devel.7:340
#, no-wrap
msgid "B<GET question>"
msgstr "B<GET fråga>"

#. type: Plain text
#: debconf-devel.7:345
msgid ""
"After using INPUT and GO to display a question, you can use this command to "
"get the value the user entered. The value is returned in the extended result"
" code."
msgstr ""
"När du har visat en fråga med INPUT och GO kan du hämta användarens svar med"
" det här kommandot. Värdet finns i den utökade resultatkoden."

#. type: TP
#: debconf-devel.7:345
#, no-wrap
msgid "B<SET question value>"
msgstr "B<SET fråga värde>"

#. type: Plain text
#: debconf-devel.7:349
msgid ""
"This sets the value of a question, and it can be used to override the "
"default value with something your program calculates on the fly."
msgstr ""
"Anger värdet på en fråga. På så sätt kan ditt program ersätta standardvärdet"
" med ett värde som beräknas under körning."

#. type: TP
#: debconf-devel.7:349
#, no-wrap
msgid "B<RESET question>"
msgstr "B<RESET fråga>"

#. type: Plain text
#: debconf-devel.7:353
msgid ""
"This resets the question to its default value (as is specified in the "
"'Default' field of its template)."
msgstr ""
"Återställer frågan till standardvärdet som anges i mallens fält ”Default”."

#. type: TP
#: debconf-devel.7:353
#, no-wrap
msgid "B<SUBST question key value>"
msgstr "B<SUBST fråga nyckel värde>"

#. type: Plain text
#: debconf-devel.7:362
msgid ""
"Questions can have substitutions embedded in their 'Description' and "
"'Choices' fields (use of substitutions in 'Choices' fields is a bit of a "
"hack though; a better mechanism will eventually be developed). These "
"substitutions look like \"${key}\". When the question is displayed, the "
"substitutions are replaced with their values. This command can be used to "
"set the value of a substitution. This is useful if you need to display some "
"message to the user that you can't hard-code in the templates file."
msgstr ""
"Fälten ”Description” och ”Choices” i en fråga kan innehålla platshållare. "
"Att använda dem i ”Choices” är en provisorisk lösning som så småningom ska "
"få en bättre ersättare. En platshållare skrivs som ”${key}”. När frågan "
"visas ersätts varje platshållare med sitt värde. Med det här kommandot anger"
" du värdet. Det är användbart när du behöver visa text för användaren som "
"inte kan skrivas in på förhand i mallfilen."

#. type: Plain text
#: debconf-devel.7:365
msgid ""
"Do not try to use SUBST to change the default value of a question; it won't "
"work since there is a SET command explicitly for that purpose."
msgstr ""
"Använd SET för att ändra en frågas standardvärde. SUBST kan inte användas "
"för det."

#. type: TP
#: debconf-devel.7:365
#, no-wrap
msgid "B<FGET question flag>"
msgstr "B<FGET fråga flagga>"

#. type: Plain text
#: debconf-devel.7:369
msgid ""
"Questions can have flags associated with them. The flags can have a value of"
" \"true\" or \"false\". This command returns the value of a flag."
msgstr ""
"En fråga kan ha flaggor med värdet ”true” eller ”false”. Kommandot "
"returnerar en flaggas värde."

#. type: TP
#: debconf-devel.7:369
#, no-wrap
msgid "B<FSET question flag value>"
msgstr "B<FSET fråga flagga värde>"

#. type: Plain text
#: debconf-devel.7:374
msgid ""
"This sets the value of a question's flag. The value must be either \"true\" "
"or \"false\"."
msgstr ""
"Anger värdet på en flagga för frågan. Värdet måste vara ”true” eller "
"”false”."

#. type: Plain text
#: debconf-devel.7:380
msgid ""
"One common flag is the \"seen\" flag. It is normally only set if a user has "
"already seen a question. Debconf usually only displays questions to users if"
" they have the seen flag set to \"false\" (or if it is reconfiguring a "
"package).  Sometimes you want the user to see a question again -- in these "
"cases you can set the seen flag to false to force debconf to redisplay it."
msgstr ""
"En vanlig flagga är ”seen”. Den är normalt satt bara om användaren redan har"
" sett frågan. Debconf brukar bara visa frågor vars seen-flagga har värdet "
"”false”, utom när ett paket konfigureras om. Om du vill att användaren ska "
"få se frågan igen kan du ge seen-flaggan värdet ”false”. Då visar debconf "
"frågan på nytt."

#. type: TP
#: debconf-devel.7:381
#, no-wrap
msgid "B<METAGET question field>"
msgstr "B<METAGET fråga fält>"

#. type: Plain text
#: debconf-devel.7:385
msgid ""
"This returns the value of any field of a question's associated template (the"
" Description, for example)."
msgstr ""
"Hämtar värdet på valfritt fält i den mall som frågan är kopplad till, till "
"exempel fältet Description."

#. type: TP
#: debconf-devel.7:385
#, no-wrap
msgid "B<REGISTER template question>"
msgstr "B<REGISTER mall fråga>"

#. type: Plain text
#: debconf-devel.7:391
msgid ""
"This creates a new question that is bound to a template. By default each "
"template has an associated question with the same name. However, any number "
"of questions can really be associated with a template, and this lets you "
"create more such questions."
msgstr ""
"Skapar en ny fråga och kopplar den till en mall. Som standard har varje mall"
" en fråga med samma namn. En mall kan ha hur många frågor som helst, och med"
" det här kommandot kan du skapa fler."

#. type: TP
#: debconf-devel.7:391
#, no-wrap
msgid "B<UNREGISTER question>"
msgstr "B<UNREGISTER fråga>"

#. type: Plain text
#: debconf-devel.7:394
msgid "This removes a question from the database."
msgstr ""
"Avregistrerar paketet som ägare till frågan. Frågan tas bort ur databasen om"
" inget annat paket äger den."

#. type: TP
#: debconf-devel.7:394
#, no-wrap
msgid "B<PURGE>"
msgstr "B<PURGE>"

#. type: Plain text
#: debconf-devel.7:398
msgid ""
"Call this in your postrm when your package is purged. It removes all of your"
" package's questions from debconf's database."
msgstr ""
"Anropa det här kommandot i postrm när paketet rensas. Det avregistrerar "
"paketet som ägare till alla dess frågor i debconfs databas. Frågor som även "
"ägs av andra paket finns kvar."

#. type: TP
#: debconf-devel.7:398
#, no-wrap
msgid "B<X_LOADTEMPLATEFILE /path/to/templates [owner]>"
msgstr "B<X_LOADTEMPLATEFILE /sökväg/till/mallar [ägare]>"

#. type: Plain text
#: debconf-devel.7:402
msgid ""
"This extension loads the specified template file into debconf's database.  "
"The owner defaults to the package that is being configured with debconf."
msgstr ""
"Det här tillägget läser in den angivna mallfilen i debconfs databas. Som "
"standard blir paketet som konfigureras med debconf ägare."

#. type: Plain text
#: debconf-devel.7:404
msgid "Here is a simple example of the debconf protocol in action."
msgstr "Här följer ett enkelt exempel på hur debconf-protokollet används."

#. type: Plain text
#: debconf-devel.7:418
#, no-wrap
msgid ""
"  INPUT medium debconf/frontend\n"
"  30 question skipped\n"
"  FSET debconf/frontend seen false\n"
"  0 false\n"
"  INPUT high debconf/frontend\n"
"  0 question will be asked\n"
"  GO\n"
"  [ Here debconf displays a question to the user. ]\n"
"  0 ok\n"
"  GET no/such/question\n"
"  10 no/such/question doesn't exist\n"
"  GET debconf/frontend\n"
"  0 Dialog\n"
msgstr ""
"  INPUT medium debconf/frontend\n"
"  30 question skipped\n"
"  FSET debconf/frontend seen false\n"
"  0 false\n"
"  INPUT high debconf/frontend\n"
"  0 question will be asked\n"
"  GO\n"
"  [ Här visar debconf en fråga för användaren. ]\n"
"  0 ok\n"
"  GET no/such/question\n"
"  10 no/such/question doesn't exist\n"
"  GET debconf/frontend\n"
"  0 Dialog\n"

#. type: SH
#: debconf-devel.7:418
#, no-wrap
msgid "LIBRARIES"
msgstr "BIBLIOTEK"

#. type: Plain text
#: debconf-devel.7:422
msgid ""
"Setting things up so you can talk to debconf, and speaking the debconf "
"protocol by hand is a little too much work, so some thin libraries exist to "
"relieve this minor drudgery."
msgstr ""
"Det blir lätt omständligt att upprätta kommunikationen med debconf och själv"
" hantera protokollet. Därför finns det små bibliotek som sköter de "
"detaljerna."

#. type: Plain text
#: debconf-devel.7:430
msgid ""
"For shell programming, there is the /usr/share/debconf/confmodule library, "
"which you can source at the top of a shell script, and talk to debconf in a "
"fairly natural way, using lower-case versions of the debconf protocol "
"commands, that are prefixed with \"db_\" (ie, \"db_input\" and \"db_go\"). "
"For details, see B<confmodule>(3)  ."
msgstr ""
"I skalskript kan du läsa in biblioteket /usr/share/debconf/confmodule i "
"början av skriptet. Sedan kan du anropa debconf-protokollets kommandon genom"
" att skriva dem med små bokstäver och prefixet ”db_”, till exempel "
"”db_input” och ”db_go”. Se B<confmodule>(3) för närmare upplysningar."

#. type: Plain text
#: debconf-devel.7:434
msgid ""
"Perl programmers can use the B<Debconf::Client::ConfModule>(3pm)  perl "
"module, and python programmers can use the debconf python module."
msgstr ""
"I Perl kan du använda modulen B<Debconf::Client::ConfModule>(3pm). I Python "
"finns modulen debconf."

#. type: Plain text
#: debconf-devel.7:438
msgid ""
"The rest of this manual will use the /usr/share/debconf/confmodule library "
"in example shell scripts. Here is an example config script using that "
"library, that just asks a question:"
msgstr ""
"Exemplen på skalskript i resten av handboken använder biblioteket "
"/usr/share/debconf/confmodule. Här är ett konfigurationsskript som använder "
"biblioteket för att ställa en enda fråga:"

#. type: Plain text
#: debconf-devel.7:445
#, no-wrap
msgid ""
"  #!/bin/sh\n"
"  set -e\n"
"  . /usr/share/debconf/confmodule\n"
"  db_set mypackage/reboot-now false\n"
"  db_input high mypackage/reboot-now || true\n"
"  db_go || true\n"
msgstr ""
"  #!/bin/sh\n"
"  set -e\n"
"  . /usr/share/debconf/confmodule\n"
"  db_set mypackage/reboot-now false\n"
"  db_input high mypackage/reboot-now || true\n"
"  db_go || true\n"

#. type: Plain text
#: debconf-devel.7:450
msgid ""
"Notice the uses of \"|| true\" to prevent the script from dying if debconf "
"decides it can't display a question, or the user tries to back up. In those "
"situations, debconf returns a non-zero exit code, and since this shell "
"script is set -e, an untrapped exit code would make it abort."
msgstr ""
"Med ”|| true” fortsätter skriptet även om debconf bedömer att frågan inte "
"kan visas eller om användaren försöker gå tillbaka ett steg. I båda fallen "
"returnerar debconf en annan slutkod än noll. Eftersom skalskriptet körs med "
"set -e skulle det annars avbrytas om slutkoden inte hanterades."

#. type: Plain text
#: debconf-devel.7:454
msgid ""
"And here is a corresponding postinst script, that uses the user's answer to "
"the question to see if the system should be rebooted (a rather absurd "
"example..):"
msgstr ""
"Här är motsvarande postinst-skript. Det använder svaret för att avgöra om "
"systemet ska startas om (ett något absurt exempel):"

#. type: Plain text
#: debconf-devel.7:462
#, no-wrap
msgid ""
"  #!/bin/sh\n"
"  set -e\n"
"  . /usr/share/debconf/confmodule\n"
"  db_get mypackage/reboot-now\n"
"  if [ \"$RET\" = true ]; then\n"
"  \tshutdown -r now\n"
"  fi\n"
msgstr ""
"  #!/bin/sh\n"
"  set -e\n"
"  . /usr/share/debconf/confmodule\n"
"  db_get mypackage/reboot-now\n"
"  if [ \"$RET\" = true ]; then\n"
"  \tshutdown -r now\n"
"  fi\n"

#. type: Plain text
#: debconf-devel.7:465
msgid ""
"Notice the use of the $RET variable to get at the extended return code from "
"the GET command, which holds the user's answer to the question."
msgstr ""
"Variabeln $RET innehåller den utökade resultatkoden från kommandot GET, i "
"det här fallet användarens svar på frågan."

#. type: SH
#: debconf-devel.7:465
#, no-wrap
msgid "THE POSTINST SCRIPT"
msgstr "POSTINST-SKRIPTET"

#. type: Plain text
#: debconf-devel.7:469
msgid ""
"The last section had an example of a postinst script that uses debconf to "
"get the value of a question, and act on it. Here are some things to keep in "
"mind when writing postinst scripts that use debconf:"
msgstr ""
"Föregående avsnitt visade hur ett postinst-skript använder debconf för att "
"hämta svaret på en fråga och vidta en åtgärd. Tänk på följande när du "
"skriver postinst-skript som använder debconf:"

#. type: Plain text
#: debconf-devel.7:473
msgid ""
"Avoid asking questions in the postinst. Instead, the config script should "
"ask questions using debconf, so that pre-configuration will work."
msgstr ""
"Undvik att ställa frågor i postinst. Låt i stället konfigurationsskriptet "
"ställa frågorna med hjälp av debconf så att förkonfigureringen fungerar."

#. type: Plain text
#: debconf-devel.7:479
msgid ""
"Always source /usr/share/debconf/confmodule at the top of your postinst, "
"even if you won't be running any db_* commands in it.  This is required to "
"make sure the config script gets a chance to run (see HACKS for details)."
msgstr ""
"Läs alltid in /usr/share/debconf/confmodule i början av postinst, även om "
"skriptet inte anropar några db_*-kommandon. Det behövs för att "
"konfigurationsskriptet ska få tillfälle att köras (se avsnittet "
"SPECIALKNEP)."

#. type: Plain text
#: debconf-devel.7:484
msgid ""
"Avoid outputting anything to stdout in your postinst, since that can confuse"
" debconf, and postinst should not be verbose anyway. Output to stderr is ok,"
" if you must."
msgstr ""
"Undvik att skriva till standardutmatningen i postinst, eftersom det kan "
"störa kommunikationen med debconf. Postinst ska ändå ge sparsamt med utdata."
" Vid behov kan du skriva till standardfel."

#. type: Plain text
#: debconf-devel.7:489
msgid ""
"If your postinst launches a daemon, make sure you tell debconf to STOP at "
"the end, since debconf can become a little confused about when your postinst"
" is done otherwise."
msgstr ""
"Om postinst startar en bakgrundsprocess måste du ge debconf kommandot STOP i"
" slutet. Annars kan debconf ha svårt att avgöra när postinst-skriptet är "
"klart."

#. type: Plain text
#: debconf-devel.7:494
msgid ""
"Make your postinst script accept a first parameter of \"reconfigure\". It "
"can treat it just like \"configure\". This will be used in a later version "
"of debconf to let postinsts know when they are reconfigured."
msgstr ""
"Låt postinst-skriptet acceptera ”reconfigure” som första parameter. Skriptet"
" kan hantera den precis som ”configure”. En senare version av debconf kommer"
" att använda den för att meddela postinst att paketet håller på att "
"konfigureras om."

#. type: SH
#: debconf-devel.7:494
#, no-wrap
msgid "OTHER SCRIPTS"
msgstr "ANDRA SKRIPT"

#. type: Plain text
#: debconf-devel.7:502
msgid ""
"Besides the config script and postinst, you can use debconf in any of the "
"other maintainer scripts. Most commonly, you'll be using debconf in your "
"postrm, to call the PURGE command when your package is purged, to clean out "
"its entries in the debconf database. (This is automatically set up for you "
"by B<dh_installdebconf>(1)B<,> by the way.)"
msgstr ""
"Förutom i config och postinst kan du använda debconf i alla andra "
"underhållsskript. Det vanligaste är att anropa PURGE från postrm när paketet"
" rensas, så att poster som bara tillhör det paketet tas bort ur debconfs "
"databas. Du kan använda B<dh_installdebconf>(1)B<,> som lägger till anropet "
"automatiskt."

#. type: Plain text
#: debconf-devel.7:510
msgid ""
"A more involved use of debconf would be if you want to use it in the postrm "
"when your package is purged, to ask a question about deleting something. Or "
"maybe you find you need to use it in the preinst or prerm for some reason. "
"All of these uses will work, though they'll probably involve asking "
"questions and acting on the answers in the same program, rather than "
"separating the two activities as is done in the config and postinst scripts."
msgstr ""
"Ett mer komplicerat fall är när postrm behöver ställa en fråga om att ta "
"bort något vid rensning av paketet. Du kan också behöva använda debconf i "
"preinst eller prerm. Allt detta fungerar, men då måste du förmodligen både "
"ställa frågorna och hantera svaren i samma program. Med config och postinst "
"delas de uppgifterna normalt upp mellan skripten."

#. type: Plain text
#: debconf-devel.7:515
msgid ""
"Note that if your package's sole use of debconf is in the postrm, you should"
" make your package's postinst source /usr/share/debconf/confmodule, to give "
"debconf a chance to load up your templates file into its database. Then the "
"templates will be available when your package is being purged."
msgstr ""
"Om postrm är det enda skriptet i paketet som använder debconf bör du ändå "
"låta postinst läsa in /usr/share/debconf/confmodule. Då får debconf "
"tillfälle att läsa in mallfilen i databasen, så att mallarna finns "
"tillgängliga när paketet rensas."

#. type: Plain text
#: debconf-devel.7:522
msgid ""
"You can also use debconf in other, standalone programs. The issue to watch "
"out for here is that debconf is not intended to be, and must not be used as "
"a registry. This is unix after all, and programs are configured by files in "
"/etc, not by some nebulous debconf database (that is only a cache anyway and"
" might get blown away). So think long and hard before using debconf in a "
"standalone program."
msgstr ""
"Du kan även använda debconf i fristående program. Tänk på att debconf inte "
"får användas som ett centralt konfigurationsregister. I Unix konfigureras "
"program med filer i /etc. Debconfs databas är bara en cache och kan "
"försvinna. Överväg därför noga om debconf är lämpligt för ett fristående "
"program."

#. type: Plain text
#: debconf-devel.7:527
msgid ""
"There are times when it can make sense, as in the apt-setup program which "
"uses debconf to prompt the user in a manner consistent with the rest of the "
"debian install process, and immediately acts on their answers to set up "
"apt's sources.list."
msgstr ""
"Ibland är det motiverat. Programmet apt-setup använder till exempel debconf "
"för att ställa frågor på samma sätt som resten av Debianinstallationen och "
"använder sedan svaren direkt för att konfigurera APT:s sources.list."

#. type: SH
#: debconf-devel.7:527
#, no-wrap
msgid "LOCALIZATION"
msgstr "LOKALISERING"

#. type: Plain text
#: debconf-devel.7:534
msgid ""
"Debconf supports localization of templates files. This is accomplished by "
"adding more fields, with translated text in them. Any of the fields can be "
"translated. For example, you might want to translate the description into "
"Spanish. Just make a field named 'Description-es' that holds the "
"translation. If a translated field is not available, debconf falls back to "
"the normal English field."
msgstr ""
"Debconf stöder översättning av mallfiler genom att extra fält med översatt "
"text läggs till. Alla fält kan översättas. Om du till exempel vill översätta"
" en beskrivning till spanska, skapa ett fält med namnet 'Description-es' som"
" innehåller översättningen. Om ett översatt fält saknas använder debconf det"
" vanliga engelska fältet."

#. type: Plain text
#: debconf-devel.7:540
msgid ""
"Besides the 'Description' field, you should translate the 'Choices' field of"
" a select or multiselect template. Be sure to list the translated choices in"
" the same order as they appear in the main 'Choices' field. You do not need "
"to translate the 'Default' field of a select or multiselect question, and "
"the value of the question will be automatically returned in English."
msgstr ""
"För mallar av typen select eller multiselect bör du översätta både fältet "
"'Description' och fältet 'Choices'. Räkna upp de översatta alternativen i "
"samma ordning som i det ursprungliga 'Choices'-fältet. Du behöver inte "
"översätta fältet 'Default' för dessa frågetyper. Frågans värde returneras "
"automatiskt på engelska."

#. type: Plain text
#: debconf-devel.7:552
msgid ""
"You will find it easier to manage translations if you keep them in separate "
"files; one file per translation. In the past, the B<debconf-getlang>(1)  and"
" B<debconf-mergetemplate>(1)  programs were used to manage "
"debian/template.ll files. This has been superseded by the B<po-debconf>(7)  "
"package, which lets you deal with debconf translations in .po files, just "
"like any other translations. Your translators will thank you for using this "
"new improved mechanism."
msgstr ""
"Det blir enklare att underhålla översättningarna om du har en separat fil "
"för varje språk. Tidigare användes B<debconf-getlang>(1) och B<debconf-"
"mergetemplate>(1) för att hantera filer med namn som debian/template.ll. De "
"har ersatts av paketet B<po-debconf>(7), som låter dig arbeta med debconf-"
"översättningarna i .po-filer precis som med andra översättningar. "
"Översättarna kommer att uppskatta det."

#. type: Plain text
#: debconf-devel.7:558
msgid ""
"For the details on po-debconf, see its man page. If you're using debhelper, "
"converting to po-debconf is as simple as running the B<debconf-"
"gettextize>(1)  command once, and adding a Build-Dependency on po-debconf "
"and on debhelper (E<gt>= 4.1.13)."
msgstr ""
"Mer information om po-debconf finns på dess manualsida. Om du använder "
"debhelper räcker det att köra B<debconf-gettextize>(1) en gång och lägga "
"till byggberoenden på po-debconf och debhelper (E<gt>= 4.1.13)."

#. type: SH
#: debconf-devel.7:558
#, no-wrap
msgid "PUTTING IT ALL TOGETHER"
msgstr "SÄTT IHOP PAKETET"

#. type: Plain text
#: debconf-devel.7:568
msgid ""
"So you have a config script, a templates file, a postinst script that uses "
"debconf, and so on. Putting these pieces together into a debian package "
"isn't hard. You can do it by hand, or can use B<dh_installdebconf>(1)  which"
" will merge your translated templates, copy the files into the right places "
"for you, and can even generate the call to PURGE that should go in your "
"postrm script. Make sure that your package depends on debconf (E<gt>= 0.5), "
"since earlier versions were not compatible with everything described in this"
" manual. And you're done."
msgstr ""
"Nu har du bland annat ett config-skript, en mallfil och ett postinst-skript "
"som använder debconf. Du kan sätta ihop dem till ett Debianpaket för hand "
"eller med B<dh_installdebconf>(1), som sammanfogar de översatta mallarna och"
" kopierar filerna till rätt platser. Det kan även lägga till det anrop till "
"PURGE som bör finnas i postrm. Se till att ditt paket har ett beroende på "
"debconf (E<gt>= 0.5), eftersom tidigare versioner saknar stöd för en del av "
"det som beskrivs här. Därmed är paketeringen klar."

#. type: Plain text
#: debconf-devel.7:571
msgid ""
"Well, except for testing, debugging, and actually using debconf for more "
"interesting things than asking a few basic questions. For that, read on.."
msgstr ""
"Återstår gör förstås att testa, felsöka och använda debconf till mer än "
"några enkla frågor. Läs vidare om det."

#. type: SH
#: debconf-devel.7:571
#, no-wrap
msgid "DEBUGGING"
msgstr "FELSÖKNING"

#. type: Plain text
#: debconf-devel.7:576
msgid ""
"So you have a package that's supposed to use debconf, but it doesn't quite "
"work. Maybe debconf is just not asking that question you set up. Or maybe "
"something weirder is happening; it spins forever in some kind of loop, or "
"worse. Luckily, debconf has plenty of debugging facilities."
msgstr ""
"Ditt paket ska använda debconf men fungerar inte riktigt. En fråga du har "
"lagt till kanske aldrig visas. Programmet kanske till och med fastnar i en "
"oändlig slinga. Debconf har flera verktyg som kan hjälpa dig att hitta "
"orsaken."

#. type: Plain text
#: debconf-devel.7:583
msgid ""
"The first thing to reach for is the DEBCONF_DEBUG environment variable.  If "
"you set and export DEBCONF_DEBUG=developer, debconf will output to stderr a "
"dump of the debconf protocol as your program runs. It'll look something like"
" this -- the typo is made clear:"
msgstr ""
"Börja med miljövariabeln DEBCONF_DEBUG. Om du sätter och exporterar "
"DEBCONF_DEBUG=developer skriver debconf ut protokolltrafiken till "
"standardfelutmatningen medan programmet körs. I följande exempel syns "
"stavfelet direkt:"

#. type: Plain text
#: debconf-devel.7:588
#, no-wrap
msgid ""
" debconf (developer): E<lt>-- input high debconf/frontand\n"
" debconf (developer): --E<gt> 10 \"debconf/frontand\" doesn't exist\n"
" debconf (developer): E<lt>-- go\n"
" debconf (developer): --E<gt> 0 ok\n"
msgstr ""
" debconf (developer): E<lt>-- input high debconf/frontand\n"
" debconf (developer): --E<gt> 10 \"debconf/frontand\" doesn't exist\n"
" debconf (developer): E<lt>-- go\n"
" debconf (developer): --E<gt> 0 ok\n"

#. type: Plain text
#: debconf-devel.7:592
msgid ""
"It's rather useful to use debconf's readline frontend when you're debugging "
"(in the author's opinion), as the questions don't get in the way, and all "
"the debugging output is easily preserved and logged."
msgstr ""
"Författaren rekommenderar debconfs Readline-gränssnitt vid felsökning. "
"Frågorna kommer inte i vägen och det är enkelt att spara och logga alla "
"felsökningsutskrifter."

#. type: TP
#: debconf-devel.7:593
#, no-wrap
msgid "B<DEBCONF_C_VALUES>"
msgstr "B<DEBCONF_C_VALUES>"

#. type: Plain text
#: debconf-devel.7:599
msgid ""
"If this environment variable is set to 'true', the frontend will display the"
" values in Choices-C fields (if present) of select and multiselect templates"
" rather than the descriptive values."
msgstr ""
"Om miljövariabeln sätts till 'true' visar gränssnittet värdena från fälten "
"Choices-C (om sådana finns) i mallar av typen select och multiselect i "
"stället för alternativens beskrivande texter."

#. type: TP
#: debconf-devel.7:600
#, no-wrap
msgid "B<debconf-communicate>"
msgstr "B<debconf-communicate>"

#. type: Plain text
#: debconf-devel.7:606
msgid ""
"Another useful tool is the B<debconf-communicate>(1)  program. Fire it up "
"and you can speak the raw debconf protocol to debconf, interactively. This "
"is a great way to try stuff out on the fly."
msgstr ""
"Ett annat användbart verktyg är B<debconf-communicate>(1). Med det kan du "
"skriva kommandon interaktivt direkt till debconf med debconfs eget "
"protokoll. Det är praktiskt när du vill prova ett kommando."

#. type: TP
#: debconf-devel.7:606
#, no-wrap
msgid "B<debconf-show>"
msgstr "B<debconf-show>"

#. type: Plain text
#: debconf-devel.7:612
msgid ""
"If a user is reporting a problem, B<debconf-show>(1)  can be used to dump "
"out all the questions owned by your package, displaying their values and "
"whether the user has seen them."
msgstr ""
"När en användare rapporterar ett problem kan B<debconf-show>(1) lista alla "
"frågor som paketet äger. Du får se frågornas värden och om användaren har "
"sett dem."

#. type: TP
#: debconf-devel.7:612
#, no-wrap
msgid "B<.debconfrc>"
msgstr "B<.debconfrc>"

#. type: Plain text
#: debconf-devel.7:623
msgid ""
"To avoid the often tedious build/install/debug cycle, it can be useful to "
"load up your templates with B<debconf-loadtemplate>(1)  and run your config "
"script by hand with the B<debconf>(1)  command. However, you still have to "
"do that as root, right? Not so good.  And ideally you'd like to be able to "
"see what a fresh installation of your package looks like, with a clean "
"debconf database."
msgstr ""
"För att slippa bygga, installera och felsöka paketet om och om igen kan du "
"läsa in mallarna med B<debconf-loadtemplate>(1) och köra "
"konfigurationsskriptet för hand med B<debconf>(1). Det brukar kräva root-"
"behörighet. Vid testning vill du kanske också kunna se hur en nyinstallation"
" av paketet ser ut med en tom debconf-databas."

#. type: Plain text
#: debconf-devel.7:629
msgid ""
"It turns out that if you set up a ~/.debconfrc file for a normal user, "
"pointing at a personal config.dat and template.dat for the user, you can "
"load up templates and run config scripts all you like, without any root "
"access. If you want to start over with a clean database, just blow away the "
"*.dat files."
msgstr ""
"Om du skapar en ~/.debconfrc för en vanlig användare och låter den peka på "
"användarens egna config.dat och template.dat kan du läsa in mallar och köra "
"konfigurationsskript utan root-behörighet. Vill du börja om med en tom "
"testdatabas tar du bort användarens egna *.dat-filer för testet."

#. type: Plain text
#: debconf-devel.7:634
msgid ""
"For details about setting this up, see B<debconf.conf>(5)B<,> and note that "
"/etc/debconf.conf makes a good template for a personal ~/.debconfrc file."
msgstr ""
"Läs B<debconf.conf>(5)B<,> där det beskrivs hur du gör. Systemets "
"/etc/debconf.conf är en bra utgångspunkt för en egen ~/.debconfrc."

#. type: SH
#: debconf-devel.7:635
#, no-wrap
msgid "ADVANCED PROGRAMMING WITH DEBCONF"
msgstr "AVANCERAD PROGRAMMERING MED DEBCONF"

#. type: SS
#: debconf-devel.7:636
#, no-wrap
msgid "Config file handling"
msgstr "Hantera konfigurationsfiler"

#. type: Plain text
#: debconf-devel.7:643
msgid ""
"Many of you seem to want to use debconf to help manage config files that are"
" part of your package. Perhaps there is no good default to ship in a "
"conffile, and so you want to use debconf to prompt the user, and write out a"
" config file based on their answers. That seems easy enough to do, but then "
"you consider upgrades, and what to do when someone modifies the config file "
"you generate, and dpkg-reconfigure, and ..."
msgstr ""
"Många vill använda debconf för att hantera paketets konfigurationsfiler. Om "
"det saknas ett bra standardvärde för en konfigurationsfil som distribueras "
"med paketet kan du vilja ställa frågor med debconf och skapa filen utifrån "
"svaren. Det låter enkelt tills du behöver hantera uppgraderingar, lokala "
"ändringar i den genererade filen eller en körning av dpkg-reconfigure."

#. type: Plain text
#: debconf-devel.7:651
msgid ""
"There are a lot of ways to do this, and most of them are wrong, and will "
"often earn you annoyed bug reports. Here is one right way to do it. It "
"assumes that your config file is really just a series of shell variables "
"being set, with comments in between, and so you can just source the file to "
"\"load\" it.  If you have a more complicated format, reading (and writing) "
"it becomes a bit trickier."
msgstr ""
"Det finns många sätt att göra detta och många av dem leder till befogade "
"felrapporter. Här är en metod som fungerar. Den förutsätter att "
"konfigurationsfilen består av tilldelningar till skalvariabler med "
"kommentarer emellan och därför kan läsas in direkt i skalet. Om formatet är "
"mer komplicerat blir det svårare att både läsa och skriva filen."

#. type: Plain text
#: debconf-devel.7:653
msgid "Your config script will look something like this:"
msgstr "Konfigurationsskriptet kan se ut så här:"

#. type: Plain text
#: debconf-devel.7:658 debconf-devel.7:680
#, no-wrap
msgid ""
" #!/bin/sh\n"
" CONFIGFILE=/etc/foo.conf\n"
" set -e\n"
" . /usr/share/debconf/confmodule\n"
msgstr ""
" #!/bin/sh\n"
" CONFIGFILE=/etc/foo.conf\n"
" set -e\n"
" . /usr/share/debconf/confmodule\n"

#. type: Plain text
#: debconf-devel.7:662
#, no-wrap
msgid ""
" # Load config file, if it exists.\n"
" if [ -e $CONFIGFILE ]; then\n"
" \t. $CONFIGFILE || true\n"
msgstr ""
" # Läs in konfigurationsfilen om den finns.\n"
" if [ -e $CONFIGFILE ]; then\n"
" \t. $CONFIGFILE || true\n"

#. type: Plain text
#: debconf-devel.7:668
#, no-wrap
msgid ""
" \t# Store values from config file into\n"
" \t# debconf db.\n"
" \tdb_set mypackage/foo \"$FOO\"\n"
" \tdb_set mypackage/bar \"$BAR\"\n"
" fi\n"
msgstr ""
" \t# Spara värdena från konfigurationsfilen\n"
" \t# i debconfs databas.\n"
" \tdb_set mypackage/foo \"$FOO\"\n"
" \tdb_set mypackage/bar \"$BAR\"\n"
" fi\n"

#. type: Plain text
#: debconf-devel.7:673
#, no-wrap
msgid ""
" # Ask questions.\n"
" db_input medium mypackage/foo || true\n"
" db_input medium mypackage/bar || true\n"
" db_go || true\n"
msgstr ""
" # Ställ frågorna.\n"
" db_input medium mypackage/foo || true\n"
" db_input medium mypackage/bar || true\n"
" db_go || true\n"

#. type: Plain text
#: debconf-devel.7:675
msgid "And the postinst will look something like this:"
msgstr "Så här kan postinst se ut:"

#. type: Plain text
#: debconf-devel.7:689
#, no-wrap
msgid ""
" # Generate config file, if it doesn't exist.\n"
" # An alternative is to copy in a template\n"
" # file from elsewhere.\n"
" if [ ! -e $CONFIGFILE ]; then\n"
" \techo \"# Config file for my package\" E<gt> $CONFIGFILE\n"
" \techo \"FOO=\" E<gt>E<gt> $CONFIGFILE\n"
" \techo \"BAR=\" E<gt>E<gt> $CONFIGFILE\n"
" fi\n"
msgstr ""
" # Skapa konfigurationsfilen om den saknas.\n"
" # Ett annat sätt är att kopiera en\n"
" # befintlig mallfil.\n"
" if [ ! -e $CONFIGFILE ]; then\n"
" \techo \"# Konfigurationsfil för mitt paket\" E<gt> $CONFIGFILE\n"
" \techo \"FOO=\" E<gt>E<gt> $CONFIGFILE\n"
" \techo \"BAR=\" E<gt>E<gt> $CONFIGFILE\n"
" fi\n"

#. type: Plain text
#: debconf-devel.7:699
#, no-wrap
msgid ""
" # Substitute in the values from the debconf db.\n"
" # There are obvious optimizations possible here.\n"
" # The cp before the sed ensures we do not mess up\n"
" # the config file's ownership and permissions.\n"
" db_get mypackage/foo\n"
" FOO=\"$RET\"\n"
" db_get mypackage/bar\n"
" BAR=\"$RET\"\n"
" cp -a -f $CONFIGFILE $CONFIGFILE.tmp\n"
msgstr ""
" # Sätt in värdena från debconfs databas.\n"
" # Det här kan optimeras.\n"
" # Kopieringen före sed gör att filens\n"
" # ägare och behörigheter bevaras.\n"
" db_get mypackage/foo\n"
" FOO=\"$RET\"\n"
" db_get mypackage/bar\n"
" BAR=\"$RET\"\n"
" cp -a -f $CONFIGFILE $CONFIGFILE.tmp\n"

#. type: Plain text
#: debconf-devel.7:706
#, no-wrap
msgid ""
" # If the admin deleted or commented some variables but then set\n"
" # them via debconf, (re-)add them to the conffile.\n"
" test -z \"$FOO\" || grep -Eq '^ *FOO=' $CONFIGFILE || \\e\n"
" \techo \"FOO=\" E<gt>E<gt> $CONFIGFILE\n"
" test -z \"$BAR\" || grep -Eq '^ *BAR=' $CONFIGFILE || \\e\n"
" \techo \"BAR=\" E<gt>E<gt> $CONFIGFILE\n"
msgstr ""
" # Om administratören tog bort eller kommenterade bort variabler men sedan\n"
" # angav dem via debconf, lägg till dem i konfigurationsfilen igen.\n"
" test -z \"$FOO\" || grep -Eq '^ *FOO=' $CONFIGFILE || \\e\n"
" \techo \"FOO=\" E<gt>E<gt> $CONFIGFILE\n"
" test -z \"$BAR\" || grep -Eq '^ *BAR=' $CONFIGFILE || \\e\n"
" \techo \"BAR=\" E<gt>E<gt> $CONFIGFILE\n"

#. type: Plain text
#: debconf-devel.7:711
#, no-wrap
msgid ""
" sed -e \"s/^ *FOO=.*/FOO=\\e\"$FOO\\e\"/\" \\e\n"
"     -e \"s/^ *BAR=.*/BAR=\\e\"$BAR\\e\"/\" \\e\n"
"     E<lt> $CONFIGFILE E<gt> $CONFIGFILE.tmp\n"
" mv -f $CONFIGFILE.tmp $CONFIGFILE\n"
msgstr ""
" sed -e \"s/^ *FOO=.*/FOO=\\e\"$FOO\\e\"/\" \\e\n"
"     -e \"s/^ *BAR=.*/BAR=\\e\"$BAR\\e\"/\" \\e\n"
"     E<lt> $CONFIGFILE E<gt> $CONFIGFILE.tmp\n"
" mv -f $CONFIGFILE.tmp $CONFIGFILE\n"

#. type: Plain text
#: debconf-devel.7:719
msgid ""
"Consider how these two scripts handle all the cases. On fresh installs the "
"questions are asked by the config script, and a new config file generated by"
" the postinst. On upgrades and reconfigures, the config file is read in, and"
" the values in it are used to change the values in the debconf database, so "
"the admin's manual changes are not lost. The questions are asked again (and "
"may or may not be displayed). Then the postinst substitutes the values back "
"into the config file, leaving the rest of it unchanged."
msgstr ""
"Lägg märke till hur skripten hanterar de olika fallen. Vid nyinstallation "
"ställer konfigurationsskriptet frågorna och postinst skapar en ny "
"konfigurationsfil. Vid uppgradering och omkonfigurering läses den befintliga"
" filen in och värdena i debconfs databas uppdateras från filen, så att "
"administratörens egna ändringar bevaras. Frågorna ställs på nytt, även om de"
" inte alltid visas. Postinst skriver sedan tillbaka värdena till "
"konfigurationsfilen och låter resten av innehållet vara orört."

#. type: SS
#: debconf-devel.7:719
#, no-wrap
msgid "Letting the user back up"
msgstr "Låt användaren gå tillbaka"

#. type: Plain text
#: debconf-devel.7:725
msgid ""
"Few things are more frustrating when using a system like debconf than being "
"asked a question, and answering it, then moving on to another screen with a "
"new question on it, and realizing that hey, you made a mistake, with that "
"last question, and you want to go back to it, and discovering that you "
"can't."
msgstr ""
"Det är frustrerande att svara på en fråga, gå vidare till nästa skärm och "
"först då märka att svaret blev fel, utan att ha någon möjlighet att gå "
"tillbaka."

#. type: Plain text
#: debconf-devel.7:731
msgid ""
"Since debconf is driven by your config script, it can't jump back to a "
"previous question on its own but with a little help from you, it can "
"accomplish this feat. The first step is to make your config script let "
"debconf know it is capable of handling the user pressing a back button.  You"
" use the CAPB command to do this, passing backup as a parameter."
msgstr ""
"Debconf styrs av ditt konfigurationsskript och kan inte återgå till en "
"tidigare fråga på egen hand. Börja med att tala om för debconf att skriptet "
"kan hantera att användaren trycker på bakåtknappen. Använd kommandot CAPB "
"med parametern backup."

#. type: Plain text
#: debconf-devel.7:735
msgid ""
"Then after each GO command, you must test to see if the user asked to back "
"up (debconf returns a code of 30), and if so jump back to the previous "
"question."
msgstr ""
"Kontrollera efter varje GO om användaren har bett att få gå tillbaka. I så "
"fall returnerar debconf koden 30 och skriptet ska gå tillbaka till den "
"föregående frågan."

#. type: Plain text
#: debconf-devel.7:741
msgid ""
"There are several ways to write the control structures of your program so it"
" can jump back to previous questions when necessary. You can write goto-"
"laden spaghetti code. Or you can create several functions and use recursion."
" But perhaps the cleanest and easiest way is to construct a state machine. "
"Here is a skeleton of a state machine that you can fill out and expand."
msgstr ""
"Det finns flera sätt att utforma programflödet så att det går att återvända "
"till tidigare frågor. Du kan använda en rad goto-satser eller dela upp "
"programmet i funktioner som anropar varandra rekursivt. Ofta blir det "
"tydligast och enklast att använda en tillståndsmaskin. Här är ett exempel "
"att bygga vidare på."

#. type: Plain text
#: debconf-devel.7:746
#, no-wrap
msgid ""
" #!/bin/sh\n"
" set -e\n"
" . /usr/share/debconf/confmodule\n"
" db_capb backup\n"
msgstr ""
" #!/bin/sh\n"
" set -e\n"
" . /usr/share/debconf/confmodule\n"
" db_capb backup\n"

#. type: Plain text
#: debconf-devel.7:773
#, no-wrap
msgid ""
" STATE=1\n"
" while true; do\n"
" \tcase \"$STATE\" in\n"
"  \t1)\n"
"  \t\t# Two unrelated questions.\n"
" \t\tdb_input medium my/question || true\n"
" \t\tdb_input medium my/other_question || true\n"
" \t;;\n"
" \t2)\n"
" \t\t# Only ask this question if the\n"
" \t\t# first question was answered in\n"
" \t\t# the affirmative.\n"
"        \tdb_get my/question\n"
" \t\tif [ \"$RET\" = \"true\" ]; then\n"
" \t\t\tdb_input medium my/dep_question || true\n"
" \t\tfi\n"
"  \t;;\n"
" \t*)\n"
" \t\t# The default case catches when $STATE is greater than the\n"
" \t\t# last implemented state, and breaks out of the loop. This\n"
" \t\t# requires that states be numbered consecutively from 1\n"
" \t\t# with no gaps, as the default case will also be entered\n"
" \t\t# if there is a break in the numbering\n"
" \t\tbreak # exits the enclosing \"while\" loop\n"
"  \t;;\n"
"  \tesac\n"
msgstr ""
" STATE=1\n"
" while true; do\n"
" \tcase \"$STATE\" in\n"
"  \t1)\n"
"  \t\t# Två oberoende frågor.\n"
" \t\tdb_input medium my/question || true\n"
" \t\tdb_input medium my/other_question || true\n"
" \t;;\n"
" \t2)\n"
" \t\t# Ställ bara den här frågan om\n"
" \t\t# användaren svarade ja på\n"
" \t\t# den första frågan.\n"
"        \tdb_get my/question\n"
" \t\tif [ \"$RET\" = \"true\" ]; then\n"
" \t\t\tdb_input medium my/dep_question || true\n"
" \t\tfi\n"
"  \t;;\n"
" \t*)\n"
" \t\t# Standardfallet fångar upp när $STATE är större än det sista\n"
" \t\t# implementerade tillståndet och avbryter slingan.\n"
" \t\t# Tillstånden måste numreras i följd från 1 utan luckor,\n"
" \t\t# eftersom standardfallet också nås om det finns en lucka\n"
" \t\t# i numreringen.\n"
" \t\tbreak # lämnar den omgivande while-slingan\n"
"  \t;;\n"
"  \tesac\n"

#. type: Plain text
#: debconf-devel.7:780
#, no-wrap
msgid ""
" \tif db_go; then\n"
" \t\tSTATE=$((STATE + 1))\n"
" \telse\n"
" \t\tSTATE=$((STATE - 1))\n"
" \tfi\n"
" done\n"
msgstr ""
" \tif db_go; then\n"
" \t\tSTATE=$((STATE + 1))\n"
" \telse\n"
" \t\tSTATE=$((STATE - 1))\n"
" \tfi\n"
" done\n"

#. type: Plain text
#: debconf-devel.7:791
#, no-wrap
msgid ""
" if [ $STATE -eq 0 ]; then\n"
" \t# The user has asked to back up from the first\n"
" \t# question. This case is problematical. Regular\n"
" \t# dpkg and apt package installation isn't capable\n"
" \t# of backing up questions between packages as this\n"
" \t# is written, so this will exit leaving the package\n"
" \t# unconfigured - probably the best way to handle\n"
" \t# the situation.\n"
" \texit 10\n"
" fi\n"
msgstr ""
" if [ $STATE -eq 0 ]; then\n"
" \t# Användaren har valt att gå tillbaka från den första\n"
" \t# frågan. Det fallet är svårt att hantera. Vid en vanlig\n"
" \t# paketinstallation med dpkg och apt går det i skrivande\n"
" \t# stund inte att gå tillbaka mellan paketens frågor.\n"
" \t# Avsluta därför och låt paketet vara okonfigurerat.\n"
" \t# Det är förmodligen det bästa sättet att hantera\n"
" \t# situationen.\n"
" \texit 10\n"
" fi\n"

#. type: Plain text
#: debconf-devel.7:796
msgid ""
"Note that if all your config script does is ask a few unrelated questions, "
"then there is no need for the state machine. Just ask them all, and GO; "
"debconf will do its best to present them all in one screen, and the user "
"won't need to back up."
msgstr ""
"Om konfigurationsskriptet bara ställer några oberoende frågor behövs ingen "
"tillståndsmaskin. Ställ alla frågorna och anropa sedan GO. Debconf försöker "
"visa alla på samma skärm, så att användaren inte behöver gå tillbaka."

#. type: SS
#: debconf-devel.7:796
#, no-wrap
msgid "Preventing infinite loops"
msgstr "Undvik oändliga slingor"

#. type: Plain text
#: debconf-devel.7:800
msgid ""
"One gotcha with debconf comes up if you have a loop in your config script. "
"Suppose you're asking for input and validating it, and looping if it's not "
"valid:"
msgstr ""
"En fallgrop vid användning av debconf är slingor i konfigurationsskriptet. "
"Anta att du begär ett värde, kontrollerar det och upprepar frågan om värdet "
"är ogiltigt:"

#. type: Plain text
#: debconf-devel.7:810
#, no-wrap
msgid ""
" ok=''\n"
" do while [ ! \"$ok\" ];\n"
" \tdb_input low foo/bar || true\n"
" \tdb_go || true\n"
" \tdb_get foo/bar\n"
" \tif [ \"$RET\" ]; then\n"
" \t\tok=1\n"
" \tfi\n"
" done\n"
msgstr ""
" ok=''\n"
" while [ ! \"$ok\" ]; do\n"
" \tdb_input low foo/bar || true\n"
" \tdb_go || true\n"
" \tdb_get foo/bar\n"
" \tif [ \"$RET\" ]; then\n"
" \t\tok=1\n"
" \tfi\n"
" done\n"

#. type: Plain text
#: debconf-devel.7:817
msgid ""
"This looks ok at first glance. But consider what happens if the value of "
"foo/bar is \"\" when this loop is entered, and the user has their priority "
"set high, or is using a non-interactive frontend, and so they are not really"
" asked for input. The value of foo/bar is not changed by the db_input, and "
"so it fails the test and loops. And loops ..."
msgstr ""
"Vid första anblicken ser det rimligt ut. Men anta att foo/bar har värdet "
"\"\" när slingan börjar och att användaren har valt hög prioritet eller "
"använder ett icke-interaktivt gränssnitt. Då får användaren aldrig se "
"frågan. db_input ändrar inte värdet på foo/bar, villkoret för att lämna "
"slingan uppfylls aldrig och slingan fortsätter utan slut."

#. type: Plain text
#: debconf-devel.7:823
msgid ""
"One fix for this is to make sure that before the loop is entered, the value "
"of foo/bar is set to something that will pass the test in the loop. So for "
"example if the default value of foo/bar is \"1\", then you could RESET "
"foo/bar just before entering the loop."
msgstr ""
"En lösning är att ge foo/bar ett värde som klarar kontrollen innan slingan "
"börjar. Om standardvärdet för foo/bar är \"1\" kan du till exempel anropa "
"RESET foo/bar strax före slingan."

#. type: Plain text
#: debconf-devel.7:827
msgid ""
"Another fix is to check the return code of the INPUT command. If it is 30 "
"then the user is not being shown the question you asked them, and you should"
" break out of the loop."
msgstr ""
"En annan lösning är att kontrollera returkoden från INPUT. Om den är 30 har "
"frågan inte visats för användaren och du bör lämna slingan."

#. type: SS
#: debconf-devel.7:827
#, no-wrap
msgid "Choosing among related packages"
msgstr "Välja mellan närbesläktade paket"

#. type: Plain text
#: debconf-devel.7:832
msgid ""
"Sometimes a set of related packages can be installed, and you want to prompt"
" the user which of the set should be used by default. Examples of such sets "
"are window managers, or ispell dictionary files."
msgstr ""
"Ibland kan flera paket med liknande funktion installeras samtidigt och du "
"vill fråga användaren vilket som ska användas som standard. Det kan till "
"exempel röra sig om fönsterhanterare eller ordlistor för ispell."

#. type: Plain text
#: debconf-devel.7:838
msgid ""
"While it would be possible for each package in the set to simply prompt, "
"\"Should this package be default?\", this leads to a lot of repetitive "
"questions if several of the packages are installed. It's possible with "
"debconf to present a list of all the packages in the set and allow the user "
"to choose between them. Here's how."
msgstr ""
"Varje paket skulle kunna ställa frågan ”Ska det här paketet användas som "
"standard?”, men då får den som installerar flera av paketen nästan samma "
"fråga flera gånger. Med debconf kan du i stället visa en lista över alla "
"paketen och låta användaren välja. Så här gör du."

#. type: Plain text
#: debconf-devel.7:841
msgid ""
"Make all the packages in the set use a shared template. Something like this:"
msgstr "Låt alla paketen använda en gemensam mall, till exempel:"

#. type: Plain text
#: debconf-devel.7:848
#, no-wrap
msgid ""
" Template: shared/window-manager\n"
" Type: select\n"
" Choices: ${choices}\n"
" Description: Select the default window manager.\n"
"  Select the window manager that will be started by\n"
"  default when X starts.\n"
msgstr ""
" Template: shared/window-manager\n"
" Type: select\n"
" Choices: ${choices}\n"
" Description: Välj standardfönsterhanterare.\n"
"  Välj vilken fönsterhanterare som ska köras som standard\n"
"  när X startar.\n"

#. type: Plain text
#: debconf-devel.7:851
msgid ""
"Each package should include a copy of the template. Then it should include "
"some code like this in its config script:"
msgstr ""
"Varje paket ska innehålla en kopia av mallen och kod liknande den här i "
"konfigurationsskriptet:"

#. type: Plain text
#: debconf-devel.7:856
#, no-wrap
msgid ""
" db_metaget shared/window-manager owners\n"
" OWNERS=$RET\n"
" db_metaget shared/window-manager choices\n"
" CHOICES=$RET\n"
msgstr ""
" db_metaget shared/window-manager owners\n"
" OWNERS=$RET\n"
" db_metaget shared/window-manager choices\n"
" CHOICES=$RET\n"

#. type: Plain text
#: debconf-devel.7:861
#, no-wrap
msgid ""
" if [ \"$OWNERS\" != \"$CHOICES\" ]; then\n"
" \tdb_subst shared/window-manager choices $OWNERS\n"
" \tdb_fset shared/window-manager seen false\n"
" fi\n"
msgstr ""
" if [ \"$OWNERS\" != \"$CHOICES\" ]; then\n"
" \tdb_subst shared/window-manager choices $OWNERS\n"
" \tdb_fset shared/window-manager seen false\n"
" fi\n"

#. type: Plain text
#: debconf-devel.7:864
#, no-wrap
msgid ""
" db_input medium shared/window-manager || true\n"
" db_go || true\n"
msgstr ""
" db_input medium shared/window-manager || true\n"
" db_go || true\n"

#. type: Plain text
#: debconf-devel.7:872
msgid ""
"A bit of an explanation is called for. By the time your config script runs, "
"debconf has already read in all the templates for the packages that are "
"being installed. Since the set of packages share a question, debconf records"
" that fact in the owners field. By a strange coincidence, the format of the "
"owners field is the same as that of the choices field (a comma and space "
"delimited list of values)."
msgstr ""
"När konfigurationsskriptet körs har debconf redan läst in mallarna för alla "
"paket som håller på att installeras. Eftersom paketen delar en fråga "
"registreras de i fältet owners. Det fältet har samma format som fältet "
"choices, nämligen en lista där värdena avgränsas med kommatecken och "
"blanksteg."

#. type: Plain text
#: debconf-devel.7:877
msgid ""
"The METAGET command can be used to get the list of owners and the list of "
"choices. If they are different, then a new package has been installed. So "
"use the SUBST command to change the list of choices to be the same as the "
"list of owners, and ask the question."
msgstr ""
"Med METAGET kan du hämta både ägarlistan och listan över valbara alternativ."
" Om de skiljer sig har ett nytt paket installerats. Uppdatera i så fall "
"alternativen med SUBST så att de motsvarar ägarlistan och ställ sedan "
"frågan."

#. type: Plain text
#: debconf-devel.7:881
msgid ""
"When a package is removed, you probably want to see if that package is the "
"currently selected choice, and if so, prompt the user to select a different "
"package to replace it."
msgstr ""
"När ett paket tas bort är det lämpligt att kontrollera om det är det valda "
"alternativet och i så fall be användaren välja en ersättare."

#. type: Plain text
#: debconf-devel.7:885
msgid ""
"This can be accomplished by adding something like this to the prerm scripts "
"of all related packages (replacing E<lt>packageE<gt> with the package name):"
msgstr ""
"Gör det genom att lägga till kod som denna i prerm för alla berörda paket. "
"Ersätt E<lt>packageE<gt> med paketnamnet:"

#. type: Plain text
#: debconf-devel.7:890
#, no-wrap
msgid ""
" if [ -e /usr/share/debconf/confmodule ]; then\n"
" \t. /usr/share/debconf/confmodule\n"
" \t# I no longer claim this question.\n"
" \tdb_unregister shared/window-manager\n"
msgstr ""
" if [ -e /usr/share/debconf/confmodule ]; then\n"
" \t. /usr/share/debconf/confmodule\n"
" \t# Paketet avstår från ägarskapet till frågan.\n"
" \tdb_unregister shared/window-manager\n"

#. type: Plain text
#: debconf-devel.7:901
#, no-wrap
msgid ""
" \t# See if the shared question still exists.\n"
" \tif db_get shared/window-manager; then\n"
" \t\tdb_metaget shared/window-manager owners\n"
" \t\tdb_subst shared/window-manager choices $RET\n"
" \t\tdb_metaget shared/window-manager value\n"
" \t\tif [ \"E<lt>packageE<gt>\" = \"$RET\" ] ; then\n"
" \t\t\tdb_fset shared/window-manager seen false\n"
" \t\t\tdb_input high shared/window-manager || true\n"
" \t\t\tdb_go || true\n"
" \t\tfi\n"
msgstr ""
" \t# Kontrollera om den gemensamma frågan fortfarande finns.\n"
" \tif db_get shared/window-manager; then\n"
" \t\tdb_metaget shared/window-manager owners\n"
" \t\tdb_subst shared/window-manager choices $RET\n"
" \t\tdb_metaget shared/window-manager value\n"
" \t\tif [ \"E<lt>packageE<gt>\" = \"$RET\" ] ; then\n"
" \t\t\tdb_fset shared/window-manager seen false\n"
" \t\t\tdb_input high shared/window-manager || true\n"
" \t\t\tdb_go || true\n"
" \t\tfi\n"

#. type: Plain text
#: debconf-devel.7:906
#, no-wrap
msgid ""
" \t\t# Now do whatever the postinst script did\n"
" \t\t# to update the window manager symlink.\n"
" \tfi\n"
" fi\n"
msgstr ""
" \t\t# Uppdatera nu den symboliska länken till fönsterhanteraren\n"
" \t\t# på samma sätt som i postinst.\n"
" \tfi\n"
" fi\n"

#. type: SH
#: debconf-devel.7:906
#, no-wrap
msgid "HACKS"
msgstr "SPECIALKNEP"

#. type: Plain text
#: debconf-devel.7:909
msgid ""
"Debconf is currently not fully integrated into dpkg (but I want to change "
"this in the future), and so some messy hacks are currently called for."
msgstr ""
"Debconf är ännu inte fullständigt integrerat i dpkg. Författaren hoppas "
"kunna ändra på det, men tills vidare behövs några omvägar."

#. type: Plain text
#: debconf-devel.7:920
msgid ""
"The worst of these involves getting the config script to run. The way that "
"works now is the config script will be run when the package is pre-"
"configured. Then, when the postinst script runs, it starts up debconf again."
" Debconf notices it is being used by the postinst script, and so it goes off"
" and runs the config script. This can only work if your postinst loads up "
"one of the debconf libraries though, so postinsts always have to take care "
"to do that. We hope to address this later by adding explicit support to dpkg"
" for debconf. The B<debconf>(1)  program is a step in this direction."
msgstr ""
"Ett exempel är hur konfigurationsskriptet startas. Det körs först när "
"paketet förkonfigureras. När postinst sedan körs startar det debconf på "
"nytt. Debconf märker att det anropas från postinst och kör "
"konfigurationsskriptet. Det fungerar bara om postinst läser in ett av "
"debconfs bibliotek. Alla postinst-skript som använder debconf måste därför "
"göra det. Förhoppningen är att dpkg ska få uttryckligt stöd för debconf. "
"Programmet B<debconf>(1) är ett steg i den riktningen."

#. type: Plain text
#: debconf-devel.7:931
msgid ""
"A related hack is getting debconf running when a config script, postinst, or"
" other program that uses it starts up. After all, they expect to be able to "
"talk to debconf right away. The way this is accomplished for now is that "
"when such a script loads a debconf library (like "
"/usr/share/debconf/confmodule), and debconf is not already running, it is "
"started up, and a new copy of the script is re-execed. The only noticeable "
"result is that you need to put the line that loads a debconf library at the "
"very top of the script, or weird things will happen. We hope to address this"
" later by changing how debconf is invoked, and turning it into something "
"more like a transient daemon."
msgstr ""
"Ett närbesläktat problem är att config, postinst och andra program som "
"använder debconf förväntar sig att kunna kommunicera med det direkt när de "
"startar. När ett sådant skript läser in ett debconf-bibliotek, exempelvis "
"/usr/share/debconf/confmodule, startas debconf om det inte redan körs. "
"Därefter startas skriptet på nytt. I praktiken innebär det att raden som "
"läser in biblioteket måste ligga allra först i skriptet för att undvika "
"oväntade resultat. En tänkbar framtida lösning är att ändra hur debconf "
"anropas och låta det fungera mer som en tillfällig bakgrundsprocess."

#. type: Plain text
#: debconf-devel.7:942
msgid ""
"It's rather hackish how debconf figures out what templates files to load, "
"and when it loads them. When the config, preinst, and postinst scripts "
"invoke debconf, it will automatically figure out where the templates file "
"is, and load it. Standalone programs that use debconf will cause debconf to "
"look for templates files in /usr/share/debconf/templates/progname.templates."
"  And if a postrm wants to use debconf at purge time, the templates won't be"
" available unless debconf had a chance to load them in its postinst. This is"
" messy, but rather unavoidable. In the future some of these programs may be "
"able to use debconf-loadtemplate by hand though."
msgstr ""
"Även valet av mallfiler och tidpunkten då de läses in kräver några "
"speciallösningar. När config, preinst eller postinst anropar debconf hittar "
"det mallfilen automatiskt och läser in den. För ett fristående program söker"
" debconf efter /usr/share/debconf/templates/progname.templates. Om postrm "
"behöver använda debconf när paketet rensas finns mallarna bara tillgängliga "
"om debconf fick tillfälle att läsa in dem under postinst. Det är omständligt"
" men för närvarande svårt att undvika. I framtiden kanske vissa av "
"programmen kan anropa debconf-loadtemplate direkt."

#. type: Plain text
#: debconf-devel.7:950
msgid ""
"/usr/share/debconf/confmodule's historic behavior of playing with file "
"descriptors and setting up a fd #3 that talks to debconf, can cause all "
"sorts of trouble when a postinst runs a daemon, since the daemon ends up "
"talking to debconf, and debconf can't figure out when the script terminates."
" The STOP command can work around this. In the future, we are considering "
"making debconf communication happen over a socket or some other mechanism "
"than stdio."
msgstr ""
"Av historiska skäl ändrar /usr/share/debconf/confmodule filbeskrivarna och "
"använder filbeskrivare 3 för att kommunicera med debconf. Det kan ställa "
"till problem när postinst startar en bakgrundsprocess. Även den kan då hålla"
" förbindelsen till debconf öppen, vilket gör det svårt att avgöra när "
"skriptet avslutas. Kommandot STOP kan användas för att kringgå problemet. En"
" möjlighet som övervägs är att i framtiden kommunicera via en socket eller "
"någon annan mekanism än standardströmmarna."

#. type: Plain text
#: debconf-devel.7:958
msgid ""
"Debconf sets DEBCONF_RECONFIGURE=1 before running postinst scripts, so a "
"postinst script that needs to avoid some expensive operation when "
"reconfigured can look at that variable. This is a hack because the right "
"thing would be to pass $1 = \"reconfigure\", but doing so without breaking "
"all the postinsts that use debconf is difficult. The migration plan away "
"from this hack is to encourage people to write postinsts that accept "
"\"reconfigure\", and once they all do, begin passing that parameter."
msgstr ""
"Debconf sätter DEBCONF_RECONFIGURE=1 innan postinst-skript körs. Ett skript "
"som vill hoppa över en tidskrävande åtgärd vid omkonfigurering kan "
"kontrollera den variabeln. Helst skulle det första argumentet i stället vara"
" $1 = \"reconfigure\", men det är svårt att införa detta utan att befintliga"
" postinst-skript slutar fungera. Tanken är att uppmuntra paketansvariga att "
"skriva postinst-skript som godtar \"reconfigure\" och börja skicka "
"argumentet när alla sådana skript är redo."

#. type: Plain text
#: debconf-devel.7:961
msgid "B<debconf>(7)  is the debconf user's guide."
msgstr "B<debconf>(7) är debconfs användarhandbok."

#. type: Plain text
#: debconf-devel.7:964
msgid ""
"The debconf specification in debian policy is the canonical definition of "
"the debconf protocol. /usr/share/doc/debian-"
"policy/debconf_specification.txt.gz"
msgstr ""
"Debconf-specifikationen i Debian Policy är den normerande beskrivningen av "
"debconf-protokollet. Se /usr/share/doc/debian-"
"policy/debconf_specification.txt.gz."

#. type: Plain text
#: debconf-devel.7:968
msgid ""
"B<debconf.conf>(5)  has much useful information, including some info about "
"the backend database."
msgstr ""
"B<debconf.conf>(5) innehåller bland annat information om hur debconfs "
"databaser fungerar."
