lm20.d upgrade to lm21.1 fails error with dpkg: error processing package python2-minimal

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
User avatar
sadhu
Level 5
Level 5
Posts: 862
Joined: Fri Nov 22, 2013 9:48 am
Location: Sri Lanka
Contact:

lm20.d upgrade to lm21.1 fails error with dpkg: error processing package python2-minimal

Post by sadhu »

Running mintupdate reports some packages are broken, run 'apt install -f'

Code: Select all

sadhu@desk:~$ sudo apt install -f
password for sadhu:      
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  breeze breeze-cursor-theme extlinux kde-style-breeze kwin-style-breeze
  libegl1-mesa libkdecorations2-5v5 libkdecorations2private7 libkf5style5
  libopenshot-audio9 libopenshot23 libqt5networkauth5 libqt5webengine5
  libsqlcipher0 libxcb-xtest0 linux-headers-5.15.0-48-generic
  linux-headers-5.15.0-50-generic linux-headers-5.15.0-52-generic
  linux-headers-5.15.0-53-generic linux-hwe-5.15-headers-5.15.0-48
  linux-hwe-5.15-headers-5.15.0-50 linux-hwe-5.15-headers-5.15.0-52
  linux-hwe-5.15-headers-5.15.0-53 linux-image-5.15.0-48-generic
  linux-image-5.15.0-50-generic linux-image-5.15.0-52-generic
  linux-image-5.15.0-53-generic linux-modules-5.15.0-48-generic
  linux-modules-5.15.0-50-generic linux-modules-5.15.0-52-generic
  linux-modules-5.15.0-53-generic linux-modules-extra-5.15.0-48-generic
  linux-modules-extra-5.15.0-50-generic linux-modules-extra-5.15.0-52-generic
  linux-modules-extra-5.15.0-53-generic python3-defusedxml
  python3-pyqt5.qtopengl python3-pyqt5.qtwebchannel python3-pyqt5.qtwebengine
  python3-sentry-sdk
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  libpython2-stdlib python-pkg-resources python2
Suggested packages:
  python-setuptools python2-doc python-tk
The following packages will be upgraded:
  libpython2-stdlib python-pkg-resources python2
3 upgraded, 0 newly installed, 0 to remove and 3146 not upgraded.
4 not fully installed or removed.
Need to get 0 B/145 kB of archives.
After this operation, 79.9 kB disk space will be freed.
Do you want to continue? [Y/n] 
Setting up python2-minimal (2.7.18-3) ...
/var/lib/dpkg/info/python2-minimal.postinst: 4: python2.7: not found
dpkg: error processing package python2-minimal (--configure):
 installed python2-minimal package post-installation script subprocess returned 
error exit status 127
Errors were encountered while processing:
 python2-minimal
E: Sub-process /usr/bin/dpkg returned an error code (1)
sadhu@desk:~$ 
I've been trying to resolve this python2 issue for hours. Then I try to install it:

Code: Select all

sadhu@desk:~$ sudo apt install python2-minimal
Reading package lists... Done
Building dependency tree       
Reading state information... Done
python2-minimal is already the newest version (2.7.18-3).
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 python2 : PreDepends: python2-minimal (= 2.7.17-2ubuntu4) but 2.7.18-3 is to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).[/c]
Then I tried 'apt --fix-broken install'
[c]o you want to continue? [Y/n] 
Setting up python2-minimal (2.7.18-3) ...
/var/lib/dpkg/info/python2-minimal.postinst: 4: python2.7: not found
dpkg: error processing package python2-minimal (--configure):
 installed python2-minimal package post-installation script subprocess returned 
error exit status 127
Errors were encountered while processing:
 python2-minimal
E: Sub-process /usr/bin/dpkg returned an error code (1)
Same error.

How to proceed and complete the installation?


Thanks, Sadhu
Last edited by LockBot on Sun Oct 01, 2023 10:00 pm, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
sabbe sattā bhavantu sukhitattā. LM 21.2-64 Cinn 5.8.4
sleeper12
Level 21
Level 21
Posts: 14591
Joined: Thu May 25, 2017 3:22 pm

Re: lm20.d upgrade to lm21.1 fails error with dpkg: error processing package python2-minimal

Post by sleeper12 »

Try:

Code: Select all

sudo dpkg --configure -a
Or:

Code: Select all

