Skip to content

Instantly share code, notes, and snippets.

@John1231983
Created January 4, 2018 02:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save John1231983/6c4c7f87fea6aa23bb4924a9c6b7aede to your computer and use it in GitHub Desktop.
Save John1231983/6c4c7f87fea6aa23bb4924a9c6b7aede to your computer and use it in GitHub Desktop.
lee@lee:~$ sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
apport : Depends: python3-apport (>= 2.20.1-0ubuntu2.14) but 2.20.1-0ubuntu2.13 is installed
apport-gtk : Depends: python3-apport (>= 2.20.1-0ubuntu2.14) but 2.20.1-0ubuntu2.13 is installed
E: Unmet dependencies. Try using -f.
lee@lee:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
apport : Depends: python3-apport (>= 2.20.1-0ubuntu2.14) but 2.20.1-0ubuntu2.13 is installed
apport-gtk : Depends: python3-apport (>= 2.20.1-0ubuntu2.14) but 2.20.1-0ubuntu2.13 is installed
E: Unmet dependencies. Try using -f.
lee@lee:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
python3-apport
Suggested packages:
python3-launchpadlib
The following packages will be upgraded:
python3-apport
1 upgraded, 0 newly installed, 0 to remove and 26 not upgraded.
4 not fully installed or removed.
Need to get 79.6 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://kr.archive.ubuntu.com/ubuntu xenial-updates/main amd64 python3-apport all 2.20.1-0ubuntu2.15 [79.6 kB]
Fetched 79.6 kB in 0s (332 kB/s)
dpkg: warning: files list file for package 'apport-symptoms' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'apport' missing; assuming package has no files currently installed
(Reading database ... 290080 files and directories currently installed.)
Preparing to unpack .../python3-apport_2.20.1-0ubuntu2.15_all.deb ...
/var/lib/dpkg/info/python3-apport.prerm: 6: /var/lib/dpkg/info/python3-apport.prerm: py3clean: not found
dpkg: warning: subprocess old pre-removal script returned error exit status 127
dpkg: trying script from the new package instead ...
/var/lib/dpkg/tmp.ci/prerm: 6: /var/lib/dpkg/tmp.ci/prerm: py3clean: not found
dpkg: error processing archive /var/cache/apt/archives/python3-apport_2.20.1-0ubuntu2.15_all.deb (--unpack):
subprocess new pre-removal script returned error exit status 127
Errors were encountered while processing:
/var/cache/apt/archives/python3-apport_2.20.1-0ubuntu2.15_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment