From owner-freebsd-questions@FreeBSD.ORG Wed Feb 22 03:56:54 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A57A71065673 for ; Wed, 22 Feb 2012 03:56:54 +0000 (UTC) (envelope-from alexus@gmail.com) Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com [209.85.212.182]) by mx1.freebsd.org (Postfix) with ESMTP id 1FCA68FC0A for ; Wed, 22 Feb 2012 03:56:53 +0000 (UTC) Received: by wibhn14 with SMTP id hn14so6282215wib.13 for ; Tue, 21 Feb 2012 19:56:53 -0800 (PST) Received-SPF: pass (google.com: domain of alexus@gmail.com designates 10.180.93.232 as permitted sender) client-ip=10.180.93.232; Authentication-Results: mr.google.com; spf=pass (google.com: domain of alexus@gmail.com designates 10.180.93.232 as permitted sender) smtp.mail=alexus@gmail.com; dkim=pass header.i=alexus@gmail.com Received: from mr.google.com ([10.180.93.232]) by 10.180.93.232 with SMTP id cx8mr32352053wib.14.1329883013191 (num_hops = 1); Tue, 21 Feb 2012 19:56:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=esk3O79RiPSqMaKwNYsj/YTm3y9jvTZtZR3Q+FonFw0=; b=vv3vE9mDVWEz75zZ12YDGToiWDB8YFGSn32ojYe0jU8viHE6CjK9LM2nVu3mTgsdZr 5fqJur/iQqbWQD6a7pAuHYhBQOTiGQjlB0UdQP/Tz+9yGBoHqtDiH54LlCHWqGkyAnry Ylqv4vk1UpIeiPFB45PqaCR9gQ1WqFic8YGew= MIME-Version: 1.0 Received: by 10.180.93.232 with SMTP id cx8mr27001239wib.14.1329883013071; Tue, 21 Feb 2012 19:56:53 -0800 (PST) Received: by 10.216.186.141 with HTTP; Tue, 21 Feb 2012 19:56:53 -0800 (PST) In-Reply-To: <201202030915.42976.erichfreebsdlist@ovitrap.com> References: <201202030915.42976.erichfreebsdlist@ovitrap.com> Date: Tue, 21 Feb 2012 22:56:53 -0500 Message-ID: From: alexus To: Erich Dollansky Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: freebsd package update / upgrade X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Feb 2012 03:56:54 -0000 f9# portupgrade --use-packages-only -av ---> Session started at: Tue, 21 Feb 2012 22:44:07 -0500 [Updating the portsdb in /usr/ports ... - 23025 port entries found .........1000.........2000.........3000.........4000.........5000.........6= 000.........7000.........8000.........9000.........10000.........11000.....= ....12000.........13000.........14000.........15000.........16000.........1= 7000.........18000.........19000.........20000.........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/A= ll/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/A= ll/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/A= ll/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/pcr= e-8.21_1.tbz' fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/amd64/packages-9.0-release/A= ll/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/pcr= e-8.21_1.txz' fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/amd64/packages-9.0-release/A= ll/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 '/var/tmp/portupgradeY26QDgh7/pcre-8.21_1.tgz' 'ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/amd64/packages-9.0-release/All/pcr= e-8.21_1.tgz' fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/amd64/packages-9.0-release/A= ll/pcre-8.21_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/pcre= -8.21_1.tgz ** Failed to fetch pcre-8.21_1 ---> Listing the results (+:done / -:ignored / *:skipped / !:failed) ! pcre-8.21_1 (fetch error) ---> Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed ---> Fetching the latest package(s) for 'pcre' (devel/pcre) ---> Fetching pcre ++ 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/portupgradeTCONbart/pcre.tbz' 'ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/amd64/packages-9.0-release/Latest/= pcre.tbz' /var/tmp/portupgradeTCONbart/pcre.tbz 100% of 780 kB 216 kBps ---> Downloaded as pcre.tbz ---> Identifying the package /var/tmp/portupgradeTCONbart/pcre.tbz ---> Saved as /usr/ports/packages/All/pcre-8.20.tbz ---> Listing the results (+:done / -:ignored / *:skipped / !:failed) + pcre@ ---> Packages processed: 1 done, 0 ignored, 0 skipped and 0 failed ---> Found a package of 'devel/pcre': /usr/ports/packages/All/pcre-8.20.tbz (pcre-8.20) ---> Located a package version 8.20 (/usr/ports/packages/All/pcre-8.20.tbz= ) ** Ignoring the package, which is the same version as is installed (8.20) ** No package available: devel/pcre ---> ** Upgrade tasks 5: 0 done, 0 ignored, 0 skipped and 2 failed ---> Skipping 'devel/glib20' (glib-2.28.8_2) because a requisite package 'pcre-8.20' (devel/pcre) failed (specify -k to force) ---> ** Upgrade tasks 5: 0 done, 0 ignored, 1 skipped and 2 failed ---> Skipping 'security/snort' (snort-2.9.1.2) because a requisite package 'pcre-8.20' (devel/pcre) failed (specify -k to force) ---> ** Upgrade tasks 5: 0 done, 0 ignored, 2 skipped and 2 failed ---> Skipping 'security/nmap' (nmap-5.61.t2) because a requisite package 'pcre-8.20' (devel/pcre) failed (specify -k to force) ---> ** Upgrade tasks 5: 0 done, 0 ignored, 3 skipped and 2 failed ---> Listing the results (+:done / -:ignored / *:skipped / !:failed) ! x11/xcb-util (xcb-util-0.3.6_1) (package not found) ! devel/pcre (pcre-8.20) (package not found) * devel/glib20 (glib-2.28.8_2) * security/snort (snort-2.9.1.2) * security/nmap (nmap-5.61.t2) ---> Packages processed: 0 done, 0 ignored, 3 skipped and 2 failed ---> Session ended at: Tue, 21 Feb 2012 22:45:00 -0500 (consumed 00:00:52) f9# i dont understand output it seemed like portupgrade tried downloading xcb-util from few place first unsuccessful but later on stumble upon a place to download it and then didnt install it because i already have this package installed, then it moved to pcre (same story here) and last part is totally looses me, it sees that I have pcre yet it something isn't good... i do have pcre installed f9# pkg_info | grep ^pcre pcre-8.20 Perl Compatible Regular Expressions library f9# 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-003067b2972= c.html Affected package: sudo-1.8.3_1 Type of problem: sudo -- format string vulnerability. Reference: http://portaudit.FreeBSD.org/7c920bb7-4b5f-11e1-9f47-00e0815b8da= 8.html Affected package: ruby-1.8.7.352_2,1 Type of problem: Multiple implementations -- DoS via hash algorithm collisi= on. Reference: http://portaudit.FreeBSD.org/91be81e7-3fea-11e1-afc7-2c4138874f7= d.html 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?? On Thu, Feb 2, 2012 at 9:15 PM, Erich Dollansky wrote: > 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-unsubscribe@freebsd.= org" >> >> --=20 http://alexus.org/