I need to revert my version of gdb back to a previous release so that it is compatible with a certain tool. I currently have gdb 7.7.1 installed. If I enter gdb into the terminal and hit enter, gdb runs. However, when I run sudo apt-get remove gdb, it says this:
$ sudo apt-get remove gdb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'gdb' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
This is the case when I use sudo dpkg -r gdb as well. How can I fix this so that the program is first recognized and then removable?
Ubuntu 14.04.2 LTS
3.13.0-53-generic