Re: [DNG] X11: safe to remove?

2020-10-04 Thread wirelessduck--- via Dng


> On 5 Oct 2020, at 04:23, tempforever via Dng  wrote:
> 
> Thanks for all of your responses.  I did successfully remove it, with no
> ill side effects to be seen so far.  In my particular case, I don't use
> java, or, apparently, other things that depended on X11.  Not sure it
> was actually necessary to remove (it wasn't) but at the very least I did
> free up a little bit of disk space.  :-)

If in doubt next time, you can pass the “-s” argument to apt/apt-get to 
simulate what would happen and which packages get removed without actually 
removing anything. You can then inspect the all packages to be removed to 
ensure you don’t need any of them. If all looks ok then you run the 
remove/purge again without “-s” to do the actual removal.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] X11: safe to remove?

2020-10-04 Thread tempforever via Dng
Thanks for all of your responses.  I did successfully remove it, with no
ill side effects to be seen so far.  In my particular case, I don't use
java, or, apparently, other things that depended on X11.  Not sure it
was actually necessary to remove (it wasn't) but at the very least I did
free up a little bit of disk space.  :-)


Rick Moen wrote:
> Quoting wirelessduck--- via Dng (dng@lists.dyne.org):
>>> On 3 Oct 2020, at 00:12, Dimitri Minaev via Dng  wrote:
>>
>>> Because of Swing, I suppose. Java allows one to create GUI apps,
>>> too.
>>
>> The headless jre package also has X11 dependencies.
> 
> Though I'm certainly aboard for avoiding and eliminating bloat, I'll 
> point out that running selected X11 executables from a headless host, 
> e.g., tunneled over 'ssh -Y' to a remote X server, is a very, very 
> standard use case.  This of course includes Java bytecode that makes
> X11 calls.
> 

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] X11: safe to remove?

2020-10-02 Thread Rick Moen
Quoting wirelessduck--- via Dng (dng@lists.dyne.org):
> > On 3 Oct 2020, at 00:12, Dimitri Minaev via Dng  wrote:
> 
> > Because of Swing, I suppose. Java allows one to create GUI apps,
> > too.
> 
> The headless jre package also has X11 dependencies.

Though I'm certainly aboard for avoiding and eliminating bloat, I'll 
point out that running selected X11 executables from a headless host, 
e.g., tunneled over 'ssh -Y' to a remote X server, is a very, very 
standard use case.  This of course includes Java bytecode that makes
X11 calls.

-- 
Cheers,   "2020 is pulling out more plot devices than 
Rick Moen a TV series on the brink of being canceled."
r...@linuxmafia.com  (Seen on Reddit, Oct. 2, 2020.)
McQ! (4x80)
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] X11: safe to remove?

2020-10-02 Thread wirelessduck--- via Dng


> On 3 Oct 2020, at 00:12, Dimitri Minaev via Dng  wrote:
> 
> 
> Because of Swing, I suppose. Java allows one to create GUI apps, too.

The headless jre package also has X11 dependencies.

> 
>> On Thu, Oct 1, 2020 at 6:38 AM Steve Litt  wrote:
>> On Tue, 29 Sep 2020 08:29:51 +0400
>> Dimitri Minaev via Dng  wrote:
>> 
>> > JVM often depends on X11 libs.
>> 
>> I wonder why.
>> 
>> SteveT
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] X11: safe to remove?

2020-10-02 Thread Dimitri Minaev via Dng
Because of Swing, I suppose. Java allows one to create GUI apps, too.

On Thu, Oct 1, 2020 at 6:38 AM Steve Litt  wrote:

> On Tue, 29 Sep 2020 08:29:51 +0400
> Dimitri Minaev via Dng  wrote:
>
> > JVM often depends on X11 libs.
>
> I wonder why.
>
> SteveT
>
> Steve Litt
> Autumn 2020 featured book: Thriving in Tough Times
> http://www.troubleshooters.com/thrive
> ___
> Dng mailing list
> Dng@lists.dyne.org
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
>


-- 
With best regards,
Dimitri Minaev
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] X11: safe to remove?

2020-09-30 Thread Steve Litt
On Tue, 29 Sep 2020 08:29:51 +0400
Dimitri Minaev via Dng  wrote:

> JVM often depends on X11 libs.

I wonder why.

SteveT

Steve Litt 
Autumn 2020 featured book: Thriving in Tough Times
http://www.troubleshooters.com/thrive
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] X11: safe to remove?

2020-09-29 Thread Dimitris via Dng
iirc (seen it in buster upgrades), pinentry-gtk2 / pinentry-gnome3 bring 
in xauth package, which brings in X11.
i would remove pinentry+xauth packages first, then X11 with autoremove - 
deborphan, and install pinentry-ncurses later, if needed..