sudo apt --fix-broken install
User avatar
sadhu
Level 5
Level 5
Posts: 862
Joined: Fri Nov 22, 2013 9:48 am
Location: Sri Lanka
Contact:

Re: lm20.d upgrade to lm21.1 fails error with dpkg: error processing package python2-minimal

Post by sadhu »

now, after

Code: Select all

sudo dpkg --configure -a
[sudo] password for sadhu:      
dpkg: error processing package python-pkg-resources (--configure):
 package is in a very bad inconsistent state; you should
 reinstall it before attempting configuration
dpkg: dependency problems prevent configuration of trash-cli:
 trash-cli depends on python-pkg-resources; however:
  Package python-pkg-resources is not configured yet.
  
so I tried reinstalling it:

Code: Select all

sudo apt reinstall python-pkg-resources
The following packages will be REINSTALLED:
  python-pkg-resources 
The following packages will be REMOVED:
  breeze{u} breeze-cursor-theme{u} extlinux{u} kde-style-breeze{u} 
  kwin-style-breeze{u} libegl1-mesa{u} libkdecorations2-5v5{u} 
  libkdecorations2private7{u} libkf5style5{u} libopenshot-audio9{u} 
  libopenshot23{u} libqt5networkauth5{u} libqt5webengine5{u} 
  libsqlcipher0{u} libxcb-xtest0{u} python3-defusedxml{u} 
  python3-pyqt5.qtopengl{u} python3-pyqt5.qtwebchannel{u} 
  python3-pyqt5.qtwebengine{u} python3-sentry-sdk{u} 
The following partially installed packages will be configured:
  python-lxml python2-minimal 
0 packages upgraded, 0 newly installed, 1 reinstalled, 20 to remove and 3129 not upgraded.
E: Can't find a source to download version '44.0.0-2' of 'python-pkg-resources:amd64'
After unpacking 36.1 MB will be freed.
The following packages have unmet dependencies:
 python2 : PreDepends: python2-minimal (= 2.7.17-2ubuntu4) but 2.7.18-3 is installed
The following actions will resolve these dependencies:

     Upgrade the following packages:                                
1)     libpython2-stdlib [2.7.17-2ubuntu4 (now) -> 2.7.18-3 (jammy)]
2)     python2 [2.7.17-2ubuntu4 (now) -> 2.7.18-3 (jammy)]          

Accept this solution? [Y/n/q/?] 
The following packages will be REINSTALLED:
  python-pkg-resources 
The following packages will be REMOVED:
  breeze{u} breeze-cursor-theme{u} extlinux{u} kde-style-breeze{u} 
  kwin-style-breeze{u} libegl1-mesa{u} libkdecorations2-5v5{u} 
  libkdecorations2private7{u} libkf5style5{u} libopenshot-audio9{u} 
  libopenshot23{u} libqt5networkauth5{u} libqt5webengine5{u} 
  libsqlcipher0{u} libxcb-xtest0{u} python3-defusedxml{u} 
  python3-pyqt5.qtopengl{u} python3-pyqt5.qtwebchannel{u} 
  python3-pyqt5.qtwebengine{u} python3-sentry-sdk{u} 
The following packages will be upgraded:
  libpython2-stdlib python2 
The following partially installed packages will be configured:
  python-lxml python2-minimal 
2 packages upgraded, 0 newly installed, 1 reinstalled, 20 to remove and 3127 not upgraded.
E: Can't find a source to download version '44.0.0-2' of 'python-pkg-resources:amd64'
E: Can't find a source to download version '44.0.0-2' of 'python-pkg-resources:amd64'
After unpacking 36.2 MB will be freed.
Do you want to continue? [Y/n/?] y
E: Can't find a source to download version '44.0.0-2' of 'python-pkg-resources:amd64'
E: Internal error: couldn't generate list of packages to download
E: Perhaps the package lists are out of date, please try 'aptitude update' (or equivalent); otherwise some packages or versions are not available from the current repository sources
E: Can't find a source to download version '44.0.0-2' of 'python-pkg-resources:amd64' So how do I download it? Here's my list of repositories:

Code: Select all

sadhu@desk:~$ sudo apt-cache policy
Package files:
 100 /var/lib/dpkg/status
     release a=now
 500 http://repo.vivaldi.com/stable/deb stable/main amd64 Packages
     release o=Vivaldi Technologies,a=stable,l=Official Vivaldi package repository,c=main,b=amd64
     origin repo.vivaldi.com
 500 https://repo.skype.com/deb stable/main amd64 Packages
     release o=. stable,a=stable,n=stable,l=. stable,c=main,b=amd64
     origin repo.skype.com
 500 https://repo.protonvpn.com/debian stable/main all Packages
     release o=proton-gitlab,n=stable,c=main,b=all
     origin repo.protonvpn.com
 500 https://deb.opera.com/opera-stable stable/non-free amd64 Packages
     release o=Opera Software AS,a=stable,n=stable,l=The Opera web browser,c=non-free,b=amd64
     origin deb.opera.com
 500 http://ppa.launchpad.net/openshot.developers/ppa/ubuntu jammy/main i386 Packages
     release v=22.04,o=LP-PPA-openshot.developers,a=jammy,n=jammy,l=OpenShot: Stable PPA - Official Releases,c=main,b=i386
     origin ppa.launchpad.net
 500 http://ppa.launchpad.net/openshot.developers/ppa/ubuntu jammy/main amd64 Packages
     release v=22.04,o=LP-PPA-openshot.developers,a=jammy,n=jammy,l=OpenShot: Stable PPA - Official Releases,c=main,b=amd64
     origin ppa.launchpad.net
 500 http://security.ubuntu.com/ubuntu jammy-security/multiverse i386 Packages
     release v=22.04,o=Ubuntu,a=jammy-security,n=jammy,l=Ubuntu,c=multiverse,b=i386
     origin security.ubuntu.com
 500 http://security.ubuntu.com/ubuntu jammy-security/multiverse amd64 Packages
     release v=22.04,o=Ubuntu,a=jammy-security,n=jammy,l=Ubuntu,c=multiverse,b=amd64
     origin security.ubuntu.com
 500 http://security.ubuntu.com/ubuntu jammy-security/universe i386 Packages
     release v=22.04,o=Ubuntu,a=jammy-security,n=jammy,l=Ubuntu,c=universe,b=i386
     origin security.ubuntu.com
 500 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages
     release v=22.04,o=Ubuntu,a=jammy-security,n=jammy,l=Ubuntu,c=universe,b=amd64
     origin security.ubuntu.com
 500 http://security.ubuntu.com/ubuntu jammy-security/restricted i386 Packages
     release v=22.04,o=Ubuntu,a=jammy-security,n=jammy,l=Ubuntu,c=restricted,b=i386
     origin security.ubuntu.com
 500 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages
     release v=22.04,o=Ubuntu,a=jammy-security,n=jammy,l=Ubuntu,c=restricted,b=amd64
     origin security.ubuntu.com
 500 http://security.ubuntu.com/ubuntu jammy-security/main i386 Packages
     release v=22.04,o=Ubuntu,a=jammy-security,n=jammy,l=Ubuntu,c=main,b=i386
     origin security.ubuntu.com
 500 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages
     release v=22.04,o=Ubuntu,a=jammy-security,n=jammy,l=Ubuntu,c=main,b=amd64
     origin security.ubuntu.com
 100 http://archive.ubuntu.com/ubuntu jammy-backports/universe i386 Packages
     release v=22.04,o=Ubuntu,a=jammy-backports,n=jammy,l=Ubuntu,c=universe,b=i386
     origin archive.ubuntu.com
 100 http://archive.ubuntu.com/ubuntu jammy-backports/universe amd64 Packages
     release v=22.04,o=Ubuntu,a=jammy-backports,n=jammy,l=Ubuntu,c=universe,b=amd64
     origin archive.ubuntu.com
 100 http://archive.ubuntu.com/ubuntu jammy-backports/main i386 Packages
     release v=22.04,o=Ubuntu,a=jammy-backports,n=jammy,l=Ubuntu,c=main,b=i386
     origin archive.ubuntu.com
 100 http://archive.ubuntu.com/ubuntu jammy-backports/main amd64 Packages
     release v=22.04,o=Ubuntu,a=jammy-backports,n=jammy,l=Ubuntu,c=main,b=amd64
     origin archive.ubuntu.com
 500 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse i386 Packages
     release v=22.04,o=Ubuntu,a=jammy-updates,n=jammy,l=Ubuntu,c=multiverse,b=i386
     origin archive.ubuntu.com
 500 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 Packages
     release v=22.04,o=Ubuntu,a=jammy-updates,n=jammy,l=Ubuntu,c=multiverse,b=amd64
     origin archive.ubuntu.com
 500 http://archive.ubuntu.com/ubuntu jammy-updates/universe i386 Packages
     release v=22.04,o=Ubuntu,a=jammy-updates,n=jammy,l=Ubuntu,c=universe,b=i386
     origin archive.ubuntu.com
 500 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages
     release v=22.04,o=Ubuntu,a=jammy-updates,n=jammy,l=Ubuntu,c=universe,b=amd64
     origin archive.ubuntu.com
 500 http://archive.ubuntu.com/ubuntu jammy-updates/restricted i386 Packages
     release v=22.04,o=Ubuntu,a=jammy-updates,n=jammy,l=Ubuntu,c=restricted,b=i386
     origin archive.ubuntu.com
 500 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages
     release v=22.04,o=Ubuntu,a=jammy-updates,n=jammy,l=Ubuntu,c=restricted,b=amd64
     origin archive.ubuntu.com
 500 http://archive.ubuntu.com/ubuntu jammy-updates/main i386 Packages
     release v=22.04,o=Ubuntu,a=jammy-updates,n=jammy,l=Ubuntu,c=main,b=i386
     origin archive.ubuntu.com
 500 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages
     release v=22.04,o=Ubuntu,a=jammy-updates,n=jammy,l=Ubuntu,c=main,b=amd64
     origin archive.ubuntu.com
 500 http://archive.ubuntu.com/ubuntu jammy/multiverse i386 Packages
     release v=22.04,o=Ubuntu,a=jammy,n=jammy,l=Ubuntu,c=multiverse,b=i386
     origin archive.ubuntu.com
 500 http://archive.ubuntu.com/ubuntu jammy/multiverse amd64 Packages
     release v=22.04,o=Ubuntu,a=jammy,n=jammy,l=Ubuntu,c=multiverse,b=amd64
     origin archive.ubuntu.com
 500 http://archive.ubuntu.com/ubuntu jammy/universe i386 Packages
     release v=22.04,o=Ubuntu,a=jammy,n=jammy,l=Ubuntu,c=universe,b=i386
     origin archive.ubuntu.com
 500 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
     release v=22.04,o=Ubuntu,a=jammy,n=jammy,l=Ubuntu,c=universe,b=amd64
     origin archive.ubuntu.com
 500 http://archive.ubuntu.com/ubuntu jammy/restricted i386 Packages
     release v=22.04,o=Ubuntu,a=jammy,n=jammy,l=Ubuntu,c=restricted,b=i386
     origin archive.ubuntu.com
 500 http://archive.ubuntu.com/ubuntu jammy/restricted amd64 Packages
     release v=22.04,o=Ubuntu,a=jammy,n=jammy,l=Ubuntu,c=restricted,b=amd64
     origin archive.ubuntu.com
 500 http://archive.ubuntu.com/ubuntu jammy/main i386 Packages
     release v=22.04,o=Ubuntu,a=jammy,n=jammy,l=Ubuntu,c=main,b=i386
     origin archive.ubuntu.com
 500 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages
     release v=22.04,o=Ubuntu,a=jammy,n=jammy,l=Ubuntu,c=main,b=amd64
     origin archive.ubuntu.com
 500 http://packages.linuxmint.com vanessa/backport i386 Packages
     release v=21,o=linuxmint,a=vanessa,n=vanessa,l=linuxmint,c=backport,b=i386
     origin packages.linuxmint.com
 500 http://packages.linuxmint.com vanessa/backport amd64 Packages
     release v=21,o=linuxmint,a=vanessa,n=vanessa,l=linuxmint,c=backport,b=amd64
     origin packages.linuxmint.com
 500 http://packages.linuxmint.com vanessa/import i386 Packages
     release v=21,o=linuxmint,a=vanessa,n=vanessa,l=linuxmint,c=import,b=i386
     origin packages.linuxmint.com
 500 http://packages.linuxmint.com vanessa/import amd64 Packages
     release v=21,o=linuxmint,a=vanessa,n=vanessa,l=linuxmint,c=import,b=amd64
     origin packages.linuxmint.com
 700 http://packages.linuxmint.com vanessa/upstream i386 Packages
     release v=21,o=linuxmint,a=vanessa,n=vanessa,l=linuxmint,c=upstream,b=i386
     origin packages.linuxmint.com
 700 http://packages.linuxmint.com vanessa/upstream amd64 Packages
     release v=21,o=linuxmint,a=vanessa,n=vanessa,l=linuxmint,c=upstream,b=amd64
     origin packages.linuxmint.com
 500 http://packages.linuxmint.com vanessa/main i386 Packages
     release v=21,o=linuxmint,a=vanessa,n=vanessa,l=linuxmint,c=main,b=i386
     origin packages.linuxmint.com
 500 http://packages.linuxmint.com vanessa/main amd64 Packages
     release v=21,o=linuxmint,a=vanessa,n=vanessa,l=linuxmint,c=main,b=amd64
     origin packages.linuxmint.com
 500 https://repo.nordvpn.com//deb/nordvpn/debian stable/main i386 Packages
     release v=1.0,o=Stable,a=stable,n=stable,l=Stable,c=main,b=i386
     origin repo.nordvpn.com
 500 https://repo.nordvpn.com//deb/nordvpn/debian stable/main amd64 Packages
     release v=1.0,o=Stable,a=stable,n=stable,l=Stable,c=main,b=amd64
     origin repo.nordvpn.com
 500 http://ppa.launchpad.net/linuxgndu/sqlitebrowser/ubuntu jammy/main i386 Packages
     release v=22.04,o=LP-PPA-linuxgndu-sqlitebrowser,a=jammy,n=jammy,l=SqliteBrowser Stable PPA,c=main,b=i386
     origin ppa.launchpad.net
 500 http://ppa.launchpad.net/linuxgndu/sqlitebrowser/ubuntu jammy/main amd64 Packages
     release v=22.04,o=LP-PPA-linuxgndu-sqlitebrowser,a=jammy,n=jammy,l=SqliteBrowser Stable PPA,c=main,b=amd64
     origin ppa.launchpad.net
 500 http://ppa.launchpad.net/kdenlive/kdenlive-stable/ubuntu jammy/main i386 Packages
     release v=22.04,o=LP-PPA-kdenlive-kdenlive-stable,a=jammy,n=jammy,l=Kdenlive release,c=main,b=i386
     origin ppa.launchpad.net
 500 http://ppa.launchpad.net/kdenlive/kdenlive-stable/ubuntu jammy/main amd64 Packages
     release v=22.04,o=LP-PPA-kdenlive-kdenlive-stable,a=jammy,n=jammy,l=Kdenlive release,c=main,b=amd64
     origin ppa.launchpad.net
 500 http://ppa.launchpad.net/hluk/copyq/ubuntu jammy/main amd64 Packages
     release v=22.04,o=LP-PPA-hluk-copyq,a=jammy,n=jammy,l=CopyQ,c=main,b=amd64
     origin ppa.launchpad.net
 500 http://ppa.launchpad.net/gerardpuig/ppa/ubuntu jammy/main i386 Packages
     release v=22.04,o=LP-PPA-gerardpuig,a=jammy,n=jammy,l=Ubuntu Cleaner PPA,c=main,b=i386
     origin ppa.launchpad.net
 500 http://ppa.launchpad.net/gerardpuig/ppa/ubuntu jammy/main amd64 Packages
     release v=22.04,o=LP-PPA-gerardpuig,a=jammy,n=jammy,l=Ubuntu Cleaner PPA,c=main,b=amd64
     origin ppa.launchpad.net
 500 http://ppa.launchpad.net/daniruiz/flat-remix/ubuntu jammy/main i386 Packages
     release v=22.04,o=LP-PPA-daniruiz-flat-remix,a=jammy,n=jammy,l=Flat Remix,c=main,b=i386
     origin ppa.launchpad.net
 500 http://ppa.launchpad.net/daniruiz/flat-remix/ubuntu jammy/main amd64 Packages
     release v=22.04,o=LP-PPA-daniruiz-flat-remix,a=jammy,n=jammy,l=Flat Remix,c=main,b=amd64
     origin ppa.launchpad.net
 500 https://brave-browser-apt-release.s3.brave.com stable/main amd64 Packages
     release o=Brave Software,a=stable,n=stable,l=Brave Browser,c=main,b=amd64
     origin brave-browser-apt-release.s3.brave.com
 500 https://screenrec.com/download/ubuntu stable/main amd64 Packages
     release o=. stable,a=stable,n=stable,l=. stable,c=main,b=amd64
     origin screenrec.com
Pinned packages:
sadhu@desk:~$ 
Thanks -- Sadhu
sabbe sattā bhavantu sukhitattā. LM 21.2-64 Cinn 5.8.4
User avatar
sadhu
Level 5
Level 5
Posts: 862
Joined: Fri Nov 22, 2013 9:48 am
Location: Sri Lanka
Contact:

Re: lm20.d upgrade to lm21.1 fails error with dpkg: error processing package python2-minimal

Post by sadhu »

BTW, synaptic warned me about broken packages -- Python2

But I get the at same old error:
E: python2-minimal: installed python2-minimal package post-installation script subprocess returned error exit status 127

Going around in circles here...

Thanks
-Sadhu

(PS: I'm trying to upgrade using the command instead of full OS install, so I don't have to reload all my software and settings.)
sabbe sattā bhavantu sukhitattā. LM 21.2-64 Cinn 5.8.4
sleeper12
Level 21
Level 21
Posts: 14591
Joined: Thu May 25, 2017 3:22 pm

Re: lm20.d upgrade to lm21.1 fails error with dpkg: error processing package python2-minimal

Post by sleeper12 »

Try:

Code: Select all

sudo apt update && sudo apt upgrade
User avatar
sadhu
Level 5
Level 5
Posts: 862
Joined: Fri Nov 22, 2013 9:48 am
Location: Sri Lanka
Contact:

Re: lm20.d upgrade to lm21.1 fails error with dpkg: error processing package python2-minimal

Post by sadhu »

Thanks: Here's the result:

Code: Select all

sadhu@desk:~$ sudo apt update && sudo apt upgrade
[sudo] password for sadhu:  
. . .
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 python2 : PreDepends: python2-minimal (= 2.7.17-2ubuntu4) but 2.7.18-3 is installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
sadhu@desk:~$ 
I tried apt --fix-broken install but still no joy.


-Sadhu
sabbe sattā bhavantu sukhitattā. LM 21.2-64 Cinn 5.8.4
sleeper12
Level 21
Level 21
Posts: 14591
Joined: Thu May 25, 2017 3:22 pm

Re: lm20.d upgrade to lm21.1 fails error with dpkg: error processing package python2-minimal

Post by sleeper12 »

sadhu wrote: Sat Apr 01, 2023 2:53 am
I tried apt --fix-broken install but still no joy.

Did you try it with sudo:

Code: Select all

sudo apt --fix-broken install
User avatar
sadhu
Level 5
Level 5
Posts: 862
Joined: Fri Nov 22, 2013 9:48 am
Location: Sri Lanka
Contact:

Re: lm20.d upgrade to lm21.1 fails error with dpkg: error processing package python2-minimal

Post by sadhu »

of course, 'sudo'
sabbe sattā bhavantu sukhitattā. LM 21.2-64 Cinn 5.8.4
sleeper12
Level 21
Level 21
Posts: 14591
Joined: Thu May 25, 2017 3:22 pm

Re: lm20.d upgrade to lm21.1 fails error with dpkg: error processing package python2-minimal

Post by sleeper12 »

Unless someone has a better solution, maybe Timeshift back to before all this happened.
User avatar
sadhu
Level 5
Level 5
Posts: 862
Joined: Fri Nov 22, 2013 9:48 am
Location: Sri Lanka
Contact:

Re: lm20.d upgrade to lm21.1 fails error with dpkg: error processing package python2-minimal

Post by sadhu »

Thanks sleeper.

Actually, I already did that — twice! — thinking that I had interrupted the process. It always hangs at the same place, with that error regarding python2.
sabbe sattā bhavantu sukhitattā. LM 21.2-64 Cinn 5.8.4
sleeper12
Level 21
Level 21
Posts: 14591
Joined: Thu May 25, 2017 3:22 pm

Re: lm20.d upgrade to lm21.1 fails error with dpkg: error processing package python2-minimal

Post by sleeper12 »

Other than reinstalling Mint, I don't know what else you can do. Maybe someone else will know.
Locked

Return to “Installation & Boot”