Re: pkg_add -u not working

2006-06-21 Thread atstake atstake

On 6/21/06, Benjamin Collins [EMAIL PROTECTED] wrote:

What I expect the tool to do if I invoke it like
$ sudo pkg_add -u
is to do this (from pkg_add(1)):
If no pkgname is given, pkg_add will update all installed packages.

What actually happens after the above invocation is what Sebastian
pointed out - updatable package names are printed, but nothing is
actually updated.


This is exactly what happens in my 3.9-stable on i386 as well. But if
I do: pkg_add -ui pkg_name it updates the pkg_name + dependencies
just fine.



Re: pkg_add -u not working

2006-06-20 Thread Benjamin Collins
On Sun, Jun 18, 2006 at 01:43:44PM +0200, Marc Espie wrote:
 You'd better really start explaining what you are doing, and what you
 expect the tools to do...

 so far, you are not making any kind of point.

 pkg_add -ui does exactly what it is supposed to at this point in time.
 If it doesn't work for you, it's probably because there's something you
 have completely not understood...

Let me see chime in here, because I've been wondering about this as well.

What I expect the tool to do if I invoke it like

$ sudo pkg_add -u

is to do this (from pkg_add(1)):
If no pkgname is given, pkg_add will update all installed packages.

What actually happens after the above invocation is what Sebastian
pointed out - updatable package names are printed, but nothing is
actually updated.
 # pkg_add -uv

 Candidates for updating atk-1.10.1 - atk-1.10.3p1
 Candidates for updating glib2-2.6.4 - glib2-2.8.4
 Looking for updates: complete

bc

[demime 1.01d removed an attachment of type application/pgp-signature]



Re: pkg_add -u not working

2006-06-20 Thread Will Maier
On Tue, Jun 20, 2006 at 09:29:08AM -0500, Benjamin Collins wrote:
 What actually happens after the above invocation is what Sebastian
 pointed out - updatable package names are printed, but nothing is
 actually updated.

And you're running 3.9 or -current?

-- 

o--{ Will Maier }--o
| jabber:[EMAIL PROTECTED] | [EMAIL PROTECTED] |
| freenode:..lt_kije | freenode:..#openbsd,#madlug |
*--[ BSD Unix: Live Free or Die ]--*



Re: pkg_add -u not working

2006-06-20 Thread sebastian . rother
 On Tue, Jun 20, 2006 at 09:29:08AM -0500, Benjamin Collins wrote:
 What actually happens after the above invocation is what Sebastian
 pointed out - updatable package names are printed, but nothing is
 actually updated.

 And you're running 3.9 or -current?

3.9-amd64 (stable).
But it was mentioned that there are no updated packages avaiable for amd64...
Yes I can update using Ports... but it`s realy not so good (compared to
pkg_add -ui).

*my oppinion*
There are not so many updates in the STABLE-Branch so I realy don`t
understand why nobody can spend 3hrs of Compiling (a day, in the night,
even developers have to speel :)) ) STABLE Packages (just the updated
software! Not ALL Packages..).
It`s realy something I can`t understand if it deals with the great idea of
pkg_add -ui.
*/my oppinion*

Kidn regards,
Sebastian



Re: pkg_add -u not working

2006-06-20 Thread Will Maier
On Tue, Jun 20, 2006 at 06:41:09PM +0200, [EMAIL PROTECTED] wrote:
 3.9-amd64 (stable).
 But it was mentioned that there are no updated packages avaiable for amd64...
 Yes I can update using Ports... but it`s realy not so good (compared to
 pkg_add -ui).

Right; pkg_add is nice.

 *my oppinion*
 There are not so many updates in the STABLE-Branch so I realy
 don`t understand why nobody can spend 3hrs of Compiling (a day, in
 the night, even developers have to speel :)) ) STABLE Packages
 (just the updated software! Not ALL Packages..).  It`s realy
 something I can`t understand if it deals with the great idea of
 pkg_add -ui.
 */my oppinion*

It's not that developers don't have time; it's that they don't have
resources. We all agree -- it would be great to see updates built
for more/all of the arches. And that can happen, I imagine. The only
problem is money and resources.

So if you care as much about having packages built for your arch as
you seem to, donate money or hardware.

Nikolay has already asked[0] for an amd64 to make -stable packages
happen; can you help?

[0]http://undeadly.org/cgi?action=articlesid=20060619214229

-- 

o--{ Will Maier }--o
| jabber:[EMAIL PROTECTED] | [EMAIL PROTECTED] |
| freenode:..lt_kije | freenode:..#openbsd,#madlug |
*--[ BSD Unix: Live Free or Die ]--*



Re: pkg_add -u not working

2006-06-20 Thread steven mestdagh
[EMAIL PROTECTED] [2006-06-20, 18:41:09]:
 *my oppinion*
 There are not so many updates in the STABLE-Branch so I realy don`t
 understand why nobody can spend 3hrs of Compiling (a day, in the night,
 even developers have to speel :)) ) STABLE Packages (just the updated
 software! Not ALL Packages..).
 It`s realy something I can`t understand if it deals with the great idea of
 pkg_add -ui.
 */my oppinion*

we need a machine for this. see the recent story on undeadly:
http://undeadly.org/cgi?action=articlesid=20060619214229

-- 
steven

Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm



Re: pkg_add -u not working

2006-06-20 Thread Paul de Weerd
On Tue, Jun 20, 2006 at 06:41:09PM +0200, [EMAIL PROTECTED] wrote:
|  On Tue, Jun 20, 2006 at 09:29:08AM -0500, Benjamin Collins wrote:
|  What actually happens after the above invocation is what Sebastian
|  pointed out - updatable package names are printed, but nothing is
|  actually updated.
| 
|  And you're running 3.9 or -current?
|
| 3.9-amd64 (stable).
| But it was mentioned that there are no updated packages avaiable for
amd64...
| Yes I can update using Ports... but it`s realy not so good (compared to
| pkg_add -ui).
|
| *my oppinion*
| There are not so many updates in the STABLE-Branch so I realy don`t
| understand why nobody can spend 3hrs of Compiling (a day, in the night,
| even developers have to speel :)) ) STABLE Packages (just the updated
| software! Not ALL Packages..).
| It`s realy something I can`t understand if it deals with the great idea of
| pkg_add -ui.
| */my oppinion*

Consider this for a bit.

What do you need to do those 3 hours of compiling (even though I think
it's more work to get updated packages) ?

You'll need a machine to build them on. You need the this machine to
run the STABLE version you want to build the package for. OpenBSD
developers support two releases, so you'd need two machines (or boot
between two versions in some way or another, adding to the time it
take to release updated packages).

How many pkg-archs does OpenBSD support ?

see ftp://ftp.openbsd.org/pub/OpenBSD/3.9/packages/ :
alpha, amd64, arm, hppa, i386, m68k, m88k, mips64, powerpc, sparc,
sparc64, vax. That's 12 * 2 = 24 package build machines. That's also
24 * 3 = 72 hours of work (granted, some stuff can be done in parallel
but I still believe it to be more than three hours of work, especially
since some archs are quite a bit slower than your run of the mill quad
3GHz AMD64 box). Please remember that OpenBSD is a multi-platform OS.

All these resources could be used to further -current and the -current
ports tree. I find it amazing developers find time to update packages
for older releases for one arch.

Anyway, as can be seen in a recent post from Nikolay Sturm, they are
looking at supporting another arch. If you really want that support to
be there, please consider donating.

See http://www.undeadly.org/cgi?action=articlesid=20060619214229 for
more info on this request.

Cheers,

Paul 'WEiRD' de Weerd

--
[++-]+++.+++[---].+++[+
+++-].++[-]+.--.[-]
 http://www.weirdnet.nl/

[demime 1.01d removed an attachment of type application/pgp-signature]



Re: pkg_add -u not working

2006-06-20 Thread Benjamin Collins
On Tue, Jun 20, 2006 at 09:56:17AM -0500, Will Maier wrote:
 On Tue, Jun 20, 2006 at 09:29:08AM -0500, Benjamin Collins wrote:
  What actually happens after the above invocation is what Sebastian
  pointed out - updatable package names are printed, but nothing is
  actually updated.

 And you're running 3.9 or -current?

I've got one machine running -current, and two others running 3.9-stable.

The behavior is the same on all three.

[demime 1.01d removed an attachment of type application/pgp-signature]



Re: pkg_add -u not working

2006-06-18 Thread Marc Espie
On Sun, Jun 18, 2006 at 12:03:34AM +0200, [EMAIL PROTECTED] wrote:
 In my oppinion the tool does NOT WORK like descriped...
 Why? If you update from 3.8 to 3.9 it MAY work.
 But if a depency was updated or so it totaly fails...
 
 godfather $ sudo pkg_add -ui
 Looking for updates: complete

Are you pointing it at a valid package repository ? doesn't look like it.

 Btw: The other problem of that tool is that the Packages at the FTP must
 be up2date too...

Of course they must ! that's a prerequisite. And guess what ? they often are.

 I would prefere a Ports-Solution for pkg_add -ui but there`s none.

 *my oppinion but I think this examples proofs me right*

You'd better really start explaining what you are doing, and what you
expect the tools to do...

so far, you are not making any kind of point.

pkg_add -ui does exactly what it is supposed to at this point in time.
If it doesn't work for you, it's probably because there's something you
have completely not understood...



pkg_add -u not working

2006-06-17 Thread atstake atstake

I have just upgraded from OpenBSD 3.8 - 3.9. I set my PKG_PATH to
ftp://ftp.openbsd.org/pub/OpenBSD/3.9/packages/i386/

and did a pkg_add -ui -F update -F updatedepends but it doesn't
update all the packages instead just compare them. Here's the output -

# pkg_add -ui -F update -F updatedepends

