| View previous topic :: View next topic |
| Author |
Message |
carpaski Retired Dev

Joined: 04 Aug 2002 Posts: 43 Location: Chicago, IL
|
Posted: Fri Oct 22, 2004 4:47 pm Post subject: PORTAGE-2.0.51 AND PROBLEM SOLUTIONS |
|
|
Please do not post to this bug unless it is _extremely_ pertenent. Posting a bug is better.
Problem:
* Portage-2.0.51 has problems on AMD64 when sandbox has been enabled.
Solution:
* emerge sync ; emerge >=sys-apps/portage-2.0.51-r2
* Recovery of damaged packages requires use of binary packages or rebuilding.
Problem:
* Portage-2.0.51-r1 gives 'Unable to run required binary'.
Solution:
* emerge sync ; emerge -b >=sys-apps/portage-2.0.51-r2
Problem:
* Portage indicates multiple blockers that did not exist before.
Solution:
* emerge --pretend --tree --update --deep world
* This command will give an indication of whom requires the dependency.
* You will need to deteremine the best course of action yourself.
Quick Hint for Linux 2.6 users with a modutils blocker:
* emerge -C modutils ; emerge module-init-tools
ANY FURTHER PROBLEMS:
* Report them to bugs.gentoo.org if they can be resolved with a little elbow grease.
* #gentoo on irc.freenode.net is a good resource. _________________ Nicholas Jones <carpaski@gentoo.org>
Gentoo Linux Developer |
|
| Back to top |
|
 |
Genone Retired Dev


Joined: 14 Mar 2003 Posts: 9564 Location: beyond the rim
|
Posted: Fri Oct 22, 2004 5:28 pm Post subject: |
|
|
| Another note: FEATURES=gpg is experimental and not ready for general usage, it's not a simple on/off switch but needs some additional steps to work, also the infrastructure isn't completed yet. It will also make portage slower. |
|
| Back to top |
|
 |
Dreamsmith n00b


Joined: 09 Mar 2004 Posts: 33
|
Posted: Fri Oct 22, 2004 5:44 pm Post subject: Re: PORTAGE-2.0.51 AND PROBLEM SOLUTIONS |
|
|
| carpaski wrote: | Quick Hint for Linux 2.6 users with a modutils blocker:
* emerge -C modutils ; emerge module-init-tools |
What about Linux 2.4 users with a modutils blocker? The reverse doesn't seem to work. Will module-init-tools work with kernel 2.4.x? |
|
| Back to top |
|
 |
Myo n00b


Joined: 24 Oct 2002 Posts: 2
|
Posted: Fri Oct 22, 2004 6:56 pm Post subject: |
|
|
unmerge the module-init-tools then emerge the new package. _________________ Myo |
|
| Back to top |
|
 |
Carnildo Guru

Joined: 17 Jun 2004 Posts: 594
|
Posted: Sat Oct 23, 2004 1:44 am Post subject: |
|
|
| Code: | [blocks B ] sys-apps/module-init-tools (from pkg sys-apps/modutils-2.4.25)
[blocks B ] sys-apps/modutils (from pkg sys-apps/module-init-tools-3.0-r2)
|
Am I reading this correctly that modutils and mod-init-utils are blocking each other? |
|
| Back to top |
|
 |
armin n00b

Joined: 20 Jun 2002 Posts: 46
|
Posted: Sat Oct 23, 2004 10:56 am Post subject: BLOCK bug & runscript debug |
|
|
1) BLOCK bug
emerge -upD world
-> now BLOCKS are listed even if none of the involved packages are to be updated.
example:
both apache and apache2 installed
subversion installed with USE="apache2 -apache"
with the new portage I will never be able to
emerge -upD world
again! It seems that I have to update every package by itself. Don't get me wrong it is good to receive a BLOCK, if any of these packages are involved, but not this way.
I'm really annoyed...
2) runscript debug
I have some start script (not changed by me) dying on me (apache2), without any messages in the apache logfiles, because it happends *BEFORE*.
why is it not possible to use bash for init scripts with some includes? with bash I can do bash -x and see every command which gets executed.
with runscript, I get a link in some subdir, very handy ... (failed) |
|
| Back to top |
|
 |
spb Retired Dev


Joined: 02 Jan 2004 Posts: 2135 Location: Cambridge, UK
|
Posted: Sat Oct 23, 2004 3:21 pm Post subject: |
|
|
| Carnildo wrote: | | Am I reading this correctly that modutils and mod-init-utils are blocking each other? | Yes. They always did, but 2.0.50 wasn't very good at picking it up. Remove modutils, and remerge module-init-tools. |
|
| Back to top |
|
 |
