Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

aptitude vs aptitude ncurses behaviour

10 views
Skip to first unread message

Javier Barroso

unread,
Aug 27, 2010, 5:20:02 AM8/27/10
to
Hi,

do you know why aptitude want to install and remove package from
ncurses but not from command line?

My history:

aptitude -> ncurses -> u -> U -> g

To be freed 44 MB, To be downloaded 1795kB

to be removed because there are not used any more
---------------------------------------------------------------------------
libcurl3-gnutls
libgdal1-1.5.0
...
libxerces-c28
To be removed because depends are broken:
----------------------------------------------------------------
gdal-ecw-src
libgdal1-dev
...
To be installed (why??? => suggest ==> Don't suggest in apt.conf):
-------------------------------------------------------------------------------------------------
libonig2
libqdbm14
manpages-dev
php5-suhosin

# aptitude update
# aptitude update
Obj http://debian stable Release.gpg
Obj http://debian stable/main Translation-es
Obj http://debian.mcmillan.net.nz lenny Release.gpg
Ign http://debian.mcmillan.net.nz lenny/awm Translation-es
Ign http://debian stable/contrib Translation-es
Obj http://debian.mcmillan.net.nz lenny Release
Ign http://debian stable/non-free Translation-es
Obj http://debian testing Release.gpg
Ign http://debian.mcmillan.net.nz lenny/awm Packages/DiffIndex
Obj http://debian testing/main Translation-es
Obj http://debian.mcmillan.net.nz lenny/awm Packages
Ign http://debian testing/contrib Translation-es
Ign http://debian testing/non-free Translation-es
Obj http://debian stable Release
Obj http://debian testing Release
Ign http://debian stable/main Packages/DiffIndex
Ign http://debian stable/contrib Packages/DiffIndex
Ign http://debian stable/non-free Packages/DiffIndex
Obj http://debian testing/main Packages/DiffIndex
Obj http://debian testing/contrib Packages/DiffIndex
Obj http://debian testing/non-free Packages/DiffIndex
Obj http://debian stable/main Packages
Obj http://debian stable/contrib Packages
Obj http://debian stable/non-free Packages
Leyendo lista de paquetes... Hecho

# LANG=C aptitude full-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.

Maybe I should start another thread here ... feel free changing
subject in response ( I think this could help to know why the
behaviour is like showed):

All this is because I want to install php5 and apache from testing, so
I configured:
$cat /etc/apt/preferences
Package: php5*
Pin: release a=testing
Pin-Priority: 1001

Package: apache2*
Pin: release a=testing
Pin-Priority: 1001

$cat /etc/apt/apt.conf
APT::Default-Release "stable";
APT::Install-Suggests "false";

# LANG=C aptitude install -t testing php5-sqlite
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
The following packages are BROKEN:
libc6-dev libgssapi-krb5-2 libk5crypto3 libkrb5-3 libkrb5support0
libsqlite3-dev libssl-dev php5-cli php5-gd php5-ldap php5-mysql
php5-pgsql
The following NEW packages will be installed:
libc-bin{a} libdb4.8{a} libonig2{a} libqdbm14{a} php5-suhosin{a}
The following packages will be upgraded:
libapache2-mod-php5 libc6 libpcre3 libsqlite3-0 libssl0.9.8 libxml2
locales php5-common php5-sqlite
The following packages are RECOMMENDED but will NOT be installed:
xml-core
9 packages upgraded, 9 newly installed, 0 to remove and 432 not upgraded.
Need to get 17.4MB of archives. After unpacking 7913kB will be used.
The following packages have unmet dependencies:
libkrb5-3: Breaks: libkrb53 (< 1.6.dfsg.4~beta1-9) but
1.6.dfsg.4~beta1-5lenny4 is installed.
libk5crypto3: Breaks: libkrb53 (< 1.6.dfsg.4~beta1-9) but
1.6.dfsg.4~beta1-5lenny4 is installed.
php5-gd: Depends: php5-common (= 5.2.6.dfsg.1-1+lenny8) but 5.3.2-2
is to be installed.
libkrb5support0: Breaks: libkrb53 (< 1.6.dfsg.4~beta1-9) but
1.6.dfsg.4~beta1-5lenny4 is installed.
libssl-dev: Depends: libssl0.9.8 (= 0.9.8g-15+lenny7) but 0.9.8o-1
is to be installed.
php5-pgsql: Depends: php5-common (= 5.2.6.dfsg.1-1+lenny8) but
5.3.2-2 is to be installed.
libc6-dev: Depends: libc6 (= 2.7-18lenny4) but 2.11.2-2 is to be installed.
libsqlite3-dev: Depends: libsqlite3-0 (= 3.5.9-6) but 3.7.0-1.1 is
to be installed.
php5-ldap: Depends: php5-common (= 5.2.6.dfsg.1-1+lenny8) but
5.3.2-2 is to be installed.
php5-mysql: Depends: php5-common (= 5.2.6.dfsg.1-1+lenny8) but
5.3.2-2 is to be installed.
php5-cli: Depends: php5-common (= 5.2.6.dfsg.1-1+lenny8) but 5.3.2-2
is to be installed.
libgssapi-krb5-2: Breaks: libkrb53 but 1.6.dfsg.4~beta1-5lenny4 is installed.
open: 1986; closed: 1940; defer: 0; conflict: 57

oThe following actions will resolve these dependencies:

Remove the following packages:
davical
gdal-ecw-src
libcurl4-openssl-dev
libgdal1-dev
libkadm55
libkrb5-dev
libkrb53
libpq-dev
libssl-dev
php-net-ipv4
php-pear
php5-cli
php5-dev
php5-gd
php5-mysql
php5-pgsql
samba
tshark
wireshark-common

Install the following packages:
gcc-4.4-base [4.4.4-8 (testing)]
libc-dev-bin [2.11.2-2 (testing)]
liblzma2 [4.999.9beta+20100713-1 (testing)]
manpages-dev [3.25-1 (testing)]
xz-utils [4.999.9beta+20100713-1 (testing)]

Upgrade the following packages:
binutils [2.18.1~cvs20080103-7 (stable, now) -> 2.20.1-12 (testing)]
dpkg [1.14.29 (stable, now) -> 1.15.7.2 (testing)]
libc6-dev [2.7-18lenny4 (stable, now) -> 2.11.2-2 (testing)]
libcups2 [1.3.8-1+lenny8 (stable, now) -> 1.4.4-2 (testing)]
libcurl3 [7.18.2-8lenny4 (stable, now) -> 7.21.0-1 (testing)]
libcurl3-gnutls [7.18.2-8lenny4 (stable, now) -> 7.21.0-1 (testing)]
libgcrypt11 [1.4.1-1 (stable, now) -> 1.4.5-2 (testing)]
libgnutls26 [2.4.2-6+lenny2 (stable, now) -> 2.8.6-1 (testing)]
libgpg-error0 [1.4-2 (stable, now) -> 1.6-1 (testing)]
libidn11 [1.8+20080606-1 (stable, now) -> 1.15-2 (testing)]
libidn11-dev [1.8+20080606-1 (stable, now) -> 1.15-2 (testing)]
libneon27 [0.28.2-6.1 (stable, now) -> 0.29.3-2 (testing)]
libneon27-gnutls [0.28.2-6.1 (stable, now) -> 0.29.3-2 (testing)]
libpq5 [8.3.11-0lenny1 (stable, now) -> 8.4.4-2 (testing)]
libsqlite3-dev [3.5.9-6 (stable, now) -> 3.7.0-1.1 (testing)]
libssh2-1 [0.18-1 (stable, now) -> 1.2.6-1 (testing)]
libssh2-1-dev [0.18-1 (stable, now) -> 1.2.6-1 (testing)]
libstdc++6 [4.3.2-1.1 (stable, now) -> 4.4.4-8 (testing)]
libtasn1-3 [1.4-1 (stable, now) -> 2.7-1 (testing)]
openssh-client [1:5.1p1-5 (stable, now) -> 1:5.5p1-4 (testing)]
openssh-server [1:5.1p1-5 (stable, now) -> 1:5.5p1-4 (testing)]
php5-ldap [5.2.6.dfsg.1-1+lenny8 (stable, now) -> 5.3.2-2 (testing)]
samba-common [2:3.2.5-4lenny11 (stable, now) -> 2:3.4.8~dfsg-2 (testing)]

Leave the following dependencies unresolved:
libapache2-mod-php5 recommends php5-cli
samba-common recommends samba-common-bin
Score is 975

Thank you very much


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/AANLkTin0K72NRyHKLXpXN...@mail.gmail.com

Javier Barroso

unread,
Aug 27, 2010, 5:50:05 AM8/27/10
to
Hi,

On Fri, Aug 27, 2010 at 11:14 AM, Javier Barroso <javib...@gmail.com> wrote:

>
> All this is because I want to install php5 and apache from testing, so

I have just remembered this is a php5 customized (with oracle support)
instance, so it is not applicable to debian. Maybe a clean upgrade
from php5 from lenny to squeeze is working fine.

Thank you


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Archive: http://lists.debian.org/AANLkTimxzxkktLfmy=hy9oOEO+g80Gx1JejVx4e=eR...@mail.gmail.com

Sven Joachim

unread,
Aug 27, 2010, 7:00:01 AM8/27/10
to
On 2010-08-27 11:14 +0200, Javier Barroso wrote:

> Hi,
>
> do you know why aptitude want to install and remove package from
> ncurses but not from command line?

This can happen if you had requested actions (even on the commandline)
that failed for some reason. While "aptitude safe-upgrade" or even
"aptitude full-upgrade" will not resume these, the TUI does when you
press "g". You can avoid this by choosing "Cancel pending actions" in
the Actions menu.

Sven


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Archive: http://lists.debian.org/878w3sz...@turtle.gmx.de

Javier Barroso

unread,
Aug 27, 2010, 7:10:03 AM8/27/10
to
On Fri, Aug 27, 2010 at 12:51 PM, Sven Joachim <sven...@gmx.de> wrote:
> On 2010-08-27 11:14 +0200, Javier Barroso wrote:
>
>> Hi,
>>
>> do you know why aptitude want to install and remove package from
>> ncurses but not from command line?
>
> This can happen if you had requested actions (even on the commandline)
> that failed for some reason.  While "aptitude safe-upgrade" or even
> "aptitude full-upgrade" will not resume these, the TUI does when you
> press "g".  You can avoid this by choosing "Cancel pending actions" in
> the Actions menu.

Great!

Thank you very much


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Archive: http://lists.debian.org/AANLkTikSeS6idEOPcqmcp...@mail.gmail.com

0 new messages