Re: [gentoo-user] Is it wrong to install a specific version

2015-01-11 Thread Stroller

On Sun, 11 January 2015, at 2:26 am, behrouz khosravi bz.khosr...@gmail.com 
wrote:
 
 After that I … installed all of the required qt5 packages from qt-5.4.0 one 
 by one and using the specific version.
 After that I did the same with qt-framework packages and so on.

This is fine, if you use `emerge -1`. That installs the package (thus 
fulfilling the dependency) without adding to the world file. 

If you specify the package version and emerge without the `--oneshot` flag, 
then the package version will be added to the world file, and thus the package 
version will be pinned, and be a problem during updates.

 I think that this is generally a bad idea, because the it makes the World set 
 much bigger.
 However I am wondering what will happen when the tree updates?

I would edit your world file with a text editor and remove these packages. They 
will still remain on your system, and they will still fulfil the Plasma's 
dependencies.

Stroller.




Re: [gentoo-user] Is it wrong to install a specific version

2015-01-11 Thread behrouz khosravi



 I would edit your world file with a text editor and remove these packages.
 They will still remain on your system, and they will still fulfil the
 Plasma's dependencies.


I didn't know that is possible.
Thanks for this tip.


Re: [gentoo-user] Is it wrong to install a specific version

2015-01-11 Thread Sid S
A package set is just a list of packages in a file under
/etc/portage/sets. You can operate on every package in the set at
once.

https://dev.gentoo.org/~zmedico/portage/doc/ch02.html

If you merged the packages by version they won't be automatically
updated. This includes the case where they are part of a set (unless
you leave part of the version unspecified). If you merged the slot,
the packages would update to changes made in that slot.



[gentoo-user] Is it wrong to install a specific version

2015-01-10 Thread behrouz khosravi
Hi. I wanted to install plasma 5 on my laptop, but I encountered a lot of
problems regarding dependencies, masking and other stuff.

Since I felt a little stubbornness in myself, and didn't want to back off !
I took another approach. I checked that what packages will be installed.
After that I removed the qt4 and installed all of the required qt5 packages
from qt-5.4.0 one by one and using the specific version.
After that I did the same with qt-framework packages and so on.

I think that this is generally a bad idea, because the it makes the World
set much bigger.
However I am wondering what will happen when the tree updates?
I mean for examples when another version of qt5 comes out, portage will try
to update it ?

thanks.


Re: [gentoo-user] Is it wrong to install a specific version

2015-01-10 Thread Dale
behrouz khosravi wrote:
 Hi. I wanted to install plasma 5 on my laptop, but I encountered a lot
 of problems regarding dependencies, masking and other stuff.

 Since I felt a little stubbornness in myself, and didn't want to back
 off !
 I took another approach. I checked that what packages will be installed.
 After that I removed the qt4 and installed all of the required qt5
 packages from qt-5.4.0 one by one and using the specific version.
 After that I did the same with qt-framework packages and so on.

 I think that this is generally a bad idea, because the it makes the
 World set much bigger.
 However I am wondering what will happen when the tree updates?
 I mean for examples when another version of qt5 comes out, portage
 will try to update it ?

 thanks.


I think you can edit the world file and make the qt packages look
something like this:

dev-qt/qtcore:5

Basically, remove the specific version and just tell it you want the 5
slot.  Then when something new comes out, it should upgrade.  Of course,
those versions will either have to be stable or in the needed
keyword/unmask file. 

Just a thought.  Someone else may have a even better idea/plan. 

Dale

:-)  :-)