From owner-freebsd-pkg@FreeBSD.ORG Thu Apr 3 01:11:16 2014 Return-Path: Delivered-To: freebsd-pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1BBC3D66 for ; Thu, 3 Apr 2014 01:11:16 +0000 (UTC) Received: from mail-pa0-f48.google.com (mail-pa0-f48.google.com [209.85.220.48]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E6946204 for ; Thu, 3 Apr 2014 01:11:15 +0000 (UTC) Received: by mail-pa0-f48.google.com with SMTP id hz1so1011522pad.35 for ; Wed, 02 Apr 2014 18:11:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:content-type:content-transfer-encoding :subject:message-id:date:to:mime-version; bh=DOnqcPd+vqe+v/1pexXLv0fKEz5SvRnqzEthkDhxDoU=; b=nH9hqXopsT8Xu19ctOgClIgqHkq0OUFcr1kqCh5jmR/ftwo6mCix3H8J7Qb2HRqqGR 13jkhoqGoZZI0jRInx8oa9ouZZotJLEgc/CD9K+us8LCxJOWiaFi6X5G09A12y2svJNR V776XutcisHQ5N1iYxVLaEZRYw6SDZYqS0hCrV6XDPBETflwEg5oV4/vvPB8pBeZ3bg7 j4avbq5qurvjysN4IqJ4FXyX3twUovP9mh5waSnVj2liNRZ6o++shAVQc/JOOq/MG8MZ Ey8J+b0ZERMmGKqw4DNWZIxgAjSFw5VyxtKXgvxlsJsbwrZiNgjEUpIwdbzTNk5fKmAz VDcg== X-Gm-Message-State: ALoCoQkyVUpf3xQI8C0chjrDqXQ12j4P8SBVWZygOCA+Nbn3H3dYdJphmcdmgdHKgI1gW+mR4hE/ X-Received: by 10.66.141.231 with SMTP id rr7mr3603997pab.41.1396487469665; Wed, 02 Apr 2014 18:11:09 -0700 (PDT) Received: from [172.20.10.2] (230.sub-70-197-6.myvzw.com. [70.197.6.230]) by mx.google.com with ESMTPSA id oa3sm7243638pbb.15.2014.04.02.18.11.08 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 02 Apr 2014 18:11:08 -0700 (PDT) From: Steven Schlansker Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Subject: Installing bacula-server with PostgreSQL 9.2 Message-Id: <413DCEA9-DE6D-4834-B9F1-6C08C7BE5F2C@likeness.com> Date: Wed, 2 Apr 2014 18:11:06 -0700 To: freebsd-pkg@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\)) X-Mailer: Apple Mail (2.1874) X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Apr 2014 01:11:16 -0000 I have a FreeBSD system I recently upgraded to FreeBSD 10-RELEASE with = pkgng. The system is a backup server. It runs bacula-server on top of = PostgreSQL 9.2. I can no longer start the bacula director: Starting bacula_dir. Shared object "libstdc++.so.6" not found, required by "bacula-dir" /usr/local/etc/rc.d/bacula-dir: WARNING: failed to start bacula_dir I figured that I need to reinstall Bacula from the new pkg repository so that it doesn=92t have stale library dependencies: [steven@d0028:~]% sudo pkg install -f bacula-server Updating repository catalogue The following 2 packages will be installed: Installing postgresql90-client: 9.0.17 Installing bacula-server: 5.2.12_3 The installation will require 11 MB more space Oh no! I=92m running postgresql92-client! [steven@d0028:~]% sudo pkg info | grep postgres postgresql92-client-9.2.8 PostgreSQL database (client) postgresql92-contrib-9.2.8 The contrib utilities from the PostgreSQL = distribution postgresql92-server-9.2.8 The most advanced open-source database = available anywhere So of course this cannot install, there are conflicting files, and I = don=92t want it anyway. I tried updating the origin as I=92ve seen some people recommend, but it = seems to have no effect. [steven@d0028:~]% sudo pkg set -o = db/postgresql90-client:db/postgresql92-client Change origin from db/postgresql90-client to db/postgresql92-client for = all dependencies? [y/N]: y How do I get my backups back? Thanks, Steven