LinuxForum.Fans
Тема

GENTOO после установки

Автор: amid88 284 сообщений 68239 просмотров В конец обсуждения ↓
#296586

Покажите

text

gcc-config -l
text

genlop -lu | grep gcc
#296587
text
# gcc-config -l
 * gcc-config: Active gcc profile is invalid!

[1] i686-pc-linux-gnu-4.6.3

text
# genlop -lu | grep gcc
bash: genlop: команда не найдена
#296588
"amid88" написал:
text
# gcc-config -l 
* gcc-config: Active gcc profile is invalid!

text
gcc-config 1
#296589
text
 # gcc-config 1
 * Switching native-compiler to i686-pc-linux-gnu-4.6.3 ...
>>> Regenerating /etc/ld.so.cache...                                      [ ok ]

* If you intend to use the gcc from the new profile in an already * running shell, please remember to do:

* . /etc/profile

#296590
"amid88" написал:

* If you intend to use the gcc from the new profile in an already
* running shell, please remember to do:
* . /etc/profile

Выполните в текущем терминале

text
. /etc/profile

...либо перезайдите.

Затем попробуйте обновиться

text
emerge -auDNv --with-bdeps=y world
#296597

благодарю, идет обновление, вот только почему у меня так получилось, что я упустил или сделал не так ?
прошлый раз обновил gcc, но ошибок небыло.

#296884

Свежеустановленная гента не хочет монтировать /proc и /run:


в /etc/fstab прописал 2 последние строки - не помогло...

#296887

А вы попробуйте примонтировать корневую ФС как rw,remount=errors при загрузке.
UPD: Да, а что в логах?

#296927

Silencer, проверьте, есть ли у вас каталог /run. Если нет, создайте его.

#296968

Lupo Alberto, есть, но он почему-то пустой *DONT_KNOW*

#296970

вру, не пустой
[console]
root@sysresccd / % ls -l /mnt/gentoo/run
total 4
lrwxrwxrwx 1 root root 16 Dec 10 06:41 openrc -> /lib64/rc/init.d
drwxr-xr-x 2 root root 4096 Dec 10 06:40 sepermit

root@sysresccd / % ls -l /mnt/gentoo/lib64/rc
total 24
drwxr-xr-x 2 root root 4096 Dec 10 06:41 bin
drwxr-xr-x 2 root root 4096 Dec 10 06:41 net
drwxr-xr-x 2 root root 4096 Dec 10 06:41 sbin
drwxr-xr-x 2 root root 4096 Dec 10 06:41 sh
drwxr-xr-x 2 root root 4096 Dec 10 06:41 tmp
-rw-r--r-- 1 root root 7 Dec 10 06:41 version
[/console]

нет файла /lib64/rc/init.d

#296972
"yars" написал:
А вы попробуйте примонтировать корневую ФС как rw,remount=errors при загрузке.

пробовал, не помогло, спасибо

"yars" написал:
UPD: Да, а что в логах?

логов то похоже нет еще, раз openrc не может ничего примонтировать==записать на диск тоже нельзя

#296974

А файловая система какая на корне, ext4?

#296975
"yars" написал:
А файловая система какая на корне, ext4?

ну да

#296980

Покажите

text
ls -lR /mnt/gentoo/etc/runlevels

...или лучше после chroot

text
ls -lR /etc/runlevels
#296983
"Lupo Alberto" написал:
Покажите
Показать

[console]
root@sysresccd / % ls -lR /mnt/gentoo/etc/runlevels
/mnt/gentoo/etc/runlevels:
total 16
drwxr-xr-x 2 root root 4096 Dec 10 04:35 boot
drwxr-xr-x 2 root root 4096 Jan 17 12:15 default
drwxr-xr-x 2 root root 4096 Dec 10 04:35 shutdown
drwxr-xr-x 2 root root 4096 Dec 10 04:41 sysinit

/mnt/gentoo/etc/runlevels/boot:
total 0
lrwxrwxrwx 1 root root 20 Dec 10 04:35 bootmisc -> /etc/init.d/bootmisc
lrwxrwxrwx 1 root root 16 Dec 10 04:35 fsck -> /etc/init.d/fsck
lrwxrwxrwx 1 root root 20 Dec 10 04:35 hostname -> /etc/init.d/hostname
lrwxrwxrwx 1 root root 19 Dec 10 04:35 hwclock -> /etc/init.d/hwclock
lrwxrwxrwx 1 root root 19 Dec 10 04:35 keymaps -> /etc/init.d/keymaps
lrwxrwxrwx 1 root root 22 Dec 10 04:35 localmount -> /etc/init.d/localmount
lrwxrwxrwx 1 root root 19 Dec 10 04:35 modules -> /etc/init.d/modules
lrwxrwxrwx 1 root root 16 Dec 10 04:35 mtab -> /etc/init.d/mtab
lrwxrwxrwx 1 root root 18 Dec 10 04:35 net.lo -> /etc/init.d/net.lo
lrwxrwxrwx 1 root root 18 Dec 10 04:35 procfs -> /etc/init.d/procfs
lrwxrwxrwx 1 root root 16 Dec 10 04:35 root -> /etc/init.d/root
lrwxrwxrwx 1 root root 16 Dec 10 04:35 swap -> /etc/init.d/swap
lrwxrwxrwx 1 root root 21 Dec 10 04:35 swapfiles -> /etc/init.d/swapfiles
lrwxrwxrwx 1 root root 18 Dec 10 04:35 sysctl -> /etc/init.d/sysctl
lrwxrwxrwx 1 root root 24 Dec 10 04:35 termencoding -> /etc/init.d/termencoding
lrwxrwxrwx 1 root root 26 Dec 10 04:35 tmpfiles.setup -> /etc/init.d/tmpfiles.setup
lrwxrwxrwx 1 root root 19 Dec 10 04:35 urandom -> /etc/init.d/urandom

/mnt/gentoo/etc/runlevels/default:
total 0
lrwxrwxrwx 1 root root 17 Dec 10 04:35 local -> /etc/init.d/local
lrwxrwxrwx 1 root root 20 Jan 17 12:10 net.eth0 -> /etc/init.d/net.eth0
lrwxrwxrwx 1 root root 20 Dec 10 04:35 netmount -> /etc/init.d/netmount
lrwxrwxrwx 1 root root 21 Jan 17 12:15 syslog-ng -> /etc/init.d/syslog-ng
lrwxrwxrwx 1 root root 26 Dec 10 04:41 udev-postmount -> /etc/init.d/udev-postmount

/mnt/gentoo/etc/runlevels/shutdown:
total 0
lrwxrwxrwx 1 root root 21 Dec 10 04:35 killprocs -> /etc/init.d/killprocs
lrwxrwxrwx 1 root root 20 Dec 10 04:35 mount-ro -> /etc/init.d/mount-ro
lrwxrwxrwx 1 root root 21 Dec 10 04:35 savecache -> /etc/init.d/savecache

/mnt/gentoo/etc/runlevels/sysinit:
total 0
lrwxrwxrwx 1 root root 17 Dec 10 04:35 devfs -> /etc/init.d/devfs
lrwxrwxrwx 1 root root 17 Dec 10 04:35 dmesg -> /etc/init.d/dmesg
lrwxrwxrwx 1 root root 17 Dec 10 04:35 sysfs -> /etc/init.d/sysfs
lrwxrwxrwx 1 root root 16 Dec 10 04:41 udev -> /etc/init.d/udev
lrwxrwxrwx 1 root root 22 Dec 10 04:41 udev-mount -> /etc/init.d/udev-mount
[/console]
"Lupo Alberto" написал:
или лучше после chroot
Показать

[console]
(chroot) sysresccd / # ls -lR /etc/runlevels
/etc/runlevels:
total 16
drwxr-xr-x 2 root root 4096 Dec 10 08:35 boot
drwxr-xr-x 2 root root 4096 Jan 17 16:15 default
drwxr-xr-x 2 root root 4096 Dec 10 08:35 shutdown
drwxr-xr-x 2 root root 4096 Dec 10 08:41 sysinit

