Created
May 3, 2018 23:14
-
-
Save rajendarreddyj/cc1ebe2723ef490433ad3a1fee538d0f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Let’s see all the packages marked as rc by dpkg. Know more about the state rc. | |
# This state means that the configuration files are not yet removed. You can see how a single package can be removed. | |
# $ dpkg --list |grep "^rc" | |
# rc bsh 2.0b4-10ubuntu2 Java scripting environment (BeanShell) Versi | |
# rc devicekit-disks 007-2ubuntu6 abstraction for enumerating block devices | |
# rc devicekit-power 011-1ubuntu2 abstraction for power management | |
# rc dvipdfmx 1:20090115-1.2 A DVI to PDF translator with CJK support | |
# rc gnome-blackjack 1:2.28.0-0ubuntu3 Blackjack casino card game | |
# rc groovy 1.6.4-4ubuntu2 Agile dynamic language for the Java Virtual | |
# rc kdepim-runtime-data 4:4.3.2-0ubuntu1 shared data files for the KDE 4 base runtime | |
# Let’s extract out the packages marked as rc | |
# $ dpkg --list |grep "^rc" | cut -d " " -f 3 | |
# bsh | |
# devicekit-disks | |
# devicekit-power | |
# dvipdfmx | |
# gnome-blackjack | |
# groovy | |
# kdepim-runtime-data | |
# Now let’s remove all the packages marked as rc. | |
# $ dpkg --list |grep "^rc" | cut -d " " -f 3 | xargs sudo dpkg --purge |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment