LXC-Web-Panel icon indicating copy to clipboard operation
LXC-Web-Panel copied to clipboard

Install Errors

Open jbauer123 opened this issue 8 years ago • 7 comments

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)

jbauer123 avatar Nov 24 '15 00:11 jbauer123

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.

rogerpueyo avatar Jan 08 '16 16:01 rogerpueyo

This bug was fixed on git by issue #90, but no DEB was packed reflecting it. Consider cloning and building.

marcosx86 avatar Jan 30 '16 16:01 marcosx86

Hi all! Can you confirm that 0.9 release from packagecloud.io resolve this problem?

claudyus avatar Jan 31 '16 17:01 claudyus

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.

marcosx86 avatar Jan 31 '16 18:01 marcosx86

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.

marcosx86 avatar Feb 01 '16 15:02 marcosx86

@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.

flexiondotorg avatar Feb 02 '16 12:02 flexiondotorg

@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?

claudyus avatar Feb 07 '16 10:02 claudyus