Saturday, December 20, 2008

portage conflicts with bash

I haven't updated Gentoo Linux for long time. When I did emerge portage, it was blocked with bash. However, the latest bash needed portage too. Because bash and portage depends on each other, it can't be resolved in one shot. The basic strategy of solving these dependencies is to update bash to certain version, update portage and update bash to the latest. Look at /usr/portage/app-shells/bash, I have following packages: -rw-r--r-- 1 root root 3408 Mar 23 2006 bash-2.05b-r11.ebuild -rw-r--r-- 1 root root 5065 Jun 25 2007 bash-3.0-r12.ebuild -rw-r--r-- 1 root root 4613 Jun 25 2007 bash-3.0-r13.ebuild -rw-r--r-- 1 root root 4724 Jun 25 2007 bash-3.0-r14.ebuild -rw-r--r-- 1 root root 4601 Feb 27 2007 bash-3.1_p17.ebuild -rw-r--r-- 1 root root 5190 Feb 9 2008 bash-3.2_p17-r1.ebuild -rw-r--r-- 1 root root 5653 Jun 1 2008 bash-3.2_p33.ebuild -rw-r--r-- 1 root root 6156 Aug 24 10:35 bash-3.2_p39.ebuild -rw-r--r-- 1 root root 6156 Nov 20 12:57 bash-3.2_p48.ebuild So, I picked 3.2_p17-r1 as the intermediate version. # emerge -1 =bash-3.2_p17-r1 # emerge -1 portage # emerge bash Yay!