0

I installed a debian package libncurses5-dev:i386.deb using "sudo dpkg -i libncurses5-dev:i386.deb".

However i realized that i needed another package libncurses5-dev_5.7+20100313-5_amd64.deb.

When i tried to install this one i got an error " libncurses5-dev: 5.7+20100313-5 (Multi-Arch: no) is not co-installable with libncurses5-dev:i386 5.9-4 (Multi-Arch: no) which is currently installed Errors were encountered while processing:".

I tried to remove libncurses5-dev:i386.deb. I went to /var/lib/dpkg/info and then sudo rm libncurses* to remove all the packages. I tried to install my amd64 package again but i get the same error message saying it cant install with libncurses5-dev:i386 5.9-4

Also when i do dpkg --list | grep -i libncur*, i dont see any results, so i am a bit confused Can someone please help me?

Thanks

srai
  • 121
  • 1
  • 2
  • 8

1 Answers1

2

The command you should have used is

$ sudo dpkg -r libncurses5-dev

You should not have removed any files in /var/lib/dpkg by hand.

javidcf
  • 151
  • 2