/etc/runlevels/boot:
total 0
lrwxrwxrwx 1 root root 20 Dec 10 08:35 bootmisc -> /etc/init.d/bootmisc
lrwxrwxrwx 1 root root 16 Dec 10 08:35 fsck -> /etc/init.d/fsck
lrwxrwxrwx 1 root root 20 Dec 10 08:35 hostname -> /etc/init.d/hostname
lrwxrwxrwx 1 root root 19 Dec 10 08:35 hwclock -> /etc/init.d/hwclock
lrwxrwxrwx 1 root root 19 Dec 10 08:35 keymaps -> /etc/init.d/keymaps
lrwxrwxrwx 1 root root 22 Dec 10 08:35 localmount -> /etc/init.d/localmount
lrwxrwxrwx 1 root root 19 Dec 10 08:35 modules -> /etc/init.d/modules
lrwxrwxrwx 1 root root 16 Dec 10 08:35 mtab -> /etc/init.d/mtab
lrwxrwxrwx 1 root root 18 Dec 10 08:35 net.lo -> /etc/init.d/net.lo
lrwxrwxrwx 1 root root 18 Dec 10 08:35 procfs -> /etc/init.d/procfs
lrwxrwxrwx 1 root root 16 Dec 10 08:35 root -> /etc/init.d/root
lrwxrwxrwx 1 root root 16 Dec 10 08:35 swap -> /etc/init.d/swap
lrwxrwxrwx 1 root root 21 Dec 10 08:35 swapfiles -> /etc/init.d/swapfiles
lrwxrwxrwx 1 root root 18 Dec 10 08:35 sysctl -> /etc/init.d/sysctl
lrwxrwxrwx 1 root root 24 Dec 10 08:35 termencoding -> /etc/init.d/termencoding
lrwxrwxrwx 1 root root 26 Dec 10 08:35 tmpfiles.setup -> /etc/init.d/tmpfiles.setup
lrwxrwxrwx 1 root root 19 Dec 10 08:35 urandom -> /etc/init.d/urandom

/etc/runlevels/default:
total 0
lrwxrwxrwx 1 root root 17 Dec 10 08:35 local -> /etc/init.d/local
lrwxrwxrwx 1 root root 20 Jan 17 16:10 net.eth0 -> /etc/init.d/net.eth0
lrwxrwxrwx 1 root root 20 Dec 10 08:35 netmount -> /etc/init.d/netmount
lrwxrwxrwx 1 root root 21 Jan 17 16:15 syslog-ng -> /etc/init.d/syslog-ng
lrwxrwxrwx 1 root root 26 Dec 10 08:41 udev-postmount -> /etc/init.d/udev-postmount

/etc/runlevels/shutdown:
total 0
lrwxrwxrwx 1 root root 21 Dec 10 08:35 killprocs -> /etc/init.d/killprocs
lrwxrwxrwx 1 root root 20 Dec 10 08:35 mount-ro -> /etc/init.d/mount-ro
lrwxrwxrwx 1 root root 21 Dec 10 08:35 savecache -> /etc/init.d/savecache

/etc/runlevels/sysinit:
total 0
lrwxrwxrwx 1 root root 17 Dec 10 08:35 devfs -> /etc/init.d/devfs
lrwxrwxrwx 1 root root 17 Dec 10 08:35 dmesg -> /etc/init.d/dmesg
lrwxrwxrwx 1 root root 17 Dec 10 08:35 sysfs -> /etc/init.d/sysfs
lrwxrwxrwx 1 root root 16 Dec 10 08:41 udev -> /etc/init.d/udev
lrwxrwxrwx 1 root root 22 Dec 10 08:41 udev-mount -> /etc/init.d/udev-mount
[/console]
#297060

Поставил с минимального установочного с идентичными действиями. Все ровно, работает.

#297118

Как такое может быть?
[console]
localhost ~ # emerge -av media-libs/win32codecs

* IMPORTANT: 6 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.


These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild N ~] media-libs/win32codecs-20071007-r4 USE="(-real)" 13,540 kB

Total: 1 package (1 new), Size of downloads: 13,540 kB

The following keyword changes are necessary to proceed:
#required by media-libs/win32codecs (argument)
=media-libs/win32codecs-20071007-r4 ~amd64

Use --autounmask-write to write changes to config files (honoring CONFIG_PROTECT).

[/console]

...при живом:

text

localhost ~ # cat /etc/portage/package.keyword/media-libs 
media-libs/win32codecs ~amd64
#297120
"Silencer" написал:
...при живом:

Каталог должен называться чуть иначе — /etc/portage/package.keywords

#297121
"Lupo Alberto" написал:
Каталог должен называться чуть иначе — /etc/portage/package.keywords

прошу прощения...

Войдите или зарегистрируйтесь, чтобы ответить.