Re: Noninteractive "apt-get upgrade "question.
Sam Watkins(swatkins@fastmail.fm) is reported to have said:
> On Thu, Dec 23, 2004 at 10:26:56AM -0500, Wayne Topa wrote:
> > Sam Watkins(swatkins@fastmail.fm) is reported to have said:
> > > I just noticed there are some dpkg options that cause it not to ask
> > > these questions.
> > >
> > > --force-confold and --force-confnew
> > >
> > > I wouldn't use --force-confnew, but --force-confold looks good. One
> > > could then merge the config files as a separate task, like gentoo's
> > > dispatch-conf, as the new config files would be available as
> > > /etc/foo.dpkg-new or /etc/foo.dpkg-dist or something.
> > >
> > > You can apparently set this option permanently in /etc/dpkg/dpkg.cfg
> > > by adding a line:
> > >
> >
> > Humm. I don't seem to have a /etc/dpkg/dpkg.cfg on my
> > testing/unstable box.
>
> I do (using sid). If its not there you will have to create it.
> Here's what's in mine:
Interesting. I am runnind dpkg (1.10.25) which seems to be the latest
version. I use dselect to update and do have a /etc/dpkg/dselect.cfg,
which was install there by dselect. It has no options enabled at all.
Its man page is a copy of the dpkg.cfg manpage with only the dpkg
changed to dselect. Odd that dpkg doesn't install its .cfg file in
that dir as well.
>
> # dpkg configuration file
> #
> # This file can contain default options for dpkg. All commandline
> # options are allowed. Values can be specific by putting them after
> # the option, seperated by whitespace and/or an `=' sign.
> #
> no-debsig
Thanks, I'll try this out.
>
> I'd skip the "force-overwrite" option from the example!
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
>
--
Disclaimer: Any errors in spelling, tact, or fact are transmission
errors.
_______________________________________________________
Reply to: