Bug#552747: aptitude: Internal error: unexpected null solution.

2012-01-22 Thread Hristo Hristov
Hi Daniel,

I found the root cause of this bug:
http://anonscm.debian.org/gitweb/?p=aptitude/aptitude.git;a=commitdiff;h=36164657896b16a079f2e52d57ebdfcef3c61178#patch15

The correct change should have been:
-if(sol.get_actions().empty())
+if(sol.get_choices().size() == 0)

Cheers,
Hristo Hristov



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#552747: aptitude: Internal error: unexpected null solution.

2012-01-22 Thread Daniel Hartwig
tags 552747 + patch pending
thanks

On 22 January 2012 18:14, Hristo Hristov xper...@gmail.com wrote:
 Hi Daniel,

 I found the root cause of this bug:
 http://anonscm.debian.org/gitweb/?p=aptitude/aptitude.git;a=commitdiff;h=36164657896b16a079f2e52d57ebdfcef3c61178#patch15

 The correct change should have been:
 -    if(sol.get_actions().empty())
 +    if(sol.get_choices().size() == 0)


That was definitely a mistake.  I have applied your patch to the
development tree.

Thanks for tracking this down!



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#552747: aptitude: Internal error: unexpected null solution.

2010-03-09 Thread Marc Haber
On Tue, Mar 09, 2010 at 12:13:40AM +0100, Gunter Ohrner wrote:
 Am Sonntag, 7. März 2010 schrieb Marc Haber:
  I haven't seen a single correctly displayed conflict solution from
  aptitude in months.
 
 Actually aptitude does chose a sensible conflict resolution if I just 
 proceed, ignoring the message. (See me previous mails to this bug.)

Yes, that's why I wrote about a correctly displayed solution.

Greetings
Marc, who rarely chooses the first solution that aptitude offers

-- 
-
Marc Haber | I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things.Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 3221 2323190



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#552747: aptitude: Internal error: unexpected null solution.

2010-03-08 Thread Gunter Ohrner
Am Sonntag, 7. März 2010 schrieb Marc Haber:
 I haven't seen a single correctly displayed conflict solution from
 aptitude in months.

Actually aptitude does chose a sensible conflict resolution if I just 
proceed, ignoring the message. (See me previous mails to this bug.)

It just does never display it and shows the error message instead.

At least it's nice to hear I'm not the only one suffering from this 
problem... :)

  Gunter


signature.asc
Description: This is a digitally signed message part.


Bug#552747: aptitude: Internal error: unexpected null solution.

2009-11-21 Thread Hristo Hristov
Hello,

I'm also affected by this bug. If you need any information I'd be happy to send
it.

Best regards,
Hristo


signature.asc
Description: PGP signature


Bug#552747: aptitude: Internal error: unexpected null solution.

2009-11-11 Thread Gunter Ohrner
Am Mittwoch, 11. November 2009 schrieb Daniel Burrows:
   I can't reproduce this from the bundle you sent.  Could you run the
 program like this:
   $ aptitude --log-file=aptitude.log --log-level=info
   reproduce the problem, and attach aptitude.log to the report?

Of course, see the attachment.

This is what the message looks like (slightly adapted to the small message 
width to avoid messy line breaks) - please note the status bar message 
which states that aptitude has found a solution:

***

 Aktionen  Rückgängig  Paket  Auflöser  Suchen  Optionen  Ansichten  Hilfe
C-T: Menü ?: Hilfe q: Beenden u: Update g: Download/Inst./Entf. von 
Paketen
aptitude 0.6.0.1#Kaputt: 4   Werde 
21,2MB mehr belegen  DL-Größe: 187MB
--- Aktualisierbare Pakete (154)
--- Installierte Pakete (3339)
--- Nicht installierte Pakete (26872)
--- Veraltete und selbst erstellte Pakete (40)
--- Virtuelle Pakete (3235)
--- Tasks (790)
  ┌─┐
  │Interner Fehler: unerwartete Null-Lösung.   ▒│
Eine neuere Versio│[ Vorhergehende ][ Nächste ][ Anwenden ][ Schließen ]│
  └─┘
Diese Gruppe enthält 154 Pakete.



[1(1)/...] Schlage 4 Beibehaltungen vor
e: Prüfen  !: Anwenden  .: Nächste  ,: Vorhergehende




aptitude.log.bz2
Description: application/bzip


signature.asc
Description: This is a digitally signed message part.


Bug#552747: aptitude: Internal error: unexpected null solution.

2009-11-10 Thread Daniel Burrows
On Wed, Oct 28, 2009 at 11:39:18PM +0100, Gunter Ohrner 
g.ohr...@post.rwth-aachen.de was heard to say:
 Since upgrading aptitude from 0.4.x to 0.6.0.1, I just get the message
 
   Internal error: unexpected null solution.
 
 when trying to upgrade my SID system.

  Could you describe how you were trying to upgrade the system?  Is this
with aptitude full-upgrade, interactively, etc.

  Also, it looks like aptitude made a mistake when generating that trace
bundle.  Do you have a way of posting a full state snapshot?

Thanks,
  Daniel



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#552747: aptitude: Internal error: unexpected null solution.

2009-11-10 Thread Gunter Ohrner
Am Dienstag, 10. November 2009 schrieb Daniel Burrows:
Internal error: unexpected null solution.
  when trying to upgrade my SID system.

   Could you describe how you were trying to upgrade the system?  Is
  this with aptitude full-upgrade, interactively, etc.

It was interactively, ie. aptitude -u, g.

Running aptitude upgrade seems to find and suggest a solution without 
asking for advice, although the GUI shows conflicts.

   Also, it looks like aptitude made a mistake when generating that
  trace bundle.  Do you have a way of posting a full state snapshot?

The file created using aptitude-create-state-bundle? I'll try to create it 
and will upload it somewhere if its not too big.

Greetings,

  Gunter


signature.asc
Description: This is a digitally signed message part.


Bug#552747: aptitude: Internal error: unexpected null solution.

2009-11-10 Thread Gunter Ohrner
Am Dienstag, 10. November 2009 schrieb Gunter Ohrner:
 The file created using aptitude-create-state-bundle? I'll try to create
  it and will upload it somewhere if its not too big.

# aptitude-create-state-bundle --print-inputs
/root/.aptitude
/var/lib/aptitude
/var/lib/apt
/var/cache/apt/pkgcache.bin
/var/cache/apt/srcpkgcache.bin
/etc/apt
/var/lib/dpkg/status

# aptitude-create-state-bundle /tmp/aptitude_state_bundle
/root/.aptitude
/var/lib/aptitude
/var/lib/apt
/var/cache/apt/pkgcache.bin
/var/cache/apt/srcpkgcache.bin
/etc/apt
/var/lib/dpkg/status

= ftp://luggage.ohrner.net/misc/aptitude_state_bundle

I hope there's no sensitive data inside... ;)


signature.asc
Description: This is a digitally signed message part.


Bug#552747: aptitude: Internal error: unexpected null solution.

2009-11-10 Thread Daniel Burrows
  I can't reproduce this from the bundle you sent.  Could you run the
program like this:

  $ aptitude --log-file=aptitude.log --log-level=info

  reproduce the problem, and attach aptitude.log to the report?

Thanks,
  Daniel



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#552747: aptitude: Internal error: unexpected null solution.

2009-10-28 Thread Gunter Ohrner
Package: aptitude
Version: 0.6.0.1-1
Severity: important

Since upgrading aptitude from 0.4.x to 0.6.0.1, I just get the message

  Internal error: unexpected null solution.

when trying to upgrade my SID system.

My system is in a state which also required problem resolving before, as not 
all packages
can be upgraded at the moment without causing breakage, but aptitude 0.4.x 
dealt with
that without major problems...

Please request any further information you might need. I'll attach a Trace file 
shortly.

Greetings,

  Gunter

-- Package-specific info:
aptitude 0.6.0.1 compiled at Oct 25 2009 19:26:02
Compiler: g++ 4.3.4
Compiled against:
  apt version 4.8.1
  NCurses version 5.7
  libsigc++ version: 2.0.18
  Ept support enabled.
  Gtk+ support disabled.

Current library versions:
  NCurses version: ncurses 5.7.20090803
  cwidget version: 0.5.13
  Apt version: 4.8.1
