i just tried to use the janitor app and there were a number of things that were no longer needed so i clicked ok to remove them then i got this message

E:Sub-process /usr/bin/dpkg returned an error code (1)

then i noticed there was a crash report generated top right so i clicked report then i got this message

avg85flx

failed to send report
is not a genuine ubuntu package

also i tried to download the driver for my video card through hardware drivers and it failed too

how can i solve these problems i don't know much about linux so please take that into account when trrying to help me thanks