On 7/27/2012 2:40 PM, ricccardo wrote:
On Thu, 2012-07-26 at 18:18 -0500, Mark Allums wrote:On 7/26/2012 6:05 PM, Mark Allums wrote:On 7/26/2012 3:32 PM, ricccardo wrote:Hi, I recently updated from squeeze to wheezy and I notice some problem with synaptic. In particular: ric@ricmbp:~$ sudo synaptic synaptic: error while loading shared libraries: libapt-pkg.so.4.10: cannot open shared object file: No such file or directory Do you have any suggestion to solve it??Do $updatedb $locate libapt-pkg.so.4.10 and post the output here. Use attachment if long. My libapt-pkg is at libapt-pkg.so.4.12.0 Do you need to upgrade synaptic? Are you running a mixed system with both, say, squeeze and wheezy packages? With pinned packages?I meant $locate libapt-pkg Using Aptitude or apt tools, what version of libapt-pkg does your system think is installed?
Do you get the same error when running apt-get or Aptitude? Which version of the relevant packages do they think are installed on your system?Do you use synaptic much? You might consider reinstall it or upgrading it. You seem to have the correct version of libapt-pkg installed for wheezy, is Synaptic at wheezy or earlier?
According to http://packages.debian.org/stable/allpackages , version 4.10 of libapt-pkg is the version for Stable/Squeeze. What version of Synaptic do you have? Mine is 0.75.12. If you have 0.70~pre1+b1 or earlier, you have the wrong one.
Mark
Hi, this is the result: ric@ricmbp:~$ locate libapt-pkg /usr/lib/x86_64-linux-gnu/libapt-pkg.so /usr/lib/x86_64-linux-gnu/libapt-pkg.so.4.12 /usr/lib/x86_64-linux-gnu/libapt-pkg.so.4.12.0 /usr/share/doc/libapt-pkg-dev /usr/share/doc/libapt-pkg-perl /usr/share/doc/libapt-pkg4.12 /usr/share/doc/libapt-pkg-dev/NEWS.Debian.gz /usr/share/doc/libapt-pkg-dev/changelog.gz /usr/share/doc/libapt-pkg-dev/copyright /usr/share/doc/libapt-pkg-perl/changelog.gz /usr/share/doc/libapt-pkg-perl/copyright /usr/share/doc/libapt-pkg-perl/examples /usr/share/doc/libapt-pkg-perl/examples/apt-cache /usr/share/doc/libapt-pkg-perl/examples/apt-config /usr/share/doc/libapt-pkg-perl/examples/apt-version /usr/share/doc/libapt-pkg4.12/NEWS.Debian.gz /usr/share/doc/libapt-pkg4.12/changelog.gz /usr/share/doc/libapt-pkg4.12/copyright /usr/share/locale/ar/LC_MESSAGES/libapt-pkg4.12.mo /usr/share/locale/ast/LC_MESSAGES/libapt-pkg4.12.mo /usr/share/locale/bg/LC_MESSAGES/libapt-pkg4.12.mo /usr/share/locale/bs/LC_MESSAGES/libapt-pkg4.12.mo /usr/share/locale/ca/LC_MESSAGES/libapt-pkg4.12.mo /usr/share/locale/cs/LC_MESSAGES/libapt-pkg4.12.mo /usr/share/locale/cy/LC_MESSAGES/libapt-pkg4.12.mo /usr/share/locale/da/LC_MESSAGES/libapt-pkg4.12.mo /usr/share/locale/de/LC_MESSAGES/libapt-pkg4.12.mo /usr/share/locale/dz/LC_MESSAGES/libapt-pkg4.12.mo /usr/share/locale/el/LC_MESSAGES/libapt-pkg4.12.mo /usr/share/locale/es/LC_MESSAGES/libapt-pkg4.12.mo /usr/share/locale/eu/LC_MESSAGES/libapt-pkg4.12.mo /usr/share/locale/fi/LC_MESSAGES/libapt-pkg4.12.mo /usr/share/locale/fr/LC_MESSAGES/libapt-pkg4.12.mo /usr/share/locale/gl/LC_MESSAGES/libapt-pkg4.12.mo /usr/share/locale/hu/LC_MESSAGES/libapt-pkg4.12.mo /usr/share/locale/it/LC_MESSAGES/libapt-pkg4.12.mo /usr/share/locale/ja/LC_MESSAGES/libapt-pkg4.12.mo /usr/share/locale/km/LC_MESSAGES/libapt-pkg4.12.mo /usr/share/locale/ko/LC_MESSAGES/libapt-pkg4.12.mo /usr/share/locale/ku/LC_MESSAGES/libapt-pkg4.12.mo /usr/share/locale/lt/LC_MESSAGES/libapt-pkg4.12.mo /usr/share/locale/mr/LC_MESSAGES/libapt-pkg4.12.mo /usr/share/locale/nb/LC_MESSAGES/libapt-pkg4.12.mo /usr/share/locale/ne/LC_MESSAGES/libapt-pkg4.12.mo /usr/share/locale/nl/LC_MESSAGES/libapt-pkg4.12.mo /usr/share/locale/nn/LC_MESSAGES/libapt-pkg4.12.mo /usr/share/locale/pl/LC_MESSAGES/libapt-pkg4.12.mo /usr/share/locale/pt/LC_MESSAGES/libapt-pkg4.12.mo /usr/share/locale/pt_BR/LC_MESSAGES/libapt-pkg4.12.mo /usr/share/locale/ro/LC_MESSAGES/libapt-pkg4.12.mo /usr/share/locale/ru/LC_MESSAGES/libapt-pkg4.12.mo /usr/share/locale/sk/LC_MESSAGES/libapt-pkg4.12.mo /usr/share/locale/sl/LC_MESSAGES/libapt-pkg4.12.mo /usr/share/locale/sv/LC_MESSAGES/libapt-pkg4.12.mo /usr/share/locale/th/LC_MESSAGES/libapt-pkg4.12.mo /usr/share/locale/tl/LC_MESSAGES/libapt-pkg4.12.mo /usr/share/locale/uk/LC_MESSAGES/libapt-pkg4.12.mo /usr/share/locale/vi/LC_MESSAGES/libapt-pkg4.12.mo /usr/share/locale/zh_CN/LC_MESSAGES/libapt-pkg4.12.mo /usr/share/locale/zh_TW/LC_MESSAGES/libapt-pkg4.12.mo /var/cache/apt/archives/libapt-pkg-dev_0.9.7.2_amd64.deb /var/cache/apt/archives/libapt-pkg-perl_0.1.24+b1_amd64.deb /var/cache/apt/archives/libapt-pkg-perl_0.1.26+b1_amd64.deb /var/cache/apt/archives/libapt-pkg4.12_0.9.7.2_amd64.deb /var/lib/dpkg/info/libapt-pkg-dev:amd64.list /var/lib/dpkg/info/libapt-pkg-dev:amd64.md5sums /var/lib/dpkg/info/libapt-pkg-perl.list /var/lib/dpkg/info/libapt-pkg-perl.md5sums /var/lib/dpkg/info/libapt-pkg4.12:amd64.list /var/lib/dpkg/info/libapt-pkg4.12:amd64.md5sums /var/lib/dpkg/info/libapt-pkg4.12:amd64.postinst /var/lib/dpkg/info/libapt-pkg4.12:amd64.postrm /var/lib/dpkg/info/libapt-pkg4.12:amd64.shlibs /var/lib/dpkg/info/libapt-pkg4.12:amd64.symbols