Автор Тема: gentoo+update  (Прочетена 2848 пъти)

growchie

  • Напреднали
  • *****
  • Публикации: 623
    • Профил
gentoo+update
« -: Dec 18, 2005, 19:05 »
Да разбирам ли, че генту модела на разработка е еднакъв с този на freebsd и като направя emerge --sync имам последния снапшот на дистрибуцията. (До колкото помпя във freebsd рилийзите са само снапшот на дървото в определен момент).
Ако е така за да си ъпдейтвам системата трябва да правя само emerge --update --deep world  ли?
Някой ако може да ми каже така ли седи въпроса с kernel-а.
Още нещо USE директивата в make.conf оказва ли влияние на --sync, а по-точно --sync ще игнорира ли тези части от portage дървото които не ме интересуват (тях определено неща да ги синхронизирам). (все още gcc 3xx ли се ползва??)
Това са въпроси, които не ми станаха ясни след прочитането на наръчника. (май въпроса не беше толкова кратък).
Активен

senser

  • Напреднали
  • *****
  • Публикации: 1328
    • Профил
gentoo+update
« Отговор #1 -: Dec 18, 2005, 20:00 »
Честно казано не съм много запознат с порт-системата на BSD, но относно въпросите ти:
1. emerge --sync изтегля/синхронизира последните стабилни (или нестабилни в зависимост от това какво си задал в make.conf) ebuilds. Не знам доколко си запознат с концепцията на Gentoo, но тези ebuilds представляват грубо казано "описание" как да се компилира съответното приложение, както и другите "пакети", от които то зависи.
2. След като направиш emerge --sync и после emerge --update --deep world започва същиснкото компилиране на съответните приложения (разбира се преди това се тегли сорс-а '<img'> )
3. По въпроса с кернела - при ъпдейт на системата се ъпдейтва само сорса на кернела без реално да се компилира ново ядро. За целта трябва да си го комилираш сам по традиционния начин или чрез genkernel (ako го нямаш - emerge genkernel). За удобство ако позлваш genkernel и си ъпдейтваш често кернела (като мен '<img'> ) след всяко успешно компилиране на ядрото genkernel пази config  файла в /etc/kernels/kernel-genkernel-***** и може да ползваш този config и върху сорса на новото ядро като внимаваш дали няма някакви промени които "да го омажат"
4. emerge --sync не се влияе от USE флаг-а.
Активен

ray

  • Напреднали
  • *****
  • Публикации: 1453
    • Профил
gentoo+update
« Отговор #2 -: Dec 18, 2005, 21:37 »
Цитат (growchie @ Дек. 18 2005,20:05)
Да разбирам ли, че генту модела на разработка е еднакъв с този на freebsd и като направя emerge --sync имам последния снапшот на дистрибуцията. (До колкото помпя във freebsd рилийзите са само снапшот на дървото в определен момент).
Ако е така за да си ъпдейтвам системата трябва да правя само emerge --update --deep world  ли?
Някой ако може да ми каже така ли седи въпроса с kernel-а.
Още нещо USE директивата в make.conf оказва ли влияние на --sync, а по-точно --sync ще игнорира ли тези части от portage дървото които не ме интересуват (тях определено неща да ги синхронизирам). (все още gcc 3xx ли се ползва??)
Това са въпроси, които не ми станаха ясни след прочитането на наръчника. (май въпроса не беше толкова кратък).

Здравей,
След "emerge --sync" имаш последните версии на цялото дърво.
Неща могат да се изключват с задаване в /etc/make.conf на променливата RSYNC_EXCLUDE или нещо такова, но май рядко се ползва.
И тук под "release" се разбира инсталируемо CD където има snapshot на дървото в определен момент и минимална инсталация на базови пакети (около 90 МБ). Два пъти годишно.
За ядрото вече писаха, сваля се само сорса и се разпакетира и пачва - остава само компилацията (ръчно или с genkernel).
USE не влияе тъй като може да се добавят и махат флагове отделно може да се иска примерно 'mysql' подръжка за един пакет, а за друг тя да се изключи, тогава трябва ли да се синхронизира, свали и компилира 'mysql'.
Синхронизацията става относително бързо (около 20 мин.) при мен, а свалянето още по-бързо тъй като има българско огледало (добре е двете да са различни - сигурност).
Преди седмица стабилна стана GCC-3.4.4, но може да се инсталира и да се работи и с 4.0.1.
Румен
Активен

  • Гост
gentoo+update
« Отговор #3 -: Dec 19, 2005, 12:56 »
Понеже и аз съм нов gentoo потребител (вчера си го инсталирах) и аз имам няколко въпроса. До колкото разбрах, подобно на дебиан (до преди няколко дена ползвах него) и тук има unstable и stable версия, как мога да сменя версията  и до колко е безопасно да ползвам unstable (при дебиан нямах никакви проблеми с нестабилната версия). Вторият ми въпрос е как да инсталирам gnome 2.12. Прочетох това упътване и тази статия, но срещам проблем още в самото начало - в /usr/portage/profiles/package.mask не мога да намеря раздел, който да се отнася до GNOME, съответно, няма какво да сложа в package.unmask. Другият ми проблем е със X-a.  Инсталирах си gnome 2.10, но когато пусна резолюция 1152x864 мониторът е на 75 херца (до сега не съм имал такъв проблем), на по - ниската 1024x768 всичко е наред (мога да избирам до 85 херца, което е нормалната стойност за монитора ми). Същото така скрола на мишката (PS/2) ми не работеше . Помислих, си, че не съм настрпил добре xorg-а и затова копирах старият си xorg.conf (от когато ползвах дебиан), който не ми правеше никакви проблеми. Скролът на мишката се оправи, но проблемът с refresh rate-а и резолюцията си остава. Ето как изглеждаше xorg.conf преди:
Цитат
Section "ServerLayout"
   Identifier     "X.org Configured"
   Screen      0  "Screen0" 0 0
   InputDevice    "Mouse0" "CorePointer"
   InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
   RgbPath      "/usr/lib/X11/rgb"
   ModulePath   "/usr/lib/modules"
   FontPath     "/usr/share/fonts/misc/"
   FontPath     "/usr/share/fonts/TTF/"
   FontPath     "/usr/share/fonts/Type1/"
   FontPath     "/usr/share/fonts/CID/"
   FontPath     "/usr/share/fonts/75dpi/"
   FontPath     "/usr/share/fonts/100dpi/"
EndSection

Section "Module"
   Load  "extmod"
   Load  "dri"
   Load  "dbe"
   Load  "record"
   Load  "xtrap"
   Load  "glx"
   Load  "type1"
   Load  "freetype"
EndSection

Section "InputDevice"
   Identifier  "Keyboard0"
   Driver      "kbd"
EndSection

Section "InputDevice"
   Identifier  "Mouse0"
   Driver      "mouse"
   Option       "Protocol" "PS/2"
   Option       "Device" "/dev/mouse"
        Option      "Emulate3Buttons"
EndSection

Section "Monitor"

   #DisplaySize     320   240   # mm
   Identifier   "Monitor0"
   VendorName   "MAG"
   ModelName    "312"
   HorizSync    30.0 - 86.0
   VertRefresh  50.0 - 160.0
   Option       "DPMS"
EndSection

Section "Device"

        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "SWcursor"              # [<bool>]
        #Option     "HWcursor"              # [<bool>]
        #Option     "NoAccel"               # [<bool>]
        #Option     "ShadowFB"              # [<bool>]
        #Option     "UseFBDev"              # [<bool>]
        #Option     "Rotate"                # [<str>]
        #Option     "VideoKey"              # <i>
        #Option     "FlatPanel"             # [<bool>]
        #Option     "FPDither"              # [<bool>]
        #Option     "CrtcNumber"            # <i>
        #Option     "FPScale"               # [<bool>]
        #Option     "FPTweak"               # <i>
   Identifier  "Card0"
   Driver      "nv"
   VendorName  "nVidia Corporation"
   BoardName   "NV34 [GeForce FX 5200]"
   BusID       "PCI:2:0:0"
EndSection

Section "Screen"
   Identifier "Screen0"
   Device     "Card0"
   Monitor    "Monitor0"
   SubSection "Display"
      Viewport   0 0
      Depth     1
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     4
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     8
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     15
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     16
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     24
   EndSubSection
EndSection


А ето как изглежда сега
Цитат
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands:
#
#   cp /etc/X11/xorg.conf /etc/X11/xorg.conf.custom
#   sudo sh -c 'md5sum /etc/X11/xorg.conf >/var/lib/xfree86/xorg.conf.md5sum'
#   sudo dpkg-reconfigure xserver-xorg

Section "Files"
   FontPath   "unix/:7100"         # local font server
   # if the local font server has problems, we can fall back on these
   FontPath   "/usr/lib/X11/fonts/misc"
   FontPath   "/usr/lib/X11/fonts/cyrillic"
   FontPath   "/usr/lib/X11/fonts/100dpi/:unscaled"
   FontPath   "/usr/lib/X11/fonts/75dpi/:unscaled"
   FontPath   "/usr/lib/X11/fonts/Type1"
   FontPath   "/usr/lib/X11/fonts/CID"
   FontPath   "/usr/lib/X11/fonts/100dpi"
   FontPath   "/usr/lib/X11/fonts/75dpi"
        # paths to defoma fonts
   FontPath   "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
   FontPath   "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection

Section "Module"
   Load   "bitmap"
   Load   "dbe"
   Load   "ddc"
   Load   "dri"
   Load   "extmod"
   Load   "freetype"
   Load   "glx"
   Load   "int10"
   Load   "record"
   Load   "type1"
   Load   "vbe"
EndSection

Section "InputDevice"
   Identifier   "Generic Keyboard"
   Driver      "keyboard"
   Option      "CoreKeyboard"
   Option      "XkbRules"   "xorg"
   Option      "XkbModel"   "pc104"
   Option      "XkbLayout"   "us"
EndSection

Section "InputDevice"
   Identifier   "Configured Mouse"
   Driver      "mouse"
   Option      "CorePointer"
   Option      "Device"      "/dev/input/mice"
   Option      "Protocol"      "ImPS/2"
   Option      "Emulate3Buttons"   "true"
   Option      "ZAxisMapping"      "4 5"
EndSection

Section "Device"
   Identifier   "NVIDIA Corporation NV34 [GeForce FX 5200]"
   Driver      "nv"
   BusID      "PCI:2:0:0"
EndSection

Section "Monitor"
   Identifier   "Generic Monitor"
   Option      "DPMS"
EndSection

Section "Screen"
   Identifier   "Default Screen"
   Device      "NVIDIA Corporation NV34 [GeForce FX 5200]"
   Monitor      "Generic Monitor"
   DefaultDepth   24
   SubSection "Display"
      Depth      1
      Modes      "1152x864" "1024x768" "800x600" "720x400" "640x480"
   EndSubSection
   SubSection "Display"
      Depth      4
      Modes      "1152x864" "1024x768" "800x600" "720x400" "640x480"
   EndSubSection
   SubSection "Display"
      Depth      8
      Modes      "1152x864" "1024x768" "800x600" "720x400" "640x480"
   EndSubSection
   SubSection "Display"
      Depth      15
      Modes      "1152x864" "1024x768" "800x600" "720x400" "640x480"
   EndSubSection
   SubSection "Display"
      Depth      16
      Modes      "1152x864" "1024x768" "800x600" "720x400" "640x480"
   EndSubSection
   SubSection "Display"
      Depth      24
      Modes      "1152x864" "1024x768" "800x600" "720x400" "640x480"
   EndSubSection
EndSection

Section "ServerLayout"
   Identifier   "Default Layout"
   Screen      "Default Screen"
   InputDevice   "Generic Keyboard"
   InputDevice   "Configured Mouse"
EndSection

Section "DRI"
   Mode   0666
EndSection
Активен

  • Гост
gentoo+update
« Отговор #4 -: Dec 19, 2005, 14:20 »
Цитат (Guest @ Дек. 19 2005,13:56)
Понеже и аз съм нов gentoo потребител (вчера си го инсталирах) и аз имам няколко въпроса. До колкото разбрах, подобно на дебиан (до преди няколко дена ползвах него) и тук има unstable и stable версия, как мога да сменя версията  и до колко е безопасно да ползвам unstable (при дебиан нямах никакви проблеми с нестабилната версия). Вторият ми въпрос е как да инсталирам gnome 2.12. Прочетох това упътване и тази статия, но срещам проблем още в самото начало - в /usr/portage/profiles/package.mask не мога да намеря раздел, който да се отнася до GNOME, съответно, няма какво да сложа в package.unmask. Другият ми проблем е със X-a.  Инсталирах си gnome 2.10, но когато пусна резолюция 1152x864 мониторът е на 75 херца (до сега не съм имал такъв проблем), на по - ниската 1024x768 всичко е наред (мога да избирам до 85 херца, което е нормалната стойност за монитора ми). Същото така скрола на мишката (PS/2) ми не работеше . Помислих, си, че не съм настрпил добре xorg-а и затова копирах старият си xorg.conf (от когато ползвах дебиан), който не ми правеше никакви проблеми. Скролът на мишката се оправи, но проблемът с refresh rate-а и резолюцията си остава. Ето как изглеждаше xorg.conf преди:
Цитат
Section "ServerLayout"
   Identifier     "X.org Configured"
   Screen      0  "Screen0" 0 0
   InputDevice    "Mouse0" "CorePointer"
   InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
   RgbPath      "/usr/lib/X11/rgb"
   ModulePath   "/usr/lib/modules"
   FontPath     "/usr/share/fonts/misc/"
   FontPath     "/usr/share/fonts/TTF/"
   FontPath     "/usr/share/fonts/Type1/"
   FontPath     "/usr/share/fonts/CID/"
   FontPath     "/usr/share/fonts/75dpi/"
   FontPath     "/usr/share/fonts/100dpi/"
EndSection

Section "Module"
   Load  "extmod"
   Load  "dri"
   Load  "dbe"
   Load  "record"
   Load  "xtrap"
   Load  "glx"
   Load  "type1"
   Load  "freetype"
EndSection

Section "InputDevice"
   Identifier  "Keyboard0"
   Driver      "kbd"
EndSection

Section "InputDevice"
   Identifier  "Mouse0"
   Driver      "mouse"
   Option       "Protocol" "PS/2"
   Option       "Device" "/dev/mouse"
        Option      "Emulate3Buttons"
EndSection

Section "Monitor"

   #DisplaySize     320   240   # mm
   Identifier   "Monitor0"
   VendorName   "MAG"
   ModelName    "312"
   HorizSync    30.0 - 86.0
   VertRefresh  50.0 - 160.0
   Option       "DPMS"
EndSection

Section "Device"

        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "SWcursor"              # [<bool>]
        #Option     "HWcursor"              # [<bool>]
        #Option     "NoAccel"               # [<bool>]
        #Option     "ShadowFB"              # [<bool>]
        #Option     "UseFBDev"              # [<bool>]
        #Option     "Rotate"                # [<str>]
        #Option     "VideoKey"              # <i>
        #Option     "FlatPanel"             # [<bool>]
        #Option     "FPDither"              # [<bool>]
        #Option     "CrtcNumber"            # <i>
        #Option     "FPScale"               # [<bool>]
        #Option     "FPTweak"               # <i>
   Identifier  "Card0"
   Driver      "nv"
   VendorName  "nVidia Corporation"
   BoardName   "NV34 [GeForce FX 5200]"
   BusID       "PCI:2:0:0"
EndSection

Section "Screen"
   Identifier "Screen0"
   Device     "Card0"
   Monitor    "Monitor0"
   SubSection "Display"
      Viewport   0 0
      Depth     1
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     4
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     8
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     15
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     16
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     24
   EndSubSection
EndSection


А ето как изглежда сега
Цитат
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands:
#
#   cp /etc/X11/xorg.conf /etc/X11/xorg.conf.custom
#   sudo sh -c 'md5sum /etc/X11/xorg.conf >/var/lib/xfree86/xorg.conf.md5sum'
#   sudo dpkg-reconfigure xserver-xorg

Section "Files"
   FontPath   "unix/:7100"         # local font server
   # if the local font server has problems, we can fall back on these
   FontPath   "/usr/lib/X11/fonts/misc"
   FontPath   "/usr/lib/X11/fonts/cyrillic"
   FontPath   "/usr/lib/X11/fonts/100dpi/:unscaled"
   FontPath   "/usr/lib/X11/fonts/75dpi/:unscaled"
   FontPath   "/usr/lib/X11/fonts/Type1"
   FontPath   "/usr/lib/X11/fonts/CID"
   FontPath   "/usr/lib/X11/fonts/100dpi"
   FontPath   "/usr/lib/X11/fonts/75dpi"
        # paths to defoma fonts
   FontPath   "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
   FontPath   "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection

Section "Module"
   Load   "bitmap"
   Load   "dbe"
   Load   "ddc"
   Load   "dri"
   Load   "extmod"
   Load   "freetype"
   Load   "glx"
   Load   "int10"
   Load   "record"
   Load   "type1"
   Load   "vbe"
EndSection

Section "InputDevice"
   Identifier   "Generic Keyboard"
   Driver      "keyboard"
   Option      "CoreKeyboard"
   Option      "XkbRules"   "xorg"
   Option      "XkbModel"   "pc104"
   Option      "XkbLayout"   "us"
EndSection

Section "InputDevice"
   Identifier   "Configured Mouse"
   Driver      "mouse"
   Option      "CorePointer"
   Option      "Device"      "/dev/input/mice"
   Option      "Protocol"      "ImPS/2"
   Option      "Emulate3Buttons"   "true"
   Option      "ZAxisMapping"      "4 5"
EndSection

Section "Device"
   Identifier   "NVIDIA Corporation NV34 [GeForce FX 5200]"
   Driver      "nv"
   BusID      "PCI:2:0:0"
EndSection

Section "Monitor"
   Identifier   "Generic Monitor"
   Option      "DPMS"
EndSection

Section "Screen"
   Identifier   "Default Screen"
   Device      "NVIDIA Corporation NV34 [GeForce FX 5200]"
   Monitor      "Generic Monitor"
   DefaultDepth   24
   SubSection "Display"
      Depth      1
      Modes      "1152x864" "1024x768" "800x600" "720x400" "640x480"
   EndSubSection
   SubSection "Display"
      Depth      4
      Modes      "1152x864" "1024x768" "800x600" "720x400" "640x480"
   EndSubSection
   SubSection "Display"
      Depth      8
      Modes      "1152x864" "1024x768" "800x600" "720x400" "640x480"
   EndSubSection
   SubSection "Display"
      Depth      15
      Modes      "1152x864" "1024x768" "800x600" "720x400" "640x480"
   EndSubSection
   SubSection "Display"
      Depth      16
      Modes      "1152x864" "1024x768" "800x600" "720x400" "640x480"
   EndSubSection
   SubSection "Display"
      Depth      24
      Modes      "1152x864" "1024x768" "800x600" "720x400" "640x480"
   EndSubSection
EndSection

Section "ServerLayout"
   Identifier   "Default Layout"
   Screen      "Default Screen"
   InputDevice   "Generic Keyboard"
   InputDevice   "Configured Mouse"
EndSection

Section "DRI"
   Mode   0666
EndSection

Смело слагай "unstable" - аз от самото начало съм на ~x86 и досега грижи нямам, напротив - много съм доволен! '<img'>

Предлагам ти следния подход: редактирай си make.conf да ползваш ~, после си направи един --sync, подмени сегашния си xorg.conf с този, който преди те е радвал, и изпълни
emerge -uDNav world (или преведено :: emerge update deep newuse ask verbose world) - така ще ъпдейтваш системата, като се вземат предвид (newuse) промените в make.conf

 '<img'>
Активен

NOP

  • Напреднали
  • *****
  • Публикации: 28
    • Профил
gentoo+update
« Отговор #5 -: Dec 19, 2005, 18:34 »
Цитат (Guest @ Дек. 19 2005,15:20)
Цитат на: Guest,Дек. 19 2005,13:56
emerge -uDNav world

emerge -DuNav world
се помни по лесно '<img'>
Активен

  • Гост
gentoo+update
« Отговор #6 -: Dec 19, 2005, 20:16 »
Това ще ми инсталира ли последния GNOME, и какво имаш впредвид  под този xorg.conf, който преди ме е радвал. xorg.conf-а, който беше по - подразбиране ми правеше проблемите с мишката и не ми даваше да ползвам 85 херца опреснителна честота. Смених го със стария xorg.conf (който беше преди с дебиана) и проблемът с мишката се оправи, но със опреснителната честота остана.
Активен

  • Гост
gentoo+update
« Отговор #7 -: Dec 28, 2005, 16:58 »
Пробвай да си инсталираш драйверите за NVIDIA, виждам че не си го направил. Тук е обяснено подробно - HOWTO
Активен

Подобни теми
Заглавие Започната от Отговора Прегледи Последна публикация
Update на KDE
Настройка на програми
Al_Kapone 10 6933 Последна публикация Apr 13, 2004, 18:07
от kicker
Gentoo (emerge --update --deep world) problem
Настройка на програми
taiko 4 2540 Последна публикация Jan 20, 2005, 23:59
от taiko
Networkless Gentoo inst && update
Хардуерни и софтуерни проблеми
Andrew 6 2343 Последна публикация Mar 22, 2005, 22:06
от ray
update на Gentoo
Настройка на програми
senser 25 5748 Последна публикация Jul 25, 2006, 13:16
от senser
Gentoo: update ама не съвсем
Настройка на програми
Agent_SMITH 1 1658 Последна публикация Mar 29, 2006, 07:36
от ray