Professional Web Applications Themes

portsdb -uU error (I also need some tips) - FreeBSD

Hello! There's been a lot of mess in my ports lately. I want to get rid of this: pkg_delete: package bsdpan-libwww-perl-5.800 has no origin recorded pkg_delete: package bsdpan-libwww-perl-5.800 has no origin recorded Which pops up every time I install/deinstall a port or package. I have done a 'pkgdb -F' which seemed to work. Upon 'portsdb -uU' I get: ######################### Updating the ports index ... Generating INDEX.tmp - please wait..cannot create /tmp/index.UHO8TTKq/INDEX.tmp.desc.german: No such file or directory *** Error code 2 1 error ************************************************** ****************** Before reporting this error, verify that you are running a supported version of FreeBSD (see http://www.FreeBSD.org/ports/) ...

  1. #1

    Default portsdb -uU error (I also need some tips)


    Hello!

    There's been a lot of mess in my ports lately.
    I want to get rid of this:

    pkg_delete: package bsdpan-libwww-perl-5.800 has no origin recorded
    pkg_delete: package bsdpan-libwww-perl-5.800 has no origin recorded

    Which pops up every time I install/deinstall a port or package.
    I have done a 'pkgdb -F' which seemed to work.

    Upon 'portsdb -uU' I get:

    #########################

    Updating the ports index ... Generating INDEX.tmp - please wait..cannot create /tmp/index.UHO8TTKq/INDEX.tmp.desc.german: No such file or directory
    *** Error code 2
    1 error

    ************************************************** ******************
    Before reporting this error, verify that you are running a supported
    version of FreeBSD (see http://www.FreeBSD.org/ports/) and that you
    have a complete and up-to-date ports collection. (INDEX builds are
    not supported with partial or out-of-date ports collections -- in
    particular, if you are using cvsup, you must cvsup the "ports-all"
    collection, and have no "refuse" files.) If that is the case, then
    report the failure to org together with relevant
    details of your ports configuration (including FreeBSD version,
    your architecture, your environment, and your /etc/make.conf
    settings, especially compiler flags and WITH/WITHOUT settings).

    Note: the latest pre-generated version of INDEX may be fetched
    automatically with "make fetchindex".
    ************************************************** ******************

    *** Error code 1

    Stop in /usr/ports.
    *** Error code 1

    Stop in /usr/ports.
    No such file or directory - /tmp/INDEX8274.0
    portsdb: index chmod error

    #########################

    So what is this?

    Also, can anybody tell me if these commands are all I need to
    do a full cleanup and upgrade of my ports?

    This is my /root/make.PORTS:

    #########################

    cvsup -g -L 2 /etc/cvsupfile && pkgdb -F && portupgrade -ra && portsdb -uU && portupgrade -ra && pkgdb -F

    #########################

    Thank you all so much!

    All the best,
    -- Fafa

    --
    __________________________________________________ _________
    Sign-up for Ads Free at Mail.com
    http://promo.mail.com/adsfreejump.htm

    Fafa Guest

  2. #2

    Default Re: portsdb -uU error (I also need some tips)

    Fafa Diliha Romanova wrote: 
    This may not fix all of your problems, but doing a
    cd /usr/ports
    make fetchindex
    is much faster and less problematic than
    portsdb -uU
    Jeff Guest

  3. #3

    Default Re: portsdb -uU error (I also need some tips)

    On 03/13/05 12:09:24, Fafa Diliha Romanova wrote: 

    It looks like a problem with /var/db/pkg. You have time to wipe
    /var/db/pkg and remove all ports? Try portmanager before you wipe your
    ports and db.

    Have you cd /usr/ports && mkae fetchindex?
     

    chmod error? Are you root or what?
     

    Don't do pkgdb unattended, you may need to answer questions. You could
    skip all this index stuff if you use portmanager. But you need
    /var/db/pkg in good condition to use pormanager, I think? 

    Jason Guest

  4. #4

    Default Re: portsdb -uU error (I also need some tips)

    On Sunday 13 March 2005 11:01 am, Jason Henson wrote: 
    >
    > It looks like a problem with /var/db/pkg. You have time to wipe
    > /var/db/pkg and remove all ports? Try portmanager before you wipe
    > your ports and db.
    >
    > Have you cd /usr/ports && mkae fetchindex?

    >
    > chmod error? Are you root or what?

    >
    > Don't do pkgdb unattended, you may need to answer questions. You
    > could skip all this index stuff if you use portmanager. But you need
    > /var/db/pkg in good condition to use pormanager, I think?
    >[/ref]
    portmanager doesn't use /var/db/pkg/pkgdb.db, I think that is what
    you are refering to. It should be able to fix this person's problem
    like you suggested though.

    -Mike



    Michael Guest

  5. #5

    Default Re: portsdb -uU error (I also need some tips)


    Hey!

    I haven't tried fetchindex or portmanager.
    I'll try them now.

    As for the make.PORTS, I run them inside screen, so incase
    I need to answer something, it won't continue untill I do.

    But do you guys have a suggestion to how a more efficient
    make.PORTS could look like? Now I'll include

    cd /usr/ports && make fetchindex

    into it but how about the order and amount of instances of
    each command etc?

    Thanks.

    ----- Original Message -----
    From: "Jeff Hinrichs" <net>
    To: "Fafa Diliha Romanova" <com>
    Subject: Re: portsdb -uU error (I also need some tips)
    Date: Sun, 13 Mar 2005 12:55:25 -0600
     
    > This may not fix all of your problems, but doing a
    > cd /usr/ports
    > make fetchindex
    > is much faster and less problematic than
    > portsdb -uU[/ref]

    --
    __________________________________________________ _________
    Sign-up for Ads Free at Mail.com
    http://promo.mail.com/adsfreejump.htm

    Fafa Guest

  6. #6

    Default Re: portsdb -uU error (I also need some tips)

    On Sunday 13 March 2005 11:59 am, Fafa Diliha Romanova wrote: 

    portmanager doesn't need fetchindex, but if you want to make the
    readme.html's or do things like make search= in /usr/ports then
    make fetchindex is a good idea. You are going to loose the index
    every time you cvsup so here is how I would set up a script to
    automate things as much as possible:

    cd /usr/ports
    make update (this assumes you have /etc/make.conf setup for cvsup)
    make fetchindex
    portmanager -u 
    > >
    > > This may not fix all of your problems, but doing a
    > > cd /usr/ports
    > > make fetchindex
    > > is much faster and less problematic than
    > > portsdb -uU[/ref][/ref]
    Michael Guest

Similar Threads

  1. portsdb -Uu -> Stop.
    By Ewald in forum FreeBSD
    Replies: 4
    Last Post: March 3rd, 09:13 AM
  2. OT: Any tips for new job in UK?
    By Andy Lennard in forum Informix
    Replies: 0
    Last Post: October 22nd, 11:37 AM

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