Ubuntu – problem with update

aptaptitudekernelsynapticupdates

when I try to update and type:

sudo apt-get update

I get this error

E: Problem executing scripts APT::Update::Post-Invoke-Success 'test -x /usr/bin/apt-show-versions || exit 0 ; apt-show-versions -i'
E: Sub-process returned an error code

Best Answer

That sounds like a bug in apt-show-versions. If you don't really need apt-show-versions you may just remove it, for example by running

sudo apt-get purge apt-show-versions

If you don't know if you need it you quite likely don't need it.

If you need the program you could at least remove the file

/etc/apt/apt.conf.d/20apt-show-versions

and file a bug report.

Related Question