Subject: Re: Generating .tgz With Installed Packages
To: Daniel Bolgheroni <>
From: Jeremy C. Reed <>
List: tech-pkg
Date: 09/17/2004 00:25:48
On Fri, 17 Sep 2004, Daniel Bolgheroni wrote:

> after a lot of hours compiling a lot of packages with pkgsrc, I was
> trying to generate .tgz with the installed packages. So, I've installed
> pkg_tarup and using parameter "-a", it was created some packages like

The normal way to create packages is to run "make package". This can be
done if you haven't cleaned out the pkgsrc directories.

> deinstalled all of them and tried again. Doing this, I get a lot of
> messages that dependencies can't be loaded and some other messages like
> this.

Any specific examples?

> P.S.: Strangely, I'm getting the hostname set to "linux", even don't
> changing anything. This is another "problem" I've noticed. I wouldn't
> notice if hostname was set to "netbsd".

That is strange. Look at:

sysctl kern.hostname
grep hostname= /etc/defaults/rc.conf  /etc/rc.conf /etc/rc.conf.d/ipfilter

(Does anyknow know wht /etc/rc.d/network uses /etc/rc.conf.d/ipfilter ??)

Maybe assigned via DHCP?

 Jeremy C. Reed

 	  	 	 BSD News, BSD tutorials, BSD links