Choosing the best version of Fedora app packages

Downgrading is something that¬†looks scary. Come to think of it: come back to the past is something everyone afraid of, right? ūüėĬ†Nevertheless, sometimes downgrading is the option we want to choose when the current app is not working well, and there is no option to upgrade.

Recently I had VLC in Fedora that cannot stream from my Raspberry Pi DLNA server. The server is not listed on the UPNP playlist. While when I try VLC in Android, it could see the server. In the debug log message (CTRL+M), there were a couple of error messages, something like upnp services discovery: Initializing libupnp on '(null)'.

And actually, the workaround is simple: there is a feature of DNF to downgrade the working version of packages. In this case, the newest version of VLC that I installed from COPR repo cannot work with the latest libupnp version. Then I have to downgrade it to the previous version which fortunately still working.

sudo dnf downgrade libupnp

screenshot_20161227_214622

Advertisements

Ubuntu Mate 16.04 ARM

I used to write about Kubuntu when its new version was released. But for now, since my HDD is rather broken, and I have bought Raspberry Pi instead, so I want to write about Mate flavor of Ubuntu which fit to the ARM platform. Actually I want to install KDE on it, but I’m not sure about the performance.

Last month, the new long-term supported Ubuntu version was released. The main flavor with Unity has not yet brought awaited Unity 8 with Mir display server. And for my favorite flavor, Kubuntu, it has brought the newest KDE Plasma 5 for the desktop. Unfortunately I cannot play with it until I repair my PC. Maybe not only repairing, but also I ought to buy a new HDD as well.

Continue reading Ubuntu Mate 16.04 ARM

Odoo on Raspbian: Solving Wkhtmltopdf Error Code -6

Odoo is an open source ERP application for business, formerly known as OpenERP. Its core is Python and using PostgreSQL for the database. It’s a web-based app, so that you can install it on a server capable machine. In this case, I talk about Raspberry Pi 2, installed Raspbian Jessie.

By following a brief tutorial from here, I was successfully getting Odoo running on Raspberry Pi 2. But it still had a little glitch: when I want to create PDF report, it threw error:

¬†Wkhtmltopdf failed (error code: -6). Message: The switch –header-spacing, is not support using unpatched qt and will be ignored.The switch –header-html, is not support using unpatched qt, and will be ignored.The switch –footer-html, is not support using unpatched qt, and will be ignored.QXcbConnection: Could not connect to display. Continue reading Odoo on Raspbian: Solving Wkhtmltopdf Error Code -6

Resolving Git hooks error: unable to unlink old ‘filename’ (permission denied)

This article will teach you how to use Git when you want to deploy your application. While there are many ways to use Git to deploy our application, this tutorial will focus on the one that is most straightforward. I assume you already know how to create and use a repository on your local machine.

I was following the tutorial to setup a Git server on Raspberry Pi1. Then I continued to setup automatic deployment with Git from above article 2.

The setup was going well, until I tried to commit new changes and then pushed it to the Pi server. I got a bunch of errors produced by post-receive hook script, similar like these:

remote: error: unable to unlink old 'filename' (Permission denied)

git-push-error-unlink Continue reading Resolving Git hooks error: unable to unlink old ‘filename’ (permission denied)

It’s so easy to connect Raspbian Lite to WiFi

raspbian-lite-connect-wifi

This month, I’ve got a chance to try¬†Raspberry Pi device. I’ve got the Pi 2 model B from Jakarta Notebook offline store in Semarang. I am going to make it as a home server (actually workspace server ūüėÄ ). Right now, there’s a router here that is connected to internet. But unfortunately, I don’t have sufficient LAN cable to connect Pi to the router. So, I make use of a Ralink USB WiFi adapter for Pi to connect. And actually, set it up via command line is not hard as I thought.

https://www.raspberrypi.org/documentation/configuration/wireless/wireless-cli.md