CrazyA n00b

Joined: 16 Feb 2004 Posts: 5
|
Posted: Sun Oct 24, 2004 12:11 pm Post subject: Re: PORTAGE-2.0.51 AND PROBLEM SOLUTIONS |
|
|
| Dreamsmith wrote: | | carpaski wrote: | Quick Hint for Linux 2.6 users with a modutils blocker:
* emerge -C modutils ; emerge module-init-tools |
What about Linux 2.4 users with a modutils blocker? The reverse doesn't seem to work. Will module-init-tools work with kernel 2.4.x? |
I have the same question.
The solution for 2.6-kernel is clear, but what about the 2.4 ?? |
|
| Back to top |
|
 |
oot n00b

Joined: 03 Nov 2003 Posts: 49
|
Posted: Sun Oct 24, 2004 11:30 pm Post subject: |
|
|
I use gentoo-sources-2.4.26-r9.
The module-init-tools is a dep of that.
Unmerging modutils removes the block.
Things are working ok here. |
|
| Back to top |
|
 |
bArtAA n00b

Joined: 22 May 2004 Posts: 13 Location: The Netherlands
|
Posted: Mon Oct 25, 2004 3:48 pm Post subject: |
|
|
| oot wrote: | I use gentoo-sources-2.4.26-r9.
The module-init-tools is a dep of that.
Unmerging modutils removes the block.
Things are working ok here. |
did you do a emerge modutils afterwards ? or are you running without modutils ?? |
|
| Back to top |
|
 |
oot n00b

Joined: 03 Nov 2003 Posts: 49
|
Posted: Mon Oct 25, 2004 4:55 pm Post subject: |
|
|
Flyin renegade without the modutils here, man!
And it feels FANTASIC!!!
I think we can trust the new portage and how it's handling the deps on our modutils (and a few more now), as in it's depricated now and known as module-init-tools. Something i thought i noticed scroll by whilst emergifying the module-init-tools was some filezes named *.old, like it was saving my modutils just in case we get froggy. It never came to that. I'd hate to pop a cap...
And yup, we got another update of portage. But the only thing i noticed about it that i missed from the previous version is the spinner. (oot!) Portage is stronger now, but i still had to carve into it for my blue spinner that goes one direction.
[edit]I'm not insane. It very well could have been a green spinner and i wouldn't have had to say anything.[/edit] |
|
| Back to top |
|
 |
Light n00b

Joined: 15 Jun 2004 Posts: 21 Location: Netherlands
|
Posted: Mon Oct 25, 2004 9:11 pm Post subject: |
|
|
| bArtAA wrote: | | oot wrote: | I use gentoo-sources-2.4.26-r9.
The module-init-tools is a dep of that.
Unmerging modutils removes the block.
Things are working ok here. |
did you do a emerge modutils afterwards ? or are you running without modutils ?? | Tools like modprobe and lsmod (which you know from modutils) are also in module-init-tools. It's just a newer version  |
|
| Back to top |
|
 |
Genone Retired Dev


Joined: 14 Mar 2003 Posts: 9564 Location: beyond the rim
|
Posted: Mon Oct 25, 2004 9:34 pm Post subject: |
|
|
| oot wrote: | But the only thing i noticed about it that i missed from the previous version is the spinner. (oot!) Portage is stronger now, but i still had to carve into it for my blue spinner that goes one direction.
[edit]I'm not insane. It very well could have been a green spinner and i wouldn't have had to say anything.[/edit] |
|
|
| Back to top |
|
 |
Light n00b

Joined: 15 Jun 2004 Posts: 21 Location: Netherlands
|
Posted: Mon Oct 25, 2004 10:46 pm Post subject: |
|
|
When I try
| Code: | | emerge --pretend --tree --update --deep world |
I get this nice tcsh/csh block:
| Code: | | [blocks B ] app-shells/tcsh (from pkg app-shells/csh-1.29-r3) |
I don't know what causes this block. The block is gone when I unmerge tcsh, and then I can re-emerge tcsh again without any problems. But the block also shows again. Also if I were to emerge maya I would need both tcsh and csh, maya has both listed in its dependencies. To me that would mean it should be possible to install both.
Any help is welcome. |
|
| Back to top |
|
 |
earnoth n00b


