Log file contents:
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:
libice6 : Depends: x11-common but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
@aaro668
Hi,
Thanks for the report ๐
The error is for uninstall of Xserver. During the uninstall menu, which items did you select for uninstall?
eg:
With the above info, we can try to replicate/resolve.
Notes:
libice6 as part of MPD jessieVNC 4
LXDE
Xserver
ALSA
Aaron Martin
Northway Metals Inc.
[email protected]aaron@northwaymetals.com
Sales: [email protected]sales@northwaymetals.com
From: Dan [mailto:[email protected]]
Sent: Saturday, February 17, 2018 10:18 AM
To: Fourdee/DietPi
Cc: Aaron Martin; Mention
Subject: Re: [Fourdee/DietPi] Error uninstalling VNC (#1523)
@aaro668https://github.com/aaro668
Hi,
Thanks for the report ๐
The error is for uninstall of Xserver. During the uninstall menu, which items did you select for uninstall?
eg:
โ
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/Fourdee/DietPi/issues/1523#issuecomment-366447900, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AgqquiFdHi9ZX6iA8G-wau7MVR5rdO9Yks5tVu3BgaJpZM4SJV4q.
I also tried uninstalling only VNC4 and got this one:
Log file contents:
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package realvnc-vnc-server
@aaro668
Thanks ๐
E: Unable to locate package realvnc-vnc-server
This is resolved for v6.2 (release tomorrow). I'll try to replicate the other issue.
๐ด Confirmed RPi uninstall of:
VNC 4
LXDE
Xserver
ALSA
Issue is due to uninstall order of Xserver (being 1st), we need to ensure its uninstalled last.
Ok, so how do I un-install from my system?
@aaro668
Please wait.
@aaro668
Uninstall workaround:
dietpi-software uninstall 23 28 5 6
Ok, thanks, should I run cleanup after un-install?
@aaro668
No need, DietPi will run apt-get autoremove --purge automatically at the end.
Using workaround (dietpi-software uninstall 23 28 5 6)
I get this error yet:
Log file contents:
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package realvnc-vnc-server
@aaro668
Ah yes, this requires v6.2, please update the global script temporarily for this uninstall:
mv /DietPi/dietpi/func/dietpi-globals /DietPi/dietpi/func/dietpi-globals.bak
wget https://raw.githubusercontent.com/Fourdee/DietPi/testing/dietpi/func/dietpi-globals -O /DietPi/dietpi/func/dietpi-globals
chmod +x /DietPi/dietpi/func/dietpi-globals
dietpi-software uninstall 23 28 5 6
mv /DietPi/dietpi/func/dietpi-globals.bak /DietPi/dietpi/func/dietpi-globals
Moved to 6.3:
Got it un-installed with this:
mv /DietPi/dietpi/func/dietpi-globals /DietPi/dietpi/func/dietpi-globals.bak
wget https://raw.githubusercontent.com/Fourdee/DietPi/testing/dietpi/func/dietpi-globals -O /DietPi/dietpi/func/dietpi-globals
chmod +x /DietPi/dietpi/func/dietpi-globals
dietpi-software uninstall 23 28 5 6
mv /DietPi/dietpi/func/dietpi-globals.bak /DietPi/dietpi/func/dietpi-globals
thanks!
Since doing the uninstall the blynkserver service isnt running successfully, any pointers why this is happening?
DietPi-Services
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Mode: status
[ OK ] cron active (running) since Sat 2018-02-17 10:56:21 EST; 7min ago
[ OK ] proftpd active (running) since Sat 2018-02-17 10:56:21 EST; 7min ago
[FAILED] blynkserver failed (Result: exit-code) since Sat 2018-02-17 10:56:21 EST; 7min ago
โ blynkserver.service - Blynk Server
Loaded: loaded (/etc/systemd/system/blynkserver.service; disabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sat 2018-02-17 10:56:21 EST; 7min ago
Process: 11405 ExecStart=/usr/bin/java -jar /etc/blynkserver/server.jar -serverConfig /mnt/dietpi_userdata/blynk/server.properties (code=exited, status=203/EXEC)
Main PID: 11405 (code=exited, status=203/EXEC)
Feb 17 10:56:21 DietPi-Clare systemd[1]: Started Blynk Server.
Feb 17 10:56:21 DietPi-Clare systemd[1]: blynkserver.service: Main process exited, code=exited, status=203/EXEC
Feb 17 10:56:21 DietPi-Clare systemd[1]: blynkserver.service: Unit entered failed state.
Feb 17 10:56:21 DietPi-Clare systemd[1]: blynkserver.service: Failed with result 'exit-code'.
@aaro668
Could be a pre-req from the uninstalled items.
What happens when you run?:
/usr/bin/java -jar /etc/blynkserver/server.jar -serverConfig /mnt/dietpi_userdata/blynk/server.properties
root@DietPi-Clare:~# service blynkserver stop
root@DietPi-Clare:~# /usr/bin/java -jar /etc/blynkserver/server.jar -serverConfig /mnt/dietpi_userdata/blynk/server.properties
-bash: /usr/bin/java: No such file or directory
root@DietPi-Clare:~#
@aaro668
One of the uninstalled software items most likely removed Java, due to APT req's (out of our control).
Easiest solution, reinstall blynkserver (which automatically pulls in java):
dietpi-software reinstall 131
ok, but I have apps and settings already for Blynkserver, will those be overwritten? I would prefer not to have to set everything up again.....
@aaro668
The only thing I can see that will be overwritten during reinstall is "$G_FP_DIETPI_USERDATA"/blynk/server.properties file, however, to avoid any potential loss, please create a full system backup before hand:
dietpi-backup
Thanks, it worked
I will close in favour of: https://github.com/Fourdee/DietPi/issues/1462
Collect ideas there how to realize specific uninstall order.
I will close in favour of: #1462
๐