Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 03 Oct 2014 11:41:56 +0100
From:      Matthew Seaman <matthew@freebsd.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: Downgrade a pkg
Message-ID:  <542E7D74.8040004@freebsd.org>
In-Reply-To: <542E6E3F.9040405@cloverinformatica.it>
References:  <542E6E3F.9040405@cloverinformatica.it>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--OhOcvvS0gG2WArUIWKlwIgpBrfhUKLemO
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

On 10/03/14 10:37, Maurizio Vairani wrote:
> I need to downgrade VirtualBox to version 4.3.12_1.
> How can I do it ?

Basically, you start by checking in /var/cache/pkg to find the pkg
tarball of the version of VirtualBox you want.  There may be several
with the correct package version:

ox-dell39:/var/cache/pkg:% ls -l virtualbox-ose-4.3.12_1*
-rw-r--r--  1 root  wheel  88492156 Aug  6 00:57
virtualbox-ose-4.3.12_1-24f6bbc275.txz
-rw-r--r--  1 root  wheel  88470756 Aug 16 05:07
virtualbox-ose-4.3.12_1-3508613e60.txz
-rw-r--r--  1 root  wheel  88492848 Aug 13 01:57
virtualbox-ose-4.3.12_1-971aa33e9e.txz
lrwxr-xr-x  1 root  wheel        38 Aug 20 11:55
virtualbox-ose-4.3.12_1.txz@ -> virtualbox-ose-4.3.12_1-3508613e60.txz

Choose the most recent one -- these are just where the package has been
rebuilt because of changes in the packages it depends on.

You'll need to use pkg info -fF pkg-name.txz and check that you have all
the right dependencies installed.

If so, then you can pkg delete your current version of VirtualBox and
then use pkg add pkgname.txz to reinstall from the pkg tarball.

No guarantees that this process will produce a usable result though.
Try at your own risk.

	Cheers,

	Matthew





--OhOcvvS0gG2WArUIWKlwIgpBrfhUKLemO
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQJ8BAEBCgBmBQJULn16XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxOUYxNTRFQ0JGMTEyRTUwNTQ0RTNGMzAw
MDUxM0YxMEUwQTlFNEU3AAoJEABRPxDgqeTnHEEQAK4uMIHJOef4FLnxsdUnVs1O
xpco0RKOfTBZkYQbkPjV9Y2m3INyEbpPO0WpUhZleYetDkXyk1u/LaFa1ZcleXQB
JWy2gMuyigSDQpTAsRDDfGuvV5hfpHJ9YkQYhrho2khhlvaHSFbpAIi2t9SCFlp8
XrnqhJVmGGSe2XL5sEnFRTGJOhLz9z7T+RGkxdEgmhdLYpRFhk+Ez7CptSzuAECW
RJfd96+/ncarm2//otAunpDL0A7qcrt2qvYisEALJ01NibOHHxUYJOEl4+2y7NoL
r2hFQqVdSfFSjGtOXX4K9mMT+3obZRbEea0VIvHnhhE3AjZeMaarkD4hlH/bbSUq
/h2No5Yuyf/o7DgxHwOP5pnJcYr9WC+criCR3kZ4EUMvM6VS8b4uHjmurHqRdzOb
L2drOXJNskjI28PNhM8Yc1DKOY8Gg/lZiQAQE2rO6G1znjFzCqD3A+hYSdMYtavG
j2251Ky7HaEMeQ1rWb61Mh2GwpPNd27XWYM2/cPOcNC6e9TxkHI+mBE+HxRsPVAK
TBJzEQGt16OG/kzSuwVAPeu4HMyjDH3e+z29HlXwAdKxA75enThYW1jDInT3V9P6
+klo7CvDPm3pfmrLFFlM4UZEhL1yZNUmzSTMQks5R8aSagxkjTrjCOhx0BzRpSxT
Zs1dAM7q6DtQrG8dUym4
=WXpu
-----END PGP SIGNATURE-----

--OhOcvvS0gG2WArUIWKlwIgpBrfhUKLemO--



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?542E7D74.8040004>