Skip to main content

a silhouette of a person's head and shoulders, used as a default avatar

a silhouette of a person's head and shoulders, used as a default avatar

Cheat Sheet for dpkg/apt-get

  • Apt/Dpkg: Beyond the basic use of installing programs, apt and dpkg have many features that are useful for packaging.
    • apt-cache dump - lists every package in the cache. This command is especially helpful in combination with a grep pipe such as apt-cache dump | grep foo to search for packages whose names or dependencies include “foo”.
    • apt-cache policy - lists the repositories (main/restricted/universe/multiverse) in which a package exists.
    • apt-cache show - displays information about a binary package.
    • apt-cache showsrc - displays information about a source package.
    • apt-cache rdepends - shows reverse dependencies for a package (which packages require the queried one.
    • dpkg -S - lists the binary package to which a particular file belongs.
    • dpkg -l - lists currently installed packages. This is similar to apt-cache dump but for installed packages.
    • dpkg -c - lists the contents of a binary package. It is useful for ensuring that files are installed to the right places.
    • dpkg -f - shows the control file for a binary package. It is useful for ensuring that the dependencies are correct.
    • grep-dctrl - searches for specialized information in packages. It is a specific use of the grep package (but not installed by default).
a silhouette of a person's head and shoulders, used as a default avatar

Dublin..



A bumpy flight into Dublin. Quite some rain and clouds and occasional sun rays. A long night out in a pub that challenged me by hiding. Needed to clear my head the day after. Went on a long walk in Dublin bay. Luckily this part of Ireland wasn't affected by the flood. Rushed to meet up for a coffee in heavy rainfalls. The ticket machine refused to serve me. Had to face the Dublin traffic and the rain. Went to a friend's home and finally also met their little one. Have never seen a kid smiling that much. Extremely charming. An early start the next day. A very friendly taxi driver. Got deep-freezed at the gate and almost blown off my feet when entering the plane. Were held on the ground for an hour due to the gusts. Then the familiar culture shock at Nuremberg train station. Anyway, back home. Almost forgot: Hope to go back for the gorilla advertisement. Here are some pics of the short trip:































a silhouette of a person's head and shoulders, used as a default avatar
a silhouette of a person's head and shoulders, used as a default avatar
a silhouette of a person's head and shoulders, used as a default avatar
a silhouette of a person's head and shoulders, used as a default avatar

Chrome OS en la Mini Dell 10v

Hace ya un año será que intente entrar al equipo de Ubuntu Netbook Remix. Por diversas razones, nunca se dió, aunque en esa visita a Canonical tuve la oportunidad de ver la Dell Mini 9 mucho antes que saliera a la venta. Ame el teclado de la Dell y su elegancia (de hecho muy parecido al que tenía la HP Mini versión desarrollador que me había llegado por vía de Novell).

Hoy me levanto con la noticia de que la comunidad de Dell creó un build de Chrome OS para la Mini Dell 10v. Pueden bajarlo de aquí.

Para los desesperados, la imagen esta aquí. Necesitan un USB de 8 gigas y copian la imagen asi: dd if=ChromiumOS_Mini10v_Nov25.img of=/dev/sdb (donde sdb es el identificador de su memoria usb, chequen bien antes de escribirlo). Los passwords y mas información estan aquí.

Definitivamente, la comunidad de las Mini Dell esta MUY activa. También ví que tienen un chorro de información de cómo poner el MacOSX en esas pequeñas bestias.

a silhouette of a person's head and shoulders, used as a default avatar

New pm-utils for openSUSE

The current SUSE version of pm-utils is pretty old. Rpm -q said somethink like 0.99.4.20071229. And it also contains a hacked support for s2ram, which is nowadays in upstream version. There has been also a bnc#378883 – Need an updated pm-utils I started a work on this week.

A new pm-utils package for openSUSE is available in home:mvyskocil:branches:Base:System. The HIBERNATE_METHOD is no longer supported, because upstream version contains something better – modules. There are three methods how to run software suspend on Linux

  1. kernel – plain echo something > /proc/something
  2. suspend – tool contains a lot of quirks needed on some HW
  3. tuxonice – kernel and userspace support for hibernate, not in upstream kernel, nor in openSUSE

Because there are too many ways in current Linux world, pm-utils simply support all by specific modules stored in /usr/lib/pm-utils/modules.d, which implements appropriate functions for suspend/hibernate and hybrid. The SUSE default is uswsusp module calls s2ram/s2disk/s2both from software suspend project, because it should be considered as a safe default.

If you want to use different module, you can add a config file somewhere to
/etc/pm/conf.d/
and set the value of SLEEP_MODULE.

# The default sleep/wake system to use. Valid values are:
# kernel The built-in kernel suspend/resume support.
# Use this if nothing else is supported on your system.
# uswsusp If your system has support for the userspace
# suspend programs (s2ram/s2disk/s2both), then use this.
# tuxonice If your system has support for tuxonice, use this.
#
# The system defaults to "kernel" if this is commented out.
SLEEP_MODULE="uswsusp"

You can type more methods, which will be called, so SLEEP_MODULE=”kernel uswsusp” will use kernel and if it fail, or not available, it call uswsusp. Please note that config files are read in C sort order, so names matters.

So please install new pm-utils and test it and tell me if you found any regression (please inform me about a regressions only, I cannot fix generic suspend problems).