Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
share|improve this question
    
What do you get if you run sudo apt-show-versions -i? Are you sure you need apt-show-versions? –  Florian Diesch Nov 23 '12 at 19:19
    
not a reference at /usr/bin/apt-show-versions line 218 –  Mj125 Nov 23 '12 at 19:43
    
I change my repositories, but it doewsn't help –  Mj125 Nov 23 '12 at 19:55

2 Answers 2

up vote 2 down vote accepted

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.

share|improve this answer

I have to say I'm a beginner of Ubuntu but try to follow this guide:

Updating problems in 12.04

Antonio says that it worked! Let's hope it will work for you too, even though the problem maybe isn't the same!

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.