Автор Тема: Проблем при ъпдейт на ArchLinux  (Прочетена 1324 пъти)

radoshow

  • Напреднали
  • *****
  • Публикации: 1313
  • Distribution: Arch Linux
  • Window Manager: Gnome Shell
    • Профил
От два дни се опитвам да ъпдейтна системата,но не става.Гледам,че са се събрали 104 ъпдейта.Изписва ми някакъв конфликт с wicd и спира ъпдейта.Ето вижте за какво иде реч:
Код
GeSHi (Bash):
  1. [rado@archbox ~]$ sudo pacman -Sy
  2. Password:
  3. :: Synchronizing package databases...
  4. core is up to date
  5. extra is up to date
  6. community is up to date
  7. archlinuxfr is up to date
  8. [rado@archbox ~]$ sudo pacman -Qu | wc -l
  9. 104
  10. [rado@archbox ~]$ sudo pacman -Su
  11. :: Starting full system upgrade...
  12. warning: fbpanel: local (6.1.507svn-2) is newer than community (6.1-2)
  13. resolving dependencies...
  14. looking for inter-conflicts...
  15.  
  16. Targets (105): arora-git-20110409-1  libdrm-2.4.25-1  libgl-7.10.2-2  ati-dri-7.10.2-2  libmowgli-0.9.50-1  libmcs-0.7.2-2  libguess-1.0-3  audacious-plugins-2.5.0-1
  17.               audacious-2.5.0-1  kernel26-2.6.38.2-1  aufs2-2.6.38_20110314-4  aufs2-util-20110314-1  xproto-7.0.21-1  libx11-1.4.3-2  consolekit-0.4.3-3  dhclient-4.2.1.1-1
  18.               dhcpcd-5.2.12-1  eventlog-0.2.12-2  filesystem-2011.04-1  fakeroot-1.15.1-1  xextproto-7.2.0-1  fixesproto-5.0-1  flashplugin-10.2.159.1-1  libtasn1-2.9-1
  19.               libgpg-error-1.9-3  libgcrypt-1.4.6-2  gnutls-2.12.2-1  intel-dri-7.10.2-2  kernel26-headers-2.6.38.2-1  libthai-0.1.15-1  libtiff-3.9.5-1  libxfixes-5.0-1
  20.               lighttpd-1.4.28-5  lirc-utils-1:0.9.0-2  mach64-dri-7.10.2-2  libpipeline-1.2.0-1  man-db-2.6.0.2-1  mdadm-3.2.1-1  mesa-7.10.2-2  mga-dri-7.10.2-2
  21.               ncurses-5.9-1  ndiswrapper-1.56-9  nouveau-dri-7.10.2-2  pango-1.28.4-2  phonon-gstreamer-4.5.0-1  python-3.2-2  sqlite3-3.7.6.1-1  python2-2.7.1-9
  22.               r128-dri-7.10.2-2  savage-dri-7.10.2-2  sis-dri-7.10.2-2  syslog-ng-3.2.2-2  tdfx-dri-7.10.2-2  tint2-svn-628-1  unichrome-dri-7.10.2-2  usbutils-002-1
  23.               volumeicon-0.3.0-1  wicd-1.7.0-9  wicd-gtk-1.7.0-9  xdg-utils-1.1.0rc1-2  xf86-input-acecad-1.4.99_git20110318-1  xf86-input-aiptek-1.3.99_git20110318-1
  24.               xf86-input-evdev-2.6.0-3  xf86-input-joystick-1.5.99_git20110318-1  xf86-input-keyboard-1.6.0-2  xf86-input-mouse-1.7.0-2  xf86-input-synaptics-1.4.0-2
  25.               xf86-input-wacom-0.10.9-1  xf86-video-apm-1.2.3-3  xf86-video-ark-0.7.3-3  xf86-video-ast-0.91.10-3  xf86-video-ati-6.14.1-1  xf86-video-chips-1.2.4-2
  26.               xf86-video-cirrus-1.3.2-6  xf86-video-fbdev-0.4.2-4  xf86-video-geode-2.11.12-3  xf86-video-glint-1.2.5-2  xf86-video-i128-1.3.4-3  xf86-video-i740-1.3.2-6
  27.               xf86-video-intel-2.15.0-1  xf86-video-mach64-6.8.2-6  xf86-video-mga-1.4.13-3  xf86-video-neomagic-1.2.5-4  xf86-video-nouveau-0.0.16_git20110316-2
  28.               xf86-video-r128-6.8.1-6  xf86-video-rendition-4.2.4-4  xf86-video-s3-0.6.3-5  xf86-video-s3virge-1.10.4-5  xf86-video-savage-2.3.2-2
  29.               xf86-video-siliconmotion-1.7.5-2  xf86-video-sis-0.10.3-4  xf86-video-tdfx-1.4.3-6  xf86-video-trident-1.3.4-4  xf86-video-tseng-1.2.4-4
  30.               xf86-video-unichrome-0.2.7-5  xf86-video-vesa-2.3.0-5  xf86-video-voodoo-1.2.4-4  xf86-video-xgi-1.6.0-3  xf86-video-xgixp-1.8.0-3  xkeyboard-config-2.2.1-1
  31.               xorg-server-common-1.10.1-1  xorg-server-1.10.1-1  xorg-xrdb-1.0.9-1  xvidcore-1.3.1-1  xz-5.0.2-1
  32.  
  33. Total Download Size:    0.00 MB
  34. Total Installed Size:   371.76 MB
  35.  
  36. Proceed with installation? [Y/n] Y
  37. (105/105) checking package integrity                                                                       [---------------------------------------------------------------] 100%
  38. (105/105) checking for file conflicts                                                                      [---------------------------------------------------------------] 100%
  39. error: failed to commit transaction (conflicting files)
  40. wicd: /usr/lib/python2.7/site-packages/wicd/__init__.pyo exists in filesystem
  41. wicd: /usr/lib/python2.7/site-packages/wicd/backend.pyo exists in filesystem
  42. wicd: /usr/lib/python2.7/site-packages/wicd/configmanager.pyo exists in filesystem
  43. wicd: /usr/lib/python2.7/site-packages/wicd/dbusmanager.pyo exists in filesystem
  44. wicd: /usr/lib/python2.7/site-packages/wicd/logfile.pyo exists in filesystem
  45. wicd: /usr/lib/python2.7/site-packages/wicd/misc.pyo exists in filesystem
  46. wicd: /usr/lib/python2.7/site-packages/wicd/networking.pyo exists in filesystem
  47. wicd: /usr/lib/python2.7/site-packages/wicd/wnettools.pyo exists in filesystem
  48. wicd: /usr/lib/python2.7/site-packages/wicd/wpath.pyo exists in filesystem
  49. Errors occurred, no packages were upgraded.
