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 04-26-2014, 12:05 PM   #1
ghostinthecode
LQ Newbie
 
Registered: Apr 2014
Location: Virginia Beach VA
Distribution: Fedora 19, Debian, Kali
Posts: 9

Rep: Reputation: Disabled
Removing un-needed programs


My problem all started with Firefox. I, like many other's I found, was having issues with Firefox freezing up. Looking for other options, I installed Konqueror, which I didn't really like. I eventualy solved my Firefox problems, and removed Konqueror.

Now, I run Fedora 19 with the gnome desktop on a slightly older laptop, so when I removed Konqueror, I decided to remove a few programs that I hadn't used yet(almost a year after installing the OS), or didn't plan to use in the near future. Sorting through, I found nepomuck backup and cleaner. After a little research I found out these are KDE programs, and were likely installed as dependancies for Konqueror. I found the binary files under /bin, but for some reason cannot remove then. Running

sudo yum remove nepomukbackup

for example, returns:

Loaded plugins: langpacks, refresh-packagekit
No Match for argument: nepomukbackup
No Packages marked for removal


I tried again, thinking I mistyped the name, and instead copy-pasted it direclty from the listing after running ls | grep nepomuk. Same thing. I know it's there, but for some reason yum remove doesn't recognize it.

There is no reason to have these KDE programs on my machine, as I had already removed Konqueror. Any suggestions?
 
Old 04-26-2014, 12:48 PM   #2
DJ Shaji
Member
 
Registered: Dec 2004
Location: Yo Momma's house
Distribution: Fedora Rawhide, ArchLinux
Posts: 518
Blog Entries: 15

Rep: Reputation: 106Reputation: 106
Lightbulb

To find out which package a file belongs to, use the helpful
Code:
rpm -qf <file name>
Apparently nepomukbackup belongs to nepomuk-core-4.10.5-1.fc17

So you have to run
Code:
nepomuk-core-4.10.5-1.fc17
rpm has tonnes of query optinos that let you search for all kinds of information about packages.
Code:
rpm -ql
lists all files in a package, for example. Running it on the package in question gives

Code:
dj@love:~$ rpm -ql nepomuk-core-4.10.5-1.fc17.x86_64
/usr/bin/nepomuk-simpleresource-rcgen
/usr/bin/nepomuk2-rcgen
/usr/bin/nepomukbackup
/usr/bin/nepomukcleaner
/usr/bin/nepomukindexer
/usr/bin/nepomukserver
/usr/bin/nepomukservicestub
/usr/lib64/kde4/nepomukexiv2extractor.so
/usr/lib64/kde4/nepomukfileindexer.so
/usr/lib64/kde4/nepomukfilewatch.so
/usr/lib64/kde4/nepomukplaintextextractor.so
/usr/lib64/kde4/nepomukpopplerextractor.so
/usr/lib64/kde4/nepomukstorage.so
/usr/lib64/kde4/nepomuktaglibextractor.so
/usr/lib64/libkdeinit4_nepomukserver.so
/usr/share/applications/kde4/nepomukbackup.desktop
/usr/share/applications/kde4/nepomukcleaner.desktop
/usr/share/autostart/nepomukserver.desktop
/usr/share/dbus-1/interfaces/org.kde.NepomukServer.xml
/usr/share/dbus-1/interfaces/org.kde.nepomuk.BackupManager.xml
/usr/share/dbus-1/interfaces/org.kde.nepomuk.DataManagement.xml
/usr/share/dbus-1/interfaces/org.kde.nepomuk.FileIndexer.xml
/usr/share/dbus-1/interfaces/org.kde.nepomuk.OntologyManager.xml
/usr/share/dbus-1/interfaces/org.kde.nepomuk.Query.xml
/usr/share/dbus-1/interfaces/org.kde.nepomuk.QueryService.xml
/usr/share/dbus-1/interfaces/org.kde.nepomuk.ResourceWatcher.xml
/usr/share/dbus-1/interfaces/org.kde.nepomuk.ResourceWatcherConnection.xml
/usr/share/dbus-1/interfaces/org.kde.nepomuk.ServiceControl.xml
/usr/share/dbus-1/interfaces/org.kde.nepomuk.ServiceManager.xml
/usr/share/dbus-1/interfaces/org.kde.nepomuk.Storage.xml
/usr/share/doc/nepomuk-core-4.10.5
/usr/share/doc/nepomuk-core-4.10.5/COPYING.LGPL-2
/usr/share/doc/nepomuk-core-4.10.5/COPYING.LGPL-2.1
/usr/share/doc/nepomuk-core-4.10.5/COPYING.LGPL-3
/usr/share/doc/nepomuk-core-4.10.5/README
/usr/share/doc/nepomuk-core-4.10.5/nepomuk-inotify.conf
/usr/share/kde4/apps/fileindexerservice
/usr/share/kde4/apps/fileindexerservice/nepomukfileindexer.notifyrc
/usr/share/kde4/apps/nepomukfilewatch
/usr/share/kde4/apps/nepomukfilewatch/nepomukfilewatch.notifyrc
/usr/share/kde4/apps/nepomukstorage
/usr/share/kde4/apps/nepomukstorage/nepomukstorage.notifyrc
/usr/share/kde4/services/nepomukactivitiesservice.desktop
/usr/share/kde4/services/nepomukbackupsync.desktop
/usr/share/kde4/services/nepomukexiv2extractor.desktop
/usr/share/kde4/services/nepomukfileindexer.desktop
/usr/share/kde4/services/nepomukfilewatch.desktop
/usr/share/kde4/services/nepomukontologyloader.desktop
/usr/share/kde4/services/nepomukplaintextextractor.desktop
/usr/share/kde4/services/nepomukpopplerextractor.desktop
/usr/share/kde4/services/nepomukqueryservice.desktop
/usr/share/kde4/services/nepomukremovablestorageservice.desktop
/usr/share/kde4/services/nepomukstorage.desktop
/usr/share/kde4/services/nepomukstrigiservice.desktop
/usr/share/kde4/services/nepomuktaglibextractor.desktop
/usr/share/kde4/servicetypes/nepomukextractor.desktop
/usr/share/kde4/servicetypes/nepomukservice.desktop
/usr/share/ontology/kde
/usr/share/ontology/kde/kext.ontology
/usr/share/ontology/kde/kext.trig
/usr/share/ontology/kde/kuvo.ontology
/usr/share/ontology/kde/kuvo.trig
/usr/share/ontology/kde/nrio.ontology
/usr/share/ontology/kde/nrio.trig
Happy uninstalling!

