Completely defeated upgrading from OC client 2.4.1 to 2.4.3 on Ubuntu 16.04

help

#1

I cannot find any clear instructions as how to upgrade - I only see instructions to install. The client settings tells me about the new version and says that I should ‘use the system’s update tool to install it’.

I have been using Ubuntu since 12.04 but this defeats me. Why not include UPDATE instructions on the same page as the INSTALL instructions??

I tried some of the instructions in the install section on the above page about repositories, but when I do
sudo apt update
all I see is the usual list which includes:
Ign:6 http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/Ubuntu_16.04 InRelease
and
Hit:8 http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/Ubuntu_16.04 Release

and then sudo apt upgrade finishes with:
The following packages have been kept back:
owncloud-client-l10n
0 to upgrade, 0 to newly install, 0 to remove and 1 not to upgrade.

I tried:
sudo apt-get install owncloud-client-l10n
which produces:
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies.
owncloud-client-l10n : Depends: owncloud-client (>= 2.4.3+oc-10035) but 2.4.1-9083 is to be installed
E: Unable to correct problems, you have held broken packages.

Any help would be appreciated.


#2

Not sure why your apt insists on keeping the 2.4.1 version of owncloud-client-l10n – this is one of the subpackages of owncloud-client that just should have exactly the same version number as owncloud-client itself.

Maybe you got a bad download mirror where owncloud-client-l10n was not available for the 2.4.3 update.
I am doing the update just fine:

apt-get install owncloud-client-l10n
Reading package lists… Done
Building dependency tree
Reading state information… Done
owncloud-client is already the newest version (2.4.3+oc-10035).
The following packages will be upgraded:
owncloud-client-l10n
1 upgraded, 0 newly installed, 0 to remove and 10 not upgraded.
Need to get 365 kB of archives.
After this operation, 12.3 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/Ubuntu_16.04 owncloud-client-l10n 2.4.3+oc-10035 [365 kB]
Fetched 365 kB in 0s (3072 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
(Reading database … 9700 files and directories currently installed.)
Preparing to unpack …/owncloud-client-l10n_2.4.3+oc-10035_all.deb …
Unpacking owncloud-client-l10n (2.4.3+oc-10035) over (2.4.1-9083) …
Setting up owncloud-client-l10n (2.4.3+oc-10035) …


#3

To answer the question about upgrade instructions:
Both apt-get update and apt-get upgrade are something different. They cannot upgrade a package. When you want to upgrade a package, you have to use apt-get install packagename – not exactly intuitive, but that is as it is defined in the debian world.

For packaging that means, that it is always the same command, for both fresh install and upgrade. It simply has to work in both cases. If it does not, we need to find ways to make it work, but documenting a different comand for upgrades does not do the trick.