DietPi-Software | Xserver + Java uninstall inteference

Created on 14 Jul 2018  ยท  2Comments  ยท  Source: MichaIng/DietPi

Details:

  • Date | Sat 14 Jul 11:19:53 CEST 2018
  • Bug report | N/A
  • DietPi version | v6.12
  • Img creator | DietPi Core Team
  • Pre-image | Debian netboot
  • SBC device | Virtual Machine (x86_64) (index=20)
  • Kernel version | #1 SMP Debian 3.16.56-1+deb8u1 (2018-05-08)
  • Distro | jessie (index=3)
  • Command | G_AGP: xcompmgr xterm xinit xauth xserver-xorg dbus-x11 xfonts-base x11-xserver-utils x11-common x11-utils lxlock
  • Exit code | 100
  • Software title | DietPi-Software

Steps to reproduce:

  1. Installing several software titles, including Xserver (and obviously Java)
  2. Removing again all software titles.

Expected behaviour:

  • All software titles should be removed without error messages.

Actual behaviour:

  • On Xserver removal, dpkg throws an error about unmet dependencies of ca-certificates-java ๐Ÿค”.

Extra details:

Additional logs:

DietPi-Software
โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
 Mode: Uninstalling Xserver: linux display system

[ INFO ] DietPi-Software | Install verified: xcompmgr
[ INFO ] DietPi-Software | Install verified: xterm
[ INFO ] DietPi-Software | Install verified: xinit
[ INFO ] DietPi-Software | Install verified: xauth
[ INFO ] DietPi-Software | Install verified: xserver-xorg
[ INFO ] DietPi-Software | Install verified: dbus-x11
[ INFO ] DietPi-Software | Install verified: xfonts-base
[ INFO ] DietPi-Software | Install verified: x11-xserver-utils
[ INFO ] DietPi-Software | Install verified: x11-common
[ INFO ] DietPi-Software | Install verified: x11-utils
[ INFO ] DietPi-Software | Not installed, ignoring: lxlock
[  OK  ] DietPi-Software | APT removal for: xcompmgr xterm xinit xauth xserver-xorg dbus-x11 xfonts-base x11-xserver-utils x11-common x11-utils , please wait...
Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 ca-certificates-java : Depends: openjdk-7-jre-headless but it is not going to be installed or
                                 java7-runtime-headless
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

[FAILED] DietPi-Software | G_AGP: xcompmgr xterm xinit xauth xserver-xorg dbus-x11 xfonts-base x11-xserver-utils x11-common x11-utils lxlock
root@VM-Jessie:~# apt purge x11-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 ca-certificates-java : Depends: openjdk-7-jre-headless but it is not going to be installed or
                                 java7-runtime-headless
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
Bug Debian Jessie Solution available

Most helpful comment

PR is up: https://github.com/Fourdee/DietPi/pull/1930
๐Ÿˆฏ๏ธ Tested on Stretch and Jessie

All 2 comments

  • We shall not purge x11-common on Xserver uninstall, better apt-mark auto.
  • As well we shall uninstall Java before Xserver (?).

Minor: lxlock is not available on Jessie. It is never actively installed, thus we don't need to actively purge.

PR is up: https://github.com/Fourdee/DietPi/pull/1930
๐Ÿˆฏ๏ธ Tested on Stretch and Jessie

Was this page helpful?
0 / 5 - 0 ratings

Related issues

and09 picture and09  ยท  3Comments

Fourdee picture Fourdee  ยท  3Comments

MichaIng picture MichaIng  ยท  3Comments

pgferr picture pgferr  ยท  3Comments

pfeerick picture pfeerick  ยท  3Comments