Re: Why are you NOT using FreeBSD -- an example and a solution

2012-06-13 Thread Erich
Hi,

On 13 June 2012 0:20:16 Jason Hellenthal wrote:
 
 On Wed, Jun 13, 2012 at 09:53:04AM +0700, Erich wrote:
  Hi,
 
 Hi, Do we really need another one of these pointless rambling threads...

if it helps to keep newcomers with FreeBSD.
 
  
  I placed FreeBSD 10 on an empty disk and downloaded then the ports tree 
  from yesterday.
  
  
  http://wiki.freebsd.org/Intel_GPU
 
 Read the FAQ ?

The problem has not much to do with X.
 
  Installation of Joe.
  
  Joe is always the first port I install as I am used to its commands. I then 
  download and compile other ports. As I am currently on a low-bandwidth 
  Internet connection, I try to keep the machine busy during the night with 
  large downloads.
 
 Irrelevant

It is as I only get errors like this when I install Joe first.
 
  
  Parallel downloading and compilation of scribus and xorg-server
  
  
  How can we help newcomers to avoid this kind of problems?
  
 
 By contributing to PRs and the correct mailing list with solutions,
 outcomes, patches etc...
 
I am one step further now. As I am getting errors like this very often since I 
use this method  of installing ports I thought that there must be something 
basic what I am doing wrong.

The cause of the problem happens much earlier. I used PCBSD to get FreeBSD onto 
the disk and did then a source upgrade. This went fine. But PCBSD installed 
many ports. I assumed now that after deleting them with 'pkg_delete -a' there 
are all gone and installation can start.

Of course, pkg_delete brings some error messages that it could not delete this 
or that as the package list is wrong.

After getting the errors mentioned here, I used to run 'make deinstall' in the 
affected port. This solved the problem. I wonder now what the difference 
between pkg_delete and make deinstall is.

As I mentioned before, I am getting these errors randomly since around 2007. I 
obviously never used make deinstall then.

I will go back now to the FreeBSD ports installation.

 Part of it made it to this thread under a wrong subject line but its a
 start...
 
 
Erich
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: Why are you NOT using FreeBSD -- an example and a solution

2012-06-13 Thread Kevin Oberman
On Wed, Jun 13, 2012 at 4:44 PM, Erich erichfreebsdl...@ovitrap.com wrote:
 Hi,

 On 13 June 2012 0:20:16 Jason Hellenthal wrote:

 On Wed, Jun 13, 2012 at 09:53:04AM +0700, Erich wrote:
  Hi,

 Hi, Do we really need another one of these pointless rambling threads...

 if it helps to keep newcomers with FreeBSD.

 
  I placed FreeBSD 10 on an empty disk and downloaded then the ports tree 
  from yesterday.
 
 
  http://wiki.freebsd.org/Intel_GPU

 Read the FAQ ?

 The problem has not much to do with X.

  Installation of Joe.
 
  Joe is always the first port I install as I am used to its commands. I 
  then download and compile other ports. As I am currently on a 
  low-bandwidth Internet connection, I try to keep the machine busy during 
  the night with large downloads.

 Irrelevant

 It is as I only get errors like this when I install Joe first.

 
  Parallel downloading and compilation of scribus and xorg-server
 
 
  How can we help newcomers to avoid this kind of problems?
 

 By contributing to PRs and the correct mailing list with solutions,
 outcomes, patches etc...

 I am one step further now. As I am getting errors like this very often since 
 I use this method  of installing ports I thought that there must be something 
 basic what I am doing wrong.

 The cause of the problem happens much earlier. I used PCBSD to get FreeBSD 
 onto the disk and did then a source upgrade. This went fine. But PCBSD 
 installed many ports. I assumed now that after deleting them with 'pkg_delete 
 -a' there are all gone and installation can start.

 Of course, pkg_delete brings some error messages that it could not delete 
 this or that as the package list is wrong.

 After getting the errors mentioned here, I used to run 'make deinstall' in 
 the affected port. This solved the problem. I wonder now what the difference 
 between pkg_delete and make deinstall is.

 As I mentioned before, I am getting these errors randomly since around 2007. 
 I obviously never used make deinstall then.

 I will go back now to the FreeBSD ports installation.

 Part of it made it to this thread under a wrong subject line but its a
 start...

I strongly recommend that you install ports-mgmt/portmaster (if you
have not done so) and read the man page (YES! You really need to read
it all!) and note the example for re-installing all ports. It will
assure that all ports are cleanly re-installed.

I do admit that I don't delete /usr/local/*, but I do get rid of most
everything in it like bin, lib, include (especially important),
libexec, libdata, info, modules, man, and so on. (Almost abbreviated
and so on to etc which would have triggered much hilarity and some
keyboard smashing!) I never install anything of my own in /usr/local,
but use /usr/opt for that.

If you do it as suggested, you should end up with a very clean, updated system.
-- 
R. Kevin Oberman, Network Engineer
E-mail: kob6...@gmail.com
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: Why are you NOT using FreeBSD -- an example and a solution

2012-06-13 Thread Erich
Hi,

On 13 June 2012 17:21:30 Kevin Oberman wrote:
 On Wed, Jun 13, 2012 at 4:44 PM, Erich erichfreebsdl...@ovitrap.com wrote:
  On 13 June 2012 0:20:16 Jason Hellenthal wrote:
  On Wed, Jun 13, 2012 at 09:53:04AM +0700, Erich wrote:

 I strongly recommend that you install ports-mgmt/portmaster (if you

I use portupgrade for upgrades. It should lead to the same result.

 have not done so) and read the man page (YES! You really need to read
 it all!) and note the example for re-installing all ports. It will
 assure that all ports are cleanly re-installed.
 
 I do admit that I don't delete /usr/local/*, but I do get rid of most
 everything in it like bin, lib, include (especially important),
 libexec, libdata, info, modules, man, and so on. (Almost abbreviated
 and so on to etc which would have triggered much hilarity and some
 keyboard smashing!) I never install anything of my own in /usr/local,
 but use /usr/opt for that.
 
I never did this. It is a good idea as it really cleans the system and you have 
your own stuff outside the third-party stuff.

 If you do it as suggested, you should end up with a very clean, updated 
 system.
 
I did not want to upgrade it. I just wanted a fast solution to have FreeBSD 
running and than start from scratch. This starting from real scratch did not 
work.

It seems that your solution would also solved the problem. I never thought of 
this.

Erich
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org