Selam Emre, * Emre Sevinc [2004-09-28 08:38:19+0300] > Acilen yardima ihtiyacim var, evdeki Debian (Woody) sistemimi > unstable'a upgrade etmeye calisiyorum, yaklasik 390 MB veri cektikten > sonra bana birkac soru sordu sonra kurmaya basladi ancak bir > yere gelip takildi. Bunun üzerine bana önerdigi > > apt-get -u -f dist-upgrade > > komutunu denedim gene olmadi. Dönüp dolasip su asamaya geliyorum: > > debian:/# apt-get -u -f dist-upgrade > Reading Package Lists... Done > Building Dependency Tree... Done > Calculating Upgrade... Done > The following packages have been kept back: > eterm grip plotutils > The following packages will be upgraded: > nano > 1 upgraded, 0 newly installed, 0 to remove and 3 not upgraded. > 581 not fully installed or removed. > Need to get 0B/406kB of archives. > After unpacking 483kB of additional disk space will be used. > Do you want to continue? [Y/n] Y > debconf: unable to initialize frontend: Kde > debconf: (Can't locate Qt.pm in @INC (@INC contains: /etc/perl > /usr/local/lib/perl/5.8.4 /usr/local/share/perl/5.8.4 /usr/lib/perl5 > /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 > /usr/local/lib/site_perl /usr/local/lib/perl/5.8.0 > /usr/local/share/perl/5.8.0 .) at > /usr/share/perl5/Debconf/FrontEnd/Kde/Wizard.pm line 7, <> line 1.) > debconf: falling back to frontend: Dialog
Burada da bir hata var, arayuz olarak Kde'yi secmissin, fakat gerekli kitapliklar yuklenmemis. Bence bunu ontanimli 'Dialog' olarak ayarla: dpkg-reconfigure debconf > (Reading database ... 62316 files and directories currently installed.) > Preparing to replace nano 1.0.6-2 (using .../archives/nano_1.2.4-2_i386.deb) > ... > update-alternatives: unable to make /usr/man/man1/editor.1.gz.dpkg-tmp a > symlink to /etc/alternatives/editor.1.gz: No such file or directory > dpkg: error processing /var/cache/apt/archives/nano_1.2.4-2_i386.deb > (--unpack): > subprocess pre-installation script returned error exit status 2 > Errors were encountered while processing: > /var/cache/apt/archives/nano_1.2.4-2_i386.deb > E: Sub-process /usr/bin/dpkg returned an error code (1) Bu raporlanmis bir hata: http://bugs.debian.org/272915 Gecici cozum olarak sunu yapabilirsin, /var/lib/dpkg/info/nano.postinst dosyasini acip 'update-alternatives'li satirlari devre disi birak, mesela soyle: set -e -if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ]; then +if false && [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ]; then update-alternatives --install /usr/bin/editor editor /bin/nano 40 \ --slave /usr/share/man/man1/editor.1.gz editor.1.gz \ /usr/share/man/man1/nano.1.gz Bundan sonra ayni islemlere devam et. -- roktas