DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am stuck in some kind of limbo state while trying to fix my mysql installation.
I had mysql server 5.0 working first. when it start to have trouble, I tried reinstallation. it keeps failiing. I tried to downgrade to 4.1, still fails. I tried remove everything, but nothing works. the error is
debian:/var/cache/apt/archives# apt-get install mysql-server
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
mysql-server-4.1
The following NEW packages will be installed
mysql-server mysql-server-4.1
0 upgraded, 2 newly installed, 0 to remove and 1 not upgraded.
Need to get 0B/17.2MB of archives.
After unpacking 38.4MB of additional disk space will be used.
Do you want to continue [Y/n]?
Preconfiguring packages ...
(Reading database ... 21385 files and directories currently installed.)
Unpacking mysql-server-4.1 (from .../mysql-server-4.1_4.1.15-1_i386.deb) ...
Aborting downgrade from (at least) 5.0 to 4.1.
dpkg: error processing /var/cache/apt/archives/mysql-server-4.1_4.1.15-1_i386.de b (--unpack):
subprocess pre-installation script returned error exit status 1
Selecting previously deselected package mysql-server.
Unpacking mysql-server (from .../mysql-server_4.1.15-1_all.deb) ...
Errors were encountered while processing:
/var/cache/apt/archives/mysql-server-4.1_4.1.15-1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
is there anyway to save this linux installation without starting from scratch? it took about two days worth of work to get to its current state.
no, won't budge. and not a hint shows up in /var/log/messages.
when you say try testing if stable, you mean restart linux install from scratch? that's what I am trying to avoid.
then installed 5.0 directly
apt-get install mysql-server-5.0
this time, it installed ok, and mysql server started running.
I did all these before and couldn't get it to work. still don't know what's the differnece this time. but the linux installation and two days of time are saved. thanks a million to all!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.