On 6/16/23 17:49, Antonio Russo wrote:

On 2023-06-16 13:14, gene heskett wrote:
Has aptitude been tamed?

I've stayed away from it now for years because its torn the system down with 
its idea of dependencies, to doing a reinstall 4 times in the decade passed. I 
do not trust it at all, been burned to the ground too many times.  With apt, I 
was able to remove cups-browsed all by itself with apt so the brother factory 
drivers could actually run my pair of brother printers just now. I have serious 
doubts aptitude would have allowed that without nuking 300 other files too. 
Like the kernel thats running once.  That is not an ooops but nobody seemed to 
notice at the time. The arm version seems to be ok, but x86 stuff?

Cheers, Gene Heskett.


If anything gets even a tiny bit hairy, I work in aptitude. That said, I 
disabled
"automatically fix broken packages before installing or removing" under 
"dependency
handling" in options->preferences .  I always review what exactly is being done 
(in
those situations) by looking over what is expressed after hitting "g" and making
sure I'm happy with it.

I (personally) use this.  It's extremely powerful if used correctly, but can be
tricky.  Force a package installation by highlighting something and pressing 
"+".
You can mark things manually installed with "m" (and auto-installed/removable 
with
"M"). If things go south after one action, press "Control-u" to undo that. 
Things
can get tangled here, but you always see what happens before you do it!  You may
have to review suggested resolutions of things ("!" will apply the 
recommendation,
sometimes this does NOTHING, which is a little counter-intuitive at first).  Set
a package to be kept in the original state with ":", and force-hold to it's 
current
version (and pin it there) with "=".  Notice that ":" may still uninstall a 
package
if it is automatically installed and nothing depends on it (anymore)!

I just tried to get apper working, and could not get it to ask for authorization
through polkit.  That might be a trixie bug, a "I locked polkit down too tight"
bug, or a wayland bug.  If you *really* want a gui, I'd at least try apper. I
wasn't willing to try synaptic (GTK dependencies and all).

I have a ott session going but the response to tell apt to install apper is scary:

he 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]

I think no. 164 other dependencies?  Nyet.

I just got thru 5 installs of bullseye before I had it working again as I hadn't updated since bootworm was 3 or4 days away, and when I did update, it pulled in 39 pkgs mostly from security and destroyed my passwd. With no root pw as I do it all thru sudo, so it was hunt thru the midden heap and find an 11.2 netinstall dvd which I reset out of 4 times to disconnect stuff to protect it from an installer gone wild. As it was, I did lose the relatively unimportant stuff on a 500G samsung.

Paranoid about pkg managers? Justifiable so given the history here..

You might be able to get your Xwayland token to root, but I don't recommend
running root GUI applications.

Best,
Antonio
Thanks Antonio, take care & stay well.

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