Re: ports not detecting packages in PKG_PATH

2010-11-10 Thread Ersin Akinci
 But you wrote that you upgraded ports from release to current. Did you
 upgrade your system to current too?

 Every time use mirrors for packages, it saves bandwidth and you can
 have couple of them in PKG_PATH.

Quoth section 15 of the FAQ: Do NOT check out a -current ports tree
and expect it to work on a -release or -stable system. This is one of
the most common errors and you will irritate people when you ask for
help about why nothing seems to work!

D'oh!  Sorry, I misread that originally, and I had thought that it was
saying that we shouldn't mix different branches of ports together, not
different branches of ports and the system.  Indeed, that exactly what
I've done.

My apologies, a classic RTFM.

-Ersin


-- 
Ersin Y. Akinci -- ersinakinci.com

What Digital Revolution? -- www.whatdigitalrevolution.com
Thinking critically about digital worlds.



Re: ports not detecting packages in PKG_PATH

2010-11-10 Thread James Hartley
On Wed, Nov 10, 2010 at 1:48 AM, Ersin Akinci ersin.aki...@gmail.comwrote:

 Do the packages in current
 normally find themselves in the next release?


Yes.



Re: ports not detecting packages in PKG_PATH

2010-11-10 Thread Tomas Bodzar
On Wed, Nov 10, 2010 at 8:59 AM, Ersin Akinci ersin.aki...@gmail.com wrote:
 But you wrote that you upgraded ports from release to current. Did you
 upgrade your system to current too?

 Every time use mirrors for packages, it saves bandwidth and you can
 have couple of them in PKG_PATH.

 Quoth section 15 of the FAQ: Do NOT check out a -current ports tree
 and expect it to work on a -release or -stable system. This is one of
 the most common errors and you will irritate people when you ask for
 help about why nothing seems to work!

 D'oh! B Sorry, I misread that originally, and I had thought that it was
 saying that we shouldn't mix different branches of ports together, not
 different branches of ports and the system. B Indeed, that exactly what
 I've done.

 My apologies, a classic RTFM.

You found that so no problem ;-) Now you can do rm -rf /usr/ports and
then unpack ports.tar.gz for 4.8 release again


 -Ersin


 --
 Ersin Y. Akinci -- ersinakinci.com

 What Digital Revolution? -- www.whatdigitalrevolution.com
 Thinking critically about digital worlds.



Re: ports not detecting packages in PKG_PATH

2010-11-10 Thread Tomas Bodzar
On Wed, Nov 10, 2010 at 1:24 PM, Paolo Aglialoro paol...@gmail.com wrote:
 Every time use mirrors for packages, it saves bandwidth and you can
 have couple of them in PKG_PATH.


 By which exact syntax?

It's written in FAQ and in man. Use colon ( : ) for separation of entries.



Re: ports not detecting packages in PKG_PATH

2010-11-10 Thread Ersin Akinci
 You found that so no problem ;-) Now you can do rm -rf /usr/ports and
 then unpack ports.tar.gz for 4.8 release again

I just wish there was some way to get gnash 0.88 on stable...that was
really the only reason I tried to upgrade.  Do the packages in current
normally find themselves in the next release?  I noticed that Gnash
.83p4 is in 4.8 and was released to ports on June 25th, just a few
months before 4.8's release...so maybe we can get the YouTube-y
goodness of .88 in time for 4.9 =D??

-- 
Ersin Y. Akinci -- ersinakinci.com

What Digital Revolution? -- www.whatdigitalrevolution.com
Thinking critically about digital worlds.



Re: ports not detecting packages in PKG_PATH

2010-11-10 Thread Stuart Henderson
On 2010-11-10, Paolo Aglialoro paol...@gmail.com wrote:
 Every time use mirrors for packages, it saves bandwidth and you can
 have couple of them in PKG_PATH.


 By which exact syntax?



pkg_add(1) gives you the syntax, personally I don't see much advantage
to listing more than one mirror there, if you use releases all mirrors
should have all the files anyway, if you use snapshots you increase
the chance of mismatching packages from several different builds.



Re: ports not detecting packages in PKG_PATH

2010-11-10 Thread Paolo Aglialoro
 Every time use mirrors for packages, it saves bandwidth and you can
 have couple of them in PKG_PATH.


By which exact syntax?



Re: ports not detecting packages in PKG_PATH

2010-11-10 Thread Paolo Aglialoro
THX to all for insight

On Wed, Nov 10, 2010 at 1:48 PM, Stuart Henderson s...@spacehopper.orgwrote:

 On 2010-11-10, Paolo Aglialoro paol...@gmail.com wrote:
  Every time use mirrors for packages, it saves bandwidth and you can
  have couple of them in PKG_PATH.
 
 
  By which exact syntax?
 
 

 pkg_add(1) gives you the syntax, personally I don't see much advantage
 to listing more than one mirror there, if you use releases all mirrors
 should have all the files anyway, if you use snapshots you increase
 the chance of mismatching packages from several different builds.



Re: ports not detecting packages in PKG_PATH

2010-11-10 Thread Kevin Chadwick
On Wed, 10 Nov 2010 08:39:35 +0100
Tomas Bodzar tomas.bod...@gmail.com wrote:

  Sorry, I should have specified that I have FETCH_PACKAGES=Yes in 
  /etc/mk.conf.  

I found when using fetch_packages I had to use make install rather than
make package. Hardly a big deal, but is that expected?



Re: ports not detecting packages in PKG_PATH

2010-11-10 Thread Marc Espie
On Wed, Nov 10, 2010 at 05:42:24PM +, Kevin Chadwick wrote:
 On Wed, 10 Nov 2010 08:39:35 +0100
 Tomas Bodzar tomas.bod...@gmail.com wrote:
 
   Sorry, I should have specified that I have FETCH_PACKAGES=Yes in 
   /etc/mk.conf.  
 
 I found when using fetch_packages I had to use make install rather than
 make package. Hardly a big deal, but is that expected?
Yes



ports not detecting packages in PKG_PATH

2010-11-09 Thread Ersin Akinci
Hi,

I recently upgraded my ports tree from 4.8 release to current, but now
it's not detecting any dependency packages in my PKG_PATH.  PKG_PATH
is set to the main openbsd.org package site and pkg_add works
perfectly fine.  I did notice that I was trying to use ports earlier
tonight with a different PKG_PATH set to a mirror that was apparently
offline, and that's when I changed it to the master site.  Is ports
perhaps remembering the wrong site?

Valete,
Ersin

-- 
Ersin Y. Akinci -- ersinakinci.com

What Digital Revolution? -- www.whatdigitalrevolution.com
Thinking critically about digital worlds.



Re: ports not detecting packages in PKG_PATH

2010-11-09 Thread Ersin Akinci
 read this first http://www.openbsd.org/faq/faq15.html

 ports don't use PKG_PATH, but AnonCVS for updates/upgrades. Ports are
 using PKG_PATH only when you set FETCH_PACKAGES see here
 http://www.openbsd.org/cgi-bin/man.cgi?query=portssektion=7

Sorry, I should have specified that I have FETCH_PACKAGES=Yes in /etc/mk.conf.

-- 
Ersin Y. Akinci -- ersinakinci.com

What Digital Revolution? -- www.whatdigitalrevolution.com
Thinking critically about digital worlds.



Re: ports not detecting packages in PKG_PATH

2010-11-09 Thread Tomas Bodzar
On Wed, Nov 10, 2010 at 8:01 AM, Ersin Akinci ersin.aki...@gmail.com wrote:
 Hi,

 I recently upgraded my ports tree from 4.8 release to current, but now
 it's not detecting any dependency packages in my PKG_PATH. B PKG_PATH
 is set to the main openbsd.org package site and pkg_add works
 perfectly fine. B I did notice that I was trying to use ports earlier
 tonight with a different PKG_PATH set to a mirror that was apparently
 offline, and that's when I changed it to the master site. B Is ports
 perhaps remembering the wrong site?

read this first http://www.openbsd.org/faq/faq15.html

ports don't use PKG_PATH, but AnonCVS for updates/upgrades. Ports are
using PKG_PATH only when you set FETCH_PACKAGES see here
http://www.openbsd.org/cgi-bin/man.cgi?query=portssektion=7


 Valete,
 Ersin

 --
 Ersin Y. Akinci -- ersinakinci.com

 What Digital Revolution? -- www.whatdigitalrevolution.com
 Thinking critically about digital worlds.



Re: ports not detecting packages in PKG_PATH

2010-11-09 Thread Tomas Bodzar
On Wed, Nov 10, 2010 at 8:32 AM, Ersin Akinci ersin.aki...@gmail.com wrote:
 read this first http://www.openbsd.org/faq/faq15.html

 ports don't use PKG_PATH, but AnonCVS for updates/upgrades. Ports are
 using PKG_PATH only when you set FETCH_PACKAGES see here
 http://www.openbsd.org/cgi-bin/man.cgi?query=portssektion=7

 Sorry, I should have specified that I have FETCH_PACKAGES=Yes in /etc/mk.conf.

But you wrote that you upgraded ports from release to current. Did you
upgrade your system to current too?

Every time use mirrors for packages, it saves bandwidth and you can
have couple of them in PKG_PATH.


 --
 Ersin Y. Akinci -- ersinakinci.com

 What Digital Revolution? -- www.whatdigitalrevolution.com
 Thinking critically about digital worlds.