std::out_of_range thrown when parsing a text file

I have the following code to read a text file. const string FILENAME = PACKAGES_DIR + pname; //the arguments to ifstream is a cstring and hence the conversion must be made ifstream freader; ...

Broken apt dependency tree

I was upgrading Ubuntu 16.04 to 17.04, when some packaged failed to upgrade. This left the apt dependency in a broken state. I tried some other answers online, but I am afraid this only...