Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 181841 - sys-libs/db - and upgrade info to pkg_postinst
Summary: sys-libs/db - and upgrade info to pkg_postinst
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Carsten Lohrke (RETIRED)
URL:
Whiteboard:
Keywords:
: 212422 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-06-12 22:54 UTC by Carsten Lohrke (RETIRED)
Modified: 2008-09-12 23:03 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Carsten Lohrke (RETIRED) gentoo-dev 2007-06-12 22:54:05 UTC
I think it wouldn't be bad to point to /usr/share/doc/${PF}/html/ref/upgrade/process.html respective http://www.oracle.com/technology/documentation/berkeley-db/db/ref/upgrade/process.html, depending, if the doc use flag is set or not. Please do so or drop a line, if you want me to do it.
Comment 1 Caleb Tennis (RETIRED) gentoo-dev 2007-08-12 19:41:27 UTC
feel free to add what you would like to see.
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2008-08-16 23:02:08 UTC
carlo: it should probably be added to the package that is changing between slots of berkdb.

If you still want it, go ahead and add it yourself.
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2008-08-16 23:03:33 UTC
*** Bug 212422 has been marked as a duplicate of this bug. ***
Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2008-09-09 05:54:22 UTC
No response from carlo.

It does need to be on the actual app, because berkdb dump+restore isn't valid in many cases anyway (need to use the app-specific dump/restore because of key issues). Or just keep the app linked to the same slot of DB.
Comment 5 Carsten Lohrke (RETIRED) gentoo-dev 2008-09-12 23:03:56 UTC
(In reply to comment #4)
> No response from carlo.

Yeah - sorry - I tend to loose track of my bugs, unfortunately.
 
> It does need to be on the actual app, because berkdb dump+restore isn't valid
> in many cases anyway (need to use the app-specific dump/restore because of key
> issues). Or just keep the app linked to the same slot of DB.

Right, it's not a solution, but raises awareness. Iirc I opened the bug because of a forums post, seeing someone struggling with bdb updates and not understanding that his db's wouldn't be updated transparently. Your last sentence implies to keep n++ bdb versions forever... :/ Also Portage's current  --depclean functionality stupidly only keeps the latest slot, so it's likely users get bitten.