| Author |
Message |
tyesbo
|
|
Post subject: Can't install mysql-server
Posted: 06.05.2011, 12:10
|
|

Joined: 2011-05-05
Posts: 5
Status: Offline
|
|
Hey everyone,
I can't install mysql-server, dependency problem.
Code:
apt-get install mysql-server
The following packages have unmet dependencies:
mysql-server : Depends: mysql-server-5.1 but it is not going to be installed
The following packages have unmet dependencies:
libdbd-mysql-perl: Depends: perlapi-5.10.1 which is a virtual package.
I feel this is related to perl being broken in sid at the moment, any other way to get mysql-server installed? I don't need to use mysql in perl at the moment, can I safely force this install? |
|
|
| |
|
|
|
 |
DonKult
|
|
Post subject: RE: Can
Posted: 06.05.2011, 12:35
|
|
Team Member

Joined: 2010-09-02
Posts: 416
Status: Offline
|
|
You can't force APT to ignore dependencies (by design). You might not need perl to work with mysql - but are you sure that mysql doesn't need perl to work for you?
You can try to get mysql-server from testing. Might work with a bit of forcing like: apt-get install mysql-server-5.1/testing
You properly need to add more packages to that line through… |
_________________ MfG. DonKult
"I never make stupid mistakes. Only very, very clever ones." ~ The Doctor
|
| |
|
|
|
 |
tyesbo
|
|
Post subject:
Posted: 06.05.2011, 13:14
|
|

Joined: 2011-05-05
Posts: 5
Status: Offline
|
|
Ok I got it working. Thank you DonKult for the help.
Here is what I used for info:
Code:
apt-get install perl/testing libaudio-scrobbler-perl/testing libcurses-perl/testing libcurses-ui-perl libexpect-perl/testing libhtml-parser-perl/testing libhtml-tree-perl/testing libio-pty-perl/testing liblocale-gettext-perl/testing libterm-readkey-perl/testing libtext-charwidth-perl/testing libtext-iconv-perl/testing libtext-wrapi18n-perl/testing libwww-perl/testing libxml-parser-perl/testing irssi/testing xchat/testing mysql-server-5.1/testing mysql-client-5.1/testing libdbi-perl/testing mysql-server-core-5.1/testing
Wasn't there a simpler way though? Can't we tell apt-get to downgrade everything that needs to be downgraded to testing for installing mysql-server-5.1? |
|
|
| |
|
|
|
 |
DonKult
|
|
Post subject:
Posted: 06.05.2011, 13:40
|
|
Team Member

Joined: 2010-09-02
Posts: 416
Status: Offline
|
|
|
tyesbo wrote:
Wasn't there a simpler way though? Can't we tell apt-get to downgrade everything that needs to be downgraded to testing for installing mysql-server-5.1?
If you are installing from a release below unstable like experimental usually '-t experimental' works, but especially if you have to downgrade to a release above unstable like testing you have to force it in that way usually. Depends a bit on the situation through.
See also the manual http://manual.aptosid.com/en/sys-admin- ... -downgrade |
_________________ MfG. DonKult
"I never make stupid mistakes. Only very, very clever ones." ~ The Doctor
|
| |
|
|
|
 |
slh
|
|
Post subject:
Posted: 06.05.2011, 13:45
|
|

Joined: 2010-08-25
Posts: 584
Status: Offline
|
|
There's a very simple solution to this, showing a little patience to get the perl transition finish - then installing mysql will just work.
But it's the nature of Debian sid/unstable to be the staging area for (sometimes large scale) transitions. With only little care about what apt tells you, you can avoid losing packages on dist-upgrades (and not doing the dist-upgrade in the middle of 'painful' transitions), but not everything is installable from scratch at all time. |
|
|
| |
|
|
|
 |
tyesbo
|
|
Post subject:
Posted: 06.05.2011, 14:11
|
|

Joined: 2011-05-05
Posts: 5
Status: Offline
|
|
Yes patience would have worked too, unfortunately I had to get work done today and have no idea when this will be fixed. Plus I learned something new and I'm always looking forward to that. (Even if it involves losing some hair).
Thanks guys. |
|
|
| |
|
|
|
 |
piper
|
|
Post subject:
Posted: 07.05.2011, 07:43
|
|
Moderator

Joined: 2010-09-11
Posts: 467
Location: cheektowaga, ny
Status: Offline
|
|
|
slh wrote:
There's a very simple solution to this, showing a little patience to get the perl transition finish - then installing mysql will just work
patience is a must in sid
within the last 8 hours here
Code:
The following packages will be REMOVED:
aptosid-irc bum hpijs hplip-cups irssi libcairo-perl libdbd-mysql-perl libgtk2-perl libhpmud0 libpango-perl libperl5.10
libsane-hpaio libsnmp15 mysql-client-5.1 mysql-server mysql-server-5.1 mythmusic mythnetvision mythtv mythtv-backend
mythtv-common mythtv-database mythtv-frontend mythtv-themes mythvideo mythweather virtualbox-ose-guest-x11
to this
Code:
The following packages will be REMOVED:
hpijs hplip-cups libhpmud0 libperl5.10 libsane-hpaio libsnmp15 virtualbox-ose-guest-x11
|
|
|
| |
|
|
|
 |
|
|