Date: Wed, 26 Sep 2007 17:31:48 +1000 From: "Mr Anderson" <anderson.gnu@gmail.com> To: freebsd-ports@freebsd.org Cc: Paul Ooi Cong Jen <paul@takizo.com> Subject: Re: update ports from a file Message-ID: <d245113f0709260031w4bf79548j24cc85e499fe8be2@mail.gmail.com> In-Reply-To: <46FA043D.1050504@takizo.com> References: <d245113f0709171801h59cbdbd1v3d213418398dd577@mail.gmail.com> <20070918205450.GA2809@dose.local.invalid> <d245113f0709252313j1b7e4b98heed4f0ce705da617@mail.gmail.com> <46FA043D.1050504@takizo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Paul First of all, In my scenario I dont have internet connection and I am doing the installations from scratch. So, I first update ports manually, and now = I CAN INSTALL packages by hand. I know it is not the ideal, but my network card works only for Windows. I am not a server administrator , I am only a student who whish to learn more about freeBSD. So, as I am able to install more ports packages, I am installing more software, but I noticed those messages (everytime I install something with portinstall) cd: can't cd to /usr/ports/sysutils/portupgrade [missing key: categories] [Updatting the portsdb <format:dbd_btree> in /usr/ports ... - 17674 port entries found .... 1000 ... 2000 .... 17000..... done] missing key : categories: Cannot read the portsdb! database file error an I am not sure how to get rid of them Thank you for your support Alberto On 9/26/07, Paul Ooi Cong Jen <paul@takizo.com> wrote: > > btw, you need internet connection for port installation. else can try > pkg_add media from ROM > > then try run > sh> portsnap fetch > sh> portsnap extract > > then you will see portupgrade is actually in > sh> cd /usr/ports/ports-mgmt/portupgrade > > the port tree has been updated for portupgrade > > Regards, > Paul Ooi Cong Jen > http://www.takizo.com/blog > > Mr Anderson wrote: > > Hello > > > > Well, I could find a CD/DVD updated of FreeBSD. Well, I decided to > continue > > manually. I download the last ports.tar.gz file. I unpacked to > /usr/ports. > > :) > > Then I tried the following and message said about can't cd to > > systutils/portupgrade (is that fine?) > > > > #portversion > > cd: can't cd to /usr/ports/sysutils/portupgrade > > ..... > > and then try to download an index file, but as I dont have internet > > connection, it start to > > updateing the ports index.... > > > > > > After it finished I tried > > > > #portversion > > cd: can't cd to /usr/ports/sysutils/portupgrade > > [missing key: categories] [Updatting the portsdb <format:dbd_btree> in > > /usr/ports ... - 17674 port entries found > > .... 1000 ... 2000 .... 17000..... done] > > missing key : categories: Cannot read the portsdb! > > database file error > > db41 > > expat > > ... the show the lis of pakages > > > > So, what is wrong with the database? and also > > [missing key: categories] ? > > cd: can't cd to /usr/ports/sysutils/portupgrade ??? > > > > How can I fixed those? > > > > Anderson > > > > > > > > On 9/19/07, Simon Barner < barner@freebsd.org> wrote: > >> Mr Anderson wrote: > >>> Hello > >>> > >>> I have been using FreeBSD in the Univ recently and quite interesting. > I > >>> decided to installed FreeBSD 6.2 in my laptop (I dont have internet > >>> connection) and now I want to install apache and other software. So, = I > >>> downloaded ftp://ftp.freebsd.org/pub/FreeBSD/ports/ports/ports.tar.g= z > >> and > >>> copy to my laptop to update ports. > >>> How do I update ports from the > >>> file? Right now, I have an old version of Ports, portsnap fetch does > not > >>> work because I do not have internet > >>> connection, and FreeBSD does not recognize my netowrk card reader, so > >>> I want to do it by hand , step by step. > >>> > >>> Any tip how to do update? Should I just unzip the file in /usr/ports = , > >> but > >>> previosly delete everything??? > >> I'd mv /usr/ports /usr/ports.orig before unzipping the port. Also have > a > >> look at the `fetch-recursive-list' target. It allows you to generate a > >> shell script that will download all the required distfiles for a > specific > >> port. E.g. > >> > >> cd /usr/ports/www/apache22 > >> make fetch-recursive-list > >> > >> If you are going for packages instead of ports, have a look at > >> pkg_fetch(1). > >> > >> -- > >> Best regards / Viele Gr=FC=DFe, > barner@FreeBSD.org > >> Simon Barner > barner@gmx.de > >> > >> > > _______________________________________________ > > freebsd-ports@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org= " > > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d245113f0709260031w4bf79548j24cc85e499fe8be2>