Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 126369 - upgrading =dev-db/mysql-5.0.18-r30 to =dev-db/mysql-5.0.19 broken
Summary: upgrading =dev-db/mysql-5.0.18-r30 to =dev-db/mysql-5.0.19 broken
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-15 17:20 UTC by Peter Ansell
Modified: 2006-03-15 22:45 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Ansell 2006-03-15 17:20:19 UTC
The upgrade process from mysql-5.0.19 to 5.0.18-r30 leaves 5.0.18-r30 slotted, when this is clearly not the behaviour that is being desired.
I used 

emerge -av =dev-db/mysql-5*

This should have in my view upgraded the mysql-500 slot, even though I did not use the -u flag.

Even if the missing -u flag was an error, it is not right to allow two ebuilds to be in the same slot, (ie. -500)

#emerge --info
Portage 2.1_pre6-r2 (default-linux/x86/2005.0, gcc-3.4.5, glibc-2.3.6-r3, 2.6.15-gentoo-r7 i686)
=================================================================
System uname: 2.6.15-gentoo-r7 i686 Intel(R) Pentium(R) 4 CPU 2.00GHz
Gentoo Base System version 1.12.0_pre16
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [disabled]
dev-lang/python:     2.3.5, 2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=pentium4 -mfpmath=sse -msse2 -mmmx -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/openjms/config /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-Os -march=pentium4 -mfpmath=sse -msse2 -mmmx -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS=" ftp://mirror.internode.on.net/pub/gentoo ftp://ftp.swin.edu.au/gentoo ftp://ftp.planetmirror.com/pub/gentoo/ ftp://mirror.isp.net.au/pub/gentoo/"
LINGUAS="en_GB"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://mirror.internode.on.net/gentoo-portage"
USE="x86 3dfx X Xaw3d aac aalib acpi alsa apache2 apm arts avi bash-completion berkdb bitmap-fonts bzip2 c++ c3p0 cairo cjk cli crypt cups curl dba dbus divx4linux doc dri dvd dynagraph eds effects emboss encode enscript expat ffmpeg firefox foomaticdb fortran gcj gd gdbm gif gimp gnome gnustep gpm gstreamer gtk gtk2 gtkhtml hal iconv ieee1394 imlib ipv6 jack java javamail javascript jce jcs jikes jms jmx jpeg junit jython kde kerberos latex lcms ldap libg++ libwww mad math matroska mikmod mmx mmxext mng mod motif mp3 mpeg mysql mysqli ncurses network nls nsplugin nvidia objc ogg oggvorbis opengl oscache pam pam_console pdflib pear perl plotutils png ppds python qt quicktime readline real rtc samba scanner sdl session spell sse sse2 ssl svg tcltk tcpd tetex theora truetype truetype-fonts type1-fonts unicode usb utf8 vorbis wddx win32codecs winbind wmf wxwindows xine xinerama xml2 xmlrpc xmms xpm xsl xv xvid xvmc zlib elibc_glibc kernel_linux linguas_en_GB userland_GNU video_cards_nvidia"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS

# emerge -Cp mysql

>>> These are the packages that would be unmerged:

 dev-db/mysql
    selected: 5.0.18-r30 4.1.18-r30 5.0.19
   protected: none
     omitted: none 

# eselect mysql set 1
!!! Error: File "/usr/bin/mysql_explain_log-500" is not suitable for symlink (2)
exiting. 

The above bug looked at first like bug #121164, however the emerge -Cp command makes this different.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-03-15 18:35:12 UTC
Uhm, this is not a bug. "Unslotted" mysql is still installed into it's own slot (SLOT=0), you need to uninstall the other slotted versions manually as with any other slotted package. Read the following guide:


http://www.gentoo.org/doc/en/mysql-upgrade-slotted.xml
Comment 2 Peter Ansell 2006-03-15 22:45:44 UTC
(In reply to comment #1)
> Uhm, this is not a bug. "Unslotted" mysql is still installed into it's own slot
> (SLOT=0), you need to uninstall the other slotted versions manually as with any
> other slotted package. Read the following guide:
> 
> 
> http://www.gentoo.org/doc/en/mysql-upgrade-slotted.xml
> 

I had not heard of the unslotting news. Sorry for this, maybe this bug report will still provide this information to others. For example, even the name of the document is misleading still.