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
 
LinkBack Search this Thread
Old 04-04-2008, 10:48 AM   #1
gabsik
Member
 
Registered: Dec 2005
Location: italia
Distribution: Debian etch stable
Posts: 532

Rep: Reputation: 30
Exclamation Debian Sub-process /usr/bin/dpkg returned an error code (1)


Code:
root@www:~# apt-get install mysql-server mysql-server-5.0
Lettura della lista dei pacchetti in corso... Fatto
Generazione dell'albero delle dipendenze in corso... Fatto
mysql-server è già alla versione più recente.
mysql-server-5.0 è già alla versione più recente.
0 aggiornati, 0 installati, 0 da rimuovere e 0 non aggiornati.
2 non completamente installati o rimossi.
È necessario prendere 0B di archivi.
Dopo l'estrazione, verranno occupati 0B di spazio su disco.
Configuro mysql-server-5.0 (5.0.32-7etch5) ...
Stopping MySQL database server: mysqld.
Starting MySQL database server: mysqld . . . . . . . . . . . . . . failed!
invoke-rc.d: initscript mysql, action "start" failed.
dpkg: errore processando mysql-server-5.0 (--configure):
 il sottoprocesso post-installation script ha restituito un codice di errore 1
dpkg: problemi con le dipendenze impediscono la configurazione di mysql-server:
 mysql-server dipende da mysql-server-5.0; comunque:
  Il pacchetto mysql-server-5.0 non è ancora configurato.
dpkg: errore processando mysql-server (--configure):
 problemi con le dipendenze - lasciato non configurato
Sono occorsi degli errori processando:
 mysql-server-5.0
 mysql-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
I run Debian Etch it's probably the only common error with no solution i find in debian . Google is full of people having this problem but it's never the same solution . It happens once in a while but it does happen and i tryied with apt-get -f install , i commented all the non stable repositories , that's how my /etc/apt/sources.list looks now :
Code:
deb http://ftp.it.debian.org/debian/ etch main contrib non-free
deb-src http://ftp.it.debian.org/debian/ etch main contrib non-free

deb http://security.debian.org/ etch/updates main contrib non-free
deb-src http://security.debian.org/ etch/updates main contrib non-free
That's how was before
Code:
gabrix@www:~$ sudo cat /etc/apt/sources.list
#
# deb cdrom:[Debian GNU/Linux 4.0 r3 _Etch_ - Official i386 NETINST Binary-1 20080218-14:15]/ etch contrib main

#deb cdrom:[Debian GNU/Linux 4.0 r3 _Etch_ - Official i386 NETINST Binary-1 20080218-14:15]/ etch contrib main

deb http://ftp.it.debian.org/debian/ etch main contrib non-free
deb-src http://ftp.it.debian.org/debian/ etch main contrib non-free

deb http://security.debian.org/ etch/updates main contrib non-free
deb-src http://security.debian.org/ etch/updates main contrib non-free

##BACKPORTS
#deb http://www.backports.org/debian/ etch-backports main contrib non-free
#deb-src http://www.backports.org/debian/ etch-backports main contrib non-free

##TOR
#deb http://mirror.noreply.org/pub/tor etch main
#deb-src http://mirror.noreply.org/pub/tor etch main

##MULTIMEDIA
#deb http://www.debian-multimedia.org etch main
#deb-src http://www.debian-multimedia.org etch main

##SKYPE
#deb http://download.skype.com/linux/repos/debian/ stable non-free

##OPERA
#deb http://deb.opera.com/opera/ etch non-free

##BERYL
#deb http://debian.beryl-project.org/ etch main
#deb-src http://debian.beryl-project.org/ etch main

##VIRTUALBOX
#deb http://www.virtualbox.org/debian etch non-free

### PLONE
#deb http://www.backports.org/debian etch-backports main
Please whatever else you need to solve the issue just ask , thanks !
 
Old 08-29-2008, 10:07 AM   #2
odcheck
Member
 
Registered: Aug 2006
Distribution: Fedora, CentOS, RHEL, Debian
Posts: 977

Rep: Reputation: 30
i read some post. not sure where, but it instruct me to change some configuration in
/etc/mysql/my.cnf

i comment this block

Code:

log-bin=mysql-bin


and reinstall the package

apt-get install --reinstall mysql-server

and it works..
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sub-Process /usr/bin/dpkg returned an error code (1) Bookspoppa Debian 30 04-14-2012 07:48 PM
Input/Output Error; dpkg sub-process /usr/bin/dpkg returned and error code (2) NosLycn Linux - Software 7 12-12-2011 02:50 AM
Perl-Base - Not Installing (Sub-process /usr/bin/dpkg returned an error code (1) lazyboy994 Linux - Software 0 02-03-2008 10:45 PM
Sub-process /usr/bin/dpkg returned an error code (1) adrian1979 Debian 1 11-12-2006 09:14 PM
Synaptic error: "sub-process /usr/bin/dpkg returned an error code (2)" firefly2442 Linux - Software 3 02-04-2004 06:41 PM


All times are GMT -5. The time now is 12:43 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration