[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Strange aptitude behaviour and crashes



On 6/4/06, Florian Kulzer <florian@molphys.leidenuniv.nl> wrote:
On Sat, Jun 03, 2006 at 17:50:51 -0400, Henk Boom wrote:
> Hi, ever since dist-upgrading from sarge to etch, I have been having
> some issues with aptitude. Here's an example:
>
> When I look at the entries for the gimp (which I do not have
> installed) in aptitude, the entry on the main list is (approximately):
> p gimp      <none> <none>
> and when I hit enter on this entry I get a page without a description,
> with only an entry for "Packages which depend on gimp" and for
> "Versions". Although there is no version listed at the top of this
> page, there _is_ a version listed as
> p 2.2.11-1
> in this Versions entry.
>
> When I hit enter on that version, I get a new page which is more
> complete. The version at the top right of the page is still listed as
> <none>, but there is a description of the package and the usual
> dependency information. I can't install by hitting plus at the top of
> this page, but it lets me do so when I select the entry in the
> Versions node.
>
> However, when try to install, aptitude tells me "Suggest 2 keeps" and
> gives me three choices, to leave both gimp and gimp-data at their
> current versions (which is [UNINST]), to install gimp-data and
> gimp-svg, or to install just gimp-data. When I pick either of the last
> two, it appears to work OK, but when I hit go and confirm, aptitude
> dies with a segfault. It might be helpful to know that when I am not
> logged in as root, it crashes after asking whether I want to become
> root, but before giving me the password prompt.
>
> My sources.list reads:
> deb ftp://mirror.direct.ca/pub/linux/debian/ etch main
> deb-src ftp://mirror.direct.ca/pub/linux/debian/ etch main
>
> deb ftp://mirror.direct.ca/pub/linux/debian/ etch non-free
> deb ftp://mirror.direct.ca/pub/linux/debian/ etch contrib
>
> I have an identical problem with trying to install inkscape. These are
> both programs which I had installed from backports before
> dist-upgrading from sarge, but uninstalled when I upgraded.

I would check if the problem is with aptitude or if it occurs at a
"lower" level in the packaging system. Try if the following commands
produce reasonable output:

apt-cache policy gimp
apt-cache show gimp

(The first one should list all versions of gimp that apt knows about,
 and the second one should print a package description.)

You could also try to install gimp and inscape via apt-get:

apt-get install gimp inkscape

If apt-cache and apt-get work then you probably have some problem in
aptitude's configuration files. It might help to purge aptitude and
reinstall it:

apt-get remove --purge aptitude
apt-get install aptitude

--
Regards,
          Florian

It would appear that the apt-get install gimp inkscape command gives
me the most indicative information.

Here's the output of all three commands:

====================================

henk-linux:~# apt-cache policy gimp
gimp:
 Installed: (none)
 Candidate: (none)
 Package pin: (not found)
 Version table:
    2.2.11-1 999
       500 ftp://mirror.direct.ca etch/main Packages
henk-linux:~# apt-cache policy gimp
Package: gimp
Priority: optional
Section: graphics
Installed-Size: 7824
Maintainer: Ari Pollak <ari@debian.org>
Architecture: i386
Version: 2.2.11-1
Replaces: gimp1.2 (<< 1.2.5-1), gimp1.3, gimp-nonfree, gimp-data (<< 2.0.2-4)
Provides: gimp2.0, gimp-nonfree
Depends: wget, gimp-data (= 2.2.11-1), libaa1 (>= 1.2), libart-2.0-2
(>= 2.3.16), libatk1.0-0 (>= 1.9.0), libc6 (>= 2.3.6-6), libcairo2 (>=
1.0.2-2), libexif12, libexpat1 (>= 1.95.8), libfontconfig1 (>= 2.3.0),
libfreetype6 (>= 2.1.7), libgimp2.0 (>= 2.2.0+rel), libglib2.0-0 (>=
2.10.0), libgtk2.0-0 (>= 2.8.0), libice6, libjpeg62, liblcms1 (>=
1.08-1), libmng1 (>= 1.0.3-1), libpango1.0-0 (>= 1.12.1), libpng12-0
(>= 1.2.8rel), libsm6, libtiff4, libwmf0.2-7 (>= 0.2.8.3), libx11-6,
libxcursor1 (>> 1.1.2), libxext6, libxfixes3, libxi6, libxinerama1,
libxmu6, libxpm4, libxrandr2, libxrender1, libxt6, zlib1g (>= 1:1.2.1)
Recommends: gimp-svg, gimp-print
Suggests: gimp-help-en | gimp-help, gimp-python, libgimp-perl,
gimp-data-extras, libasound2 (>= 1.0.0)
Conflicts: gimp1.2 (<< 1.2.5-1), gimp1.3, gimp-nonfree, gimp-data (<<
2.0.2-4), libgimp2.0 (>= 2.3.0)
Filename: pool/main/g/gimp/gimp_2.2.11-1_i386.deb
Size: 3003670
MD5sum: 916d4e083c5e39cd55c3102b3501f096
Description: The GNU Image Manipulation Program
The GIMP lets you draw, paint, edit images, and much more! GIMP
includes the functionality and plug-ins of other famous image
editing and processing programs.
.
If you'd like to use a MIDI device as an input controller in GIMP,
install libasound2 and read the how-to at /usr/share/doc/gimp/README.MIDI
Tag: interface::x11, role::sw:application, role::sw:shlib,
suite::gimp, uitoolkit::gtk, use::editing, works-with::image:raster,
x11::application
Task: desktop

henk-linux:~# apt-get install gimp inkscape

Reading package lists... 0%

Reading package lists... 100%

Reading package lists... Done


Building dependency tree... 0%

Building dependency tree... 0%

Building dependency tree... 50%

Building dependency tree... 50%

Building dependency tree... Done

Package gimp is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
 gimp-python gimp-helpbrowser gimp-data
E: Package gimp has no installation candidate

====================================



Reply to: