* [sisyphus] update-alternatives: troubles again!
@ 2001-04-01 19:54 Andrey Brindeew
2001-04-01 20:30 ` Aleksandr Blohin
2001-04-02 8:43 ` Dmitry V. Levin
0 siblings, 2 replies; 5+ messages in thread
From: Andrey Brindeew @ 2001-04-01 19:54 UTC (permalink / raw)
To: Sisyphus Mailing List
Hello!
Subj.
Пересобрал compat-gcc-2.95.3-ipl2mdk.src.rpm, ставлю:
# rpm -Uvh --force compat-gcc-2.95.3-ipl2mdk.i686.rpm
# compat-gcc-c++-2.95.3-ipl2mdk.i686.rpm
# compat-libstdc++-2.95.3-ipl2mdk.i686.rpm
# compat-gcc-objc-2.95.3-ipl2mdk.i686.rpm
# compat-gcc-g77-2.95.3-ipl2mdk.i686.rpm
# compat-gcc-chill-2.95.3-ipl2mdk.i686.rpm
compat-cpp-2.95.3-ipl2mdk.i686.rpm
Подготовка...
##################################################
compat-cpp
##################################################
mv: `/lib/cpp' and `/usr/bin/cpp' are the same file
update-alternatives: unable to rename /lib/cpp to /usr/bin/cpp: Invalid
cross-device link
ошибка исполнения скрипта compat-cpp-2.95.3-ipl2mdk, код возврата 2
compat-gcc
##################################################
compat-gcc-c++
##################################################
compat-libstdc++
##################################################
compat-gcc-objc
##################################################
compat-gcc-g77
##################################################
compat-gcc-chill
##################################################
После этого вообще ничего не пересобирается, пробуем поправить дело, как в
свое
время советовал Дмитрий Левин:
# !1257
rpm -Uvh --force cpp-2.96-ipl8mdk.i686.rpm gcc-2.96-ipl8mdk.i686.rpm
gcc-c++-2.96-ipl8mdk.i686.rpm gcc-chill-2.96-ipl8mdk.i686.rpm
gcc-g77-2.96-ipl8mdk.i686.rpm gcc-objc-2.96-ipl8mdk.i686.rpm
Подготовка...
##################################################
cpp
##################################################
mv: `/lib/cpp' and `/usr/bin/cpp' are the same file
update-alternatives: unable to rename /lib/cpp to /usr/bin/cpp: Invalid
cross-device link
ошибка исполнения скрипта cpp-2.96-ipl8mdk, код возврата 2
gcc
##################################################
gcc-c++
##################################################
gcc-chill
##################################################
gcc-g77
##################################################
gcc-objc
##################################################
Все равно не заработало:
$ rpm --rebuild rpm-3.0.6-ipl24mdk.src.rpm
[... Some skipped ...]
checking for gcc... gcc
checking whether the C compiler (gcc -pipe -g -Wall -O2
-fexpensive-optimizations -march=i686 ) works... no
configure: error: installation or configuration problem: C compiler cannot
create executables.
Неверный код возврата из /var/tmp/rpm-tmp.23193 (%build)
Что мы сейчас имеем:
$ gcc --version
2.95.2
$ rpm -qa | fgrep gcc
compat-gcc-c++-2.95.3-ipl2mdk
compat-gcc-chill-2.95.3-ipl2mdk
compat-gcc-2.95.3-ipl2mdk
gcc-c++-2.96-ipl8mdk
gcc-chill-2.96-ipl8mdk
gcc-2.96-ipl8mdk
gcc-g77-2.96-ipl8mdk
compat-gcc-objc-2.95.3-ipl2mdk
compat-gcc-g77-2.95.3-ipl2mdk
gcc-objc-2.96-ipl8mdk
$ rpm -qa | fgrep cpp
compat-cpp-2.95.3-ipl2mdk
compat-cpp-2.95.3-ipl1mdk
cpp-2.96-ipl7mdk
compat-cpp-2.95.3-ipl2mdk
compat-cpp-2.95.3-ipl2mdk
cpp-2.96-ipl8mdk
cpp-2.96-ipl8mdk
cpp-2.96-ipl8mdk
cpp-2.96-ipl8mdk
$ rpm -q rpm
rpm-3.0.6-ipl24mdk
$ df
Filesystem Size Used Avail Use% Mounted on
/dev/hda5 1.5G 317M 1.1G 21% /
/dev/hda1 242M 2.8M 226M 2% /boot
/dev/hda10 9.6G 5.0G 4.7G 52% /home
/dev/hda8 1.0G 38M 986M 4% /tmp
/dev/hda6 10G 3.1G 6.9G 31% /usr
/dev/hda7 5.0G 589M 4.4G 12% /var
/dev/hda9 1008M 20k 956M 1% /var/backups
/proc/bus/usb 252M 252M 0 100% /proc/bus/usb
Вопрос: как быть дальше, абсолютно все перестало пересобираться!
--
WBR, Andrey Brindeew.
"No one person can understand Perl culture completely" (C) Larry Wall.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [sisyphus] update-alternatives: troubles again!
2001-04-01 19:54 [sisyphus] update-alternatives: troubles again! Andrey Brindeew
@ 2001-04-01 20:30 ` Aleksandr Blohin
2001-04-02 8:43 ` Dmitry V. Levin
1 sibling, 0 replies; 5+ messages in thread
From: Aleksandr Blohin @ 2001-04-01 20:30 UTC (permalink / raw)
To: sisyphus
On Sun, 1 Apr 2001 23:54:02 +0400
Andrey Brindeew <linux@abr.x9.ru> wrote:
AB> Hello!
AB>
AB> Subj.
AB> Пересобрал compat-gcc-2.95.3-ipl2mdk.src.rpm, ставлю:
AB>
Класс!
Я на эту тему мыло еще в субботу отправил. До сих пор не доехало :)
--
Best regards
AB
--
... In nomine Altli, et Ctrli, et Spititus Deli, Reset!
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [sisyphus] update-alternatives: troubles again!
2001-04-01 19:54 [sisyphus] update-alternatives: troubles again! Andrey Brindeew
2001-04-01 20:30 ` Aleksandr Blohin
@ 2001-04-02 8:43 ` Dmitry V. Levin
2001-04-02 9:39 ` Andrey Brindeew
2001-04-02 9:39 ` Andrey Brindeew
1 sibling, 2 replies; 5+ messages in thread
From: Dmitry V. Levin @ 2001-04-02 8:43 UTC (permalink / raw)
To: Sisyphus Mailing List
[-- Attachment #1: Type: text/plain, Size: 839 bytes --]
On Sun, Apr 01, 2001 at 11:54:02PM +0400, Andrey Brindeew wrote:
> $ rpm -qa | fgrep cpp
> compat-cpp-2.95.3-ipl2mdk
> compat-cpp-2.95.3-ipl1mdk
> cpp-2.96-ipl7mdk
> compat-cpp-2.95.3-ipl2mdk
> compat-cpp-2.95.3-ipl2mdk
> cpp-2.96-ipl8mdk
> cpp-2.96-ipl8mdk
> cpp-2.96-ipl8mdk
> cpp-2.96-ipl8mdk
Это бардак, и систему надо чинить:
1. rpm --rebuilddb
2. rpm -e --nodeps cpp compat-cpp
3. rpm -Uhv cpp-2.96-ipl8mdk.i586.rpm compat-cpp-2.95.3-ipl2mdk.i586.rpm
Regards,
Dmitry
+-------------------------------------------------------------------------+
Dmitry V. Levin mailto://ldv@alt-linux.org
ALT Linux Team http://www.altlinux.ru/
Fandra Project http://www.fandra.org/
+-------------------------------------------------------------------------+
UNIX is user friendly. It's just very selective about who its friends are.
[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [sisyphus] update-alternatives: troubles again!
2001-04-02 8:43 ` Dmitry V. Levin
2001-04-02 9:39 ` Andrey Brindeew
@ 2001-04-02 9:39 ` Andrey Brindeew
1 sibling, 0 replies; 5+ messages in thread
From: Andrey Brindeew @ 2001-04-02 9:39 UTC (permalink / raw)
To: sisyphus
On Mon, 2 Apr 2001 12:43:47 +0400
"Dmitry V. Levin" <ldv@alt-linux.org> wrote:
DVL> On Sun, Apr 01, 2001 at 11:54:02PM +0400, Andrey Brindeew wrote:
DVL> > $ rpm -qa | fgrep cpp
DVL> > compat-cpp-2.95.3-ipl2mdk
DVL> > compat-cpp-2.95.3-ipl1mdk
DVL> > cpp-2.96-ipl7mdk
DVL> > compat-cpp-2.95.3-ipl2mdk
DVL> > compat-cpp-2.95.3-ipl2mdk
DVL> > cpp-2.96-ipl8mdk
DVL> > cpp-2.96-ipl8mdk
DVL> > cpp-2.96-ipl8mdk
DVL> > cpp-2.96-ipl8mdk
DVL>
DVL> Это бардак, и систему надо чинить:
DVL> 1. rpm --rebuilddb
DVL> 2. rpm -e --nodeps cpp compat-cpp
DVL> 3. rpm -Uhv cpp-2.96-ipl8mdk.i586.rpm
compat-cpp-2.95.3-ipl2mdk.i586.rpm
Спасибо, починено. Но сабж по-прежнему в наличии, увы. :-(
Вот некоторые данные, которые я считаю нужным привести:
(4) [13:34:24][root@abr.tool.ru : /home/abr]
# /usr/sbin/update-alternatives --display cpp
cpp - status is auto.
link currently points to /usr/bin/cpp-2.96
/usr/bin/cpp-2.96 - priority 20
/usr/lib/gcc-lib/i686-mandrake-linux/2.95.3/cpp - priority 10
Current `best' version is /usr/bin/cpp-2.96.
(4) [13:34:26][root@abr.tool.ru : /home/abr]
# ls -l /usr/bin/cpp
-rwxr-xr-x 1 root root 79472 Фев 26 10:32 /usr/bin/cpp
(4) [13:36:28][root@abr.tool.ru : /home/abr]
# /usr/bin/cpp --version
2.96
(4) [13:36:41][root@abr.tool.ru : /home/abr]
# ls -l /lib/cpp
lrwxrwxrwx 1 root root 14 Апр 2 13:18 /lib/cpp ->
../usr/bin/cpp
man update-alternatives читал, но весьма смутно понял механизм работы.
--
WBR, Andrey Brindeew.
"No one person can understand Perl culture completely" (C) Larry Wall.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [sisyphus] update-alternatives: troubles again!
2001-04-02 8:43 ` Dmitry V. Levin
@ 2001-04-02 9:39 ` Andrey Brindeew
2001-04-02 9:39 ` Andrey Brindeew
1 sibling, 0 replies; 5+ messages in thread
From: Andrey Brindeew @ 2001-04-02 9:39 UTC (permalink / raw)
To: sisyphus
On Mon, 2 Apr 2001 12:43:47 +0400
"Dmitry V. Levin" <ldv@alt-linux.org> wrote:
DVL> On Sun, Apr 01, 2001 at 11:54:02PM +0400, Andrey Brindeew wrote:
DVL> > $ rpm -qa | fgrep cpp
DVL> > compat-cpp-2.95.3-ipl2mdk
DVL> > compat-cpp-2.95.3-ipl1mdk
DVL> > cpp-2.96-ipl7mdk
DVL> > compat-cpp-2.95.3-ipl2mdk
DVL> > compat-cpp-2.95.3-ipl2mdk
DVL> > cpp-2.96-ipl8mdk
DVL> > cpp-2.96-ipl8mdk
DVL> > cpp-2.96-ipl8mdk
DVL> > cpp-2.96-ipl8mdk
DVL>
DVL> Это бардак, и систему надо чинить:
DVL> 1. rpm --rebuilddb
DVL> 2. rpm -e --nodeps cpp compat-cpp
DVL> 3. rpm -Uhv cpp-2.96-ipl8mdk.i586.rpm
compat-cpp-2.95.3-ipl2mdk.i586.rpm
Спасибо, починено. Но сабж по-прежнему в наличии, увы. :-(
Вот некоторые данные, которые я считаю нужным привести:
(4) [13:34:24][root@abr.tool.ru : /home/abr]
# /usr/sbin/update-alternatives --display cpp
cpp - status is auto.
link currently points to /usr/bin/cpp-2.96
/usr/bin/cpp-2.96 - priority 20
/usr/lib/gcc-lib/i686-mandrake-linux/2.95.3/cpp - priority 10
Current `best' version is /usr/bin/cpp-2.96.
(4) [13:34:26][root@abr.tool.ru : /home/abr]
# ls -l /usr/bin/cpp
-rwxr-xr-x 1 root root 79472 Фев 26 10:32 /usr/bin/cpp
(4) [13:36:28][root@abr.tool.ru : /home/abr]
# /usr/bin/cpp --version
2.96
(4) [13:36:41][root@abr.tool.ru : /home/abr]
# ls -l /lib/cpp
lrwxrwxrwx 1 root root 14 Апр 2 13:18 /lib/cpp ->
../usr/bin/cpp
man update-alternatives читал, но весьма смутно понял механизм работы.
--
WBR, Andrey Brindeew.
"No one person can understand Perl culture completely" (C) Larry Wall.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2001-04-02 9:39 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-04-01 19:54 [sisyphus] update-alternatives: troubles again! Andrey Brindeew
2001-04-01 20:30 ` Aleksandr Blohin
2001-04-02 8:43 ` Dmitry V. Levin
2001-04-02 9:39 ` Andrey Brindeew
2001-04-02 9:39 ` Andrey Brindeew
ALT Linux Sisyphus discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
public-inbox-index sisyphus
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sisyphus
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git