这是indexloc提供的服务,不要输入任何密码
Skip to content

Error Upgrading to 0.4.3 #1617

@mlavin

Description

@mlavin

I installed dokku through the apt repo and trying to run apt-get upgrade to the latest version is running into an error:

...
User 'dokku' already exists
docker:x:999:dokku
gpasswd: user 'syslog
mark' does not exist
dpkg: error processing package dokku (--configure):
 subprocess installed post-installation script returned error exit status 3
Errors were encountered while processing:
 dokku
E: Sub-process /usr/bin/dpkg returned an error code (1)

From what I can tell this comes from the nginx-vhosts/install. In particular the change from f9e636d added the call to gpasswd. As it would happen my server has a group named admin which my user belongs to so egrep ^adm /etc/group | awk -F ":" '{ print $4 }' returns two lines

syslog
mark

and triggers the error. It would seem that changing this regex to ^adm: would match only the adm group rather than all groups which begin with adm but my Debian packaging skills are admittedly sub-par.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions