Showing posts with label fedora. Show all posts
Showing posts with label fedora. Show all posts

Sunday, March 4, 2012

Spotify Fedora Errors

Chances are that bugs may occur when using Spotify on Fedora.

112, 114 and 117 are all error codes.

Here is what you should do:
  1. Log out of Spotify
  2. Delete .config/spotify/ and .cache/spotify/ (usually located in the user's home folder).
  3. Log in to Spotify

Saturday, February 18, 2012

Simple xargs example

Say I want to install an rpm package with dependencies. Without knowing about the dependencies I would try:

rpm -i foo.rpm

However, I would then get a warning that there are unresolved dependencies.

One solution is to use yum install with xargs. Here is an example:

ls | xargs yum install -y

You may also want to use grep or something similar to have a criteria passed to xargs