Skip to content

"switch_alt_group: Assertion `curpkgd' failed." when uninstalling a package #312

@ackalker

Description

@ackalker

On Void Linux x86_64 (GLibc), xbps-0.59.1_2, today I hit this assertion when trying to uninstall some packages which are no longer in the repo.

Captured output of what I did:

# xbps-remove -fR ConsoleKit2 advancescan archivemount chirp-daily conkeror libprotobuf-lite18 libtk-img lunzip php-zmq pm-utils python-crypto python-websockify python3-PyQt4 statifier

Name               Action    Version           New version            Download size
ConsoleKit2        remove    1.2.1_2           -                      - 
cgmanager          remove    0.42_1            -                      - 
libcgmanager       remove    0.42_1            -                      - 
libnih             remove    1.0.3_5           -                      - 
advancescan        remove    1.18_1            -                      - 
archivemount       remove    0.8.7_1           -                      - 
chirp-daily        remove    20170714_1        -                      - 
pygtk              remove    2.24.0_14         -                      - 
python-gobject2    remove    2.28.7_2          -                      - 
python-pyserial    remove    3.4_3             -                      - 
libxml2-python     remove    2.9.10_2          -                      - 
conkeror           remove    1.0.3_1           -                      - 
libprotobuf-lite18 remove    3.7.1_1           -                      - 
libtk-img          remove    1.4.6_1           -                      - 
lunzip             remove    1.9_1             -                      - 
php-zmq            remove    1.1.3_1           -                      - 
zeromq             remove    4.3.2_1           -                      - 
pm-utils           remove    1.4.1_8           -                      - 
python-crypto      remove    2.6.1_9           -                      - 
python-websockify  remove    0.8.0_1           -                      - 
python3-PyQt4      remove    4.12.1_3          -                      - 
qt                 remove    4.8.7_29          -                      - 
python3-sip        remove    4.19.19_2         -                      - 
statifier          remove    1.7.4_1           -                      - 

Size freed on disk:             77MB
Space available on disk:        29GB

Do you want to continue? [Y/n] 
Removing `ConsoleKit2-1.2.1_2' ...
Removed `ConsoleKit2-1.2.1_2' successfully.
Removing `cgmanager-0.42_1' ...
Removed `cgmanager-0.42_1' successfully.
Removing `libcgmanager-0.42_1' ...
Removed `libcgmanager-0.42_1' successfully.
Removing `libnih-1.0.3_5' ...
Removed `libnih-1.0.3_5' successfully.
Removing `advancescan-1.18_1' ...
Removed `advancescan-1.18_1' successfully.
Removing `archivemount-0.8.7_1' ...
Removed `archivemount-0.8.7_1' successfully.
Removing `chirp-daily-20170714_1' ...
Updating MIME database...
Removed `chirp-daily-20170714_1' successfully.
Removing `pygtk-2.24.0_14' ...
Removing byte-compiled python2.7 code for module gtk-2.0/gtk...
Updating ldconfig(8) cache...
Removed `pygtk-2.24.0_14' successfully.
Removing `python-gobject2-2.28.7_2' ...
Removing byte-compiled python2.7 code for module glib...
Removing byte-compiled python2.7 code for module gobject...
Removing byte-compiled python2.7 code for module gtk-2.0...
Removing byte-compiled python2.7 code for module pygtk.py...
Updating ldconfig(8) cache...
Removed `python-gobject2-2.28.7_2' successfully.
Removing `python-pyserial-3.4_3' ...
Removing byte-compiled python2.7 code for module serial...
Updating ldconfig(8) cache...
python-pyserial-3.4_3: unregistered 'pyserial' alternatives group
Removed `python-pyserial-3.4_3' successfully.
Removing `libxml2-python-2.9.10_2' ...
Removing byte-compiled python2.7 code for module drv_libxml2.py...
Removing byte-compiled python2.7 code for module libxml2.py...
Updating ldconfig(8) cache...
Removed `libxml2-python-2.9.10_2' successfully.
Removing `conkeror-1.0.3_1' ...
Updating MIME database...
Removed `conkeror-1.0.3_1' successfully.
Removing `libprotobuf-lite18-3.7.1_1' ...
Removed `libprotobuf-lite18-3.7.1_1' successfully.
Removing `libtk-img-1.4.6_1' ...
Removed `libtk-img-1.4.6_1' successfully.
Removing `lunzip-1.9_1' ...
Removed `lunzip-1.9_1' successfully.
Removing `php-zmq-1.1.3_1' ...
Removed `php-zmq-1.1.3_1' successfully.
Removing `zeromq-4.3.2_1' ...
Removed `zeromq-4.3.2_1' successfully.
Removing `pm-utils-1.4.1_8' ...
Removed `pm-utils-1.4.1_8' successfully.
Removing `python-crypto-2.6.1_9' ...
Removing byte-compiled python2.7 code for module Crypto...
Updating ldconfig(8) cache...
Removed `python-crypto-2.6.1_9' successfully.
Removing `python-websockify-0.8.0_1' ...
Removed `python-websockify-0.8.0_1' successfully.
Removing `python3-PyQt4-4.12.1_3' ...
Removing 'pyqt4' alternatives group symlink: pyuic4
python3-PyQt4-4.12.1_3: unregistered 'pyqt4' alternatives group
xbps-remove: package_alternatives.c:319: switch_alt_group: Assertion `curpkgd' failed.
Aborted

Hopefully I'll be able to provide more info on request.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions