On Ubuntu, is there a way to find out what files are NOT associated with installed apt packages?

user35060

I know in RedHat, you can use find / –exec rpm -qf {} \; |grep "is not" to find files that are not associated with packages. One reason I need this is to find files that are installed from source so I know what packages I need to build from source and make everything go through the package manager. I'm coming into managing a system that someone else was loose with on the package management side of things and I need to ensure that the security is good so no stray rootkits, etc are installed.

muru

The same method, different command:

$ dpkg -S /etc/profile
dpkg-query: no path found matching pattern /etc/profile
$ dpkg -S /etc/ssh/ssh_config 
openssh-client: /etc/ssh/ssh_config

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

How to find out what all standalone packages are installed?

From Dev

How to prioritize packages installed from files in APT?

From Dev

How to find docs for apt installed packages

From Dev

How to find docs for apt installed packages

From Dev

Where are packages stored installed with APT in Ubuntu 16.04?

From Dev

How to find out what version of Ubuntu was originally installed?

From Dev

How to find out what disk drives are installed in a Ubuntu server

From Dev

How to find installation path for packages installed through apt-get in Ubuntu?

From Dev

Find the additional packages installed with a given program by apt or apt-get?

From Dev

How to find out where different packages are installed?

From Dev

Is there any way to find out which libraries or packages I have already installed in Python?

From Dev

How do I find out what packages I had installed in my previouse meteor app?

From Dev

Find what packages are installed from a repository

From Dev

Find what packages are installed from a repository

From Dev

Any way to retrieve build info for apt/dpkg installed packages?

From Dev

What is the apt equivalent to "rpm -V" (Verify installed packages)

From Dev

What is the apt equivalent to "rpm -V" (Verify installed packages)

From Dev

Is there a way to find out how long an app is installed?

From Dev

Find out which mail server is installed on Ubuntu

From Dev

How to find out what graphics driver is installed?

From Dev

How to find out what graphics driver is installed?

From Dev

How do I find out what Ubuntu distro was originally installed on a machine?

From Dev

How do I find out what Ubuntu distro was originally installed on a machine?

From Dev

Is there a way to tell which packages I've installed via apt-get, minus the auto-installed ones?

From Dev

List of recently installed apt packages

From Dev

purge all packages manually installed via apt-get from the moment you installed the Ubuntu OS

From Dev

Is there a way to find installed binary packages which don't have manpages?

From Dev

apt-cache/apt search packages that are not installed

From Dev

What's correct way to upgrade APT packages using Ansible?

From Dev

Where do I find packages files of apps that are installed

Related Related

  1. 1

    How to find out what all standalone packages are installed?

  2. 2

    How to prioritize packages installed from files in APT?

  3. 3

    How to find docs for apt installed packages

  4. 4

    How to find docs for apt installed packages

  5. 5

    Where are packages stored installed with APT in Ubuntu 16.04?

  6. 6

    How to find out what version of Ubuntu was originally installed?

  7. 7

    How to find out what disk drives are installed in a Ubuntu server

  8. 8

    How to find installation path for packages installed through apt-get in Ubuntu?

  9. 9

    Find the additional packages installed with a given program by apt or apt-get?

  10. 10

    How to find out where different packages are installed?

  11. 11

    Is there any way to find out which libraries or packages I have already installed in Python?

  12. 12

    How do I find out what packages I had installed in my previouse meteor app?

  13. 13

    Find what packages are installed from a repository

  14. 14

    Find what packages are installed from a repository

  15. 15

    Any way to retrieve build info for apt/dpkg installed packages?

  16. 16

    What is the apt equivalent to "rpm -V" (Verify installed packages)

  17. 17

    What is the apt equivalent to "rpm -V" (Verify installed packages)

  18. 18

    Is there a way to find out how long an app is installed?

  19. 19

    Find out which mail server is installed on Ubuntu

  20. 20

    How to find out what graphics driver is installed?

  21. 21

    How to find out what graphics driver is installed?

  22. 22

    How do I find out what Ubuntu distro was originally installed on a machine?

  23. 23

    How do I find out what Ubuntu distro was originally installed on a machine?

  24. 24

    Is there a way to tell which packages I've installed via apt-get, minus the auto-installed ones?

  25. 25

    List of recently installed apt packages

  26. 26

    purge all packages manually installed via apt-get from the moment you installed the Ubuntu OS

  27. 27

    Is there a way to find installed binary packages which don't have manpages?

  28. 28

    apt-cache/apt search packages that are not installed

  29. 29

    What's correct way to upgrade APT packages using Ansible?

  30. 30

    Where do I find packages files of apps that are installed

HotTag

Archive