All I can show is two error messages I have in my terminal:
Code:
15:37:11 ~$ sudo dpkg --configure -a
[sudo] password for sergey:
dpkg: error processing package python-pip (--configure):
package is in a very bad inconsistent state; you should
reinstall it before attempting configuration
dpkg: error processing package bleachbit (--configure):
package is in a very bad inconsistent state; you should
reinstall it before attempting configuration
dpkg: error processing package python-libxslt1 (--configure):
package is in a very bad inconsistent state; you should
reinstall it before attempting configuration
dpkg: error processing package python-debian (--configure):
package is in a very bad inconsistent state; you should
reinstall it before attempting configuration
dpkg: dependency problems prevent configuration of update-notifier:
update-notifier depends on python-debian; however:
Package python-debian is not configured yet.
dpkg: error processing package update-notifier (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of update-notifier-common:
update-notifier-common depends on python-debian; however:
Package python-debian is not configured yet.
dpkg: error processing package update-notifier-common (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
python-pip
bleachbit
python-libxslt1
python-debian
update-notifier
update-notifier-common
Code:
15:44:31 ~$ sudo aptitude reinstall python-minimal
The following packages will be REINSTALLED:
python-minimal
The following partially installed packages will be configured:
bleachbit python-debian python-pip update-notifier update-notifier-common
0 packages upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 1 not upgraded.
Need to get 0 B/300 kB of archives. After unpacking 0 B will be used.
E: Can't find a source to download version '1.1.28-2ubuntu0.1' of 'python-libxslt1:amd64'
E: Can't find a source to download version '1.1.28-2ubuntu0.1' of 'python-libxslt1:amd64'
E: Internal error: couldn't generate list of packages to download
It seems I messed up my python installation after playing with symbolic links.
On top of that, I have:
Code:
15:45:34 ~$ env python
Python 3.6.7 | packaged by conda-forge | (default, Feb 20 2019, 02:51:38)
[GCC 7.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>
which means I have broken applications dependant on python2, e.g. bleachbit. Though, I am not sure if it;s amenable with these lines in `.bashrc` put by Anaconda distribution:
Code:
# added by Anaconda3 4.3.1 installer
export PATH="/home/sergey/anaconda3/bin:$PATH"
I would be very grateful to restoring python environment and removing `apt-get` errors.
Bookmarks