LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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, 10: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, 10: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, 10: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, 12:12 PM   #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, 05: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


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


All times are GMT -5. The time now is 04:36 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration