Re: Upgrading self-installed X with Ports version?
On Tue, Sep 09, 2003 at 03:16:50PM +0100, Matthew Seaman wrote: > On Tue, Sep 09, 2003 at 10:00:34AM -0400, Jesse Sheidlower wrote: > > > I recently tried to upgrade X by installing it from Ports, > > and thought I had succeeded, as pkg_info and so forth are > > reporting that XFree86-4.3.0,1 is installed. However, I'm > > still running 4.2, as executing "XFree86 -version" informs > > me. > > First the D'Oh! question: you did restart the X server after > installing the upgrade didn't you? Pressing Ctrl-Alt-Esc will kill > your current X server, and depending on your setup, may cause another > server instance to start up automatically. Or it may need you to run > startx(1) again. Yes, I did; that was an early first worry. In fact I rebooted the machine entirely. > XFree86 -version will tell you the version of the XFree86-Server port. > The straight XFree86-4.3.0,1 port doesn't actually install very much > itself: > > % pkg_info -L XFree86-4.3.0,1 > Information for XFree86-4.3.0,1: > > Files: > > as it only exists to cause the other required XFree86 ports to be > installed as dependencies of it: > > % pkg_info -r XFree86-4.3.0,1 > Information for XFree86-4.3.0,1: > > Depends on: > Dependency: expat-1.95.6_1 > Dependency: png-1.2.5_2 > Dependency: pkgconfig-0.15.0 > Dependency: imake-4.3.0_1 > Dependency: freetype2-2.1.4_1 > Dependency: fontconfig-2.2.90_3 > Dependency: XFree86-libraries-4.3.0_6 > Dependency: XFree86-Server-4.3.0_10 > Dependency: Xft-2.1.2 > Dependency: XFree86-fontEncodings-4.3.0 > Dependency: XFree86-fontScalable-4.3.0 > Dependency: XFree86-fontDefaultBitmaps-4.3.0 > Dependency: XFree86-fontCyrillic-4.3.0 > Dependency: XFree86-font75dpi-4.3.0 > Dependency: XFree86-font100dpi-4.3.0 > Dependency: XFree86-documents-4.3.0 > Dependency: XFree86-clients-4.3.0_3 > Dependency: wrapper-1.0_3 > Dependency: XFree86-FontServer-4.3.0_2 > > Essentially you need imake and all of the ports with XFree86 in their > names to be at version 4.3.0 or better. portupgrade(1) will ease the > pain of doing that remarkably. Right; but that's what I've already done, hence the confusion. I do have most of these to a current version: monopoly/etc/X11 $ pkg_info -r XFree86-4.3.0,1 Information for XFree86-4.3.0,1: Depends on: Dependency: expat-1.95.5 Dependency: png-1.2.5_2 Dependency: pkgconfig-0.15.0 Dependency: imake-4.3.0_1 Dependency: freetype2-2.1.4_1 Dependency: fontconfig-2.2.0 Dependency: XFree86-libraries-4.3.0_5 Dependency: Xft-2.1_8 Dependency: wrapper-1.0_3 Dependency: XFree86-fontScalable-4.3.0 Dependency: XFree86-fontCyrillic-4.3.0 Dependency: XFree86-clients-4.3.0_3 and running portupgrade(1) doesn't do much, as it apparently thinks I'm all set: monopoly/etc/X11 # portupgrade XFree86 monopoly/etc/X11 # Yet I'm still running 4.2. This is why I'm confused :-/. Jesse Sheidlower ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Upgrading self-installed X with Ports version?
On Tue, Sep 09, 2003 at 05:49:47PM +0100, Matthew Seaman wrote: > Hmmm... I don't see the XFree86-Server port there. You may have an X > Server installed, but because the system doesn't recognise it as part > of an installed port, it isn't attempting to upgrade it. > > You can always force the port to reinstall: > > # portinstall -fN x11-servers/XFree86-4-Server > > Although the ports system is very good at ensuring all of the > dependencies of a package are met, it does that by checking that key > executables or shared libraries or whatever are installed, rather than > checking the database of installed ports. Also, when you run > pkgdb(1), it's possible to tell the package database to forget about a > dependency. This, although it seems like a golden opportunity for > foot-shooting, is actually a clever move that allows you to mix > together 3rd party software installed by hand with software installed > from the ports system. Although there's very little reason nowadays > to go outside ports. Thanks! This worked perfectly. Now I just have to fix my lousy config files Jesse Sheidlower ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Upgrading self-installed X with Ports version?
On Tue, Sep 09, 2003 at 10:34:51AM -0400, Jesse Sheidlower wrote: > monopoly/etc/X11 $ pkg_info -r XFree86-4.3.0,1 > Information for XFree86-4.3.0,1: > > Depends on: > Dependency: expat-1.95.5 > Dependency: png-1.2.5_2 > Dependency: pkgconfig-0.15.0 > Dependency: imake-4.3.0_1 > Dependency: freetype2-2.1.4_1 > Dependency: fontconfig-2.2.0 > Dependency: XFree86-libraries-4.3.0_5 > Dependency: Xft-2.1_8 > Dependency: wrapper-1.0_3 > Dependency: XFree86-fontScalable-4.3.0 > Dependency: XFree86-fontCyrillic-4.3.0 > Dependency: XFree86-clients-4.3.0_3 > > and running portupgrade(1) doesn't do much, as it apparently > thinks I'm all set: > > monopoly/etc/X11 # portupgrade XFree86 > monopoly/etc/X11 # Hmmm... I don't see the XFree86-Server port there. You may have an X Server installed, but because the system doesn't recognise it as part of an installed port, it isn't attempting to upgrade it. You can always force the port to reinstall: # portinstall -fN x11-servers/XFree86-4-Server Although the ports system is very good at ensuring all of the dependencies of a package are met, it does that by checking that key executables or shared libraries or whatever are installed, rather than checking the database of installed ports. Also, when you run pkgdb(1), it's possible to tell the package database to forget about a dependency. This, although it seems like a golden opportunity for foot-shooting, is actually a clever move that allows you to mix together 3rd party software installed by hand with software installed from the ports system. Although there's very little reason nowadays to go outside ports. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
Re: Upgrading self-installed X with Ports version?
On Tue, Sep 09, 2003 at 03:44:45PM +0100, Wayne Pascoe wrote: > On Tue, Sep 09, 2003 at 10:00:34AM -0400, Jesse Sheidlower wrote: > > > I suppose this is a really stupid question, but what do I > > need to do to get the newer, Ports version of XFree86 to be > > the version run on the system? And is there anything I should > > be doing to get it configured properly after the change is > > made? > > It's possible that the start script for XFree86 that the port installs, > is installed in a directory further down in the PATH variable. This > means that when you call startx, you're starting the older version, which > in turn calls the older version of X. I considered this, but the current (i.e., wrong) version is as far down as it could possibly be: XFree86 Version 4.2.0 / X Window System (protocol Version 11, revision 0, vendor release 6600) Release Date: 18 January 2002 If the server is older than 6-12 months, or if your card is newer than the above date, look for a newer version before reporting problems. (See http://www.XFree86.Org/) Build Operating System: FreeBSD 4.4-RELEASE-p1 i386 [ELF] Module Loader present monopoly/etc/X11 # which XFree86 /usr/X11R6/bin/XFree86 monopoly/etc/X11 # echo $PATH /sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/local/sbin:/usr/X11R6/bin:/home/jester/bin Where should the port be installing its version? > Your best bet is to remove the port entirely, remove the existing X > server and re-install the port. This way you'll only have one version of > X on the box. Probably another stupid question, but how much do I have to remove to remove the existing X server? I'm happy to delete the server files, but don't want to accidentally wipe out other things that I'll still want. Thank you. Jesse Sheidlower ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Upgrading self-installed X with Ports version?
On Tue, Sep 09, 2003 at 10:00:34AM -0400, Jesse Sheidlower wrote: > I suppose this is a really stupid question, but what do I > need to do to get the newer, Ports version of XFree86 to be > the version run on the system? And is there anything I should > be doing to get it configured properly after the change is > made? It's possible that the start script for XFree86 that the port installs, is installed in a directory further down in the PATH variable. This means that when you call startx, you're starting the older version, which in turn calls the older version of X. Your best bet is to remove the port entirely, remove the existing X server and re-install the port. This way you'll only have one version of X on the box. The other way would be to get a list of all files that the port installed and remove any other copies of those files in locations other than where the port installed. This is risky though, because you might delete something that is actually needed. HTH, -- Wayne Pascoe 'tis far easier to get forgiveness than it is to get permission - probably someone famous, but more often, my Dad. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Upgrading self-installed X with Ports version?
On Tue, Sep 09, 2003 at 10:00:34AM -0400, Jesse Sheidlower wrote: > I recently tried to upgrade X by installing it from Ports, > and thought I had succeeded, as pkg_info and so forth are > reporting that XFree86-4.3.0,1 is installed. However, I'm > still running 4.2, as executing "XFree86 -version" informs > me. First the D'Oh! question: you did restart the X server after installing the upgrade didn't you? Pressing Ctrl-Alt-Esc will kill your current X server, and depending on your setup, may cause another server instance to start up automatically. Or it may need you to run startx(1) again. XFree86 -version will tell you the version of the XFree86-Server port. The straight XFree86-4.3.0,1 port doesn't actually install very much itself: % pkg_info -L XFree86-4.3.0,1 Information for XFree86-4.3.0,1: Files: as it only exists to cause the other required XFree86 ports to be installed as dependencies of it: % pkg_info -r XFree86-4.3.0,1 Information for XFree86-4.3.0,1: Depends on: Dependency: expat-1.95.6_1 Dependency: png-1.2.5_2 Dependency: pkgconfig-0.15.0 Dependency: imake-4.3.0_1 Dependency: freetype2-2.1.4_1 Dependency: fontconfig-2.2.90_3 Dependency: XFree86-libraries-4.3.0_6 Dependency: XFree86-Server-4.3.0_10 Dependency: Xft-2.1.2 Dependency: XFree86-fontEncodings-4.3.0 Dependency: XFree86-fontScalable-4.3.0 Dependency: XFree86-fontDefaultBitmaps-4.3.0 Dependency: XFree86-fontCyrillic-4.3.0 Dependency: XFree86-font75dpi-4.3.0 Dependency: XFree86-font100dpi-4.3.0 Dependency: XFree86-documents-4.3.0 Dependency: XFree86-clients-4.3.0_3 Dependency: wrapper-1.0_3 Dependency: XFree86-FontServer-4.3.0_2 Essentially you need imake and all of the ports with XFree86 in their names to be at version 4.3.0 or better. portupgrade(1) will ease the pain of doing that remarkably. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
Upgrading self-installed X with Ports version?
A year and a half ago I installed FreeBSD on a laptop. I've entirely forgotten the details, but I had to install XFree86 from scratch because I needed a version that was newer than whatever was in Ports at the time. (The chip is an ATI Mobility Radeon; I installed XFree86 4.2.) I recently tried to upgrade X by installing it from Ports, and thought I had succeeded, as pkg_info and so forth are reporting that XFree86-4.3.0,1 is installed. However, I'm still running 4.2, as executing "XFree86 -version" informs me. I suppose this is a really stupid question, but what do I need to do to get the newer, Ports version of XFree86 to be the version run on the system? And is there anything I should be doing to get it configured properly after the change is made? Thanks very much. Jesse Sheidlower ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"