Web : APT upgrade ownCloud “The following packages were automatically installed and are no longer required”

By | April 15, 2016

If your ownCloud installation is running on Debian and have been installed with the packages, you may have end up with the following results while running “apt-get update or upgrade” :

The following packages were automatically installed and are no longer required

Full output :

# apt-get upgrade
Reading package lists… Done
Building dependency tree
Reading state information… Done
Calculating upgrade… The following packages were automatically installed and are no longer required:
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
Use ‘apt-get autoremove’ to remove them.
Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

This may have occurred after upgrading previously by running “apt-get dist-upgrade”, and the package manager doesn’t know if these packages are used or not and do not have any dependency. Of course, removing them will remove your ownCloud installation, you probably don’t want to apply the recommended command and remove them!

Instead, you probably want to tell APT to mark them, so it won’t complain until a new release will be available.

Simply run the following command :

 

Be Sociable, Share!