LXC-Web-Panel
LXC-Web-Panel copied to clipboard
Install Errors
dpkg: error processing archive /var/cache/apt/archives/lwp_0.8-25-g62597b1_all.deb (--unpack): subprocess new pre-removal script returned error exit status 102
- missed /etc/lwp/lwp.conf file
- cannot read config files. Exit! dpkg: error while cleaning up: subprocess installed post-installation script returned error exit status 102 Errors were encountered while processing: /var/cache/apt/archives/lwp_0.8-25-g62597b1_all.deb E: Sub-process /usr/bin/dpkg returned an error code (1)
Same problem here, on an up-to-date 64 bits Debian Jessie, with backports repository enabled:
S'està configurant lwp (0.8-25-g62597b1)…
* missed /etc/lwp/lwp.conf file
* cannot read config files. Exit!
dpkg: s'ha produït un error en processar el paquet lwp (--configure):
el subprocés s'ha instal·lat el script post-installation retornà el codi d'eixida d'error 102
S'han trobat errors en processar:
lwp
E: Sub-process /usr/bin/dpkg returned an error code (1)
Failed to perform requested operation on package. Trying to recover:
S'està configurant lwp (0.8-25-g62597b1)…
* missed /etc/lwp/lwp.conf file
* cannot read config files. Exit!
dpkg: s'ha produït un error en processar el paquet lwp (--configure):
el subprocés s'ha instal·lat el script post-installation retornà el codi d'eixida d'error 102
S'han trobat errors en processar:
lwp
Per continuar premeu la tecla de retorn.
This bug was fixed on git by issue #90, but no DEB was packed reflecting it. Consider cloning and building.
Hi all! Can you confirm that 0.9 release from packagecloud.io resolve this problem?
On Debian/jessie it won't work because we run systemd, not upstart. Also, after packagecloud.io's install script, it installs correctly, but empty distro repo. I've added Ubuntu/trusty manually and apt-get update'd. After this, apt-get install'd, but got the post-install 102 error (from invoke-rc.d and update-rc.d). I'm not familiar with Travis and packagecloud, but I guess the package is only set for Ubuntu.
Just installed on a clean UbuntuTT VM, just installed lxc+lxctl and lwp from packagecloud.io, it installs and run. You just need to rename lwp.example.conf and reboot/re-run the service.
@claudyus Debian Jessie install fails as @marcosx86 described because there is no repository for Debian Jessie and the package for Ubuntu Trusty doesn't have a systemd unit.
@marcosx86 , @flexiondotorg the systemd unit file was propose by @yoav-steinberg in this commit https://github.com/yoav-steinberg/LXC-Web-Panel/commit/be89ad4642751c5daf93d6e2ede34f5a52a624fb and is now in 0.9 release. Can you propose a patch that fix the problem on debian?