public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] pkg_rm_pretend?
@ 2017-10-11 16:20 Kent Fredric
  2017-10-11 16:44 ` Michael Orlitzky
  2017-10-12  7:50 ` [gentoo-dev] pkg_rm_pretend? Duncan
  0 siblings, 2 replies; 6+ messages in thread
From: Kent Fredric @ 2017-10-11 16:20 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 1320 bytes --]

TL;DR: It would be very nice if when I did:

  emerge --depclean -va 

That important packages like say, Postgres could go "hey, that's ...
probably gonna break things, you haven't migrated, are you sure?"

Seeing notices *after* removing postgres that my system is now broken is not too inspiring.

In part, because you *CANT* perform a postgres migration after you remove the old version:

1. You can't stop the old service, because the init script is gone.
2. pg_upgrade doesn't work, because there's no binaries in the path passed to '-b' , as per:

https://wiki.gentoo.org/wiki/PostgreSQL/QuickStart#Migrating_PostgreSQL

This is especially annoying as:

1. Its very easy to overlook one package in a 400 package depclean notice. ...
2. Its not that postgres is no longer in world, but it got upgraded,
and you all know what that means when *slots* are involved.

Now imagine where I'd be if the version of postgres I just removed, I
had no way of reinstalling.

Related:

It would also be nice if pkg_pretend ( or something like it ) happened *BEFORE* offering the [Y/N]
prompt with `emerge -va `, not, as it currently does, wait until after
you press "y" to execute those checks.

Being able to generate notices, but not producing them until after you approve emerge is just daft.

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-10-15  4:31 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-11 16:20 [gentoo-dev] pkg_rm_pretend? Kent Fredric
2017-10-11 16:44 ` Michael Orlitzky
2017-10-12  7:50 ` [gentoo-dev] pkg_rm_pretend? Duncan
2017-10-14 17:36   ` Kent Fredric
2017-10-15  4:17     ` Duncan
2017-10-15  4:31       ` Kent Fredric

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox