Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge mysql problem after downgrade
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
agent_jdh
Veteran
Veteran


Joined: 08 Aug 2002
Posts: 1767
Location: Scotland

PostPosted: Tue Feb 23, 2010 10:06 pm    Post subject: emerge mysql problem after downgrade Reply with quote

Hi,

Portage downgraded mysql to 5.0.90-r2 due to 5.1 not working with embedded USE flag and Amarok. This was after I'd upgraded to 5.1 and started using a non-embedded dbase for Amarok, but now Amarok blocks mysql-5.1

Problem is, emerge -upDvN @world wants to pull mysql-5.1 back in as an upgrade, and the corresponding virtual package. Is there something else I'm missing here that will fix this beyond masking mysql >=5.1 in package.mask? Here's the portage output -

Code:
emerge -upDvN @world

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] dev-db/mysql-5.1.44 [5.0.90-r2] USE="community embedded perl ssl -big-tables -cluster -debug -extraengine -latin1 -max-idx-128 -minimal -profiling (-selinux) -static -test (-berkdb%*)" 22,853 kB                             
[ebuild     U ] virtual/mysql-5.1 [5.0] 0 kB                                                                           

Total: 2 packages (2 upgrades), Size of downloads: 22,853 kB

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

dev-db/mysql:0

  ('ebuild', '/', 'dev-db/mysql-5.1.44', 'merge') pulled in by
    =dev-db/mysql-5.1* required by ('ebuild', '/', 'virtual/mysql-5.1', 'merge')
    (and 1 more)

  ('installed', '/', 'dev-db/mysql-5.0.90-r2', 'nomerge') pulled in by
    =dev-db/mysql-5.0* required by ('installed', '/', 'virtual/mysql-5.0', 'nomerge')
    <dev-db/mysql-5.1 required by ('installed', '/', 'media-sound/amarok-2.2.2.90', 'nomerge')
    (and 1 more)

virtual/mysql:0

  ('ebuild', '/', 'virtual/mysql-5.1', 'merge') pulled in by
    =virtual/mysql-5.1 required by ('ebuild', '/', 'dev-db/mysql-5.1.44', 'merge')
    =virtual/mysql-5.1 required by ('installed', '/', 'x11-libs/qt-sql-4.6.2', 'nomerge')
    =virtual/mysql-5.1 required by ('installed', '/', 'dev-perl/DBD-mysql-4.01.3', 'nomerge')

  ('installed', '/', 'virtual/mysql-5.0', 'nomerge') pulled in by
    =virtual/mysql-5.0 required by ('installed', '/', 'dev-db/mysql-5.0.90-r2', 'nomerge')


The (and 1 more) part is interesting, but even using 't' option with emerge, it's not telling me anything particularly revealing. Why is portage wanting to upgrade mysql-5.1 if Amarok is specifically blocking it?
_________________
Jingle Jangle Jewellery
Back to top
View user's profile Send private message
aCOSwt
Veteran
Veteran


Joined: 19 Oct 2007
Posts: 1509
Location: Between the keyboard and the chair

PostPosted: Tue Feb 23, 2010 10:29 pm    Post subject: Re: emerge mysql problem after downgrade Reply with quote

agent_jdh wrote:
Why is portage wanting to upgrade mysql-5.1 if Amarok is specifically blocking it?

Well, with all respect I due to the Highland Park I had this evening as a nightcap... :wink: (This... I hope will excuse me if I am telling nonsense... :lol:)
I would say that :
1/ amarok requires mysql <= 5.1 (http://www.gentoo-portage.com/media-sound/amarok/Dep#ptabs)
2/ You must be ~arched => portage rightly propose you the latest non hardmasked version of mysql.
These two things are totally disconnected. (from portage point of view)
=> If you absolutely want amarok, then you should just ignore portage's suggestion. => do what you rightly suggested masking mysql > 5.1 in package.mask
Back to top
View user's profile Send private message
agent_jdh
Veteran
Veteran


Joined: 08 Aug 2002
Posts: 1767
Location: Scotland

PostPosted: Tue Feb 23, 2010 10:50 pm    Post subject: Reply with quote

Yeah, I was wondering if there was something else (other than just portage wanting to upgrade) that was trying to pull in mysql-5.1, thus conflicting with amarok's requirements. I'd have thought though that portage would have gone with the lowest common denominator, namely that an installed package is specifically blocking the new mysql and not attempt to upgrade it.

I'll just mask it anyway. By looking at the bug reports and commentary, hopefully there will be a solution to USE=embedded in Amarok and mysql-5.1.x at some point.

Mmmm .... Highland Park. A wee dash of Glenlivet for me this evening...
_________________
Jingle Jangle Jewellery
Back to top
View user's profile Send private message
aCOSwt
Veteran
Veteran


Joined: 19 Oct 2007
Posts: 1509
Location: Between the keyboard and the chair

PostPosted: Tue Feb 23, 2010 11:13 pm    Post subject: Reply with quote

agent_jdh wrote:
...I'd have thought though that portage would have gone with the lowest common denominator...

That would be imho a truly great suggestion, I would support for portage 3 !
Come on Gentoo-Devs, let's toast together... whatever you get in your glass...
Back to top
View user's profile Send private message
muhsinzubeir
l33t
l33t


Joined: 29 Sep 2007
Posts: 913
Location: /home/muhsin

PostPosted: Wed Feb 24, 2010 8:17 am    Post subject: Reply with quote

Well few days ago portage wanted upgrade of MYSQL, I did so and overcomed this embedded issues by uninstalling amarok and upgrade Mysql.After that I followed the recommendation

Quote:
revdep-rebuild --library libmysqlclient.so.15


After this is done, I went back and install Amarok again.But that was few days ago, and now everything works fine...BUT portage wants to downgrade Mysql :evil:
Are you kidding me?

Quote:
[ebuild UD] dev-db/mysql-5.0.90-r2 [5.1.44] USE="berkdb%* community embedded perl ssl -big-tables -cluster -debug -extraengine -latin1 -max-idx-128 -minimal -profiling (-selinux) -static -test" 21,777 kB
[ebuild UD] virtual/mysql-5.0 [5.1] 0 kB


P:S
**I have just masked anything lower than 5.1, to save myself from the troubles i.e
Quote:
echo "<=dev-db/mysql-5.0.90-r2" >> /etc/portage/package.mask

_________________
~x86
p5k-se
Intel Core 2 Duo
Nvidia GT200
http://www.zanbytes.com
Back to top
View user's profile Send private message
agent_jdh
Veteran
Veteran


Joined: 08 Aug 2002
Posts: 1767
Location: Scotland

PostPosted: Wed Feb 24, 2010 5:56 pm    Post subject: Reply with quote

@muhsinzubeir

I did EXACTLY the same thing, but followed through with the downgrade, because to be honest I prefer not running mysql as a daemon.
_________________
Jingle Jangle Jewellery
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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