[gentoo-user] install a single package into a different tree?

2013-03-17 Thread Helmut Jarausch

Hi,

 I'd like to install both media-video/avidemux-2.5.6-r2 and  
media-video/avidemux-2.6.2

 which are blocking each other.

 Is it possible to install one of them in a different tree like  
/usr/local

 instead of /usr

 Many thanks for a hint,
 Helmut.



Re: [gentoo-user] install a single package into a different tree?

2013-03-17 Thread Neil Bothwick
On Sun, 17 Mar 2013 13:30:51 +0100, Helmut Jarausch wrote:

   I'd like to install both media-video/avidemux-2.5.6-r2 and  
 media-video/avidemux-2.6.2
   which are blocking each other.

They are slotted, so you can install both.

emerge avidemux:2 avidemux:2.6

However, there is a problem installing 2.6.2 over 2.6.1 because some
files have moved to avidemux-core causing collisions. I worked round this
yesterday with

FEATURES=-protect-owned emerge avidemux:2.6

but it may have been fixed by now.


-- 
Neil Bothwick

There are two ways to live: you can live as if nothing is a miracle;
 you can live as if everything is a miracle.
 (Albert Einstein)


signature.asc
Description: PGP signature


Re: [gentoo-user] install a single package into a different tree?

2013-03-17 Thread Helmut Jarausch

On 03/17/2013 02:12:06 PM, Neil Bothwick wrote:

On Sun, 17 Mar 2013 13:30:51 +0100, Helmut Jarausch wrote:

   I'd like to install both media-video/avidemux-2.5.6-r2 and
 media-video/avidemux-2.6.2
   which are blocking each other.

They are slotted, so you can install both.

emerge avidemux:2 avidemux:2.6

However, there is a problem installing 2.6.2 over 2.6.1 because some
files have moved to avidemux-core causing collisions. I worked round  
this

yesterday with

FEATURES=-protect-owned emerge avidemux:2.6

but it may have been fixed by now.



Thanks Neil.

To try out 2.6.2 I have removed 2.5.6 first, then I installed 2.6.2.
Now I cannot install 2.5.6 anymore:

emerge -vp media-video/avidemux:2

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  NS   #] media-video/avidemux-2.5.6-r2:2 [2.6.2:2.6] USE=aac  
alsa gtk mp3 nls opengl qt4 sdl truetype vorbis x264 xv xvid -aften  
-amr -jack -oss -pulseaudio -vpx LINGUAS=de -bg -ca -cs -el -es -fr  
-it -ja -pt_BR -ru -sr -sr@latin -tr -zh_TW 0 kB
[blocks B  ] media-video/avidemux-2.6.2  
(media-video/avidemux-2.6.2 is blocking  
media-libs/avidemux-core-2.6.2)


Total: 1 package (1 in new slot), Size of downloads: 0 kB
Conflict: 1 block (1 unsatisfied)

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  (media-libs/avidemux-core-2.6.2::gentoo, installed) pulled in by
 
=media-libs/avidemux-core-2.6.2[a52,alsa,dts,lame,mmx,nls,sdl,vorbis,truetype,xvid,x264,xv]  
required by (media-video/avidemux-2.6.2::gentoo, installed)


  (media-video/avidemux-2.5.6-r2::gentoo, ebuild scheduled for merge)  
pulled in by

media-video/avidemux:2
media-video/avidemux required by @selected

Then I have removed both versions and I have installed version 2.5.6  
first. Then again


FEATURES=-protect-owned  emerge media-video/avidemux:2.6
Calculating dependencies... done!
[ebuild  N ] media-libs/avidemux-core-2.6.2  USE=a52 alsa dts lame  
mmx nls sdl truetype vorbis x264 xv xvid -aften -amr -debug -fontconfig  
-jack -libsamplerate -oss (-system-ffmpeg) LINGUAS=de -ca -cs -el -es  
-fr -it -ja -pt_BR -ru -sr -sr@latin -tr
[ebuild  NS] media-video/avidemux-2.6.2 [2.5.6-r2] USE=a52 alsa  
dts gtk lame mmx nls qt4 sdl truetype vorbis x264 xv xvid -aften -amr  
-debug -fontconfig -jack -libsamplerate -oss LINGUAS=de -ca -cs -el  
-es -fr -it -ja -pt_BR -ru -sr -sr@latin -tr
[blocks B  ] media-video/avidemux-2.6.2  
(media-video/avidemux-2.6.2 is blocking  
media-libs/avidemux-core-2.6.2)


 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  (media-video/avidemux-2.5.6-r2::gentoo, installed) pulled in by
media-video/avidemux:2 required by @selected

  (media-libs/avidemux-core-2.6.2::gentoo, ebuild scheduled for merge)  
pulled in by
 
=media-libs/avidemux-core-2.6.2[a52,alsa,dts,lame,mmx,nls,sdl,vorbis,truetype,xvid,x264,xv]  
required by (media-video/avidemux-2.6.2::gentoo, ebuild scheduled for  
merge)


So, you must have been very lucky, and that's not portable.
Helmut.





Re: [gentoo-user] install a single package into a different tree?

2013-03-17 Thread Neil Bothwick
On Sun, 17 Mar 2013 18:28:21 +0100, Helmut Jarausch wrote:

 [blocks B  ] media-video/avidemux-2.6.2  
 (media-video/avidemux-2.6.2 is blocking  
 media-libs/avidemux-core-2.6.2)
 
   * Error: The above package list contains packages which cannot be
   * installed at the same time on the same system.
 
(media-video/avidemux-2.5.6-r2::gentoo, installed) pulled in by
  media-video/avidemux:2 required by @selected
 
(media-libs/avidemux-core-2.6.2::gentoo, ebuild scheduled for
 merge) pulled in by
   
 =media-libs/avidemux-core-2.6.2[a52,alsa,dts,lame,mmx,nls,sdl,vorbis,truetype,xvid,x264,xv]
   
 required by (media-video/avidemux-2.6.2::gentoo, ebuild scheduled for  
 merge)
 
 So, you must have been very lucky, and that's not portable.

I don't think it was luck, I had 2.5 installed, and later uninstalled,
before the 2.6 package was split into avidemux and -core. Now it appears
you can't have both, which rather defeats the point of slotting them. I'd
file a bug report, if no one has beaten you to it.


-- 
Neil Bothwick

Most problems go away if you just wait long enough. It might look like
I'm standing motionless but I'm actively waiting for our problems to go
away. I don't know why this works but it does.
Scott Adams, Dilbert comic


signature.asc
Description: PGP signature