FS#9267 - Inconsistency in mkarchroot/makechrootpkg package db
Attached to Project:
Pacman
Opened by Jaroslaw Swierczynski (swiergot) - Saturday, 19 January 2008, 20:54 GMT
Last edited by Dan McGee (toofishes) - Thursday, 07 February 2008, 04:40 GMT
Opened by Jaroslaw Swierczynski (swiergot) - Saturday, 19 January 2008, 20:54 GMT
Last edited by Dan McGee (toofishes) - Thursday, 07 February 2008, 04:40 GMT
|
Details
Let's assume we create a chroot with base and base-devel
groups. Then we use makechrootpkg to build a package that
depends on not installed package so this package gets
installed in the union fs. Then, trying to update the
chroot, pacman doesn't see any package that was installed by
makechrootpkg.
I've stumbled upon this situation with qt. I changed a dependency of a package from qt to qt3 and wanted to rebuild it, makechrootpkg tried to install qt3 but it got file-exists-in-filesystem errors (of course prior 'mkarchroot -u' didn't replace qt with qt3 as it didn't see it installed). A possible solution would be to create union fs in mkarchroot instead of makechrootpkg. I'd be happy to provide a patch but right now I don't have time. I'll do it next week unless someone does it first. |
This task depends upon
Closed by Dan McGee (toofishes)
Thursday, 07 February 2008, 04:40 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in devtools-0.5. Please file any bug reports one per report, I think everything here was fixed.
Thursday, 07 February 2008, 04:40 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in devtools-0.5. Please file any bug reports one per report, I think everything here was fixed.
clean_first=""
should be:
clean_first="0"
and:
cp "$basef" "$uniondir/build/"
should be:
cp "$basef" "$uniondir/srcdest/"
Regarding the other bugs here, could we please keep one bug report per bug, I have too much to organize as is, and adding in "oh yeah there's two more bugs in the comments here" is just asking for trouble.
http://code.phraktured.net/?p=devtools.git;a=commitdiff;h=912fe3dcd1f9acead96ad8edf3d848bc30f21ba0