No Upgrades by uninstalling anything else

Pascal Bleser pascal.bleser at skynet.be
Sun Jul 23 22:32:15 PDT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Michael Schueller wrote:
> I´m using smart on SuSE 10.1 to upgrade and install packages from 
> the Distribustion Repo and from packman.
> Untill the following the handling is much like apt, exept this 
> Point.
> 
> Sometimes it happens that there is a new package available which 
> has, at this time, broken dependance to anything else.
> What smart does then is, to uninstall on ore more packages to 
> install the one which is newer.
> 
> For example...
> 
> A few weeks ago there came out a new version of x264 .
> To upgrade to this version smart was about to uninstall avidemux and 
> mplayer.
> In this situation apt was allways keeping back those packages, to 
> keep the installation running.
> 
> So, is this a bug, or is there a way to tell smart not to uninstall 
> anything for something else which is newer ?

The problem was in the packages, not in smart.

The new x264 package ships a new shared library (e.g. libx264.so.2) that
is incompatible with the previous package (that had e.g. libx264.so.1).

mplayer and avidemux in the Packman repository were still built against
the old package (hence, libx264.so.1).
Because you told smart to upgrade x264 to the newest version, the old
shared library libx264.so.1 would be removed and, hence, mplayer and
avidemux wouldn't work any more, which is why smart is proposing to
remove those packages.

I think that mplayer and avidemux have been rebuilt by the Packman team
now, against the new x264 package, so just run

smart update && smart upgrade x264 MPlayer avidemux

and everything should be fine ;)

Anyhow, the problem comes from the packages themselves.
IMO smart behaves correctly here.

cheers
- --
  -o) Pascal Bleser     http://linux01.gwdg.de/~pbleser/
  /\\ <pascal.bleser at skynet.be>       <guru at unixtech.be>
 _\_v The more things change, the more they stay insane.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFExFtfr3NMWliFcXcRAhuNAKCXD5x2GPvEUW8DYbt8Y0YsZKv9PgCgjPXB
gxHpFLUEadwQwHVRykLi4Hg=
=pCuU
-----END PGP SIGNATURE-----



More information about the Smart mailing list