Re: freebsd package update / upgrade

2012-02-21 Thread alexus
f9# portupgrade --use-packages-only -av
---  Session started at: Tue, 21 Feb 2012 22:44:07 -0500
[Updating the portsdb format:bdb_btree in /usr/ports ... - 23025
port entries found
.1000.2000.3000.4000.5000.6000.7000.8000.9000.1.11000.12000.13000.14000.15000.16000.17000.18000.19000.2.21000.22000.23000
. done]
---  Checking for the latest package of 'x11/xcb-util'
** No such file or directory - /usr/ports/packages/All
---  Fetching the package(s) for 'xcb-util-0.3.6,1' (x11/xcb-util)
---  Fetching xcb-util-0.3.6,1
++ Will try the following sites in the order named:
ftp://ftp.FreeBSD.org//pub/FreeBSD/ports/amd64/packages-9.0-release/
---  Invoking a command: /usr/bin/fetch -o
'/var/tmp/portupgradezRNyMfFc/xcb-util-0.3.6,1.tbz'
'ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/amd64/packages-9.0-release/All/xcb-util-0.3.6,1.tbz'
fetch: 
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/amd64/packages-9.0-release/All/xcb-util-0.3.6,1.tbz:
File unavailable (e.g., file not found, no access)
** The command returned a non-zero exit status: 1
** Failed to fetch
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/amd64/packages-9.0-release/All/xcb-util-0.3.6,1.tbz
---  Invoking a command: /usr/bin/fetch -o
'/var/tmp/portupgradezRNyMfFc/xcb-util-0.3.6,1.txz'
'ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/amd64/packages-9.0-release/All/xcb-util-0.3.6,1.txz'
fetch: 
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/amd64/packages-9.0-release/All/xcb-util-0.3.6,1.txz:
File unavailable (e.g., file not found, no access)
** The command returned a non-zero exit status: 1
** Failed to fetch
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/amd64/packages-9.0-release/All/xcb-util-0.3.6,1.txz
---  Invoking a command: /usr/bin/fetch -o
'/var/tmp/portupgradezRNyMfFc/xcb-util-0.3.6,1.tgz'
'ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/amd64/packages-9.0-release/All/xcb-util-0.3.6,1.tgz'
fetch: 
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/amd64/packages-9.0-release/All/xcb-util-0.3.6,1.tgz:
File unavailable (e.g., file not found, no access)
** The command returned a non-zero exit status: 1
** Failed to fetch
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/amd64/packages-9.0-release/All/xcb-util-0.3.6,1.tgz
** Failed to fetch xcb-util-0.3.6,1
---  Listing the results (+:done / -:ignored / *:skipped / !:failed)
! xcb-util-0.3.6,1  (fetch error)
---  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed
---  Fetching the latest package(s) for 'xcb-util' (x11/xcb-util)
---  Fetching xcb-util
++ Will try the following sites in the order named:
ftp://ftp.FreeBSD.org//pub/FreeBSD/ports/amd64/packages-9.0-release/
---  Invoking a command: /usr/bin/fetch -o
'/var/tmp/portupgradev3WY15SS/xcb-util.tbz'
'ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/amd64/packages-9.0-release/Latest/xcb-util.tbz'
/var/tmp/portupgradev3WY15SS/xcb-util.tbz 100% of   72 kB   71 kBps
---  Downloaded as xcb-util.tbz
---  Identifying the package /var/tmp/portupgradev3WY15SS/xcb-util.tbz
---  Saved as /usr/ports/packages/All/xcb-util-0.3.6_1.tbz
---  Listing the results (+:done / -:ignored / *:skipped / !:failed)
+ xcb-util@
---  Packages processed: 1 done, 0 ignored, 0 skipped and 0 failed
---  Found a package of 'x11/xcb-util':
/usr/ports/packages/All/xcb-util-0.3.6_1.tbz (xcb-util-0.3.6_1)
---  Located a package version 0.3.6_1
(/usr/ports/packages/All/xcb-util-0.3.6_1.tbz)
** Ignoring the package, which is the same version as is installed (0.3.6_1)
** No package available: x11/xcb-util
---  ** Upgrade tasks 5: 0 done, 0 ignored, 0 skipped and 1 failed
---  Checking for the latest package of 'devel/pcre'
---  Fetching the package(s) for 'pcre-8.21_1' (devel/pcre)
---  Fetching pcre-8.21_1
++ Will try the following sites in the order named:
ftp://ftp.FreeBSD.org//pub/FreeBSD/ports/amd64/packages-9.0-release/
---  Invoking a command: /usr/bin/fetch -o
'/var/tmp/portupgradeY26QDgh7/pcre-8.21_1.tbz'
'ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/amd64/packages-9.0-release/All/pcre-8.21_1.tbz'
fetch: 
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/amd64/packages-9.0-release/All/pcre-8.21_1.tbz:
File unavailable (e.g., file not found, no access)
** The command returned a non-zero exit status: 1
** Failed to fetch
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/amd64/packages-9.0-release/All/pcre-8.21_1.tbz
---  Invoking a command: /usr/bin/fetch -o
'/var/tmp/portupgradeY26QDgh7/pcre-8.21_1.txz'
'ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/amd64/packages-9.0-release/All/pcre-8.21_1.txz'
fetch: 
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/amd64/packages-9.0-release/All/pcre-8.21_1.txz:
File unavailable (e.g., file not found, no access)
** The command returned a non-zero exit status: 1
** Failed to fetch
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/amd64/packages-9.0-release/All/pcre-8.21_1.txz
---  Invoking a command: /usr/bin/fetch -o

Re: freebsd package update / upgrade

2012-02-21 Thread Bernt Hansson

2012-02-22 04:56, alexus skrev:


all I want is to update these

f9# portaudit -a
Affected package: python27-2.7.2_3
Type of problem: Python -- DoS via malformed XML-RPC / HTTP POST request.
Reference: 
http://portaudit.FreeBSD.org/b4f8be9e-56b2-11e1-9fb7-003067b2972c.html


portupgrade -iR (use p also if you want to build a package) python27


Affected package: sudo-1.8.3_1
Type of problem: sudo -- format string vulnerability.
Reference: 
http://portaudit.FreeBSD.org/7c920bb7-4b5f-11e1-9f47-00e0815b8da8.html


portupgrade -iR(p) sudo


Affected package: ruby-1.8.7.352_2,1
Type of problem: Multiple implementations -- DoS via hash algorithm collision.
Reference: 
http://portaudit.FreeBSD.org/91be81e7-3fea-11e1-afc7-2c4138874f7d.html


portupgrade -iR(p) ruby


3 problem(s) in your installed packages found.

You are advised to update or deinstall the affected package(s) immediately.
f9#

P.S. why is it pkg_add installing vulnerable versions at the first
place? i just installed ruby and already is a problem??


Because pakages are built for *-RELEASE
___
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 package update / upgrade

2012-02-02 Thread alexus
What's the procedure on updating packages (not ports), can someone
point me (preferably in a handbook) or else where is fine too...

-- 
http://alexus.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: freebsd package update / upgrade

2012-02-02 Thread Erich Dollansky
Hi,

On Friday 03 February 2012 08:52:07 alexus wrote:
 What's the procedure on updating packages (not ports), can someone
 point me (preferably in a handbook) or else where is fine too...

it is also done with portupgrade. You just have to use -P or -PP.

Check the manual to find out more.

Erich
 
 -- 
 http://alexus.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
 
 
___
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