Jürgen Weigert wrote:
> 
> After some research, I found that the man-page does not have the full
> picture.
> Upgrade behaves differently, depending how it is used:
> 
> apt-get upgrade
>  The following packages have been kept back:
>   owncloud owncloud-config-apache owncloud-server
>   0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
> 
> apt-get upgrade owncloud
>   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.
> 
> 
> ll the details at https://github.com/owncloud/core/issues/19124
> 
> so much for consistency.
> cheers, JW-
> 
> Am 16.09.2015 um 15:55 schrieb Frank de Lange:
>> Jürgen Weigert wrote:
>>> Please have a look at
>>>
>> https://build.opensuse.org/package/view_file/isv:ownCloud:community/owncloud/debian.control?expand=1
>>
>>>
>>> They are all listed in Replaces: and in Breaks: of the owncloud-server,
>>> that seems to work great for normal cases.
>> It works for dist-upgrade, but not for 'plain' upgrade as that holds
>> back any package which would cause other packages to be uninstalled:
>>
>> (from man apt-get)
>>
>> "...under no circumstances are currently installed packages removed,
>> or packages not already installed retrieved and installed. New
>> versions of currently installed packages that cannot be upgraded
>> without changing the install status of another package will be left
>> at their current version..."
>>
>> Gr//Fr
>> _______________________________________________
>> User mailing list
>> User@owncloud.org
>> http://mailman.owncloud.org/mailman/listinfo/user
> 

(good that I saw this post as I was entering a new bug report on another
screen)

Updating a single package behaves like explicitly installing it using
apt-get install.

Be that as it may, the normal way to upgrade Debian-based distributions
is to issue a general 'apt-get update', not a per-package command. Given
that workflow the problem still exists so it would be beneficial to have
those deprecated packages added to the 'Provides' section for
owncloud-server. This should fix the upgrade (as in "I have not tried it
yet but I assume it'll work"). I'll add this to the discussion @github.

Gr//Fr
_______________________________________________
User mailing list
User@owncloud.org
http://mailman.owncloud.org/mailman/listinfo/user

Reply via email to