View previous topic :: View next topic |
Author |
Message |
desultory Bodhisattva
Joined: 04 Nov 2005 Posts: 9410
|
Posted: Wed Apr 30, 2008 7:24 am Post subject: |
|
|
Tuxenstein wrote: | Also, someone suggested to me to look in the distfiles directory and I did notice a number of archives listed there, but I'm assuming it's also different? | It is, that is where all of the sources are stored
Tuxenstein wrote: | Is that supposed to happen? | It is, that just means that the required dependencies are all in place, I probably should have indicated this before. |
|
Back to top |
|
|
Tuxenstein Apprentice
Joined: 28 May 2005 Posts: 155
|
Posted: Wed Apr 30, 2008 7:49 am Post subject: |
|
|
In which case, and excuse what may sound like a very stupid question, but should I just go ahead and type in "no"? |
|
Back to top |
|
|
desultory Bodhisattva
Joined: 04 Nov 2005 Posts: 9410
|
Posted: Wed Apr 30, 2008 8:02 am Post subject: |
|
|
At that point, neither answer should do anything harmful, though for the sake of expediency I would respond no. |
|
Back to top |
|
|
Tuxenstein Apprentice
Joined: 28 May 2005 Posts: 155
|
Posted: Wed Apr 30, 2008 8:29 am Post subject: |
|
|
Yay! It worked! I can emerge packages again.
Thank you so much for all your help with this! I very much appreciate it! |
|
Back to top |
|
|
Zach1188 n00b
Joined: 13 Oct 2006 Posts: 64
|
Posted: Thu May 01, 2008 2:28 pm Post subject: Running emerge --update --deep world fails |
|
|
When I run emerge --update --deep world I get this error:
Code: |
zComp zach # emerge --update --deep world
Calculating world dependencies... done!
[ebuild U ] app-misc/pax-utils-0.1.17 [0.1.16]
[ebuild U ] sys-libs/timezone-data-2008a [2007k]
[ebuild U ] dev-libs/mpfr-2.3.1 [2.3.0_p4]
[ebuild U ] net-misc/iputils-20071127 [20070202]
[ebuild U ] sys-apps/less-418 [416]
[ebuild U ] sys-libs/readline-5.2_p12-r1 [5.2_p7]
[ebuild N ] virtual/pager-0
[ebuild N ] sys-devel/bc-1.06-r6 USE="readline -static"
[ebuild U ] app-admin/perl-cleaner-1.05 [1.04.3]
[ebuild U ] sys-apps/texinfo-4.11-r1 [4.8-r5]
[ebuild U ] sys-apps/findutils-4.3.13 [4.3.11]
[ebuild U ] sys-apps/sed-4.1.5-r1 [4.1.5]
[ebuild U ] sys-libs/com_err-1.40.6 [1.40.4]
[ebuild U ] app-arch/gzip-1.3.12-r1 [1.3.12]
[ebuild U ] sys-libs/ss-1.40.6 [1.40.4]
[ebuild U ] sys-apps/which-2.19 [2.16]
[ebuild U ] sys-devel/automake-1.10.1 [1.10]
[ebuild U ] sys-fs/e2fsprogs-1.40.6 [1.40.4]
[ebuild U ] sys-apps/man-1.6f-r1 [1.6e-r3]
[ebuild U ] sys-devel/libtool-1.5.26 [1.5.24]
[ebuild U ] sys-apps/man-pages-2.78 [2.76] LINGUAS="-cs% -da% -de% -es% -fr% -it% -ja% -nl% -pl% -ro% -ru% -zh_CN%"
[ebuild NS ] sys-libs/db-4.3.29-r2 USE="-bootstrap -doc -java -nocxx -tcl -test"
[ebuild U ] sys-apps/util-linux-2.13.1.1 [2.13-r2] USE="unicode%* -loop-aes% -slang%"
[ebuild U ] sys-apps/coreutils-6.10-r2 [6.9-r1] USE="-vanilla%"
[ebuild U ] sys-process/psmisc-22.6 [22.5-r2] USE="X*"
[ebuild U ] dev-lang/python-2.4.4-r9 [2.4.4-r6]
[ebuild U ] dev-libs/libxml2-2.6.31 [2.6.30-r1] USE="-examples%"
[ebuild U ] sys-libs/cracklib-2.8.12 [2.8.10]
[ebuild U ] sys-apps/file-4.23 [4.21-r1]
[ebuild U ] sys-apps/shadow-4.0.18.2 [4.0.18.1-r1]
[ebuild U ] sys-fs/udev-119 [115-r1]
[blocks B ] sys-apps/mktemp (is blocking sys-apps/coreutils-6.10-r2)
[blocks B ] >=sys-apps/coreutils-6.10 (is blocking sys-apps/mktemp-1.5)
* Error: The above package list contains packages which cannot be
* installed at the same time on the same system.
For more information about Blocked Packages, please refer to the following
section of the Gentoo Linux x86 Handbook (architecture is irrelevant):
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked
|
Any help? |
|
Back to top |
|
|
a.b. Apprentice
Joined: 23 Mar 2008 Posts: 218 Location: Anus Mundi, Germany
|
Posted: Thu May 01, 2008 2:30 pm Post subject: |
|
|
Unmerge mktemp, it's included in coreutils now. |
|
Back to top |
|
|
d135-1r43 Tux's lil' helper
Joined: 14 Apr 2005 Posts: 129
|
Posted: Sat May 03, 2008 12:03 pm Post subject: |
|
|
But be sure not to reboot until coreutils is properly installed. |
|
Back to top |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Sat May 03, 2008 2:17 pm Post subject: |
|
|
merged above three posts here _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
talk is cheap. supply exceeds demand |
|
Back to top |
|
|
Gentree Watchman
Joined: 01 Jul 2003 Posts: 5350 Location: France, Old Europe
|
Posted: Thu May 08, 2008 12:10 am Post subject: |
|
|
Hi,
I may need to open a separate thread because I'm running ~x86, but I'm having the same problem. However the fix was not so easy.
Calculating dependencies... done!
[ebuild R ] sys-apps/coreutils-6.11
I updated to coreutils-6.11 but something is still wanting to pull in mktemp and causeing the mutual blockage.
[blocks B ] >=sys-apps/coreutils-6.10 (is blocking sys-apps/mktemp-1.5)
[blocks B ] sys-apps/mktemp (is blocking sys-apps/coreutils-6.11)
bash-3.2#equery d mktemp
[ Searching for packages depending on mktemp... ]
app-admin/eselect-compiler-2.0.0_rc2-r1 (sys-apps/mktemp)
app-misc/ca-certificates-20070303-r1 (sys-apps/mktemp)
app-text/a2ps-4.13c-r5 (userland_GNU? sys-apps/mktemp)
app-text/xmlto-0.0.18 (sys-apps/mktemp)
dev-util/quilt-0.46 (sys-apps/mktemp)
sys-apps/baselayout-1.12.10-r5 (!build & !bootstrap? sys-apps/mktemp)
sys-apps/debianutils-2.28.2 (sys-apps/mktemp)
bash-3.2#emerge -p mktemp
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild N ] sys-apps/mktemp-1.5
[blocks B ] >=sys-apps/coreutils-6.10 (is blocking sys-apps/mktemp-1.5)
[blocks B ] sys-apps/mktemp (is blocking sys-apps/coreutils-6.11)
can anyone untangle that one for me ?
TIA. _________________ 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 |
|
|
ppurka Advocate
Joined: 26 Dec 2004 Posts: 3256
|
Posted: Thu May 08, 2008 12:18 am Post subject: |
|
|
you probably need to update baselayout. Use emerge --tree to find out the chain of dependencies. _________________ emerge --quiet redefined | E17 vids: I, II | Now using kde5 | e is unstable :-/ |
|
Back to top |
|
|
Gentree Watchman
Joined: 01 Jul 2003 Posts: 5350 Location: France, Old Europe
|
Posted: Thu May 08, 2008 1:06 am Post subject: |
|
|
thanks,
tree did not give me any more info. I tired updating baselayout but I have masked 2.0.0 since it seemed to cause quite a few problems.
This is one pkg I have learnt to be wary of.
were you indicating I need to update to 2.0.0 ?
thz again. _________________ 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 |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Thu May 08, 2008 5:40 pm Post subject: |
|
|
merged above three posts here. _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
talk is cheap. supply exceeds demand |
|
Back to top |
|
|
Gentree Watchman
Joined: 01 Jul 2003 Posts: 5350 Location: France, Old Europe
|
Posted: Thu May 08, 2008 9:48 pm Post subject: |
|
|
Ahh found it!
I had an old gcc-3.3.5 in overlay that had mktemp as a dep. Edited the ebuild and all is fine.
_________________ 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 |
|
|
ppurka Advocate
Joined: 26 Dec 2004 Posts: 3256
|
Posted: Fri May 09, 2008 12:51 am Post subject: |
|
|
Gentree wrote: | Ahh found it!
I had an old gcc-3.3.5 in overlay that had mktemp as a dep. Edited the ebuild and all is fine.
| Glad you found it. But strange that equery did not show that package in its output.
By upgrading baselayout, I meant for you to upgrade baselayout-1. The version you have is no longer present in my portage. _________________ emerge --quiet redefined | E17 vids: I, II | Now using kde5 | e is unstable :-/ |
|
Back to top |
|
|
krenshala Tux's lil' helper
Joined: 28 Jan 2006 Posts: 85 Location: Austin TX, NorAm, Sol III
|
Posted: Wed May 14, 2008 10:43 pm Post subject: |
|
|
I've got an x86 system thats was last updated quite a while ago (2.6.9 kernel) and I decided to update it and try and fix the Xorg problems I caused the last time I tried to update it. When I went to update Portage it gave me the mutual blocking mktemp/coreutils line.
Since I was not adverse to starting over from scratch I removed mktemp first (emerge --unmerge mktemp) but it still gave me the error about packages blocking each other. Not thinking about it, I foolishly unmerged coreutils next and, discovering my error set about doing a clean install.
I downloaded the 2008.0 beta 2 minimal CD .iso and used that to get into the system to back up my files (off topic, its nice to see it uses grub to select what you want to do on the disk ). Once my files were safely off the computer I used fdisk to wipe all partitions and start over from scratch (... just to be sure). The problem is, after downloading the 12 May 2008 portage files I still get the mutual blocking packages for mktemp and coreutils, which are preventing me from merging the latest version of portage.
I'm using ACCEPT_KEYWORDS="x86" since I don't need bleeding edge on this system, but instead want it to be nice and stable. Is unmerging mktemp the best way to get this to work? I haven't tried it since installing this time as I wanted to check here first ...
Thank you for any suggestions and help. _________________ krenshala
:wq |
|
Back to top |
|
|
desultory Bodhisattva
Joined: 04 Nov 2005 Posts: 9410
|
Posted: Thu May 15, 2008 7:38 am Post subject: |
|
|
krenshala wrote: | Is unmerging mktemp the best way to get this to work? | It works, but it leaves the system unable to boot itself between removing sys-apps/mktemp and installing the version of sys-apps/coreutils which includes mktemp. If you want to avoid that potential problem, there is a different approach which could be used, note that having nothing to install in the first step is entirely possible and just means that step has already been completed. |
|
Back to top |
|
|
krenshala Tux's lil' helper
Joined: 28 Jan 2006 Posts: 85 Location: Austin TX, NorAm, Sol III
|
Posted: Fri May 16, 2008 2:58 am Post subject: |
|
|
Since I still haven't gotten to the point the system can even boot, I guess I'll go with the "easy" fix and unmerge mktemp. Its not like it can make my system worse at this point.
Thank you again for the help! _________________ krenshala
:wq |
|
Back to top |
|
|
Xamindar Veteran
Joined: 03 Oct 2004 Posts: 1155 Location: California
|
Posted: Fri May 16, 2008 4:29 am Post subject: Genious! |
|
|
There was a block of coreutils by mktemp. So I do the natural thing and remove mktemp so I can upgrade coreutils. And guess what, removing mktemp also broke emerge so it doesn't work any more. Now who though this great idea up? Was there some procedure that I need to do first? Like installing a fresh installation of gentoo when these sorts of changes are made to gentoo?
This is what I got after removing mktemp. Is there any way to bring this system back from the dead?
Code: | emerge coreutils
Calculating dependencies... done!
>>> Verifying ebuild Manifests...
>>> starting parallel fetching pid 19717
>>> Emerging (1 of 3) sys-devel/automake-1.10.1 to /
>>> Downloading 'http://gentoo.osuosl.org/distfiles/automake-1.10.1.tar.bz2'
--21:03:55-- http://gentoo.osuosl.org/distfiles/automake-1.10.1.tar.bz2
=> `/usr/portage/distfiles/automake-1.10.1.tar.bz2'
Resolving gentoo.osuosl.org... 140.211.166.134
Connecting to gentoo.osuosl.org|140.211.166.134|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 918,341 (897K) [application/x-tar]
100%[====================================>] 918,341 824.93K/s
21:03:56 (822.17 KB/s) - `/usr/portage/distfiles/automake-1.10.1.tar.bz2' saved [918341/918341]
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
* checking automake-1.10.1.tar.bz2 ;-) ... [ ok ]
Traceback (most recent call last):
File "/usr/bin/emerge", line 6971, in ?
retval = emerge_main()
File "/usr/bin/emerge", line 6965, in emerge_main
myopts, myaction, myfiles, spinner)
File "/usr/bin/emerge", line 6395, in action_build
retval = mergetask.merge(pkglist, favorites, mtimedb)
File "/usr/bin/emerge", line 3981, in merge
return self._merge(mylist, favorites, mtimedb)
File "/usr/bin/emerge", line 4259, in _merge
prev_mtimes=ldpath_mtimes)
File "/usr/lib/portage/pym/portage.py", line 4806, in doebuild
alwaysdep=1, logfile=logfile)
File "/usr/lib/portage/pym/portage.py", line 3705, in spawnebuild
retval=spawnebuild(actionmap[mydo]["dep"],actionmap,mysettings,debug,alwaysdep=alwaysdep,logfile=logfile)
File "/usr/lib/portage/pym/portage.py", line 3705, in spawnebuild
retval=spawnebuild(actionmap[mydo]["dep"],actionmap,mysettings,debug,alwaysdep=alwaysdep,logfile=logfile)
File "/usr/lib/portage/pym/portage.py", line 3705, in spawnebuild
retval=spawnebuild(actionmap[mydo]["dep"],actionmap,mysettings,debug,alwaysdep=alwaysdep,logfile=logfile)
File "/usr/lib/portage/pym/portage.py", line 3705, in spawnebuild
retval=spawnebuild(actionmap[mydo]["dep"],actionmap,mysettings,debug,alwaysdep=alwaysdep,logfile=logfile)
File "/usr/lib/portage/pym/portage.py", line 3717, in spawnebuild
mysettings, debug=debug, logfile=logfile, **kwargs)
File "/usr/lib/portage/pym/portage.py", line 2824, in spawn
set_term_size(rows, columns, slave_fd)
File "/usr/lib/portage/pym/output.py", line 347, in set_term_size
spawn(cmd, env=os.environ, fd_pipes={0:fd})
File "/usr/lib/portage/pym/portage_exec.py", line 179, in spawn
raise CommandNotFound(mycommand[0])
portage_exception.CommandNotFound: stty
|
|
|
Back to top |
|
|
alistair Retired Dev
Joined: 15 Jul 2005 Posts: 869
|
|
Back to top |
|
|
desultory Bodhisattva
Joined: 04 Nov 2005 Posts: 9410
|
Posted: Fri May 16, 2008 5:12 am Post subject: |
|
|
Xamindar wrote: | Was there some procedure that I need to do first? | With proper preparation it is not difficult to avoid the problem entirely.
Xamindar wrote: | Is there any way to bring this system back from the dead? | Certainly.
Xamindar wrote: | Code: | portage_exception.CommandNotFound: stty |
| That indicates that sys-apps/coreutils is missing, at least in part.
Merged the above two posts. |
|
Back to top |
|
|
Xamindar Veteran
Joined: 03 Oct 2004 Posts: 1155 Location: California
|
Posted: Fri May 16, 2008 5:48 am Post subject: |
|
|
alistair wrote: |
also Im surprised that removing mktemp broken portage. never did for me.... |
I was too. I actually have two other gentoo machines (my firewall and my main PC) that worked fine by removing mktemp and emerging coreutils. But this machine had this problem for some reasong right after removing coreutils. |
|
Back to top |
|
|
desultory Bodhisattva
Joined: 04 Nov 2005 Posts: 9410
|
Posted: Fri May 16, 2008 6:16 am Post subject: |
|
|
Portage uses programs provided by sys-apps/coreutils.
Download a copy from tinderbox place it in $PKGDIR/All, if you do not create and retain them locally.
Unpack it under /, ignore the error about extra data past the end of the archive.
Run emerge -K sys-apps/coreutils.
Run emerge sys-apps/coreutils. |
|
Back to top |
|
|
Larcen Apprentice
Joined: 21 Mar 2004 Posts: 174
|
Posted: Wed May 28, 2008 12:53 am Post subject: Dependency -- missing! depscan.sh needs mktemp... |
|
|
...and I've got no mktemp on my system. No Networking, INIT stops just after setting the time, and thats that. Luckly! (I think) I still have my stage3 tarball handy. Any ideas where I should go from here? |
|
Back to top |
|
|
yabbadabbadont Advocate
Joined: 14 Mar 2003 Posts: 4791 Location: 2 exits past crazy
|
Posted: Wed May 28, 2008 4:26 am Post subject: |
|
|
What did you do to the system just prior to the error? (before you rebooted that is) What is your "emerge --info" output?
Edit: You'll probably need to chroot into the system in order to provide the information and to fix the issue. |
|
Back to top |
|
|
desultory Bodhisattva
Joined: 04 Nov 2005 Posts: 9410
|
Posted: Wed May 28, 2008 8:29 am Post subject: |
|
|
Access the system via chroot as though installing the system according to the handbook, update sys-app/coreutils, reboot into the installed system.
Merged the above two posts. |
|
Back to top |
|
|
|