Problem with freebsd-update

2012-06-19 Thread Doug Hardie
I tried to update an amd64 FreeBSD 9.0 p0 system via freebsd-update tonight.  
It fetched everything fine.  However, the install just hung after about 10 
minutes.  The 2 sh processes are basically doing nothing.  Not consuming any 
processor time and not doing any I/O.  I killed it and tried another install.  
Same thing.  Tried a rollback.  Same thing.  The system still runs mostly.  Top 
takes about 5 minutes before it produces any output.  It shows basically 
nothing running.  I really don't want to reinstall again as the system has a 
lot of files customized including many ports.  Is there any way to recover this?


___
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: Problem with freebsd-update on 7.3-RELEASE

2011-01-31 Thread Konstantin Vasilyev
27.01.2011 15:19, Konstantin Vasilyev пишет:
> Ok.
> Things a not good :-(
> freebsd-update produce a lot of output like this
>> /usr/src/sys/kern/uipc_mbuf.c has SHA256 hash 
>> 893beadfcf15784f31553ea142867c2949422d6937cb61f11a0f42ae3d7727fc, but should 
>> have SHA256 hash 
>> ce374f0d9434d08ee35769f8cbad7ca074506b814394b30d19d2aebcf3b2a29c.
>> /usr/src/sys/nfsclient/nfs_vfsops.c has SHA256 hash 
>> 7a69b307a5df13994c8c229946e3f20cdb22268ca967f596c70477c82250c7d2, but should 
>> have SHA256 hash 
>> 397e464eea58b339597b4a3ee6117ad9b58827814462131153070c2a067e357d.
>> /usr/src/sys/nfsclient/nfs_vfsops.c has SHA256 hash 
>> 7a69b307a5df13994c8c229946e3f20cdb22268ca967f596c70477c82250c7d2, but should 
>> have SHA256 hash 
>> c54c0c265e22fdb7a323680ccbc25859fc171ebec485a68a06eae774683321ab.
>> /usr/src/usr.bin/lex/mkskel.sh has 0755 permissions, but should have 0744 
>> permissions.
>> /usr/src/usr.sbin/pkg_install/tkpkg has 0755 permissions, but should have 
>> 0754 permissions.
> My system is out of sync now.
> Question is How can I sync my system?
> 
> --
> With best regards,
> Konstantin Vasilyev
> 
> 
> 27.01.2011 12:31, Brian DeFreitas пишет:
>> Konstantin Vasilyev wrote:
>>> I know about how freedsd-update work.
>>> I use for a long time.
>>> But I don't understand why is freebsd-update going to update
 FreeBSD ota2.cellnetrix.com 7.3-RELEASE-p4 FreeBSD 7.3-RELEASE-p4
>>> to
 The following files will be updated as part of updating to 
 7.3-RELEASE-p4:...
>>
>> Ah, I see the problem now. 
>>
>> The only thing I can think of is that your kernel and world might be out
>> of sync, but if you're used to freebsd-update that seems unlikely.
>>
>> What's the output of 'freebsd-update IDS' ? I've had luck running that
>> to see what freebsd-update thinks is going on with the system.
>>
>> ___
>> 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"
>>
> 
> ___
> 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"
> 

I'm trying to refresh post.
Please give me an idea how to make my system updatable via freebsd-update.

--
With best regards,
Konstantin Vasilyev

___
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: Problem with freebsd-update on 7.3-RELEASE

2011-01-27 Thread Konstantin Vasilyev
Ok.
Things a not good :-(
freebsd-update produce a lot of output like this
> /usr/src/sys/kern/uipc_mbuf.c has SHA256 hash 
> 893beadfcf15784f31553ea142867c2949422d6937cb61f11a0f42ae3d7727fc, but should 
> have SHA256 hash 
> ce374f0d9434d08ee35769f8cbad7ca074506b814394b30d19d2aebcf3b2a29c.
> /usr/src/sys/nfsclient/nfs_vfsops.c has SHA256 hash 
> 7a69b307a5df13994c8c229946e3f20cdb22268ca967f596c70477c82250c7d2, but should 
> have SHA256 hash 
> 397e464eea58b339597b4a3ee6117ad9b58827814462131153070c2a067e357d.
> /usr/src/sys/nfsclient/nfs_vfsops.c has SHA256 hash 
> 7a69b307a5df13994c8c229946e3f20cdb22268ca967f596c70477c82250c7d2, but should 
> have SHA256 hash 
> c54c0c265e22fdb7a323680ccbc25859fc171ebec485a68a06eae774683321ab.
> /usr/src/usr.bin/lex/mkskel.sh has 0755 permissions, but should have 0744 
> permissions.
> /usr/src/usr.sbin/pkg_install/tkpkg has 0755 permissions, but should have 
> 0754 permissions.
My system is out of sync now.
Question is How can I sync my system?

--
With best regards,
Konstantin Vasilyev


27.01.2011 12:31, Brian DeFreitas пишет:
> Konstantin Vasilyev wrote:
>> I know about how freedsd-update work.
>> I use for a long time.
>> But I don't understand why is freebsd-update going to update
>>> FreeBSD ota2.cellnetrix.com 7.3-RELEASE-p4 FreeBSD 7.3-RELEASE-p4
>> to
>>> The following files will be updated as part of updating to 
>>> 7.3-RELEASE-p4:...
> 
> Ah, I see the problem now. 
> 
> The only thing I can think of is that your kernel and world might be out
> of sync, but if you're used to freebsd-update that seems unlikely.
> 
> What's the output of 'freebsd-update IDS' ? I've had luck running that
> to see what freebsd-update thinks is going on with the system.
> 
> ___
> 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"
> 

___
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: Problem with freebsd-update on 7.3-RELEASE

2011-01-27 Thread Brian DeFreitas
Konstantin Vasilyev wrote:
> I know about how freedsd-update work.
> I use for a long time.
> But I don't understand why is freebsd-update going to update
> > FreeBSD ota2.cellnetrix.com 7.3-RELEASE-p4 FreeBSD 7.3-RELEASE-p4
> to
> > The following files will be updated as part of updating to 
> > 7.3-RELEASE-p4:...

Ah, I see the problem now. 

The only thing I can think of is that your kernel and world might be out
of sync, but if you're used to freebsd-update that seems unlikely.

What's the output of 'freebsd-update IDS' ? I've had luck running that
to see what freebsd-update thinks is going on with the system.

___
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: Problem with freebsd-update on 7.3-RELEASE

2011-01-27 Thread Konstantin Vasilyev
I know about how freedsd-update work.
I use for a long time.
But I don't understand why is freebsd-update going to update
> FreeBSD ota2.cellnetrix.com 7.3-RELEASE-p4 FreeBSD 7.3-RELEASE-p4
to
> The following files will be updated as part of updating to 7.3-RELEASE-p4:...

--
With best regards,
Konstantin Vasilyev


27.01.2011 10:56, Brian DeFreitas пишет:
> Konstantin Vasilyev wrote:
>> Hi all!
>>
>> I have installed
>> %uname -a
>> FreeBSD ota2.cellnetrix.com 7.3-RELEASE-p4 FreeBSD 7.3-RELEASE-p4 #3:
>> Tue Jan 25 19:19:34 MSK 2011
>> kvasi...@ota2.cellnetrix.com:/usr/obj/usr/src/sys/GENERIC  i386
>>
>> I have
>> @daily   freebsd-update cron
>> in root's crontab.
>>
>> Why does freebsd-update mail me the following?
> [...]
>> Who can give me ideas what's happening?
> 
> Have you checked the man page for freebsd-update(8) ?
> 
> cron Sleep a random amount of time between 1 and 3600 seconds,
>  then download updates as if the fetch command was used.  If
>  updates are downloaded, an email will be sent (to root or a
>  different address if specified via the -t option or in the
>  configuration file).
> 
> Sounds exactly like the expected behavior to me.
> 
> So, the cron subcommand only does the 'fetch' part of freebsd-update.
> You'll still need to run 'freebsd-update install' to actually install
> the updates.
> 
> ___
> 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"
> 

___
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: Problem with freebsd-update on 7.3-RELEASE

2011-01-27 Thread Brian DeFreitas
Konstantin Vasilyev wrote:
> Hi all!
> 
> I have installed
> %uname -a
> FreeBSD ota2.cellnetrix.com 7.3-RELEASE-p4 FreeBSD 7.3-RELEASE-p4 #3:
> Tue Jan 25 19:19:34 MSK 2011
> kvasi...@ota2.cellnetrix.com:/usr/obj/usr/src/sys/GENERIC  i386
> 
> I have
> @dailyfreebsd-update cron
> in root's crontab.
> 
> Why does freebsd-update mail me the following?
[...]
> Who can give me ideas what's happening?

Have you checked the man page for freebsd-update(8) ?

cron Sleep a random amount of time between 1 and 3600 seconds,
 then download updates as if the fetch command was used.  If
 updates are downloaded, an email will be sent (to root or a
 different address if specified via the -t option or in the
 configuration file).

Sounds exactly like the expected behavior to me.

So, the cron subcommand only does the 'fetch' part of freebsd-update.
You'll still need to run 'freebsd-update install' to actually install
the updates.

___
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"


Problem with freebsd-update on 7.3-RELEASE

2011-01-26 Thread Konstantin Vasilyev
Hi all!

I have installed
%uname -a
FreeBSD ota2.cellnetrix.com 7.3-RELEASE-p4 FreeBSD 7.3-RELEASE-p4 #3:
Tue Jan 25 19:19:34 MSK 2011
kvasi...@ota2.cellnetrix.com:/usr/obj/usr/src/sys/GENERIC  i386

I have
@daily  freebsd-update cron
in root's crontab.

Why does freebsd-update mail me the following?

> Looking up update.FreeBSD.org mirrors... 4 mirrors found.
> Fetching metadata signature for 7.3-RELEASE from update4.FreeBSD.org... done.
> Fetching metadata index... done.
> Inspecting system... done.
> Preparing to download files... done.
> 
> The following files are affected by updates, but no changes have
> been downloaded because the files have been modified locally:
> /var/db/mergemaster.mtree
> 
> The following files will be updated as part of updating to 7.3-RELEASE-p4:
> /boot/kernel/kernel
> /boot/kernel/kernel.symbols
> /boot/kernel/nfsclient.ko
> /boot/kernel/nfsclient.ko.symbols
> /usr/lib/libbz2.a
> /usr/lib/libbz2_p.a
> /usr/lib/libopie.a
> /usr/lib/libopie_p.a
> /usr/lib/libssl.a
> /usr/lib/libssl_p.a
> /usr/lib/libstand.a
> /usr/share/man/man2/mount.2.gz
> /usr/share/man/man2/nmount.2.gz
> /usr/share/man/man2/unmount.2.gz
> /usr/src/contrib/opie/libopie/readrec.c
> /usr/src/lib/libc/sys/mount.2
> /usr/src/sys/conf/newvers.sh
> /usr/src/sys/kern/uipc_mbuf.c
> /usr/src/sys/nfsclient/nfs_vfsops.c

Who can give me ideas what's happening?

--
With best regards,
Konstantin Vasilyev

___
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"


problem with" freebsd-update-upgrade.tgz.asc"

2008-10-23 Thread alasdair
Hi,
 I have downloaded the above script from 
http://www.daemonology.net/blog/2007-11-11-freebsd-major-version-upgrade.html

Installed gpg all set up ok AFAICT.

put the freebsd security officer's public key on my gpg keyring . 

Used the following command to verify the file:
localhost# gpg --verify freebsd-update-upgrade.tgz.asc 
freebsd-update-upgrade.tgz
gpg: can't open signed data `freebsd-update-upgrade.tgz'
gpg: can't hash datafile: No such file or directory
localhost# 

AFAICT the public key is ok 


pub   1024D/CA6CDFB2 2002-08-27
uid  FreeBSD Security Officer <[EMAIL PROTECTED]>
sub   2048g/A3071809 2002-08-27

Apart from the fact that the file could be dodgy (?) What could be the problem?

Have I used the wrong key? I imagine the error msg would be different if
that was the case.

Thanks,

Alasdair

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Problem with freebsd-update

2007-04-17 Thread Eric

Dmitry wrote:

Hello freebsd-questions,

  I need to update mpd4 binary package via freebsd-update. After
  installing FreeBSD 6.2 RELEASE I have mpd4-4.0b4.

  Settings in /etc/freebsd-update.conf:
  Components src world kernel

  After running commands freebsd-update fetch, then freebsd-update
  install I still have the same mpd4-4.0b4 version.

  I saw in http://www.freebsd.org/cgi/ports.cgi?query=mpd&stype=all
  that the last version is mpd-4.1 
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/All/mpd-4.1.tbz

  How can I upgrade to the last packages versions with freebsd-update?


maybe I am wrong here, but isnt mpd4 a port? Freebsd-update is for the 
base system, not ports, so it wont be able to update the mpd4 port. Try 
portsnap and portmaster to update your ports.


Eric
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Problem with freebsd-update

2007-04-17 Thread Dmitry
Hello freebsd-questions,

  I need to update mpd4 binary package via freebsd-update. After
  installing FreeBSD 6.2 RELEASE I have mpd4-4.0b4.

  Settings in /etc/freebsd-update.conf:
  Components src world kernel

  After running commands freebsd-update fetch, then freebsd-update
  install I still have the same mpd4-4.0b4 version.

  I saw in http://www.freebsd.org/cgi/ports.cgi?query=mpd&stype=all
  that the last version is mpd-4.1 
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/All/mpd-4.1.tbz

  How can I upgrade to the last packages versions with freebsd-update?
-- 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"