Language Selection

English French German Italian Portuguese Spanish

Popcorn - Popularity Contest (for RPM)

Filed under
Software

A few days ago I came across Feature #305877. What is it about? Well, Debian has the Popularity Contest, which tracks installed packages, how often they are used and sends an anonymized report once a week to their server. This maps the usage of Debian packages and as a nice side effect Debian guys can estimate the size of their user base on various platforms and releases. This also gives information about the community structure (e.g. how many users use development tools or graphic applications). This would be a very neat thing to have in openSUSE too!

At first, the task seemed pretty straightforward - just to replace dpkg calls with corresponding calls to rpm. There was one catch, though. Because of the transactions, which RPM uses, scanning on my openSUSE 11.1 machine took 2 minutes instead of 2 seconds on Debian! That’s because RPM creates one transaction for each package and constant locking and unlocking of rpmdb makes this process really slow. I rewrote the script to python, just to see how long will it take using only one long transaction and was very pleasantly surprised that it got back to 2 seconds.

rest here




More in Tux Machines

Vivaldi Web Browser Gets New Update and Options

Vivaldi, a web browser based on Chromium built by Opera founder that's aimed mostly at power users, has been updated one more and is now available for download. Read more

Mozilla Changes Firefox OS Strategy Due To Android’s Popularity

Mozilla’s chief executive announced major switch of strategy to boost Firefox OS market share. Unlike its previous program with focus on price, Firefox will finally deliver “quality.” Read more

You Should Not be Afraid of Arch Linux, Here's Why

I don't know why, but I always had this desire of installing new operating systems and discover by myself how they work, how software packages are installed, removed, updated, and how they differ from other OSes. Read more

Google's Internal Code Name For Android M Is Macadamia Nut Cookie (MNC)

Google will be unveiling the successor to Lollipop at Google I/O in just a few days, but we won't get a real name. It will likely just be called Android M until it's released, but Google has an internal code name just as it did for L and K. It's called Macadamia Nut Cookie (MNC), a name which is already being referenced in AOSP. Read more