View previous topic :: View next topic |
Author |
Message |
cereal-chiller Tux's lil' helper
Joined: 19 Jul 2003 Posts: 78 Location: Lisbon, Portugal
|
Posted: Tue Apr 05, 2005 1:30 pm Post subject: Stoping portage from emerging et-2.60 |
|
|
Hi, I updated et to the latest version manually (by using the patch) instead of downloading the hole 300 MB file again. Now i want to tell portage i already have version 2.60, how do I do that?
I tried package.provided but i guess it only works for packages that have never been installed trhough emerge. _________________ The problem with computers is that they do what you tell them, not what you want!! |
|
Back to top |
|
|
BlackEdder Advocate
Joined: 26 Apr 2004 Posts: 2588 Location: Dutch enclave in Egham, UK
|
Posted: Tue Apr 05, 2005 1:46 pm Post subject: |
|
|
I think package.provided should do the trick, could you show us what you have in there (it is quite picky and badly documented). I gather you have it in the correct place (/etc/portage/profile). |
|
Back to top |
|
|
cereal-chiller Tux's lil' helper
Joined: 19 Jul 2003 Posts: 78 Location: Lisbon, Portugal
|
Posted: Tue Apr 05, 2005 2:07 pm Post subject: |
|
|
Code: |
# cat /etc/portage/profile/package.provided
games-fps/enemy-territory-2.60
# emerge -p enemy-territory
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild U ] games-fps/enemy-territory-2.60 [2.56-r2] |
I think it's correct, isn't it? _________________ The problem with computers is that they do what you tell them, not what you want!! |
|
Back to top |
|
|
BlackEdder Advocate
Joined: 26 Apr 2004 Posts: 2588 Location: Dutch enclave in Egham, UK
|
Posted: Tue Apr 05, 2005 2:18 pm Post subject: |
|
|
Did you also try emerge -u world. I have package.provided working, but emerge -p xorg-x11 will still want to install the latest version, but emerge -uD world doesn't want to update xorg-x11
Code: | tkwsweb root # emerge -p xorg-x11
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild N ] x11-base/opengl-update-2.0_pre5
[ebuild U ] x11-base/xorg-x11-6.8.2 [6.8.0-r4] |
Code: | tkwsweb root # emerge -uDp world
These are the packages that I would merge, in order:
Calculating world dependencies ...done!
Total size of downloads: 0 kB |
|
|
Back to top |
|
|
cereal-chiller Tux's lil' helper
Joined: 19 Jul 2003 Posts: 78 Location: Lisbon, Portugal
|
Posted: Tue Apr 05, 2005 4:21 pm Post subject: |
|
|
No it's still there.
Code: |
# emerge -pDu world
These are the packages that I would merge, in order:
Calculating world dependencies ...done!
[ebuild U ] games-fps/enemy-territory-2.60 [2.56-r2]
[ebuild U ] media-video/nvidia-kernel-1.0.6629-r4 [1.0.6629-r1]
|
There must be another way. _________________ The problem with computers is that they do what you tell them, not what you want!! |
|
Back to top |
|
|
BlackEdder Advocate
Joined: 26 Apr 2004 Posts: 2588 Location: Dutch enclave in Egham, UK
|
Posted: Tue Apr 05, 2005 4:24 pm Post subject: |
|
|
You can mask the 2.60 version:
Code: | echo "=games-fps/enemy-territory-2.60" >> /etc/portage/package.mask |
|
|
Back to top |
|
|
cereal-chiller Tux's lil' helper
Joined: 19 Jul 2003 Posts: 78 Location: Lisbon, Portugal
|
Posted: Tue Apr 05, 2005 5:28 pm Post subject: |
|
|
that did the trick, tnks _________________ The problem with computers is that they do what you tell them, not what you want!! |
|
Back to top |
|
|
Leander256 l33t
Joined: 05 Jul 2003 Posts: 910 Location: Singapour
|
Posted: Wed Apr 06, 2005 1:04 am Post subject: |
|
|
I had the same problem with the vanilla-sources package, and I just found an hint on bugzilla: https://bugs.gentoo.org/show_bug.cgi?id=67595
I just had to remove sys-kernel/vanilla-sources of my /var/lib/portage/world file and portage then took account of the line I had in /etc/portage/profile/package.provided . |
|
Back to top |
|
|
HamishTPB n00b
Joined: 12 Sep 2003 Posts: 58 Location: Europe
|
Posted: Thu Apr 07, 2005 12:36 am Post subject: |
|
|
Thanks for that Blackedder - I don't understand why they took away --inject when package.provided doesn't work properly _________________ Hamish ThePolarBear |
|
Back to top |
|
|
|