Error from ftp://ftp.openbsd.org/pub/OpenBSD/3.9/packages/i386/:
Unknown command.
Candidates for updating atk-1.10.1 - atk-1.10.3p1
Candidates for updating bzip2-1.0.3 - bzip2-1.0.3
...

Here's my pkg_path

# echo $PKG_PATH

ftp://ftp.openbsd.org/pub/OpenBSD/3.9/packages/i386/



Re: pkg_add -u not working

2006-06-17 Thread Tobias Ulmer
On Sat, Jun 17, 2006 at 06:38:21PM +1000, atstake atstake wrote:
 I have just upgraded from OpenBSD 3.8 - 3.9. I set my PKG_PATH to
 ftp://ftp.openbsd.org/pub/OpenBSD/3.9/packages/i386/
 
 and did a pkg_add -ui -F update -F updatedepends but it doesn't
 update all the packages instead just compare them. Here's the output -
 
 # pkg_add -ui -F update -F updatedepends
 
 Error from ftp://ftp.openbsd.org/pub/OpenBSD/3.9/packages/i386/:
 Unknown command.
 Candidates for updating atk-1.10.1 - atk-1.10.3p1
 Candidates for updating bzip2-1.0.3 - bzip2-1.0.3
 ...

I'm sure it doesn't output 3 dots. So if you want serious help, provide
the full output of pkg_add. Afaik, the -F flags are not needed because
-i already asks you in tricky situations.

Oh and ignore the unknow command thing, it has to do with the ftp.openbsd.org
server not supporting EPSV or something

Tobias

 
 Here's my pkg_path
 
 # echo $PKG_PATH
 
 ftp://ftp.openbsd.org/pub/OpenBSD/3.9/packages/i386/



Re: pkg_add -u not working

2006-06-17 Thread Craig Skinner
There is always Debian and apt-get


;)



Re: pkg_add -u not working

2006-06-17 Thread atstake atstake

I'm sure it doesn't output 3 dots. So if you want serious help, provide
the full output of pkg_add. Afaik, the -F flags are not needed because
-i already asks you in tricky situations.


Here are 3 diffrerent types of output -

# pkg_add -uv

Candidates for updating atk-1.10.1 - atk-1.10.3p1
Candidates for updating glib2-2.6.4 - glib2-2.8.4
Looking for updates: complete

# pkg_add -ui -F update -F updatedepends

Candidates for updating atk-1.10.1 - atk-1.10.3p1
Candidates for updating glib2-2.6.4 - glib2-2.8.4
Looking for updates: complete

# pkg_add -u atk

Candidates for updating glib2-2.6.4 - glib2-2.8.4
Candidates for updating atk-1.10.1 - atk-1.10.3p1
Looking for updates: complete
Running the equivalent of pkg_add -r glib2-2.8.4 atk-1.10.3p1
glib2-2.8.4 (extracting): complete
glib2-2.6.4 (deleting): complete
glib2-2.8.4 (installing): complete
atk-1.10.3p1 (extracting): complete
atk-1.10.1 (deleting): complete
atk-1.10.3p1 (installing): complete
Clean shared items: complete

Thanks!



Re: pkg_add -u not working

2006-06-17 Thread Tobias Ulmer
On Sun, Jun 18, 2006 at 09:43:53AM +1000, atstake atstake wrote:
 I'm sure it doesn't output 3 dots. So if you want serious help, provide
 the full output of pkg_add. Afaik, the -F flags are not needed because
 -i already asks you in tricky situations.
 
 Here are 3 diffrerent types of output -
 
 # pkg_add -uv
 
 Candidates for updating atk-1.10.1 - atk-1.10.3p1
 Candidates for updating glib2-2.6.4 - glib2-2.8.4
 Looking for updates: complete
 
 # pkg_add -ui -F update -F updatedepends
 
 Candidates for updating atk-1.10.1 - atk-1.10.3p1
 Candidates for updating glib2-2.6.4 - glib2-2.8.4
 Looking for updates: complete
 
 # pkg_add -u atk
 
 Candidates for updating glib2-2.6.4 - glib2-2.8.4
 Candidates for updating atk-1.10.1 - atk-1.10.3p1
 Looking for updates: complete
 Running the equivalent of pkg_add -r glib2-2.8.4 atk-1.10.3p1
 glib2-2.8.4 (extracting): complete
 glib2-2.6.4 (deleting): complete
 glib2-2.8.4 (installing): complete
 atk-1.10.3p1 (extracting): complete
 atk-1.10.1 (deleting): complete
 atk-1.10.3p1 (installing): complete
 Clean shared items: complete
 
 Thanks!
 


The last one just solved your problem (in case you didn't notice). Next
time use 'pkg_add -ui'

Tobias



Re: pkg_add -u not working

2006-06-17 Thread atstake atstake

Hi Tobias,


The last one just solved your problem (in case you didn't notice). Next
time use 'pkg_add -ui'


The last one solved the problem because I gave the package name (atk
in this case). If I didn't give the package name it would just have
compared and exited like before.