Upgrade to Hardy Kubuntu 
* enable port tcp 80 forwarding on your firewall

because adept_manager connects directly to http://changelogs.ubuntu.com/

* kdesu "adept_manager --dist-upgrade-devel"

if you use a proxy like approx stop adept_manager after changing /etc/apt/sources.lists and rewrite to

deb http://proxy:9999/ubuntu/ hardy-security universe main multiverse restricted
deb http://proxy:9999/ubuntu/ hardy-updates universe main multiverse restricted
deb http://proxy:9999/ubuntu/ hardy main universe multiverse restricted

and start it again.

after upgrade done add
deb http://proxy:9999/medibuntu hardy free non-free

to /etc/apt/sources.lists

on my proxy /etc/approx/approx.conf:
ubuntu          http://ubuntu.inode.at/ubuntu
medibuntu http://de.packages.medibuntu.org

[ view entry ] ( 723 views )   |  print article
Install minimal sid with cdebootstrap from ubuntu gutsy 
To bootstrap debian sid on a second harddisk do following

* create partitions / filesystems

cfdisk /dev/hdc
mkfs.ext2 /dev/hdc1
mount -o rw,suid,dev /dev/hdc1 /mnt

mkswap -f /dev/hdc2
swapon /dev/hdc2

* bootstrap (with a deb proxy like approx)

cdebootstrap -v sid /mnt http://proxy:9999/debian

install cdebootstrap from hardy if something went wrong

wget [mirror]cdebootstrap_0.4.4ubuntu1_i386.deb
dpkg --force-all -i cdebootstrap_0.4.4ubuntu1_i386.deb

* enter chroot

mount --bind /proc /mnt/proc/
mount --bind /dev /mnt/dev

chroot /mnt
export LANG=C

* install kernel and bootloader

apt-get install grub linux-image-2.6.24-1-486

cat /etc/kernel-img.conf<<EOF
# Kernel Image management overrides
# See kernel-img.conf(5) for details
do_symlinks = yes
relative_links = yes
do_bootloader = no
do_bootfloppy = no
do_initrd = yes
link_in_boot = no
postinst_hook = update-grub
postrm_hook = update-grub

* config bootloader

echo "/dev/hdc1 / ext2 rw 0 0" > /etc/mtab
grub-install /dev/hdc

change in /boot/grub/menu.lst root=/dev/hdc1 with UUID
sed "s|root=/dev/hdc1|root=UUID=$(/lib/udev/vol_id --uuid /dev/hdc1)|" /boot/grub/menu.lst

* create /etc/fstab

echo "UUID=$(/lib/udev/vol_id --uuid /dev/hdc1) / auto defaults,noatime 0 1" > /etc/fstab

echo "UUID=$(/lib/udev/vol_id --uuid /dev/hdc2) none swap sw 0 0" >> /etc/fstab

* add a user

shadowconfig on
adduser USERNAME

* setup network, timezone

echo "nameserver NAMESERVERIP" > /etc/resolv.conf
echo HOSTNAME >/etc/hostname
cat > /etc/network/interfaces <<EOF
auto lo eth0
iface lo inet loopback
iface eth0 inet dhcp

* individual configs



SYSLOGD="-m 0"

* cleanup

apt-get clean
apt-get install deborphan
apt-get remove --purge $(deborphan)

* search for unused packages

dpkg -l | grep ^ii | less

* remove unused packages

apt-get remove --purge aptitude cdebootstrap-helper-diverts laptop-detect nano tasksel-data tasksel vim-common vim-tiny

[ view entry ] ( 842 views )   |  print article
firefox crash / gimp no font - Pango-WARNING **: failed to create cairo scaled font, expect ugly output. the offending font is 'DejaVu Sans 9' 
after upgrade from feisty to gutsy firefox and gimp wont work:

the solution is

dpkg-reconfigure libcairo2 libpango1.0-common
fc-cache -fs

http://www.mail-archive.com/debian-user ... 03742.html

[ view entry ] ( 703 views )   |  print article
squirrelmail "Deutsch" 
apt-get install squirrelmail-locales squirrelmail-decode ispell wngerman

ln -s /etc/squirrelmail/apache.conf /etc/apache2/conf.d/squirrelmail.conf
chgrp -R www-data /usr/share/squirrelmail/

added "de_DE ISO-8859-1" to /var/lib/locales/supported.d/local

dpkg-reconfigure locales

invoke-rc.d apache2 restart

10/1: de_DE

[ view entry ] ( 747 views )   |  print article
ntfs read/write with feisty 
apt-get install ntfs-g3


vol_id /dev/sda1

UUID=5EFC7B02FC7AD42D   /media/usbhdd ntfs-3g rw,users,uid=1000,guid=1000,umask=007,locale=de_AT.utf8,force   0    0
user can mount but not unmount

wget http://launchpadlibrarian.net/7435949/u ... ount.patch

$ sudo apt-get update
$ sudo apt-get install build-essential
$ sudo apt-get build-dep mount
$ cd /tmp
$ apt-get source mount
$ cd util-linux-2.12r
$ ./debian/rules patch
$ patch -Np1 -i ../util-linux_user_mount.patch
$ ./configure
$ make lib
$ make -C mount
$ sudo chown root:root mount/umount
$ sudo chmod 4755 mount/umount
$ sudo mv mount/umount /bin

automount with udev:

BUS=="usb", KERNEL=="sd*", SYSFS{serial}=="DEF10000CC2DAB6", NAME="%k", run+="/bin/mount /media/usbhdd"

[ view entry ] ( 1333 views )   |  print article

<<First <Back | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 |