Removing packages and configurations with apt-get

Linux: how to restore config file using apt-get/aptitude? This will remove any config file, original or modified, but custom files will be preserved, with an onscreen message. Note, by the way, that dpkg also recognizes --force-confnew and --force-confold options. apt-config(8): APT config Query program - Linux man page Name apt-config - APT Configuration Query program Synopsis apt-config [options] [-o config=string] [-c=file] command Description apt-config is an internal program used by various portions of the APT suite to provide consistent configurability. It accesses the main configuration file /etc/apt/apt.conf(5) in a manner that is easy to use by scripted applications. APT HOWTO (Obsolete Documentation) - Basic Configuration

I've just started my Raspberry Pi for the first time (Model B Revision 1.0, Raspbian on a card from RS). At no stage was I presented with the Raspi-config menu. I've tried to access it using the s

Feb 23, 2013 Getting information about packages That shows three of the apt packages I've got installed: apt, apt-move, and base-config. You'll notice that aptitude isn't listed -- which is understandable, since it doesn't contain the "apt DASH" string. Also, base-config didn't show up above when I searched via dpkg -l \* | grep apt since the string "apt" doesn't appear within base-config. See? GPSD Installation Instructions

Linux apt-get command help and examples

I've just started my Raspberry Pi for the first time (Model B Revision 1.0, Raspbian on a card from RS). At no stage was I presented with the Raspi-config menu. I've tried to access it using the s