Re: Advice sought on Portmaster -Faf and deleted ports

2013-10-14 Thread Scott Ballantyne
 
  Hi,
 
  I'm following the recipe at the end of man portmaster for deleting and
  reinstalling all my ports, which I have done many times in the
  past. This time, I am getting errors on the portmaster -Faf step
  involving deleted ports, and I'm not sure how to deal with this
  easily.
 
 What errors, exactly?

Well, for example:

portmaster -Faf
it starts to fetch a bunch of files
it finds a port which has been deleted, such as
linux-base-fc4
and it says, linux-base-fc4 has been deleted.
terminating
terminating
terminating
etc.

 
  So, I am seeking expert advice here. Is there a way to automate this
  and keep myself out of trouble, or do I need to do a 'port-by-port'
  upgrade of each port?
 
 It should just work.  Have you converted to pkgng?
 

I dream of the day that the ports system will just work. I don't use
binary packages, are you saying that pkgng will deal with this issue
automatically?

Thanks,
Scott

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


Re: Advice sought on Portmaster -Faf and deleted ports

2013-10-14 Thread Warren Block

On Mon, 14 Oct 2013, Scott Ballantyne wrote:


I'm following the recipe at the end of man portmaster for deleting and
reinstalling all my ports, which I have done many times in the
past. This time, I am getting errors on the portmaster -Faf step
involving deleted ports, and I'm not sure how to deal with this
easily.


What errors, exactly?


Well, for example:

portmaster -Faf
it starts to fetch a bunch of files
it finds a port which has been deleted, such as
linux-base-fc4
and it says, linux-base-fc4 has been deleted.
terminating
terminating
terminating
etc.


That's correct.  linux_base-fc4 is long gone (years), replaced by 
linux_base-f10.  portmaster sees no way to upgrade that port, so 
evidently it quits.


If you have ports that far out of date, the upgrade process is going to 
be long.  Ports where the system does not know the replacement will have 
to be handled manually.



So, I am seeking expert advice here. Is there a way to automate this
and keep myself out of trouble, or do I need to do a 'port-by-port'
upgrade of each port?


It should just work.  Have you converted to pkgng?



I dream of the day that the ports system will just work. I don't use
binary packages, are you saying that pkgng will deal with this issue
automatically?


No, the concern was that you might have already converted to pkgng but 
still used the old package tools.

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


Re: Advice sought on Portmaster -Faf and deleted ports

2013-10-14 Thread Scott Ballantyne

On Mon, 14 oct 2013, Warren Block wbl...@wonkity.com wrote:
 On Mon, 14 Oct 2013, Scott Ballantyne wrote:
 
 
  What errors, exactly?
 
  Well, for example:
 
  portmaster -Faf
  it starts to fetch a bunch of files
  it finds a port which has been deleted, such as
  linux-base-fc4
  and it says, linux-base-fc4 has been deleted.
  terminating
  terminating
  terminating
  etc.
 
 That's correct.  linux_base-fc4 is long gone (years), replaced by 
 linux_base-f10.  portmaster sees no way to upgrade that port, so 
 evidently it quits.

I understand why portmaster quits that port. It does seem like a bit
of over-kill to quit updating ALL ports because one is long
gone. Seems like it could do the others.

 If you have ports that far out of date, the upgrade process is going to 
 be long.  Ports where the system does not know the replacement will have 
 to be handled manually.

Actually, the last time I updated my ports was when I installed 9.0,
and I used the portmaster 'nuke all ports' method I was trying to
day. Since then, several dozen ports of been 'deleted' or 'renamed',
not just the linux_base-fc4. Seems in the case of ports which have
been renamed or replaced, this could in fact be simply automated in
most cases.

Best,
Scott
-- 
s...@ssr.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Advice sought on Portmaster -Faf and deleted ports

2013-10-14 Thread Adam Vande More
On Mon, Oct 14, 2013 at 6:35 PM, Scott Ballantyne s...@ssr.com wrote:


 I understand why portmaster quits that port.


Because it has no choice.


 It does seem like a bit
 of over-kill to quit updating ALL ports because one is long
 gone. Seems like it could do the others.


So it should continue on and potentially build 1000's of ports with broken
linking and dependencies?  Portupgrade will do this if you tell it.  Try it
out and see what fun you can create.



-- 
Adam Vande More
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Advice sought on Portmaster -Faf and deleted ports

2013-10-14 Thread Warren Block

On Mon, 14 Oct 2013, Scott Ballantyne wrote:



On Mon, 14 oct 2013, Warren Block wbl...@wonkity.com wrote:

On Mon, 14 Oct 2013, Scott Ballantyne wrote:



What errors, exactly?


Well, for example:

portmaster -Faf
it starts to fetch a bunch of files
it finds a port which has been deleted, such as
linux-base-fc4
and it says, linux-base-fc4 has been deleted.
terminating
terminating
terminating
etc.


That's correct.  linux_base-fc4 is long gone (years), replaced by
linux_base-f10.  portmaster sees no way to upgrade that port, so
evidently it quits.


I understand why portmaster quits that port. It does seem like a bit
of over-kill to quit updating ALL ports because one is long
gone. Seems like it could do the others.


Some of them.  It could not update any ports that depend on missing 
ports, which conflicts with the -a meaning all.



If you have ports that far out of date, the upgrade process is going to
be long.  Ports where the system does not know the replacement will have
to be handled manually.


Actually, the last time I updated my ports was when I installed 9.0,
and I used the portmaster 'nuke all ports' method I was trying to
day. Since then, several dozen ports of been 'deleted' or 'renamed',
not just the linux_base-fc4. Seems in the case of ports which have
been renamed or replaced, this could in fact be simply automated in
most cases.


I think it does handle renamed ports.  Whether the ones it does not 
handle are due to missing functionality or because they are difficult or 
impossible to handle, don't know.

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


Re: Advice sought on Portmaster -Faf and deleted ports

2013-10-14 Thread Scott Ballantyne

Adam Vande More wrote:
 
  It does seem like a bit
  of over-kill to quit updating ALL ports because one is long
  gone. Seems like it could do the others.
 
 
 So it should continue on and potentially build 1000's of ports with broken
 linking and dependencies?  Portupgrade will do this if you tell it.  Try it
 out and see what fun you can create.
 

Not a single program on my system depended on that program being
rebuilt. Portmaster should certainly refuse to rebuild anything that
did, of course.



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


Re: Advice sought on Portmaster -Faf and deleted ports

2013-10-14 Thread Scott Ballantyne
On Mon 14 Oct 2013 Warren Block wrote:

 On Mon, 14 Oct 2013, Scott Ballantyne wrote:
 
 
  On Mon, 14 oct 2013, Warren Block wbl...@wonkity.com wrote:
  On Mon, 14 Oct 2013, Scott Ballantyne wrote:
 
 
  Actually, the last time I updated my ports was when I installed 9.0,
  and I used the portmaster 'nuke all ports' method I was trying to
  day. Since then, several dozen ports of been 'deleted' or 'renamed',
  not just the linux_base-fc4. Seems in the case of ports which have
  been renamed or replaced, this could in fact be simply automated in
  most cases.
 
 I think it does handle renamed ports.  Whether the ones it does not 
 handle are due to missing functionality or because they are difficult or 
 impossible to handle, don't know.

Such was not my experience, Warren. And actually, a google search
while I was trying to solve this turned up many reports of the same
problem over the past years. 

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


Re: Advice sought on Portmaster -Faf and deleted ports

2013-10-14 Thread Adam Vande More
On Mon, Oct 14, 2013 at 9:48 PM, Scott Ballantyne s...@ssr.com wrote:


 Adam Vande More wrote:
 
   It does seem like a bit
   of over-kill to quit updating ALL ports because one is long
   gone. Seems like it could do the others.
  
 
  So it should continue on and potentially build 1000's of ports with
 broken
  linking and dependencies?  Portupgrade will do this if you tell it.  Try
 it
  out and see what fun you can create.
 

 Not a single program on my system depended on that program being
 rebuilt.


And what about libs it may have left behind and other ports picking up
faulty info?  Then you build unsupported and faultly packages and complain
to the list when something doesn't work.  Just follow /usr/ports/UPDATING
as advised instead of your shortcuts.


 Portmaster should certainly refuse to rebuild anything that
 did, of course.


Exactly what it did.



-- 
Adam Vande More
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Advice sought on Portmaster -Faf and deleted ports

2013-10-13 Thread Warren Block

On Sun, 13 Oct 2013, Scott Ballantyne wrote:


Hi,

I'm following the recipe at the end of man portmaster for deleting and
reinstalling all my ports, which I have done many times in the
past. This time, I am getting errors on the portmaster -Faf step
involving deleted ports, and I'm not sure how to deal with this
easily.


What errors, exactly?


So, I am seeking expert advice here. Is there a way to automate this
and keep myself out of trouble, or do I need to do a 'port-by-port'
upgrade of each port?


It should just work.  Have you converted to pkgng?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org