ABP version update using NuGet package manager - asp.net-mvc-5

I have been tasked with creating a screen on an existing website that uses ASP.NET Boilerplate, to track the changes of entities and who made the changes.
When I go into NuGet package manager to update ABP version, which was at version 0.9.5, I can only get the version to update up to ABP version 2.3.0.
But that version does not have what I am looking for, which is the ability to enable Entity History in PreInitialize():
Configuration.EntityHistory.IsEnabled = false;
I would like to update to the latest version of ABP, which is version 3.5.0.
But when I update, I get error:
Could not install package 'Abp 3.5.0'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.6.2', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.
I have installed all dependencies needed for latest version of ABP:
.NETStandard 2.0
Castle.Core (>= 4.2.1)
Castle.LoggingFacility (>= 4.1.0)
JetBrains.Annotations (>= 11.1.0)
Microsoft.Extensions.Caching.Memory (>= 2.0.0)
Microsoft.Extensions.Options (>= 2.0.0)
Newtonsoft.Json (>= 11.0.1)
.AsyncEx.Context (>= 1.1.0)
Nito.AsyncEx.Coordination (>= 1.0.2)
System.Collections.Immutable (>= 1.4.0)
System.ComponentModel.Annotations (>= 4.4.1)
System.Configuration.ConfigurationManager (>= 4.4.1)
System.Data.Common (>= 4.3.0)
System.Linq.Dynamic.Core (>= 1.0.8.2)
System.Linq.Queryable (>= 4.3.0)
System.Runtime.Serialization.Formatters (>= 4.3.0)
System.Security.Claims (>= 4.3.0)
System.Threading (>= 4.3.0)
System.Xml.XPath.XmlDocument (>= 4.3.0)
TimeZoneConverter (>= 2.3.0)
Is there something I am missing or doing wrong?

You can't just upgrade 3 major versions from v0.x to v3.x as there are several breaking changes.
Upgrading from ABP v0.9.5 means you're probably upgrading from v1.5.2 of the MVC5 template.
It's already non-trivial to upgrade from v2.x to v3.x.
You're better off downloading the new template: https://aspnetboilerplate.com/Template
More importantly, you will need to port changes as there is no EF6 support for Entity History yet.
However, the bulk of the Entity History feature is in the main Abp package. You can check #2835.

Related

Installing conflicting ubuntu packages

Im working on installing Autospy, and I need to install the java bindings for sleuthkit. As I am doing this, the instructions are to download the .deb file, and run this. I do this and it is telling me I am missing certain packages in the error below.
sleuthkit-java : Depends: libewf2 (>= 20121209) but it is not going to be installed
Depends: libvhdi1 (>= 20150110) but it is not going to be installed
Depends: libvmdk1 (>= 20150516) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
When I run sudo apt-get install libewf2, it will then install libewf2, however it will remove libewf-dev.
When I go to install the debian package again, I get the following error.
The following packages have unmet dependencies:
sleuthkit-java : Depends: libvhdi1 (>= 20150110) but it is not going to be installed
Depends: libvmdk1 (>= 20150516) but it is not going to be installed
Depends: libewf-dev (>= 20130416) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
My question is how do I install the java binding, if the dependencies keep uninstalling themselves when I install the other one.
Thanks in advance for any help.

Linux: How do I headlessly install an old version of VLC?

