[Ubuntu] [Fix] Error when using Ubuntu Software Center, apt-get, Package Manager, Update Manager

preview_player
Показать описание
When I use apt-get, Package Manager and Update Manager I get this error:
Reading package lists... Error!
E: Encountered a section with no Package: header
E: The package lists or status file could not be parsed or opened.
-------------------------------------------------------------------------------
How to fix this problem:
1. Open terminal

2. Enter the following commands one by one:
sudo rm /var/lib/apt/lists/* -vf
sudo apt-get update

3. Done!
------------------------------------
Track: Mad (Hi-Fidelity's Should Be Doing My UCAS Remix) - Magnetic Man
Рекомендации по теме
Комментарии
Автор

version 16.04
try sudo rm /etc/apt/sources.list -vf
press enter your error file will get removed then run this code as bellow
sudo apt-get update

SanjeetKumar-uxoq
Автор

Thanks man! I had this problem for months now and couldnt open my software center or update anything, it always showed that anoying red warning sign and said somtheing about unmet dependencies for someof my packages. I researched and tried just about everything on ubuntu forums, untill finally some minutes ago I found your video on youtube. Followed your steps & boom! everything is fixed! thanks alot for the video man! cheers

Jaso
Автор

@gshodges Thanks for taking time to watch my videos. Sorry I don't have an idea about how the problem was caused but I think what you said is right. I am still a new Linux user.

WinAndLinuxTutorials
Автор

really working thank you so much!!!! for one thousand time you are world best!!!

mahekpatel
Автор

thank u man, you help a lot of people, continue

mikaramanantsoa
Автор

when I'm in the Ubuntu software center and when I try to down load an app it says software can't be installed or removed because the authentication service is not available. how do I fix this

tiff
Автор

can anyone tell me how to solve  """" Could not initialise the package information

An unresolvable problem occurred while initialising the package information.

Please report this bug for the 'update-manager' package and try to include the following error message:
'E:Malformed line 58 in source list /etc/apt/sources.list (dist parse)'""""

Mrs.D
Автор

It shows can not remove, no such file or directory. its 17.04 version. How can I solve?

amalm
Автор

not work for me mgs error "rm: cannot remove ‘/var/lib/apt/lists/partial’: Is a directory" help me please

roybalde
Автор

@systemofadownrulz11 You are welcome and Thanks for your kind words :)

WinAndLinuxTutorials
Автор

Mine showing sudo:rm/var/lib/apt/lists*: command not found :(

bipros
Автор

after installing nfs server....when i run it
it gives no exports as error....how to solve this problem

najathjamedar
Автор

Thanks for the video but the tip still didn't fix my problem. After I entered the second command I got Reading package lists... Error!
E: Problem parsing dependency Conflicts
E: Error occurred while processing linux-libc-dev (NewVersion2)
E: Problem with MergeList /var/lib/dpkg/status
E: The package lists or status file could not be parsed or opened.
Anyway of fixing this? Thanks

bassalh
Автор

i just ran all updates and it fixed the software centre problem

davidjones-ijro
Автор

thanks loads for this, i have been searching forums for the past day and was like screw it, youtube... you dont have a cheat sheet or a link to a good one do you? the past few months i have just had so many issues with windows that i figured screw just playing with linux, make a full switch, still a few problems but nowhere near as many. just finished update and it worked! runing kali ubuntu 12.04

kinseyralston
Автор

it's not working on my linux, how to solve it another way?

danasetyo
Автор

your command doesn't work for all version . you must tell about your ubuntu version error . i have fixed my error from your idea
thanks

SanjeetKumar-uxoq
Автор

I get this error when I put sudo apt-get update 
E: Malformed line 57 in source list /etc/apt/sources.list (dist parse)
E: The list of sources could not be read.

mo
Автор

hey it really worked thank u much man thx thx thx

alend
Автор

says:E: Sub-process returned an error code

iulianzew.