LinuxQuestions.org
Help answer threads with 0 replies.
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 08-02-2009, 08:56 PM   #1
vockleya
Member
 
Registered: Aug 2009
Posts: 87

Rep: Reputation: 16
dpkg error during any apt command


I was trying to install mythtv and hit ctrl-c in the wrong window. I stopped mid-installation, and now every time i run an apt command, I get an error message. The following is a transcript of everything that happened after running the command.

Code:
aaron-desktop:~ aaron$ sudo apt-get remove mythtv-backend
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  mythtv-backend
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 3064kB disk space will be freed.
Do you want to continue [Y/n]? 
(Reading database ... 258549 files and directories currently installed.)
Removing mythtv-backend ...
ln: creating symbolic link `/home/mythtv/.mythtv/mysql.txt': File exists
invoke-rc.d: initscript mythtv-backend, action "stop" failed.
dpkg: error processing mythtv-backend (--remove):
 subprocess pre-removal script returned error exit status 1
ln: creating symbolic link `/home/mythtv/.mythtv/mysql.txt': File exists
invoke-rc.d: initscript mythtv-backend, action "start" failed.
dpkg: error while cleaning up:
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 mythtv-backend
E: Sub-process /usr/bin/dpkg returned an error code (1)
aaron-desktop:~ aaron$
I have tried the following commands, but none of them helped.
Code:
dpkg-reconfigure mythtv-backened
dpkg --configure -a
Please help.
 
Old 08-03-2009, 12:20 AM   #2
AleLinuxBSD
Member
 
Registered: May 2006
Location: Italy
Distribution: Ubuntu, ArchLinux, Debian, SL, OpenBSD
Posts: 274

Rep: Reputation: 42
Remove Mythtv-backend errors [Archive] - Ubuntu Forums

How to totally remove mythtv?

I hope that these links could help you.
 
Old 08-03-2009, 09:49 AM   #3
vockleya
Member
 
Registered: Aug 2009
Posts: 87

Original Poster
Rep: Reputation: 16
That wansn't quite what I was looking for. Like I said, mythtv-backend is not completely installed, because apt was stopped mid-installation. I want to install the rest of mythtv, but I get errors because dependencies are not met (mythtv-backend isn't working and isn't fully installed). I want to completely reinstall the mythtv-backend, but i can't. I have tried every apt-get command (install, remove and purge) and have even tried to reconfigure the package through dpkg, but get errors every time.

During the install process, it appears to be looking at a symlink in my ~/.mythtv folder. The link is there, but the file it is linking to, /etc/mythtv/mysql.txt, doesn't exist. This seems to be where the problem comes from, but I am not sure. When I try to install the main mythtv package to get this config file to appear, I get the same error as in my previous post, and a then an error that there are now 2 packages that are not fully installed. That folder is never created.
 
  


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
apt-get error dpkg: ... not found on PATH linuxfia Ubuntu 7 12-02-2008 02:41 PM
apt-get / dpkg error caused by aspell amon Debian 1 04-14-2005 03:09 PM
apt-get upgrade error in dpkg (--unpack) for gcc,g++ forgox Debian 4 08-29-2004 04:22 PM
apt-get upgrade error in dpkg (--unpack) for gcc,g++ forgox Linux - Newbie 0 08-28-2004 02:23 PM

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

All times are GMT -5. The time now is 09:08 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