Re: regenerating /var/db/pkg
hi, have you tried pkgdb -u ? -- psr มะฃาม ฅินเดินดน มะไฟ ฅนเหลิงฟ้า http://makham.blogspot.com Quoting Diane Bruce d...@db.net: On Tue, Apr 20, 2010 at 10:11:24PM -0400, Aryeh M. Friedman wrote: I acciddentally rm'ed my /var/db/pkg and want to know is it possible to rgenerate it (I have portmaster and portupgrade installed) You would have to write a script which went through each file in /usr/local/bin and /usr/local/lib (mostly sufficient) and examined every single pkg-plist looking for the corresponding file. Then you know what port the file was generated by. Needless to say, this would be somewhat horrible. - Diane -- - d...@freebsd.org d...@db.net http://www.db.net/~db ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org This message was sent using IMP, the Internet Messaging Program. ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org
Re: make release stop at Creating ISO imagess (success)
Quoting ไพรัช ศรีโยธา pi...@tint.or.th: Quoting Ruben de Groot mai...@bzerk.org: On Mon, Oct 26, 2009 at 02:36:39PM +0700, ??? ? typed: hi sirs, apologized me for disturbing this list but ireally have problem s. i make my own release by follwoing document in releng articles. here is my command cd /usr/src/release time make CHROOTDIR=/kaitag/KAITAG BUILDNAME=7.2-RELEASE \ CVSROOT=/var/ftp/pub/ncvs RELEASETAG=RELENG_7_2_0_RELEASE \ EXTSRCDIR=/usr/src EXTPORTSDIR=/usr/ports \ DOC_LANG=en_US.ISO8859-1 NODOC=NO NOPORTS=NO \ MAKE_DVD=YES MAKE_ISOS=YES CDROM=YES RELEASEDISTFILES=/var/ftp/pub/distfiles \ release the build process goes well but then fetching for cdrtools.tbz begin and stop. in my machine i have installed cdrtools and there is also mkisofs file so i wonder why the script /usr/src/release/i386/mkisofsimages.sh still fetching for cdrtools. Do you have the cdrtools.tbz package in /var/ftp/pub/distfiles ? thanks for your time but there is only cdrtools-2.01.tar.bz2 which is source files for making cdrtools. i keep all packages in a separate location, /usr/ports/packages/. Ruben from previous errors without any reasons, my instinct tell me that i need to specify EXTLOCALDIR=/usr/local in command line as shown below begin wmc# time make CHROOTDIR=/kaitag/KAITAG BUILDNAME=7.2-RELEASE CVSROOT=/var/ftp/p ub/ncvs RELEASETAG=RELENG_7_2_0_RELEASE EXTSRCDIR=/usr/src DOC_LANG=en_US.ISO885 9-1 NODOC=NO NOPORTS=NO MAKE_ISOS=YES EXTLOCALDIR=/usr/local RELEASEDISTFILES=/v ar/ftp/pub/distfiles NOCDROM=NO NO_PREFETCHDISTFILES=YES release end and the result is from, vidcontrol -P !-- begin of vidcontrol -P -- + df -ki /mnt + tail -1 + set /dev/md0c 1391 1195 196 86% 24 38 39% /mnt + echo *** File system is 1440 K, 196 left *** File system is 1440 K, 196 left + echo *** 4 bytes/inode, 38 left *** 4 bytes/inode, 38 left + umount /mnt + mdconfig -d -u md0 touch floppies.2 touch floppies.3 Setting up FTP distribution area 0 blocks 0 blocks touch ftp.1 Release done + LC_ALL=C TZ=GMT date + echo make release for i386 finished on Sun Nov 1 08:26:53 GMT 2009 make release for i386 finished on Sun Nov 1 08:26:53 GMT 2009 + umount /dev 4866.762u 614.713s 1:55:26.63 79.1% -2242+1015k 210537+37161io 344084pf+2w !-- end of vidcontrol -P -- anyway, there is no cdrom created since i put NOCDROM=NO in command line but where is did change to CDROM=YES and change target to rerelease, i get cdrom as desire. upto this point, release(7) need to be changed a bit. so also i need to experiment further for including packages into disc[123].iso with best regards, -- psr มะฃาม ฅินเดินดน มะไฟ ฅนเหลิงฟ้า http://makham.blogspot.com This message was sent using IMP, the Internet Messaging Program. ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org
make release stop at Creating ISO imagess
hi sirs, apologized me for disturbing this list but ireally have problem s. i make my own release by follwoing document in releng articles. here is my command cd /usr/src/release time make CHROOTDIR=/kaitag/KAITAG BUILDNAME=7.2-RELEASE \ CVSROOT=/var/ftp/pub/ncvs RELEASETAG=RELENG_7_2_0_RELEASE \ EXTSRCDIR=/usr/src EXTPORTSDIR=/usr/ports \ DOC_LANG=en_US.ISO8859-1 NODOC=NO NOPORTS=NO \ MAKE_DVD=YES MAKE_ISOS=YES CDROM=YES RELEASEDISTFILES=/var/ftp/pub/distfiles \ release the build process goes well but then fetching for cdrtools.tbz begin and stop. in my machine i have installed cdrtools and there is also mkisofs file so i wonder why the script /usr/src/release/i386/mkisofsimages.sh still fetching for cdrtools. and here is my uname of my machine wmc# uname -a FreeBSD wmc.tint.or.th 7.2-RELEASE FreeBSD KAITAG #0: Wed Oct 21 14:36:40 ICT 2009 r...@wmc.tint.or.th:/usr/obj/usr/src/sys/WMC i386 wmc# i set UNAME_r=7.2-RELEASE in /etc/make.conf though. many thanks in advance for any helps and hints. with best regards, psr -- มะไฟ ฅนเหลิงฟ้า มะขาม คินเดินดน http://makham.blogspot.com This message was sent using IMP, the Internet Messaging Program. ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org
Re: make release stop at Creating ISO imagess
Quoting Ruben de Groot mai...@bzerk.org: On Mon, Oct 26, 2009 at 02:36:39PM +0700, ??? ? typed: hi sirs, apologized me for disturbing this list but ireally have problem s. i make my own release by follwoing document in releng articles. here is my command cd /usr/src/release time make CHROOTDIR=/kaitag/KAITAG BUILDNAME=7.2-RELEASE \ CVSROOT=/var/ftp/pub/ncvs RELEASETAG=RELENG_7_2_0_RELEASE \ EXTSRCDIR=/usr/src EXTPORTSDIR=/usr/ports \ DOC_LANG=en_US.ISO8859-1 NODOC=NO NOPORTS=NO \ MAKE_DVD=YES MAKE_ISOS=YES CDROM=YES RELEASEDISTFILES=/var/ftp/pub/distfiles \ release the build process goes well but then fetching for cdrtools.tbz begin and stop. in my machine i have installed cdrtools and there is also mkisofs file so i wonder why the script /usr/src/release/i386/mkisofsimages.sh still fetching for cdrtools. Do you have the cdrtools.tbz package in /var/ftp/pub/distfiles ? thanks for your time but there is only cdrtools-2.01.tar.bz2 which is source files for making cdrtools. i keep all packages in a separate location, /usr/ports/packages/. Ruben with best regards, -- psr มะฃาม ฅินเดินดน มะไฟ ฅนเหลิงฟ้า http://makham.blogspot.com This message was sent using IMP, the Internet Messaging Program. ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org
Re: make release stop at Creating ISO imagess
Quoting Ruben de Groot mai...@bzerk.org: On Mon, Oct 26, 2009 at 02:36:39PM +0700, ??? ? typed: hi sirs, apologized me for disturbing this list but ireally have problem s. i make my own release by follwoing document in releng articles. here is my command cd /usr/src/release time make CHROOTDIR=/kaitag/KAITAG BUILDNAME=7.2-RELEASE \ CVSROOT=/var/ftp/pub/ncvs RELEASETAG=RELENG_7_2_0_RELEASE \ EXTSRCDIR=/usr/src EXTPORTSDIR=/usr/ports \ DOC_LANG=en_US.ISO8859-1 NODOC=NO NOPORTS=NO \ MAKE_DVD=YES MAKE_ISOS=YES CDROM=YES RELEASEDISTFILES=/var/ftp/pub/distfiles \ release the build process goes well but then fetching for cdrtools.tbz begin and stop. in my machine i have installed cdrtools and there is also mkisofs file so i wonder why the script /usr/src/release/i386/mkisofsimages.sh still fetching for cdrtools. Do you have the cdrtools.tbz package in /var/ftp/pub/distfiles ? Ruben i copy cdrtools.tbz to /var/ftp/pub/distfiles while answering your first mail and let the process ran overnight here is a result, from screen shot == begin of last page screen shot touch cdrom.1 Building CDROM disc1 filesystem image 0 blocks 0 blocks Building CDROM disc2 filesystem image Building CDROM disc3 filesystem image 0 blocks 0 blocks touch cdrom.2 Building bootonly CDROM filesystem image touch cdrom.3 Creating ISO images... The cdrtools port is not installed. Trying to get it now. Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7.2-release/Lates t/cdrtools.tbz...pkg_add: warning: error reading from server: Operation timed ou t ^CSignal 2 received, cleaning up.. Could not get it via pkg_add - please go install this from the ports collection and run this script again. 6240.165u 575.390s 20:45:53.90 9.1% -259+1079k 167010+14463io 87062pf+0w maifa [/usr/src/release] # == end of screen shot after interrupt the process i make ... rerelease once again and now it stuck at the same point == begin of screen shot + export RELEASETAG=RELENG_7_2_0_RELEASE + export RELNOTES_LANG=en_US.ISO8859-1 + export SEPARATE_LIVEFS= + export TARGET=i386 + export TARGET_ARCH=i386 + export RELEASEDIR=/R + export PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin + export MANBUILDCAT=YES + umount /dev + true + mount -t devfs devfs /dev + [ ! -c /dev/null ] + [ -x /etc/rc.d/ldconfig ] + /etc/rc.d/ldconfig start ELF ldconfig path: /lib /usr/lib /usr/lib/compat a.out ldconfig path: /usr/lib/aout /usr/lib/compat/aout + [ ! -f /tmp/.world_done ] + [ ! -f /tmp/.skip_ports_index ] + cd /usr/src/release + make obj + make doRELEASE Creating ISO images... The cdrtools port is not installed. Trying to get it now. Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7.2-release/Lates t/cdrtools.tbz... == end of screen shot, currently running process i do not know what happend to the sh script mention ealier. anyway thanks indeed for your time. with best regards -- psr มะฃาม ฅินเดินดน มะไฟ ฅนเหลิงฟ้า http://makham.blogspot.com This message was sent using IMP, the Internet Messaging Program. ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org