[packman] How to upgrade XBMC to Kodi

Sagi Ben-Akiva sagiben at gmail.com
Tue Dec 9 19:28:53 CET 2014


Hi,

I added the following lines to kodi.spec file :
Obsoletes:    xbmc < 14.0
Provides:    xbmc = 14.0

but when trying to install the package I get the following error message :

# zypper in kodi-14.0-50.1
Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following NEW package is going to be installed:
  kodi

The following package is going to be REMOVED:
  xbmc

1 new package to install, 1 to remove.
Overall download size: 29.4 MiB. After the operation, additional 20.3 MiB
will be used.
Continue? [y/n/? shows all options] (y): y
Retrieving package
kodi-14.0-50.1.x86_64
(1/1),  29.4 MiB ( 87.8 MiB unpacked)
Retrieving: kodi-14.0-50.1.x86_64.rpm
...........................................................................................................................[done
(1.2 MiB/s)]
(1/1) Installing: kodi-14.0-50.1
...........................................................................................................................................[error]
Installation of kodi-14.0-50.1 failed:
(with --nodeps --force) Error: Subprocess failed. Error: RPM failed: error:
unpacking of archive failed on file /usr/lib64/xbmc: cpio: rename failed -
Is a directory
error: kodi-14.0-50.1.x86_64: install failed
error: xbmc-13.2-2.11.x86_64: erase skipped


Thanks,
Sagi.

On Thu, Dec 4, 2014 at 9:45 AM, Olaf Hering <olaf at aepfle.de> wrote:

> On Wed, Dec 03, Sagi Ben-Akiva wrote:
>
> > Is there a way to mark in the spec that this package upgrades a different
> > package ?
>
> Its usually done this way:
>
> Name: X
> Version: N
> Provides: Y = %{version}
> Obsoletes: Y < %{version}
>
> But if for some reason Y had a higher version than X the Obsoletes: has
> to be adjusted.
>
> Olaf
>



More information about the Packman mailing list