Rollback uncomplete transaction

Sometimes required to roll back unfinished transactions after aborting command such as yum install blabla because when you run command then you will get a warning:

# yum update
Setting up Update Process
Resolving Dependencies
There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them.

To this warning from appearing you need to clean up unfinished transaction journals using command:

# yum-complete-transaction --cleanup-only
Checking for new repos for mirrors
Cleaning up unfinished transaction journals
Cleaning up 2014-03-13.19:13.30

My very small repo for CentOS

A couple of days ago I created my own little package repository for CentOS. Currently there is only one package: installation package for Sublime Text 3. And one is only for x86_64. To build package I used spec file from Luke Carrier.

How to use my repo?

I created alexfinn.repo file in /etc/yum.repos.d:


After that:

# yum update
# yum install sublime-text-installer

In the future I am going to create separate .repo file or build installation package like in EPEL or ELRepo.

Capistrano for PHP projects

Some time ago I needed to find a solution for deploying PHP applications that our programmers wrote. Before the start of the project they used ftp to deploy files. But it took too much unnecessary work and took a long time. After some thought I decided to try capistrano. Alternatively I look at fabric but I was more familiar with capistrano earlier. I want to talk about using capistrano a little bit.

Vsftpd. 500 OOPS. Virtual users

The following error may occur on the client side: Fatal error: 500 OOPS: priv_sock_get_cmd if running an amd64 kernel with vsftpd-3.0.x.

To solve this bug you will need to add the following to your /etc/vsftpd/vsftpd.conf:


Refer to and Gentoo Wiki

And just in case add next line to config file


for adequate working of virtual users.