You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by Rene Veerman <se...@gmail.com> on 2019/06/24 08:55:01 UTC

can't get couchdb installed (on a fresh 18.04 ubuntu)

i followed https://linuxize.com/post/how-to-install-couchdb-on-ubuntu-18-04/


but ended up with :

root@crow:~# apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer
required:
  libargon2-0 libcryptsetup12 libdevmapper1.02.1 libidn11 libip4tc0
libjson-c3
  libkmod2 systemd
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
16 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
Processing triggers for mime-support (3.60ubuntu1) ...
Setting up python3 (3.6.7-1~18.04) ...
running python rtupdate hooks for python3.6...
dpkg-query: package 'hplip-data' is not installed
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
Traceback (most recent call last):
  File "/usr/bin/py3clean", line 210, in <module>
    main()
  File "/usr/bin/py3clean", line 196, in main
    pfiles = set(dpf.from_package(options.package))
  File "/usr/share/python3/debpython/files.py", line 53, in from_package
    raise Exception("cannot get content of %s" % package_name)
Exception: cannot get content of hplip-data
error running python rtupdate hook hplip-data
dpkg-query: package 'ibus-hangul' is not installed
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
Traceback (most recent call last):
  File "/usr/bin/py3clean", line 210, in <module>
    main()
  File "/usr/bin/py3clean", line 196, in main
    pfiles = set(dpf.from_package(options.package))
  File "/usr/share/python3/debpython/files.py", line 53, in from_package
    raise Exception("cannot get content of %s" % package_name)
Exception: cannot get content of ibus-hangul
error running python rtupdate hook ibus-hangul
dpkg-query: package 'ibus-libpinyin' is not installed
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
Traceback (most recent call last):
  File "/usr/bin/py3clean", line 210, in <module>
    main()
  File "/usr/bin/py3clean", line 196, in main
    pfiles = set(dpf.from_package(options.package))
  File "/usr/share/python3/debpython/files.py", line 53, in from_package
    raise Exception("cannot get content of %s" % package_name)
Exception: cannot get content of ibus-libpinyin
error running python rtupdate hook ibus-libpinyin
dpkg-query: package 'ibus-table' is not installed
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
Traceback (most recent call last):
  File "/usr/bin/py3clean", line 210, in <module>
    main()
  File "/usr/bin/py3clean", line 196, in main
    pfiles = set(dpf.from_package(options.package))
  File "/usr/share/python3/debpython/files.py", line 53, in from_package
    raise Exception("cannot get content of %s" % package_name)
Exception: cannot get content of ibus-table
error running python rtupdate hook ibus-table
dpkg-query: package 'ibus' is not installed
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
Traceback (most recent call last):
  File "/usr/bin/py3clean", line 210, in <module>
    main()
  File "/usr/bin/py3clean", line 196, in main
    pfiles = set(dpf.from_package(options.package))
  File "/usr/share/python3/debpython/files.py", line 53, in from_package
    raise Exception("cannot get content of %s" % package_name)
Exception: cannot get content of ibus
error running python rtupdate hook ibus
dpkg-query: package 'python3-uno' is not installed
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
Traceback (most recent call last):
  File "/usr/bin/py3clean", line 210, in <module>
    main()
  File "/usr/bin/py3clean", line 196, in main
    pfiles = set(dpf.from_package(options.package))
  File "/usr/share/python3/debpython/files.py", line 53, in from_package
    raise Exception("cannot get content of %s" % package_name)
Exception: cannot get content of python3-uno
error running python rtupdate hook python3-uno
dpkg-query: package 'rhythmbox-plugin-alternative-toolbar' is not installed
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
Traceback (most recent call last):
  File "/usr/bin/py3clean", line 210, in <module>
    main()
  File "/usr/bin/py3clean", line 196, in main
    pfiles = set(dpf.from_package(options.package))
  File "/usr/share/python3/debpython/files.py", line 53, in from_package
    raise Exception("cannot get content of %s" % package_name)
Exception: cannot get content of rhythmbox-plugin-alternative-toolbar
error running python rtupdate hook rhythmbox-plugin-alternative-toolbar
dpkg-query: package 'rhythmbox-plugins' is not installed
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
Traceback (most recent call last):
  File "/usr/bin/py3clean", line 210, in <module>
    main()
  File "/usr/bin/py3clean", line 196, in main
    pfiles = set(dpf.from_package(options.package))
  File "/usr/share/python3/debpython/files.py", line 53, in from_package
    raise Exception("cannot get content of %s" % package_name)
Exception: cannot get content of rhythmbox-plugins
error running python rtupdate hook rhythmbox-plugins
dpkg-query: package 'system-config-printer-common' is not installed
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
Traceback (most recent call last):
  File "/usr/bin/py3clean", line 210, in <module>
    main()
  File "/usr/bin/py3clean", line 196, in main
    pfiles = set(dpf.from_package(options.package))
  File "/usr/share/python3/debpython/files.py", line 53, in from_package
    raise Exception("cannot get content of %s" % package_name)
Exception: cannot get content of system-config-printer-common
error running python rtupdate hook system-config-printer-common
dpkg-query: package 'system-config-printer' is not installed
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
Traceback (most recent call last):
  File "/usr/bin/py3clean", line 210, in <module>
    main()
  File "/usr/bin/py3clean", line 196, in main
    pfiles = set(dpf.from_package(options.package))
  File "/usr/share/python3/debpython/files.py", line 53, in from_package
    raise Exception("cannot get content of %s" % package_name)
Exception: cannot get content of system-config-printer
error running python rtupdate hook system-config-printer
dpkg-query: package 'ubiquity-frontend-gtk' is not installed
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
Traceback (most recent call last):
  File "/usr/bin/py3clean", line 210, in <module>
    main()
  File "/usr/bin/py3clean", line 196, in main
    pfiles = set(dpf.from_package(options.package))
  File "/usr/share/python3/debpython/files.py", line 53, in from_package
    raise Exception("cannot get content of %s" % package_name)
Exception: cannot get content of ubiquity-frontend-gtk
error running python rtupdate hook ubiquity-frontend-gtk
dpkg-query: package 'ubiquity' is not installed
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
Traceback (most recent call last):
  File "/usr/bin/py3clean", line 210, in <module>
    main()
  File "/usr/bin/py3clean", line 196, in main
    pfiles = set(dpf.from_package(options.package))
  File "/usr/share/python3/debpython/files.py", line 53, in from_package
    raise Exception("cannot get content of %s" % package_name)
Exception: cannot get content of ubiquity
error running python rtupdate hook ubiquity
dpkg-query: package 'ubuntu-drivers-common' is not installed
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
Traceback (most recent call last):
  File "/usr/bin/py3clean", line 210, in <module>
    main()
  File "/usr/bin/py3clean", line 196, in main
    pfiles = set(dpf.from_package(options.package))
  File "/usr/share/python3/debpython/files.py", line 53, in from_package
    raise Exception("cannot get content of %s" % package_name)
Exception: cannot get content of ubuntu-drivers-common
error running python rtupdate hook ubuntu-drivers-common
dpkg: error processing package python3 (--configure):
 installed python3 package post-installation script subprocess returned
error exit status 4
dpkg: dependency problems prevent configuration of python3-idna:
 python3-idna depends on python3:any (>= 3.3.2-2~); however:
  Package python3 is not configured yet.

