Resolving Ubuntu/Debian problems