[Debian/APT] Broken packages

Pagina: 1
Acties:
  • 194 views sinds 30-01-2008
  • Reageer

  • Vinnienerd
  • Registratie: Juli 2000
  • Laatst online: 19-08 16:21
Als ik apt-get upgrade doe, krijg ik dit:

code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
naerum:~# apt-get upgrade xfree86-common

Reading Package Lists... Done

Building Dependency Tree... Done

The following packages have been kept back

  adduser ae anacron apt ark base-config base-passwd bash bc binutils bsdmainutils bsdutils console-data

  console-tools console-tools-libs cpio cpp cron dc diald dialdcost dpkg dpkg-dev e2fsprogs ed elvis-tiny

  exim fbset fdutils fetchmail fileutils findutils freetype2 ftp g++ gcc gettext-base grep groff gs hostname

  info isapnptools isdnutils kab karm kcalc kcharselect kchart kcron kdebase kdebase-libs kdelibs3 kdepasswd

  kdepim-libs kdf kedit kfind kghostview khexedit kiconedit killustrator kivio kjots kmail knotes

  koffice-libs konqueror konsole korganizer korn koshell kpackage kpaint kpm kpresenter kspread ksysv kuser

  kview kword ldso leafnode lesstif1 lftp libarts libaudiofile0 libc6 libc6-dev libcompfaceg1 libdb2

  libgdbmg1 libjpeg62 libkmid libkonq3 liblcms libldap2 liblockfile1 libmimelib1 libmng1 libncurses5 libnewt0

  libopenldap1 libpam-modules libpam0g libpaperg libpng2 libpopt0 libproplist0 libqt2 libreadline4 libsasl7

  libstdc++2.10-dev libtiff3g libwrap0 lilo locales lockfile-progs login logrotate lynx mailx make man-db

  mawk mbr modutils mount ncurses-bin netbase nvi passwd patch pciutils perl-5.005 perl-5.005-base perl-base

  ppp procps psmisc pump python-base secpolicy sed setserial shellutils slang1 sox sysklogd syslinux sysvinit

  tar tasksel tcl8.2 tcpd telnet textutils update util-linux vflib2 wget whiptail whois wvdial wwwoffle

  xbase-clients xemacs21-basesupport xfonts-100dpi xfonts-75dpi xfonts-base xfonts-scalable xfs xfstt xlib6g

  xserver-common xserver-svga xterm zlib1g

18 packages upgraded, 0 newly installed, 0 to remove and 178 not upgraded.

Sorry, but the following packages have unmet dependencies:

  debianutils: PreDepends: libc6 (>= 2.1.97) but 2.1.3-18 is to be installed

E: Internal Error, InstallPackages was called with broken packages!





Hier gaat het dus om:

code:
1
E: Internal Error, InstallPackages was called with broken packages!





Wat moet ik doen?







Mijn sources.list:

code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# See sources.list(5) for more information, especialy

# Remember that you can only use http, ftp or file URIs

# CDROMs are managed through the apt-cdrom tool.

#deb http://http.us.debian.org/debian stable main contrib non-free

#deb http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free

#deb http://security.debian.org stable/updates main contrib non-free

#deb ftp://ftp.sourceforge.net/pub/mirrors/kde/stable/latest/distribution/deb/ potato main

# Uncomment if you want the apt-get source function to work

#deb-src http://http.us.debian.org/debian stable main contrib non-free

#deb-src http://non-us.debian.org/debian-non-US stable non-US



deb cdrom:[Debian GNU/Linux 2.2 r2 _Potato_ - Official i386 Binary-1 (20001207)]/ unstable contrib main non-US/contrib non-US/main

deb http://kde.tdyc.com potato main crypto optional

#Stable

deb http://ftp.nl.debian.org/debian stable main contrib non-free

deb http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free

#stable updates

deb http://security.debian.org stable/updates main contrib non-free

#Testing

#deb http://ftp.nl.debian.org/debian testing main contrib non-free

#deb http://http.us.debian.org/debian testing main contrib non-free

#Unstable

deb http://ftp.nl.debian.org/debian unstable main contrib non-free

deb http://http.us.debian.org/debian unstable main contrib non-free

;'(

  • Valium
  • Registratie: Oktober 1999
  • Laatst online: 09-08 08:59

Valium

- rustig maar -

