Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 444712 - app-arch/dpkg creates incorrect directory /var/lib/lib/dpkg
Summary: app-arch/dpkg creates incorrect directory /var/lib/lib/dpkg
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Debian-related package maintainers [DISBANDED]
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2012-11-25 17:35 UTC by Matthew Schultz
Modified: 2012-11-26 12:23 UTC (History)
0 users

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


Attachments
dpkg.ebuild.patch (dpkg.ebuild.patch,231 bytes, patch)
2012-11-25 18:01 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew Schultz 2012-11-25 17:35:34 UTC
The proper path for these files in dpkg should be in /var/lib/dpkg:

alternatives
info
parts
updates

Reproducible: Always

Steps to Reproduce:
equery f dpkg
Actual Results:  
...

/var/lib/lib
/var/lib/lib/dpkg
/var/lib/lib/dpkg/alternatives
/var/lib/lib/dpkg/info
/var/lib/lib/dpkg/parts
/var/lib/lib/dpkg/updates

Expected Results:  
...

/var/lib
/var/lib/dpkg
/var/lib/dpkg/alternatives
/var/lib/dpkg/info
/var/lib/dpkg/parts
/var/lib/dpkg/updates

Both 1.16.8 and 1.16.9 improperly install these files.
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2012-11-25 18:01:29 UTC
Created attachment 330552 [details, diff]
dpkg.ebuild.patch

Possible fix.
Comment 2 Matthew Schultz 2012-11-26 03:45:44 UTC
I confirmed the posted patch fixes it.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2012-11-26 12:23:26 UTC
Thanks for reporting and for the patch. Fixed in 1.16.9 which ought to go stable shortly.