MySQL:RPM lässt sich weder installieren noch deinstallieren!

MySQL, PostgreSQL, SQLite
server.local
Posts: 17
Joined: 2002-09-18 11:00

MySQL:RPM lässt sich weder installieren noch deinstallieren!

Post by server.local » 2003-01-23 19:31

Moin Leute,

habe hier eingnaz merkwürdiges Problem:

Ich wollte aufgrund eines Fehlers das mysql-rpm Packet deinstallieren, dabei brach rpm irgendwie ab. Ich konnte die Console nicht mehr verwenden und musste reconnecten.

Ok, also habe ich es nochmal versucht. Klappt nicht -> mysql-server noch instalöliert

Ok, dachte ich mir, wenns installiert ist, dann kann ich es ja deinstallieren -> Fehler: mysq-server ist noch installiert.

Code: Select all

[root@server mysql-rpms]# rpm -i mysql-server-3.23.52-3.i386.rpm
Warnung: mysql-server-3.23.52-3.i386.rpm: V3 DSA signature: NOKEY, key ID db42a6
0e
        package mysql-server-3.23.52-3 is already installed
[root@server mysql-rpms]# rpm -e mysql-server-3.23.52-3.i386.rpm
Fehler: Paket mysql-server-3.23.52-3.i386.rpm ist nicht installiert
[root@server mysql-rpms]#

Was kann ich machen??
habs schon mit force und initdb / rebuilddb versucht, aber hat nix geholfen...

Bin für jede Hilfe dankbar!



MfG

server.local

server.local
Posts: 17
Joined: 2002-09-18 11:00

Re: MySQL:RPM lässt sich weder installieren noch deinstallieren!

Post by server.local » 2003-01-23 20:12

ich hab den debugger noch mal mitlaufen lassen:

Code: Select all

[root@server mysql-rpms]# rpm -e -vv mysql-server-3.23.52-3.i386.rpm
D: opening  db environment /var/lib/rpm/Packages joinenv
D: opening  db index       /var/lib/rpm/Packages rdonly mode=0x0
D: locked   db index       /var/lib/rpm/Packages
D: opening  db index       /var/lib/rpm/Name rdonly mode=0x0
Fehler: Paket mysql-server-3.23.52-3.i386.rpm ist nicht installiert
D: closed   db index       /var/lib/rpm/Name
D: closed   db index       /var/lib/rpm/Packages
D: closed   db environment /var/lib/rpm/Packages
D: opening  db environment /var/lib/rpm/Packages joinenv
D: opening  db index       /var/lib/rpm/Packages create mode=0x42
D: getting list of mounted filesystems
D: sanity checking 0 elments
D: computing 0 file fingerprints
D: computing file dispositions
D: closed   db index       /var/lib/rpm/Packages
D: closed   db environment /var/lib/rpm/Packages
[root@server mysql-rpms]#

server.local
Posts: 17
Joined: 2002-09-18 11:00

Re: MySQL:RPM lässt sich weder installieren noch deinstallieren!

Post by server.local » 2003-01-23 20:21

hab den deebugger auch noch bei install mitlaufen lassen:

Code: Select all

