Table of Contents

Zvlastnosti Debianu

se kterymi se bezne setkavam a chtel bych udelat peclivy seznam.

Priznaky:

 Reading package lists... Error!
 E: Dynamic MMap ran out of room
 E: Error occurred while processing thunar-media-tags-plugin (NewVersion1)
 E: Problem with MergeList /var/lib/apt/lists/ftp.cz.debian.org_debian_dists_testing_main_binary-amd64_Packages
 E: The package lists or status file could not be parsed or opened.
 E: Couldn't rebuild package cache

Medicina:

 echo 'APT::Cache-Limit "16500000";' >> /etc/apt/apt.conf

/etc/apt/apt.conf or /etc/apt/apt.conf.d/70debconf

APT::Cache-Limit "16777216";

Priznaky:

Potrebuji balik z testingu, napr. kernel-images-2.6 a ostatni disablovat.

Medicina: Vytvorime v /etc/apt/preferences

 Package: *
 Pin: release a=testing
 Pin-Priority: 200
 
 Package: linux-image-2.6-amd64
 Pin: release a=testing
 Pin-Priority: 999

Priznaky:

Pro novy repozitar baliku neni naimportovany klic.

Reading package lists... Done
W: GPG error: http://ftp.sk.debian.org unstable Release:
 The following signatures couldn't be verified because the public key is not available:
 NO_PUBKEY A70DAF536070D3A1

Medicina: Mame klic s fingerprintem A70DAF536070D3A1

gpg --recv-keys A70DAF536070D3A1 --keyserver pgp.org
gpg --armor --export A70DAF536070D3A1 | apt-key add -

or

gpg --keyserver hkp://subkeys.pgp.net --recv-keys 16BA136C
gpg --export | apt-key add -

or

apt-get install debian-backports-keyring

or

wget -O - http://backports.org/debian/archive.key | apt-key add -

Priznaky:

Spatny cas Mon Nov 10 16:15:20 EST 2008 a tzselect nepomaha?

Medicina: dpkg-reconfigure tzdata

Priznaky

64bit: Nefunguje flash v opere nebo mozille firefox na amd64.

Medicina:

aptitude remove libflash-mozilla-plugin libflash-mozplugin  mozilla-plugin-gnash
wget http://download.macromedia.com/pub/labs/flashplayer10/libflashplayer-10.0.d20.7.linux-x86_64.so.tar.gz
rm /usr/lib/mozilla/plugins/*flash*
tar xzvf libflashplayer-10.0.d20.7.linux-x86_64.so.tar.gz 
cp libflashplayer.so /usr/lib/mozilla/plugins/
cp libflashplayer.so /usr/lib/opera/plugins/

A je to :)

Alternatives

Potrebujeme python2.6 jako default nebo po instalaci pouze verze python2.6 neni v alternatives zavedeny python vubec

Medicina:

update-alternatives --install /usr/bin/python python /usr/bin/python2.6 1

Priznaky instalator

Instalator potrebuje nejaky modul nebo firmware.

Medicina Ukazu zpusob pro jednu konkretni instalaci po siti. Debian squeeze na HP DL360 G6 nema firmware probnx2-mips-09-5.0.0.j3.fw

wget http://ftp.debian.org/[...]/firmware-nonfree/firmware-bnx2_0.28_all.deb
extract (i used mc) CONTENTS/lib to /tmp/fw/lib
mkdir target
cd target
gzip -dc ../initrd.gz | cpio -id
cp -a /tmp/fw/lib/ lib/
find ./ | cpio -H newc -o > ../initrd
cd ..
gzip initrd
rm target -rf

Zde je “ready to use” vysledek. Muzete jim nahradit ve Debian Squeeze netboot.tar.gz identicky soubor