After upgrade from Ubuntu 14.04 to 16.04, apt wants to delete owncloud

Hi,

so I just upgraded my machine running oC 9.0.4-1.1 from Ubuntu 14.04 to Ubuntu 16.04. During the installation, the oC repo was removed from Ubuntu, and I added the new one as per the documentation. oC now runs ok on the machine.

The only issue now is:

apt autoremove

wants to remove the package owncloud-files (yikes!).

The status of the package looks ok (and, again, oC is running ok!):

# apt show owncloud-files Package: owncloud-files Version: 9.0.4-1.1 Status: install ok installed Priority: optional Section: devel Maintainer: Juergen Weigert <jw@owncloud.com> Installed-Size: 93,6 MB Suggests: owncloud-deps Conflicts: owncloud (<= 8.99.99), owncloud-config-apache (<= 8.99.99), owncloud-server (<= 8.99.99) Replaces: owncloud (<= 8.99.99), owncloud-config-apache (<= 8.99.99), owncloud-server (<= 8.99.99) Download-Size: unbekannt APT-Manual-Installed: no APT-Sources: /var/lib/dpkg/status Description: ownCloud - Server

I probably missed something during the upgrade; but what?

Only owncloud-files is installed; no other package from the oC repos.

Thanks for any hint you may have!

Ubuntu 16.04 has PHP7 so you need to install / update owncloud-deps-php7.0 instead of owncloud-deps-php5

Try remove all the php7 deps and install:
apt install apache2 mariadb-server libapache2-mod-php7.0 apt install php7.0-gd php7.0-json php7.0-mysql php7.0-curl apt install php7.0-intl php7.0-mcrypt php-imagick apt install php7.0-zip php7.0-xml php7.0-mbstring

Thanks. Neither of this did help, but it was a good hint; I ended up removing everything, including the repo, and then reinstalling everything. It’s ok now.

Thanks again!