Fix Wrong sources.list entry or malformed file after install skype on Ubuntu 64bit

Today, after install skype (32bit) on Ubuntu 14.04 64 bit used gdedi, i have some error:
After "apt-get update": Unable to find expected entry 'main/binary-i386sudo/Packages' in Release file (Wrong sources.list entry or malformed file)
So i can not update my Ubuntu. You can fix it using this method:
#dpkg --print-foreign-architectures
You can get
Remove wrong architecture:
#dpkg --remove-architecture i386
You can use:
#sudo apt-get remove --purge `dpkg --get-selections | grep i386 | awk '{print $1}'`
#dpkg -l | grep i386
to find i386 packet to remove
Then apt-get update now.

Thanks for reading
Security Research
All my Lab:
Linux Lab -- window and Cisco Lab
to be continued - I will update more.


Unknown said…
Thanks! You helped me a lot.
However, I thought the idea was to remove the erroneous architectures, ie. i38 and i386sudo, but you seemed to remove i386 instead. Why?
Kendy Hikaru said…
@ Hjalmar Turesson: I think it may be i edited source.list file error :D.

Popular posts from this blog

Python - Multithread to read one file

An toàn thông tin ứng dụng Web

OpenCA tutorial