h1

No se reproduce MP3 en Ubuntu

05/12/2011

Si no se consigue escuchar archivos MP3 en Ubuntu pese a probar con varios reproductores y poderse escuchar otros formatos, es necesario habilitar los repositorios “universe” (sources.list) e instalar los siguientes paquetes:

$ sudo aptitude install ubuntu-restricted-extras libxine1-ffmpeg

h1

Error, pkgProblemResolver::Resolve generó roturas; esto puede haber sido causado por paquetes retenidos

05/12/2011

Si al instalar un paquete se queda el sistema inestable con el siguiente aspecto:


root@whenigrewup:~#
root@whenigrewup:~# apt-get -f install
Leyendo listas de paquetes... Hecho
Creando árbol de dependencias
Leyendo la información de estado... Hecho
Corrigiendo dependencias... falló.
Los siguientes paquetes tienen dependencias incumplidas:
kid3:i386 : Depende de: kde-runtime:i386 pero no está instalado
Depende de: libflac++6:i386 (>= 1.2.1) pero no está instalado
Depende de: libid3-3.8.3c2a:i386 pero no está instalado
Depende de: libkdecore5:i386 (>= 4:4.3.4) pero no está instalado
Depende de: libkdeui5:i386 (>= 4:4.3.4) pero no está instalado
Depende de: libkio5:i386 (>= 4:4.3.4) pero no está instalado
Depende de: libphonon4:i386 (>= 4:4.2.0) pero no está instalado
Depende de: libtag1c2a:i386 (>= 1.7) pero no está instalado
Depende de: libtunepimp5:i386 pero no está instalado
Depende de: libvorbisfile3:i386 (>= 1.1.2) pero no está instalado
Depende de: phonon:i386 pero no es instalable
kid3-qt:i386 : Depende de: libflac++6:i386 (>= 1.2.1) pero no está instalado
Depende de: libid3-3.8.3c2a:i386 pero no está instalado
Depende de: libphonon4:i386 (>= 4:4.2.0) pero no está instalado
Depende de: libtag1c2a:i386 (>= 1.7) pero no está instalado
Depende de: libtunepimp5:i386 pero no está instalado
Depende de: libvorbisfile3:i386 (>= 1.1.2) pero no está instalado
Depende de: phonon:i386 pero no es instalable
E: Error, pkgProblemResolver::Resolve generó roturas; esto puede haber sido causado por paquetes retenidos.
E: No se puede corregir las dependencias

En vez de desinstalar el paquete con apt-get, utilizar dpkg:
root@whenigrewup:~# dpkg --remove kid3-qt

h1

error GTK+ 2 not found

13/11/2011

Si compilando un software, por ejemplo aMule, ocurre este error:

checking for GTK+ - version >= 2.0.0... no
*** A new enough version of pkg-config was not found.
*** See http://pkgconfig.sourceforge.net
configure: error:
The development files for GTK+ were not found. For GTK+ 2, please
ensure that pkg-config is in the path and that gtk+-2.0.pc is
installed. For GTK+ 1.2 please check that gtk-config is in the path,
and that the version is 1.2.3 or above. Also check that the
libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
--libs' are in the LD_LIBRARY_PATH or equivalent.

en vez de descargar las librerías y compilarlas, se puede descargar el siguiente paquete:

sudo apt-get install libgtk2.0-dev

h1

error /var/lib/dpkg/info/libcap2-bin.postinst: line 23: pam-auth-update: command not found

06/05/2011

Si al actualizar o modificar los paquetes instalados en Ubuntu ocurre el siguiente error:


(...)
Setting up libcap2-bin (1:2.19-2) ...
/var/lib/dpkg/info/libcap2-bin.postinst: line 23: pam-auth-update: command not found
dpkg: error processing libcap2-bin (--configure):
subprocess installed post-installation script returned error exit status 127
Errors were encountered while processing:
libcap2-bin
E: Sub-process /usr/bin/dpkg returned an error code (1)
(...)

Al no disponerse habitualmente el comando “pam-auth-update” (deprecated), es facilmente solucionable bypasseandolo.

$ ln -s /bin/true /usr/local/bin/pam-auth-update

Fuente: OsDir

h1

ImportError No module named PySide.QtCore

04/05/2011

Si con backup-gmail u otro script Python ocurre el siguiente error:

carlos@adscompc02:~/bg/backup-gmail$ ./gui.py
Traceback (most recent call last):
File "./gui.py", line 10, in
from PySide.QtCore import *
ImportError: No module named PySide.QtCore

Éste se soluciona instalando el repositorio y librería correspondiente:

$ sudo add-apt-repository ppa:pyside
$ sudo apt-get install python-pyside*

h1

Como poner Magento en Español

06/03/2011

Although the system seems to offer you to change the language, the language pack is not includeded by the default. So,go to this link to download the language pack.
http://www.magentocommerce.com/translations
Now
1. download language files and place them into the right folders (app >design >frontend >default >default >local)
2. Login to admin panel and go to System > Manage stores
3. Create a new store view or modify
4. Login to admin panel and go to System > Configuration > General
and select each store view from “Current Configuration Scope” drop down menu at the upper left corner of the window.
Set the corresponding locale for each store view

5. Clear the cache (System – Cache Management)

Fuente: MagentoCommerce.com

h1

Joomla, blank page when clicking on “buy” on VirtueMart

06/03/2011

Several times managing a VirtueMat 1.1.x on Joomla 1.5.x may produce blank pages during the shopping process.

To avoid them it is recommended to check and update all the Artio products installed, like the Artio JoomSEF or Artio Google Analytics Tracking Pluging, to the lastest version as many bugs when interacting with e-commerce have been detected and solved.

h1

Error al instalar VirtueMart_1.1.7a en Joomla 1.5.x

06/03/2011

Si al instalar la versión VirtueMart_1.1.7a-COMPLETE_PACKAGE.j15.zip en Joomla 1.5.x se produce el siguiente error al crear el escaparate de prueba:

ERROR!

a) No Archive Files and
b) no directory structure for VirtueMart.

What's wrong? Either YOU unpack all the files and upload them or I do that (I can do that when Safe Mode is OFF).

se debe a un bug en esa versión. Se puede solventar, como workaround, instalando la versión anterior (1.1.6) y posteriormente parchearla.

h1

Joomla error, You don’t have permission, a 403 Forbidden error was encountered

03/03/2011

Si en Joomla ocurre este error:

Forbidden
You don't have permission to access /joomla/index.php on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
Apache Server at midominio.com Port 80

Se soluciona otorgando los permisos correctos recursivamente:

c@h1 [~/public_html]# find . -type d -exec chmod 755 {} \;
c@h1 [~/public_html]# find . -type f -exec chmod 644 {} \;

h1

error /usr/bin/mandb el caché de índices está dañado

30/12/2010

Si se produce el siguiente error:

/usr/bin/mandb: el caché de índices /var/cache/man/3665 está dañado.

es debido a que las bases de datos de ayuda están corruptas. Se soluciona de manera sencilla recreándolas automaticamente:

 

pilar002:/home/carlos# mandb -c

Fuente: LinuxQuestions

Seguir

Get every new post delivered to your Inbox.