public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Destroying dependancies...
@ 2003-03-26  0:39 Per Wigren
  2003-03-26  1:04 ` Michael Taylor
                   ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: Per Wigren @ 2003-03-26  0:39 UTC (permalink / raw
  To: gentoo-dev

Yesterday, for about 30 hours all my newly recieved mail went to /dev/null 
because of a portage limitation...
I have an old computes which acts as a firewall/router, ftpserver webserver 
and mailserver with IMAP and spamassassin...  I have "mysql" in my USE-flags 
on said server..  Yesterday portage upgraded MySQL from 3.23.56 to 4.0.12..  
postfix and maildrop both linked to /usr/lib/libmysqlclient.so.10 which went 
away when MySQL was upgraded..  When the still running postfix delivered the 
mail using dropmail, dropmail just died with "error while loading shared 
libraries: no such file or directory" and for some reason (I'd call it a bug 
in postfix) it didn't defer them, they just went to /dev/null...
Anyway, I won't whine about it.. Instead I'm looking into finding a solution 
for the REAL problem... 

A solution I've been thinking about is this:

When a package is installed portage will run ldd on all binaries and libs and 
put its library-depends in a file in its /var/db/pkg-directory.

Later when a package is upgraded, it will scan the LIBDEPS-files for broken 
dependancies and tell the user something like:
* WARNING: The following packages needs to be reinstalled because of broken 
dependancies:
  * net-www/blabla
  * app-games/blablabla
  * media-video/blabla

And when a package is uninstalled with -C or --clean, it will scan the 
LIBDEPS-files for the libs it will remove and refuse to uninstall it if it 
breaks anything. Maybe with a warning like this:
* WARNING: dev-libs/libblablabla can't be uninstalled because the following 
packages depends on it:
  * net-www/blabla
  * app-games/blablabla
  * media-video/blabla
* use --force to uninstall it anyway.



Anyone have a better solution?

Regards,
Per Wigren

--
gentoo-dev@gentoo.org mailing list


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

end of thread, other threads:[~2003-03-28 23:17 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-26  0:39 [gentoo-dev] Destroying dependancies Per Wigren
2003-03-26  1:04 ` Michael Taylor
2003-03-26  8:40   ` Paul de Vrieze
     [not found] ` <20030326012253.GA25347@cherenkov.orbis-terrarum.net>
2003-03-26  1:43   ` Per Wigren
2003-03-26  2:51     ` [gentoo-dev] (Was: Destroying dependancies...) ewarn/einfo logging Robin H. Johnson
2003-03-26  9:12       ` Nick Jones
2003-03-26  9:39         ` Robin H. Johnson
2003-03-26 13:41         ` Peter Ruskin
2003-03-26 16:54           ` Re[2]: " Renat Golubchyk
2003-03-28 15:14 ` [gentoo-dev] Destroying dependancies Alain Penders
2003-03-28 16:54   ` Per Wigren
2003-03-28 18:12     ` Matt Tucker
2003-03-28 19:02       ` Per Wigren
2003-03-28 22:55     ` Robin H. Johnson
2003-03-28 23:07       ` Per Wigren

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