Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
MySQL Upgrade + gnupg
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc
View previous topic :: View next topic  
Author Message
marky9074
Apprentice
Apprentice


Joined: 24 Sep 2004
Posts: 196
Location: UK

PostPosted: Tue Jan 09, 2007 9:30 am    Post subject: MySQL Upgrade + gnupg Reply with quote

Before I upgrade MySQL I just want to check and make sure no Sparc users have had issues. If it is as straight forward as the docs then should not be a problem.

Quote:
Code Listing 1.1: Straight upgrade from 4.1 to 5.0.*

# quickpkg dev-db/mysql
# alias MYSQL="mysql --user=root --password='your_password'"
# DATADIR=$(MYSQL --batch --raw --silent --skip-column-names \
--execute='SHOW variables LIKE "datadir";' \
| sed -e 's|datadir[ \t]||')

(This next step should be done in the second shell)
# mysql --user=root --password='your_password'"
mysql> FLUSH TABLES WITH READ LOCK;

(Return to the first shell to run this command)
# tar -cjpvf ~/mysql.$(date +%F"T"%H-%M).tar.bz2 \
/etc/conf.d/mysql /etc/mysql/my.cnf "${DATADIR}"

(The following commands should be done in the second shell)
mysql> UNLOCK TABLES;
mysql> quit

(Return to the first shell for the rest of the upgrade)
# tar -tjvf ~/mysql.*.tar.bz2
# emerge -av ">dev-db/mysql-5.0"
# dispatch-conf
# revdep-rebuild
# /etc/init.d/mysql restart
# mysql_upgrade_shell --user=root --password='your_password' \
--protocol=tcp --datadir="${DATADIR}"
# /etc/init.d/mysql restart
# unset DATADIR
# unalias MYSQL


Also, the last few times I have tried to emerge gnupg it seems to do it, but when I check again, it is still labelled as a package to be installed.....has anyone else had issues with this the last few months?

Thanks,

Mark
Back to top
View user's profile Send private message
marky9074
Apprentice
Apprentice


Joined: 24 Sep 2004
Posts: 196
Location: UK

PostPosted: Wed Jan 10, 2007 3:11 pm    Post subject: Reply with quote

OK, I went ahead and done it anyway, and predictably run into trouble....

Quote:
mysql --user=root --password='your_password'"


Should be no " at the end.

Quote:
tar -tjvf ~/mysql.*.tar.bz2


tar: /root/mysql.2007-01-10T09-13.tar.bz2: Not found in archive
tar: Error exit delayed from previous errors

Quote:
revdep-rebuild


* Failed Running autoconf !
*
* Include in your bugreport the contents of:
*
* /var/tmp/portage/courier-authlib-0.58/temp/autoconf-17662.out


!!! ERROR: net-libs/courier-authlib-0.58 failed.
Call stack:
ebuild.sh, line 1546: Called dyn_unpack
ebuild.sh, line 708: Called src_unpack
courier-authlib-0.58.ebuild, line 56: Called eautoreconf
autotools.eclass, line 88: Called eautoconf
autotools.eclass, line 161: Called autotools_run_tool 'autoconf'
autotools.eclass, line 248: Called die
Back to top
View user's profile Send private message
marky9074
Apprentice
Apprentice


Joined: 24 Sep 2004
Posts: 196
Location: UK

PostPosted: Wed Jan 10, 2007 3:12 pm    Post subject: Reply with quote

But.....at the end of the day it does all seem to be working, so it cannot have been that bad!

Mark
Back to top
View user's profile Send private message
marky9074
Apprentice
Apprentice


Joined: 24 Sep 2004
Posts: 196
Location: UK

PostPosted: Wed Jan 10, 2007 4:48 pm    Post subject: Reply with quote

Tried to manually emerge courier-authlib but got this error:

marky ~ # more /var/tmp/portage/courier-authlib-0.58/temp/autoconf-27323.out
***** autoconf *****

configure.in:26: error: possibly undefined macro: AC_PROG_SYSCONFTOOL
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.


Any ideas?
Back to top
View user's profile Send private message
marky9074
Apprentice
Apprentice


Joined: 24 Sep 2004
Posts: 196
Location: UK

PostPosted: Sun Jan 14, 2007 4:30 pm    Post subject: Reply with quote

https://bugs.gentoo.org/show_bug.cgi?id=160286
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum