LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-19-2005, 06:49 AM   #1
Kanon
Member
 
Registered: Sep 2004
Location: Norge
Distribution: Debian
Posts: 116

Rep: Reputation: 15
Unhappy installed apt, sql is dead


I usually check both update and upgrade with apt-get. But a few weeks ago I noticed there where alot of stuff that was held back (?). So I after a few days I wanted to see if I could install them manualy. So I started with apt since that was first in line.
After the install my Mysql server will not start. All I get is "...failed".

So now Im loooost and new a little help for you ppl! Any suggestions on where to start?
 
Old 07-20-2005, 05:31 PM   #2
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 48
Deiban is going through a major gcc upgrade at the moment which means that things are very unstable. Also xorg is now the sxerver instead of xfree86.

These things to build up before a release, and now Sarge is out all the major reworking and upgrades can begin. It will probably settle down in a few days. ( may take longer C++ ABI upgrades are difficult ).

Try reverting SQL back to a previous version.
 
Old 07-21-2005, 02:46 AM   #3
Kanon
Member
 
Registered: Sep 2004
Location: Norge
Distribution: Debian
Posts: 116

Original Poster
Rep: Reputation: 15
Yes, I'v noticed. Its a bummer to be a fairly n00b and just starting to get to know the install rutines just to have them changed.

SQL is not upgraded (I think). The problem started after I installed the apt package.
Can I do a new install over the old one? And keep the db?

Tnx for your help, again, leonscape!
 
Old 07-21-2005, 02:51 PM   #4
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 48
Yes you can, you can specify the old version of MySQL ( and/or apt ), or wait to a new version is ready to go upgrade. The APT HOWTO has the details about doing this sort of stuff.
 
Old 07-22-2005, 02:49 AM   #5
Kanon
Member
 
Registered: Sep 2004
Location: Norge
Distribution: Debian
Posts: 116

Original Poster
Rep: Reputation: 15
I started to read the how-to (tnx btw!) and got some ideas. This is the result:

Code:
kanon:/# apt-get upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages have been kept back:
  apache apache-common base-config console-common console-tools cupsys cupsys-bsd cupsys-client debi
  lynx mc mount php4 php4-mysql proftpd proftpd-common samba samba-common shellutils sysvinit taskse
The following packages will be upgraded:
  mysql-server
1 upgraded, 0 newly installed, 0 to remove and 35 not upgraded.
2 not fully installed or removed.
Need to get 3645kB of archives.
After unpacking 1241kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 ftp://ftp.no.debian.org stable/main mysql-server 4.0.24-10 [3645kB]
Fetched 3645kB in 50s (72.9kB/s)
Preconfiguring packages ...
(Reading database ... 11788 files and directories currently installed.)
Preparing to replace mysql-server 3.23.49-8.13 (using .../mysql-server_4.0.24-10_i386.deb) ...
Stopping MySQL database server: mysqld.
ERROR: There's not enough space in /var/lib/mysql/
dpkg: error processing /var/cache/apt/archives/mysql-server_4.0.24-10_i386.deb (--unpack):
 subprocess pre-installation script returned error exit status 1
Stopping MySQL database server: mysqld.
Errors were encountered while processing:
 /var/cache/apt/archives/mysql-server_4.0.24-10_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
kanon:/#
There is enough space, I just copied over a 1Gb file to the /var/lib/mysql dir with 0 problems. Deleted the file right after.

The rights are 755 all the way too.

Last edited by Kanon; 07-22-2005 at 02:51 AM.
 
Old 07-23-2005, 04:42 AM   #6
Kanon
Member
 
Registered: Sep 2004
Location: Norge
Distribution: Debian
Posts: 116

Original Poster
Rep: Reputation: 15
Solution:

apt-get coreutils
apt-get update

Check the date too!
 
Old 07-26-2005, 02:15 PM   #7
Kanon
Member
 
Registered: Sep 2004
Location: Norge
Distribution: Debian
Posts: 116

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by leonscape
Yes you can, you can specify the old version of MySQL ( and/or apt ), or wait to a new version is ready to go upgrade. The APT HOWTO has the details about doing this sort of stuff.
The apt-how-to is great! I allways wanted to know how to find apps with apt!

Tnx, leonscape!!!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
HELP!!! Installed kde 3392 rpms keyboard dead inside kde, working in shell hansschmucker SUSE / openSUSE 1 02-13-2005 08:01 PM
PostgreSQL: Installed 7.4 on Redhat 9.0 but can't run pgcrypto.sql. gregmcavoy Linux - Software 0 12-29-2003 11:37 AM
Installed All software updates, graphics are now dead Tenover Linux - Newbie 1 09-03-2003 04:46 PM
ALSA installed, kmix dead, slack 9, what now? PhatZero Slackware 5 06-12-2003 02:29 AM
installed RedHat, now USB is dead nothlit Linux - Software 1 11-25-2001 04:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration