Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#469139: apt-listchanges and DB_RUNRECOVERY

10 views
Skip to first unread message

Daniel Jacobowitz

unread,
Mar 3, 2008, 9:50:14 AM3/3/08
to
This happened to me too during today's dist-upgrade. Also on amd64.

--
Daniel Jacobowitz
CodeSourcery

--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Clint Adams

unread,
Mar 3, 2008, 10:00:15 AM3/3/08
to
On Mon, Mar 03, 2008 at 09:40:27AM -0500, Daniel Jacobowitz wrote:
> This happened to me too during today's dist-upgrade. Also on amd64.

What changed?

Daniel Jacobowitz

unread,
Mar 3, 2008, 10:20:15 AM3/3/08
to
On Mon, Mar 03, 2008 at 09:52:02AM -0500, Clint Adams wrote:
> On Mon, Mar 03, 2008 at 09:40:27AM -0500, Daniel Jacobowitz wrote:
> > This happened to me too during today's dist-upgrade. Also on amd64.
>
> What changed?

I hadn't upgraded since Feb. 21st. apt-listchanges did not change;
neither did any version of libdb.

2008-03-03 09:07:02 upgrade python2.4 2.4.4-7 2.4.4-8

2008-03-03 09:16:41 upgrade python2.5 2.5.1-7 2.5.2-1

/usr/bin/python points to python2.4.

Hmm:

* Build-depend on libdb4.5-dev on all architectures; 4.6 is seriously
broken when used with the _bsddb extension.

Does this mean Python downgraded from 4.6 to 4.5? Will that prevent
4.5 from opening databases?

--
Daniel Jacobowitz
CodeSourcery

Matthias Klose

unread,
Mar 3, 2008, 10:30:22 AM3/3/08
to
Daniel Jacobowitz writes:
> On Mon, Mar 03, 2008 at 09:52:02AM -0500, Clint Adams wrote:
> > On Mon, Mar 03, 2008 at 09:40:27AM -0500, Daniel Jacobowitz wrote:
> > > This happened to me too during today's dist-upgrade. Also on amd64.
> >
> > What changed?
>
> I hadn't upgraded since Feb. 21st. apt-listchanges did not change;
> neither did any version of libdb.
>
> 2008-03-03 09:07:02 upgrade python2.4 2.4.4-7 2.4.4-8
>
> 2008-03-03 09:16:41 upgrade python2.5 2.5.1-7 2.5.2-1
>
> /usr/bin/python points to python2.4.
>
> Hmm:
>
> * Build-depend on libdb4.5-dev on all architectures; 4.6 is seriously
> broken when used with the _bsddb extension.
>
> Does this mean Python downgraded from 4.6 to 4.5?

yes, this was recommended by upstream; tests on the buildbots do show
crashes running the testsuite.

> Will that prevent 4.5 from opening databases?

So can you rebuild the database using the db4.x utilities?

Matthias

Daniel Jacobowitz

unread,
Mar 3, 2008, 10:40:11 AM3/3/08
to
On Mon, Mar 03, 2008 at 04:15:42PM +0100, Matthias Klose wrote:
> > Will that prevent 4.5 from opening databases?
>
> So can you rebuild the database using the db4.x utilities?

Yes, that works.

--
Daniel Jacobowitz
CodeSourcery

Vincent Lefevre

unread,
Mar 5, 2008, 8:40:11 AM3/5/08
to
On 2008-03-03 10:27:17 -0500, Daniel Jacobowitz wrote:
> On Mon, Mar 03, 2008 at 04:15:42PM +0100, Matthias Klose wrote:
> > So can you rebuild the database using the db4.x utilities?
>
> Yes, that works.

Here too. What to do wasn't clear, so:

# db4.6_dump /var/lib/apt/listchanges.db > db.dump
# rm /var/lib/apt/listchanges.db
# db4.5_load /var/lib/apt/listchanges.db < db.dump

--
Vincent Lefèvre <vin...@vinc17.org> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)

Florian Weimer

unread,
Mar 9, 2008, 6:30:14 AM3/9/08
to
* Vincent Lefevre:

> On 2008-03-03 10:27:17 -0500, Daniel Jacobowitz wrote:
>> On Mon, Mar 03, 2008 at 04:15:42PM +0100, Matthias Klose wrote:
>> > So can you rebuild the database using the db4.x utilities?
>>
>> Yes, that works.
>
> Here too. What to do wasn't clear, so:
>
> # db4.6_dump /var/lib/apt/listchanges.db > db.dump
> # rm /var/lib/apt/listchanges.db
> # db4.5_load /var/lib/apt/listchanges.db < db.dump

Uh-oh:

listchanges.db: Berkeley DB (Hash, version 8, native byte-order)

Why on earth is apt-listchanges using the Hash access method, and not
B-trees? Is this some Python default? That really needs to be fixed,
then.

0 new messages