gonzalo / gphoto2-updater

Gphoto2 compiler and installer script. This script was initially created for Raspbian and Raspberry Pi but it is also tested for Ubuntu and Debian Jessie & Wheezy.
http://github.com/gonzalo/gphoto2-updater
292 stars 72 forks source link

This script removes ubuntu-desktop! #57

Closed BeebBenjamin closed 5 years ago

BeebBenjamin commented 6 years ago

This script removes ubuntu desktop and other software, though this is claimed to work for Ubuntu 14.04:

Removing colord (1.0.6-1) ... Removing deja-dup-backend-gvfs (30.0-0ubuntu4.1) ... Removing ubuntu-desktop (1.325) ... Removing software-center (13.10-0ubuntu4.2) ... Removing gvfs-backends (1.20.3-0ubuntu1.2) ... Removing printer-driver-postscript-hp (3.14.3-0ubuntu3.4) ... Removing hplip (3.14.3-0ubuntu3.4) ... Removing libgphoto2-2-dev (2.5.3.1-1ubuntu2.2) ... Removing shotwell (0.18.0-0ubuntu4.5) ... Removing simple-scan (3.12.3-0ubuntu1) ... Removing libgphoto2-dev (2.5.3.1-1ubuntu2.2) ... Removing libgphoto2-dev-doc (2.5.3.1-1ubuntu2.2) ... Removing libgphoto2-l10n (2.5.3.1-1ubuntu2.2) ... Removing wine (1:1.6.2-0ubuntu4) ... Removing sane-utils (1.0.23-3ubuntu3.1) ... saned disabled; edit /etc/default/saned Removing libsane:amd64 (1.0.23-3ubuntu3.1) ... Removing wine1.6-amd64 (1:1.6.2-0ubuntu4) ... Removing libgphoto2-6:amd64 (2.5.3.1-1ubuntu2.2) ... Removing wine1.6 (1:1.6.2-0ubuntu4) ... Removing libgphoto2-port10:amd64 (2.5.3.1-1ubuntu2.2) ... Removing wine1.6-i386 (1:1.6.2-0ubuntu4) ...

The command "apt-get remove -y gphoto2 libgphoto2*" is the culprit.

This can be fixed by re-installing ubuntu-desktop, and wine but some users may not notice their desktop being removed during installation...

Thought you might like to know!

gonzalo commented 6 years ago

Thanks for the feedback. Obviously, removing ligphoto2 which is a side library, should not remove the complete ubuntu desktop. Can you confirm wich version of ubuntu are you using?

BeebBenjamin commented 6 years ago

Ubuntu 14.10 LTS. It shouldn't but it does.

anliec commented 5 years ago

Same for Ubuntu 18.04 LTS. It also remove couple of software like Blender, Shotwell, wine...

gonzalo commented 5 years ago

Finally I've removed the gphoto and libghoto uninstall and just override libraries if they are previously installed.