Google
 

8/27/06

E: Dynamic MMap ran out of room

> I created an apt.conf file in /etc/apt and added;
> APT::Cache-Limit "141943904";

Install softwares from unstable distribution.

Want to install the following softwares which exist in unstable version of debian.
1. F-spot: personal photoes management.
2. Beagle.
According to the help provided by the following link:
The following are copied from the above link just in case this link disappears.

3.8 How to keep a mixed system

People are sometimes interested in using one of the Debian versions as its main system distribution and one or more packages from another branch.

To set up what is your main version of Debian you should edit the /etc/apt/apt.conf (it does not usually exist, create it if you don't have one) to contain the following line:

     APT::Default-Release "version";

Where version is the version of Debian you want to use as the main distribution. The versions you can use are stable, testing and unstable. To install packages from another version, then, you must use APT in the following way:

     # apt-get -t distribution install package 

For that to work, though, you need at least one APT source line in your /etc/apt/sources.list for the distribution you want the package from, and the package must exist on that source.

You can also request a specific version of a package using the following sintax:

     # apt-get install package=version 

For example, the line below will install version 2.2.4-1 of the nautilus package.:

     # apt-get install nautilus=2.2.4-1

IMPORTANT: the `unstable' version of Debian is the version to which the newest versions of Debian packages are uploaded first. This distribution sees all of the changes that packages go through, both small ones and more drastic ones which affect many packages or the whole system. For this reason, this version of the distribution should not be used by inexperienced users or by those who need proven stability.

The `testing' distribution is not necessarily better than `unstable', because it does not receive security updates quickly. For servers and other production systems stable should always be used.


I did not succeed doing this. There is dependence problems.

8/13/06

lpr and lp.

Today I deleted lpr and related packages, need to check whether printing is still working ok.

Everything works ok. So I don't need lpr, but the lp. Use "lp" to print and "lpstats" to see the jobs and printers.

8/12/06

speedup linux reboot.

1. When reboot, use the following command:
/sbin/shutdown -rf now
This command will skip fsck which takes a lot of time, especially when the hard drive is huge. If you want to force the system to do disk san, then use the following command:
/sbin/shutdown -rF now

2. Use "sysv-rc-conf" to manage the startup services. here is the detail explanationLink

8/7/06

openoffice crashes under debian sarge.

This problem is due to
libfreetype6
Do the following to fix it.

1. First find any debian mirror http://www.debian.org/mirror/list
goto /pool/main/f/freetype/ and download libfreetype6_2.1.7-2.4_.deb
and libfreetype6-dev_2.1.7-2.4_.deb

2. Eventually download the dev package as well as root use
dpkg -i
to downgrade the packages
3. Finally, I used aptitude to mark the packages as 'hold' to prevent them from
updates until some coming package of either freetype6 or oo will be flawless.

Reference

Search my own blog.

In order to search the blog, need to first log in. If don't login, the search is very bad.

8/5/06

My favourite linux programs.

1. Internet related

  • firefox
  • gftp
  • ktorrent (this one works under kubuntu)/bitTornado (under sarge).
  • kget/wget
  • Akregator (news reader).
2. Scientific softwares
  • R
  • mathematica (commercial software)
  • Matlab (commercial)
  • Jabref (bibliograph management)
3. Graphic softwares/Photoes organization
  • Gimp
  • xfig
  • picasa (from google)
  • ksnapshow (used to capture the screen)
4. Multimedia

5. Personal information management (PIM)
  • Kontact/korganizer
6. System management
  • sysv-rc-conf , which can config the startup services.
7. Programming
  • kdevelope
  • designer (QT)
  • code-navigator
  • source-navigator

There are differences between boot sector and its backup

Use the following to fix it.

sudo dosfsck -ar /dev/your_fat32

original -> backup

8/3/06

Xlib.h can not find.

When compile sources, sometimes this error appears. First need to install xlibs-dev such development packages. After that, if it is still there, use:
./configure --help
to see the options can be used. Usually there are options such as :
--x-libs with which you can define the path.