Re: Problems adding some packages to ISO
Ben <[email protected]> Wed, 24 Jan 2007 20:08:36 -0600
| Newsgroups | gmane.os.freebsd.freesbie |
|---|---|
| Message-ID | <[email protected]> |
Dario Freni wrote: > > On 24/gen/07, at 17:24, Ben wrote: > >> Koen Martens wrote: >>> Ben wrote: >>> >>>> Ben wrote: >>>> >>>>> I have attached my build info, including a view of pkg_info.txt, >>>>> which >>>>> shows that 51 packages appear to be added to the ISO but only 34 >>>>> packages are listed in pkg_info.txt. >>>>> >>>>> Any help would be greatly appreciated. >>>>> >>>>> Ben >>>>> >>>> Any updates on this? I just tried updating my sources and applying >>>> Koen >>>> Marten's patch from this morning but still had problems with the >>>> proper >>>> packages being added to the ISO. >>>> >>> >>> Did you try the same thing I tried: sprinkle some echo statements >>> around in the pkginstall script. Start by catting input and output >>> of each of the three functions, to zoom in which function 'looses' >>> the package. Then you can put more detailled echo's and/or analyze >>> the code of the function that is the culprit. >>> >>> Gr, >>> >>> Koen >>> >> I'm sorry for continuing this thread, I wonder if anyone is still >> reading it, but I think I've finally nailed down the problem. After >> finally finding the .done_pkginstall file I saw a bunch of "pkg_add: >> could not find package" statements. The odd thing is all of these >> packages that could not be found aren't showing up in >> "/tmp/freesbie.icICHjHP/packages" as being dependencies. Are the >> FreeSBIE scripts not drilling down far enough to find dependencies of >> dependencies? >> >> I guess I'll keep digging but please let me know if anyone else sees >> this as possible. > > Have you tried running pkgdb -F (from sysutils/portupgrade) on your > system? It > seems you have dependencies listed on your package db that are not > installed. > --FreeSBIE mailing list (http://www.freesbie.org) Thank you for the response but yes, I have run pkgdb -F several times and have not been warned about any missing dependencies. I have also run portupgrade -af which should have also taken care of any dependencies. Both ran without any errors. I also added the packages that were throwing errors in .done_pkginstall tonight and was able to burn a ISO without any errors. It also found the binary for startxfce4 but /pkg_info.txt and /var/db/pkg/ didn't show any new packages as being installed so I'm thinking there is something messed up with one of the variables that copies the disk image to the ISO. I'll maybe have to play around with the MAKEOBJDIRPREFIX variable, or other things, to try to fix the LOGFILE variable which will hopefully fix whatever else is messed up. Ben -- FreeSBIE mailing list (http://www.freesbie.org)