flapjack / omnibus-flapjack

Flapjack packages for all! Build the packages, and update the repositories.
http://flapjack.io
23 stars 14 forks source link

Flapjack 1.2.1 debian package failing to install #61

Closed poolski closed 9 years ago

poolski commented 9 years ago

When I try to run either an upgrade from 1.2.0 OR a clean install of 1.2.1 on an Ubuntu 14.04.1 system, I get the following:

Preparing to unpack flapjack_1.2.1-trusty_amd64.deb ...
Unpacking flapjack (1.2.1-trusty) ...
dpkg-deb (subprocess): cannot copy archive member from 'flapjack_1.2.1-trusty_amd64.deb' to decompressor pipe: unexpected end of file or stream
dpkg-deb (subprocess): decompressing archive member: lzma error: unexpected end of input
dpkg-deb: error: subprocess <decompress> returned error exit status 2
dpkg: error processing archive flapjack_1.2.1-trusty_amd64.deb (--install):
 cannot copy extracted data for './opt/flapjack/embedded/share/gtk-doc/html/libxml2/libxml2.devhelp' to '/opt/flapjack/embedded/share/gtk-doc/html/libxml2/libxml2.devhelp.dpkg-new': unexpected end of file or stream
 Removing any system startup links for /etc/init.d/flapjack ...
 Removing any system startup links for /etc/init.d/flapjack-nagios-receiver ...
 Removing any system startup links for /etc/init.d/flapper ...
 Removing any system startup links for /etc/init.d/redis-flapjack ...
rm: cannot remove ‘/etc/init.d/flapjack’: No such file or directory
rm: cannot remove ‘/etc/init.d/flapjack-nagios-receiver’: No such file or directory
rm: cannot remove ‘/etc/init.d/flapper’: No such file or directory
rm: cannot remove ‘/etc/init.d/redis-flapjack’: No such file or directory
flapjack has been uninstalled!
Errors were encountered while processing:
 flapjack_1.2.1-trusty_amd64.deb
Sarah-E-Greene commented 9 years ago

Could you please run 'md5sum /var/cache/apt/archives/flapjack_1.2.1-trusty_amd64.deb', and paste the output here?

/cc @mixja

Sarah-E-Greene commented 9 years ago

I can reproduce this - looks like this one isn't a networking error.

mixja commented 9 years ago

e09d2fc298a95ef0b6dcf57f56f8c65e /var/cache/apt/archives/flapjack_1.2.1-trusty_amd64.deb

Sarah-E-Greene commented 9 years ago

Thanks!

Sarah-E-Greene commented 9 years ago

Build log on this one is at s3://packages.flapjack.io/build_logs/flapjack_v1.2.1-20141210T043614-ubuntu-trusty.log, where everything looks OK, and the expected files are accounted for. Re-running that against the main deb here, it fails.

Sarah-E-Greene commented 9 years ago

I've now rebuilt this package, and verified that it installs and starts up correctly.

Could you please try an apt-get update && apt-get install flapjack, and let us know if you encounter any problems?

mixja commented 9 years ago

Thanks - this is now installing successfully, service has started and web interface operational.

Sarah-E-Greene commented 9 years ago

Excellent!