[root@server mysql-rpms]# rpm -i -vv mysql-server-3.23.52-3.i386.rpm
D: ============== mysql-server-3.23.52-3.i386.rpm
D: Expected size:      1467852 = lead(96)+sigs(344)+pad(0)+data(1467412)
D:   Actual size:      1467852
D: opening  db environment /var/lib/rpm/Packages joinenv
D: opening  db index       /var/lib/rpm/Packages rdonly mode=0x0
D: locked   db index       /var/lib/rpm/Packages
D: opening  db index       /var/lib/rpm/Pubkeys rdonly mode=0x0
Warnung: mysql-server-3.23.52-3.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60e
D:      added binary package [0]
D: found 0 source and 1 binary packages
D: ========== +++ mysql-server-3.23.52-3
D: opening  db index       /var/lib/rpm/Depends create mode=0x0
D: opening  db index       /var/lib/rpm/Basenames rdonly mode=0x0
D:  read h#       5 Header V3 DSA signature: NOKEY, key ID db42a60e
D:  Requires: /sbin/chkconfig                               YES (db files)
D:  read h#      16 Header V3 DSA signature: NOKEY, key ID db42a60e
D:  Requires: /usr/sbin/useradd                             YES (db files)
D:  read h#      16 Header V3 DSA signature: NOKEY, key ID db42a60e
D:  Requires: /usr/sbin/userdel                             YES (db files)
D: opening  db index       /var/lib/rpm/Providename rdonly mode=0x0
D:  read h#     133 Header V3 DSA signature: NOKEY, key ID db42a60e
D:  Requires: mysql = 3.23.52                               YES (db provides)
D:  read h#      32 Header V3 DSA signature: NOKEY, key ID db42a60e
D:  Requires: sh-utils                                      YES (db provides)
D:  read h#     156 Header V3 DSA signature: NOKEY, key ID db42a60e
D:  Requires: /bin/sh                                       YES (db files)
D:  Requires: /bin/sh                                       YES (cached)
D:  Requires: /bin/sh                                       YES (cached)
D:  Requires: /bin/sh                                       YES (cached)
D:  Requires: rpmlib(PayloadFilesHavePrefix) <= 4.0-1       YES (rpmlib provides)
D:  Requires: rpmlib(CompressedFileNames) <= 3.0.4-1        YES (rpmlib provides)
D:  read h#     156 Header V3 DSA signature: NOKEY, key ID db42a60e
D:  Requires: /bin/bash                                     YES (db files)
D:  Requires: /bin/sh                                       YES (cached)
D:  read h#     141 Header V3 DSA signature: NOKEY, key ID db42a60e
D:  Requires: libcrypt.so.1                                 YES (db provides)
D:  read h#     141 Header V3 DSA signature: NOKEY, key ID db42a60e
D:  Requires: libcrypt.so.1(GLIBC_2.0)                      YES (db provides)
D:  read h#     141 Header V3 DSA signature: NOKEY, key ID db42a60e
D:  Requires: libc.so.6                                     YES (db provides)
D:  read h#     141 Header V3 DSA signature: NOKEY, key ID db42a60e
D:  Requires: libc.so.6(GLIBC_2.0)                          YES (db provides)
D:  read h#     141 Header V3 DSA signature: NOKEY, key ID db42a60e
D:  Requires: libc.so.6(GLIBC_2.1)                          YES (db provides)
D:  read h#     141 Header V3 DSA signature: NOKEY, key ID db42a60e
D:  Requires: libc.so.6(GLIBC_2.1.2)                        YES (db provides)
D:  read h#     141 Header V3 DSA signature: NOKEY, key ID db42a60e
D:  Requires: libc.so.6(GLIBC_2.1.3)                        YES (db provides)
D:  read h#     141 Header V3 DSA signature: NOKEY, key ID db42a60e
D:  Requires: libc.so.6(GLIBC_2.2)                          YES (db provides)
D:  read h#     141 Header V3 DSA signature: NOKEY, key ID db42a60e
D:  Requires: libc.so.6(GLIBC_2.3)                          YES (db provides)
D:  read h#     141 Header V3 DSA signature: NOKEY, key ID db42a60e
D:  Requires: libdl.so.2                                    YES (db provides)
D:  read h#     141 Header V3 DSA signature: NOKEY, key ID db42a60e
D:  Requires: libdl.so.2(GLIBC_2.0)                         YES (db provides)
D:  read h#     141 Header V3 DSA signature: NOKEY, key ID db42a60e
D:  Requires: libdl.so.2(GLIBC_2.1)                         YES (db provides)
D:  read h#      11 Header V3 DSA signature: NOKEY, key ID db42a60e
D:  Requires: libgcc_s.so.1                                 YES (db provides)
D:  read h#      11 Header V3 DSA signature: NOKEY, key ID db42a60e
D:  Requires: libgcc_s.so.1(GCC_3.0)                        YES (db provides)
D:  read h#      11 Header V3 DSA signature: NOKEY, key ID db42a60e
D:  Requires: libgcc_s.so.1(GLIBC_2.0)                      YES (db provides)
D:  read h#     141 Header V3 DSA signature: NOKEY, key ID db42a60e
D:  Requires: libm.so.6                                     YES (db provides)
D:  read h#     141 Header V3 DSA signature: NOKEY, key ID db42a60e
D:  Requires: libm.so.6(GLIBC_2.0)                          YES (db provides)
D:  read h#     132 Header sanity check: OK
D:  Requires: libmysqlclient.so.10                          YES (db provides)
D:  read h#     141 Header V3 DSA signature: NOKEY, key ID db42a60e
D:  Requires: libnsl.so.1                                   YES (db provides)
D:  read h#     141 Header V3 DSA signature: NOKEY, key ID db42a60e
D:  Requires: libpthread.so.0                               YES (db provides)
D:  read h#     141 Header V3 DSA signature: NOKEY, key ID db42a60e
D:  Requires: libpthread.so.0(GLIBC_2.0)                    YES (db provides)
D:  read h#     141 Header V3 DSA signature: NOKEY, key ID db42a60e
D:  Requires: libpthread.so.0(GLIBC_2.1)                    YES (db provides)
D:  read h#     141 Header V3 DSA signature: NOKEY, key ID db42a60e
D:  Requires: libpthread.so.0(GLIBC_2.2)                    YES (db provides)
D:  read h#      12 Header V3 DSA signature: NOKEY, key ID db42a60e
D:  Requires: libstdc++.so.5                                YES (db provides)
D:  read h#      12 Header V3 DSA signature: NOKEY, key ID db42a60e
D:  Requires: libstdc++.so.5(GLIBCPP_3.2)                   YES (db provides)
D:  read h#     177 Header V3 DSA signature: NOKEY, key ID db42a60e
D:  Requires: libz.so.1                                     YES (db provides)
D: Conflicts: MySQL-server                                  NO
D: closed   db index       /var/lib/rpm/Depends
D: ========== recording tsort relations
D: ========== tsorting packages (order, #predecessors, #succesors, tree, depth)
D:     0    0    0    0    0 +mysql-server-3.23.52-3
D: installing binary packages
D: closed   db index       /var/lib/rpm/Pubkeys
D: closed   db index       /var/lib/rpm/Providename
D: closed   db index       /var/lib/rpm/Basenames
D: closed   db index       /var/lib/rpm/Packages
D: closed   db environment /var/lib/rpm/Packages
D: opening  db environment /var/lib/rpm/Packages joinenv
D: opening  db index       /var/lib/rpm/Packages create mode=0x42
D: getting list of mounted filesystems
D: sanity checking 1 elments
D: opening  db index       /var/lib/rpm/Name create mode=0x42
D: opening  db index       /var/lib/rpm/Pubkeys create mode=0x42
D:  read h#     280 Header V3 DSA signature: NOKEY, key ID db42a60e
D:  read h#     280 Header V3 DSA signature: NOKEY, key ID db42a60e
D: computing 13 file fingerprints
Preparing packages for installation...
D: computing file dispositions
D: opening  db index       /var/lib/rpm/Basenames create mode=0x42
D:  read h#     280 Header V3 DSA signature: NOKEY, key ID db42a60e
        package mysql-server-3.23.52-3 is already installed
D: closed   db index       /var/lib/rpm/Pubkeys
D: closed   db index       /var/lib/rpm/Basenames
D: closed   db index       /var/lib/rpm/Name
D: closed   db index       /var/lib/rpm/Packages
D: closed   db environment /var/lib/rpm/Packages
[root@server mysql-rpms]#

server.local
Posts: 17
Joined: 2002-09-18 11:00

Re: MySQL:RPM lässt sich weder installieren noch deinstallieren!

Post by server.local » 2003-01-24 09:57

Hat keiner ne Idee?

captaincrunch
Userprojekt
Userprojekt
Posts: 7066
Joined: 2002-10-09 14:30
Location: Dorsten

Re: MySQL:RPM lässt sich weder installieren noch deinstallieren!

Post by captaincrunch » 2003-01-24 09:59

Code: Select all

rpm -Uvh mysql-server-3.23.52-3.i386.rpm --force --nodeps
DebianHowTo
echo "[q]sa[ln0=aln256%Pln256/snlbx]sb729901041524823122snlbxq"|dc