Ten eerste is het niet apt-get upgrade xfree86-common, maar apt-get install xfree86-common. Wat jij nu hebt ingetikt is hetzelfde als apt-get upgrade.

Ten tweede: Hij wil niet upgraden omdat jij een unstable versie van een critical pakket aanvraagt. Libc is al op versie 2.2.3 in unstable, maar dat vereist een behoorlijke upgrade.

Dus: Wat je het beste kunt doen is: apt-get install libc6.....dit gaat al veeeeeel tijd kosten. Daarna een apt-get install xlibs xbase-clients xfonts-base xfonts-100dpi xfonts-75dpi xserver-common xfree86-common xserver-xfree86 xfs xlib6g xutils.

Dan heb je alle pakketten wel te pakken. En de deps worden zoals altijd prima afgevangen. De nieuwste versie is sinds een paar dagen 4.1.0...eindelijk ook voor Debian.

Wil je ook anti-Aliasing hebben, dan moet je ook de anti-aliasing-howto installeren. Die heeft dependancies voor alle benodigde pakketten. Is handig.

  • Vinnienerd
  • Registratie: Juli 2000
  • Laatst online: 19-08 16:21
Thanks! *D

  • Vinnienerd
  • Registratie: Juli 2000
  • Laatst online: 19-08 16:21
Probleem nummer 2:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
naerum:~# apt-get install libc6
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
  binutils cpp cpp-2.95 g++ g++-2.95 gcc gcc-2.95 libc6-dev libstdc++2.10-dev libstdc++2.10-glibc2.2 locales
The following NEW packages will be installed:
  cpp-2.95 g++-2.95 gcc-2.95 libstdc++2.10-glibc2.2
8 packages upgraded, 4 newly installed, 0 to remove and 187 not upgraded.
Need to get 12.9MB of archives. After unpacking 2839kB will be used.
Do you want to continue? [Y/n]
Get:1 http://ftp.nl.debian.org unstable/main libc6 2.2.3-9 [3389kB]
Get:2 http://ftp.nl.debian.org unstable/main libstdc++2.10-glibc2.2 1:2.95.4-0.010721 [141kB]
Get:3 http://ftp.nl.debian.org unstable/main binutils 2.11.90.0.24-1 [1235kB]
Get:4 http://ftp.nl.debian.org unstable/main cpp 2:2.95.4-5 [3138B]
Get:5 http://ftp.nl.debian.org unstable/main cpp-2.95 1:2.95.4-0.010721 [127kB]
Get:6 http://ftp.nl.debian.org unstable/main g++ 2:2.95.4-5 [1188B]
Get:7 http://ftp.nl.debian.org unstable/main g++-2.95 1:2.95.4-0.010721 [1028kB]
Get:8 http://ftp.nl.debian.org unstable/main gcc 2:2.95.4-5 [3266B]
Get:9 http://ftp.nl.debian.org unstable/main gcc-2.95 1:2.95.4-0.010721 [950kB]
Get:10 http://ftp.nl.debian.org unstable/main libstdc++2.10-dev 1:2.95.4-0.010721 [300kB]
Get:11 http://ftp.nl.debian.org unstable/main libc6-dev 2.2.3-9 [2299kB]
Get:12 http://ftp.nl.debian.org unstable/main locales 2.2.3-9 [3402kB]
Fetched 12.9MB in 30m23s (7062B/s)
(Reading database ... 19856 files and directories currently installed.)
Preparing to replace locales 2.1.3-18 (using .../locales_2.2.3-9_all.deb) ...
Unpacking replacement locales ...
Selecting previously deselected package libstdc++2.10-glibc2.2.
Unpacking libstdc++2.10-glibc2.2 (from .../libstdc++2.10-glibc2.2_1%3a2.95.4-0.010721_i386.deb) ...
Selecting previously deselected package cpp-2.95.
Unpacking cpp-2.95 (from .../cpp-2.95_1%3a2.95.4-0.010721_i386.deb) ...
Preparing to replace binutils 2.9.5.0.37-1 (using .../binutils_2.11.90.0.24-1_i386.deb) ...
Unpacking replacement binutils ...
Selecting previously deselected package gcc-2.95.
Unpacking gcc-2.95 (from .../gcc-2.95_1%3a2.95.4-0.010721_i386.deb) ...
Preparing to replace g++ 1:2.95.2-13 (using .../g++_2%3a2.95.4-5_i386.deb) ...
Unpacking replacement g++ ...
Preparing to replace gcc 1:2.95.2-13 (using .../gcc_2%3a2.95.4-5_i386.deb) ...
Removing old gcc doc directory.
Unpacking replacement gcc ...
Preparing to replace cpp 1:2.95.2-13 (using .../cpp_2%3a2.95.4-5_i386.deb) ...
Unpacking replacement cpp ...
Selecting previously deselected package g++-2.95.
Unpacking g++-2.95 (from .../g++-2.95_1%3a2.95.4-0.010721_i386.deb) ...
Preparing to replace libstdc++2.10-dev 1:2.95.2-13 (using .../libstdc++2.10-dev_1%3a2.95.4-0.010721_i386.deb) ...
Unpacking replacement libstdc++2.10-dev ...
Preparing to replace libc6-dev 2.1.3-18 (using .../libc6-dev_2.2.3-9_i386.deb) ...
Unpacking replacement libc6-dev ...
Replacing files in old package netbase ...
Preparing to replace libc6 2.1.3-18 (using .../libc6_2.2.3-9_i386.deb) ...
Unpacking replacement libc6 ...
Replacing files in old package ldso ...
Replacing files in old package netbase ...
Setting up libc6 (2.2.3-9) ...
Checking for services that may need to be restarted...done.

Name Service Switch has changed in the C Library.
Running programs may not be able to do NSS lookups until they are
restarted (for services such as ssh, this can affect your ability to
login).
Note: restarting sshd should not affect any existing connections.

The services detected are: inetd wwwoffle cron

If other services begin to fail mysteriously after this upgrade,
it may be necessary to restart them too.

Do you wish to Restart Services? [Y/n]

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

Services restarted succesfully!

Current default timezone: 'Europe/Amsterdam'.
Local time is now:  Sun Aug  5 16:05:57 CEST 2001.
Universal Time is now:  Sun Aug  5 14:05:57 UTC 2001.
Run 'tzconfig' if you wish to change it.

Setting up locales (2.2.3-9) ...
Installing new version of config file /etc/locale.alias ...

WARNING: The locales package no longer supplies precompiled versions of
the locale definitions. Instead, you must uncomment the definitions you
want in /etc/locale.gen, and run the `locale-gen' program as root. Each
time the locales package is upgraded, these definitions will automatically
be regenerated. If you wish, you can type ^Z (CTRL+Z) now to background
this install, edit /etc/locale.gen, and type `fg' when done, so that
locales will be generated now.

NOTE: If you do not generate locales, you will not be able to properly see
8bit character sets.

Press [ENTER] to continue:
Generating locales...
  en_US.ISO-8859-1... done
Generation complete.

Setting up libstdc++2.10-glibc2.2 (2.95.4-0.010721) ...

Setting up binutils (2.11.90.0.24-1) ...

Setting up libc6-dev (2.2.3-9) ...

Setting up cpp (2.95.4-5) ...

Setting up cpp-2.95 (2.95.4-0.010721) ...

Setting up gcc-2.95 (2.95.4-0.010721) ...

Setting up gcc (2.95.4-5) ...
perl: error while loading shared libraries: libdb.so.3: cannot open shared object file: No such file or directory
dpkg: error processing gcc (--configure):
 subprocess post-installation script returned error exit status 127
Setting up g++-2.95 (2.95.4-0.010721) ...

Setting up libstdc++2.10-dev (2.95.4-0.010721) ...
perl: error while loading shared libraries: libdb.so.3: cannot open shared object file: No such file or directory
dpkg: error processing libstdc++2.10-dev (--configure):
 subprocess post-installation script returned error exit status 127
Setting up g++ (2.95.4-5) ...
perl: error while loading shared libraries: libdb.so.3: cannot open shared object file: No such file or directory
dpkg: error processing g++ (--configure):
 subprocess post-installation script returned error exit status 127
Errors were encountered while processing:
 gcc
 libstdc++2.10-dev
 g++
E: Sub-process /usr/bin/dpkg returned an error code (1)

Ik moet dus libdb hebben, en die heb ik ook, want hij staat in /usr/lib/libdb.so.3. :(

Hoe stel ik nou in dat 'ie 'm kan vinden?