How to update like Debian

2011-09-29 Thread Denny Schierz
hi,

I think, I do not understand, how to update (security/bugfixes) my 8.2 machines 
:-) I searched a lot and tried, what I have found in the docs, but I had 
trouble ...

What I have done (one thing was working, but didn't know, if it is correct):

From the Docs:

# /usr/sbin/freebsd-update fetch   
Looking up update.FreeBSD.org mirrors... 4 mirrors found.
Fetching public key from update4.FreeBSD.org... failed.
Fetching public key from update2.FreeBSD.org... failed.
Fetching public key from update5.FreeBSD.org... failed.
Fetching public key from update3.FreeBSD.org... failed.
No mirrors remaining, giving up.

Other docs:

# portsnap fetch update

Looking up portsnap.FreeBSD.org mirrors... 5 mirrors found.
Fetching snapshot tag from portsnap2.FreeBSD.org... done.
Fetching snapshot metadata... done.
Updating from Tue Sep 13 12:54:18 CEST 2011 to Thu Sep 29 17:30:27 CEST 2011.
Fetching 3 metadata patches.. done.
Applying metadata patches... done.
Fetching 3 metadata files... done.
Fetching 3679 patches.10203040

(a lot of output)

# portsnap extract


pkg_add -r portmanager
portmanager -u
[...]

my problem is especial, that portmanager asks me a lot, like Include support 
for X or opengl, LaTeX ... questions I don't want. My problem is now, that I 
have now a lot of programs installed, on a ISCSI target only machine.

I want something like Debian with apt-get update  apt-get upgrade

So I'm sure that I have done something in a wrong way.

I also know, that I can use /etc/make.conf:

WITHOUT_X11=yes
USE_NONDEFAULT_X11BASE=yes
[...]

but, is this needed to _keep_ a minimal system?

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


Re: How to update like Debian

2011-09-29 Thread Freddie Cash
On Thu, Sep 29, 2011 at 9:02 AM, Denny Schierz linuxm...@4lin.net wrote:

 I think, I do not understand, how to update (security/bugfixes) my 8.2
 machines :-) I searched a lot and tried, what I have found in the docs, but
 I had trouble ...

 What I have done (one thing was working, but didn't know, if it is
 correct):


Updating FreeBSD is done is two separate processes, which can be done
independently of one another.

There is a clear separation between the base FreeBSD OS and third-party
apps installed on top.  This is something that is missing in the land of
the penguin, and tends to trip people up as they switch between FreeBSD and
Linux (in either direction).

To do a binary upgrade of the base OS, you use freebsd-update:
  # freebsd-update fetch
  # freebsd-update update

See the freebsd-update man page for more details and options.

That updates only the base OS (stuff under / and /usr; it does not touch
anything under /usr/local).


There are several different ways to update your installed third-party
software (stuff installed via either pkg_add or the ports tree), depending
on whether or not you want to compile software.  Since you want have a
Debian-like experience, then you want to install via binary packages as much
as possible.

See the man page for pkg_add for information on doing the initial install of
software, including remotely fetching software (this would be similar to
apt-get install without any upgrade support).

A nice tool for handling upgrades of binary packages, using only binary
packages, is pkg_upgrade.  This is part of the bsdadminscripts package, so
you'll need to install that first.  Using pkg_add and pkg_upgrade, you do
not even need to install the ports tree (and can even rm -rf
/usr/ports/*).

That's about as close to a Debian-like experience as you'll get.
-- 
Freddie Cash
fjwc...@gmail.com
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: How to update like Debian

2011-09-29 Thread Mark Saad
On Thu, Sep 29, 2011 at 12:35 PM, Freddie Cash fjwc...@gmail.com wrote:
 On Thu, Sep 29, 2011 at 9:02 AM, Denny Schierz linuxm...@4lin.net wrote:

 I think, I do not understand, how to update (security/bugfixes) my 8.2
 machines :-) I searched a lot and tried, what I have found in the docs, but
 I had trouble ...

 What I have done (one thing was working, but didn't know, if it is
 correct):


 Updating FreeBSD is done is two separate processes, which can be done
 independently of one another.

 There is a clear separation between the base FreeBSD OS and third-party
 apps installed on top.  This is something that is missing in the land of
 the penguin, and tends to trip people up as they switch between FreeBSD and
 Linux (in either direction).

 To do a binary upgrade of the base OS, you use freebsd-update:
  # freebsd-update fetch
  # freebsd-update update

 See the freebsd-update man page for more details and options.

 That updates only the base OS (stuff under / and /usr; it does not touch
 anything under /usr/local).


 There are several different ways to update your installed third-party
 software (stuff installed via either pkg_add or the ports tree), depending
 on whether or not you want to compile software.  Since you want have a
 Debian-like experience, then you want to install via binary packages as much
 as possible.

 See the man page for pkg_add for information on doing the initial install of
 software, including remotely fetching software (this would be similar to
 apt-get install without any upgrade support).

Two other options to keep ports up to date are portupgrade in
ports-mgmt/portupgrade
and portmaster in ports-mgmt/portmaster .
To see some real world example of using it check the man page for each and
take a look at /usr/ports/UPDATING you will see some example of how to
upgrade major port changes

Check out the entry from 20110517 about upgrading to perl 5.14 and
removing the older version and fixing all the depends.

In the debian world there is no exact comparison for this , major
changes like this could/would be done by the maintainers and pushed
out as debs with some warnings.

portmaster and portupgrade both do the same relative tasks, the best
advice would be to try both and see which you like. Also stick to
using one port management tool . If you want to manually upgrade try
to do that, if you want a wrapper like portupgrade use portinstall /
portupgrade . Mixing and matching ports management tools for me imho a
bad idea for beginners.

 A nice tool for handling upgrades of binary packages, using only binary
 packages, is pkg_upgrade.  This is part of the bsdadminscripts package, so
 you'll need to install that first.  Using pkg_add and pkg_upgrade, you do
 not even need to install the ports tree (and can even rm -rf
 /usr/ports/*).

 That's about as close to a Debian-like experience as you'll get.
 --
 Freddie Cash
 fjwc...@gmail.com
 ___
 freebsd-stable@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-stable
 To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org




-- 
mark saad | nones...@longcount.org
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: How to update like Debian

2011-09-29 Thread Denny Schierz

Am 29.09.2011 um 18:35 schrieb Freddie Cash:

 To do a binary upgrade of the base OS, you use freebsd-update:
  # freebsd-update fetch
  # freebsd-update update

That was the first, what I have found, but I get only errors:

#  freebsd-update fetch
Looking up update.FreeBSD.org mirrors... 4 mirrors found.
Fetching public key from update4.FreeBSD.org... failed.
Fetching public key from update5.FreeBSD.org... failed.
Fetching public key from update2.FreeBSD.org... failed.
Fetching public key from update3.FreeBSD.org... failed.
No mirrors remaining, giving up.


There was also no solution for this problem. I  think it has something to do 
with the release I run:

 8.2-STABLE FreeBSD 8.2-STABLE #0: Thu Jul  7 13:20:14 CEST 2011  

and freebsd-updated wants to fetch GPG files, without success.

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


Re: How to update like Debian

2011-09-29 Thread Glen Barber
Hi,

On 9/29/11 1:45 PM, Denny Schierz wrote:
 #  freebsd-update fetch
 Looking up update.FreeBSD.org mirrors... 4 mirrors found.
 Fetching public key from update4.FreeBSD.org... failed.
 Fetching public key from update5.FreeBSD.org... failed.
 Fetching public key from update2.FreeBSD.org... failed.
 Fetching public key from update3.FreeBSD.org... failed.
 No mirrors remaining, giving up.
 
 
 There was also no solution for this problem. I  think it has something to do 
 with the release I run:
 
  8.2-STABLE FreeBSD 8.2-STABLE #0: Thu Jul  7 13:20:14 CEST 2011  
 

This is indeed correct.  freebsd-update(8) does not provide binary
updates for the -STABLE branches (outside of -RC release candidates
occasionally).

Regards,

Glen

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


Re: How to update like Debian

2011-09-29 Thread Matthew Seaman
On 29/09/2011 18:45, Denny Schierz wrote:
 There was also no solution for this problem. I  think it has something to do 
 with the release I run:
 
  8.2-STABLE FreeBSD 8.2-STABLE #0: Thu Jul  7 13:20:14 CEST 2011  
 

8.2-STABLE isn't a release.  It's from a development branch.  You need
to download sources in some fashion and rebuild the system yourself if
you're going to track STABLE.  There are numerous ways of pulling down
the FreeBSD sources, well documented in the Handbook.  The Handbook also
covers building and updating your system by compiling those sources.
The Handbook is your friend.

If you want a more Debian-like experience, then you need to be running
an actual released version of the OS.

Releases are called things like 8.2-RELEASE-p2  In general, if it
doesn't have 'RELEASE' in the name then it isn't one, and usually it
won't be supported through freebsd-update(8).  (Exceptions are -BETAx
and -RCx (release candidate) versions generated for testing by
freebsd-update users during the release process, but those only have a
very limited lifespan.)

Unfortunately to get from -STABLE to -RELEASE and to have that work with
freebsd-update(8), you will basically have to reinstall your system from
install media downloaded from one of the FreeBSD FTP sites.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
JID: matt...@infracaninophile.co.uk   Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: How to update like Debian

2011-09-29 Thread Denny Schierz
hi,

Am 29.09.2011 um 21:06 schrieb Matthew Seaman:

 Releases are called things like 8.2-RELEASE-p2  In general, if it
 doesn't have 'RELEASE' in the name then it isn't one, and usually it

Ah, ok, it's getting more clearly. We have some jbods connected on a LSI 
9200-8e which uses the mps driver and this driver isn't in the RELEASE version, 
only in STABLE ... that could be the problem.

Thanks

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