Last edited by DJ Shaji; 04-26-2014 at 12:49 PM. Reason: Rang Sapling
 
Old 04-26-2014, 02:44 PM   #3
ghostinthecode
LQ Newbie
 
Registered: Apr 2014
Location: Virginia Beach VA
Distribution: Fedora 19, Debian, Kali
Posts: 9

Original Poster
Rep: Reputation: Disabled
So, now what

Alright. Using rpm -qf nepomukbackup the current version I have is nepomuk-core-4.11.5-1.fc19.x86_64. I tried to run rpm -e nepomuk-core-4.11.5-1.fc19.x86_64, and it came back two dependancies. The first was nepomuk-core-libs-4.11.5-1.fc19.x86_64. When I ran rpm -e on it, it came back failed due to dependancy on nepomuk-core-4.11.5-1.fc19.x86_64. It's a catch 22. I'm new to using rpm directly. Is there an easy way to handle this dependancy issue?
 
Old 04-26-2014, 03:19 PM   #4
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
there isn't. i've been there.
not with kde, but the scenario is the same.
that's why it's called desktop environment - there's all those interdependencies and as long as you use the DE as it is, that's a good thing.

as i said, i've been there, and in the long run the best and maybe only real solution is to go the other way:
install a barebones system and start padding it out with what you need - and only what you need.

as an example, this worked nicely with my current archlinux install. i'm running a "homebrew" openbox environment and i'm totally satisfied. wasn't too difficult either.
whenever i install a new app i look closely what dependencies it wants to pull in, and if it seems too much i choose something else.
 
Old 04-26-2014, 03:20 PM   #5
DJ Shaji
Member
 
Registered: Dec 2004
Location: Yo Momma's house
Distribution: Fedora Rawhide, ArchLinux
Posts: 518
Blog Entries: 15

Rep: Reputation: 106Reputation: 106
Thumbs up DJ Shaji likes this

Quote:
Originally Posted by ghostinthecode View Post
Alright. Using rpm -qf nepomukbackup the current version I have is nepomuk-core-4.11.5-1.fc19.x86_64. I tried to run rpm -e nepomuk-core-4.11.5-1.fc19.x86_64, and it came back two dependancies. The first was nepomuk-core-libs-4.11.5-1.fc19.x86_64. When I ran rpm -e on it, it came back failed due to dependancy on nepomuk-core-4.11.5-1.fc19.x86_64. It's a catch 22. I'm new to using rpm directly. Is there an easy way to handle this dependancy issue?


Yes there is, Kevin!
Code:
rpm -e nepomuk-core-4.11.5-1.fc19.x86_64 nepomuk-core-libs-4.11.5-1.fc19.x86_64
btw you could yum remove them too.
 
Old 04-26-2014, 03:33 PM   #6
ghostinthecode
LQ Newbie
 
Registered: Apr 2014
Location: Virginia Beach VA
Distribution: Fedora 19, Debian, Kali
Posts: 9

Original Poster
Rep: Reputation: Disabled
Solved

Thanks for the help all. I eventually just started copy-pasting the programs that had what I found as a dependancy, then ran again, and copy-pasted again, until it removed everything.

And to onoho, I'm not running kde as a desktop environment. I'm running GNOME. These programs were installed as dependancies when I installed Konqueror. It's not an integrated part of my system, just a bunch of files that, now that I've removed Konqueror, serve no purpose.
 
Old 04-26-2014, 06:37 PM   #7
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,639

Rep: Reputation: 2653Reputation: 2653Reputation: 2653Reputation: 2653Reputation: 2653Reputation: 2653Reputation: 2653Reputation: 2653Reputation: 2653Reputation: 2653Reputation: 2653
before you put too much work into fedora 19
it WILL be going End Of Life in 4 months
after August ( or 30 days after fedora 21 is released) there will be NO support
No security updates , no nothing


so you might want to install Fedora 20
THEN
remove any unneeded software
 
  


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
Removing Programs? broknindarkagain DamnSmallLinux 2 07-06-2006 09:33 AM
Getting more space without removing programs, how?? Javahulk SUSE / openSUSE 4 03-17-2005 10:40 PM
Installing / Removing Programs ludeKing Linux - Newbie 3 09-09-2003 01:40 AM
Removing/Uninstalling Programs streetbmx Linux - Newbie 4 05-09-2003 01:39 PM
Removing/uninstalling programs Katrix Linux - Software 1 10-07-2001 08:15 AM

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

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