top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration

Facebook Login
Site Registration

How to find list/get the unknown or uninstalled packages out on FC20?

+3 votes

I'm running a new FC20 system

systemctl -t service -a -l

to check services and I'm seeing several that I don't have installed for example. I've tried using systemctl disable to remove the service, and don't get anything back.

How do I prune my services list/get the unknown or uninstalled packages out?

posted Feb 18, 2014 by Kumar Mitrasen

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+1 vote

Don't pass the '-a' argument to systemctl

Using the '-a' argument makes systemctl display every unit it knows about regardless of whether it's installed or not. There are several ways it can know about services that don't exist. The most common
case where this happens is if a service wants to make sure it is started before/after another service, but doesn't necessarily require it to be running if it's not installed. It defines Before/After dependencies for such services in its systemd unit file, which affects the ordering of services being started, but not whether they're actually started.

So you probably have some service that wants to start before/after exim, but doesn't necessarily require it to be there. (Perhaps because it could work with sendmail or postfix as well). This is nothing to worry about, hence why systemctl hides it from you unless you specifically unearth it with the '-a' argument.

If you want to view all running services and ones systemd tried and failed to start, just use 'systemctl -t service'. If you want to see a list of all services and whether they're enabled, disabled, or statically enabled, use 'systemctl -t service list-unit-files'.

answer Feb 18, 2014 by Sonu Jindal
Similar Questions
0 votes

I have added a new service which starts a second httpd instance in fedora 19. The pid of the process is stored in /run/http-xxx directory, and my problem is that this directory disappears after each reboot.

How can I stop the system from deleting this folder in /run?

+3 votes

Is there an easy way to list all the packages installed on a fedora system from a particular repo.

+1 vote

I am trying to figure out how to list the rpms in, say:


and so on.

Any help?

+1 vote
Contact Us
+91 9880187415
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Karnataka INDIA.