LinHES Forums http://forum.linhes.org/ |
|
Safest way to remove all lirc files without doing damage http://forum.linhes.org/viewtopic.php?f=14&t=5368 |
Page 1 of 1 |
Author: | shplad [ Sat Jul 16, 2005 11:20 am ] |
Post subject: | Safest way to remove all lirc files without doing damage |
Hi all: Well, my lirc is still only working intermittently. So, in an effort to try to get things working, I want to completely remove all traces of lirc files. Using the "whereis" or "locate" commands, I can see that there are actually lirc files in quite a few different directories. Can someone tell me how I could quickly delete all of them without having to find each one and remove it individually? "Apt-get remove" doesn't work when you didn't install it using Apt. ![]() thanks shplad |
Author: | shplad [ Tue Aug 16, 2005 2:39 pm ] |
Post subject: | |
Okay, well I tried reseating the card. That made no difference at all. So I removed the basics of lirc with "make uninstall" and that cleaned up a lot of the main lirc files. However, afterwards, when I ran a "find" command, I noticed there were still some files with lirc in their names. I also thought to look at Synaptic and there still seem to be some lirc-related .deb packages installed. Can anyone tell me if it's safe to remove these? (filenames found below) . Code: root@box:~# find / | grep lirc
/dev/lircresults.txt /home/mythtv/.lircrc /usr/include/lirc /usr/include/lirc/lirc_client.h /usr/lib/liblirc_client.a /usr/lib/liblirc_client.la /usr/lib/liblirc_client.so /usr/lib/liblirc_client.so.0 /usr/lib/liblirc_client.so.0.0.0 /usr/local/include/lirc /usr/share/aclocal/lirc.m4 /usr/share/doc/liblircclient-dev /usr/share/doc/liblircclient-dev/changelog.Debian.gz /usr/share/doc/liblircclient-dev/changelog.gz /usr/share/doc/liblircclient-dev/copyright /usr/share/doc/liblircclient0 /usr/share/doc/liblircclient0/changelog.Debian.gz /usr/share/doc/liblircclient0/changelog.gz /usr/share/doc/liblircclient0/copyright /usr/share/modass/packages/lirc-modules-source /usr/src/ivtv-0.3.2s/doc/README.lirc /usr/src/ivtv-0.3.2s/utils/lircd.conf /usr/src/ivtv-0.3.2s/utils/lircd-g.conf /var/lib/dpkg/info/liblircclient-dev.list /var/lib/dpkg/info/liblircclient-dev.md5sums /var/lib/dpkg/info/liblircclient0.list /var/lib/dpkg/info/liblircclient0.md5sums /var/lib/dpkg/info/liblircclient0.postinst /var/lib/dpkg/info/liblircclient0.postrm /var/lib/dpkg/info/liblircclient0.shlibs /var/lib/dpkg/info/lirc-modules-source.list /var/lib/dpkg/info/lirc-modules-source.postrm root@box:~# Thanks for your help and your patience. Newmoon |
Author: | toonces [ Wed Aug 17, 2005 12:43 pm ] |
Post subject: | couple of ways |
find / -name '*lirc*' -exec rm -f {} ";" or find / | grep lirc | xargs rm -f or find / -name '*lirc*' | while read fname do rm -f $fname done or for file in `find / | grep lirc` do rm -f $file done blah blah.. all should work |
Author: | shplad [ Wed Aug 17, 2005 2:35 pm ] |
Post subject: | EDIT: uninstalled lirc and reinstalled lirc-0.7.0 |
Well, apparently it wasn't such such a good idea to remove some of those files. I removed what was recommended. When I ran Mythfrontend from a console, I got some error to the effect of: "Myth could not start. The library or module lirc_client.so.o is missing " (Again, not the exact error, but something to that effect.) I had uninstalled the liblircclient0 0.7.1pre2-2 from Synaptic. Who knew Myth would refuse to start without it? Better yet, why was it even installed? I thought R5A12 only came with 0.7.0 installed. Anyways, I then uninstalled the liblircclient0 mentioned above and installed lirc 0.7.0 from source, according to Robert.pdx's revised HOWTO? I assumed that would install everything Myth would need. Wrong again. It complained again that Myth could not run without the lirc_client files. So I reinstalled just only the "liblircclient0" 0.7.1pre2-2" deb package, hoping that it wouldn't interfere with the 0.7.0 I installed from source. Wow, the remote worked perfectly. For about 15 minutes. Then it promptly stopped working again, exactly the way it had before I started this mess. (See my other thread, if you're kind enough.) Does anyone have any ideas? Is there a liblirccllient0 0.7.0 Deb available somewhere? Do I really need to have that deb installed when I already installed lirc from source? What else could be going wrong? I'm really ready to give up here. Somehow, I don't think lirc should be this difficult to troubleshoot. Thanks for any guidance. shplad |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |