Whenever i'm trying to install any program Ubuntu is showing this ;
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
gedit
Suggested packages:
gedit-plugins
The following packages will be upgraded:
gedit
1 upgraded, 0 newly installed, 0 to remove and 83 not upgraded.
24 not fully installed or removed.
Need to get 0 B/408 kB of archives.
After this operation, 8,192 B disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 281827 files and directories currently installed.)
Preparing to unpack .../gedit_3.28.1-1ubuntu1.2_amd64.deb ...
/var/lib/dpkg/info/gedit.prerm: 12: /var/lib/dpkg/info/gedit.prerm: py3clean: not found
dpkg: warning: old gedit package pre-removal script subprocess returned error exit status 127
dpkg: trying script from the new package instead ...
/var/lib/dpkg/tmp.ci/prerm: 12: /var/lib/dpkg/tmp.ci/prerm: py3clean: not found
dpkg: error processing archive /var/cache/apt/archives/gedit_3.28.1-1ubuntu1.2_amd64.deb (--unpack):
new gedit package pre-removal script subprocess returned error exit status 127
/var/lib/dpkg/info/gedit.postinst: 32: /var/lib/dpkg/info/gedit.postinst: py3compile: not found
dpkg: error while cleaning up:
installed gedit package post-installation script subprocess returned error exit status 127
Errors were encountered while processing:
/var/cache/apt/archives/gedit_3.28.1-1ubuntu1.2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
python3-minimal
installed? (it's the package that contains py3clean which all Ubuntu releases should have installed; yourgedit
package looks like 18.04 but why make us guess) – guiverc Jun 28 '19 at 09:08dpkg -l | egrep -v '^ii|rc'
– nobody Jun 28 '19 at 16:40