> X) Downgrade stuff to recommends
> ================================
> I do not consider this a solution, for reasons explained elsewhere,
> where my main concern is that it breaks the assumption that installing a
> platform (in this case, gnome) will install the whole thing, and it will
> be available for my use at any time.
Well, it will, in all but unusual installations :)
> With recommends, there's a fair chance that a distinctly related package
> forces part of the platform off, and the package manager will happily
> remove them. Once the breakage is fixed, it will not reinstall them.
Could you please elaborate on that? The only thing I can think of that would force some packages to not be installed (or removed) is a Conflicts (or unsatisfiable Depends, but this shouldn't happen in stable).
With Recommends you get a simple prompt that a specific package will be uninstalled and comparing the descriptions will probably give a hint to any user that those packages might conflict (assuming they don't look at the Conflicts).
With Depends aptitude will suddenly want to remove a whole bunch of packages (that may or may not look related) and apt-get will suggest you to do this via autoremove. Then you have go hunting with apt-mark, yay!
> This can be worked around by removing the auto-installed flag from those
> parts of the platform that I want to keep at all times, but then what is
> the use of Recommends, when I have to cherry pick anyway? I could just
> skip installing the meta, the net effect is the same (except, that
> without the meta, there are no expectations to break).
Are you talking about testing or sid?
> I still don't see the problem with installing a subset by hand. Advanced
> users can script it, novices will only need to hand pick once. Done. 10
> minutes job.
IMO the main problem is:
# aptitude remove package
Following packages will be removed:
[Big list with 100+ packages]
> Compare that to the hours wasted trying to figure out what forced part
> of the platform off my system and when, during an unattended
> upgrade.. Yes, I do those, because I want to trust the system doing the
> right thing, and keeping stuff I installed intact and complete.
Sorry, I thought we were talking about stable, why would something like that happen.
> > Then some time later during upgrade it'll upgrade all packages
> > but will not install N-M; at the same time it'll install
> > new package that was added to Recommends in that new version.
> As far as I remember, it will not install new recommends.
> > It this correct description of apt behaviour, or have
> > I misunderstood something?
> More or less, except that to the best of my knowledge, it will not
> install new recommends on upgrade. And that makes sense, and is good so,
> otherwise it will attempt to install all recommends I explicitly did not
> install on each upgrade - no thanks. (Or we need to introduce yet
> another complexity into the system, to mark packages as
> not-to-install-ever. I doubt we have that now... but perhaps hold on an
> uninstalled package works that way? I don't know.)
> But, the problem I'm talking about is not related to this. The problem I
> see is when I have a gnome meta-package, that recommends, say,
> totem. Now, lets suppose I'm also running unstable, for one reason or
> the other, and a transition comes along, and something has a breaks on
> stuff totem depends on, and the package manager decides to remove totem.
> Weeks later, when I want to watch a movie, at the end of the world, with
> no network connectivify, I realize that something pulled my movie player
> out of me.
> I would be very, very sad.
> Of course, silly me, why do I run unstable? And why don't I pay
> attention to what my upgrades do? Well, I run unstable because I work
> with it, and it has up-to-date stuff I have to work with. And running
> unstable is far easier than running testing and cherry-picking (did I
> mention I hate manual bookkeeping?). I do unattended upgrades, because I
> trust the system to keep everything I installed, installed. I installed
> the gnome meta-package because I want the full thing, bells, whistles
> and crap included.
Sorry, but IMNSHO running sid with unattended upgrades just asks for trouble. But then again IANADD, if Debian wants to optimize for this use case who am I to disagree? :)
> I could, of course, mark totem manually installed, but then I'm back to
> manual bookkeeping, could've installed the whole stuff by cherry-picking
> each component, and that makes the meta-package useless for me, and
> destroys the argument that recommends would result in less bookkeeping.
> Thus, here's an example where Recommends *will break* an existing
> system.
> Oh, and since apt won't install new recommends on upgrade, to the best
> of my knowledge, I won't get totem back once the
> transition/breakage/whatever is fixed, either. While if it would be a
> dependency, the upgrade would abort, because it'd try to remove a
> package marked as manually installed.
> But similarly, if I ran stable, and one of the meta packages I installed
> had a recommends on a piece of software, and I try to install something
> that conflicts with it (either directly, or indirectly, via another meta
> package, for example), then this piece of software gets removed. I may
> or may not notice that - I might not even know wtf totem is, a novice
> user who first sees Linux certainly won't - so it gets removed.
Well, if the purpose of the Depends are to protect a novice from removing packages by mistake that surely a package manager offering to remove 100+ packages should definitely sound an alarm.
But with apt-get you will get only two packages uninstalled (the package with the conflict and the metapackage depending on it). The big surprise will come only later, when apt-get suddenly suggest you should run 'autoremove' to get rid of some 100+ packages that look like not needed anymore.
> It won't come back, unless I install it.
> As far as I'm concerned, this defeats the purpose of the meta-package,
> because it breaks my expectation that whatever else it pulls in, will
> stay there as long as the meta is installed.
Did you consider creating your own meta-package? It shouldn't take you more than 5 minutes to write an apt hook to get the control file and s/Recommends/Depends/
> Erm, how have I broken my system? I did not. (Turning Install-Recommends
> off is definitely not breaking my system, FYI.)
It means you are running with a non-default configuration and you should be aware of the side-effects.
The attitude that Recommends are not important is probably the reason why:
1. some Maintainers use Depends, where Recommends would be more appropriate
2. some Maintainers use Recommends, where Suggests would be more appropriate
Dear Maintainers,
Please don't forget that a Recommends will pull in packages in all but unusual installations :)
Therefor you may be bloating your user's computer needlessly and make it really hard for them to clean up afterwards (in case of circular Recommends packages will be kept installed even if marked as auto-installed).
On Tue, Jul 10, 2012 at 04:18:17PM +0200, Gergely Nagy wrote:
> "Eugene V. Lyubimkin" <jac...@debian.org> writes:
> > On 2012-07-10 15:32, Josselin Mouette wrote:
> >> Le mardi 10 juillet 2012 à 17:38 +0900, Miles Bader a écrit : > >> > What's wrong with Recommends: in that case? It seems to perfectly
> >> > match the "makes life easier for <common but not universal use-case
> >> > XXX>" scenario you describe.
> >> Recommends is wrong for metapackages because it gets upgrades very
> >> wrong. This is why it is used very marginally.
> > Standards should not depend on implementation details. I see zero
> > reasons why metapackages are (or should be) specific here. Whatever $it
> > that gets upgrades wrong should be fixed instead.
> But the purpose of the meta-package is to pull stuff in. Depends does
> that, Recommends does not, therefore Recommends is not appropriate for
> the task.
Of course it does. Five years ago, when apt didn't install recommends by
default, recommends might not have been appropriate, but these days it
is.
-- The volume of a pizza of thickness a and radius z can be described by
the following formula:
pi zz a
-- To UNSUBSCRIBE, email to debian-devel-REQU...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120713040331.GL2...@grep.be
> Instead of fighting for Recommends, which would break your system in
> various interesting ways later on[1], there's a third solution: noone
> stops anyone from uploading a gnome-minimal package, which depends on
> gnome-session and a few selected other parts, without n-m.
I would think it quite rude to trample on the gnome-* namespace unless
this is well coordinated with the GNOME packagers. If they're happy
with it, that's a different situation.
-- Tollef Fog Heen
UNIX is user friendly, it's just picky about who its friends are
-- To UNSUBSCRIBE, email to debian-devel-REQU...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87zk74i628....@xoog.err.no
Wouter Verhelst <wou...@debian.org> writes:
> On Tue, Jul 10, 2012 at 04:18:17PM +0200, Gergely Nagy wrote:
>> "Eugene V. Lyubimkin" <jac...@debian.org> writes:
>> > On 2012-07-10 15:32, Josselin Mouette wrote:
>> >> Le mardi 10 juillet 2012 à 17:38 +0900, Miles Bader a écrit : >> >> > What's wrong with Recommends: in that case? It seems to perfectly
>> >> > match the "makes life easier for <common but not universal use-case
>> >> > XXX>" scenario you describe.
>> >> Recommends is wrong for metapackages because it gets upgrades very
>> >> wrong. This is why it is used very marginally.
>> > Standards should not depend on implementation details. I see zero
>> > reasons why metapackages are (or should be) specific here. Whatever $it
>> > that gets upgrades wrong should be fixed instead.
>> But the purpose of the meta-package is to pull stuff in. Depends does
>> that, Recommends does not, therefore Recommends is not appropriate for
>> the task.
> Of course it does. Five years ago, when apt didn't install recommends by
> default, recommends might not have been appropriate, but these days it
> is.
Does it pull in recommends on upgrade? No? Just how useful are they
then, for following the changes in the meta?
Does Recommends guarantee that the platform will stay intact, unless I
explicitly remove a recommended package? No? That'll be fun! "I
installed gnome, but an upgrade wants to remove totem! What's up with
that??" Is no better than "I installed gnome, but an upgrade wants to
remove it altogether", except the former is more dangerous, as it wants
to remove a package you didn't install by hand, and may not know what it
does. For novice users, the former is far more dangerous, because they
may not know what the removed package is for. At least with Depends, the
same upgrade would want to remove the Gnome metapackage, and they'd know
what THAT is, and can stop the upgrade.
No, recommends are a terrible idea for meta-packages.
-- |8], who still doesn't like being CC'd on list mail.
-- To UNSUBSCRIBE, email to debian-devel-REQU...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87a9z4tcbd....@luthien.mhp
>> Instead of fighting for Recommends, which would break your system in
>> various interesting ways later on[1], there's a third solution: noone
>> stops anyone from uploading a gnome-minimal package, which depends on
>> gnome-session and a few selected other parts, without n-m.
> I would think it quite rude to trample on the gnome-* namespace unless
> this is well coordinated with the GNOME packagers. If they're happy
> with it, that's a different situation.
I agree. But from what I've seen so far, it seems to me that it would be
far easier to persuade the relevant people to accept a new meta, than to
downgrade anything to Recommends.
(Also a much better idea than Recommends :)
-- |8]
-- To UNSUBSCRIBE, email to debian-devel-REQU...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87629stc7k....@luthien.mhp
Andrei POPESCU <andreimpope...@gmail.com> writes:
> On Jo, 12 iul 12, 12:10:29, Gergely Nagy wrote:
>> Erm, how have I broken my system? I did not. (Turning Install-Recommends
>> off is definitely not breaking my system, FYI.)
> It means you are running with a non-default configuration and you should > be aware of the side-effects.
I am aware of side-effects, thank you. I turn it off because of the
side-effects. That does not make my system broken, however.
> Please don't forget that a Recommends will pull in packages in all but > unusual installations :)
But also keep in mind, that once a package is installed, adding new
recommends will not pull those new things in on an upgrade.
I do not think upgrade is an unusual situation, fwiw. For stable, it is,
for everything else, not so much. But half the arguments for Recommends
(with regards to meta-packages) are invalid for stable anyway.
The only valid argument for stable is that apt-get remove gnome will
want to remove a whole bunch of stuff. My counter argument is that doing
so is safer than screwing up the user's system.
-- |8]
-- To UNSUBSCRIBE, email to debian-devel-REQU...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87txxcrwu3....@luthien.mhp
Andrei POPESCU <andreimpope...@gmail.com> writes:
> On Jo, 12 iul 12, 15:46:05, Gergely Nagy wrote:
>> X) Downgrade stuff to recommends
>> ================================
>> I do not consider this a solution, for reasons explained elsewhere,
>> where my main concern is that it breaks the assumption that installing a
>> platform (in this case, gnome) will install the whole thing, and it will
>> be available for my use at any time.
> Well, it will, in all but unusual installations :)
No. See below.
>> With recommends, there's a fair chance that a distinctly related package
>> forces part of the platform off, and the package manager will happily
>> remove them. Once the breakage is fixed, it will not reinstall them.
> Could you please elaborate on that? The only thing I can think of that > would force some packages to not be installed (or removed) is a > Conflicts (or unsatisfiable Depends, but this shouldn't happen in > stable).
As far as stable is concerned, a conflict, yes. For unstable, where
package releations are more interesting, unsatisfiable Depends too.
> With Recommends you get a simple prompt that a specific package will be > uninstalled and comparing the descriptions will probably give a hint to > any user that those packages might conflict (assuming they don't look at > the Conflicts).
So, on each upgrade, the user would need to:
- Double guess the system, to not botch an upgrade
- Read N number of package descriptions to figure out wtf that thing it
wants to remove is.
How is that user friendly and good?
> With Depends aptitude will suddenly want to remove a whole bunch of > packages (that may or may not look related) and apt-get will suggest you > to do this via autoremove. Then you have go hunting with apt-mark,
> yay!
With Depends, I will instantly know something is botched. With
recommends, it will happily remove half the platform unless I stop it
manually. Which I most likely wont, as I'm doing unattended
upgrades. And I do unattended upgrades, because I trust the system to do
the right thing, and not remove stuff from under me that it should not.
I *hate* doing things manually, that's why I'm using a bloody high-level
package manager. If it forces me to double-guess it, check a lot of
things during upgrades, I might aswell go back to downloading packages
by hand and using dpkg directly myself.
>> This can be worked around by removing the auto-installed flag from those
>> parts of the platform that I want to keep at all times, but then what is
>> the use of Recommends, when I have to cherry pick anyway? I could just
>> skip installing the meta, the net effect is the same (except, that
>> without the meta, there are no expectations to break).
> Are you talking about testing or sid?
Either.
>> I still don't see the problem with installing a subset by hand. Advanced
>> users can script it, novices will only need to hand pick once. Done. 10
>> minutes job.
> IMO the main problem is:
> # aptitude remove package
> Following packages will be removed:
> [Big list with 100+ packages]
How is that better than:
# aptitude upgrade
Following packages will be removed:
[A list of 10+ packages you have no clue about]
A novice user will answer no to the former, and keep his system
intact. He will answer yes to the latter, because he never heard of
those packages before, and trusts the package manager to do the right
thing.
Hi, you have a broken system.
But, it can also happen when you remove a dependency of a recommended
package:
# aptitude remove dependency-of-a-recommended-package
[ List of 10+ packages you have no clue about ]
There goes your video player, your audio player and probably a bunch of
other things.
Unless the user double-checks what those 10+ packages are, which most
likely he won't.
>> Compare that to the hours wasted trying to figure out what forced part
>> of the platform off my system and when, during an unattended
>> upgrade.. Yes, I do those, because I want to trust the system doing the
>> right thing, and keeping stuff I installed intact and complete.
> Sorry, I thought we were talking about stable, why would something like > that happen.
If we're talking about stable only, there's even less reason for
Recommends.
-- |8]
-- To UNSUBSCRIBE, email to debian-devel-REQU...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87y5morx0a....@luthien.mhp
Gergely Nagy <alger...@madhouse-project.org> writes:
>> Please don't forget that a Recommends will pull in packages in all but >> unusual installations :)
> But also keep in mind, that once a package is installed, adding new
> recommends will not pull those new things in on an upgrade.
I've been corrected, that this statement is not valid, and a
dist-upgrade will pull them in. Sorry about that.
However, Recommends: will not keep them installed, so if the meta is a
platform, which should be intact and complete, recommends is still not
an option.
-- |8]
-- To UNSUBSCRIBE, email to debian-devel-REQU...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87liiorvax....@luthien.mhp
Andrei POPESCU <andreimpope...@gmail.com> writes:
> On Jo, 12 iul 12, 17:44:52, Gergely Nagy wrote:
>> > Then some time later during upgrade it'll upgrade all packages
>> > but will not install N-M; at the same time it'll install
>> > new package that was added to Recommends in that new version.
>> As far as I remember, it will not install new recommends.
>> But, the problem I'm talking about is not related to this. The problem I
>> see is when I have a gnome meta-package, that recommends, say,
>> totem. Now, lets suppose I'm also running unstable, for one reason or
>> the other, and a transition comes along, and something has a breaks on
>> stuff totem depends on, and the package manager decides to remove totem.
>> Weeks later, when I want to watch a movie, at the end of the world, with
>> no network connectivify, I realize that something pulled my movie player
>> out of me.
>> I would be very, very sad.
>> Of course, silly me, why do I run unstable? And why don't I pay
>> attention to what my upgrades do? Well, I run unstable because I work
>> with it, and it has up-to-date stuff I have to work with. And running
>> unstable is far easier than running testing and cherry-picking (did I
>> mention I hate manual bookkeeping?). I do unattended upgrades, because I
>> trust the system to keep everything I installed, installed. I installed
>> the gnome meta-package because I want the full thing, bells, whistles
>> and crap included.
> Sorry, but IMNSHO running sid with unattended upgrades just asks for > trouble. But then again IANADD, if Debian wants to optimize for this use > case who am I to disagree? :)
Similar issues can happen in stable, less often, and for different
reasons, but the possibility still exists.
Also - and this easily happens in stable too -, there's the problem of
trying to remove a dependency of a recommended package.
That will happily remove the recommended package, and keep the meta. A
user may or may not know what those strangely named packages that get
removed are, and making him look it up, and watch every upgrade like a
hawk isn't exactly friendly.
>> I could, of course, mark totem manually installed, but then I'm back to
>> manual bookkeeping, could've installed the whole stuff by cherry-picking
>> each component, and that makes the meta-package useless for me, and
>> destroys the argument that recommends would result in less bookkeeping.
>> Thus, here's an example where Recommends *will break* an existing
>> system.
>> Oh, and since apt won't install new recommends on upgrade, to the best
>> of my knowledge, I won't get totem back once the
>> transition/breakage/whatever is fixed, either. While if it would be a
>> dependency, the upgrade would abort, because it'd try to remove a
>> package marked as manually installed.
>> But similarly, if I ran stable, and one of the meta packages I installed
>> had a recommends on a piece of software, and I try to install something
>> that conflicts with it (either directly, or indirectly, via another meta
>> package, for example), then this piece of software gets removed. I may
>> or may not notice that - I might not even know wtf totem is, a novice
>> user who first sees Linux certainly won't - so it gets removed.
> Well, if the purpose of the Depends are to protect a novice from > removing packages by mistake that surely a package manager offering to > remove 100+ packages should definitely sound an alarm.
Yep, and it sounds an alarm: "do you want to remove all this stuff,
*including* the meta?"
Vs "do you want to remove 1/10 of that stuff, most of which you never
heard of so who cares?"
> But with apt-get you will get only two packages uninstalled (the package > with the conflict and the metapackage depending on it). The big surprise > will come only later, when apt-get suddenly suggest you should run > 'autoremove' to get rid of some 100+ packages that look like not needed > anymore.
Yes. But it's easier to notice the removal of gnome (and stop it), than
the removal of one of the components of the platform, of which one
possibly never even heard of before, just uses, as it's part of the
platform.
On one hand, you have, in the depends case:
# apt-get remove gstreamer-plugins-good
Which will try to remove the whole world, including the meta, and that
will ring alarm bells.
Or in the recommends case:
# apt-get remove gstreamer-plugin-good
Which will remove a bunch of stuff, but leave the meta installed.
In the latter case, you have gnome installed, without a video or audio
player. Gnome sucks.
Similarly, depends protects the novice from removing parts of the
platform, it provides a guaranteed set of packages. For the advanced,
there are ways around the Depends, easy ways. Recommends does not
protect the novice, and offers very little advantage for the advanced.
>> As far as I'm concerned, this defeats the purpose of the meta-package,
>> because it breaks my expectation that whatever else it pulls in, will
>> stay there as long as the meta is installed.
> Did you consider creating your own meta-package? It shouldn't take you > more than 5 minutes to write an apt hook to get the control file and > s/Recommends/Depends/
I did not, as the existing meta-package works exactly how it should, and
fulfills my expectations. If it bothers you so much, you can do the
s/Depends/Recommends/ too. ;)
-- |8]
-- To UNSUBSCRIBE, email to debian-devel-REQU...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87pq80rvix....@luthien.mhp
Jeremy Bicha <jbi...@ubuntu.com> writes:
> I don't claim to be a networking expert, but I believe half the
> conversation here is based on wrong or outdated information.
My (personal) complaint about NM is that it doesn't correct correctly
work with NFS mounts, I believe because it doesn't run at the right
time during bootup.
That's perhaps illustrative of more general practical and conceptual
issues with NM: it doesn't seem to be tested with much in the way of
non-standard setups, and in general seems to assume too many low-level
and central system tasks that arguably aren't appropriate for software
associated with a specific desktop (even if Gnome is installed on a
system to make some users happy, other users of the same system may
use some other desktop).
> GNOME considers NM to be part of GNOME Core, therefore gnome-core
> depends on it.
Debian need not slavishly follow how upstream thinks about things.
Plenty of upstreams have downright bizarre opinions about various
issues (often related to the not playing nice with others), but
nevertheless still make useful software. In such cases I think one of
the proper tasks of a distribution is to act as a buffer between
upstream and the users, installing the software in a way that works
well in the actual distribution, for actual users (as opposed to the
imaginary distribution and users upstream may be targeting).
Obviously this can be a lot of work, which is why it's generally a
good idea to defer to upstream's views when they are sane -- but that
isn't always the case...
-miles
-- Friendship, n. A ship big enough to carry two in fair weather, but only one
in foul.
-- To UNSUBSCRIBE, email to debian-devel-REQU...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87txxcp15z....@catnip.gol.com
Miles Bader <mi...@gnu.org> writes:
> issues with NM: it doesn't seem to be tested with much in the way of
> non-standard setups
My personal feeling is that this happens because people who use
non-standard setups usually start by purging NM instead of trying to
spend weeks reading the source code to contribute to it.
-- To UNSUBSCRIBE, email to debian-devel-REQU...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/84bojk3ybc....@sauna.l.org
Gergely Nagy <alger...@balabit.hu> writes:
> if upstream considers a package a core part of a platform,
> recommends *is* wrong.
Er, no.
Upstreams are not infallible, and are often quite fallible...
Upstream's "view" is a good _default_, but such judgements should be
made based on the reality on the ground.
-miles
-- Non-combatant, n. A dead Quaker.
-- To UNSUBSCRIBE, email to debian-devel-REQU...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87obnkp0sx....@catnip.gol.com
Le vendredi 13 juillet 2012 à 07:27 +0200, Tollef Fog Heen a écrit :
> ]] Gergely Nagy
> > Instead of fighting for Recommends, which would break your system in
> > various interesting ways later on[1], there's a third solution: noone
> > stops anyone from uploading a gnome-minimal package, which depends on
> > gnome-session and a few selected other parts, without n-m.
> I would think it quite rude to trample on the gnome-* namespace unless
> this is well coordinated with the GNOME packagers. If they're happy
> with it, that's a different situation.
FWIW, I’m not opposed to a new “gnome-minimal” metapackage if some
people deem it useful (although I remain unconvinced), but in the
meta-gnome3 source. I still don’t get what you would put in it except
gnome-session.
I’ve been seriously unimpressed by alternate metapackages effort such as
brdesktop-gnome, which always end up with obsolete or wrong
dependencies.
Miles Bader <mi...@gnu.org> writes:
> Gergely Nagy <alger...@balabit.hu> writes:
>> if upstream considers a package a core part of a platform,
>> recommends *is* wrong.
> Er, no.
> Upstreams are not infallible, and are often quite fallible...
> Upstream's "view" is a good _default_, but such judgements should be
> made based on the reality on the ground.
In that case, recommends still is wrong. Either split the package then
(and then both parties win), or drop a component completely (or demote
to suggests).
-- |8]
-- To UNSUBSCRIBE, email to debian-devel-REQU...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/874npc6ooa....@algernon.balabit
> >> The amount of extra work necessary is minimal though.
> > Not so minimal if you want your gnome set to be up to date, including new
> > applications being installed.
> It is very minimal. 5 minutes of work. Been there, done that, posted the
> bulk of the solution, and a general outline of the rest of it to this
> list, in this very thread, multiple times.
> Please take some time to read it. But alas, I'll make it easy for you:
> If you want to install a meta-package, but without one of its
> dependencies, and want to keep up to date with it too, so you get all
> the new stuff added to it, and you also want to be able to remove the
> whole thing with one swift sweep, here's what you do:
> - Grab the control file of the meta-package
> (~1 line in shell, use grep-aptavail)
> - Filter out unwanted packages from depends
> (~5-6 lines in shell)
> - Create a local package, under a different name, with the updated
> information
> (~10-20 lines, use equivs)
> === 5 minutes so far ===
> - Push it into a local repository
> (~2-3 lines, use whatever, reprepro, mini-dinstall, or cat <<EOF)
> - Put the local repo in sources.list
> - apt-get update & install your shiny new meta-package
> - Hook all that into Apt::Update::Post-invoke
> That's it. The whole thing is under a hundred lines, and easily doable
> within half an hour (for the record, I implemented all of the above this
> morning in 17 minutes while still half asleep).
That may be an easy work for you, a developer. Please, do not think about you being the centre of the Universe. A non-developer user (which may be a advanced networks operator, but no developer at all) should not need to grab the control file of the metapackage to avoid n-m messing with his carefully crafted bridges. And that's only step 1. Create a local package is out of scope for MOST Debian users, those for which we need to care. Not even talking about local repositories or hooking into package manager config.
I do not care if you could do it in 17 minutes each time you need it. I really bow to you for being able to do so. But I care for the thousands of Debian users who are not, and do not want to be, developers.
> If you want to be super-cool, create a sourcable config file that tells
> the generator script what packages to filter out from which metas. Pack
> it up, ship a deb, everyone's happy.
Same again. You may be happy, for a user this would be an Herculean task.
> Even better, here's an alternative solution:
> - Grab a list of unwanted packages
> - Create a dummy package with an epoch of 99, using the same name the
> unwanted packages.
> - Install them
> - Use the meta-package unmodified
> (Whole excercise doable in 10 minutes tops, including reading the equivs
> documentation.)
This is worse, since if anytime any other package relly depends on N-M it will fail due to your dummy package.
> All of that took a fraction of the time than arguing here on this list,
> about things that can already be solved *conveniently* by anyone caring
> enough, in multiple ways. Obviously, most people in this thread don't,
> as we'd already have a packaged solution if that weren't the case.
Would you be so kind to create and maintain a gnome-no-network-manager package (and a gnome-core-no-network-manager one) and update it everytime the "standard" ones changes dependencies? I would like to, but do not have the proficency needed.
> And since noone seems to have cared enough to come up with a solution
> that works for *everyone* (upstream, novice and advanced users alike,
> and maintainers too), can we drop the subject now?
Gnome packages with n-m as a Recommends works for everybody (including upstream, it is just that it does not make them happy):
-It works for maintainers: it is just a one-time work to move n-m from Depends to Recommends.
-It works for advanced users: a package in Recommends can be removed and it will not be installed again on the next Gnome upgrade, so they have the easy solution of just removing it if that fits them.
-It works for novice users: a package in Recommeds gets installed by default, so they will have their easy network managing applet.
-It works for upstream: they can continue developing Gnome without caring if Debian has N-M as a Recommends, a Depends or a Foo. Most bug reports will come through Debian Developers who can triage if N-M related. If they're not happy, not our task.
> > What we should do is to allow TWO levels of cherry-picking: the one for
> > advanced users who want to individually select every package, and the
> > other for users who want the whole set without a specific, molesting
> > package.
> We already have the first, it's called installing by hand. The second
> can easily be done, see above.
Agree with the first. About the second, your proposal does not meet the "easy" requirement for most users. Even if it does for you.
> > If that package is not a true dependency of the core of the set,
> > Recommends is more than justified.
> Upstream considers it a dependency in this case, part of a
> platform. If you don't want the full platform, don't install the full
> one, select the pieces you need - it is that easy.
> Similarly, if you don't want to install a full blown desktop system with
> a GUI, you don't select the desktop task when installing Debian. If you
> do want some little things later, you install those by hand.
It is not a mater of wanting "some little things". It is a matter of wanting the whole thing except a piece that messes the system configuration.
> In case of gnome, the package pulls together what upstream considers the
> GNOME platform - it is that simple. If you don't need it all, don't
> install it all. If you want to follow the platform, but skip parts of
> it, I already presented two solutions above.
Having it as a Recommends still pulls it together for most users, those who do not need it removed. Not so hard to understand. But for those users who a) do not want (or even can not have) N-M and b) are not developers, those you provided are not solutions.
On Viernes, 13 de julio de 2012 07:33:09 Gergely Nagy wrote:
[...]
> I *hate* doing things manually, that's why I'm using a bloody high-level
> package manager. If it forces me to double-guess it, check a lot of
> things during upgrades, I might aswell go back to downloading packages
> by hand and using dpkg directly myself.
I *hate* doing things manually, that's why I'm using a bloody high-level
metapackage. If it forces me to deinstall N-M by hand using --force-depends (because it breaks my Pidgin) every time I use aptitude to install something, either related or unrelated to Gnome, I might aswell go back to downloading packages by hand and using dpkg directly myself.
On Viernes, 13 de julio de 2012 08:38:47 Timo Juhani Lindfors wrote:
> Miles Bader <mi...@gnu.org> writes:
> > issues with NM: it doesn't seem to be tested with much in the way of
> > non-standard setups
> My personal feeling is that this happens because people who use
> non-standard setups usually start by purging NM instead of trying to
> spend weeks reading the source code to contribute to it.
And that's obvious: most users for which this happens are sysadmins, no programmers.
On Viernes, 13 de julio de 2012 08:05:10 Gergely Nagy wrote:
[...]
> On one hand, you have, in the depends case:
> # apt-get remove gstreamer-plugins-good
> Which will try to remove the whole world, including the meta, and that
> will ring alarm bells.
> Or in the recommends case:
> # apt-get remove gstreamer-plugin-good
> Which will remove a bunch of stuff, but leave the meta installed.
> In the latter case, you have gnome installed, without a video or audio
> player. Gnome sucks.
No. You have decided to remove gstreamer-plugins-good, so you should have a reason for that, and know why you issued such a command with such an strange-
named package. So you will not think "Gnome sucks because it does not play video". You will think "It is normal that Gnome does not play video using gstreamer, I decided to remove one of its components. Thanks god I installed Xine."
[...]
> > Did you consider creating your own meta-package? It shouldn't take you
> > more than 5 minutes to write an apt hook to get the control file and
> > s/Recommends/Depends/
> I did not, as the existing meta-package works exactly how it should, and
> fulfills my expectations. If it bothers you so much, you can do the
> s/Depends/Recommends/ too. ;)
We are discussing because it does NOT work exactly how it should: It is a meta-package for a desktop that messes up unrelated things (the network) that may be deemed critical for a system.
On Viernes, 13 de julio de 2012 09:38:45 Gergely Nagy wrote:
> Miles Bader <mi...@gnu.org> writes:
> > Gergely Nagy <alger...@balabit.hu> writes:
> >> if upstream considers a package a core part of a platform,
> >> recommends *is* wrong.
> > Er, no.
> > Upstreams are not infallible, and are often quite fallible...
> > Upstream's "view" is a good _default_, but such judgements should be
> > made based on the reality on the ground.
> In that case, recommends still is wrong. Either split the package then
> (and then both parties win), or drop a component completely (or demote
> to suggests).
That's being Manichaean. In between Depends and Suggests it exists a middle ground. Oh surprise, it is called Recommends.
On Viernes, 13 de julio de 2012 08:09:58 Gergely Nagy wrote:
> Gergely Nagy <alger...@madhouse-project.org> writes:
> >> Please don't forget that a Recommends will pull in packages in all but
> >> unusual installations :)
> > But also keep in mind, that once a package is installed, adding new
> > recommends will not pull those new things in on an upgrade.
> I've been corrected, that this statement is not valid, and a
> dist-upgrade will pull them in. Sorry about that.
> However, Recommends: will not keep them installed, so if the meta is a
> platform, which should be intact and complete, recommends is still not
> an option.
I want the FREEDOM of being able to remove pieces of that platform that are not critical to it. Recommends is THE optin for that.
Noel David Torres Taño <env...@rolamasao.org> writes:
> I *hate* doing things manually, that's why I'm using a bloody high-level
> metapackage. If it forces me to deinstall N-M by hand using
> --force-depends (because it breaks my Pidgin) every time I use aptitude
> to install something, either related or unrelated to Gnome, I might
> aswell go back to downloading packages by hand and using dpkg directly
> myself.
I would usually just install gnome-core once on a new system, unmarkauto
the leaf packages, and then purge gnome-core and network-manager.
Unfortunately, the drawback of that is that if gnome-core later adds new
packages, I don't pick them up by default.
I think the GNOME maintainers mentioned previously that they were fine
with there being a metapackage that was gnome-core but without
network-manager. They just didn't want to maintain it. While that's
going to be a very silly, tiny source package, maybe the easiest path
forward is for someone to volunteer to maintain that package in the
archive so that everyone else doesn't have to recreate the work using
equivs.
-- To UNSUBSCRIBE, email to debian-devel-REQU...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87r4sf8iv7....@windlord.stanford.edu
Adam Borowski writes ("Re: Recommends for metapackages"):
> On Wed, Jul 11, 2012 at 09:32:19PM -0600, Philipp Kern wrote:
> > On Wed, Jul 11, 2012 at 07:21:00PM +0100, Noel David Torres Taño wrote:
> > > Installing N-M breaks unrelated software.
> > No. At most it breaks *related* software.
> Exactly, that's why it's the "gnome-core" package that's RC-buggy, not
> network-manager. Unless someone thinks a desktop environment's core
> function is to mess with the network, that is.
I think this discussion became circular and repetitive and useless
quite some time ago.
It is plain that the gnome-core maintainers are not going to agree to
make this change. Therefore people who want the change made should
either (a) shut up and put up with the status quo (b) refer the matter
to the TC.
Ian.
-- To UNSUBSCRIBE, email to debian-devel-REQU...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20480.42452.712909.798...@chiark.greenend.org.uk
> Noel David Torres Ta o <env...@rolamasao.org> writes:
>> Not so minimal if you want your gnome set to be up to date, including new >> applications being installed.
> It is very minimal. 5 minutes of work. Been there, done that, posted the
> bulk of the solution, and a general outline of the rest of it to this
> list, in this very thread, multiple times.
> Please take some time to read it. But alas, I'll make it easy for you:
> If you want to install a meta-package, but without one of its
> dependencies, and want to keep up to date with it too, so you get all
> the new stuff added to it, and you also want to be able to remove the
> whole thing with one swift sweep, here's what you do:
> - Grab the control file of the meta-package
> (~1 line in shell, use grep-aptavail)
> - Filter out unwanted packages from depends
> (~5-6 lines in shell)
> - Create a local package, under a different name, with the updated
> information
> (~10-20 lines, use equivs)
> === 5 minutes so far ===
> - Push it into a local repository
> (~2-3 lines, use whatever, reprepro, mini-dinstall, or cat <<EOF)
> - Put the local repo in sources.list
> - apt-get update & install your shiny new meta-package
> - Hook all that into Apt::Update::Post-invoke
> That's it. The whole thing is under a hundred lines, and easily doable
> within half an hour (for the record, I implemented all of the above this
> morning in 17 minutes while still half asleep).
> If you want to be super-cool, create a sourcable config file that tells
> the generator script what packages to filter out from which metas. Pack
> it up, ship a deb, everyone's happy.
> Even better, here's an alternative solution:
> - Grab a list of unwanted packages
> - Create a dummy package with an epoch of 99, using the same name the
> unwanted packages.
> - Install them
> - Use the meta-package unmodified
> (Whole excercise doable in 10 minutes tops, including reading the equivs
> documentation.)
Do you really think these are reasonable solutions for your users? I am not
a Debian Developer, and following any of the above instructions would take
me several hours.
> All of that took a fraction of the time than arguing here on this list,
> about things that can already be solved *conveniently* by anyone caring
> enough, in multiple ways. Obviously, most people in this thread don't,
> as we'd already have a packaged solution if that weren't the case.
> And since noone seems to have cared enough to come up with a solution
> that works for *everyone* (upstream, novice and advanced users alike,
> and maintainers too), can we drop the subject now?
Recommends does work for everyone except you. The arguments against
recommends that you keep repeating appear to apply to a small subset of
developers running unstable and not the users of your stable packages. Who
are you developing for? Other packages use recommends without introducing
the problems you have mentioned. It sounds like you think recommends is
always useless and should never be used by any package.
<snip>
>> If that package is not a true dependency of the core of the set,
>> Recommends is more than justified.
> Upstream considers it a dependency in this case, part of a
> platform. If you don't want the full platform, don't install the full
> one, select the pieces you need - it is that easy.
If I wanted software exactly as released by upstream I wouldn't be using
Debian. I expect Debian fix the oddities that upstreams sometimes include
and make software work nicely together.
> In case of gnome, the package pulls together what upstream considers the
> GNOME platform - it is that simple.
That's what recommends does.
Roger
-- To UNSUBSCRIBE, email to debian-devel-REQU...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/njm6d9-ji2....@silverstone.rilynn.me.uk