Joined: 30 Jul 2004 Posts: 10
|
Posted: Tue Oct 26, 2004 12:32 am Post subject: |
|
|
| bArtAA wrote: | | oot wrote: | I use gentoo-sources-2.4.26-r9.
The module-init-tools is a dep of that.
Unmerging modutils removes the block.
Things are working ok here. |
did you do a emerge modutils afterwards ? or are you running without modutils ?? |
Yeah, I followed this advice and I found myself without essential tools like depmod and modutils. Unmerging modutils on 2.4 kernel did allow me to finish emerge -uDav world, but I was majorly screwed after reboot.
In the end, I had to unmerge module-init-tools, and then (re)emerge modutils. Shame on me, however, since I already knew that was the answer:
| Code: | jefferson root # emerge --search module-init-tools
Searching...
[ Results for search key : module-init-tools ]
[ Applications found : 1 ]
* sys-apps/module-init-tools
Latest version available: 3.0-r2
Latest version installed: [ Not Installed ]
Size of downloaded files: 347 kB
Homepage: http://www.kernel.org/pub/linux/kernel/people/rusty/modules
Description: Kernel module tools for the development kernel >=2.5.48
License: GPL-2
|
Note that module-init-tools is clearly marked as being kernel module tools for kernel >=2.5.48. Hence, this tool is NOT used in 2.4 kernels.
So, from my experience, people running 2.4 kernels who encounter this blocking problem should emerge -C module-init-tools, NOT modutils. Pretty obvious stuff, shame on me for listening to a message board poster and not the output from the system.  |
|
| Back to top |
|
 |
Light n00b

Joined: 15 Jun 2004 Posts: 21 Location: Netherlands
|
Posted: Tue Oct 26, 2004 5:48 am Post subject: |
|
|
| earnoth wrote: |
| Code: | jefferson root # emerge --search module-init-tools
Searching...
[ Results for search key : module-init-tools ]
[ Applications found : 1 ]
* sys-apps/module-init-tools
Latest version available: 3.0-r2
Latest version installed: [ Not Installed ]
Size of downloaded files: 347 kB
Homepage: http://www.kernel.org/pub/linux/kernel/people/rusty/modules
Description: Kernel module tools for the development kernel >=2.5.48
License: GPL-2
|
Note that module-init-tools is clearly marked as being kernel module tools for kernel >=2.5.48. Hence, this tool is NOT used in 2.4 kernels.
So, from my experience, people running 2.4 kernels who encounter this blocking problem should emerge -C module-init-tools, NOT modutils. Pretty obvious stuff, shame on me for listening to a message board poster and not the output from the system.  | I wonder what kernel version you are running. Module-init-tools is listed as a dependency of 2.4.22 and newer kernels. Although I must admid that I haven't tested it, I would assume it to work. |
|
| Back to top |
|
 |
kevquinn Retired Dev


Joined: 27 Jun 2003 Posts: 52
|
Posted: Tue Oct 26, 2004 7:17 am Post subject: bluetooth blockers |
|
|
For others out there using bluetooth stuff, net-wireless/bluez-pan
net-wireless/bluez-sdp are replaced by: and show up as blockers if all three are installed. The former are masked, so new bluetoothers won't be affected.
| Code: | | emerge -C bluez-pan bluez-sdp ; emerge bluez-utils |
It may not be obvious to everyone, but if portage 2.0.51 picks up blocks that weren't picked up before, in order to clear the block it is necessary not only to unmerge the package you don't want anymore, but also to emerge the package you do want, even if portage doesn't indicate that it needs to be re-emerged. Unmerging a package from a pair of previously-installed blocking packages will delete stuff that both packages install - that's what makes them block each other in the first place. |
|
| Back to top |
|
 |
Gentree Watchman


Joined: 01 Jul 2003 Posts: 5350 Location: France, Old Europe
|
Posted: Tue Oct 26, 2004 8:50 pm Post subject: |
|
|
@carpaski
This update just blew away my whole portage OVERLAY which is very annoying.
I refered to this thread before updating portage but was not warned about this and it is a bit distructive.
rsync now blows away anything under PORTAGEDIR that is not in the portage tree.
I had chosen to put all my portage on the same drive (originally to test R4 under load) so PORTAGE_TMPDIR and PORTAGE_OVERLAY and the portage logs were subdirectories of PORTAGEDIR.
This has worked fine since I did it in March.
This new behaviour is apparently a bug fix but there seems to be no warning a) that this setup is wrong and b) that it will now all get deleted.
Could I suggest that you put a warning in your post so anyone looking at it is warned before-hand.
Also , if that is your area of responsability it would be a damn good idea to have a comment line in make.conf to warn against doing it.
I'm not the only one who's been caught out so a warning would be good.
 _________________ Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86 |
