Zypper: define download directory

Hi all,

I am running into the issue that my root partition is too small to perform a distribution upgrade (12.2->13.1). Zypper can not write all required files (only about third) on that partition.

Is there a way to define the download location for zypper? My home partition has enough space and I would like to use that one.

Thanks in advance,
Quentin

On 2014-01-19 11:26, queden wrote:
>
> Hi all,
>
> I am running into the issue that my root partition is too small to
> perform a distribution upgrade (12.2->13.1). Zypper can not write all
> required files (only about third) on that partition.

Remember that “zypper dup” upgrade from 12.2 to 13.1 is not supported,
and according to devs it should crash (mainly because zypper toolstack
got a major internal upgrade about the end of 12.3.

You should do two upgrades, with 12.3 as an intermediate target.

> Is there a way to define the download location for zypper? My home
> partition has enough space and I would like to use that one.

I think it is “/var/cache/zypp/”. You could mount bind it somewhere else.

Or instead, do an offline upgrade, which should support such a jump and
needs no temporary space.

Online upgrade
method

Offline upgrade
method

Chapter 16. Upgrading the System and System Changes
Chapter 16. Upgrading the System and System Changes
openSUSE 12.3 Release Notes
openSUSE 13.1 Release Notes


Cheers / Saludos,

Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)