Hi there,
Before upgrading to OMV 2.0 I wanted to update all packages of my OMV 1.19 files on my BananaPi.
Using the WebGUI failed with errors, so I tried SSH and omv-update.
This also failed, displaying this output:
Code
root@OMV:~# omv-update
Ign file: Release.gpg
Ign file: Release
Hit http://raspberrypi.collabora.com wheezy Release.gpg
Ign http://dh2k.omv-extras.org kralizec-miller Release.gpg
Hit http://debian.yeasoft.net wheezy Release.gpg
Hit http://packages.openmediavault.org kralizec Release.gpg
Get:1 http://mirrordirector.raspbian.org wheezy Release.gpg [490 B]
Hit http://packages.omv-extras.org kralizec Release.gpg
Hit http://apt.syncthing.net syncthing Release.gpg
Hit http://ppa.launchpad.net precise Release.gpg
Hit http://packages.omv-extras.org kralizec-testing Release.gpg
Ign file: Translation-en
Hit http://archive.raspberrypi.org wheezy Release.gpg
Hit http://dh2k.omv-extras.org kralizec-miller Release
Hit http://debian.yeasoft.net wheezy Release
Get:2 http://mirrordirector.raspbian.org wheezy Release [14.4 kB]
Hit http://raspberrypi.collabora.com wheezy Release
Hit http://packages.omv-extras.org kralizec-greyhole Release.gpg
Hit http://packages.omv-extras.org kralizec-btsync Release.gpg
Hit http://ppa.launchpad.net precise Release
Hit http://apt.syncthing.net syncthing Release
Hit http://packages.openmediavault.org kralizec Release
Hit http://archive.raspberrypi.org wheezy Release
Hit http://packages.omv-extras.org kralizec Release
Hit http://dh2k.omv-extras.org kralizec-miller/main armhf Packages
Hit http://packages.omv-extras.org kralizec-testing Release
Hit http://packages.omv-extras.org kralizec-greyhole Release
Hit http://packages.omv-extras.org kralizec-btsync Release
Hit http://www.greyhole.net stable Release.gpg
Hit http://debian.yeasoft.net wheezy/main armhf Packages
Ign http://dh2k.omv-extras.org kralizec-miller/main Translation-en
Hit http://raspberrypi.collabora.com wheezy/rpi armhf Packages
Hit http://ppa.launchpad.net precise/main armhf Packages
Ign http://debian.yeasoft.net wheezy/main Translation-en
Hit http://ppa.launchpad.net precise/main Translation-en
Hit http://apt.syncthing.net syncthing/release armhf Packages
Hit http://www.greyhole.net stable Release
Hit http://packages.openmediavault.org kralizec/main armhf Packages
Ign http://raspberrypi.collabora.com wheezy/rpi Translation-en
Hit http://archive.raspberrypi.org wheezy/main armhf Packages
Hit http://packages.omv-extras.org kralizec/main armhf Packages
Ign http://apt.syncthing.net syncthing/release Translation-en
Get:3 http://mirrordirector.raspbian.org wheezy/main armhf Packages [6909 kB]
Hit http://packages.omv-extras.org kralizec-testing/main armhf Packages
Ign http://archive.raspberrypi.org wheezy/main Translation-en
Hit http://packages.omv-extras.org kralizec-greyhole/main armhf Packages
Ign http://packages.openmediavault.org kralizec/main Translation-en
Ign http://packages.omv-extras.org kralizec/main Translation-en
Hit http://packages.omv-extras.org kralizec-btsync/main armhf Packages
Hit http://www.greyhole.net stable/main armhf Packages
Ign http://packages.omv-extras.org kralizec-testing/main Translation-en
Ign http://packages.omv-extras.org kralizec-greyhole/main Translation-en
Ign http://packages.omv-extras.org kralizec-btsync/main Translation-en
Ign http://www.greyhole.net stable/main Translation-en
Get:4 http://mirrordirector.raspbian.org wheezy/contrib armhf Packages [23.6 kB]
Get:5 http://mirrordirector.raspbian.org wheezy/non-free armhf Packages [49.3 kB]
Get:6 http://mirrordirector.raspbian.org wheezy/rpi armhf Packages [592 B]
Ign http://mirrordirector.raspbian.org wheezy/contrib Translation-en
Ign http://mirrordirector.raspbian.org wheezy/main Translation-en
Ign http://mirrordirector.raspbian.org wheezy/non-free Translation-en
Ign http://mirrordirector.raspbian.org wheezy/rpi Translation-en
Fetched 6997 kB in 32s (214 kB/s)
Creating index of upgradeable packages ...
Creating index of OpenMediaVault plugins ...
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
libc6 : Depends: libc-bin (= 2.13-38+rpi2+deb7u8) but 2.13-38+rpi2+deb7u10 is installed
libc6-dev : Depends: libc6 (= 2.13-38+rpi2+deb7u10) but 2.13-38+rpi2+deb7u8 is installed
samba : Depends: samba-common (= 2:3.6.6-6+deb7u5) but 2:3.6.6-6+deb7u6 is installed
Depends: libwbclient0 (= 2:3.6.6-6+deb7u5) but 2:3.6.6-6+deb7u6 is installed
E: Unmet dependencies. Try using -f.
Alles anzeigen
Doing an apt-get -f install lead to this:
Code
root@OMV:~# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
libc6 samba
Suggested packages:
glibc-doc openbsd-inetd inet-superserver smbldap-tools ldb-tools ctdb
The following packages will be upgraded:
libc6 samba
2 upgraded, 0 newly installed, 0 to remove and 37 not upgraded.
18 not fully installed or removed.
Need to get 0 B/7,305 kB of archives.
After this operation, 190 kB disk space will be freed.
Do you want to continue [Y/n]? y
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/Debconf/DbDriver/File.pm line 44, <DEBCONF_CONFIG> chunk 3.
Use of uninitialized value in -e at /usr/share/perl5/Debconf/DbDriver/File.pm line 46, <DEBCONF_CONFIG> chunk 3.
Use of uninitialized value in pattern match (m//) at /usr/share/perl5/Debconf/DbDriver/File.pm line 47, <DEBCONF_CONFIG> chunk 3.
Use of uninitialized value $directory in -d at /usr/share/perl5/Debconf/DbDriver/File.pm line 48, <DEBCONF_CONFIG> chunk 3.
Use of uninitialized value $directory in concatenation (.) or string at /usr/share/perl5/Debconf/DbDriver/File.pm line 49, <DEBCONF_CONFIG> chunk 3.
debconf: DbDriver "config": mkdir :No such file or directory
(Reading database ... 45550 files and directories currently installed.)
Preparing to replace libc6:armhf 2.13-38+rpi2+deb7u8 (using .../libc6_2.13-38+rpi2+deb7u10_armhf.deb) ...
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/Debconf/DbDriver/File.pm line 44, <DEBCONF_CONFIG> chunk 3.
Use of uninitialized value in -e at /usr/share/perl5/Debconf/DbDriver/File.pm line 46, <DEBCONF_CONFIG> chunk 3.
Use of uninitialized value in pattern match (m//) at /usr/share/perl5/Debconf/DbDriver/File.pm line 47, <DEBCONF_CONFIG> chunk 3.
Use of uninitialized value $directory in -d at /usr/share/perl5/Debconf/DbDriver/File.pm line 48, <DEBCONF_CONFIG> chunk 3.
Use of uninitialized value $directory in concatenation (.) or string at /usr/share/perl5/Debconf/DbDriver/File.pm line 49, <DEBCONF_CONFIG> chunk 3.
debconf: DbDriver "config": mkdir :No such file or directory
dpkg: error processing /var/cache/apt/archives/libc6_2.13-38+rpi2+deb7u10_armhf.deb (--unpack):
subprocess new pre-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/libc6_2.13-38+rpi2+deb7u10_armhf.deb
Creating index of upgradeable packages ...
Creating index of OpenMediaVault plugins ...
E: Sub-process /usr/bin/dpkg returned an error code (1)
Alles anzeigen
It looks like there are lots of errors in DbDriver that I don't know how to repair.