From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Sat, 13 Sep 2003 18:49:09 +0400 From: Kir To: community@altlinux.ru Message-Id: <20030913184909.2cbf04f1.forlin@yandex.ru> X-Mailer: Sylpheed version 0.9.2 (GTK+ 1.2.10; i686-alt-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 8bit Subject: [Comm] =?koi8-r?b?69LJ19nFINLV3svJ?= => =?koi8-r?b?68HUwdPU0s/GwSDTINrB18nTyc3P09TRzck=?= X-BeenThere: community@altlinux.ru X-Mailman-Version: 2.1.2 Precedence: list Reply-To: community@altlinux.ru List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Sep 2003 14:49:32 -0000 Archived-At: List-Archive: List-Post: Здравствуйте! По невнимательности выдал машине команду: [root@localhost root]# apt-get remove kernel24-headers Reading Package Lists... Done Collecting File Provides... Done Building Dependency Tree... Done The following packages will be REMOVED: XFree86-devel gcc2.95 gcc2.96 gcc2.96-c++ gcc3.2 gcc3.2-c++ glibc-devel glibc-devel-static gtk+-devel imlib-devel kernel24-headers libGLU-devel libpng3-devel libstdc++2.96-devel-static libstdc++3.2-devel rpm-build rpm-utils zlib-devel 0 packages upgraded, 0 newly installed, 18 removed and 2 not upgraded. Need to get 0B of archives. After unpacking 49.9MB disk space will be freed. Do you want to continue? [Y/n] y Executing RPM (/bin/rpm -e --fancypercent --nodeps)... install-info: warning: no entries found for `/usr/share/info/libc-dir-add.info'; nothing deleted Removing manually selected alternative - switching to auto mode Removing manually selected alternative - switching to auto mode Спохватившись, остановил процесс по Ctrl+C: E: Sub-process /bin/rpm exited unexpectedly Стал смотреть, что получилось и пытаться править (извиняюсь за количество текста): [root@localhost root]# rpm -q kernel24-headers warning: package kernel24-headers is not installed [root@localhost root]# [root@localhost athlon]# rpm i kernel24-headers-2.4.20-alt7.athlon.rpm RPM version 4.0.4 Copyright (C) 1998-2000 - Red Hat, Inc. This program may be freely redistributed under the terms of the GNU GPL Usage: rpm {--help} rpm {--version} [root@localhost athlon]# apt-get install XFree86-devel gcc2.95 gcc2.96 gcc2.96-c++ gcc3.2 gcc3.2-c++ glibc-devel glibc-devel-static kernel24-headers-2.4.20-alt7.athlon.rpm Reading Package Lists... Done Collecting File Provides... Done Building Dependency Tree... Done E: Couldn't find package kernel24-headers-2.4.20-alt7.athlon.rpm [root@localhost athlon]# apt-get install XFree86-devel gcc2.95 gcc2.96 gcc2.96-c++ gcc3.2 gcc3.2-c++ glibc-devel glibc-devel-static Reading Package Lists... Done Collecting File Provides... Done Building Dependency Tree... Done You might want to run `apt-get -f install' to correct these: The following packages have unmet dependencies: gcc3.2: Depends: cpp3.2 (= 3.2.1-alt2) but 3.2.3-alt1 is to be installed Depends: libgcc3.2 (= 3.2.1-alt2) but 3.2.3-alt1 is to be installed gcc3.2-c++: Depends: libstdc++3.2-devel (= 3.2.1-alt2) but it is not going to be installed glibc-devel: Depends: kernel-headers (>= 2.2.1) imlib-devel: Depends: libpng3-devel (>= 1.2.4-alt4) but it is not going to be installed Depends: zlib-devel but it is not going to be installed E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution). [root@localhost athlon]# apt-get -f install XFree86-devel gcc2.95 gcc2.96 gcc2.96-c++ gcc3.2 gcc3.2-c++ glibc-devel glibc-devel-static Reading Package Lists... Done Collecting File Provides... 11% [root@localhost athlon]# apt-get -f install XFree86-devel gcc2.95 gcc2.96 gcc2.96-c++ gcc3.2 gcc3.2-c++ glibc-devel glibc-devel-static Reading Package Lists... Done Collecting File Provides... Done Building Dependency Tree... Done You might want to run `apt-get -f install' to correct these: The following packages have unmet dependencies: gcc3.2: Depends: cpp3.2 (= 3.2.1-alt2) but 3.2.3-alt1 is to be installed Depends: libgcc3.2 (= 3.2.1-alt2) but 3.2.3-alt1 is to be installed gcc3.2-c++: Depends: libstdc++3.2-devel (= 3.2.1-alt2) but it is not going to be installed glibc-devel: Depends: kernel-headers (>= 2.2.1) imlib-devel: Depends: libpng3-devel (>= 1.2.4-alt4) but it is not going to be installed Depends: zlib-devel but it is not going to be installed E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution). [root@localhost athlon]# apt-get -f install Reading Package Lists... Done Collecting File Provides... Done Building Dependency Tree... Done Correcting dependencies... Done The following extra packages will be installed: XFree86-devel glibc-devel kernel24-headers libpng3-devel zlib-devel The following NEW packages will be installed: XFree86-devel glibc-devel kernel24-headers libpng3-devel zlib-devel 0 packages upgraded, 5 newly installed, 0 removed and 2 not upgraded. Need to get 0B/4812kB of archives. After unpacking 13.2MB of additional disk space will be used. Do you want to continue? [Y/n] y Executing RPM (/bin/rpm -Uvh --fancypercent --oldpackage)... Preparing... ############################################################### [100%] 1: kernel24-headers ############################################################### [ 20%] 2: glibc-devel ############################################################### [ 40%] 3: zlib-devel ############################################################### [ 60%] 4: libpng3-devel ############################################################### [ 80%] 5: XFree86-devel ############################################################### [100%] [root@localhost athlon]# apt-get -f install gcc2.95 gcc2.96 gcc2.96-c++ gcc3.2 gcc3.2-c++ glibc-devel-static Reading Package Lists... Done Collecting File Provides... Done Building Dependency Tree... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: gcc3.2: Depends: cpp3.2 (= 3.2.1-alt2) but 3.2.3-alt1 is to be installed Depends: libgcc3.2 (= 3.2.1-alt2) but 3.2.3-alt1 is to be installed gcc3.2-c++: Depends: libstdc++3.2-devel (= 3.2.1-alt2) but it is not going to be installed E: Broken packages [root@localhost athlon]# rpm -q gcc3.2 warning: package gcc3.2 is not installed [root@localhost athlon]# rpm -q gcc2.95 warning: package gcc2.95 is not installed [root@localhost athlon]# apt-get -f install gcc2.95 gcc2.96 gcc2.96-c++ glibc-devel-static Reading Package Lists... Done Collecting File Provides... Done Building Dependency Tree... Done The following NEW packages will be installed: gcc2.95 gcc2.96 gcc2.96-c++ glibc-devel-static 0 packages upgraded, 4 newly installed, 0 removed and 2 not upgraded. Need to get 0B/6294kB of archives. After unpacking 15.6MB of additional disk space will be used. Executing RPM (/bin/rpm -Uvh --fancypercent --oldpackage)... Preparing... ############################################################### [100%] 1: glibc-devel-static ############################################################### [ 25%] 2: gcc2.95 ############################################################### [ 50%] 3: gcc2.96 ############################################################### [ 75%] 4: gcc2.96-c++ ############################################################### [100%] [root@localhost athlon]# apt-get -f install gcc3.2 gcc3.2-c++ Reading Package Lists... Done Collecting File Provides... Done Building Dependency Tree... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: gcc3.2: Depends: cpp3.2 (= 3.2.1-alt2) but 3.2.3-alt1 is to be installed Depends: libgcc3.2 (= 3.2.1-alt2) but 3.2.3-alt1 is to be installed gcc3.2-c++: Depends: libstdc++3.2-devel (= 3.2.1-alt2) but it is not going to be installed E: Broken packages [root@localhost athlon]# rpm -q kernel24-headers kernel24-headers-2.4.20-alt9 [root@localhost athlon]# apt-get remove cpp3.2 Reading Package Lists... Done Collecting File Provides... Done Building Dependency Tree... Done The following packages will be REMOVED: cpp3.2 0 packages upgraded, 0 newly installed, 1 removed and 2 not upgraded. Need to get 0B of archives. After unpacking 233kB disk space will be freed. Do you want to continue? [Y/n] y Executing RPM (/bin/rpm -e --fancypercent --nodeps)... [root@localhost athlon]# apt-get remove libstdc++3.2-devel Reading Package Lists... Done Collecting File Provides... Done Building Dependency Tree... Done Package libstdc++3.2-devel is not installed, so not removed 0 packages upgraded, 0 newly installed, 0 removed and 2 not upgraded. [root@localhost athlon]# apt-get install gcc3.2 gcc3.2-c++ cpp3.2 libstdc++3.2-devel Reading Package Lists... Done Collecting File Provides... Done Building Dependency Tree... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: gcc3.2: Depends: libgcc3.2 (= 3.2.1-alt2) but 3.2.3-alt1 is to be installed libstdc++3.2-devel: Depends: libstdc++3.2 (= 3.2.1-alt2) but 3.2.3-alt1 is to be installed E: Broken packages [root@localhost athlon]# apt-get remove libstdc++3.2 Reading Package Lists... Done Collecting File Provides... Done Building Dependency Tree... Done The following packages will be REMOVED: libstdc++3.2 WARNING: The following essential packages will be removed This should NOT be done unless you know exactly what you are doing! libstdc++3.2 (due to apt) 0 packages upgraded, 0 newly installed, 1 removed and 2 not upgraded. Need to get 0B of archives. After unpacking 701kB disk space will be freed. You are about to do something potentially harmful To continue type in the phrase 'Yes, do as I say!' ?] [root@localhost athlon]# apt-get cpp3.2 E: Invalid operation cpp3.2 [root@localhost athlon]# apt-get install cpp3.2 Reading Package Lists... Done Collecting File Provides... Done Building Dependency Tree... Done The following NEW packages will be installed: cpp3.2 0 packages upgraded, 1 newly installed, 0 removed and 2 not upgraded. Need to get 0B/131kB of archives. After unpacking 236kB of additional disk space will be used. Executing RPM (/bin/rpm -Uvh --fancypercent --oldpackage)... Preparing... ############################################################### [100%] 1: cpp3.2 ############################################################### [100%] [root@localhost athlon]# apt-get check Reading Package Lists... Done Collecting File Provides... Done Building Dependency Tree... Done [root@localhost athlon]# apt-get gcc3.2 E: Invalid operation gcc3.2 [root@localhost athlon]# apt-get install gcc3.2 Reading Package Lists... Done Collecting File Provides... Done Building Dependency Tree... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. Since you only requested a single operation it is extremely likely that the package is simply not installable and a bug report against that package should be filed. The following information may help to resolve the situation: The following packages have unmet dependencies: gcc3.2: Depends: libgcc3.2 (= 3.2.1-alt2) but 3.2.3-alt1 is to be installed E: Broken packages [root@localhost athlon]# rpm -q libgcc3.2 libgcc3.2-3.2.3-alt1 [root@localhost athlon]# apt-get update Get:1 ftp://linux4u.jinr.ru i586 release [2913B] Fetched 2913B in 3s (742B/s) Get:1 ftp://linux4u.jinr.ru i586/classic pkglist [1331kB] Get:2 ftp://linux4u.jinr.ru i586/classic release [134B] Get:3 ftp://linux4u.jinr.ru i586/classic srclist [569kB] Fetched 1900kB in 7m30s (4222B/s) Reading Package Lists... Done Collecting File Provides... Done [root@localhost athlon]# rpm -q XFree86-devel gcc2.95 gcc2.96 gcc2.96-c++ gcc3.2 gcc3.2-c++ glibc-devel glibc-devel-static XFree86-devel-4.2.1.1-alt3 gcc2.95-2.95.3-alt3 gcc2.96-2.96-alt3 gcc2.96-c++-2.96-alt3 warning: package gcc3.2 is not installed warning: package gcc3.2-c++ is not installed glibc-devel-2.2.6-alt0.7 glibc-devel-static-2.2.6-alt0.7 [root@localhost athlon]# rpm -q gtk+-devel imlib-devel kernel24-headers libGLU-devel libpng3-devel libstdc++2.96-devel-static gtk+-devel-1.2.10-alt8 imlib-devel-1.9.13-alt4 kernel24-headers-2.4.20-alt9 libGLU-devel-4.0.3-alt3 libpng3-devel-1.2.4-alt5 warning: package libstdc++2.96-devel-static is not installed [root@localhost athlon]# apt-get install libstdc++2.96-devel-static Reading Package Lists... Done Collecting File Provides... Done Building Dependency Tree... Done The following NEW packages will be installed: libstdc++2.96-devel-static 0 packages upgraded, 1 newly installed, 0 removed and 707 not upgraded. Need to get 0B/106kB of archives. After unpacking 419kB of additional disk space will be used. Executing RPM (/bin/rpm -Uvh --fancypercent --oldpackage)... Preparing... ############################################################### [100%] 1: libstdc++2.96-devel-static############################################################### [100%] [root@localhost athlon]# apt-get install libstdc++3.2-devel rpm-build rpm-utils zlib-devel Reading Package Lists... Done Collecting File Provides... Done Building Dependency Tree... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: libdb4.0: Obsoletes: libdb4 rpm-build: PreDepends: rpm (= 4.0.4-alt24) but 4.0.4-alt14 is to be installed E: Broken packages [root@localhost athlon]# apt-get install rpm rpm-build Reading Package Lists... Done Collecting File Provides... Done Building Dependency Tree... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: libdb4.0: Obsoletes: libdb4 E: Broken packages [root@localhost athlon]# apt-get install rpm rpm-build libdb4 Reading Package Lists... Done Collecting File Provides... Done Building Dependency Tree... Done libdb4 is already the newest version. Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: rpm: PreDepends: librpm (= 4.0.4-alt24) but 4.0.4-alt14 is to be installed E: Broken packages [root@localhost athlon]# apt-get install rpm rpm-build libdb4 librpm Reading Package Lists... Done Collecting File Provides... Done Building Dependency Tree... Done libdb4 is already the newest version. Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: librpm: PreDepends: libdb4.0 but it is not going to be installed E: Broken packages [root@localhost athlon]# rpm --rebulddb --rebulddb: unknown option [root@localhost athlon]# rebulddb bash: rebulddb: command not found [root@localhost athlon]# apt-get install rpm Reading Package Lists... Done Collecting File Provides... Done Building Dependency Tree... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. Since you only requested a single operation it is extremely likely that the package is simply not installable and a bug report against that package should be filed. The following information may help to resolve the situation: The following packages have unmet dependencies: libdb4.0: Obsoletes: libdb4 E: Broken packages [root@localhost athlon]# apt-get install libdb4.0 Reading Package Lists... Done Collecting File Provides... Done Building Dependency Tree... Done The following packages will be REPLACED: libdb4 (by libdb4.0) The following packages will be REMOVED: db4-utils libdb4-devel The following NEW packages will be installed: libdb4.0 0 packages upgraded, 1 newly installed, 1 replaced, 2 removed and 707 not upgraded. Need to get 299kB of archives. After unpacking 257kB disk space will be freed. Do you want to continue? [Y/n] y Get:1 ftp://linux4u.jinr.ru i586/classic libdb4.0 4.0.14-alt10 [299kB] Fetched 299kB in 1m26s (3463B/s) Executing RPM (/bin/rpm -e --fancypercent --nodeps)... Executing RPM (/bin/rpm -Uvh --fancypercent --oldpackage)... Preparing... ############################################################### [100%] 1: libdb4.0 ############################################################### [100%] [root@localhost athlon]# apt-get install rpm Reading Package Lists... Done Collecting File Provides... Done Building Dependency Tree... Done The following extra packages will be installed: cpp3.2 gcc-common kdeartwork-locolor libGLwrapper libaudio librpm update-alternatives The following packages will be upgraded cpp3.2 gcc-common kdeartwork-locolor librpm rpm The following packages will be REMOVED: boson k3b kde kdeaddons kdeaddons-kate kdeaddons-kfile kdeaddons-kicker kdeaddons-konqueror kdeartwork kdeartwork-base kdeartwork-kworldclock kdeartwork-screensavers kdeartwork-xscreensaver kdebase kdetoys kdetoys-eyes kdetoys-fifteen kdetoys-kmoon kdetoys-kteatime kdetoys-ktux kdetoys-kweather kdetoys-kworldclock kdeutils kdeutils-kcharselect kdeutils-kdf kdeutils-kjots kdeutils-ksim kdeutils-laptop sim The following NEW packages will be installed: libGLwrapper libaudio update-alternatives 5 packages upgraded, 3 newly installed, 29 removed and 674 not upgraded. Need to get 1735kB/1866kB of archives. After unpacking 106MB disk space will be freed. Do you want to continue? [Y/n] y Get:1 ftp://linux4u.jinr.ru i586/classic librpm 4.0.4-alt24 [292kB] 0% [1 librpm 1024/292kB 0%] [root@localhost athlon]# apt-get install libstdc++3.2-devel rpm-build rpm-utils zlib-devel Reading Package Lists... Done Collecting File Provides... Done Building Dependency Tree... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: rpm-build: PreDepends: rpm (= 4.0.4-alt24) but 4.0.4-alt14 is to be installed E: Broken packages [root@localhost athlon]# apt-get install rpm-build Reading Package Lists... Done Collecting File Provides... Done Building Dependency Tree... Done The following extra packages will be installed: SysVinit automake-common cpp3.2 crontabs gcc-common info info-install initscripts kdeartwork-locolor kernel-headers-common libGLwrapper libaudio librpm msulogin net-scripts rpm service setup sound-scripts startup texinfo update-alternatives xinitrc The following packages will be upgraded SysVinit automake-common cpp3.2 crontabs gcc-common info info-install initscripts kdeartwork-locolor kernel-headers-common librpm rpm setup texinfo xinitrc The following packages will be REMOVED: boson k3b kde kdeaddons kdeaddons-kate kdeaddons-kfile kdeaddons-kicker kdeaddons-konqueror kdeartwork kdeartwork-base kdeartwork-kworldclock kdeartwork-screensavers kdeartwork-xscreensaver kdebase kdetoys kdetoys-eyes kdetoys-fifteen kdetoys-kmoon kdetoys-kteatime kdetoys-ktux kdetoys-kweather kdetoys-kworldclock kdeutils kdeutils-kcharselect kdeutils-kdf kdeutils-kjots kdeutils-ksim kdeutils-laptop sim The following NEW packages will be installed: libGLwrapper libaudio msulogin net-scripts rpm-build service sound-scripts startup update-alternatives 15 packages upgraded, 9 newly installed, 29 removed and 664 not upgraded. Need to get 2958kB/3187kB of archives. After unpacking 105MB disk space will be freed. Do you want to continue? [Y/n] n Abort. Подскажите, плиз, как восстановить поломатое! На машине стоит АЛМ22, апдейт --- С уважением, Kir