Multiple versions of software on the same system. [solved]
-
I've upgraded from the i386 latest stable build to the nightly i386 snapshots.
2.1-BETA0 (i386)
built on Sun Dec 9 04:41:14 EST 2012
FreeBSD 8.3-RELEASE-p5I am trying to diagnose some bandwidthd png issues. when running pkg_info I see multiple instances of software on my server. This makes me wonder if going from a stable build to a snapshot build screwed something up and thats why bandwidthd is not graphing properly anymore.
Is it normal to have multiple packages on a server and if not what should I do to fix it.
[2.1-BETA0][root@jsbfw1.workgroup]/(9): pkg_info
apr-ipv6-devrandom-gdbm-db42-1.4.5.1.3.12_1 Apache Portability Library
bsdinstaller-2.0.2011.0621 BSD Installer mega-package
cmake-2.8.1_1 A cross-platform Makefile generator
cyrus-sasl-2.1.23_3 RFC 2222 SASL (Simple Authentication and Security Layer)
cyrus-sasl-2.1.25_1 RFC 2222 SASL (Simple Authentication and Security Layer)
db3-3.3.11_3,1 The Berkeley DB package, revision 3.3
db41-4.1.25_4 The Berkeley DB package, revision 4.1
db42-4.2.52_5 The Berkeley DB package, revision 4.2
expat-2.0.1_2 XML 1.0 parser written in C
fontconfig-2.8.0_1,1 An XML-based font configuration API for X Windows
freetype-1.3.1_4 A free and portable TrueType font rendering engine
freetype2-2.4.4 A free and portable TrueType font rendering engine
freetype2-2.4.7 A free and portable TrueType font rendering engine
gd-2.0.35_7,1 A graphics library for fast creation of images
gdbm-1.9.1 The GNU database manager
gettext-0.18.1.1 GNU gettext package
gmake-3.81_4 GNU version of 'make' utility
gmp-5.0.4 A free library for arbitrary precision arithmetic
gnutls-2.12.18 GNU Transport Layer Security library
grub-0.97_4 GRand Unified Bootloader
gss-1.0.2 GNU Generic Security Service Library
jpeg-8_3 IJG's jpeg compression utilities
libgcrypt-1.5.0 General purpose crypto library based on code used in GnuPG
libgpg-error-1.10 Common error values for all GnuPG components
libiconv-1.13.1_1 A character set conversion library
libiconv-1.13.1_2 A character set conversion library
libiconv-1.14 A character set conversion library
libidn-1.22 Internationalized Domain Names command line tool
libpcap-1.1.1 Ubiquitous network traffic capture library
libtasn1-2.12 ASN.1 structure parser library
libwww-5.4.0_4 The W3C Reference Library
libxml2-2.7.8_3 XML parser library for GNOME
lightsquid-1.8_2 A light and fast web based squid proxy traffic analyser
lua-5.1.4_5 Small, compilable scripting language providing easy access
neon29-0.29.6_4 An HTTP and WebDAV client library for Unix systems
nettle-2.4 A low-level cryptographic library
nmap-5.51 Port scanning utility for large networks
openldap-client-2.4.25_2 Open source LDAP client implementation
openldap-client-2.4.26 Open source LDAP client implementation
p11-kit-0.11 Library for loading and enumurating of PKCS#11 modules
p5-Authen-PAM-0.16_1 A Perl interface to the PAM library
p5-GD-2.46 A perl5 interface to Gd Graphics Library version2
p5-Net-SSLeay-1.36 Perl5 interface to SSL
pcre-8.10 Perl Compatible Regular Expressions library
pcre-8.12 Perl Compatible Regular Expressions library
perl-5.12.3 Practical Extraction and Report Language
perl-5.12.4 Practical Extraction and Report Language
perl-5.12.4_3 Practical Extraction and Report Language
perl-threaded-5.10.1_3 Practical Extraction and Report Language
pkg-config-0.25_1 A utility to retrieve information about installed libraries
png-1.4.4 Library for manipulating PNG images
png-1.4.8 Library for manipulating PNG images
png-1.4.8_1 Library for manipulating PNG images
postgresql-client-8.4.12 PostgreSQL database (client)
postgresql-client-8.4.7 PostgreSQL database (client)
python27-2.7.2_4 An interpreted object-oriented programming language
shishi-1.0.0_5 A free implementation of the Kerberos 5 network security sy
sqlite3-3.7.10 An SQL database engine in a C library
squid-2.7.9 HTTP Caching Proxy
squid-2.7.9_1 HTTP Caching Proxy
squidGuard-1.4_3 A fast redirector for squid
squidGuard-1.4_4 A fast redirector for squid
squid_radius_auth-1.10 RADIUS authenticator for squid proxy 2.5 and later
subversion-1.7.3 Version control system
sudo-1.8.4_1 Allow others to run commands as root
wget-1.12_1 Retrieve files from the Net via HTTP(S) and FTP -
The easiest answer, backup configuration, reinstall build from scratch, restore config.
Result no more multiple versions on system.
what a pain :-\
-
You had a number of packages there that aren't installed by any packages in the package system. In that case, you have to also maintain those manually. Probably best off reinstalling from scratch as many things as you had pkg_added manually. It's possible to clean up manually too, but faster to reinstall and config restore as much of a mess as you had there.
-
Also on 2.1, pkg_add won't show much that should be there. Since the packages are installed from PBIs, you'd want to check "pbi_info" also.