2012/02/22

Full binary upgrade with pkgng 1.0-beta7

My laptop (a small eeepc 1000H) is running FreeBSD 8.2-RELEASE for a while now, I didn't upgraded it to 9 because it would have taken eons to rebuild all the packages I use on this laptop.

Of course this laptop has been converted to pkgng long time ago, and I'm happily using it in a full binary way: building packages and preparing pkgng repositories on a build box using poudriere (ports-mgmt/poudriere).

In the git version of pkgng (what would become soon 1.0-beta7) one of the new feature is the ability to reinstall the whole set of packages. This allow us to now perform a full binary upgrade of the system.

Here is how I performed an upgrade from 8.2-RELEASE to 9.0-RELEASE without building anything on that small laptop:

Create a 9.0-RELEASE repository

First you need to prepare a set of packages for 9.0-RELEASE on poudriere:

# create the new jail:
$ poudriere jail -c -j eeepc9 -a i386 -v 9.0-RELEASE
# copy the make.conf from the old to the new jail:
$ cp /usr/local/etc/poudriere.d/eeepc-make.conf /usr/local/etc/poudriere.d/eeepc9-make.conf
# build the set of packages:
$ poudriere bulk -f ~/bulkeeepc -j eeepc9 -k

Now that your repository of packages is ready just expose it in your http server and you are done with that part.

Upgrading the laptop

Update to the lastest 8.2-RELEASE

You need to upgrade your 8.2-RELEASE to the latest version available if not already done (it contains a fix for freebsd-update which is necessary to perform the upgrade to 9.0)

$ freebsd-update fetch
$ freebsd-update install

Upgrade to 9.0-RELEASE

You can now upgrade to 9.0:

$ freebsd-update -r 9.0-RELEASE upgrade
$ freebsd-update install
$ reboot
$ freebsd-update install

Once you are here your system now upgraded to 9.0-RELEASE but still have some old shared object files, it is the moment when you should perform the upgrade of the packages.

Edit your /usr/local/etc/pkg.conf file and adjust the url of the PACKAGESITE to the new eeepc9 repository

$ pkg update
$ pkg upgrade -fy

you can now remove the old shared object:

$ freebsd-update install

In case you would have forgotten to perform the package upgrade, pkg-static is there to save your life, you can still do it now:

$ pkg-static update
$ pkg-static upgrade -fy

zatmania wrote on 2012/02/29 :

It seems to be so simple that i would like to test it. Great job and thanks Bapt !


Nancy Brown wrote on 2012/12/17 :

I have started learning bsd for sometime now, and this will be a great help


Mobile Application Development Company in UK wrote on 2016/11/17 :

Looking for Custom Mobile Application Development Company in London, UK? AppSquadz is one of the best platforms for your business needs and our mobile Developers are well expertise in mobile apps. The mobile app market is increasing at a rapid speed with featured apps developed by experienced developers. Hire mobile application developers at AppSquadz which provides Android, iPhone, iPad , Blackberry and Windows application development services for business.


Android Application Development Company in UK wrote on 2016/11/17 :

Android is worldwide leader as it has a substantial part of Smartphone users under its belt. AppSquadz Technologies is well aware of this fact and houses a talented pool of Android designers, developers and experts who have given AppSquadz a reputed status of best Android Application Development Company in London, UK.


iPhone Application Development Company in UK wrote on 2016/11/17 :

After Android it is iOS which is dominating the mobile application market. AppSquadz Technologies understand the fact and therefore has assembled a proficient squad of iOS developers who has proven their dedication and has given us a position among the top iPhone Application Development Company.


Windows Application Development Company in UK wrote on 2016/11/17 :

Since the introduction of Windows 8, windows phones are being the favorite of many users and now after the launch of Windows 10, the demand for windows app is increasing gradually. So if you are looking to develop an app for Windows platform, AppSquadz Technologies is what should choice because of being counted among the best Windows Application Development Company.


Blackberry Application Development Company in UK wrote on 2016/11/17 :

AppSquadz is an emerging Blackberry Application Development Company in London, Stockport, Manchester and UK. We develop the apps that can be liked by users across the world. Our app Developers team delivers custom Blackberry apps development with value added techniques.


A Passionate iPhone Application Development Company in the UK wrote on 2016/11/17 :

AppSquadz Technologies provide reliable iPad / iPhone application development services in the UK. Their team of experts has great skills to meet the requirements of clients by bringing the best of the solutions. Being quality-oriented, our development process is always aimed to deliver exceptional result for your iOS application idea.


Enjoy Services from Top Mobile Application Development Company in the UK wrote on 2016/11/17 :

AppSquadz Technologies house an exceptional mobile app development team who understands what it means and require to create great applications. At the heart of our service rests a fervent dedication to make your goals our own. We work persistently to ensure that your app makes a statement and set standards for others to follow. This has made AppSquadz a leading mobile application development company in the UK.


The Top Ranked Android Application Development Company in UK wrote on 2016/11/17 :

AppSquadz Technologies has great expertise in mobile app development for all the major platforms, such as iOS, Windows, and especially for Android platform. As a reputation of being the top Android Application Development Company in the UK, we dedicatedly cater to the extensive requirements of various businesses all across the world.


A Remarkable Windows Application Development Company in UK wrote on 2016/11/17 :

AppSquadz Technologies, located in Manchester, UK offers windows mobile application development services to the clients in the UK as well as from all across the world. We have an exceptional squad of experts who are proficient in developing windows applications s as per the requirements of the clients. We are the leading Windows application development company in the UK catering to the variety of objectives and requirement of the clients from different verticals.


Emerging Android Application Development Company in UK wrote on 2016/11/17 :

AppSquadz is one of the top-notch Android Application Development Company in London, UK. We detected the potential in Android Application Development since its beginning. We began off creating out-of-the-mess Android applications in constrained range at first and centered in having a solid toehold in the productive Android application classification.


Increased Demand of iPhone Application Development wrote on 2016/11/17 :

The iPhone brings the new latest features whenever the new iPhone launched in the market, like water resistant and high resolution control camera. The inbuilt media player encourages the client easily at watching motion pictures.


A Significant Mobile Application Development Company in the UK wrote on 2016/11/17 :

Testing and quality assurance services offered by the company are other reasons for making the AppSquadz the top Mobile Application Development Company in the UK. The company understands that mobile apps testing & quality assurance is a lot more than just a software testing automation. And, that is why applications which are built by AppSquadz go through rigorous testing and quality checks before submitting it to the app store.


A Future-Driven Mobile Application Development Company in the UK wrote on 2016/11/18 :

AppSquadz Technologies, located in Manchester, UK offers windows mobile application development services to the clients in the UK as well as from all across the world. We have an exceptional squad of experts who are proficient in developing windows applications s as per the requirements of the clients. We are the leading Windows application development company in the UK catering to the variety of objectives and requirement of the clients from different verticals.


Android Game Apps Development in UK wrote on 2016/11/18 :


Hire dedicated game Developers at affordable cost from AppSquadz Technologies. We are top- notch Android Game Apps Development Company in UK .Our talented Developers have developed Android games in distinct categories such as: Puzzle Games, Quiz Games, Racing Games, Sports, Adventure Games, Casino Games and Dices with latest technologies.


Android Lollipop Apps Development Company in UK wrote on 2016/11/18 :

Android Lollipop Apps Development Company in UK


Android Marshmallow Apps Development Company in UK wrote on 2016/11/18 :

AppSquadz is a most trusted Android Marshmallow App Development Company in UK offering reliable services to clients like Custom Android app development, Android 6.0 Marshmallow Development, Android Game Development, SMS & Phonebook based Android App Development etc. with dedicated app developers.


Android Tab Apps Development Company in UK wrote on 2016/11/18 :

Hire dedicated & experienced Android Tablet App Developers at reasonable price from AppSquadz. We are innovative Android Tablet App Development Company in UK offering high quality Android tablet apps on time.


Android UI/UX Design and Development Services in UK wrote on 2016/11/18 :

AppSquadz offers wide variety of processes and adaptability to both designers and developers. Android UI/UX Design and Development services offers user friendly interface across all major platforms. AppSquadz have a dedicated team of app Developers and creative Designers. We have a talented Top App Developers in UK to help you meet challenges and complete client projects on time at reasonable cost.


CakePHP Development Company in London, UK wrote on 2016/11/18 :

Our highly qualified and experienced Cake PHP developers is consistently offering the remarkable CakePHP development services and solutions. AppSquadz is one of the leading CakePHP development company in UK and have successfully furnished diverse projects on different technologies according to clients’ specific project needs.


Hire Dedicated Android Developers in UK wrote on 2016/11/18 :

Searching for a dedicated Android Developers in London, UK? AppSquadz offer you hire dedicated android app developers for develop your mobile applications.


Techugo wrote on 2016/11/21 :

Techugo is a top-ranked mobile app development company in USA, India. We provide mobile app development services at affordable cost. Contact us today!


App Development Company wrote on 2016/12/02 :

AppSquadz Technologies is a premier Mobile App Development Company known for providing mobile application for Numerous platform including Android, iOS, Windows and Blackberry.


Name :
URL (optional) :
Write here: "ETOOMUCHSPAM"
Comments :