Package: aptitude
Version: 0.4.4-4
Followup-For: Bug #469255

Hi

I tested the following on aptitude from etch on two packages shown by
dpkg --list | grep ^rc:

First lynx (which is present in the repository for etch):

valinor:~# apt-cache policy lynx
lynx:
  Installed: (none)
  Candidate: 2.8.5-2sarge2.2
  Version table:
     2.8.5-2sarge2.2 0
        500 http://ftp.ch.debian.org etch/main Packages
     2.8.5-2sarge2 0
        100 /var/lib/dpkg/status
valinor:~# dpkg --list | grep lynx
rc  lynx                     2.8.5-2sarge2                        Text-mode WWW 
Browser
valinor:~# aptitude -s -v -V purge lynx
Reading package lists... Done
Building dependency tree... Done
Reading extended state information       
Initializing package states... Done
Reading task descriptions... Done  
Building tag database... Done    
Package lynx is not installed, so it will not be removed
The following packages will be REMOVED:
  lynx{p} [2.8.5-2sarge2.2] 
0 packages upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Do you want to continue? [Y/n/?] 
Purg lynx

But now for a package, which was removed by an sarge -> etch update
(but not purged):

valinor:~# apt-cache policy xfree86-common
xfree86-common:
  Installed: (none)
  Candidate: (none)
  Version table:
     4.3.0.dfsg.1-14sarge3 0
        100 /var/lib/dpkg/status
valinor:~# dpkg --list | grep xfree86-common
rc  xfree86-common           4.3.0.dfsg.1-14sarge3                X Window 
System (XFree86) infrastructure
valinor:~# aptitude -s -v -V purge xfree86-common
Reading package lists... Done
Building dependency tree... Done
Reading extended state information       
Initializing package states... Done
Reading task descriptions... Done  
Building tag database... Done    
Package xfree86-common is not installed, so it will not be removed
The following packages will be REMOVED:
Segmentation fault
valinor:~# 

Ommiting the parameter "-V" didn't cause the segmentation fault on
simulating the purge.

valinor:~# aptitude -s -v purge xfree86-common
Reading package lists... Done
Building dependency tree... Done
Reading extended state information       
Initializing package states... Done
Reading task descriptions... Done  
Building tag database... Done    
Package xfree86-common is not installed, so it will not be removed
The following packages will be REMOVED:
  xfree86-common{p} 
0 packages upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Do you want to continue? [Y/n/?] 
Purg xfree86-common

So maybe this seems to be related to Bug #459336
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=459336
So I'm sorry to maybe fill this superfluous bugreport (and the
previous, with aptitude version from sid)

Best regards,
Salvatore

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-686
Locale: LANG=C, LC_CTYPE=de_CH.UTF-8 (charmap=UTF-8)

Versions of packages aptitude depends on:
ii  apt [libapt-pkg-libc6. 0.6.46.4-0.1      Advanced front-end for dpkg
ii  libc6                  2.3.6.ds1-13etch5 GNU C Library: Shared libraries
ii  libgcc1                1:4.1.1-21        GCC support library
ii  libncursesw5           5.5-5             Shared libraries for terminal hand
ii  libsigc++-2.0-0c2a     2.0.17-2          type-safe Signal Framework for C++
ii  libstdc++6             4.1.1-21          The GNU Standard C++ Library v3

Versions of packages aptitude recommends:
pn  aptitude-doc-en | aptitude-do <none>     (no description available)
pn  libparse-debianchangelog-perl <none>     (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to