Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 84137 (n)

Summary: dpkg-1.10.26 does not work
Product: Gentoo Linux Reporter: Jason Wever (RETIRED) <weeve>
Component: Current packagesAssignee: Heinrich Wendel (RETIRED) <lanius>
Status: RESOLVED FIXED    
Severity: normal CC: sparc
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: dpkg-files

Description Jason Wever (RETIRED) gentoo-dev 2005-03-04 16:41:21 UTC
dpkg-1.10.26 currently does not work because it depends on a few directory structures (/usr/lib/db and /usr/local/lib/dpkg/methods/ for example) and possible files (I gave up searching for all the missing pieces) Short of navigating dselect's menu, I could not get dselect nor dpkg to perform any of the package management functions they are supposed to be able to do.

Please update this package so that it works correctly "out of the box", either by adding additional dependencies or adjusting the ebuild so that everything dpkg, dselect and the other utilities the app-arch/dpkg-1.10.26 package provide work correctly.
Comment 1 Heinrich Wendel (RETIRED) gentoo-dev 2005-03-05 03:46:09 UTC
please provide an example for an error, /usr/lib/db and /usr/lib/dpkg/methods exists here
Comment 2 Jason Wever (RETIRED) gentoo-dev 2005-03-05 08:46:09 UTC
If you do a qpkg -f on those directories, what package owns them?
Comment 3 Heinrich Wendel (RETIRED) gentoo-dev 2005-03-05 09:36:06 UTC
Created attachment 52731 [details]
dpkg-files

`equery files dpkg`
Comment 4 Jason Wever (RETIRED) gentoo-dev 2005-03-06 10:28:33 UTC
Here are some of the errors I'm running into (focused around dselect);


1) Launch dselect via the "dselect" command as root

2) Choose CDROM access method from the "Access" menu option

3) Get the error "
/usr/lib/dpkg/methods/disk/setup: line 8: cd: /usr/lib/db/methods/disk: No such file or directory

query/setup script returned error exit status 1.
Press <enter> to continue."

4) This shows up for every Access type other than floppy, which shows "/usr/lib/dpkg/methods/floppy/setup: line 8: cd: /usr/lib/db/methods/floppy: No such file or directory

query/setup script returned error exit status 1.
Press <enter> to continue."

5) The "Select" menu option makes dselect error out with the error message "dselect: failed to open package info file `/usr/lib/db/status' for reading: No such file or directory"

6) Selecting the "Configure" menu option results in the error "running dpkg --pending --configure ...
dpkg: failed to open package info file `/usr/lib/db/status' for reading: No such file or directory

dpkg --configure returned error exit status 2.
Press <enter> to continue."

7) Selecting the "Remove" menu option results in the error "running dpkg --pending --remove ...
dpkg: failed to open package info file `/usr/lib/db/status' for reading: No such file or directory

dpkg --remove returned error exit status 2.
Press <enter> to continue."

8) Quit however, does work normally.
Comment 5 Heinrich Wendel (RETIRED) gentoo-dev 2005-03-25 04:13:51 UTC
Sorry for the delay. 

1.) Access works fine here.
2.) All others fail with the same error "/usr/lib/db/status", this is because there is no package in the list

So the problem is 1.) does /usr/lib/db/methods exist for you?
Comment 6 Heinrich Wendel (RETIRED) gentoo-dev 2005-03-25 04:45:09 UTC
ok, those directories are removed on an upgrade because they are empty, i added a keepdir now