Upgrading self-installed X with Ports version?
Jesse Sheidlower
jester at panix.com
Tue Sep 9 07:34:54 PDT 2003
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
More information about the freebsd-questions
mailing list