LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-30-2011, 12:43 AM   #1
thoufiq
LQ Newbie
 
Registered: Apr 2011
Posts: 22

Rep: Reputation: Disabled
Sub-Process /usr/bin/dpkg returned an error code


Hello All,
I am the new user of linux and i have installed ubuntu server 10.10. When giving the command sudo apt-get install mysql-server-5.1, it shows error like this

dpkg: error processing /var/cache/apt/archives/mysql-server-5.1_5.1.49-1ubuntu8.1_i386.deb
tryng to overwrite '/etc/init.d/mysql' , which is also in package mysql-server 5.1.49-1ubuntu8.1
No apport report written because MaxReports is reached already
Errors were encountered while processing:
/var/cache/apt/archives/mysql-server-5.1_5.1.49-1ubuntu8.1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


And i got the same error while giving sudo apt-get -f upgrade.


Thanks in advance
 
Old 04-30-2011, 10:29 PM   #2
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 312Reputation: 312Reputation: 312Reputation: 312
post the output of

Code:
sudo apt-get update && sudo apt-get install mysql-server
This is the metapackage that depends on the latest version of mysql-server.

It seems that you may already have the latest version installed (5.1.49-1ubuntu8.1.)
 
  


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
E: Sub-process /usr/bin/dpkg returned an error code (1) ashwani.sahni Ubuntu 1 05-14-2010 08:43 AM
Sub-process /usr/bin/dpkg returned an error code (1) yuri16 Linux - Software 6 09-03-2009 07:41 PM
E: Sub-process /usr/bin/dpkg returned an error code (1) shogun1234 Linux - Software 1 05-17-2008 09:03 AM
Sub-process /usr/bin/dpkg returned an error code kako13 Debian 2 05-15-2008 06:01 PM
Sub-process /usr/bin/dpkg returned an error code (1) rapattack Debian 10 04-24-2008 11:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:32 AM.

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