Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install Errors #98

Open
jbauer123 opened this issue Nov 24, 2015 · 7 comments
Open

Install Errors #98

jbauer123 opened this issue Nov 24, 2015 · 7 comments

Comments

@jbauer123
Copy link

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)
@rogerpueyo
Copy link

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.

@marcosx86
Copy link
Contributor

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

@claudyus
Copy link
Owner

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

@marcosx86
Copy link
Contributor

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
Copy link
Contributor

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.

@flexiondotorg
Copy link

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

@claudyus
Copy link
Owner

claudyus commented Feb 7, 2016

@marcosx86 , @flexiondotorg the systemd unit file was propose by @yoav-steinberg in this commit yoav-steinberg@be89ad4 and is now in 0.9 release.
Can you propose a patch that fix the problem on debian?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants