Re: lug-bg: RE: rm -rf /usr (***** **)
- Subject: Re: lug-bg: RE: rm -rf /usr (***** **)
- From: George Danchev <danchev@xxxxxxxxx>
- Date: Sun, 15 Aug 2004 15:56:06 +0300
On Saturday 14 August 2004 17:59, Dimitar Tomow wrote:
> Izw. za lat. Winboze, 6te byda kratyk.
na 6lokavica stoto gledam se oplakvash ;-)
> Okaza se 4e e stignal do na4aloto na doc i tam sym go sprql , nama i
> pomenot /usr/bin ... i sega idwa typata 4ast za men , neiskam da obivdam
> nikoj ili ni6to , no kak move programi kato dpkg i apt da sa w /usr/bin ...
> spored men ili /bin , ili dave /sbin ... Kak move programite izgravda6ti
> debian da sa w /usr/bin ... uvas za men :|
ima si FHS, debian-policy i t.n. tam pishe sto.
> apt
> no such ...apt
> cd /var/cache/apt/archives
> ls | grep apt
> dpkg -i apt_some-version_i386.deb
> no such ... dpkg
>
> wypros pri polovenie 4e nqma i gcc kak za boga da kompiliram / instaliram
> dpkg , posle apt :??
>
> ili kak da recsbf24 + nqkoj programi :?
> ili po-qsno kazano:
predlagam ti da izpolzvash dfsbuild paketa da druga debian machina za da si
syzdadesh rescue live cd image za tvoqta arch ili napravo da to4nesh gotov
image ot http://people.debian.org/~jgoerzen/dfs/
boot-vash ot nego i
dpkg-repack dpkg apt
koeto ste t create-ne tezi paketi v cwd.
mount broken-hda-partition /mnt/nesto
chroot /mnt/nesto
mount -t proc none /proc
dpkg -i oniq dpkg i apt deto gi repack-na
moje i tuka da vdignesh mreja i apt-get --reinstall spisyk ot paketi kato
base-files base-config i t.n.
Ot tova polojenie moje i da debootstrap-nesh woody/sarge/sid (tam s kakvo si)
w nqkoq nezavisima dir na hda-to da go imash pod ryka.
umount /proc ; exit
boot ot hda, dano ne reve mnogo za nenamereni files ot /usr ;-) ako mnogo reve
se vrystash na dfsbuild environment-a i slagash tam za kakvoto reve ;-)
ot hdd-to ve4e
dpkg -l | awk '{print $1 $2}'
i triesh revodete zapo4vashti s "rc", da ostanat samo tezi zapo4vashti s "ii",
no pak gledash vsi4ki da si imash edno na um.
apt-get --reinstall install `cat spisyka paketi`
razbirash ideqta kakva e
> livecd Knoppix or Debian based 4rez , koeto da si instaliram dpkg/apt
> ediniq wariatn e
>
> ./configure --prefix=/mnt/Debianonhda ...
> make
> make install
> na dpkg i posle
> dpkg -i apt...
> apt-get --reinstal *
>
> kato neznam dali * -ta 6te podejstwa kato wsi4ko :(
ami ste stane da go build ot src ot cvs-a ili ot debian source package, ako
imash syotvetnite build-depends, ama stom kazvash 4e e stignalo do "s", zna4i
nqmash make, za autoconf nqma da govorim ;-) moje da gi repack-nesh i tqh de.
> izwoda: make backup , mirrordir or RAID1 !!!!!!!
moje bi da ;-)
> Ehh da imah po-golqm hard-disk
>
> delq go na 2 uslowno i mirror 1-4ast na 2-4ast
>
> /dev/hda1 mirror na /dev/hda6
> /dev/hda2 mirror na /dev/hda7
> primerno i t.n :((
>
> kato si mislq 4e misleh i po edno wreme da maham winboze-to ... pyk to 6te
> me gleda , dokato izmislq naj-dobriq na4in. Makar 4e imam edno/dwe
> LiveCD-ta ... Hyh tolkowa sym go polzwal 4e dave i kirilizaciq si nqma ,
> izwinete za koeto :(
s livecd image na dfsbuild i utilkite na nego sym vyzstanovqval i po-tejki
namesi na razni friend-ove izjivqvashti se kato root potrebiteli. Tova sa
home machini, kvi backupi ;-)
--
pub 4096R/0E4BD0AB 2003-03-18 <keyserver.bu.edu ; pgp.mit.edu>
fingerprint 1AE7 7C66 0A26 5BFF DF22 5D55 1C57 0C89 0E4B D0AB
============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================
|