linux-gate.so.1 =  (0xb80b5000)
libapt-pkg-libc6.9-6.so.4.8 = /usr/lib/libapt-pkg-libc6.9-6.so.4.8 
(0xb7fcb000)
libncursesw.so.5 = /lib/libncursesw.so.5 (0xb7f87000)
liblog4cxx.so.10 = /usr/lib/liblog4cxx.so.10 (0xb7ddd000)
libsigc-2.0.so.0 = /usr/lib/libsigc-2.0.so.0 (0x4bd8d000)
libcwidget.so.3 = /usr/lib/libcwidget.so.3 (0xb7d1a000)
libept.so.0 = /usr/lib/libept.so.0 (0xb7c9f000)
libxapian.so.15 = /usr/lib/libxapian.so.15 (0xb7b4f000)
libz.so.1 = /usr/lib/libz.so.1 (0xb7b3a000)
libsqlite3.so.0 = /usr/lib/libsqlite3.so.0 (0xb7ab6000)
libboost_iostreams.so.1.40.0 = /usr/lib/libboost_iostreams.so.1.40.0 
(0xb7aab000)
libpthread.so.0 = /lib/i686/cmov/libpthread.so.0 (0xb7a92000)
libstdc++.so.6 = /usr/lib/libstdc++.so.6 (0xb79a)
libm.so.6 = /lib/i686/cmov/libm.so.6 (0xb797a000)
libgcc_s.so.1 = /lib/libgcc_s.so.1 (0xb795c000)
libc.so.6 = /lib/i686/cmov/libc.so.6 (0xb7818000)
libutil.so.1 = /lib/i686/cmov/libutil.so.1 (0xb7814000)
libdl.so.2 = /lib/i686/cmov/libdl.so.2 (0xb781)
libaprutil-1.so.0 = /usr/lib/libaprutil-1.so.0 (0xb77f)
libapr-1.so.0 = /usr/lib/libapr-1.so.0 (0xb77c2000)
libuuid.so.1 = /lib/libuuid.so.1 (0xb77be000)
librt.so.1 = /lib/i686/cmov/librt.so.1 (0xb77b5000)
libcrypt.so.1 = /lib/i686/cmov/libcrypt.so.1 (0xb7783000)
libbz2.so.1.0 = /lib/libbz2.so.1.0 (0xb7773000)
/lib/ld-linux.so.2 (0xb80b6000)
libexpat.so.1 = /usr/lib/libexpat.so.1 (0xb774c000)
Terminal: xterm
$DISPLAY is set.
`which aptitude`: /usr/bin/aptitude
aptitude version information:

aptitude linkage:

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (950, 'unstable'), (500, 'testing'), (500, 'stable'), (200, 
'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.30-2-686 (SMP w/2 CPU cores)
Locale: lang=de...@euro, lc_ctype=de...@euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

Versions of packages aptitude depends on:
ii  apt [libapt-pkg-libc6. 0.7.24Advanced front-end for dpkg
ii  libboost-iostreams1.40 1.40.0-2  Boost.Iostreams Library
ii  libc6  2.10.1-2  GNU C Library: Shared libraries
ii  libcwidget30.5.13-1  high-level terminal interface libr
ii  libept00.5.29High-level library for managing De
ii  libgcc11:4.4.2-1 GCC support library
ii  liblog4cxx10   0.10.0-1  A logging library for C++
ii  libncursesw5   5.7+20090803-2shared libraries for terminal hand
ii  libsigc++-2.0-0c2a 2.0.18-2  type-safe Signal Framework for C++
ii  libsqlite3-0   3.6.19-2  SQLite 3 shared library
ii  libstdc++6 4.4.2-1   The GNU Standard C++ Library v3
ii  libxapian151.0.16-3  Search engine library
ii  zlib1g 1:1.2.3.3.dfsg-15 compression library - runtime

Versions of packages aptitude recommends:
pn  apt-xapian-index  none (no description available)
pn  aptitude-doc-en | aptitude-do none (no description available)
pn  libparse-debianchangelog-perl none (no description available)
ii  sensible-utils0.0.1  Utilities for sensible alternative

Versions of packages aptitude suggests:
ii  debtags   1.7.9+b2   Enables support for package tags
pn  tasksel   none (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org