Feedback

type to search
schamane

Andreas Schamanek

joined | seen

Website

Andreas Schamanek created

Quick answer: Re-create pkgstates. AS:~# mkdir aptitude.bak AS:~# mv /var/lib/aptitude/pkgstates* aptitude.bak AS:~# aptitude update (...) AS:~# aptitude safe-upgrade (...) Details: I had another chance to investigate this since today aptitude safe-upgrade did not want to upgrade libpq5 : AS:~# aptitude safe-upgrade No packages will be installed, upgraded, or removed. 0 packages upgraded, 0 newly installed, 0 to remove and 1 not upgraded. Need to get 0 B of archives. After unpacking 0 B will be used. AS:~# apt-get -sq upgrade Reading package lists... Building dependency tree... Reading state information... The following packages will be upgraded: libpq5 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Inst libpq5 [8.4.8-0squeeze1] (8.4.8-0squeeze2 Debian:6.0.3/stable [i386]) Conf libpq5 (8.4.8-0squeeze2 Debian:6.0.3/stable [i386]) Further research showed that aptitude believes that the package is not installed : AS:~# aptitude show libpq5 | grep ^Stat State: not installed AS:~# apt-cache show libpq5 | grep ^Stat Status: install ok installed text Removing /var/lib/aptitude/pkgstates resolved the isssue: AS:~# mkdir aptitude.bak AS:~# mv /var/lib/aptitude/pkgstates* aptitude.bak AS:~# aptitude update (...) AS:~# aptitude safe-upgrade The following packages will be upgraded: libpq5 1 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 149 kB of archives. After unpacking 4,096 B will be used. Do you want to continue? [Y/n/?] (...)

Andreas Schamanek updated

Quick answer: Re-create pkgstates. AS:~# mkdir aptitude.bak AS:~# mv /var/lib/aptitude/pkgstates* aptitude.bak AS:~# aptitude update (...) AS:~# aptitude safe-upgrade (...) Details: I had another chance to investigate this since today aptitude safe-upgrade did not want to upgrade libpq5 : AS:~# aptitude safe-upgrade No packages will be installed, upgraded, or removed. 0 packages upgraded, 0 newly installed, 0 to remove and 1 not upgraded. Need to get 0 B of archives. After unpacking 0 B will be used. AS:~# apt-get -sq upgrade Reading package lists... Building dependency tree... Reading state information... The following packages will be upgraded: libpq5 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Inst libpq5 [8.4.8-0squeeze1] (8.4.8-0squeeze2 Debian:6.0.3/stable [i386]) Conf libpq5 (8.4.8-0squeeze2 Debian:6.0.3/stable [i386]) Further research showed that aptitude believes that the package is not installed : AS:~# aptitude show libpq5 | grep ^Stat State: not installed AS:~# apt-cache show libpq5 | grep ^Stat Status: install ok installed text Removing /var/lib/aptitude/pkgstates resolved the isssue: AS:~# mkdir aptitude.bak AS:~# mv /var/lib/aptitude/pkgstates* aptitude.bak AS:~# aptitude update (...) AS:~# aptitude safe-upgrade The following packages will be upgraded: libpq5 1 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 149 kB of archives. After unpacking 4,096 B will be used. Do you want to continue? [Y/n/?] (...)

Andreas Schamanek created

Yes. For instance, you can install a 64 bit kernel on a 32 bit system. You'll probably need ia32-libs , though. Note that a number of issues have been reported. Just do some web research, and you'll see. A good article is Running 32-bit Applications on 64-bit Debian GNU/Linux (see also the comments there). Your question about syscalls has been amply answered in c - How do 32-bit applications make system calls on 64-bit Linux? - Stack Overflow .

Andreas Schamanek updated

Yes. For instance, you can install a 64 bit kernel on a 32 bit system. You'll probably need ia32-libs , though. Note that a number of issues have been reported. Just do some web research, and you'll see. A good article is Running 32-bit Applications on 64-bit Debian GNU/Linux (see also the comments there). Your question about syscalls has been amply answered in c - How do 32-bit applications make system calls on 64-bit Linux? - Stack Overflow .

You need to join Debian to complete this action, click here to do so.