dpkg: error processing package python3-idna (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-six:
 python3-six depends on python3:any (>= 3.4~); however:
  Package python3 is not configured yet.

dpkg: error processing package python3-six (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-certifi:
 python3-certifi depends on python3:any (>= 3.4~); however:
  Package python3 is not configured yet.

dpkg: error processing package python3-certifi (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-gi-cairo:
 python3-gi-cairo depends on python3 (<< 3.7); however:
  Package python3 is not configured yet.
 python3-gi-cairo depends on python3 (>= 3.6~); however:
  Package python3 is not configured yet.
 python3-gi-cairo depends on python3:any (>= 3.3~); however:
  Package python3 is not configured yet.

dpkg: error processing package python3-gi-cairo (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-pkg-resources:
 python3-pkg-resources depends on python3:any (>= 3.3.2-2~); however:
  Package python3 is not configured yet.

dpkg: error processing package python3-pkg-resources (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-gi:
 python3-gi depends on python3 (<< 3.7); however:
  Package python3 is not configured yet.
 python3-gi depends on python3 (>= 3.6~); however:
  Package python3 is not configured yet.
 python3-gi depends on python3:any (>= 3.3.2-2~); however:
  Package python3 is not configured yet.

dpkg: error processing package python3-gi (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-chardet:
 python3-chardet depends on python3:any (>= 3.3.2-2~); however:
  Package python3 is not configured yet.
 python3-chardet depends on python3-pkg-resources; however:
  Package python3-pkg-resources is not configured yet.

dpkg: error processing package python3-chardet (--configure):
 dependency problems - leaving unconfigured
Setting up systemd (237-3ubuntu10.23) ...
cp: '/etc/resolv.conf' and '/run/systemd/resolve/stub-resolv.conf' are the
same file
dpkg: error processing package systemd (--configure):
 installed systemd package post-installation script subprocess returned
error exit status 1
dpkg: dependency problems prevent configuration of gedit-common:
 gedit-common depends on python3:any (>= 3.3.2-2~); however:
  Package python3 is not configured yet.

dpkg: error processing package gedit-common (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of couchdb:
 couchdb depends on python3; however:
  Package python3 is not configured yet.

dpkg: error processing package couchdb (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of gedit:
 gedit depends on python3:any (>= 3.3.2-2~); however:
  Package python3 is not configured yet.
 gedit depends on gedit-common (>= 3.28); however:
  Package gedit-common is not configured yet.
 gedit depends on gedit-common (<< 3.29); however:
  Package gedit-common is not configured yet.
 gedit depends on python3-gi (>= 3.0); however:
  Package python3-gi is not configured yet.
 gedit depends on python3-gi-cairo (>= 3.0); however:
  Package python3-gi-cairo is not configured yet.

dpkg: error processing package gedit (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-requests:
 python3-requests depends on python3-certifi; however:
  Package python3-certifi is not configured yet.
 python3-requests depends on python3-chardet (<< 3.1.0); however:
  Package python3-chardet is not configured yet.
 python3-requests depends on python3-idna; however:
  Package python3-idna is not configured yet.
 python3-requests depends on python3:any (>= 3.4~); however:
  Package python3 is not configured yet.
 python3-requests depends on python3-chardet (>= 3.0.2); however:
  Package python3-chardet is not configured yet.

dpkg: error processing package python3-requests (--configure):
 dependency problems - leaving unconfigured
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
dpkg: dependency problems prevent configuration of python3-urllib3:
 python3-urllib3 depends on python3:any (>= 3.3.2-2~); however:
  Package python3 is not configured yet.
 python3-urllib3 depends on python3-six; however:
  Package python3-six is not configured yet.

dpkg: error processing package python3-urllib3 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-cairo:amd64:
 python3-cairo:amd64 depends on python3 (<< 3.7); however:
  Package python3 is not configured yet.
 python3-cairo:amd64 depends on python3 (>= 3.6~); however:
  Package python3 is not configured yet.
 python3-cairo:amd64 depends on python3:any (>= 3.3.2-2~); however:
  Package python3 is not configured yet.

dpkg: error processing package python3-cairo:amd64 (--configure):
 dependency problems - leaving unconfigured
Processing triggers for dbus (1.12.2-1ubuntu1.1) ...
dpkg: dependency problems prevent configuration of python3-progressbar:
 python3-progressbar depends on python3:any (>= 3.3.2-2~); however:
  Package python3 is not configured yet.

dpkg: error processing package python3-progressbar (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 python3
 python3-idna
 python3-six
 python3-certifi
 python3-gi-cairo
 python3-pkg-resources
 python3-gi
 python3-chardet
 systemd
 gedit-common
 couchdb
 gedit
 python3-requests
 python3-urllib3
 python3-cairo:amd64
 python3-progressbar
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@crow:~#

Re: can't get couchdb installed (on a fresh 18.04 ubuntu)

Posted by Rene Veerman <se...@gmail.com>.
hi.

the issue you mention seems not to apply to my situation. i'm stuck before
the post-install scripts for apt get even trigger.

and i followed the installation instructions you provided.
upon attempting to install couchdb however -> same errors as before :(

On Mon, Jun 24, 2019 at 11:48 AM Jan Lehnardt <ja...@apache.org> wrote:

> Jut a quick note that the official install instructions are here:
>
> http://docs.couchdb.org/en/stable/install/index.html
>
> And I saw this issue fly by which might be related?
>
> https://github.com/apache/couchdb-pkg/issues/44
>
> Best
> Jan
> —
>
> > On 24. Jun 2019, at 10:55, Rene Veerman <se...@gmail.com> wrote:
> >
> > i followed
> https://linuxize.com/post/how-to-install-couchdb-on-ubuntu-18-04/
> >
> >
> > but ended up with :
> >
> > root@crow:~# apt upgrade
> > Reading package lists... Done
> > Building dependency tree
> > Reading state information... Done
> > Calculating upgrade... Done
> > The following packages were automatically installed and are no longer
> > required:
> >  libargon2-0 libcryptsetup12 libdevmapper1.02.1 libidn11 libip4tc0
> > libjson-c3
> >  libkmod2 systemd
> > Use 'apt autoremove' to remove them.
> > 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> > 16 not fully installed or removed.
> > After this operation, 0 B of additional disk space will be used.
> > Do you want to continue? [Y/n]
> > Processing triggers for mime-support (3.60ubuntu1) ...
> > Setting up python3 (3.6.7-1~18.04) ...
> > running python rtupdate hooks for python3.6...
> > dpkg-query: package 'hplip-data' is not installed
> > Use dpkg --info (= dpkg-deb --info) to examine archive files,
> > and dpkg --contents (= dpkg-deb --contents) to list their contents.
> > Traceback (most recent call last):
> >  File "/usr/bin/py3clean", line 210, in <module>
> >    main()
> >  File "/usr/bin/py3clean", line 196, in main
> >    pfiles = set(dpf.from_package(options.package))
> >  File "/usr/share/python3/debpython/files.py", line 53, in from_package
> >    raise Exception("cannot get content of %s" % package_name)
> > Exception: cannot get content of hplip-data
> > error running python rtupdate hook hplip-data
> > dpkg-query: package 'ibus-hangul' is not installed
> > Use dpkg --info (= dpkg-deb --info) to examine archive files,
> > and dpkg --contents (= dpkg-deb --contents) to list their contents.
> > Traceback (most recent call last):
> >  File "/usr/bin/py3clean", line 210, in <module>
> >    main()
> >  File "/usr/bin/py3clean", line 196, in main
> >    pfiles = set(dpf.from_package(options.package))
> >  File "/usr/share/python3/debpython/files.py", line 53, in from_package
> >    raise Exception("cannot get content of %s" % package_name)
> > Exception: cannot get content of ibus-hangul
> > error running python rtupdate hook ibus-hangul
> > dpkg-query: package 'ibus-libpinyin' is not installed
> > Use dpkg --info (= dpkg-deb --info) to examine archive files,
> > and dpkg --contents (= dpkg-deb --contents) to list their contents.
> > Traceback (most recent call last):
> >  File "/usr/bin/py3clean", line 210, in <module>
> >    main()
> >  File "/usr/bin/py3clean", line 196, in main
> >    pfiles = set(dpf.from_package(options.package))
> >  File "/usr/share/python3/debpython/files.py", line 53, in from_package
> >    raise Exception("cannot get content of %s" % package_name)
> > Exception: cannot get content of ibus-libpinyin
> > error running python rtupdate hook ibus-libpinyin
> > dpkg-query: package 'ibus-table' is not installed
> > Use dpkg --info (= dpkg-deb --info) to examine archive files,
> > and dpkg --contents (= dpkg-deb --contents) to list their contents.
> > Traceback (most recent call last):
> >  File "/usr/bin/py3clean", line 210, in <module>
> >    main()
> >  File "/usr/bin/py3clean", line 196, in main
> >    pfiles = set(dpf.from_package(options.package))
> >  File "/usr/share/python3/debpython/files.py", line 53, in from_package
> >    raise Exception("cannot get content of %s" % package_name)
> > Exception: cannot get content of ibus-table
> > error running python rtupdate hook ibus-table
> > dpkg-query: package 'ibus' is not installed
> > Use dpkg --info (= dpkg-deb --info) to examine archive files,
> > and dpkg --contents (= dpkg-deb --contents) to list their contents.
> > Traceback (most recent call last):
> >  File "/usr/bin/py3clean", line 210, in <module>
> >    main()
> >  File "/usr/bin/py3clean", line 196, in main
> >    pfiles = set(dpf.from_package(options.package))
> >  File "/usr/share/python3/debpython/files.py", line 53, in from_package
> >    raise Exception("cannot get content of %s" % package_name)
> > Exception: cannot get content of ibus
> > error running python rtupdate hook ibus
> > dpkg-query: package 'python3-uno' is not installed
> > Use dpkg --info (= dpkg-deb --info) to examine archive files,
> > and dpkg --contents (= dpkg-deb --contents) to list their contents.
> > Traceback (most recent call last):
> >  File "/usr/bin/py3clean", line 210, in <module>
> >    main()
> >  File "/usr/bin/py3clean", line 196, in main
> >    pfiles = set(dpf.from_package(options.package))
> >  File "/usr/share/python3/debpython/files.py", line 53, in from_package
> >    raise Exception("cannot get content of %s" % package_name)
> > Exception: cannot get content of python3-uno
> > error running python rtupdate hook python3-uno
> > dpkg-query: package 'rhythmbox-plugin-alternative-toolbar' is not
> installed
> > Use dpkg --info (= dpkg-deb --info) to examine archive files,
> > and dpkg --contents (= dpkg-deb --contents) to list their contents.
> > Traceback (most recent call last):
> >  File "/usr/bin/py3clean", line 210, in <module>
> >    main()
> >  File "/usr/bin/py3clean", line 196, in main
> >    pfiles = set(dpf.from_package(options.package))
> >  File "/usr/share/python3/debpython/files.py", line 53, in from_package
> >    raise Exception("cannot get content of %s" % package_name)
> > Exception: cannot get content of rhythmbox-plugin-alternative-toolbar
> > error running python rtupdate hook rhythmbox-plugin-alternative-toolbar
> > dpkg-query: package 'rhythmbox-plugins' is not installed
> > Use dpkg --info (= dpkg-deb --info) to examine archive files,
> > and dpkg --contents (= dpkg-deb --contents) to list their contents.
> > Traceback (most recent call last):
> >  File "/usr/bin/py3clean", line 210, in <module>
> >    main()
> >  File "/usr/bin/py3clean", line 196, in main
> >    pfiles = set(dpf.from_package(options.package))
> >  File "/usr/share/python3/debpython/files.py", line 53, in from_package
> >    raise Exception("cannot get content of %s" % package_name)
> > Exception: cannot get content of rhythmbox-plugins
> > error running python rtupdate hook rhythmbox-plugins
> > dpkg-query: package 'system-config-printer-common' is not installed
> > Use dpkg --info (= dpkg-deb --info) to examine archive files,
> > and dpkg --contents (= dpkg-deb --contents) to list their contents.
> > Traceback (most recent call last):
> >  File "/usr/bin/py3clean", line 210, in <module>
> >    main()
> >  File "/usr/bin/py3clean", line 196, in main
> >    pfiles = set(dpf.from_package(options.package))
> >  File "/usr/share/python3/debpython/files.py", line 53, in from_package
> >    raise Exception("cannot get content of %s" % package_name)
> > Exception: cannot get content of system-config-printer-common
> > error running python rtupdate hook system-config-printer-common
> > dpkg-query: package 'system-config-printer' is not installed
> > Use dpkg --info (= dpkg-deb --info) to examine archive files,
> > and dpkg --contents (= dpkg-deb --contents) to list their contents.
> > Traceback (most recent call last):
> >  File "/usr/bin/py3clean", line 210, in <module>
> >    main()
> >  File "/usr/bin/py3clean", line 196, in main
> >    pfiles = set(dpf.from_package(options.package))
> >  File "/usr/share/python3/debpython/files.py", line 53, in from_package
> >    raise Exception("cannot get content of %s" % package_name)
> > Exception: cannot get content of system-config-printer
> > error running python rtupdate hook system-config-printer
> > dpkg-query: package 'ubiquity-frontend-gtk' is not installed
> > Use dpkg --info (= dpkg-deb --info) to examine archive files,
> > and dpkg --contents (= dpkg-deb --contents) to list their contents.
> > Traceback (most recent call last):
> >  File "/usr/bin/py3clean", line 210, in <module>
> >    main()
> >  File "/usr/bin/py3clean", line 196, in main
> >    pfiles = set(dpf.from_package(options.package))
> >  File "/usr/share/python3/debpython/files.py", line 53, in from_package
> >    raise Exception("cannot get content of %s" % package_name)
> > Exception: cannot get content of ubiquity-frontend-gtk
> > error running python rtupdate hook ubiquity-frontend-gtk
> > dpkg-query: package 'ubiquity' is not installed
> > Use dpkg --info (= dpkg-deb --info) to examine archive files,
> > and dpkg --contents (= dpkg-deb --contents) to list their contents.
> > Traceback (most recent call last):
> >  File "/usr/bin/py3clean", line 210, in <module>
> >    main()
> >  File "/usr/bin/py3clean", line 196, in main
> >    pfiles = set(dpf.from_package(options.package))
> >  File "/usr/share/python3/debpython/files.py", line 53, in from_package
> >    raise Exception("cannot get content of %s" % package_name)
> > Exception: cannot get content of ubiquity
> > error running python rtupdate hook ubiquity
> > dpkg-query: package 'ubuntu-drivers-common' is not installed
> > Use dpkg --info (= dpkg-deb --info) to examine archive files,
> > and dpkg --contents (= dpkg-deb --contents) to list their contents.
> > Traceback (most recent call last):
> >  File "/usr/bin/py3clean", line 210, in <module>
> >    main()
> >  File "/usr/bin/py3clean", line 196, in main
> >    pfiles = set(dpf.from_package(options.package))
> >  File "/usr/share/python3/debpython/files.py", line 53, in from_package
> >    raise Exception("cannot get content of %s" % package_name)
> > Exception: cannot get content of ubuntu-drivers-common
> > error running python rtupdate hook ubuntu-drivers-common
> > dpkg: error processing package python3 (--configure):
> > installed python3 package post-installation script subprocess returned
> > error exit status 4
> > dpkg: dependency problems prevent configuration of python3-idna:
> > python3-idna depends on python3:any (>= 3.3.2-2~); however:
> >  Package python3 is not configured yet.
> >
> > dpkg: error processing package python3-idna (--configure):
> > dependency problems - leaving unconfigured
> > dpkg: dependency problems prevent configuration of python3-six:
> > python3-six depends on python3:any (>= 3.4~); however:
> >  Package python3 is not configured yet.
> >
> > dpkg: error processing package python3-six (--configure):
> > dependency problems - leaving unconfigured
> > dpkg: dependency problems prevent configuration of python3-certifi:
> > python3-certifi depends on python3:any (>= 3.4~); however:
> >  Package python3 is not configured yet.
> >
> > dpkg: error processing package python3-certifi (--configure):
> > dependency problems - leaving unconfigured
> > dpkg: dependency problems prevent configuration of python3-gi-cairo:
> > python3-gi-cairo depends on python3 (<< 3.7); however:
> >  Package python3 is not configured yet.
> > python3-gi-cairo depends on python3 (>= 3.6~); however:
> >  Package python3 is not configured yet.
> > python3-gi-cairo depends on python3:any (>= 3.3~); however:
> >  Package python3 is not configured yet.
> >
> > dpkg: error processing package python3-gi-cairo (--configure):
> > dependency problems - leaving unconfigured
> > dpkg: dependency problems prevent configuration of python3-pkg-resources:
> > python3-pkg-resources depends on python3:any (>= 3.3.2-2~); however:
> >  Package python3 is not configured yet.
> >
> > dpkg: error processing package python3-pkg-resources (--configure):
> > dependency problems - leaving unconfigured
> > dpkg: dependency problems prevent configuration of python3-gi:
> > python3-gi depends on python3 (<< 3.7); however:
> >  Package python3 is not configured yet.
> > python3-gi depends on python3 (>= 3.6~); however:
> >  Package python3 is not configured yet.
> > python3-gi depends on python3:any (>= 3.3.2-2~); however:
> >  Package python3 is not configured yet.
> >
> > dpkg: error processing package python3-gi (--configure):
> > dependency problems - leaving unconfigured
> > dpkg: dependency problems prevent configuration of python3-chardet:
> > python3-chardet depends on python3:any (>= 3.3.2-2~); however:
> >  Package python3 is not configured yet.
> > python3-chardet depends on python3-pkg-resources; however:
> >  Package python3-pkg-resources is not configured yet.
> >
> > dpkg: error processing package python3-chardet (--configure):
> > dependency problems - leaving unconfigured
> > Setting up systemd (237-3ubuntu10.23) ...
> > cp: '/etc/resolv.conf' and '/run/systemd/resolve/stub-resolv.conf' are
> the
> > same file
> > dpkg: error processing package systemd (--configure):
> > installed systemd package post-installation script subprocess returned
> > error exit status 1
> > dpkg: dependency problems prevent configuration of gedit-common:
> > gedit-common depends on python3:any (>= 3.3.2-2~); however:
> >  Package python3 is not configured yet.
> >
> > dpkg: error processing package gedit-common (--configure):
> > dependency problems - leaving unconfigured
> > dpkg: dependency problems prevent configuration of couchdb:
> > couchdb depends on python3; however:
> >  Package python3 is not configured yet.
> >
> > dpkg: error processing package couchdb (--configure):
> > dependency problems - leaving unconfigured
> > dpkg: dependency problems prevent configuration of gedit:
> > gedit depends on python3:any (>= 3.3.2-2~); however:
> >  Package python3 is not configured yet.
> > gedit depends on gedit-common (>= 3.28); however:
> >  Package gedit-common is not configured yet.
> > gedit depends on gedit-common (<< 3.29); however:
> >  Package gedit-common is not configured yet.
> > gedit depends on python3-gi (>= 3.0); however:
> >  Package python3-gi is not configured yet.
> > gedit depends on python3-gi-cairo (>= 3.0); however:
> >  Package python3-gi-cairo is not configured yet.
> >
> > dpkg: error processing package gedit (--configure):
> > dependency problems - leaving unconfigured
> > dpkg: dependency problems prevent configuration of python3-requests:
> > python3-requests depends on python3-certifi; however:
> >  Package python3-certifi is not configured yet.
> > python3-requests depends on python3-chardet (<< 3.1.0); however:
> >  Package python3-chardet is not configured yet.
> > python3-requests depends on python3-idna; however:
> >  Package python3-idna is not configured yet.
> > python3-requests depends on python3:any (>= 3.4~); however:
> >  Package python3 is not configured yet.
> > python3-requests depends on python3-chardet (>= 3.0.2); however:
> >  Package python3-chardet is not configured yet.
> >
> > dpkg: error processing package python3-requests (--configure):
> > dependency problems - leaving unconfigured
> > Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
> > dpkg: dependency problems prevent configuration of python3-urllib3:
> > python3-urllib3 depends on python3:any (>= 3.3.2-2~); however:
> >  Package python3 is not configured yet.
> > python3-urllib3 depends on python3-six; however:
> >  Package python3-six is not configured yet.
> >
> > dpkg: error processing package python3-urllib3 (--configure):
> > dependency problems - leaving unconfigured
> > dpkg: dependency problems prevent configuration of python3-cairo:amd64:
> > python3-cairo:amd64 depends on python3 (<< 3.7); however:
> >  Package python3 is not configured yet.
> > python3-cairo:amd64 depends on python3 (>= 3.6~); however:
> >  Package python3 is not configured yet.
> > python3-cairo:amd64 depends on python3:any (>= 3.3.2-2~); however:
> >  Package python3 is not configured yet.
> >
> > dpkg: error processing package python3-cairo:amd64 (--configure):
> > dependency problems - leaving unconfigured
> > Processing triggers for dbus (1.12.2-1ubuntu1.1) ...
> > dpkg: dependency problems prevent configuration of python3-progressbar:
> > python3-progressbar depends on python3:any (>= 3.3.2-2~); however:
> >  Package python3 is not configured yet.
> >
> > dpkg: error processing package python3-progressbar (--configure):
> > dependency problems - leaving unconfigured
> > Errors were encountered while processing:
> > python3
> > python3-idna
> > python3-six
> > python3-certifi
> > python3-gi-cairo
> > python3-pkg-resources
> > python3-gi
> > python3-chardet
> > systemd
> > gedit-common
> > couchdb
> > gedit
> > python3-requests
> > python3-urllib3
> > python3-cairo:amd64
> > python3-progressbar
> > E: Sub-process /usr/bin/dpkg returned an error code (1)
> > root@crow:~#
>
> --
> Professional Support for Apache CouchDB:
> https://neighbourhood.ie/couchdb-support/
>
>

Re: can't get couchdb installed (on a fresh 18.04 ubuntu)

Posted by Jan Lehnardt <ja...@apache.org>.
Jut a quick note that the official install instructions are here:

http://docs.couchdb.org/en/stable/install/index.html

And I saw this issue fly by which might be related?

https://github.com/apache/couchdb-pkg/issues/44

Best
Jan
—

> On 24. Jun 2019, at 10:55, Rene Veerman <se...@gmail.com> wrote:
> 
> i followed https://linuxize.com/post/how-to-install-couchdb-on-ubuntu-18-04/
> 
> 
> but ended up with :
> 
> root@crow:~# apt upgrade
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Calculating upgrade... Done
> The following packages were automatically installed and are no longer
> required:
>  libargon2-0 libcryptsetup12 libdevmapper1.02.1 libidn11 libip4tc0
> libjson-c3
>  libkmod2 systemd
> Use 'apt autoremove' to remove them.
> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> 16 not fully installed or removed.
> After this operation, 0 B of additional disk space will be used.
> Do you want to continue? [Y/n]
> Processing triggers for mime-support (3.60ubuntu1) ...
> Setting up python3 (3.6.7-1~18.04) ...
> running python rtupdate hooks for python3.6...
> dpkg-query: package 'hplip-data' is not installed
> Use dpkg --info (= dpkg-deb --info) to examine archive files,
> and dpkg --contents (= dpkg-deb --contents) to list their contents.
> Traceback (most recent call last):
>  File "/usr/bin/py3clean", line 210, in <module>
>    main()
>  File "/usr/bin/py3clean", line 196, in main
>    pfiles = set(dpf.from_package(options.package))
>  File "/usr/share/python3/debpython/files.py", line 53, in from_package
>    raise Exception("cannot get content of %s" % package_name)
> Exception: cannot get content of hplip-data
> error running python rtupdate hook hplip-data
> dpkg-query: package 'ibus-hangul' is not installed
> Use dpkg --info (= dpkg-deb --info) to examine archive files,
> and dpkg --contents (= dpkg-deb --contents) to list their contents.
> Traceback (most recent call last):
>  File "/usr/bin/py3clean", line 210, in <module>
>    main()
>  File "/usr/bin/py3clean", line 196, in main
>    pfiles = set(dpf.from_package(options.package))
>  File "/usr/share/python3/debpython/files.py", line 53, in from_package
>    raise Exception("cannot get content of %s" % package_name)
> Exception: cannot get content of ibus-hangul
> error running python rtupdate hook ibus-hangul
> dpkg-query: package 'ibus-libpinyin' is not installed
> Use dpkg --info (= dpkg-deb --info) to examine archive files,
> and dpkg --contents (= dpkg-deb --contents) to list their contents.
> Traceback (most recent call last):
>  File "/usr/bin/py3clean", line 210, in <module>
>    main()
>  File "/usr/bin/py3clean", line 196, in main
>    pfiles = set(dpf.from_package(options.package))
>  File "/usr/share/python3/debpython/files.py", line 53, in from_package
>    raise Exception("cannot get content of %s" % package_name)
> Exception: cannot get content of ibus-libpinyin
> error running python rtupdate hook ibus-libpinyin
> dpkg-query: package 'ibus-table' is not installed
> Use dpkg --info (= dpkg-deb --info) to examine archive files,
> and dpkg --contents (= dpkg-deb --contents) to list their contents.
> Traceback (most recent call last):
>  File "/usr/bin/py3clean", line 210, in <module>
>    main()
>  File "/usr/bin/py3clean", line 196, in main
>    pfiles = set(dpf.from_package(options.package))
>  File "/usr/share/python3/debpython/files.py", line 53, in from_package
>    raise Exception("cannot get content of %s" % package_name)
> Exception: cannot get content of ibus-table
> error running python rtupdate hook ibus-table
> dpkg-query: package 'ibus' is not installed
> Use dpkg --info (= dpkg-deb --info) to examine archive files,
> and dpkg --contents (= dpkg-deb --contents) to list their contents.
> Traceback (most recent call last):
>  File "/usr/bin/py3clean", line 210, in <module>
>    main()
>  File "/usr/bin/py3clean", line 196, in main
>    pfiles = set(dpf.from_package(options.package))
>  File "/usr/share/python3/debpython/files.py", line 53, in from_package
>    raise Exception("cannot get content of %s" % package_name)
> Exception: cannot get content of ibus
> error running python rtupdate hook ibus
> dpkg-query: package 'python3-uno' is not installed
> Use dpkg --info (= dpkg-deb --info) to examine archive files,
> and dpkg --contents (= dpkg-deb --contents) to list their contents.
> Traceback (most recent call last):
>  File "/usr/bin/py3clean", line 210, in <module>
>    main()
>  File "/usr/bin/py3clean", line 196, in main
>    pfiles = set(dpf.from_package(options.package))
>  File "/usr/share/python3/debpython/files.py", line 53, in from_package
>    raise Exception("cannot get content of %s" % package_name)
> Exception: cannot get content of python3-uno
> error running python rtupdate hook python3-uno
> dpkg-query: package 'rhythmbox-plugin-alternative-toolbar' is not installed
> Use dpkg --info (= dpkg-deb --info) to examine archive files,
> and dpkg --contents (= dpkg-deb --contents) to list their contents.
> Traceback (most recent call last):
>  File "/usr/bin/py3clean", line 210, in <module>
>    main()
>  File "/usr/bin/py3clean", line 196, in main
>    pfiles = set(dpf.from_package(options.package))
>  File "/usr/share/python3/debpython/files.py", line 53, in from_package
>    raise Exception("cannot get content of %s" % package_name)
> Exception: cannot get content of rhythmbox-plugin-alternative-toolbar
> error running python rtupdate hook rhythmbox-plugin-alternative-toolbar
> dpkg-query: package 'rhythmbox-plugins' is not installed
> Use dpkg --info (= dpkg-deb --info) to examine archive files,
> and dpkg --contents (= dpkg-deb --contents) to list their contents.
> Traceback (most recent call last):
>  File "/usr/bin/py3clean", line 210, in <module>
>    main()
>  File "/usr/bin/py3clean", line 196, in main
>    pfiles = set(dpf.from_package(options.package))
>  File "/usr/share/python3/debpython/files.py", line 53, in from_package
>    raise Exception("cannot get content of %s" % package_name)
> Exception: cannot get content of rhythmbox-plugins
> error running python rtupdate hook rhythmbox-plugins
> dpkg-query: package 'system-config-printer-common' is not installed
> Use dpkg --info (= dpkg-deb --info) to examine archive files,
> and dpkg --contents (= dpkg-deb --contents) to list their contents.
> Traceback (most recent call last):
>  File "/usr/bin/py3clean", line 210, in <module>
>    main()
>  File "/usr/bin/py3clean", line 196, in main
>    pfiles = set(dpf.from_package(options.package))
>  File "/usr/share/python3/debpython/files.py", line 53, in from_package
>    raise Exception("cannot get content of %s" % package_name)
> Exception: cannot get content of system-config-printer-common
> error running python rtupdate hook system-config-printer-common
> dpkg-query: package 'system-config-printer' is not installed
> Use dpkg --info (= dpkg-deb --info) to examine archive files,
> and dpkg --contents (= dpkg-deb --contents) to list their contents.
> Traceback (most recent call last):
>  File "/usr/bin/py3clean", line 210, in <module>
>    main()
>  File "/usr/bin/py3clean", line 196, in main
>    pfiles = set(dpf.from_package(options.package))
>  File "/usr/share/python3/debpython/files.py", line 53, in from_package
>    raise Exception("cannot get content of %s" % package_name)
> Exception: cannot get content of system-config-printer
> error running python rtupdate hook system-config-printer
> dpkg-query: package 'ubiquity-frontend-gtk' is not installed
> Use dpkg --info (= dpkg-deb --info) to examine archive files,
> and dpkg --contents (= dpkg-deb --contents) to list their contents.
> Traceback (most recent call last):
>  File "/usr/bin/py3clean", line 210, in <module>
>    main()
>  File "/usr/bin/py3clean", line 196, in main
>    pfiles = set(dpf.from_package(options.package))
>  File "/usr/share/python3/debpython/files.py", line 53, in from_package
>    raise Exception("cannot get content of %s" % package_name)
> Exception: cannot get content of ubiquity-frontend-gtk
> error running python rtupdate hook ubiquity-frontend-gtk
> dpkg-query: package 'ubiquity' is not installed
> Use dpkg --info (= dpkg-deb --info) to examine archive files,
> and dpkg --contents (= dpkg-deb --contents) to list their contents.
> Traceback (most recent call last):
>  File "/usr/bin/py3clean", line 210, in <module>
>    main()
>  File "/usr/bin/py3clean", line 196, in main
>    pfiles = set(dpf.from_package(options.package))
>  File "/usr/share/python3/debpython/files.py", line 53, in from_package
>    raise Exception("cannot get content of %s" % package_name)
> Exception: cannot get content of ubiquity
> error running python rtupdate hook ubiquity
> dpkg-query: package 'ubuntu-drivers-common' is not installed
> Use dpkg --info (= dpkg-deb --info) to examine archive files,
> and dpkg --contents (= dpkg-deb --contents) to list their contents.
> Traceback (most recent call last):
>  File "/usr/bin/py3clean", line 210, in <module>
>    main()
>  File "/usr/bin/py3clean", line 196, in main
>    pfiles = set(dpf.from_package(options.package))
>  File "/usr/share/python3/debpython/files.py", line 53, in from_package
>    raise Exception("cannot get content of %s" % package_name)
> Exception: cannot get content of ubuntu-drivers-common
> error running python rtupdate hook ubuntu-drivers-common
> dpkg: error processing package python3 (--configure):
> installed python3 package post-installation script subprocess returned
> error exit status 4
> dpkg: dependency problems prevent configuration of python3-idna:
> python3-idna depends on python3:any (>= 3.3.2-2~); however:
>  Package python3 is not configured yet.
> 
> dpkg: error processing package python3-idna (--configure):
> dependency problems - leaving unconfigured
> dpkg: dependency problems prevent configuration of python3-six:
> python3-six depends on python3:any (>= 3.4~); however:
>  Package python3 is not configured yet.
> 
> dpkg: error processing package python3-six (--configure):
> dependency problems - leaving unconfigured
> dpkg: dependency problems prevent configuration of python3-certifi:
> python3-certifi depends on python3:any (>= 3.4~); however:
>  Package python3 is not configured yet.
> 
> dpkg: error processing package python3-certifi (--configure):
> dependency problems - leaving unconfigured
> dpkg: dependency problems prevent configuration of python3-gi-cairo:
> python3-gi-cairo depends on python3 (<< 3.7); however:
>  Package python3 is not configured yet.
> python3-gi-cairo depends on python3 (>= 3.6~); however:
>  Package python3 is not configured yet.
> python3-gi-cairo depends on python3:any (>= 3.3~); however:
>  Package python3 is not configured yet.
> 
> dpkg: error processing package python3-gi-cairo (--configure):
> dependency problems - leaving unconfigured
> dpkg: dependency problems prevent configuration of python3-pkg-resources:
> python3-pkg-resources depends on python3:any (>= 3.3.2-2~); however:
>  Package python3 is not configured yet.
> 
> dpkg: error processing package python3-pkg-resources (--configure):
> dependency problems - leaving unconfigured
> dpkg: dependency problems prevent configuration of python3-gi:
> python3-gi depends on python3 (<< 3.7); however:
>  Package python3 is not configured yet.
> python3-gi depends on python3 (>= 3.6~); however:
>  Package python3 is not configured yet.
> python3-gi depends on python3:any (>= 3.3.2-2~); however:
>  Package python3 is not configured yet.
> 
> dpkg: error processing package python3-gi (--configure):
> dependency problems - leaving unconfigured
> dpkg: dependency problems prevent configuration of python3-chardet:
> python3-chardet depends on python3:any (>= 3.3.2-2~); however:
>  Package python3 is not configured yet.
> python3-chardet depends on python3-pkg-resources; however:
>  Package python3-pkg-resources is not configured yet.
> 
> dpkg: error processing package python3-chardet (--configure):
> dependency problems - leaving unconfigured
> Setting up systemd (237-3ubuntu10.23) ...
> cp: '/etc/resolv.conf' and '/run/systemd/resolve/stub-resolv.conf' are the
> same file
> dpkg: error processing package systemd (--configure):
> installed systemd package post-installation script subprocess returned
> error exit status 1
> dpkg: dependency problems prevent configuration of gedit-common:
> gedit-common depends on python3:any (>= 3.3.2-2~); however:
>  Package python3 is not configured yet.
> 
> dpkg: error processing package gedit-common (--configure):
> dependency problems - leaving unconfigured
> dpkg: dependency problems prevent configuration of couchdb:
> couchdb depends on python3; however:
>  Package python3 is not configured yet.
> 
> dpkg: error processing package couchdb (--configure):
> dependency problems - leaving unconfigured
> dpkg: dependency problems prevent configuration of gedit:
> gedit depends on python3:any (>= 3.3.2-2~); however:
>  Package python3 is not configured yet.
> gedit depends on gedit-common (>= 3.28); however:
>  Package gedit-common is not configured yet.
> gedit depends on gedit-common (<< 3.29); however:
>  Package gedit-common is not configured yet.
> gedit depends on python3-gi (>= 3.0); however:
>  Package python3-gi is not configured yet.
> gedit depends on python3-gi-cairo (>= 3.0); however:
>  Package python3-gi-cairo is not configured yet.
> 
> dpkg: error processing package gedit (--configure):
> dependency problems - leaving unconfigured
> dpkg: dependency problems prevent configuration of python3-requests:
> python3-requests depends on python3-certifi; however:
>  Package python3-certifi is not configured yet.
> python3-requests depends on python3-chardet (<< 3.1.0); however:
>  Package python3-chardet is not configured yet.
> python3-requests depends on python3-idna; however:
>  Package python3-idna is not configured yet.
> python3-requests depends on python3:any (>= 3.4~); however:
>  Package python3 is not configured yet.
> python3-requests depends on python3-chardet (>= 3.0.2); however:
>  Package python3-chardet is not configured yet.
> 
> dpkg: error processing package python3-requests (--configure):
> dependency problems - leaving unconfigured
> Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
> dpkg: dependency problems prevent configuration of python3-urllib3:
> python3-urllib3 depends on python3:any (>= 3.3.2-2~); however:
>  Package python3 is not configured yet.
> python3-urllib3 depends on python3-six; however:
>  Package python3-six is not configured yet.
> 
> dpkg: error processing package python3-urllib3 (--configure):
> dependency problems - leaving unconfigured
> dpkg: dependency problems prevent configuration of python3-cairo:amd64:
> python3-cairo:amd64 depends on python3 (<< 3.7); however:
>  Package python3 is not configured yet.
> python3-cairo:amd64 depends on python3 (>= 3.6~); however:
>  Package python3 is not configured yet.
> python3-cairo:amd64 depends on python3:any (>= 3.3.2-2~); however:
>  Package python3 is not configured yet.
> 
> dpkg: error processing package python3-cairo:amd64 (--configure):
> dependency problems - leaving unconfigured
> Processing triggers for dbus (1.12.2-1ubuntu1.1) ...
> dpkg: dependency problems prevent configuration of python3-progressbar:
> python3-progressbar depends on python3:any (>= 3.3.2-2~); however:
>  Package python3 is not configured yet.
> 
> dpkg: error processing package python3-progressbar (--configure):
> dependency problems - leaving unconfigured
> Errors were encountered while processing:
> python3
> python3-idna
> python3-six
> python3-certifi
> python3-gi-cairo
> python3-pkg-resources
> python3-gi
> python3-chardet
> systemd
> gedit-common
> couchdb
> gedit
> python3-requests
> python3-urllib3
> python3-cairo:amd64
> python3-progressbar
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> root@crow:~#

-- 
Professional Support for Apache CouchDB:
https://neighbourhood.ie/couchdb-support/


Re: can't get couchdb installed (on a fresh 18.04 ubuntu)

Posted by Rene Veerman <se...@gmail.com>.
actually, i think it's an ubuntu.com problem,
because i re-installed ubuntu 18.04 with a different USB keydrive, and by
now have a fully functional ubuntu 18.04 + couchdb stack.

the installer of ubuntu did (with the other usb keydrive) throw up a
complaint about files not being transferred successfully, but that error
message could be a little clearer.

anyways, storm in a glass of water, as we say over here in NL -
inconsequential in the end :)

On Mon, Jun 24, 2019 at 6:19 PM Joan Touzet <wo...@apache.org> wrote:

> Hi Rene,
>
> This isn't our problem, but it *is* an HPLIP problem.
>
>
> https://askubuntu.com/questions/1056780/cant-upgrade-update-ubuntu-18-04-as-apt-dpkg-error-is-showing-up
>
> Uninstall HPLIP from the .deb, then finish your upgrade, then reinstall
> HPLIP from .deb or source package.
>
> -Joan
>
> On 2019-06-24 4:55 a.m., Rene Veerman wrote:
> > i followed
> https://linuxize.com/post/how-to-install-couchdb-on-ubuntu-18-04/
> >
> >
> > but ended up with :
> >
> > root@crow:~# apt upgrade
> > Reading package lists... Done
> > Building dependency tree
> > Reading state information... Done
> > Calculating upgrade... Done
> > The following packages were automatically installed and are no longer
> > required:
> >    libargon2-0 libcryptsetup12 libdevmapper1.02.1 libidn11 libip4tc0
> > libjson-c3
> >    libkmod2 systemd
> > Use 'apt autoremove' to remove them.
> > 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> > 16 not fully installed or removed.
> > After this operation, 0 B of additional disk space will be used.
> > Do you want to continue? [Y/n]
> > Processing triggers for mime-support (3.60ubuntu1) ...
> > Setting up python3 (3.6.7-1~18.04) ...
> > running python rtupdate hooks for python3.6...
> > dpkg-query: package 'hplip-data' is not installed
> > Use dpkg --info (= dpkg-deb --info) to examine archive files,
> > and dpkg --contents (= dpkg-deb --contents) to list their contents.
> > Traceback (most recent call last):
> >    File "/usr/bin/py3clean", line 210, in <module>
> >      main()
> >    File "/usr/bin/py3clean", line 196, in main
> >      pfiles = set(dpf.from_package(options.package))
> >    File "/usr/share/python3/debpython/files.py", line 53, in from_package
> >      raise Exception("cannot get content of %s" % package_name)
> > Exception: cannot get content of hplip-data
> > error running python rtupdate hook hplip-data
> > dpkg-query: package 'ibus-hangul' is not installed
> > Use dpkg --info (= dpkg-deb --info) to examine archive files,
> > and dpkg --contents (= dpkg-deb --contents) to list their contents.
> > Traceback (most recent call last):
> >    File "/usr/bin/py3clean", line 210, in <module>
> >      main()
> >    File "/usr/bin/py3clean", line 196, in main
> >      pfiles = set(dpf.from_package(options.package))
> >    File "/usr/share/python3/debpython/files.py", line 53, in from_package
> >      raise Exception("cannot get content of %s" % package_name)
> > Exception: cannot get content of ibus-hangul
> > error running python rtupdate hook ibus-hangul
> > dpkg-query: package 'ibus-libpinyin' is not installed
> > Use dpkg --info (= dpkg-deb --info) to examine archive files,
> > and dpkg --contents (= dpkg-deb --contents) to list their contents.
> > Traceback (most recent call last):
> >    File "/usr/bin/py3clean", line 210, in <module>
> >      main()
> >    File "/usr/bin/py3clean", line 196, in main
> >      pfiles = set(dpf.from_package(options.package))
> >    File "/usr/share/python3/debpython/files.py", line 53, in from_package
> >      raise Exception("cannot get content of %s" % package_name)
> > Exception: cannot get content of ibus-libpinyin
> > error running python rtupdate hook ibus-libpinyin
> > dpkg-query: package 'ibus-table' is not installed
> > Use dpkg --info (= dpkg-deb --info) to examine archive files,
> > and dpkg --contents (= dpkg-deb --contents) to list their contents.
> > Traceback (most recent call last):
> >    File "/usr/bin/py3clean", line 210, in <module>
> >      main()
> >    File "/usr/bin/py3clean", line 196, in main
> >      pfiles = set(dpf.from_package(options.package))
> >    File "/usr/share/python3/debpython/files.py", line 53, in from_package
> >      raise Exception("cannot get content of %s" % package_name)
> > Exception: cannot get content of ibus-table
> > error running python rtupdate hook ibus-table
> > dpkg-query: package 'ibus' is not installed
> > Use dpkg --info (= dpkg-deb --info) to examine archive files,
> > and dpkg --contents (= dpkg-deb --contents) to list their contents.
> > Traceback (most recent call last):
> >    File "/usr/bin/py3clean", line 210, in <module>
> >      main()
> >    File "/usr/bin/py3clean", line 196, in main
> >      pfiles = set(dpf.from_package(options.package))
> >    File "/usr/share/python3/debpython/files.py", line 53, in from_package
> >      raise Exception("cannot get content of %s" % package_name)
> > Exception: cannot get content of ibus
> > error running python rtupdate hook ibus
> > dpkg-query: package 'python3-uno' is not installed
> > Use dpkg --info (= dpkg-deb --info) to examine archive files,
> > and dpkg --contents (= dpkg-deb --contents) to list their contents.
> > Traceback (most recent call last):
> >    File "/usr/bin/py3clean", line 210, in <module>
> >      main()
> >    File "/usr/bin/py3clean", line 196, in main
> >      pfiles = set(dpf.from_package(options.package))
> >    File "/usr/share/python3/debpython/files.py", line 53, in from_package
> >      raise Exception("cannot get content of %s" % package_name)
> > Exception: cannot get content of python3-uno
> > error running python rtupdate hook python3-uno
> > dpkg-query: package 'rhythmbox-plugin-alternative-toolbar' is not
> installed
> > Use dpkg --info (= dpkg-deb --info) to examine archive files,
> > and dpkg --contents (= dpkg-deb --contents) to list their contents.
> > Traceback (most recent call last):
> >    File "/usr/bin/py3clean", line 210, in <module>
> >      main()
> >    File "/usr/bin/py3clean", line 196, in main
> >      pfiles = set(dpf.from_package(options.package))
> >    File "/usr/share/python3/debpython/files.py", line 53, in from_package
> >      raise Exception("cannot get content of %s" % package_name)
> > Exception: cannot get content of rhythmbox-plugin-alternative-toolbar
> > error running python rtupdate hook rhythmbox-plugin-alternative-toolbar
> > dpkg-query: package 'rhythmbox-plugins' is not installed
> > Use dpkg --info (= dpkg-deb --info) to examine archive files,
> > and dpkg --contents (= dpkg-deb --contents) to list their contents.
> > Traceback (most recent call last):
> >    File "/usr/bin/py3clean", line 210, in <module>
> >      main()
> >    File "/usr/bin/py3clean", line 196, in main
> >      pfiles = set(dpf.from_package(options.package))
> >    File "/usr/share/python3/debpython/files.py", line 53, in from_package
> >      raise Exception("cannot get content of %s" % package_name)
> > Exception: cannot get content of rhythmbox-plugins
> > error running python rtupdate hook rhythmbox-plugins
> > dpkg-query: package 'system-config-printer-common' is not installed
> > Use dpkg --info (= dpkg-deb --info) to examine archive files,
> > and dpkg --contents (= dpkg-deb --contents) to list their contents.
> > Traceback (most recent call last):
> >    File "/usr/bin/py3clean", line 210, in <module>
> >      main()
> >    File "/usr/bin/py3clean", line 196, in main
> >      pfiles = set(dpf.from_package(options.package))
> >    File "/usr/share/python3/debpython/files.py", line 53, in from_package
> >      raise Exception("cannot get content of %s" % package_name)
> > Exception: cannot get content of system-config-printer-common
> > error running python rtupdate hook system-config-printer-common
> > dpkg-query: package 'system-config-printer' is not installed
> > Use dpkg --info (= dpkg-deb --info) to examine archive files,
> > and dpkg --contents (= dpkg-deb --contents) to list their contents.
> > Traceback (most recent call last):
> >    File "/usr/bin/py3clean", line 210, in <module>
> >      main()
> >    File "/usr/bin/py3clean", line 196, in main
> >      pfiles = set(dpf.from_package(options.package))
> >    File "/usr/share/python3/debpython/files.py", line 53, in from_package
> >      raise Exception("cannot get content of %s" % package_name)
> > Exception: cannot get content of system-config-printer
> > error running python rtupdate hook system-config-printer
> > dpkg-query: package 'ubiquity-frontend-gtk' is not installed
> > Use dpkg --info (= dpkg-deb --info) to examine archive files,
> > and dpkg --contents (= dpkg-deb --contents) to list their contents.
> > Traceback (most recent call last):
> >    File "/usr/bin/py3clean", line 210, in <module>
> >      main()
> >    File "/usr/bin/py3clean", line 196, in main
> >      pfiles = set(dpf.from_package(options.package))
> >    File "/usr/share/python3/debpython/files.py", line 53, in from_package
> >      raise Exception("cannot get content of %s" % package_name)
> > Exception: cannot get content of ubiquity-frontend-gtk
> > error running python rtupdate hook ubiquity-frontend-gtk
> > dpkg-query: package 'ubiquity' is not installed
> > Use dpkg --info (= dpkg-deb --info) to examine archive files,
> > and dpkg --contents (= dpkg-deb --contents) to list their contents.
> > Traceback (most recent call last):
> >    File "/usr/bin/py3clean", line 210, in <module>
> >      main()
> >    File "/usr/bin/py3clean", line 196, in main
> >      pfiles = set(dpf.from_package(options.package))
> >    File "/usr/share/python3/debpython/files.py", line 53, in from_package
> >      raise Exception("cannot get content of %s" % package_name)
> > Exception: cannot get content of ubiquity
> > error running python rtupdate hook ubiquity
> > dpkg-query: package 'ubuntu-drivers-common' is not installed
> > Use dpkg --info (= dpkg-deb --info) to examine archive files,
> > and dpkg --contents (= dpkg-deb --contents) to list their contents.
> > Traceback (most recent call last):
> >    File "/usr/bin/py3clean", line 210, in <module>
> >      main()
> >    File "/usr/bin/py3clean", line 196, in main
> >      pfiles = set(dpf.from_package(options.package))
> >    File "/usr/share/python3/debpython/files.py", line 53, in from_package
> >      raise Exception("cannot get content of %s" % package_name)
> > Exception: cannot get content of ubuntu-drivers-common
> > error running python rtupdate hook ubuntu-drivers-common
> > dpkg: error processing package python3 (--configure):
> >   installed python3 package post-installation script subprocess returned
> > error exit status 4
> > dpkg: dependency problems prevent configuration of python3-idna:
> >   python3-idna depends on python3:any (>= 3.3.2-2~); however:
> >    Package python3 is not configured yet.
> >
> > dpkg: error processing package python3-idna (--configure):
> >   dependency problems - leaving unconfigured
> > dpkg: dependency problems prevent configuration of python3-six:
> >   python3-six depends on python3:any (>= 3.4~); however:
> >    Package python3 is not configured yet.
> >
> > dpkg: error processing package python3-six (--configure):
> >   dependency problems - leaving unconfigured
> > dpkg: dependency problems prevent configuration of python3-certifi:
> >   python3-certifi depends on python3:any (>= 3.4~); however:
> >    Package python3 is not configured yet.
> >
> > dpkg: error processing package python3-certifi (--configure):
> >   dependency problems - leaving unconfigured
> > dpkg: dependency problems prevent configuration of python3-gi-cairo:
> >   python3-gi-cairo depends on python3 (<< 3.7); however:
> >    Package python3 is not configured yet.
> >   python3-gi-cairo depends on python3 (>= 3.6~); however:
> >    Package python3 is not configured yet.
> >   python3-gi-cairo depends on python3:any (>= 3.3~); however:
> >    Package python3 is not configured yet.
> >
> > dpkg: error processing package python3-gi-cairo (--configure):
> >   dependency problems - leaving unconfigured
> > dpkg: dependency problems prevent configuration of python3-pkg-resources:
> >   python3-pkg-resources depends on python3:any (>= 3.3.2-2~); however:
> >    Package python3 is not configured yet.
> >
> > dpkg: error processing package python3-pkg-resources (--configure):
> >   dependency problems - leaving unconfigured
> > dpkg: dependency problems prevent configuration of python3-gi:
> >   python3-gi depends on python3 (<< 3.7); however:
> >    Package python3 is not configured yet.
> >   python3-gi depends on python3 (>= 3.6~); however:
> >    Package python3 is not configured yet.
> >   python3-gi depends on python3:any (>= 3.3.2-2~); however:
> >    Package python3 is not configured yet.
> >
> > dpkg: error processing package python3-gi (--configure):
> >   dependency problems - leaving unconfigured
> > dpkg: dependency problems prevent configuration of python3-chardet:
> >   python3-chardet depends on python3:any (>= 3.3.2-2~); however:
> >    Package python3 is not configured yet.
> >   python3-chardet depends on python3-pkg-resources; however:
> >    Package python3-pkg-resources is not configured yet.
> >
> > dpkg: error processing package python3-chardet (--configure):
> >   dependency problems - leaving unconfigured
> > Setting up systemd (237-3ubuntu10.23) ...
> > cp: '/etc/resolv.conf' and '/run/systemd/resolve/stub-resolv.conf' are
> the
> > same file
> > dpkg: error processing package systemd (--configure):
> >   installed systemd package post-installation script subprocess returned
> > error exit status 1
> > dpkg: dependency problems prevent configuration of gedit-common:
> >   gedit-common depends on python3:any (>= 3.3.2-2~); however:
> >    Package python3 is not configured yet.
> >
> > dpkg: error processing package gedit-common (--configure):
> >   dependency problems - leaving unconfigured
> > dpkg: dependency problems prevent configuration of couchdb:
> >   couchdb depends on python3; however:
> >    Package python3 is not configured yet.
> >
> > dpkg: error processing package couchdb (--configure):
> >   dependency problems - leaving unconfigured
> > dpkg: dependency problems prevent configuration of gedit:
> >   gedit depends on python3:any (>= 3.3.2-2~); however:
> >    Package python3 is not configured yet.
> >   gedit depends on gedit-common (>= 3.28); however:
> >    Package gedit-common is not configured yet.
> >   gedit depends on gedit-common (<< 3.29); however:
> >    Package gedit-common is not configured yet.
> >   gedit depends on python3-gi (>= 3.0); however:
> >    Package python3-gi is not configured yet.
> >   gedit depends on python3-gi-cairo (>= 3.0); however:
> >    Package python3-gi-cairo is not configured yet.
> >
> > dpkg: error processing package gedit (--configure):
> >   dependency problems - leaving unconfigured
> > dpkg: dependency problems prevent configuration of python3-requests:
> >   python3-requests depends on python3-certifi; however:
> >    Package python3-certifi is not configured yet.
> >   python3-requests depends on python3-chardet (<< 3.1.0); however:
> >    Package python3-chardet is not configured yet.
> >   python3-requests depends on python3-idna; however:
> >    Package python3-idna is not configured yet.
> >   python3-requests depends on python3:any (>= 3.4~); however:
> >    Package python3 is not configured yet.
> >   python3-requests depends on python3-chardet (>= 3.0.2); however:
> >    Package python3-chardet is not configured yet.
> >
> > dpkg: error processing package python3-requests (--configure):
> >   dependency problems - leaving unconfigured
> > Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
> > dpkg: dependency problems prevent configuration of python3-urllib3:
> >   python3-urllib3 depends on python3:any (>= 3.3.2-2~); however:
> >    Package python3 is not configured yet.
> >   python3-urllib3 depends on python3-six; however:
> >    Package python3-six is not configured yet.
> >
> > dpkg: error processing package python3-urllib3 (--configure):
> >   dependency problems - leaving unconfigured
> > dpkg: dependency problems prevent configuration of python3-cairo:amd64:
> >   python3-cairo:amd64 depends on python3 (<< 3.7); however:
> >    Package python3 is not configured yet.
> >   python3-cairo:amd64 depends on python3 (>= 3.6~); however:
> >    Package python3 is not configured yet.
> >   python3-cairo:amd64 depends on python3:any (>= 3.3.2-2~); however:
> >    Package python3 is not configured yet.
> >
> > dpkg: error processing package python3-cairo:amd64 (--configure):
> >   dependency problems - leaving unconfigured
> > Processing triggers for dbus (1.12.2-1ubuntu1.1) ...
> > dpkg: dependency problems prevent configuration of python3-progressbar:
> >   python3-progressbar depends on python3:any (>= 3.3.2-2~); however:
> >    Package python3 is not configured yet.
> >
> > dpkg: error processing package python3-progressbar (--configure):
> >   dependency problems - leaving unconfigured
> > Errors were encountered while processing:
> >   python3
> >   python3-idna
> >   python3-six
> >   python3-certifi
> >   python3-gi-cairo
> >   python3-pkg-resources
> >   python3-gi
> >   python3-chardet
> >   systemd
> >   gedit-common
> >   couchdb
> >   gedit
> >   python3-requests
> >   python3-urllib3
> >   python3-cairo:amd64
> >   python3-progressbar
> > E: Sub-process /usr/bin/dpkg returned an error code (1)
> > root@crow:~#
> >
>

Re: can't get couchdb installed (on a fresh 18.04 ubuntu)

Posted by Joan Touzet <wo...@apache.org>.
Hi Rene,

This isn't our problem, but it *is* an HPLIP problem.

https://askubuntu.com/questions/1056780/cant-upgrade-update-ubuntu-18-04-as-apt-dpkg-error-is-showing-up

Uninstall HPLIP from the .deb, then finish your upgrade, then reinstall 
HPLIP from .deb or source package.

-Joan

On 2019-06-24 4:55 a.m., Rene Veerman wrote:
> i followed https://linuxize.com/post/how-to-install-couchdb-on-ubuntu-18-04/
> 
> 
> but ended up with :
> 
> root@crow:~# apt upgrade
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Calculating upgrade... Done
> The following packages were automatically installed and are no longer
> required:
>    libargon2-0 libcryptsetup12 libdevmapper1.02.1 libidn11 libip4tc0
> libjson-c3
>    libkmod2 systemd
> Use 'apt autoremove' to remove them.
> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> 16 not fully installed or removed.
> After this operation, 0 B of additional disk space will be used.
> Do you want to continue? [Y/n]
> Processing triggers for mime-support (3.60ubuntu1) ...
> Setting up python3 (3.6.7-1~18.04) ...
> running python rtupdate hooks for python3.6...
> dpkg-query: package 'hplip-data' is not installed
> Use dpkg --info (= dpkg-deb --info) to examine archive files,
> and dpkg --contents (= dpkg-deb --contents) to list their contents.
> Traceback (most recent call last):
>    File "/usr/bin/py3clean", line 210, in <module>
>      main()
>    File "/usr/bin/py3clean", line 196, in main
>      pfiles = set(dpf.from_package(options.package))
>    File "/usr/share/python3/debpython/files.py", line 53, in from_package
>      raise Exception("cannot get content of %s" % package_name)
> Exception: cannot get content of hplip-data
> error running python rtupdate hook hplip-data
> dpkg-query: package 'ibus-hangul' is not installed
> Use dpkg --info (= dpkg-deb --info) to examine archive files,
> and dpkg --contents (= dpkg-deb --contents) to list their contents.
> Traceback (most recent call last):
>    File "/usr/bin/py3clean", line 210, in <module>
>      main()
>    File "/usr/bin/py3clean", line 196, in main
>      pfiles = set(dpf.from_package(options.package))
>    File "/usr/share/python3/debpython/files.py", line 53, in from_package
>      raise Exception("cannot get content of %s" % package_name)
> Exception: cannot get content of ibus-hangul
> error running python rtupdate hook ibus-hangul
> dpkg-query: package 'ibus-libpinyin' is not installed
> Use dpkg --info (= dpkg-deb --info) to examine archive files,
> and dpkg --contents (= dpkg-deb --contents) to list their contents.
> Traceback (most recent call last):
>    File "/usr/bin/py3clean", line 210, in <module>
>      main()
>    File "/usr/bin/py3clean", line 196, in main
>      pfiles = set(dpf.from_package(options.package))
>    File "/usr/share/python3/debpython/files.py", line 53, in from_package
>      raise Exception("cannot get content of %s" % package_name)
> Exception: cannot get content of ibus-libpinyin
> error running python rtupdate hook ibus-libpinyin
> dpkg-query: package 'ibus-table' is not installed
> Use dpkg --info (= dpkg-deb --info) to examine archive files,
> and dpkg --contents (= dpkg-deb --contents) to list their contents.
> Traceback (most recent call last):
>    File "/usr/bin/py3clean", line 210, in <module>
>      main()
>    File "/usr/bin/py3clean", line 196, in main
>      pfiles = set(dpf.from_package(options.package))
>    File "/usr/share/python3/debpython/files.py", line 53, in from_package
>      raise Exception("cannot get content of %s" % package_name)
> Exception: cannot get content of ibus-table
> error running python rtupdate hook ibus-table
> dpkg-query: package 'ibus' is not installed
> Use dpkg --info (= dpkg-deb --info) to examine archive files,
> and dpkg --contents (= dpkg-deb --contents) to list their contents.
> Traceback (most recent call last):
>    File "/usr/bin/py3clean", line 210, in <module>
>      main()
>    File "/usr/bin/py3clean", line 196, in main
>      pfiles = set(dpf.from_package(options.package))
>    File "/usr/share/python3/debpython/files.py", line 53, in from_package
>      raise Exception("cannot get content of %s" % package_name)
> Exception: cannot get content of ibus
> error running python rtupdate hook ibus
> dpkg-query: package 'python3-uno' is not installed
> Use dpkg --info (= dpkg-deb --info) to examine archive files,
> and dpkg --contents (= dpkg-deb --contents) to list their contents.
> Traceback (most recent call last):
>    File "/usr/bin/py3clean", line 210, in <module>
>      main()
>    File "/usr/bin/py3clean", line 196, in main
>      pfiles = set(dpf.from_package(options.package))
>    File "/usr/share/python3/debpython/files.py", line 53, in from_package
>      raise Exception("cannot get content of %s" % package_name)
> Exception: cannot get content of python3-uno
> error running python rtupdate hook python3-uno
> dpkg-query: package 'rhythmbox-plugin-alternative-toolbar' is not installed
> Use dpkg --info (= dpkg-deb --info) to examine archive files,
> and dpkg --contents (= dpkg-deb --contents) to list their contents.
> Traceback (most recent call last):
>    File "/usr/bin/py3clean", line 210, in <module>
>      main()
>    File "/usr/bin/py3clean", line 196, in main
>      pfiles = set(dpf.from_package(options.package))
>    File "/usr/share/python3/debpython/files.py", line 53, in from_package
>      raise Exception("cannot get content of %s" % package_name)
> Exception: cannot get content of rhythmbox-plugin-alternative-toolbar
> error running python rtupdate hook rhythmbox-plugin-alternative-toolbar
> dpkg-query: package 'rhythmbox-plugins' is not installed
> Use dpkg --info (= dpkg-deb --info) to examine archive files,
> and dpkg --contents (= dpkg-deb --contents) to list their contents.
> Traceback (most recent call last):
>    File "/usr/bin/py3clean", line 210, in <module>
>      main()
>    File "/usr/bin/py3clean", line 196, in main
>      pfiles = set(dpf.from_package(options.package))
>    File "/usr/share/python3/debpython/files.py", line 53, in from_package
>      raise Exception("cannot get content of %s" % package_name)
> Exception: cannot get content of rhythmbox-plugins
> error running python rtupdate hook rhythmbox-plugins
> dpkg-query: package 'system-config-printer-common' is not installed
> Use dpkg --info (= dpkg-deb --info) to examine archive files,
> and dpkg --contents (= dpkg-deb --contents) to list their contents.
> Traceback (most recent call last):
>    File "/usr/bin/py3clean", line 210, in <module>
>      main()
>    File "/usr/bin/py3clean", line 196, in main
>      pfiles = set(dpf.from_package(options.package))
>    File "/usr/share/python3/debpython/files.py", line 53, in from_package
>      raise Exception("cannot get content of %s" % package_name)
> Exception: cannot get content of system-config-printer-common
> error running python rtupdate hook system-config-printer-common
> dpkg-query: package 'system-config-printer' is not installed
> Use dpkg --info (= dpkg-deb --info) to examine archive files,
> and dpkg --contents (= dpkg-deb --contents) to list their contents.
> Traceback (most recent call last):
>    File "/usr/bin/py3clean", line 210, in <module>
>      main()
>    File "/usr/bin/py3clean", line 196, in main
>      pfiles = set(dpf.from_package(options.package))
>    File "/usr/share/python3/debpython/files.py", line 53, in from_package
>      raise Exception("cannot get content of %s" % package_name)
> Exception: cannot get content of system-config-printer
> error running python rtupdate hook system-config-printer
> dpkg-query: package 'ubiquity-frontend-gtk' is not installed
> Use dpkg --info (= dpkg-deb --info) to examine archive files,
> and dpkg --contents (= dpkg-deb --contents) to list their contents.
> Traceback (most recent call last):
>    File "/usr/bin/py3clean", line 210, in <module>
>      main()
>    File "/usr/bin/py3clean", line 196, in main
>      pfiles = set(dpf.from_package(options.package))
>    File "/usr/share/python3/debpython/files.py", line 53, in from_package
>      raise Exception("cannot get content of %s" % package_name)
> Exception: cannot get content of ubiquity-frontend-gtk
> error running python rtupdate hook ubiquity-frontend-gtk
> dpkg-query: package 'ubiquity' is not installed
> Use dpkg --info (= dpkg-deb --info) to examine archive files,
> and dpkg --contents (= dpkg-deb --contents) to list their contents.
> Traceback (most recent call last):
>    File "/usr/bin/py3clean", line 210, in <module>
>      main()
>    File "/usr/bin/py3clean", line 196, in main
>      pfiles = set(dpf.from_package(options.package))
>    File "/usr/share/python3/debpython/files.py", line 53, in from_package
>      raise Exception("cannot get content of %s" % package_name)
> Exception: cannot get content of ubiquity
> error running python rtupdate hook ubiquity
> dpkg-query: package 'ubuntu-drivers-common' is not installed
> Use dpkg --info (= dpkg-deb --info) to examine archive files,
> and dpkg --contents (= dpkg-deb --contents) to list their contents.
> Traceback (most recent call last):
>    File "/usr/bin/py3clean", line 210, in <module>
>      main()
>    File "/usr/bin/py3clean", line 196, in main
>      pfiles = set(dpf.from_package(options.package))
>    File "/usr/share/python3/debpython/files.py", line 53, in from_package
>      raise Exception("cannot get content of %s" % package_name)
> Exception: cannot get content of ubuntu-drivers-common
> error running python rtupdate hook ubuntu-drivers-common
> dpkg: error processing package python3 (--configure):
>   installed python3 package post-installation script subprocess returned
> error exit status 4
> dpkg: dependency problems prevent configuration of python3-idna:
>   python3-idna depends on python3:any (>= 3.3.2-2~); however:
>    Package python3 is not configured yet.
> 
> dpkg: error processing package python3-idna (--configure):
>   dependency problems - leaving unconfigured
> dpkg: dependency problems prevent configuration of python3-six:
>   python3-six depends on python3:any (>= 3.4~); however:
>    Package python3 is not configured yet.
> 
> dpkg: error processing package python3-six (--configure):
>   dependency problems - leaving unconfigured
> dpkg: dependency problems prevent configuration of python3-certifi:
>   python3-certifi depends on python3:any (>= 3.4~); however:
>    Package python3 is not configured yet.
> 
> dpkg: error processing package python3-certifi (--configure):
>   dependency problems - leaving unconfigured
> dpkg: dependency problems prevent configuration of python3-gi-cairo:
>   python3-gi-cairo depends on python3 (<< 3.7); however:
>    Package python3 is not configured yet.
>   python3-gi-cairo depends on python3 (>= 3.6~); however:
>    Package python3 is not configured yet.
>   python3-gi-cairo depends on python3:any (>= 3.3~); however:
>    Package python3 is not configured yet.
> 
> dpkg: error processing package python3-gi-cairo (--configure):
>   dependency problems - leaving unconfigured
> dpkg: dependency problems prevent configuration of python3-pkg-resources:
>   python3-pkg-resources depends on python3:any (>= 3.3.2-2~); however:
>    Package python3 is not configured yet.
> 
> dpkg: error processing package python3-pkg-resources (--configure):
>   dependency problems - leaving unconfigured
> dpkg: dependency problems prevent configuration of python3-gi:
>   python3-gi depends on python3 (<< 3.7); however:
>    Package python3 is not configured yet.
>   python3-gi depends on python3 (>= 3.6~); however:
>    Package python3 is not configured yet.
>   python3-gi depends on python3:any (>= 3.3.2-2~); however:
>    Package python3 is not configured yet.
> 
> dpkg: error processing package python3-gi (--configure):
>   dependency problems - leaving unconfigured
> dpkg: dependency problems prevent configuration of python3-chardet:
>   python3-chardet depends on python3:any (>= 3.3.2-2~); however:
>    Package python3 is not configured yet.
>   python3-chardet depends on python3-pkg-resources; however:
>    Package python3-pkg-resources is not configured yet.
> 
> dpkg: error processing package python3-chardet (--configure):
>   dependency problems - leaving unconfigured
> Setting up systemd (237-3ubuntu10.23) ...
> cp: '/etc/resolv.conf' and '/run/systemd/resolve/stub-resolv.conf' are the
> same file
> dpkg: error processing package systemd (--configure):
>   installed systemd package post-installation script subprocess returned
> error exit status 1
> dpkg: dependency problems prevent configuration of gedit-common:
>   gedit-common depends on python3:any (>= 3.3.2-2~); however:
>    Package python3 is not configured yet.
> 
> dpkg: error processing package gedit-common (--configure):
>   dependency problems - leaving unconfigured
> dpkg: dependency problems prevent configuration of couchdb:
>   couchdb depends on python3; however:
>    Package python3 is not configured yet.
> 
> dpkg: error processing package couchdb (--configure):
>   dependency problems - leaving unconfigured
> dpkg: dependency problems prevent configuration of gedit:
>   gedit depends on python3:any (>= 3.3.2-2~); however:
>    Package python3 is not configured yet.
>   gedit depends on gedit-common (>= 3.28); however:
>    Package gedit-common is not configured yet.
>   gedit depends on gedit-common (<< 3.29); however:
>    Package gedit-common is not configured yet.
>   gedit depends on python3-gi (>= 3.0); however:
>    Package python3-gi is not configured yet.
>   gedit depends on python3-gi-cairo (>= 3.0); however:
>    Package python3-gi-cairo is not configured yet.
> 
> dpkg: error processing package gedit (--configure):
>   dependency problems - leaving unconfigured
> dpkg: dependency problems prevent configuration of python3-requests:
>   python3-requests depends on python3-certifi; however:
>    Package python3-certifi is not configured yet.
>   python3-requests depends on python3-chardet (<< 3.1.0); however:
>    Package python3-chardet is not configured yet.
>   python3-requests depends on python3-idna; however:
>    Package python3-idna is not configured yet.
>   python3-requests depends on python3:any (>= 3.4~); however:
>    Package python3 is not configured yet.
>   python3-requests depends on python3-chardet (>= 3.0.2); however:
>    Package python3-chardet is not configured yet.
> 
> dpkg: error processing package python3-requests (--configure):
>   dependency problems - leaving unconfigured
> Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
> dpkg: dependency problems prevent configuration of python3-urllib3:
>   python3-urllib3 depends on python3:any (>= 3.3.2-2~); however:
>    Package python3 is not configured yet.
>   python3-urllib3 depends on python3-six; however:
>    Package python3-six is not configured yet.
> 
> dpkg: error processing package python3-urllib3 (--configure):
>   dependency problems - leaving unconfigured
> dpkg: dependency problems prevent configuration of python3-cairo:amd64:
>   python3-cairo:amd64 depends on python3 (<< 3.7); however:
>    Package python3 is not configured yet.
>   python3-cairo:amd64 depends on python3 (>= 3.6~); however:
>    Package python3 is not configured yet.
>   python3-cairo:amd64 depends on python3:any (>= 3.3.2-2~); however:
>    Package python3 is not configured yet.
> 
> dpkg: error processing package python3-cairo:amd64 (--configure):
>   dependency problems - leaving unconfigured
> Processing triggers for dbus (1.12.2-1ubuntu1.1) ...
> dpkg: dependency problems prevent configuration of python3-progressbar:
>   python3-progressbar depends on python3:any (>= 3.3.2-2~); however:
>    Package python3 is not configured yet.
> 
> dpkg: error processing package python3-progressbar (--configure):
>   dependency problems - leaving unconfigured
> Errors were encountered while processing:
>   python3
>   python3-idna
>   python3-six
>   python3-certifi
>   python3-gi-cairo
>   python3-pkg-resources
>   python3-gi
>   python3-chardet
>   systemd
>   gedit-common
>   couchdb
>   gedit
>   python3-requests
>   python3-urllib3
>   python3-cairo:amd64
>   python3-progressbar
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> root@crow:~#
>