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

Blackphone unveils a new phone and tablet running secure, encrypted Android

Today at Mobile World Congress, the encrypted phone system Blackphone announced a new phone and tablet, along with a new business focus on enterprise. The phone is called the Blackphone 2, a successor to the first Blackphone shown at MWC last year, but adds a new processor, better screen, and a larger profile overall. The tablet, called the Blackphone+, is slated for release in the fall. Both run Blackphone's secure OS, forked off of Android, which is designed to protect metadata and provide end-to-end encryption throughout. Read more

Oracle VirtualBox Updates to run on Linux 4.0 Kernel

The open-source VirtualBox virtualization project is out with its 4.3.24 update today providing a number of important updates and bug fixes. Read more

Qbo Is an AI-Driven Ubuntu-Powered Cute Little Robot - Video

We've seen some interesting devices coming out of the Mobile World Congress in Barcelona and the small Ubuntu-powered Qbo robot is just one them. Linux fans already kind of knew what to expected to see in Barcelona. Many Ubuntu fans were looking to check out the first Meizu MX4 Ubuntu Edition phone and their curiosity was satisfied, but now we have something that it's equally interesting, and that is a small robot. Read more

Ubuntu MATE Is One of the Last Major Distros to Officially Support PowerPC

Ubuntu MATE has been providing PowerPC support for some time now, but the developers have made some serious improvements to this particular feature in the latest 15.04 Beta 1 update. Read more