Alexis wrote: > > Hi all, > > When doing a routine `apt-get upgrade` on the server on which my oC > installation resides, i received the message: > > The following packages have been kept back: owncloud > owncloud-config-apache owncloud-server
This means some of the dependencies for the upgrade have not been met, hence the packages are held back > > If i then do `apt-get install owncloud`, i get: > > Reading package lists... Done Building dependency tree Reading > state information... Done The following extra packages will be > installed: owncloud-config-apache owncloud-server php5-ldap > Suggested packages: clamav clamav-daemon libreoffice-writer > php5-apcu php-apc The following packages will be REMOVED: > owncloud-3rdparty owncloud-app-activity owncloud-app-encryption > owncloud-app-external owncloud-app-files > owncloud-app-files-external owncloud-app-files-locking > owncloud-app-files-pdfviewer owncloud-app-files-sharing > owncloud-app-files-texteditor owncloud-app-files-trashbin > owncloud-app-files-versions owncloud-app-files-videoviewer > owncloud-app-firstrunwizard owncloud-app-gallery > owncloud-app-provisioning-api owncloud-app-templateeditor > owncloud-app-user-external owncloud-app-user-ldap > owncloud-app-user-webdavauth The following NEW packages will be > installed: php5-ldap The following packages will be upgraded: > owncloud owncloud-config-apache owncloud-server 3 upgraded, 1 > newly installed, 20 to remove and 0 not upgraded. Need to get 30.6 > MB of archives. After this operation, 153 kB of additional disk > space will be used. Do you want to continue [Y/n]? > > What's with all the packages that will be removed? Have they all been > consolidated into e.g. the `owncloud` package? Or will they need to be > reinstalled manually, post-upgrade? Here you explicitly state you want to install owncloud-server (which was held back due to missing dependencies), leading to apt suggesting to remove all packages which depend on the older version. You should wait for the dependencies to be met (or corrected) in the repository. To check dependencies, use apt-cache show owncloud-server and look for Depends/Breaks/Replaces: $ apt-cache show owncloud-server Package: owncloud-server Source: owncloud Version: 8.1.3-12.1 Architecture: all Maintainer: Jürgen Weigert <[email protected]> Installed-Size: 79536 Depends: php5 (>= 5.4.0), php5-mysqlnd | php5-mysql, php5-sqlite, php5-pgsql, php5-common, php5-gd, php-xml-parser, php5-intl, php5-mcrypt, php5-curl, php5-json, php5-ldap, php5-cli Suggests: php5-apcu (>= 4.0.6) | php-apc Breaks: owncloud (<< 7.9.9), owncloud-3rdparty (<< 8.1.3-12.1), owncloud-app-activity (<< 8.1.3-12.1), owncloud-app-encryption (<< 8.1.3-12.1), owncloud-app-external (<< 8.1.3-12.1), owncloud-app-files (<< 8.1.3-12.1), owncloud-app-files-encryption (<< 8.1.3-12.1), owncloud-app-files-external (<< 8.1.3-12.1), owncloud-app-files-locking (<< 8.1.3-12.1), owncloud-app-files-pdfviewer (<< 8.1.3-12.1), owncloud-app-files-sharing (<< 8.1.3-12.1), owncloud-app-files-texteditor (<< 8.1.3-12.1), owncloud-app-files-trashbin (<< 8.1.3-12.1), owncloud-app-files-versions (<< 8.1.3-12.1), owncloud-app-files-videoviewer (<< 8.1.3-12.1), owncloud-app-firstrunwizard (<< 8.1.3-12.1), owncloud-app-gallery (<< 8.1.3-12.1), owncloud-app-provisioning-api (<< 8.1.3-12.1), owncloud-app-templateeditor (<< 8.1.3-12.1), owncloud-app-updater (<< 8.1.3-12.1), owncloud-app-user-external (<< 8.1.3-12.1), owncloud-app-user-ldap (<< 8.1.3-12.1), owncloud-app-user-webdavauth (<< 8.1.3-12.1) Replaces: owncloud (<< 7.9.9), owncloud-3rdparty (<< 8.1.3-12.1), owncloud-app-activity (<< 8.1.3-12.1), owncloud-app-encryption (<< 8.1.3-12.1), owncloud-app-external (<< 8.1.3-12.1), owncloud-app-files (<< 8.1.3-12.1), owncloud-app-files-encryption (<< 8.1.3-12.1), owncloud-app-files-external (<< 8.1.3-12.1), owncloud-app-files-locking (<< 8.1.3-12.1), owncloud-app-files-pdfviewer (<< 8.1.3-12.1), owncloud-app-files-sharing (<< 8.1.3-12.1), owncloud-app-files-texteditor (<< 8.1.3-12.1), owncloud-app-files-trashbin (<< 8.1.3-12.1), owncloud-app-files-versions (<< 8.1.3-12.1), owncloud-app-files-videoviewer (<< 8.1.3-12.1), owncloud-app-firstrunwizard (<< 8.1.3-12.1), owncloud-app-gallery (<< 8.1.3-12.1), owncloud-app-provisioning-api (<< 8.1.3-12.1), owncloud-app-templateeditor (<< 8.1.3-12.1), owncloud-app-updater (<< 8.1.3-12.1), owncloud-app-user-external (<< 8.1.3-12.1), owncloud-app-user-ldap (<< 8.1.3-12.1), owncloud-app-user-webdavauth (<< 8.1.3-12.1) Filename: ./all/owncloud-server_8.1.3-12.1_all.deb Size: 30526266 MD5sum: 308b9ba5b7da193dda594c4da228009a SHA1: 2f8823d44b7cd7911a790f93e09f6921ddc4bc70 SHA256: 51512f4c6a4eba29af6d938288818f50b0dd57115106530b806652ee3f1265ba Section: devel Priority: optional Description: The owncloud-server package . Server internals. For a complete system install package owncloud. Description-md5: 9fad35b7290d84c315d51d9ce427d609 In this case you'll soon find out that the app packages have not been updated yet: $ apt-cache policy owncloud-app-files-texteditor owncloud-app-files-texteditor: Installed: 8.1.1-1 Candidate: 8.1.1-1 Version table: *** 8.1.1-1 0 100 /var/lib/dpkg/status In other words, just wait for them to appear... Gr//Fr _______________________________________________ User mailing list [email protected] http://mailman.owncloud.org/mailman/listinfo/user
