11th Dec, 2017, 06:12 AM
I can't do
nor
nor
, all of them ending with the same error. Maybe there ir a broken package/dependency?
it says, I think it's because of my previous tries and should be libssl
xbian@xbian:~$ sudo apt-get update && sudo apt-get upgrade
Ign:1 http://deb.debian.org/debian stretch InRelease
Hit:2 http://deb.debian.org/debian stretch Release
Hit:3 http://apt.xbian.org stable InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
dbus iproute2 libcurl3 libcurl3-gnutls libdbus-1-3 libicu57 libsmbclient libssl1.0.2 libwbclient0 openssh-client
openssh-server openssh-sftp-server openssl python-samba samba samba-common samba-common-bin samba-libs tzdata wget
wpasupplicant
21 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0 B/21.1 MB of archives.
After this operation, 7,168 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Create a snapshot of '/run/btrfs-snap/root/@' in '/run/btrfs-snap/root/@btrfs-auto-snap_apt-run-2017-12-10-2009'
Delete subvolume (no-commit): '/run/btrfs-snap/root/@last_good_known'
Create a snapshot of '/run/btrfs-snap/root/@btrfs-auto-snap_apt-run-2017-12-10-2009' in '/run/btrfs-snap/root/@last_good_known'
Delete subvolume (no-commit): '/run/btrfs-snap/root/@btrfs-auto-snap_apt-run-2017-12-10-2008'
@btrfs-auto-snap_apt-run-2017-12-10-2009, 1 created snapshots, 1 destroyed snapshots, 0 warnings.
debconf: Perl may be unconfigured (fields.pm did not return a true value at /usr/share/perl5/Debconf/DbDriver.pm line 12.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/DbDriver.pm line 13.
Compilation failed in require at /usr/share/perl5/Debconf/Db.pm line 9.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Db.pm line 9.
Compilation failed in require at /usr/share/perl5/Debconf/Question.pm line 7.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Question.pm line 7.
Compilation failed in require at /usr/share/perl5/Debconf/Config.pm line 7.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Config.pm line 7.
Compilation failed in require at /usr/share/perl5/Debconf/Log.pm line 10.
Compilation failed in require at (eval 1) line 4.
BEGIN failed--compilation aborted at (eval 1) line 4.
) -- aborting
Setting up libssl1.1:armhf (1.1.0f-3+deb9u1) ...
fields.pm did not return a true value at /usr/share/perl5/Debconf/Template.pm line 15.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Template.pm line 15.
Compilation failed in require at /usr/share/perl5/Debconf/Question.pm line 8.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Question.pm line 8.
Compilation failed in require at /usr/share/perl5/Debconf/Config.pm line 7.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Config.pm line 7.
Compilation failed in require at /usr/share/perl5/Debconf/Log.pm line 10.
Compilation failed in require at /usr/share/perl5/Debconf/Db.pm line 7.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Db.pm line 7.
Compilation failed in require at /usr/share/debconf/frontend line 6.
BEGIN failed--compilation aborted at /usr/share/debconf/frontend line 6.
dpkg: error processing package libssl1.1:armhf (--configure):
subprocess installed post-installation script returned error exit status 5
Errors were encountered while processing:
libssl1.1:armhf
E: Sub-process /usr/bin/dpkg returned an error code (1)
EDIT:
Following this https://www.raspberrypi.org/forums/viewtopic.php?t=31079, now I have two problems, deconf and libssl1.1:armhf
I tried
An the error:
then I tried this:
and
And the error is
Maybe a corrupted SD as pointed there?
Code:
apt-get upgrade
Code:
apt-get autoremove
Code:
sudo dpkg --configure -a
it says
Terminal
1 not fully installed or removed
Terminal
xbian@xbian:~$ sudo apt-get update && sudo apt-get upgrade
Ign:1 http://deb.debian.org/debian stretch InRelease
Hit:2 http://deb.debian.org/debian stretch Release
Hit:3 http://apt.xbian.org stable InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
dbus iproute2 libcurl3 libcurl3-gnutls libdbus-1-3 libicu57 libsmbclient libssl1.0.2 libwbclient0 openssh-client
openssh-server openssh-sftp-server openssl python-samba samba samba-common samba-common-bin samba-libs tzdata wget
wpasupplicant
21 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0 B/21.1 MB of archives.
After this operation, 7,168 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Create a snapshot of '/run/btrfs-snap/root/@' in '/run/btrfs-snap/root/@btrfs-auto-snap_apt-run-2017-12-10-2009'
Delete subvolume (no-commit): '/run/btrfs-snap/root/@last_good_known'
Create a snapshot of '/run/btrfs-snap/root/@btrfs-auto-snap_apt-run-2017-12-10-2009' in '/run/btrfs-snap/root/@last_good_known'
Delete subvolume (no-commit): '/run/btrfs-snap/root/@btrfs-auto-snap_apt-run-2017-12-10-2008'
@btrfs-auto-snap_apt-run-2017-12-10-2009, 1 created snapshots, 1 destroyed snapshots, 0 warnings.
debconf: Perl may be unconfigured (fields.pm did not return a true value at /usr/share/perl5/Debconf/DbDriver.pm line 12.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/DbDriver.pm line 13.
Compilation failed in require at /usr/share/perl5/Debconf/Db.pm line 9.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Db.pm line 9.
Compilation failed in require at /usr/share/perl5/Debconf/Question.pm line 7.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Question.pm line 7.
Compilation failed in require at /usr/share/perl5/Debconf/Config.pm line 7.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Config.pm line 7.
Compilation failed in require at /usr/share/perl5/Debconf/Log.pm line 10.
Compilation failed in require at (eval 1) line 4.
BEGIN failed--compilation aborted at (eval 1) line 4.
) -- aborting
Setting up libssl1.1:armhf (1.1.0f-3+deb9u1) ...
fields.pm did not return a true value at /usr/share/perl5/Debconf/Template.pm line 15.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Template.pm line 15.
Compilation failed in require at /usr/share/perl5/Debconf/Question.pm line 8.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Question.pm line 8.
Compilation failed in require at /usr/share/perl5/Debconf/Config.pm line 7.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Config.pm line 7.
Compilation failed in require at /usr/share/perl5/Debconf/Log.pm line 10.
Compilation failed in require at /usr/share/perl5/Debconf/Db.pm line 7.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Db.pm line 7.
Compilation failed in require at /usr/share/debconf/frontend line 6.
BEGIN failed--compilation aborted at /usr/share/debconf/frontend line 6.
dpkg: error processing package libssl1.1:armhf (--configure):
subprocess installed post-installation script returned error exit status 5
Errors were encountered while processing:
libssl1.1:armhf
E: Sub-process /usr/bin/dpkg returned an error code (1)
EDIT:
Following this https://www.raspberrypi.org/forums/viewtopic.php?t=31079, now I have two problems, deconf and libssl1.1:armhf
I tried
Code:
sudo apt-get install --reinstall debconf
An the error:
Terminal
xbian@xbian:~$ sudo apt-get install --reinstall debconf
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 21 not upgraded.
1 not fully installed or removed.
Need to get 159 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://deb.debian.org/debian stretch/main armhf debconf all 1.5.61 [159 kB]
Fetched 159 kB in 0s (455 kB/s)
Create a snapshot of '/run/btrfs-snap/root/@' in '/run/btrfs-snap/root/@btrfs-auto-snap_apt-run-2017-12-10-2020'
Delete subvolume (no-commit): '/run/btrfs-snap/root/@last_good_known'
Create a snapshot of '/run/btrfs-snap/root/@btrfs-auto-snap_apt-run-2017-12-10-2020' in '/run/btrfs-snap/root/@last_good_known'
Delete subvolume (no-commit): '/run/btrfs-snap/root/@btrfs-auto-snap_apt-run-2017-12-10-2009'
@btrfs-auto-snap_apt-run-2017-12-10-2020, 1 created snapshots, 1 destroyed snapshots, 0 warnings.
debconf: Perl may be unconfigured (fields.pm did not return a true value at /usr/share/perl5/Debconf/DbDriver.pm line 12.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/DbDriver.pm line 13.
Compilation failed in require at /usr/share/perl5/Debconf/Db.pm line 9.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Db.pm line 9.
Compilation failed in require at /usr/share/perl5/Debconf/Question.pm line 7.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Question.pm line 7.
Compilation failed in require at /usr/share/perl5/Debconf/Config.pm line 7.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Config.pm line 7.
Compilation failed in require at /usr/share/perl5/Debconf/Log.pm line 10.
Compilation failed in require at (eval 1) line 4.
BEGIN failed--compilation aborted at (eval 1) line 4.
) -- aborting
(Reading database ... 33029 files and directories currently installed.)
Preparing to unpack .../debconf_1.5.61_all.deb ...
Unpacking debconf (1.5.61) over (1.5.61) ...
Setting up debconf (1.5.61) ...
fields.pm did not return a true value at /usr/share/perl5/Debconf/Template.pm line 15.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Template.pm line 15.
Compilation failed in require at /usr/share/perl5/Debconf/Question.pm line 8.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Question.pm line 8.
Compilation failed in require at /usr/share/perl5/Debconf/Config.pm line 7.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Config.pm line 7.
Compilation failed in require at /usr/share/perl5/Debconf/Log.pm line 10.
Compilation failed in require at /usr/share/perl5/Debconf/Db.pm line 7.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Db.pm line 7.
Compilation failed in require at /usr/share/debconf/frontend line 6.
BEGIN failed--compilation aborted at /usr/share/debconf/frontend line 6.
dpkg: error processing package debconf (--configure):
subprocess installed post-installation script returned error exit status 5
dpkg: dependency problems prevent configuration of libssl1.1:armhf:
libssl1.1:armhf depends on debconf (>= 0.5) | debconf-2.0; however:
Package debconf is not configured yet.
Package debconf-2.0 is not installed.
Package debconf which provides debconf-2.0 is not configured yet.
dpkg: error processing package libssl1.1:armhf (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
debconf
libssl1.1:armhf
E: Sub-process /usr/bin/dpkg returned an error code (1)
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 21 not upgraded.
1 not fully installed or removed.
Need to get 159 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://deb.debian.org/debian stretch/main armhf debconf all 1.5.61 [159 kB]
Fetched 159 kB in 0s (455 kB/s)
Create a snapshot of '/run/btrfs-snap/root/@' in '/run/btrfs-snap/root/@btrfs-auto-snap_apt-run-2017-12-10-2020'
Delete subvolume (no-commit): '/run/btrfs-snap/root/@last_good_known'
Create a snapshot of '/run/btrfs-snap/root/@btrfs-auto-snap_apt-run-2017-12-10-2020' in '/run/btrfs-snap/root/@last_good_known'
Delete subvolume (no-commit): '/run/btrfs-snap/root/@btrfs-auto-snap_apt-run-2017-12-10-2009'
@btrfs-auto-snap_apt-run-2017-12-10-2020, 1 created snapshots, 1 destroyed snapshots, 0 warnings.
debconf: Perl may be unconfigured (fields.pm did not return a true value at /usr/share/perl5/Debconf/DbDriver.pm line 12.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/DbDriver.pm line 13.
Compilation failed in require at /usr/share/perl5/Debconf/Db.pm line 9.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Db.pm line 9.
Compilation failed in require at /usr/share/perl5/Debconf/Question.pm line 7.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Question.pm line 7.
Compilation failed in require at /usr/share/perl5/Debconf/Config.pm line 7.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Config.pm line 7.
Compilation failed in require at /usr/share/perl5/Debconf/Log.pm line 10.
Compilation failed in require at (eval 1) line 4.
BEGIN failed--compilation aborted at (eval 1) line 4.
) -- aborting
(Reading database ... 33029 files and directories currently installed.)
Preparing to unpack .../debconf_1.5.61_all.deb ...
Unpacking debconf (1.5.61) over (1.5.61) ...
Setting up debconf (1.5.61) ...
fields.pm did not return a true value at /usr/share/perl5/Debconf/Template.pm line 15.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Template.pm line 15.
Compilation failed in require at /usr/share/perl5/Debconf/Question.pm line 8.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Question.pm line 8.
Compilation failed in require at /usr/share/perl5/Debconf/Config.pm line 7.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Config.pm line 7.
Compilation failed in require at /usr/share/perl5/Debconf/Log.pm line 10.
Compilation failed in require at /usr/share/perl5/Debconf/Db.pm line 7.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Db.pm line 7.
Compilation failed in require at /usr/share/debconf/frontend line 6.
BEGIN failed--compilation aborted at /usr/share/debconf/frontend line 6.
dpkg: error processing package debconf (--configure):
subprocess installed post-installation script returned error exit status 5
dpkg: dependency problems prevent configuration of libssl1.1:armhf:
libssl1.1:armhf depends on debconf (>= 0.5) | debconf-2.0; however:
Package debconf is not configured yet.
Package debconf-2.0 is not installed.
Package debconf which provides debconf-2.0 is not configured yet.
dpkg: error processing package libssl1.1:armhf (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
debconf
libssl1.1:armhf
E: Sub-process /usr/bin/dpkg returned an error code (1)
then I tried this:
Code:
wget http://cdn-fastly.deb.debian.org/debian/pool/main/d/debconf/debconf_1.5.61_all.deb
Code:
dpkg -i debconf_1.5.61_all.deb
And the error is
Terminal
xbian@xbian:/tmp$ sudo dpkg -i debconf_1.5.61_all.deb
(Reading database ... 33029 files and directories currently installed.)
Preparing to unpack debconf_1.5.61_all.deb ...
Unpacking debconf (1.5.61) over (1.5.61) ...
Setting up debconf (1.5.61) ...
fields.pm did not return a true value at /usr/share/perl5/Debconf/Template.pm line 15.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Template.pm line 15.
Compilation failed in require at /usr/share/perl5/Debconf/Question.pm line 8.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Question.pm line 8.
Compilation failed in require at /usr/share/perl5/Debconf/Config.pm line 7.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Config.pm line 7.
Compilation failed in require at /usr/share/perl5/Debconf/Log.pm line 10.
Compilation failed in require at /usr/share/perl5/Debconf/Db.pm line 7.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Db.pm line 7.
Compilation failed in require at /usr/share/debconf/frontend line 6.
BEGIN failed--compilation aborted at /usr/share/debconf/frontend line 6.
dpkg: error processing package debconf (--install):
subprocess installed post-installation script returned error exit status 5
Errors were encountered while processing:
debconf
(Reading database ... 33029 files and directories currently installed.)
Preparing to unpack debconf_1.5.61_all.deb ...
Unpacking debconf (1.5.61) over (1.5.61) ...
Setting up debconf (1.5.61) ...
fields.pm did not return a true value at /usr/share/perl5/Debconf/Template.pm line 15.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Template.pm line 15.
Compilation failed in require at /usr/share/perl5/Debconf/Question.pm line 8.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Question.pm line 8.
Compilation failed in require at /usr/share/perl5/Debconf/Config.pm line 7.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Config.pm line 7.
Compilation failed in require at /usr/share/perl5/Debconf/Log.pm line 10.
Compilation failed in require at /usr/share/perl5/Debconf/Db.pm line 7.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Db.pm line 7.
Compilation failed in require at /usr/share/debconf/frontend line 6.
BEGIN failed--compilation aborted at /usr/share/debconf/frontend line 6.
dpkg: error processing package debconf (--install):
subprocess installed post-installation script returned error exit status 5
Errors were encountered while processing:
debconf
Maybe a corrupted SD as pointed there?