LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 08-19-2003, 09:17 AM   #1
jrmann1999
Member
 
Registered: Feb 2001
Location: Texas
Distribution: Slackware, Mandrake, LFS
Posts: 306

Rep: Reputation: 30
Apt remove problems


I installed mythtv about 3 months ago and had my database backend on a different server, I have since changed that to hold the database on the same machine as the mythtv frontend. I attempted to reconfigure it, broke it, so I thought I"d reinstall it. I used an apt-get remove mythtv and all it's relevent parts, then did an apt-get mythtv, lo and behold the database backend is STILL LOOKING TO INSTALL WITH THE OLD SETTINGS. What on earth do I need to delete to get dpkg to reconfigure from scratch?
 
Old 08-19-2003, 09:23 AM   #2
_kossak_
Member
 
Registered: Apr 2003
Location: Minde. Portugal
Distribution: DEBIAN
Posts: 87

Rep: Reputation: 15
Try dpkg --purge mythtv and then reinstall it.
 
Old 08-19-2003, 09:34 AM   #3
jrmann1999
Member
 
Registered: Feb 2001
Location: Texas
Distribution: Slackware, Mandrake, LFS
Posts: 306

Original Poster
Rep: Reputation: 30
Tried, it's still pulling configuration information from somewhere I can't find and trying to contact the db server on an invalid IP address.
 
Old 08-19-2003, 11:12 AM   #4
_kossak_
Member
 
Registered: Apr 2003
Location: Minde. Portugal
Distribution: DEBIAN
Posts: 87

Rep: Reputation: 15
If the package was configured using debconf when you first installed it, there's a cache of that initial configuration somehere under /var/lib/debconf (or something like that).
If that's the case you should delete that cache.
It's a plain text file so you can grep that file.
 
Old 08-19-2003, 04:21 PM   #5
jrmann1999
Member
 
Registered: Feb 2001
Location: Texas
Distribution: Slackware, Mandrake, LFS
Posts: 306

Original Poster
Rep: Reputation: 30
/var/cache/debconf/config.dat had an entry for that old IP address. thanks for the tip!
 
  


Reply



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 install/remove error tsitras Debian 4 02-26-2006 02:49 AM
apt-get remove zaicheke Debian 7 10-29-2004 11:36 AM
HELP with apt-getHow come when I tried to use apt-get to remove a package to regain redss Linux - Newbie 1 08-22-2004 11:59 PM
apt-get remove and dependencies wrongman Debian 3 05-21-2004 03:57 PM
after 'apt-get remove --purge', it's still there (?) johnMG Debian 2 09-25-2003 08:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

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