Public bug reported:

The solver evaluation embeds the error messages in ErrorMessage in the
crash report. It failed to escape multi-line messages, leading to
invalid deb822 and hence failures in apport/whoopsie processing the
crash report; for example:

ProblemType: AptSolver
Architecture: amd64
Date: Wed Mar 26 16:41:34 2025
Package: apt
Title: Failure: The 3.0 solver did not find a result
SourcePackage: apt
ErrorMessage:
 Unable to satisfy dependencies. Reached two conflicting decisions:
1. a:amd64=3 is selected for install

2. a:amd64 Depends c
   but none of the choices are installable:
   - c:amd64 is not selected for install

AptSolverDump:
 KLUv/QBY5QgAxhA2IzCpOAfgst3lJk2FjE2i5AOU6+eTHBHuEsW609NqtoICdYwDLgAqACsAi2aj
 Zi28rAjRnFkYqY6H4a0lvAOwUazJpv5NkR9bwq+hEgCHfCCHQGqEnxAOCanNNXwvUIxt6g32gPdR
 im17j61T3xOYg3RTGdsI20P9jEiCiZZ5EWFElhthm5xNpYd7dgjTpH6hIfUuiS7yIcW2uY6SS1WI
 /Vy/x8BvcpBiCJ6GQgTLuiI+J0ncMKfC1S7doeAVUh939WobcDgkUls/jK0TKa134rCyGjpNOYsC
 GSBgIilX7aq01KDBBt4oi0w/kOeAdjvtU00ZcYgeC9YnotIGdPFvjaQgavB2Wua6CVRn3tvF4chh
 4AEIgvUOTAY=

** Affects: apt (Ubuntu)
     Importance: High
     Assignee: Julian Andres Klode (juliank)
         Status: In Progress

** Changed in: apt (Ubuntu)
    Milestone: None => ubuntu-25.04

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/2104276

Title:
  Solver evaluation fails to multiline-escape multi-line errors

Status in apt package in Ubuntu:
  In Progress

Bug description:
  The solver evaluation embeds the error messages in ErrorMessage in the
  crash report. It failed to escape multi-line messages, leading to
  invalid deb822 and hence failures in apport/whoopsie processing the
  crash report; for example:

  ProblemType: AptSolver
  Architecture: amd64
  Date: Wed Mar 26 16:41:34 2025
  Package: apt
  Title: Failure: The 3.0 solver did not find a result
  SourcePackage: apt
  ErrorMessage:
   Unable to satisfy dependencies. Reached two conflicting decisions:
  1. a:amd64=3 is selected for install

  2. a:amd64 Depends c
     but none of the choices are installable:
     - c:amd64 is not selected for install

  AptSolverDump:
   KLUv/QBY5QgAxhA2IzCpOAfgst3lJk2FjE2i5AOU6+eTHBHuEsW609NqtoICdYwDLgAqACsAi2aj
   Zi28rAjRnFkYqY6H4a0lvAOwUazJpv5NkR9bwq+hEgCHfCCHQGqEnxAOCanNNXwvUIxt6g32gPdR
   im17j61T3xOYg3RTGdsI20P9jEiCiZZ5EWFElhthm5xNpYd7dgjTpH6hIfUuiS7yIcW2uY6SS1WI
   /Vy/x8BvcpBiCJ6GQgTLuiI+J0ncMKfC1S7doeAVUh939WobcDgkUls/jK0TKa134rCyGjpNOYsC
   GSBgIilX7aq01KDBBt4oi0w/kOeAdjvtU00ZcYgeC9YnotIGdPFvjaQgavB2Wua6CVRn3tvF4chh
   4AEIgvUOTAY=

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/2104276/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to