On 6/17/23 04:44, didier gaumet wrote:
Le 16/06/2023 à 20:32, gene heskett a écrit :
greetings, just had to reinstall bullseye. from an 11.2 netinstall.

Sudo -E cannot run synaptic, and cannot run it from menu pulldown after entering my pw. So what package manager with a gui for selection is compatible with wayland? Something I can get apt to install from a sudo -i shell?

Cheers, Gene Heskett.

Hello Gene,

- Nowadays for security reasons, it it discouraged to run an entire GUI application as root (like it is discouraged to launch X11 as root).  The present norm is more to have a selected elevation of privilges by a Polkit procedure (managed by the application), so the entire GUI application does not run as root, only the minimum parts of it that demand root privileges.

- I just tested in a virtualized Debian 12 (right now I am in a Fedora session): if your distro and Synaptic are correctly installed, when you launch Synaptic as an ordinary user, you will have to enter the root password.
So: forget sudo for lauching Synaptic

There is no "root" pw, I use sudo for everything that needs root. Selecting synaptic from the menu as me, sks for he pw, doesn't mention root requirement, and just goes away when I enter my sudo passwd. What does it take to make synaptic wok with sudo? Or, how do I get rid of wayland.?

Someone suggested apper but when apt is set to install it, it brings 164 other totally randomly named packages with it. From that screen:

The following NEW packages will be installed:
apper apper-data appstream apt-config-icons debconf-kde-data debconf-kde-helper kded5 kio kwayland-data kwayland-integration libappstreamqt2 libaribb24-0 libcddb2 libdbusmenu-qt5-2 libdebconf-kde1 libdouble-conversion3 libdvbpsi10 libebml5 libfam0 libgles2 libhfstospell11 libixml10 libkf5archive5 libkf5attica5 libkf5auth-data libkf5authcore5 libkf5codecs-data libkf5codecs5 libkf5completion-data libkf5completion5 libkf5config-bin libkf5config-data libkf5configcore5 libkf5configgui5 libkf5configwidgets-data libkf5configwidgets5 libkf5coreaddons-data libkf5coreaddons5 libkf5crash5 libkf5dbusaddons-bin libkf5dbusaddons-data libkf5dbusaddons5 libkf5doctools5 libkf5globalaccel-bin libkf5globalaccel-data libkf5globalaccel5 libkf5globalaccelprivate5 libkf5guiaddons5 libkf5i18n-data libkf5i18n5 libkf5iconthemes-bin libkf5iconthemes-data libkf5iconthemes5 libkf5idletime5 libkf5itemviews-data libkf5itemviews5 libkf5jobwidgets-data libkf5jobwidgets5 libkf5kiocore5 libkf5kiogui5 libkf5kiontlm5 libkf5kiowidgets5 libkf5notifications-data libkf5notifications5 libkf5service-bin libkf5service-data libkf5service5 libkf5solid5 libkf5solid5-data libkf5sonnet5-data libkf5sonnetcore5 libkf5sonnetui5 libkf5textwidgets-data libkf5textwidgets5 libkf5wallet-bin libkf5wallet-data libkf5wallet5 libkf5waylandclient5 libkf5widgetsaddons-data libkf5widgetsaddons5 libkf5windowsystem-data libkf5windowsystem5 libkf5xmlgui-bin libkf5xmlgui-data libkf5xmlgui5 libkwalletbackend5-5 libkworkspace5-5 liblua5.2-0 libmad0 libmatroska7 libmd4c0 libmtp-common libmtp-runtime libmtp9 libnfs13 libopenmpt-modplug1 libpackagekitqt5-1 libpcre2-16-0 libphonon4qt5-4 libphonon4qt5-data libplacebo72 libpolkit-qt5-1-1 libprotobuf-lite23 libproxy-tools libqt5core5a libqt5dbus5 libqt5designer5 libqt5gui5 libqt5help5 libqt5network5 libqt5printsupport5 libqt5qml5 libqt5qmlmodels5 libqt5quick5 libqt5sql5 libqt5sql5-sqlite libqt5svg5 libqt5test5 libqt5texttospeech5 libqt5waylandclient5 libqt5waylandcompositor5 libqt5widgets5 libqt5x11extras5 libqt5xml5 libqt5xmlpatterns5 libresid-builder0c2a libsdl-image1.2 libsdl1.2debian libsidplay2 libspatialaudio0 libupnp13 libva-wayland2 libvlc-bin libvlc5 libvlccore9 libvoikko1 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-render-util0 libxcb-res0 libxcb-xinerama0 libxcb-xinput0 libxcb-xkb1 libxcb-xv0 libxkbcommon-x11-0 media-player-info phonon4qt5 phonon4qt5-backend-vlc python3-distro-info python3-pyqt5 python3-pyqt5.sip python3-software-properties qt5-gtk-platformtheme qtspeech5-speechd-plugin qttranslations5-l10n qtwayland5 software-properties-common software-properties-kde sonnet-plugins unattended-upgrades vlc-data vlc-plugin-base vlc-plugin-video-output
0 upgraded, 164 newly installed, 0 to remove and 0 not upgraded.
Need to get 44.5 MB of archives.
After this operation, 206 MB of additional disk space will be used.
Do you want to continue? [Y/n] n

Surely a package manager can be written that can work with sudo and wayland if you are going to shove wayland down our throats. Or give us back the switch icon that used to be on the lightdm login box.

- As a GUI package manager, an alternative to Synaptic is Gnome-packagekit

This only drug in 7 more pieces, and it seems to work except the search is too literal, but it can be used, IF you use your imagination on the name shown in the menu.

Thank you Didier, this sure isn't synaptic but it is usable.

- if you want an even more user-friendly and guided approach, use an app store instead of a package manager: Gnome-software or Apper

I do use several AppImages because of debians glacial speed of updating software, so OpenSCAD, DigiKam, Cura and several other less often used apps are years out of date. And bugs don't get fixed, apparently ever. Like the udev bug where it generates /dev/serial/by-path, but not /dev/serial/by-id. That is a total show stopper for people with a 3d printer, and you've known about it for 6 months, but it is not yet fixed in bookworm. Maybe trixie? A 2 line fix in /etc/udev/rules.d/60-serial.rules that was somehow dropped 6 months+ ago. Is it available in backports for bullseye? Not listed if "packages" searches for backports.

Take care & stay well, Didier.

Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>

Reply via email to