[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

problema amb dpkg



M¨he trobat amb un problema a la hora de instalar un servidor basat en debian, ja que pel que he vist totes les noves distribucions peten al arrancar la instalacio en el hardware de aquest pc (CPU: PII 500 RAM: 512mb HD: 60Gb Seagate Optical devices: DVD reader) suposo k deu ser tema del xipset o algun altre problema, pero el cas es que usant un cd de instalacio vell ("Debian GNU/Linux 3.0 r1 _Woody_ - Official i386 Binary-1 (20021218)") puc executar la instalacio pero m¨he trobat amb un problema, al actualitzar el dpkg peta tot plegat... despres de formatar el disc i instalar des de 0 el sistema basic unicament, executo la instalacio del dimoni ssh sense problemes, instalo midnight commander tambe sense problemes i finalment el ftpd els tres usant apt-get usant com a font el cd i despres instalo la ultima versio del webmin des de l`ultim tar disponible a la seva web, modifico el sources.list amb el seguent llistat de fonts


# deb cdrom:[Debian GNU/Linux 3.0 r1 _Woody_ - Official i386 Binary-1 (20021218)]/ unstable contrib main non-US/contrib non-US/main

# deb http://http.us.debian.org/debian stable main contrib nonfree
# deb http://http.us.debian.org/debian dists/stable-updates/
deb ftp://sunsite.cnlab-switch.ch/mirror/debian/ unstable main contrib non-free deb-src ftp://sunsite.cnlab-switch.ch/mirror/debian/ unstable main contrib non-free

deb http://pkg-kde.alioth.debian.org/kde-3.4.1/ ./

deb http://kalyxo-archive.mornfall.net/ staging main
deb http://kalyxo-archive.mornfall.net/ experimental main
deb ftp://ftp.nerim.net/debian-marillat/ stable main
deb ftp://ftp.nerim.net/debian-marillat/ testing main
deb ftp://ftp.nerim.net/debian-marillat/ unstable main

executo un apt-get update per tenir el nou llistat de paquets disponibles sense errors i intento instalar el nou dpkg i no vol... adjunto totes les respostes per que ho pogueu comprovar amb tots els detalls.

login as: root
root@192.168.1.155's password:
Last login: Fri Jun 24 15:22:16 2005 from 192.168.1.2 on pts/0
Linux 4Xsample 2.2.20-idepci #1 Sat Apr 20 12:45:19 EST 2002 i686 unknown

Most of the programs included with the Debian GNU/Linux system are
freely redistributable; the exact distribution terms for each program
are described in the individual files in /usr/share/doc/*/copyright

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Fri Jun 24 15:22:16 2005 from 192.168.1.2
4Xsample:~# apt-get update
Get:1 ftp://sunsite.cnlab-switch.ch unstable/main Packages [3588kB]
Get:2 ftp://ftp.nerim.net stable/main Packages [20.1kB]
Get:3 http://pkg-kde.alioth.debian.org ./ Packages [61.3kB]
Hit http://security.debian.org stable/updates/main Packages
Hit http://security.debian.org stable/updates/main Release
Get:4 http://pkg-kde.alioth.debian.org ./ Release [121B]
Get:5 ftp://ftp.nerim.net stable/main Release [128B]
Get:6 ftp://ftp.nerim.net testing/main Packages [19.8kB]
Get:7 ftp://ftp.nerim.net testing/main Release [129B]
Get:8 ftp://ftp.nerim.net unstable/main Packages [18.3kB]
Get:9 ftp://ftp.nerim.net unstable/main Release [130B]
Get:10 http://kalyxo-archive.mornfall.net staging/main Packages [6422B]
Get:11 http://kalyxo-archive.mornfall.net staging/main Release [89B]
Get:12 http://kalyxo-archive.mornfall.net experimental/main Packages [8513B]
Get:13 http://kalyxo-archive.mornfall.net experimental/main Release [117B]
Get:14 ftp://sunsite.cnlab-switch.ch unstable/main Release [82B]
Get:15 ftp://sunsite.cnlab-switch.ch unstable/contrib Packages [67.8kB]
Get:16 ftp://sunsite.cnlab-switch.ch unstable/contrib Release [85B]
Get:17 ftp://sunsite.cnlab-switch.ch unstable/non-free Packages [67.2kB]
Get:18 ftp://sunsite.cnlab-switch.ch unstable/non-free Release [86B]
Get:19 ftp://sunsite.cnlab-switch.ch unstable/main Sources [1420kB]
Get:20 ftp://sunsite.cnlab-switch.ch unstable/main Release [84B]
Get:21 ftp://sunsite.cnlab-switch.ch unstable/contrib Sources [29.7kB]
Get:22 ftp://sunsite.cnlab-switch.ch unstable/contrib Release [87B]
Get:23 ftp://sunsite.cnlab-switch.ch unstable/non-free Sources [26.4kB]
Get:24 ftp://sunsite.cnlab-switch.ch unstable/non-free Release [88B]
Fetched 5335kB in 1m51s (47.6kB/s)
Reading Package Lists... Done
Building Dependency Tree... Done
4Xsample:~# apt-get install dpkg
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
 libc6 libdb1-compat
The following NEW packages will be installed:
 libdb1-compat
2 packages upgraded, 1 newly installed, 0 to remove and 101  not upgraded.
Need to get 6711kB of archives. After unpacking 5378kB will be used.
Do you want to continue? [Y/n] y
Get:1 ftp://sunsite.cnlab-switch.ch unstable/main libdb1-compat 2.1.3-7 [30.8kB] Get:2 ftp://sunsite.cnlab-switch.ch unstable/main libc6 2.3.2.ds1-22 [4899kB]
Get:3 ftp://sunsite.cnlab-switch.ch unstable/main dpkg 1.13.9 [1781kB]
Fetched 6711kB in 2m11s (51.1kB/s)
Selecting previously deselected package libdb1-compat.
(Reading database ... 7058 files and directories currently installed.)
Unpacking libdb1-compat (from .../libdb1-compat_2.1.3-7_i386.deb) ...
Replacing files in old package libc6 ...
Preparing to replace libc6 2.2.5-11.2 (using .../libc6_2.3.2.ds1-22_i386.deb) ..
.

Name Service Switch update in the C Library: pre-installation question.

Running services and programs that are using NSS need to be restarted,
otherwise they might not be able to do lookup or authentication any more.
The installation process is able to restart some services (such as ssh or
telnetd), but other programs cannot be restarted automatically.  One such
program that needs manual stopping and restart after the glibc upgrade by
yourself is xdm - because automatic restart might disconnect your active
X11 sessions.

Known packages that need to be stopped before the glibc upgrade are:
       xdm kdm gdm postgresql xscreensaver
This script does not detect any services to stop now.

If you want to interrupt the upgrade now and continue later, please
answer No to the question below.

Do you want to upgrade glibc now? [Y/n] y

Unpacking replacement libc6 ...
Setting up libc6 (2.3.2.ds1-22) ...
Checking for services that may need to be restarted...done.

Name Service Switch update in the C Library: post-installation question.

Running services and programs that are using NSS need to be restarted,
otherwise they might not be able to do lookup or authentication any more
(for services such as ssh, this can affect your ability to login).
Note: restarting sshd/telnetd should not affect any existing connections.

The services detected are:
       inetd cron ssh exim

If other services has begun to fail mysteriously after this upgrade, it is
probably necessary to restart them too.  We recommend you to reboot your
machine after the upgrade to avoid the NSS related trouble.

Do you wish to restart services? [Y/n] y

Restarting services possibly affected by the upgrade:
 inetd: stopping...starting...done.
 cron: stopping...starting...done.
 ssh: stopping...starting...done.
 exim: stopping...starting...done.

Services restarted successfully.

Current default timezone: 'Europe/Andorra'.
Local time is now:      Fri Jun 24 15:41:13 CEST 2005.
Universal Time is now:  Fri Jun 24 13:41:13 UTC 2005.
Run 'tzconfig' if you wish to change it.

Setting up libdb1-compat (2.1.3-7) ...

(Reading database ... 7177 files and directories currently installed.)
Preparing to replace dpkg 1.9.21 (using .../archives/dpkg_1.13.9_i386.deb) ... dpkg: error processing /var/cache/apt/archives/dpkg_1.13.9_i386.deb (--unpack):
subprocess pre-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/dpkg_1.13.9_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


Algu sap que podria fer per resoldre aquest problema¿? logicament a partir d`aquest punt ja no puc executar instalacions pk sem queda clavat en aquest punt.
Sisplau agrairia qualsevol mena d`ajut.

--
- Why does Computers Engineers confuse Halloween with Christmas so often?
- Because OCT 31 is the same that DEC 25*



Reply to: