Это старая версия документа.
Содержание
Этот документ содержит решения известных проблем Ubuntu 9.04 и её производных.
Системные требования
Минимальное количество оперативной памяти, необходимой для работы Ubuntu 9.04 составляет 256 Мб. Обратите внимание на то, что некоторый объём системной памяти может использоваться видеокартой. С минимально возможным объёмом ОЗУ процесс установки займёт больше времени, но будет успешно закончен и система будет работоспособной после завершения установки.
Установку Ubuntu 9.04 на системы с малым количеством оперативной памяти предпочтительнее выполнять, выбрав «Install Ubuntu» из меню загрузочного диска, запустив таким образом только установщик системы, а не полную рабочую среду.
Установка
Рекомендованные пакеты устанавливаются по умолчанию
В соответствии с «Руководством по политике Debian» (в котором говорится, что «в поле «Recommends» должны перечисляться пакеты, которые идут вместе с устанавливаемым во всех случаях, кроме особо обозначенных»), теперь система управления пакетами будет по умолчанию устанавливать пакеты, перечисленные в поле предлагает («Recommends:») других пакетов на равне с зависимыми пакетами (перечислены в поле «Depends»). Если вы хотите избежать этого для каких-либо отдельных пакетов, используйте для установки команду apt-get –no-install-recommends
; если же вы хотите совсем отключить эту функцию, добавьте строку APT::Install-Recommends «false»;
в файл /etc/apt/apt.conf
. Заметьте, что это может привести к отключению некоторых функций в устанавливаемых программах.
(Это изменение было сделано в Ubuntu 8.10.)
Неверное графическое отображение диска при установке на самое большое непрерывное пустое место на диске
When both the «Install them side by side» option and the «Use the largest continuous free space» options are present, the «Use the largest continuous free space» option will display the wrong information in the partition bar that shows what the disk will look like after installation. However, selecting this option will correctly install Ubuntu into the largest empty partition. (364181)
Hibernation may be unavailable with automatic partitioning
The default partitioning recipe in the installer will in some cases allocate a swap partition that is smaller than the physical memory in the system. This will prevent the use of hibernation (suspend-to-disk) because the system image will not fit in the swap partition. If you intend to use hibernation with your system, you should ensure that the swap partition's size is at least as large as the system's physical RAM.
Обновление с предыдущих версий
Пользователи Ubuntu 8.10 могут перейти на Ubuntu 9.04, используя обычный автоматизированный процесс обновления. Пользователи более старых версий Ubuntu должны сначала обновиться до Ubuntu 8.10, а затем до 9.04. Полные инструкции находятся на странице http://www.ubuntu.com/getubuntu/upgrading.
Пользователи Kubuntu могут напрямую обновиться с версии 8.04 до Kubuntu 9.04. Пользователям, которые будут обновляться подобным образом, рекомендуется прочитать замечания к выпуску Ubuntu 8.10, так как могут иметь место описанные там проблемы.
Ошибки загрузки на системах с чипсетом Intel D945
Пользователи отмечают более медленное, чем обычно, распознавание жёстких дисков SATA на материнских платах с чипсетом Intel D945 на Ubuntu 9.04. При загрузке это может привести к выпадению в оболочку initramfs с выводом ошибки «Gave up waiting for root device.» («Превышение времени ожидания системного устройства»). Подождите 1-2 минуты, а затем выйдите из оболочки initramfs, набрав 'exit'. Далее процесс загрузки должен продолжиться в обычном режиме. Если этого не происходит, подождите дольше и попробуйте снова. Когда система загрузится, отредактируйте /boot/grub/menu.lst, добавив rootdelay=90 в строку используемого ядра (290153)
При обновлении с бета-версии, возможно, придётся заменить LABEL= в /etc/fstab
Системы Ubuntu Jaunty Alpha 5, Jaunty Alpha 6, либо Ubuntu 9.04 beta могут использовать синтаксис LABEL= в /etc/fstab для идентификации файловых систем. Это может служить причиной непредсказуемого поведения в случае, если в систему будет добавлен другой диск (например USB), содержащий файловые системы с совпадающими метками. Если вы не уверены в невозможности возникновения такой ситуации, то рекомендуется перейти на использование универсальных уникальных идентификаторов (UUIDs).
Например, если файловая система идентифицируется как LABEL=home в /etc/fstab, вы можете найти её UUID следующим образом:
blkid -o value -s UUID -l -t LABEL=home
Теперь вы можете заменить LABEL=home
на UUID=output
, где output — это ответ от blkid.
При установке релиз-кандидат версии или финальной версии Ubuntu 9.04 эта проблема не возникает.
python ImportError with systems upgraded before Ubuntu 9.04 release candidate
A bug in the python packages present in jaunty prior to the Ubuntu 9.04 release candidate caused python modules to fail to be registered for use with the current python version, python 2.6. This problem appears as an import error, e.g:
ImportError: No module named foo
even though the package providing the module package is installed.
To correct this, run the command:
sudo dpkg-reconfigure python-foo
for each python-foo package providing an affected module.
Upgrades from alphas may need re-encryption of encrypted home directories
Users who were running eCryptfs on the Jaunty Alpha milestones are advised to re-encrypt any encrypted files. An upstream 2.6.28 kernel bug caused random kernel memory to be written to eCryptfs encrypted file headers. The fix has been applied and deployed to Ubuntu users in the Jaunty RC kernel. Ubuntu eCryptfs users running this kernel should re-encrypt each encrypted file using /usr/bin/ecryptfs-rewrite-file. For more information, please see ecryptfs-rewrite-file(1). (345544)
Обновление с альфа версии может потребовать повторного шифрования зашифрованных домашних каталогов
Пользователям, использовавшим eCryptfs на Jaunty Alpha советуется повторно закодировать все шифрованные файлы. Ошибка в ядре 2.6.28 служила причиной того, что в заголовки зашифрованных eCryptfs файлов записывалось случайное содержимое памяти. Была создана заплатка, устраняющая эту ошибку, она была включена в ядро версии Jaunty RC. Пользователи, у которых установлено ядро этой версии, должны перешифровать каждый зашифрованный файл, используя /usr/bin/ecryptfs-rewrite-file. Для получения более подробной информации смотрите ecryptfs-rewrite-file(1). См.также Bug 345544.
Upgrades from Ubuntu 8.10 may have lilo installed
Ubuntu 8.10 systems installed from the desktop CD mistakenly had the lilo package installed as well as grub, although grub was used for booting. If you use the recommended Update Manager upgrade method, then the lilo package will be removed if it does not appear to be used. If you upgrade using some other method and are sure that you only use the GRUB boot loader, then we recommend that you remove the lilo package manually. Bug 314004
Пользователи, обновляющиеся с Ubuntu 8.10 могут иметь установленный в системе lilo
Ubuntu 8.10, установленная с «desktop CD», по ошибке, имеет в себе установленными как пакет lilo, так и пакет grub, несмотря на то, что для загрузки используется grub. Если вы примените рекомендованный способ обновления через Update Manager, то пакет lilo будет удалён, если он не используется. При обновлении каким-либо другим способом и если вы уверены, что используете загрузчик GRUB, рекомендуется удалить пакет lilo вручную. Bug 314004
Setting wireless regulatory domain via module option no longer supported
Ubuntu 9.04 enables the CRDA wireless regulatory framework for controlling which wireless channels are usable and visible in a particular location. If you previously had to use the module option similar to that below in /etc/modprobe.d/options to allow access to certain channels in your locality then you may find that wireless will not function at all:
- options cfg80211 ieee80211_regdom=EU
You should remove this kernel module option on upgrade to Ubuntu 9.04 and use the iw reg command instead.
Установка беспроводного регулирующего домена через опцию модуля ядра более не поддерживается
Ubuntu 9.04 использует регулирующий фреймворк CRDA для управления тем, какие беспроводные каналы используются и видимы в конкретном месторасположении. Если до этого вы использовали опцию модуля в /etc/modprobe.d/options, подобную той, что приведена ниже, для разрешения доступа к некоторым каналам в вашем месторасположении, то может оказаться, что эти каналы не будут функционировать вообще:
- options cfg80211 ieee80211_regdom=EU
Вы должны удалить эту опцию модуля ядра при обновлении до Ubuntu 9.04 и использовать вместо этого команду iw reg.
Network management applet must be re-added on Kubuntu upgrade
When upgrading from Kubuntu 8.10, the new Network Management applet will need to be added to the panel manually. (349066)
plasma-1.png
plasma-2.png
plasma-3.png
Click the Plasma icon in the bottom right.
Click Add Widget.
Double click on Network Management.
Апплет Network management должен быть переустановлен при обновлении Kubuntu
При обновлении с Kubuntu 8.10, апплет Network Management должен быть добавлен на панель вручную. (Bug 349066)
plasma-1.png
plasma-2.png
plasma-3.png
Нажмите иконку Plasma справа снизу.
Выберите «Add widgets…».
Дважды кликните на Network Management.
Kubuntu Network Management applet does not connect to WPA2 networks
The Network Management applet in Kubuntu does not connect to WPA 2 network or some VPN setups. You can use knetworkmanager (available on the DVD) or network-manager-gnome as a workaround. (339313)
Апплет Kubuntu Network Management не соединяется с сетями WPA2
Апплет Network Management applet в Kubuntu не соединяется с сетями WPA 2 и некоторыми VPN. Как решение проблемы, вы можете пока использовать knetworkmanager (доступный на DVD), либо network-manager-gnome. Bug 339313
Kubuntu may keep unneeded guidance power package
The kubuntu upgrade may leave the no longer needed packages «kde-guidance-powermanager» or «guidance-power-manager» installed. Those can be removed.
Ctrl-Alt-Backspace disabled by default in Xorg
The Ctrl-Alt-Backspace key combination to force a restart of X is now disabled by default, to eliminate the problem of accidentally triggering the key combination. Users who do want this function can enable it in their xorg.conf, or by running the command dontzap –disable.
Сочетание клавиш Ctrl-Alt-Backspace в Xorg по умолчанию выключено
Принудительный перезапуск X комбинацией клавиш Ctrl-Alt-Backspace теперь по умолчанию выключен, для устранения проблемы случайного нажатия этого сочетания клавиш. Пользователи, желающие включить эту функцию, могут сделать это, внеся изменения в файл xorg.conf, либо выполнив команду dontzap –disable.
Change in notifications of available updates
Ubuntu 9.04 introduces a change to the handling of package updates, launching update-manager directly instead of displaying a notification icon in the GNOME panel. Users will still be notified of security updates on a daily basis, but for updates that are not security-related, users will only be prompted once a week.
Users who wish to continue receiving update notifications in the previous manner can restore the earlier behavior using the following command:
gconftool -s –type bool /apps/update-notifier/auto_launch false
Изменения уведомлений о доступных обновлениях
Ubuntu 9.04 изменяет процесс работы с обновлениями пакетов, launching update-manager directly instead of displaying a notification icon in the GNOME panel. Users will still be notified of security updates on a daily basis, but for updates that are not security-related, users will only be prompted once a week.
Users who wish to continue receiving update notifications in the previous manner can restore the earlier behavior using the following command:
gconftool -s –type bool /apps/update-notifier/auto_launch false
Другие известные проблемы
Performance regressions on Intel graphics cards
Users of Intel video chipsets have reported performance regressions in Ubuntu 8.10 compared with previous releases (252094). Many of the issues have been resolved in Ubuntu 9.04, but some remain.
- Some users have found improved performance by using the «greedy» migration heuristic. This can be done by running «sudo gedit /etc/X11/xorg.conf», and adding Option «MigrationHeuristic» «greedy» to the Device section of your xorg.conf.
- Alternatively, a new experimental acceleration architecture option, «DRI2/UXA», is available for Intel graphics users which our testing has found provides significant performance improvements in some cases, but has also shown risk of severe stability problems. You can opt-in to enable this by running «sudo gedit /etc/X11/xorg.conf», and adding Option «AccelMethod» «UXA» to the Device section of your xorg.conf. Users wishing to maximize stability should stay with the standard default acceleration method, «EXA».
/!\ In some cases this will lead to the graphical environment not starting at all or becoming entirely unusable. In that case, start into rescue mode or press Ctrl+Alt+F2 and log into the text console, and use sudo nano /etc/X11/xorg.conf to revert the UXA option.
- If none of the above helps, some users reported success with using an older driver version.
Потеря производительности на видеокартах Intel
Пользователи видеочипсетов Intel сообщили о потере производительности в Ubuntu 8.10 по сравнению с предыдущими релизами (ошибка 252094). Многие факторы, влияющие на проблему, были устранены в Ubuntu 9.04, но некоторые остались.
- Некоторые пользователи заметили улучшение производительности при использовании «жадной» эвристической миграции. Это может быть выполнено с помощью команды «sudo gedit /etc/X11/xorg.conf», путём добавления строки Option «MigrationHeuristic» «greedy» в секцию Device файла xorg.conf.
- Кроме того, для пользователей видеокарт Intel доступна новая экспериментальная опция архитектуры акселератора, «DRI2/UXA», использование которой, по данным наших тестов обеспечивает значительный прирост производительности в некоторых случаях, но также может вызвать серьёзные проблемы со стабильностью. Вы можете попробовать включить эту опцию, выполнив «sudo gedit /etc/X11/xorg.conf», и добавив строку Option «AccelMethod» «UXA» в секцию Device файла xorg.conf. Пользователи, желающие иметь максимально стабильную систему, должны использовать стандартный метод акселерации «EXA», включенный по умолчанию.
- /!\ In some cases this will lead to the graphical environment not starting at all or becoming entirely unusable. In that case, start into rescue mode or press Ctrl+Alt+F2 and log into the text console, and use sudo nano /etc/X11/xorg.conf to revert the UXA option.
o
Если ничто из вышеперечисленного не помогло, примите к сведению, что некоторые пользователи сообщили о решении проблемы с помощью использования драйверов старых версий.
Display freezes with Intel graphics cards
Users of various Intel video chipsets reported freezes under various conditions (e. g. a few minutes after suspend on the i945, see 339091). In many cases, switching off desktop effects in System → Preferences → Appearance was reported to help.
Пользователи с видеочипсетами Intel сообщают, что дисплей зависает на несколько минут после выхода из спящего или ждущего режима (339091). Как вариант решения проблемы, вы можете добавить строку Option «DRI» «off» в секцию Device файла /etc/X11/xorg.conf. Эта опция выключит 3D ускорение и эффекты рабочего стола, но сделает надёжной работу с ждущим режимом.
If it still happens without desktop effects, you can add Option «DRI» «off» to the Device section of /etc/X11/xorg.conf, as described above. This will disable 3D acceleration and desktop effects, but makes suspend work reliably again and also avoid many types of crashes.
These freezes happen particularly often on the i965 chips (359392). For that reason, desktop effects were disabled by default on this chipset in the final release. They will be re-enabled in a 9.04 Update once the problem has been fixed.
Lock-ups when deleting files from ext4 filesystems
In some cases, deleting files from an ext4 filesystem is reported to cause soft lock-ups in the kernel (330824). Investigation of this problem is ongoing, and it is expected that a fix for this problem will be made available as a post-release update. To avoid this problem, users may wish to install using the default ext3 filesystem and convert their filesystem to ext4 (as documented on the ext4 wiki) once a fix is available.
Switching to ext4 requires manually updating grub
If you choose to upgrade your / or /boot filesystem in place from ext2 or ext3 to ext4 (as documented on the ext4 wiki), then you must also use the grub-install command after upgrading to Ubuntu 9.04 to reinstall your boot loader. If you do not do this, then the version of GRUB installed in your boot sector will not be able to read the kernel from the ext4 filesystem and your system will fail to boot.
Переход на ext4 требует ручного обновления grub
Если вы решили монтировать файловые системы / или /boot, которые являются ext2 или ext3, как ext4 (как описано на ext4 wiki), то вы должны выполнить команду grub-install после обновления до Ubuntu 9.04 для переустановки загрузчика. Если вы этого не сделаете, версия GRUB, установленная в загрузочном секторе будет неспособна загрузить ядро с раздела ext4, и система не сможет загрузиться.
Possible data-loss problems resizing ext4
The resize2fs tool may cause data loss when growing or shrinking ext4 filesystems off-line. See this mail from the upstream maintainer for more details. Unfortunately we became aware of this too late to fix it in Ubuntu 9.04. If you wish to resize an ext4 filesystem using the tools in Ubuntu 9.04, you may be able to work around these problems by first disabling the flex_bg and uninit_bg features (do not attempt this on a mounted filesystem!):
tune2fs -O ^flex_bg,^uninit_bg /dev/DEVICE_NAME e2fsck /dev/DEVICE_NAME
However, we still strongly recommend taking significantly more care with backups than usual before attempting to resize an ext4 filesystem.
Возможные проблемы с потерей данных при изменении размеров ext4 разделов
The resize2fs tool may cause data loss when growing or shrinking ext4 filesystems off-line. See this mail from the upstream maintainer for more details. Unfortunately we became aware of this too late to fix it in Ubuntu 9.04. If you wish to resize an ext4 filesystem using the tools in Ubuntu 9.04, you may be able to work around these problems by first disabling the flex_bg and uninit_bg features (do not attempt this on a mounted filesystem!):
tune2fs -O ^flex_bg,^uninit_bg /dev/DEVICE_NAME e2fsck /dev/DEVICE_NAME
However, we still strongly recommend taking significantly more care with backups than usual before attempting to resize an ext4 filesystem.
Pulseaudio inadvertently enabled in Kubuntu when installing from DVD or upgrading with apt-get
When installing Kubuntu 9.04 from the DVD images, or upgrading to Kubuntu 9.04 from a previous release using apt-get dist-upgrade, the pulseaudio package will be installed in error. This package is not intended to be installed as part of the Kubuntu desktop. Users can remove this package with the command:
sudo apt-get purge pulseaudio
Apparmor profiles incompatible with ecryptfs
When using encrypted directories together with apparmor in enforcing mode, apparmor will deny access to certain files unexpectedly because the Linux kernel sees the process as accessing the file via both the unencrypted and encrypted paths (359338). As a workaround, users can modify their apparmor profiles under /etc/apparmor.d/ to grant permissions to @{HOME}/.Private/. ==== Профили Apparmor несовместимы с ecryptfs ==== When using encrypted directories together with apparmor in enforcing mode, apparmor will deny access to certain files unexpectedly because the Linux kernel sees the process as accessing the file via both the unencrypted and encrypted paths (359338). As a workaround, users can modify their apparmor profiles under /etc/apparmor.d/ to grant permissions to @{HOME}/.Private/.
Avahi will not start if a .local domain is present
The avahi-daemon package, which implements the mDNS «zeroconf» standard, includes a check to avoid running when a conflicting .local DNS domain is present. It is reported that some ISPs advertise such a .local domain on their networks, which will leave Ubuntu 9.04 hosts unable to see names advertised on the local network (327362).
To force the use of mDNS on a network configured this way, users can run the commands:
sudo sed -i -e'/AVAHI_DAEMON_DETECT_LOCAL/s/1/0/' /etc/default/avahi-daemon sudo service avahi-daemon start
Avahi не запускается, если присутствует домен .local
The avahi-daemon package, which implements the mDNS «zeroconf» standard, includes a check to avoid running when a conflicting .local DNS domain is present. It is reported that some ISPs advertise such a .local domain on their networks, which will leave Ubuntu 9.04 hosts unable to see names advertised on the local network (327362).
To force the use of mDNS on a network configured this way, users can run the commands:
sudo sed -i -e'/AVAHI_DAEMON_DETECT_LOCAL/s/1/0/' /etc/default/avahi-daemon sudo service avahi-daemon start
Wubi reuses a pre-existing "ubuntu" directory and removes it on uninstallation
If there is a pre-existing directory called «ubuntu» in the target drive, it will be reused during the Windows installation and the full directory will be removed when uninstalling (364166). This will result in the loss of any files which were originally in that directory. It is recommended to rename any directory called «ubuntu» before proceeding with a Wubi installation.
Wubi перезаписываеет каталог "ubuntu" и стирает его при деинсталляции
If there is a pre-existing directory called «ubuntu» in the target drive, it will be reused during the Windows installation and the full directory will be removed when uninstalling (364166). This will result in the loss of any files which were originally in that directory. It is recommended to rename any directory called «ubuntu» before proceeding with a Wubi installation.
Occasional hangs possible on ARM architecture
The ARM port currently does not support the ppoll() & pselect() system syscalls, which will sometimes cause a failure to mount the root filesystem on boot. This is a race condition, and retrying the boot will usually clear the problem. The work to add the syscalls is currently underway and will be delivered as an update to the Ubuntu 9.04 kernel some time after release.
На архитектуре ARM возможны внезапные зависания
Портированная на ARM версия на текущий момент не поддерживает системные вызовы ppoll() и pselect(), что может иногда приводить к ошибке монтирования корневой файловой системы при загрузке. Как правило, перезагрузка устраняет эту проблему. В настоящее время ведётся работа над поддержкой системных вызовов, которая будет доступна в виде обновления ядра Ubuntu 9.04 через некоторое время после выхода версии 9.04.
Problems displaying text in Mythbuntu with Radeon driver
The mythtv frontend in mythbuntu fails to render fonts correctly when using the radeon driver and DRI is enabled (341898). This issue is expected to be resolved in a post-release update soon after release. In the meantime, users can work around this problem by disabling DRI in their X configuration.
Tracker index corruption
In some cases it can happen that the index of the «tracker» desktop search engine becomes invalid. A dialog will be shown, offering you to «Reindex all contents». This button does not work, and the tracker service might start to use large amounts of CPU and disk resources. As a workaround, please press Alt+F2 and run tracker-processes -r. This will be fixed in a post-release update soon (see bug 361205).
Ссылки
[1] https://wiki.ubuntu.com/JauntyJackalope/ReleaseNotes/ JauntyJackalope/ReleaseNotes (последним исправлял(а) mvo 2009-04-22 18:18:48)
[2] https://wiki.ubuntu.com/JauntyJackalope/ReleaseNotes/ru JauntyJackalope/ReleaseNotes/ru (последним исправлял(а) Koptev Oleg 2009-04-22 19:11:27)