tho4
December 18th, 2017, 05:35 PM
I get the following error message when trying to download a package:
dpkg: warning: files list file for package 'python-gtk2' missing; assuming package has no files currently installed
dpkg: unrecoverable fatal error, aborting:
files list file for package 'curl' is missing final newline
E: Sub-process /usr/bin/dpkg returned an error code (2)
It seems to be an error during an installation. I tried the following without success:
sudo apt-get -f install -> no change observed
dpkg --configure -a -> no change observed
sudo apt upgrade -> I get the same error message.
I tried to remove the python-gtk2 package as follows:
sudo dpkg --remove --force-remove-reinstreq python-gtk2
dpkg: dependency problems prevent removal of python-gtk2:
dropbox depends on python-gtk2 (>= 2.12).
python-glade2 depends on python-gtk2 (= 2.24.0-4ubuntu1).
dpkg: error processing package python-gtk2 (--remove):
dependency problems - not removing
Errors were encountered while processing:
python-gtk2
Any suggestions welcome
dpkg: warning: files list file for package 'python-gtk2' missing; assuming package has no files currently installed
dpkg: unrecoverable fatal error, aborting:
files list file for package 'curl' is missing final newline
E: Sub-process /usr/bin/dpkg returned an error code (2)
It seems to be an error during an installation. I tried the following without success:
sudo apt-get -f install -> no change observed
dpkg --configure -a -> no change observed
sudo apt upgrade -> I get the same error message.
I tried to remove the python-gtk2 package as follows:
sudo dpkg --remove --force-remove-reinstreq python-gtk2
dpkg: dependency problems prevent removal of python-gtk2:
dropbox depends on python-gtk2 (>= 2.12).
python-glade2 depends on python-gtk2 (= 2.24.0-4ubuntu1).
dpkg: error processing package python-gtk2 (--remove):
dependency problems - not removing
Errors were encountered while processing:
python-gtk2
Any suggestions welcome