|
| Back to top |
|
 |
Light n00b

Joined: 15 Jun 2004 Posts: 21 Location: Netherlands
|
Posted: Wed Oct 27, 2004 5:57 am Post subject: |
|
|
| Light wrote: |
| Code: | | [blocks B ] app-shells/tcsh (from pkg app-shells/csh-1.29-r3) |
I don't know what causes this block. The block is gone when I unmerge tcsh, and then I can re-emerge tcsh again without any problems. But the block also shows again. Also if I were to emerge maya I would need both tcsh and csh, maya has both listed in its dependencies. To me that would mean it should be possible to install both.
|
My mistake. I was assuming that the info on www.gentoo-portage.com would be relyable, but it isn't. When I checked the ebuild files I did see the block. Also the maya dependencies are not shown correctly. |
|
| Back to top |
|
 |
devsk Advocate


Joined: 24 Oct 2003 Posts: 3003 Location: Bay Area, CA
|
Posted: Thu Oct 28, 2004 1:51 am Post subject: |
|
|
| I unmerged cdrtools and re-emerged dvdrtools, they still block each other when I do 'emerge -puD world'. It looks like many packages directly depend on cdrtools' specific version instead of using the virtual. Would this require fixing all those ebuilds or can it be the portage problem? |
|
| Back to top |
|
 |
NiK[IT] Tux's lil' helper


Joined: 28 May 2004 Posts: 91
|
Posted: Thu Oct 28, 2004 7:00 pm Post subject: |
|
|
| Code: |
emerge --pretend linux26-headers
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[blocks B ] sys-kernel/linux-headers (from pkg sys-kernel/linux26-headers-2.6.8.1)
[ebuild N ] sys-kernel/linux26-headers-2.6.8.1
|
Any ideas to solve this problem? |
|
| Back to top |
|
 |
Dreamsmith n00b


Joined: 09 Mar 2004 Posts: 33
|
Posted: Thu Oct 28, 2004 8:49 pm Post subject: |
|
|
| earnoth wrote: | | Yeah, I followed this advice and I found myself without essential tools like depmod and modutils. |
In that case, you forgot to re-emerge module-init-tools after unmerging modutils. The problem is, the two packages conflict -- if you have both installed, unmerging either one will trash the other. You needed to unmerge both, then emerge the appropriate one for the kernel you're using.
| earnoth wrote: | | Note that module-init-tools is clearly marked as being kernel module tools for kernel >=2.5.48. Hence, this tool is NOT used in 2.4 kernels. |
The quoted information is out of date (well, technically not, since what you wrote after "hence" doesn't actually follow from what you wrote before it, but it's misleading in any case). module-init-tools works fine with the latest gentoo-sources 2.4.x kernel, as the dependencies of said package indicates. I first tried to solve this problem by unmergine module-init-tools, but the system kept wanting to bring it back. Unmerging modutils as well, then emerging module-init-tools was the only thing that worked for me. |
|
| Back to top |
|
 |
oot n00b

Joined: 03 Nov 2003 Posts: 49
|
Posted: Fri Oct 29, 2004 12:25 pm Post subject: |
|
|
I suppose i should have included that extra info with what i said above. I ASSUMED (yup, i got me again) it was obvious.
So shame on me for feeling all warm and fuzzy thinking i was helping someone on a 'message board' and loosing a couple teeth instead. Some guys gotta learn the hard way.  |
|
| Back to top |
|
 |
Light n00b

Joined: 15 Jun 2004 Posts: 21 Location: Netherlands
|
Posted: Fri Oct 29, 2004 10:59 pm Post subject: |
|
|
| NiK[IT] wrote: | | Code: |
emerge --pretend linux26-headers
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[blocks B ] sys-kernel/linux-headers (from pkg sys-kernel/linux26-headers-2.6.8.1)
[ebuild N ] sys-kernel/linux26-headers-2.6.8.1
|
Any ideas to solve this problem? |
How about unmerging sys-kernel/linux-headers ? Or would that be too easy? |
|
| Back to top |
|
 |
meowsqueak Veteran


Joined: 26 Aug 2003 Posts: 1549 Location: New Zealand
|
Posted: Mon Nov 01, 2004 4:08 am Post subject: |
|
|
| If you are indeed using a 2.6 kernel, then yes, unmerge linux-headers and use linux26-headers instead. |
|
| Back to top |
|
 |
|