Ticket #890 (closed defect: fixed)

Opened 10 years ago

Last modified 10 years ago

Uninstalling a target that becomes undisambiguatable breaks

Reported by: zlin Owned by:
Priority: Sometime Milestone: cave Basic Functionality
Component: clients/cave Version: scm
Keywords: Cc:
Blocked By: Blocking:
Distribution: Exherbo

Description

Steps to reproduce: Add a package to a repo. Install it. Nuke it from said repo. Uninstall it.

After successful uninstallation you get:

Error:

  • In program cave execute-resolution !Test:
  • When executing chosen resolution:
  • When parsing user package dep spec 'Test':
  • When parsing generic package dep spec 'Test':
  • When disambiguating package name 'Test':
  • Could not find 'Test' (paludis::NoSuchPackageError?)

Change History

comment:1 Changed 10 years ago by ciaranm

  • Summary changed from Uninstalling a package that isn't installable causes backtrace to Uninstalling a target that becomes undisambiguatable breaks
#5  0x0000000000472d9a in update_world (env=..., cmdline=<value optimized out>, removes=true) at cmd_execute_resolution.cc:551
#6  0x0000000000479d02 in execute_update_world (env=..., lists=..., cmdline=...) at cmd_execute_resolution.cc:601
#7  execute_resolution_main (env=..., lists=..., cmdline=...) at cmd_execute_resolution.cc:999
#8  0x000000000047b10a in execute_resolution (this=<value optimized out>, env=..., args=<value optimized out>, maybe_lists=<value optimized out>)
    at cmd_execute_resolution.cc:1175
#9  paludis::cave::ExecuteResolutionCommand::run (this=<value optimized out>, env=..., args=<value optimized out>, maybe_lists=<value optimized out>)
    at cmd_execute_resolution.cc:1249
#10 0x000000000047c02f in paludis::cave::ExecuteResolutionCommand::run (this=0x7fffea797e70, env=..., args=...) at cmd_execute_resolution.cc:1257
#11 0x0000000000442e7b in main (argc=5, argv=0x7fffffffd9f8) at cave.cc:70

Need to do the parsing earlier

comment:2 Changed 10 years ago by ciaranm

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.