Professional Web Applications Themes

Broken port tree: how to repair ? - FreeBSD

Hello, I had a problem of corrupted database and I did a big mistake: I incidentally deleted my port tree instead of the database. Now I have big troubles whenever I want to upgrade/install any new port. Is there any way to fix this ? Thank you. -- Registered Linux-User #340967 with the Linux Counter, http://counter.li.org....

  1. #1

    Default Broken port tree: how to repair ?

    Hello,

    I had a problem of corrupted database and I did a big mistake: I
    incidentally deleted my port tree instead of the database.

    Now I have big troubles whenever I want to upgrade/install any
    new port.

    Is there any way to fix this ?

    Thank you.
    --
    Registered Linux-User #340967 with the Linux Counter, http://counter.li.org.


    Xavier Guest

  2. #2

    Default Re: Broken port tree: how to repair ?

    Xavier Maillard wrote: 

    You can cvsup your ports tree to bring it up to date:

    http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html

    (yes this will work even if you've deleted your whole tree)

    -ash
    Ash Guest

  3. #3

    Default Re: Broken port tree: how to repair ?

    delete /var/db/pkg/pkgdb.db
    do a cvsup of your port tree ...
    do a "make fetchindex" under /usr/ports
    now, check portversion -l'<'
    it should reconstruct everything


    Le Lundi 11 Avril 2005 00:02, Xavier Maillard a écrit: 
    Bachelier Guest

  4. #4

    Default Re: Broken port tree: how to repair ?

    On 11 Apr 2005, Bachelier Vincent wrote:
     

    And what about stalled dependancies ?

    --
    In Gruuik we trust


    Xavier Guest

  5. #5

    Default Re: Broken port tree: how to repair ?

    On Mon, Apr 11, 2005 at 01:25:41AM +0200, Xavier Maillard wrote: 
    >
    > And what about stalled dependancies ?[/ref]

    What is a stalled dependency?

    Kris

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.0 (FreeBSD)

    iD8DBQFCWbozWry0BWjoQKURAgQ+AKD9WoLzLV4TOiYylEMteC pmUsbjCwCfSEr2
    Kx5jo15r+90Mw0WsDfk5nUM=
    =HO4d
    -----END PGP SIGNATURE-----

    Kris Guest

  6. #6

    Default Re: Broken port tree: how to repair ?

    > > > delete /var/db/pkg/pkgdb.db 
    > >
    > > And what about stalled dependancies ?[/ref]
    >
    > What is a stalled dependency?[/ref]

    Or, perhaps more to the point, how does a dependency, stalled or
    otherwise, survive a broken ports tree?

    --
    Joel Rees <co.jp>
    digitcom, inc. $B3t<02q<R%G%8%3%`(B
    Kobe, Japan +81-78-672-8800
    ** <http://www.ddcom.co.jp> **

    Joel Guest

Similar Threads

  1. ? Moving from port 8500 to port 80 on XP
    By b1boogie in forum Coldfusion - Getting Started
    Replies: 3
    Last Post: February 27th, 12:19 AM
  2. Replies: 0
    Last Post: August 25th, 04:05 AM
  3. #25222 [NEW]: Broken references while using array_pop in a tree / linked list
    By kevin at kevin-online dot com in forum PHP Development
    Replies: 0
    Last Post: August 24th, 03:18 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139