Date: Thu, 16 Oct 2008 10:41:57 -0700 From: Jeppe Bundsgaard <none@jeppe--bundsgaard.net.lh.bsd-dk.dk> To: bsd-dk@bsd-dk.dk Subject: Upgrade af Xorg
Hej Liste
Jeg forsøgte at opdatere phpMyAdmin med portupgrade -rR phpMyAdmin.
Men opdatering af Xorg fra 6.8.2 til 7.3.2 fejler.
"This looks like an incompletely removed old version of X. In the
current version, /usr/X11R6 must be a symlink if it exists at all.Please
read /usr/ports/UPDATING (entry of 20070519) for the procedure to
upgrade X.org related ports.* "
Der står i UPDATING at jeg skal køre "script xorg-upgrade" og sætte
nogle ENV-variable - jeg har klistret forklaringen ind nedenfor. Men jeg
forstår ikke hvad det går ud på.
Jeg har forsøgt at deinstall-e xorg. men det hjalp ikke.
Kan jeg slette alt hvad der er i X11R6? Eller skal alle mapper deri
flyttes til /usr/local? - der er nogle deri af samme navn, vil det
overskrive de gamle?
Og så lave X11R6 til et symlink?
Hjælp, please. Kan nogen forklare, rimelig konkret, hvad jeg skal gøre?
Jeppe
This upgrade procedure is for users of portupgrade. Users of other
upgrade tools should contact the author for the corresponding upgrade
method for that tool.
It is recommended that you run the xorg 7.2 upgrade inside a script(1)
session. This way, if something goes wrong, you will have hopefully
saved enough information for the developers to debug the problem.
Make sure you choose a filesystem with lots of space for the script
output.
# script xorg-upgrade
You may wish to set BATCH=yes in the environment to avoid interactive
dialogue boxes.
You may want to consider using portupgrade-devel, which fixes some
annoying bugs that cause upgrades to incorrectly be marked as failed
when they actually completed successfully. To switch to
portupgrade-devel:
# portupgrade -f -o ports-mgmt/portupgrade-devel portupgrade
# rm -f /usr/ports/INDEX*.db /var/db/pkg/pkgdb.db
# pkgdb -fu
If you have changed your ports environment in /etc/make.conf,
/usr/local/etc/pkgtools.conf or similar you need to rebuild INDEX:
# cd /usr/ports && make index
If you have not changed your ports environment you can save some
time and just fetch the latest INDEX:
# cd /usr/ports && make fetchindex
It is necessary to set the XORG_UPGRADE environment variable while
updating from xorg 6.9 to 7.2. Once the upgrade is complete this
is no longer be required.
This archive was generated by hypermail 2b30 : Fri 31 Oct 2008 - 23:00:02 CET