juliank,
@juliank@mastodon.social avatar

I think the way we report dependencies during upgrades or installs is overwhelming users, it would be better to only show dependencies that involved a decision (decision other than current state).

Consider A depends B|C, B has depends D, E; C depends F.

We should format the solutions as A, B and 2 more dependencies
(instead of A,B,D,E)
A, C and 1 more dependencies
(instead of A,C)

Because the user cares about what choices the package manager made, not which libraries those choices need.

juliank,
@juliank@mastodon.social avatar

At the same time, we extent the prompt from yes/no to

yes/no/more details/different solution (y/n/m/d).

And also at that point allow you to add more constraints.

juliank,
@juliank@mastodon.social avatar

So you could add a constraint

d pulseaudio- pipewire+

to request a different solution that has pipewire instead of pulseaudio.

huggles,

@juliank it sounds like you could possibly take inspiration from Gentoo's USE flag system. It uses the USE environment variable to enable/disable compile time features. For an example

USE="-pulseaudio pipewire" emerge --ask www-client/firefox

https://wiki.gentoo.org/wiki/USE_flag

juliank,
@juliank@mastodon.social avatar

@huggles I tried adding install profiles like that so you could make dependencies optional but didn't get anywhere.

So the arguments are package names rather than profiles so this doesn't necessarily work if the package you want was just built with one backend.

The syntax for d is the same as for apt install, names of packages with modifiers. Reuse :D

huggles,

@juliank oh I see how it would work now. Thanks for the response and sorry for my ignorance. That's a very cool idea and would fix one of my main gripes with apt.

juliank,
@juliank@mastodon.social avatar

@huggles I mean you can already write apt install foo pulseaudio- to install foo with pulseaudio if possible. But obviously can't add positive hints, anything positive would be installed (just like any negative thing would get deinstalled if installed).

GyrosGeier,
@GyrosGeier@hachyderm.io avatar

@juliank yes, more aptitude features in plain apt!

juliank,
@juliank@mastodon.social avatar

@GyrosGeier I want to achieve parity with aptitude on the CLI, so that aptitude only has the ncurses interface to offer. So those are the gaps I identified:

  • more capable solver
  • interactive solving
  • apt why

And I think a couple patterns are still missing too.

juliank,
@juliank@mastodon.social avatar

@GyrosGeier Ah yes, the tracking of "new" packages and forbidden versions are also missing I suppose.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • DreamBathrooms
  • ngwrru68w68
  • modclub
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • InstantRegret
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • mdbf
  • GTA5RPClips
  • JUstTest
  • ethstaker
  • normalnudes
  • tester
  • osvaldo12
  • everett
  • cubers
  • tacticalgear
  • anitta
  • provamag3
  • Leos
  • cisconetworking
  • megavids
  • lostlight
  • All magazines