В момента на системата е инсталиран wicd 1.7.0-8,а сега гледам,че иска да ъпгейдне на wicd 1.7.0-9.По принцип на мен не ми е нужен networkmanager,защото рутера ми раздава автоматично IP адресите и като включа компютъра той автоматично се вързва за нета.А wicd-то го инсталирам да има :),защото понякога се вързвам и към безжична мрежа,а с него става по-бързо.Та въпроса ми е има ли начин да се оправи тази дивотия с ъпдейтите.
Активен

clovenhoof

  • Напреднали
  • *****
  • Публикации: 534
  • Distribution: Mac OSX 10.9.2
    • Профил
Re: Проблем при ъпдейт на ArchLinux
« Отговор #1 -: Apr 17, 2011, 12:38 »
Цитат
Q: I get an error when updating: "file exists in filesystem"!
A: ASIDE: Taken from http://bbs.archlinux.org/viewtopic.php?id=56373 by Misfit138.
error: could not prepare transaction
error: failed to commit transaction (conflicting files)
package: /path/to/file exists in filesystem
Errors occurred, no packages were upgraded.
Why this is happening: pacman has detected a file conflict, and by design, will not overwrite files for you. This is a design feature, not a flaw.
It is the user's responsibility to maintain their system, not the package manager's. (pacman -Qo may be invoked to query which package owns the file, if any.)
The issue is usually trivial to solve. A safe way is to first check if another package owns the file (pacman -Qo /path/to/file). If the file is owned by another package, file a bug report. If the file is not owned by another package, rename the file which 'exists in filesystem' and re-issue the update command. If all goes well, the file may then be removed.

Това е цитат от викито.

ПП: Такива конфликти оправях като: 1. деинсталирам въпросния пакет; 2. Правя упдейт; 3. Инсталирам пакета отново (4. Евентуално пак упдейт). Горе е по-елегантно показано, въпреки че ако имаш 100 конфликта ще се побъркаш да преименуваш.
« Последна редакция: Apr 17, 2011, 12:51 от clovenhoof »
Активен

We are just a moment in time
A blink of an eye
A dream for the blind
Visions from a dying brain

radoshow

  • Напреднали
  • *****
  • Публикации: 1313
  • Distribution: Arch Linux
  • Window Manager: Gnome Shell
    • Профил
Re: Проблем при ъпдейт на ArchLinux
« Отговор #2 -: Apr 17, 2011, 21:24 »
@clovenhoof Благодаря за цитата.С негова помощ смалих ъпдейтите до 18,но пък сега излиза ново съобщение.И то гласи,че не може да инсталира останалите ъпдейти,защото не намира всички зависимости и изисква да се инсталира новото ядро 2.6.38.При опит да инсталирам това ядро също ми даде грешка,че иска aufs2.Потърсих с yaourt пакет с такова име и намерих aufs2-all,но и той ми даде грешка при инсталация.И ми писна да се занимавам с тоя CTKAch.Утре ще си инсталирам един чист ArchLinux да ми е мирна главата.
Активен