Really big port problem :-)

Eirik Nygaard eirikn at kerneled.com
Fri Nov 28 10:39:27 PST 2003


On Thu, Nov 27, 2003 at 08:59:29PM +0100, Eirik Nygaard wrote:
> On Thu, Nov 27, 2003 at 02:12:23PM -0500, Skip Ford wrote:
> > Adam K Kirchhoff wrote:
> > > Skip Ford <skip.ford at xxxxxxxxxxx> wrote:
> > >> Adam K Kirchhoff wrote:
> > >>> I'm trying to get a full list of all the ports I have installed with
> > >>> pkg_info, but it dies somewhere in the l's :-)
> > >>> 
> > >>> libxfce4mcs-4.0.0   XFce 4 settings management library used by most XFce4 modu
> > >>> libxfce4util-4.0.0  XFce 4 library with non-graphical helper functions
> > >>> libxml-1.8.17_1     Xml parser library for GNOME
> > >>> libxml2-2.6.2_1     Xml parser library for GNOME
> > >>> pkg_info: read_plist: bad command '@crcent */,'
> > >>
> > >> If you list the contents of the /var/db/pkg/ directory
> > >> alphabetically, what comes after libxml2-2.6.2_1, and what
> > >> are the contents of the '+CONTENTS' file in that directory?
> > > 
> > > linux_base-8-8.0_2 (which I'm pretty sure I pkg_deleted a few days ago)
> > 
> > Something must've gone wrong with that delete then.
> > 
> > > I'm not gonna dump the entire contents of +CONTENTS here, but the bad
> > > line seems to be:
> > [snip]
> > > Next time I'm in DragonFly, I'll try and pkg_delete it again.
> > 
> > You can try, but pkg_delete may get stuck where pkg_info did.
> > You may be able to just delete the offending line.  Or if you
> > can track down the contents and delete them by hand then you may
> > be able to just rm -rf that directory.
> > 
> > You can also remove the '+CONTENTS' file and do a forced reinstall
> > just to be able to do a clean delete.  Might be interesting to see
> > if the corruption happens again.
> > 
> > Whatever you do, be sure to run pkgdb -F a lot.
> > 
> > -- 
> > Skip
> > 
> 
> This is because of the conflict keyword that has been added to pkg_*,
> Hiten fixed it for pkg_add, I'll take a look at it for the rest of the
> pkg_* pack.
> 

I don't seem to be able to reproduce this at the moment. Could you
compress you /var/db/pkg and send it to me or upload it somewhere?
Would be a great help.

-- 
Eirik Nygaard
eirikn at xxxxxxxxxxxx






More information about the Kernel mailing list