Saturday, February 21, 2015

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
i386
i38
i386sudo
...
Remove wrong architecture:
#dpkg --remove-architecture i386
You can use:
#sudo apt-get remove --purge `dpkg --get-selections | grep i386 | awk '{print $1}'`
and
#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.

2 comments:

Hjalmar Turesson 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.

Install Xposed Inspector and Frida on Genymotion

Today i had some work with android. So i need trace application. I found 2 nice tool can help me: Xposed Inspector and Frida. To setup ther...