2c,
d.


On 9/29/20 4:57 AM, tempforever via Dng wrote:

I manage a few remote servers that are running Devuan.  Recently (last
week) I noticed a couple updates to some x11 libraries.  I went ahead
and updated.  But now, I'm wondering if it's okay to remove them
altogether?  I do not use any graphical user interface on them.  I only
connect via ssh, and issue text-only commands.

I'm a little concerned about just removing these libraries though.  The
one in particular that I remembered updating was libx11-6.  Apparently
there is a bit of dependencies on it, and I don't want to break anything.

On beowulf:
# apt remove libx11-6
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer
required:
   fontconfig-config fonts-dejavu-core libdrm-amdgpu1 libdrm-common
libdrm-intel1 libdrm-nouveau2 libdrm-radeon1 libdrm2
   libfontconfig1 libfontenc1 libgl1-mesa-dri libglapi-mesa libglvnd0
libice6 libllvm7 libpciaccess0 libsm6 libx11-data libx11-xcb1
   libxau6 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-present0
libxcb-shape0 libxcb-sync1 libxcb1 libxdmcp6 libxshmfence1
   x11-common
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
   libgl1 libglew2.1 libglu1-mesa libglx-mesa0 libglx0 libx11-6 libxaw7
libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3
   libxft2 libxi6 libxinerama1 libxmu6 libxmuu1 libxpm4 libxrandr2
libxrender1 libxt6 libxtst6 libxv1 libxxf86dga1 libxxf86vm1
   mesa-utils x11-utils x11-xserver-utils xauth
0 upgraded, 0 newly installed, 29 to remove and 0 not upgraded.
After this operation, 8,081 kB disk space will be freed.
Do you want to continue? [Y/n] n

I don't think I should need any font or drm stuff.
On ascii, I get a much longer list:

# apt remove libx11-6
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer
required:
   dconf-gsettings-backend dconf-service fontconfig fontconfig-config
fonts-dejavu-core gconf-service gconf2-common glib-networking
   glib-networking-common glib-networking-services
gsettings-desktop-schemas hicolor-icon-theme libatk1.0-0 libatk1.0-data
   libavahi-client3 libavahi-common-data libavahi-common3 libblas-common
libblas3 libck-connector0 libcolord2 libcroco3 libcups2
   libdatrie1 libdconf1 libdrm-amdgpu1 libdrm-intel1 libdrm-nouveau2
libdrm-radeon1 libdrm2 libepoxy0 libfontconfig1 libfontenc1
   libgbm1 libgck-1-0 libgconf-2-4 libgcr-3-common libgcr-base-3-1
libgdk-pixbuf2.0-common libgfortran3 libgl1-mesa-dri libglapi-mesa
   libgnome-keyring-common libgnome-keyring0 libgraphite2-3
libgtk-3-common libgtk2.0-common libgtop-2.0-10 libgtop2-common
   libharfbuzz0b libice6 libjbig0 libjpeg62-turbo libjson-glib-1.0-0
libjson-glib-1.0-common liblapack3 liblcms2-2 libllvm3.9
   libpam-gnome-keyring libpango-1.0-0 libpangoft2-1.0-0 libpciaccess0
libpixman-1-0 libproxy1v5 libquadmath0 librest-0.7-0
   libsecret-1-0 libsecret-common libsm6 libsoup-gnome2.4-1 libsoup2.4-1
libthai-data libthai0 libtiff5 libtxc-dxtn-s2tc0
   libwayland-client0 libwayland-cursor0 libwayland-server0 libwebp6
libx11-data libx11-xcb1 libxau6 libxcb-dri2-0 libxcb-dri3-0
   libxcb-glx0 libxcb-present0 libxcb-render0 libxcb-shape0 libxcb-shm0
libxcb-sync1 libxcb-util0 libxcb-xfixes0 libxcb1 libxdmcp6
   libxkbcommon0 libxshmfence1 p11-kit p11-kit-modules python-numpy
x11-common xkb-data
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
   elogind libelogind0 libpam-elogind pinentry-curses python-urwid
wicd-curses
Suggested packages:
   pinentry-doc
Recommended packages:
   policykit-1
The following packages will be REMOVED:
   adwaita-icon-theme analog at-spi2-core consolekit dbus-x11 gconf2 gcr
gksu gnome-keyring gtk-update-icon-cache libatk-bridge2.0-0
   libatspi2.0-0 libcairo-gobject2 libcairo2 libegl1-mesa libgail-common
libgail18 libgcr-ui-3-1 libgd3 libgdk-pixbuf2.0-0 libgksu2-0
   libgl1-mesa-glx libglade2-0 libglew2.0 libglu1-mesa libgtk-3-0
libgtk-3-bin libgtk2.0-0 libgtk2.0-bin libnotify4
   libpam-ck-connector libpangocairo-1.0-0
libpolkit-backend-consolekit-1-0 libpolkit-gobject-1-0
libpolkit-gobject-consolekit-1-0
   librsvg2-2 librsvg2-common libstartup-notification0
libwayland-egl1-mesa libx11-6 libxaw7 libxcomposite1 libxcursor1 libxdamage1
   libxext6 libxfixes3 libxft2 libxi6 libxinerama1 libxmu6 libxmuu1
libxpm4 libxrandr2 libxrender1 libxt6 libxtst6 libxv1 libxxf86dga1
   libxxf86vm1 mesa-utils notification-daemon pinentry-gnome3
pinentry-gtk2 python-cairo python-glade2 python-gtk2 python-notify
   wicd-gtk x11-utils x11-xserver-utils xauth
The 

Re: [DNG] X11: safe to remove?

2020-09-28 Thread Dimitri Minaev via Dng
JVM often depends on X11 libs.

вт, 29 сент. 2020 г., 7:49 Gregory Nowak :

> On Mon, Sep 28, 2020 at 09:57:07PM -0400, tempforever via Dng wrote:
> > I manage a few remote servers that are running Devuan.  Recently (last
> > week) I noticed a couple updates to some x11 libraries.  I went ahead
> > and updated.  But now, I'm wondering if it's okay to remove them
> > altogether?  I do not use any graphical user interface on them.  I only
> > connect via ssh, and issue text-only commands.
>
> Looks to me like you'd be safe removing these packages. If you can
> take a backup beforehand, I'd suggest doing that to be extra safe, but
> I don't think you need these if the machine is a text console only
> server.
>
> Greg
>
>
> --
> web site: http://www.gregn.net
> gpg public key: http://www.gregn.net/pubkey.asc
> skype: gregn1
> (authorization required, add me to your contacts list first)
> If we haven't been in touch before, e-mail me before adding me to your
> contacts.
>
> --
> Free domains: http://www.eu.org/ or mail dns-mana...@eu.org
> ___
> Dng mailing list
> Dng@lists.dyne.org
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
>
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] X11: safe to remove?

2020-09-28 Thread Gregory Nowak
On Mon, Sep 28, 2020 at 09:57:07PM -0400, tempforever via Dng wrote:
> I manage a few remote servers that are running Devuan.  Recently (last
> week) I noticed a couple updates to some x11 libraries.  I went ahead
> and updated.  But now, I'm wondering if it's okay to remove them
> altogether?  I do not use any graphical user interface on them.  I only
> connect via ssh, and issue text-only commands.

Looks to me like you'd be safe removing these packages. If you can
take a backup beforehand, I'd suggest doing that to be extra safe, but
I don't think you need these if the machine is a text console only
server.

Greg


-- 
web site: http://www.gregn.net
gpg public key: http://www.gregn.net/pubkey.asc
skype: gregn1
(authorization required, add me to your contacts list first)
If we haven't been in touch before, e-mail me before adding me to your contacts.

--
Free domains: http://www.eu.org/ or mail dns-mana...@eu.org
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


[DNG] X11: safe to remove?

2020-09-28 Thread tempforever via Dng
I manage a few remote servers that are running Devuan.  Recently (last
week) I noticed a couple updates to some x11 libraries.  I went ahead
and updated.  But now, I'm wondering if it's okay to remove them
altogether?  I do not use any graphical user interface on them.  I only
connect via ssh, and issue text-only commands.

I'm a little concerned about just removing these libraries though.  The
one in particular that I remembered updating was libx11-6.  Apparently
there is a bit of dependencies on it, and I don't want to break anything.

On beowulf:
# apt remove libx11-6
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer
required:
  fontconfig-config fonts-dejavu-core libdrm-amdgpu1 libdrm-common
libdrm-intel1 libdrm-nouveau2 libdrm-radeon1 libdrm2
  libfontconfig1 libfontenc1 libgl1-mesa-dri libglapi-mesa libglvnd0
libice6 libllvm7 libpciaccess0 libsm6 libx11-data libx11-xcb1
  libxau6 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-present0
libxcb-shape0 libxcb-sync1 libxcb1 libxdmcp6 libxshmfence1
  x11-common
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
  libgl1 libglew2.1 libglu1-mesa libglx-mesa0 libglx0 libx11-6 libxaw7
libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3
  libxft2 libxi6 libxinerama1 libxmu6 libxmuu1 libxpm4 libxrandr2
libxrender1 libxt6 libxtst6 libxv1 libxxf86dga1 libxxf86vm1
  mesa-utils x11-utils x11-xserver-utils xauth
0 upgraded, 0 newly installed, 29 to remove and 0 not upgraded.
After this operation, 8,081 kB disk space will be freed.
Do you want to continue? [Y/n] n

I don't think I should need any font or drm stuff.
On ascii, I get a much longer list:

# apt remove libx11-6
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer
required:
  dconf-gsettings-backend dconf-service fontconfig fontconfig-config
fonts-dejavu-core gconf-service gconf2-common glib-networking
  glib-networking-common glib-networking-services
gsettings-desktop-schemas hicolor-icon-theme libatk1.0-0 libatk1.0-data
  libavahi-client3 libavahi-common-data libavahi-common3 libblas-common
libblas3 libck-connector0 libcolord2 libcroco3 libcups2
  libdatrie1 libdconf1 libdrm-amdgpu1 libdrm-intel1 libdrm-nouveau2
libdrm-radeon1 libdrm2 libepoxy0 libfontconfig1 libfontenc1
  libgbm1 libgck-1-0 libgconf-2-4 libgcr-3-common libgcr-base-3-1
libgdk-pixbuf2.0-common libgfortran3 libgl1-mesa-dri libglapi-mesa
  libgnome-keyring-common libgnome-keyring0 libgraphite2-3
libgtk-3-common libgtk2.0-common libgtop-2.0-10 libgtop2-common
  libharfbuzz0b libice6 libjbig0 libjpeg62-turbo libjson-glib-1.0-0
libjson-glib-1.0-common liblapack3 liblcms2-2 libllvm3.9
  libpam-gnome-keyring libpango-1.0-0 libpangoft2-1.0-0 libpciaccess0
libpixman-1-0 libproxy1v5 libquadmath0 librest-0.7-0
  libsecret-1-0 libsecret-common libsm6 libsoup-gnome2.4-1 libsoup2.4-1
libthai-data libthai0 libtiff5 libtxc-dxtn-s2tc0
  libwayland-client0 libwayland-cursor0 libwayland-server0 libwebp6
libx11-data libx11-xcb1 libxau6 libxcb-dri2-0 libxcb-dri3-0
  libxcb-glx0 libxcb-present0 libxcb-render0 libxcb-shape0 libxcb-shm0
libxcb-sync1 libxcb-util0 libxcb-xfixes0 libxcb1 libxdmcp6
  libxkbcommon0 libxshmfence1 p11-kit p11-kit-modules python-numpy
x11-common xkb-data
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
  elogind libelogind0 libpam-elogind pinentry-curses python-urwid
wicd-curses
Suggested packages:
  pinentry-doc
Recommended packages:
  policykit-1
The following packages will be REMOVED:
  adwaita-icon-theme analog at-spi2-core consolekit dbus-x11 gconf2 gcr
gksu gnome-keyring gtk-update-icon-cache libatk-bridge2.0-0
  libatspi2.0-0 libcairo-gobject2 libcairo2 libegl1-mesa libgail-common
libgail18 libgcr-ui-3-1 libgd3 libgdk-pixbuf2.0-0 libgksu2-0
  libgl1-mesa-glx libglade2-0 libglew2.0 libglu1-mesa libgtk-3-0
libgtk-3-bin libgtk2.0-0 libgtk2.0-bin libnotify4
  libpam-ck-connector libpangocairo-1.0-0
libpolkit-backend-consolekit-1-0 libpolkit-gobject-1-0
libpolkit-gobject-consolekit-1-0
  librsvg2-2 librsvg2-common libstartup-notification0
libwayland-egl1-mesa libx11-6 libxaw7 libxcomposite1 libxcursor1 libxdamage1
  libxext6 libxfixes3 libxft2 libxi6 libxinerama1 libxmu6 libxmuu1
libxpm4 libxrandr2 libxrender1 libxt6 libxtst6 libxv1 libxxf86dga1
  libxxf86vm1 mesa-utils notification-daemon pinentry-gnome3
pinentry-gtk2 python-cairo python-glade2 python-gtk2 python-notify
  wicd-gtk x11-utils x11-xserver-utils xauth
The following NEW packages will be installed:
  elogind libelogind0 libpam-elogind pinentry-curses python-urwid
wicd-curses
0 upgraded, 6 newly installed, 71 to remove and 0 not upgraded.
Need to get 1,632 kB of archives.
After this operation, 68.8 MB disk space will be freed.
Do you want to continue? [Y/n] n


If it were something local