Closed poiuty closed 8 years ago
# rm /boot/initrd.img-3.16.0-4-amd64
# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up zfsonlinux (7) ...
/var/lib/dpkg/info/zfsonlinux.postinst: line 24: [: argument expected
Unknown Debian GNU/Linux version!
Can not create /etc/apt/sources.list.d/zfsonlinux.list.
See /usr/share/doc/zfsonlinux/zfsonlinux.list.
dpkg: error processing package zfsonlinux (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
zfsonlinux
E: Sub-process /usr/bin/dpkg returned an error code (1)
# update-initramfs -u -k all -t
update-initramfs: Generating /boot/initrd.img-3.16.0-4-amd64
# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up zfsonlinux (7) ...
/var/lib/dpkg/info/zfsonlinux.postinst: line 24: [: argument expected
Unknown Debian GNU/Linux version!
Can not create /etc/apt/sources.list.d/zfsonlinux.list.
See /usr/share/doc/zfsonlinux/zfsonlinux.list.
dpkg: error processing package zfsonlinux (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
zfsonlinux
E: Sub-process /usr/bin/dpkg returned an error code (1)
Fixed in v8
.
Debian 8 => after apt-get upgrade