Page MenuHomeSolus

Package removal fails for boostnote
Closed, InvalidPublic

Description

I installed Boostnote from the software center, ran it one time, uninstalled from the software center. The button still said "remove" as if the package hadn't been uninstalled yet.

It cannot be uninstalled

sudo eopkg rm boostnote --debug output:

DEBUG: HistoryDB initialized in 0.000362873077393.
DEBUG: ComponentDB initialized in 0.00278520584106.
DEBUG: RepoDB initialized in 6.103515625e-05.
DEBUG: InstallDB initialized in 0.00300693511963.
digraph G {
boostnote[ label = "boostnote(0.11.15,6)" ];


}
The following list of packages will be removed
in the respective order to satisfy dependencies:
boostnote 
Removing package boostnote
DEBUG: FilesDB initialized in 0.00237512588501.
Installed file /usr/bin/boostnote does not exist on system [Probably you manually deleted]
Installed file /usr/share/applications/boostnote.desktop does not exist on system [Probably you manually deleted]
Installed file /usr/share/boostnote/Boostnote does not exist on system [Probably you manually deleted]

... thousands of files ... 

Installed file /usr/share/boostnote/resources/app/node_modules/@icons/material/StarOutlineIcon.js does not exist on system [Probably you manually deleted]
Installed file /usr/share/boostnote/resources/app/node_modules/@icons/material/SteamIcon.js does not exist on system [Probably you manually deleted]
System error. Program terminated.
<class 'bsddb.db.DBRunRecoveryError'>: (-30973, 'BDB0087 DB_RUNRECOVERY: Fatal error, run database recovery -- BDB0061 PANIC: Invalid argument')
Please use 'eopkg help' for general help.

Traceback:
  File "/usr/bin/eopkg", line 82, in <module>
    cli.run_command()
  File "/usr/lib/python2.7/site-packages/pisi/cli/pisicli.py", line 142, in run_command
    self.command.run()
  File "/usr/lib/python2.7/site-packages/pisi/cli/remove.py", line 66, in run
    pisi.api.remove(packages)
  File "/usr/lib/python2.7/site-packages/pisi/api.py", line 69, in wrapper
    ret = func(*__args,**__kw)
  File "/usr/lib/python2.7/site-packages/pisi/api.py", line 431, in remove
    return pisi.operations.remove.remove(packages, ignore_dependency, ignore_safety)
  File "/usr/lib/python2.7/site-packages/pisi/operations/remove.py", line 106, in remove
    raise e
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
  File "/usr/lib/python2.7/atexit.py", line 24, in _run_exitfuncs
    func(*targs, **kargs)
  File "/usr/lib/python2.7/site-packages/pisi/__init__.py", line 64, in _cleanup
    filesdb.close()
  File "/usr/lib/python2.7/site-packages/pisi/db/filesdb.py", line 94, in close
    self.filesdb.close()
  File "/usr/lib/python2.7/shelve.py", line 146, in close
    self.sync()
  File "/usr/lib/python2.7/shelve.py", line 173, in sync
    self.dict.sync()
  File "/usr/lib/python2.7/bsddb/__init__.py", line 347, in sync
    return _DeadlockWrap(self.db.sync)
  File "/usr/lib/python2.7/bsddb/dbutils.py", line 68, in DeadlockWrap
    return function(*_args, **_kwargs)
DBRunRecoveryError: (-30973, 'BDB0087 DB_RUNRECOVERY: Fatal error, run database recovery -- BDB0060 PANIC: fatal region error detected; run recovery')
Error in sys.exitfunc:
No handlers could be found for logger "pisi"
System error. Program terminated.
<class 'bsddb.db.DBRunRecoveryError'>: (-30973, 'BDB0087 DB_RUNRECOVERY: Fatal error, run database recovery -- BDB0060 PANIC: fatal region error detected; run recovery')
Please use 'eopkg help' for general help.

Traceback:
  File "/usr/lib/python2.7/atexit.py", line 24, in _run_exitfuncs
    func(*targs, **kargs)
  File "/usr/lib/python2.7/site-packages/pisi/__init__.py", line 64, in _cleanup
    filesdb.close()
  File "/usr/lib/python2.7/site-packages/pisi/db/filesdb.py", line 94, in close
    self.filesdb.close()
  File "/usr/lib/python2.7/shelve.py", line 146, in close
    self.sync()
  File "/usr/lib/python2.7/shelve.py", line 173, in sync
    self.dict.sync()
  File "/usr/lib/python2.7/bsddb/__init__.py", line 347, in sync
    return _DeadlockWrap(self.db.sync)
  File "/usr/lib/python2.7/bsddb/dbutils.py", line 68, in DeadlockWrap
    return function(*_args, **_kwargs)

Event Timeline

Beer created this task.Mar 8 2019, 11:24 PM
Beer updated the task description. (Show Details)Mar 8 2019, 11:47 PM

Does sudo eopkg rebuild-db work?

Beer added a comment.Mar 9 2019, 12:15 AM

Well.. that did the trick, thanks.

Still probably a bug somewhere with this I'd imagine. it was a clean install/uninstall, I didn't even test the application out beyond looking at it (just wanted to see if it had sync services other than dropbox). I tested installing/uninstalling other packages and didn't have any issues, just this one.