I need to install an old version of VLC from the command line (can't use a browser to download anything). I know it sounds weird, but the specific version of VLC doesn't matter as long as it isn't the most up to date.
EDIT
Based on the suggestion below I tried downloading and installing the .deb file but when I ran "apt-get install -f" after installing it, VLC was automatically updated to the newest version.
I tried again and put a hold on VLC (sudo apt-mark hold vlc), but that caused "apt-get install" to fail:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... failed.
The following packages have unmet dependencies:
vlc : Depends: ttf-freefont
Depends: vlc-nox (= 1.1.9-1ubuntu1) but it is not installed
Depends: libavcodec52 (>= 4:0.6-1~) but it is not installable or
libavcodec-extra-52 (>= 4:0.6-1~) but it is not installable
Depends: libavutil50 (>= 4:0.6-1~) but it is not installable or
libavutil-extra-50 (>= 4:0.6-1~) but it is not installable
Depends: libgl1-mesa-glx but it is not installed or
libgl1
Depends: libqtcore4 (>= 4:4.7.0~beta1) but it is not installed
Depends: libqtgui4 (>= 4:4.5.3) but it is not installed
Depends: libsdl-image1.2 (>= 1.2.10) but it is not installed
Depends: libtar
Depends: libva-x11-1 but it is not installed
Depends: libva1 but it is not installed
Depends: libvlccore4 (>= 1.1.0) but it is not installable
Depends: libx11-xcb1 but it is not installed
Depends: libxcb-keysyms1 (>= 0.3.6) but it is not installed
Depends: libxcb-randr0 (>= 1.1) but it is not installed
Depends: libxcb-xv0 (>= 1.2) but it is not installed
Recommends: vlc-plugin-notify (= 1.1.9-1ubuntu1) but it is not installed
Recommends: vlc-plugin-pulse (= 1.1.9-1ubuntu1) but it is not installable
Recommends: xdg-utils but it is not installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies
You can find the VLC 1.1.9 deb here:
32 bit - http://launchpadlibrarian.net/69370596/vlc_1.1.9-1ubuntu1_i386.deb
64 bit - http://launchpadlibrarian.net/69370658/vlc_1.1.9-1ubuntu1_amd64.deb
You should consider locking the vlc package to prevent it from getting updated accidentally again.
How to prevent updating of a specific package?

Kurento : Error installing custom module

I am trying to install my custom module debian file in one of my ubuntu machine but I an getting following error:
Unpacking mycustom-filter (1.2.0~rc1) ...
dpkg: dependency problems prevent configuration of mycustom-filter:
mycustom-filter depends on libgstreamer-plugins-base1.5-0 (>= 1.8.1.1~20160608155102.55.g7b19cfd.trusty); however:
Version of libgstreamer-plugins-base1.5-0:amd64 on system is 1.8.0~20160530103212.387.g21728a3.trusty.
mycustom-filter depends on libgstreamer1.5-0 (>= 1.8.1.1~20160706093049.167.g0d8d50e.trusty); however:
Version of libgstreamer1.5-0:amd64 on system is 1.8.0~20160530103131.368.g0fb3a08.trusty.
I see that there is a problem with the trusty version:
mycustom-filter depends on libgstreamer-plugins-base1.5-0 (>= 1.8.1.1~20160608155102.55.g7b19cfd.trusty);
mycustom-filter depends on libgstreamer1.5-0 (>= 1.8.1.1~20160706093049.167.g0d8d50e.trusty);
I tried uninstalling libgstreamer-plugins-base1.5-0 and libgstreamer1.5-0 but that messed up KMS installation.
now even after trying autoclean clean apt-get update --fix-missing I'm unable to install libgstreamer1.5-0 (>= 1.8.1.1~20160706093049.167.g0d8d50e.trusty)
it is always installing 1.8.0~20160530103131.368.g0fb3a08.trusty
can any one guide me how to install the required libgstreamer-plugins-base1.5-0 and libgstreamer1.5-0 libraries.
Edit 1:
Facing the same issue for dev version of kurento
libgstreamer1.5-dev : Depends: libgstreamer1.5-0 (= 1.8.0~20160530103131.368.g0fb3a08.trusty) but 1.8.1.1~20160608134755.164.gb2c1df3.trusty is to be installed
You can use this repository in your sources.list, instead of the previous one your were using.
deb http://ubuntu.kurento.org/6.5.0 trusty kms6
There is a transitory problem on kurento repository that is being fixed right now. I'll edit this answer when is done.
As #igracia says, you can use 6.5.0 release repository to get the correct packages versions while the repository is broken.
Edit
It should be fixed now. Sorry for the trouble

Install Subversion 1.7 on Debian jessie

I try to install subversion 1.7 on debian jessie
1) First I follow this tutorial to add SVN 1.7 to my debian package list
http://sagar.se/svn-1.7-on-wheezy.html
2) After that I enter the following command to check if Version 1.7 is available.
apt-cache show subversion
Package: subversion
Version: 1.8.10-6
Installed-Size: 4621
Maintainer: Peter Samuelson <peter#p12n.org>
Architecture: amd64
Depends: libsvn1 (= 1.8.10-6), libapr1 (>= 1.4.8-2~), libaprutil1 (>= 1.2.7+dfsg), libc6 (>= 2.4), libldap-2.4-2 (>= 2.4.7), libsasl2-2
Suggests: subversion-tools, db5.3-util, patch
Description: Advanced version control system
Description-md5: 9fa4bc531e7ceb09fda8950bea636958
Homepage: http://subversion.apache.org/
Tag: devel::rcs, implemented-in::c++, implemented-in::python,
interface::commandline, network::client, network::server,
protocol::http, protocol::ssh, protocol::webdav, role::program,
use::storing, use::synchronizing
Section: vcs
Priority: optional
Filename: pool/main/s/subversion/subversion_1.8.10-6_amd64.deb
Size: 921760
MD5sum: cab50d3d1cd40811aec578b7670de173
SHA1: c5e6a887ca8fdf09065d1625c283623db8d37550
SHA256: 488056c324a7201b73cc8037826d1d3587e065de5a6c37af2c524456e227124e
Package: subversion
Version: 1.7.18-1+WANdisco
Architecture: amd64
Maintainer: Philip Herron <opensource#wandisco.com>
Installed-Size: 3755
Depends: libsvn1 (= 1.7.18-1+WANdisco), libapr1 (>= 1.4.8-2~), libaprutil1 (>= 1.2.7+dfsg), libc6 (>= 2.3), libneon27-gnutls, libsasl2-2
Suggests: subversion-tools, db4.8-util, patch
Filename: dists/jessie/svn17/binary-amd64/subversion_1.7.18-1+WANdisco_amd64.deb
Size: 718152
MD5sum: bebea938f9b182eebad5fe17b73a2f51
SHA1: c34e470368e590947b851c0057f5166100a62acb
SHA256: 8e7e109e8cb4f253266872da6b687b61cd7800f12e02fea50f41abe3a2eff3ac
3) Try to install Version 1.7
apt-get install subversion=1.7.18-1+WAN-disco
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
subversion : Depends: libsvn1 (= 1.7.18-1+WANdisco) but 1.8.10-6 is to be installed
E: Unable to correct problems, you have held broken packages.
With apt-cache I see that libsvn1 is installed in version 1.7.18-1+WANdisco. How can I fix the problem, that debian see only the version 1.8.10-6?
Update:
I try the following
apt-get install subversion=1.7.18-1+WANdisco libsvn1=1.7.18-1+WANdisco
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libsvn1 : Depends: libserf1 (>= 1.3.7) but it is not installable
E: Unable to correct problems, you have held broken packages.
As you could see in the blog, the packages were made for Debian wheezy, where only version 1.6.17 was included. For Debian jessie, I think you should stay with the version 1.8 available from the system.

To install ia32-libs on debian wheezy amd64

I'm using Debian 7 (wheezy) amd64.
uname -a
Linux tzwm-debian 3.2.0-4-amd64 #1 SMP Debian 3.2.51-1 x86_64 GNU/Linux
And I want to install ia32-libs in my Debian. But this happens when I try to install.
sudo apt-get install ia32-libs
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
ia32-libs : Depends: ia32-libs-i386
E: Unable to correct problems, you have held broken packages.
And I google for it, then try to do it.
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install ia32-libs
The problem is not being solved.
Then I try to install ia32-libs-i386.
sudo apt-get install ia32-libs-i386:i386
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
ia32-libs-i386:i386 : Depends: freeglut3:i386 (>= 2.6.0-1) but it is not going to be installed
Depends: lesstif2:i386 (>= 1:0.95.2-1) but it is not going to be installed
Depends: libacl1:i386 (>= 2.2.49-4) but it is not going to be installed
Depends: libasyncns0:i386 (>= 0.3-1.1) but it is not going to be installed
Depends: libattr1:i386 (>= 1:2.4.44-2) but it is not going to be installed
Depends: libaudio2:i386 (>= 1.9.2-4) but it is not going to be installed
Depends: libaudiofile1:i386 (>= 0.2.6-8) but it is not going to be installed
Depends: libavahi-client3:i386 (>= 0.6.27-2+squeeze1) but it is not going to be installed
Depends: libavahi-common3:i386 (>= 0.6.27-2+squeeze1) but it is not going to be installed
Depends: libbsd0:i386 (>= 0.2.0-1) but it is not going to be installed
Depends: libcap2:i386 (>= 1:2.19-3) but it is not going to be installed
Depends: libcomerr2:i386 (>= 1.41.12-4stable1) but it is not going to be installed
Depends: libcups2:i386 (>= 1.4.4-7+squeeze1) but it is not going to be installed
Depends: libcurl3:i386 (>= 7.21.0-2) but it is not going to be installed
Depends: libdbus-1-3:i386 (>= 1.2.24-4+squeeze1) but it is not going to be installed
Depends: libdirectfb-1.2-9:i386 (>= 1.2.10.0-4) but it is not going to be installed
Depends: libdrm-intel1:i386 (>= 2.4.21-1~squeeze3) but it is not going to be installed
Depends: libdrm-radeon1:i386 (>= 2.4.21-1~squeeze3) but it is not going to be installed
Depends: libdrm2:i386 (>= 2.4.21-1~squeeze3) but it is not going to be installed
Depends: libedit2:i386 (>= 2.11-20080614-2) but it is not going to be installed
Depends: libesd0:i386 (>= 0.2.41-8) but it is not going to be installed
Depends: libexif12:i386 (>= 0.6.19-1) but it is not going to be installed
Depends: libexpat1:i386 (>= 2.0.1-7) but it is not going to be installed
Depends: libflac8:i386 (>= 1.2.1-2+b1) but it is not going to be installed
Depends: libfltk1.1:i386 (>= 1.1.10-2+b1) but it is not going to be installed
Depends: libfontconfig1:i386 (>= 2.8.0-2.1) but it is not going to be installed
Depends: libfreetype6:i386 (>= 2.4.2-2.1+squeeze3) but it is not going to be installed
Depends: libgcrypt11:i386 (>= 1.4.5-2) but it is not going to be installed
Depends: libgdbm3:i386 (>= 1.8.3-9) but it is not going to be installed
Depends: libgl1-mesa-dri:i386 (>= 7.7.1-5) but it is not going to be installed
Depends: libgl1-mesa-glx:i386 (>= 7.7.1-5) but it is not going to be installed
Depends: libglu1-mesa:i386 (>= 7.7.1-5) but it is not going to be installed
Depends: libgnutls26:i386 (>= 2.8.6-1) but it is not going to be installed
Depends: libgpg-error0:i386 (>= 1.6-1) but it is not going to be installed
Depends: libgphoto2-2:i386 (>= 2.4.6-3) but it is not going to be installed
Depends: libgphoto2-port0:i386 (>= 2.4.6-3) but it is not going to be installed
Depends: libgssapi-krb5-2:i386 (>= 1.8.3+dfsg-4squeeze2) but it is not going to be installed
Depends: libice6:i386 (>= 2:1.0.6-2) but it is not going to be installed
Depends: libidn11:i386 (>= 1.15-2) but it is not going to be installed
Depends: libieee1284-3:i386 (>= 0.2.11-6) but it is not going to be installed
Depends: libjack-jackd2-0:i386 (>= 1.9.5~dfsg-14) but it is not going to be installed or
libjack0:i386 (>= 1:0.118+svn3796-7) but it is not going to be installed
Depends: libjpeg62:i386 (>= 6b1-1) but it is not going to be installed
Depends: libjpeg8:i386 (>= 8b-1) but it is not going to be installed
Depends: libk5crypto3:i386 (>= 1.8.3+dfsg-4squeeze2) but it is not going to be installed
Depends: libkeyutils1:i386 (>= 1.4-1) but it is not going to be installed
Depends: libkrb5-3:i386 (>= 1.8.3+dfsg-4squeeze2) but it is not going to be installed
Depends: libkrb5support0:i386 (>= 1.8.3+dfsg-4squeeze2) but it is not going to be installed
Depends: liblcms1:i386 (>= 1.18.dfsg-1.2+b3) but it is not going to be installed
Depends: libltdl7:i386 (>= 2.2.6b-2) but it is not going to be installed
Depends: liblzo2-2:i386 (>= 2.03-2) but it is not going to be installed
Depends: libmpg123-0:i386 (>= 1.12.1-3) but it is not going to be installed
Depends: libnspr4-0d:i386 (>= 4.8.6-1) but it is not going to be installed
Depends: libnss3-1d:i386 (>= 3.12.8-1+squeeze4) but it is not going to be installed
Depends: libogg0:i386 (>= 1.2.0~dfsg-1) but it is not going to be installed
Depends: libopenal1:i386 (>= 1:1.12.854-2) but it is not going to be installed
Depends: libpam0g:i386 (>= 1.1.1-6.1+squeeze1) but it is not going to be installed
Depends: libpng12-0:i386 (>= 1.2.44-1+squeeze1) but it is not going to be installed
Depends: libpopt0:i386 (>= 1.16-1) but it is not going to be installed
Depends: libpulse0:i386 (>= 0.9.21-3+squeeze1) but it is not going to be installed
Depends: libsamplerate0:i386 (>= 0.1.7-3) but it is not going to be installed
Depends: libsane:i386 (>= 1.0.21-9) but it is not going to be installed
Depends: libsasl2-2:i386 (>= 2.1.23.dfsg1-7) but it is not going to be installed
Depends: libsdl1.2debian:i386 (>= 1.2.15) but it is not going to be installed
Depends: libselinux1:i386 (>= 2.0.96-1) but it is not going to be installed
Depends: libsigc++-2.0-0c2a:i386 (>= 2.2.4.2-1) but it is not going to be installed
Depends: libsm6:i386 (>= 2:1.1.1-1) but it is not going to be installed
Depends: libsndfile1:i386 (>= 1.0.21-3+squeeze1) but it is not going to be installed
Depends: libsqlite3-0:i386 (>= 3.7.3-1) but it is not going to be installed
Depends: libssh2-1:i386 (>= 1.2.6-1) but it is not going to be installed
Depends: libssl1.0.0:i386 (>= 1) but it is not going to be installed
Depends: libstdc++5:i386 (>= 1:3.3.6-20) but it is not going to be installed
Depends: libsvga1:i386 (>= 1:1.4.3-29) but it is not going to be installed
Depends: libsysfs2:i386 (>= 2.1.0+repack-1) but it is not going to be installed
Depends: libtasn1-3:i386 (>= 2.7-1) but it is not going to be installed
Depends: libtdb1:i386 (>= 1.2.1-2+b1) but it is not going to be installed
Depends: libtiff4:i386 (>= 3.9.4-5+squeeze3) but it is not going to be installed
Depends: libts-0.0-0:i386 (>= 1.0-7) but it is not going to be installed
Depends: libusb-0.1-4:i386 (>= 2:0.1.12-16) but it is not going to be installed
Depends: libuuid1:i386 (>= 2.17.2-9) but it is not going to be installed
Depends: libvorbis0a:i386 (>= 1.3.1-1) but it is not going to be installed
Depends: libvorbisenc2:i386 (>= 1.3.1-1) but it is not going to be installed
Depends: libvorbisfile3:i386 (>= 1.3.1-1) but it is not going to be installed
Depends: libwrap0:i386 (>= 7.6.q-19) but it is not going to be installed
Depends: libx11-6:i386 (>= 2:1.3.3-4) but it is not going to be installed
Depends: libx86-1:i386 (>= 1.1+ds1-6) but it is not going to be installed
Depends: libxau6:i386 (>= 1:1.0.6-1) but it is not going to be installed
Depends: libxaw7:i386 (>= 2:1.0.7-1) but it is not going to be installed
Depends: libxcb-render-util0:i386 (>= 0.3.6-1) but it is not going to be installed
Depends: libxcb-render0:i386 (>= 1.6-1) but it is not going to be installed
Depends: libxcb1:i386 (>= 1.6-1) but it is not going to be installed
Depends: libxcomposite1:i386 (>= 1:0.4.2-1) but it is not going to be installed
Depends: libxcursor1:i386 (>= 1:1.1.10-2) but it is not going to be installed
Depends: libxdamage1:i386 (>= 1:1.1.3-1) but it is not going to be installed
Depends: libxdmcp6:i386 (>= 1:1.0.3-2) but it is not going to be installed
Depends: libxext6:i386 (>= 2:1.1.2-1) but it is not going to be installed
Depends: libxfixes3:i386 (>= 1:4.0.5-1) but it is not going to be installed
Depends: libxft2:i386 (>= 2.1.14-2) but it is not going to be installed
Depends: libxi6:i386 (>= 2:1.3-6) but it is not going to be installed
Depends: libxinerama1:i386 (>= 2:1.1-3) but it is not going to be installed
Depends: libxml2:i386 (>= 2.7.8.dfsg-2+squeeze1) but it is not going to be installed
Depends: libxmu6:i386 (>= 2:1.0.5-2) but it is not going to be installed
Depends: libxmuu1:i386 (>= 2:1.0.5-2) but it is not going to be installed
Depends: libxp6:i386 (>= 1:1.0.0.xsf1-2) but it is not going to be installed
Depends: libxpm4:i386 (>= 1:3.5.8-1) but it is not going to be installed
Depends: libxrandr2:i386 (>= 2:1.3.0-3) but it is not going to be installed
Depends: libxrender1:i386 (>= 1:0.9.6-1) but it is not going to be installed
Depends: libxslt1.1:i386 (>= 1.1.26-6) but it is not going to be installed
Depends: libxss1:i386 (>= 1:1.2.0-2) but it is not going to be installed
Depends: libxt6:i386 (>= 1:1.0.7-1) but it is not going to be installed
Depends: libxtst6:i386 (>= 2:1.1.0-3) but it is not going to be installed
Depends: libxv1:i386 (>= 2:1.0.5-1) but it is not going to be installed
Depends: libxxf86vm1:i386 (>= 1:1.1.0-2) but it is not going to be installed
Depends: odbcinst1debian2:i386 (>= 2.2.14p2-1) but it is not going to be installed
Depends: libodbc1:i386 but it is not going to be installed
Depends: xaw3dg:i386 (>= 1.5+E-18) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
I also try to do this:
sudo apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
sudo apt-get install libc6-i386
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libc6-i386 : Depends: libc6 (= 2.13-38) but 2.17-93 is to be installed
E: Unable to correct problems, you have held broken packages.
Should I must install libc6(=2.17-93) manually?
Is there a solution?
It's probably late, but here is a way to fix this. Try this:
dpkg --add-architecture i386
apt-get update
apt-get install libc6:i386
The ia32-libs maybe have been removed in the later version. And I have no way to solve this problem.
Finally, I find I should install libc6-i386 instead of ia32-libs.
When I try to install libc6-i386, the following information is showed for me:
libc6-i386 : Depends: libc6 (= 2.13-38) but 2.17-93 is to be installed
I previously used the stable version. So I change to testing version, and install libc6-i386 again successful.
Now I solved this problem and can run 32 bit application, although I don't know why I need a package in testing version to install package(libc6-i386) in stable version.
You can also use aptitude to install it:
sudo dpkg --add-architecture i386
sudo apt-get update
sudo aptitude install ia32-libs
It will install all needed dependencies for ia32-libs.
Here's what fixed it for me. In my repositories, I had a CD-ROM source which was the original install disk, so when I'd run apt-get update, I'd get an error about apt-get not being able to add cd-rom repositories and that old indexes would be used (I don't have the exact error... my terminal just pushed it out of the buffer).
So I removed the cd-rom source from the repositories list (in synaptic), ran apt-get update again, and then I was able to install the ia32-libs.
A possibility that has been suggested is to install libc6:i386.
Unfortunately installation of libc6:386 can result in the removal of core components and make your system unstable. You'lll get a message saying "You are about to do something potentially harmful. To continue type in the phrase 'Yes, do as I say!'"
Rather install libc6-i386.
In my case there was an additional problem with the pinning preferences in /etc/apt/preferences .
When I put them just to support stable
Package: *
Pin: release a=stable
Pin-Priority: 1001
apt finally found the way to do the proper dist-upgrade. I'm not sure why but when I installed my system (early 2012) the line specifying the pin release read:
Pin: release n=stable
so there was a "n" instead of an "a". Changing that worked like charm.

Resources