[Freedombox-discuss] How do we handle package upgrades on the Freedombox?
Jonas Smedegaard
dr at jones.dk
Thu Apr 17 01:16:35 UTC 2014
Quoting James Valleroy (2014-04-17 02:39:13)
> On Wed, Apr 16, 2014 at 8:04 AM, Jonas Smedegaard <dr at jones.dk> wrote:
>> Second is specific to Plinth, and should be documented in manpages
>> of debconf. For an equivalent implemented in shell it would involve
>> "debconf-set-selections" and "debconf" commands (not the common
>> wrapper, "dpkg-reconfigure", as it forces use of an interactive
>> frontend).
>
> I think we can use dpkg-reconfigure without the interactive frontend:
>
> echo "jwchat jwchat/ApacheServerName string $hostname" | debconf-set-selections
> DEBIAN_FRONTEND=noninteractive dpkg-reconfigure jwchat
>
> Do you see any issues with this approach?
Well, if it works then maybe it will keep working.
I just worry that manpage seems to describe a different intent.
- Jonas
--
* Jonas Smedegaard - idealist & Internet-arkitekt
* Tlf.: +45 40843136 Website: http://dr.jones.dk/
[x] quote me freely [ ] ask before reusing [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 966 bytes
Desc: signature
URL: <http://lists.alioth.debian.org/pipermail/freedombox-discuss/attachments/20140417/453e43cb/attachment.sig>
More information about the Freedombox-discuss
mailing list