Thursday, May 2, 2024
 Popular · Latest · Hot · Upcoming
10
rated 0 times [  10] [ 0]  / answers: 1 / hits: 13167  / 2 Years ago, mon, april 18, 2022, 4:13:51

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

More From » apt

 Answers
5

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.


[#34085] Tuesday, April 19, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
njuash

Total Points: 402
Total Questions: 125
Total Answers: 98

Location: Jersey
Member since Sun, Dec 4, 2022
1 Year ago
njuash questions
Wed, Jun 8, 22, 11:53, 2 Years ago
Wed, Nov 30, 22, 11:42, 1 Year ago
Mon, May 30, 22, 04:33, 2 Years ago
Mon, Apr 10, 23, 03:40, 1 Year ago
;