Whenever I try to install any software from ubuntu software centre, I receive a message saying "cannot do that"enter image description here

click on the above link to see the image that I get

When I choose to download it from terminal it says:

E: Unable to parse package file /var/lib/apt/lists/ppa.launchpad.net_snwh_pulp_ubuntu_dists_xenial_InRelease (1)
E: The package lists or status file could not be parsed or opened.

What do I suppose to do and first of all please tell me why this error is occurring?

share|improve this question
    
refer to this , it seems u too have a 'classic' snap issue askubuntu.com/questions/923021/… – aradhyamathur Oct 15 '17 at 8:37

Run this command in terminal

sudo rm -r /var/lib/apt/lists/*

And Then

sudo apt update 

I think your /var/lib/apt/lists/ files are corrupted So You Can delete them to regenerate them.

share|improve this answer
    
when i entered your first command it says: unable to resolve, and further rm: cannot remove '/var/lib/apt/lists/*': No such file or directory. what to do? – pranav mishra Sep 19 '17 at 13:05
    
ok.Then Manually delete all files in /var/lib/apt/lists and then do sudo apt update – SMIT PATIL Sep 19 '17 at 17:35
    
That actually worked for me on Ubuntu 17.04! – opu 웃 Nov 27 '17 at 14:32

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.