No startx after upgrade 9.2 to 10.0

Thank you, I have installed xinit, a which gives:

Code:
% /usr/local/bin/xinit

I have installed too xauth, a which gives:

Code:
% /usr/local/bin/xauth

Now, when I do startx, I still get:

Code:
% xauth: file /home/jbeziat/.serverauth.1135 does not exist

And:

Code:
% Share object"libpixman-1.so.9" not found, required by "X"

bsdadminscripts-6.1.1_4 is still installed, but libpixman-1.so.9 does not exist.

The new one is not libpixman-1.so.30? So must I update "X" again and also x11/pixman?

I wonder if I have correctly updated X :q
 
paradise said:
Now, when I do startx, I still get:
Code:
% xauth: file /home/jbeziat/.serverauth.1135 does not exist
Code:
% Share object"libpixman-1.so.9" not found, required by "X"
You can ignore the first message from xauth. The second one we need to deal with.

If you don't have ports-mgmt/portmaster installed, you will need to install it. Do the follwoing:
Code:
cd /usr/ports/ports-mgmt/portmaster
make install clean
portmaster -r pixman
The portmaster(8) command will re-install x11/pixman and everything dependent on it in one fell swoop. This should resolve the pixman-1.so.9 error when starting X. When this is done try startx again.

EDIT: Be advised, portmaster -r pixman may have to rebuild a couple dozen ports or so. Just let it do its thing.
 
You could have avoided all this trouble if you had recompiled all installed ports after the upgrade from 9.2 to 10.0. The ports-mgmt/portmaster manual page portmaster(8) has instructions for doing just that:

Code:
Using portmaster to do a complete reinstallation of all your ports:
           1. portmaster --list-origins > ~/installed-port-list
           2. Update your ports tree
           3. portmaster -ty --clean-distfiles
           4. portmaster --check-port-dbdir
           5. portmaster -Faf
           6. pkg_delete -a
           7. rm -rf /usr/local/lib/compat/pkg
           8. Back up any files in /usr/local you wish to save,
              such as configuration files in /usr/local/etc
           9. Manually check /usr/local and /var/db/pkg
              to make sure that they are really empty
           10. Re-install portmaster
           11. portmaster `cat ~/installed-port-list`

It is mandatory to recompile all ports after upgrading to the next higher major version of FreeBSD, otherwise you'll get exactly the kind of problems you've been experiencing.

Edit: The instructions haven't been updated yet for PKGNG, you have to use pkg delete -a at step 6.
 
tzoi516 said:
kpa said:
You could have avoided all this trouble if you had recompiled all installed ports after the upgrade from 9.2 to 10.0. The ports-mgmt/portmaster manual page portmaster(8) has instructions for doing just that:
This is a better link because the manual page link above returns "Sorry, no data found for `portmaster(8)'. Please try a keyword search."

I was sure the pman tag would work but apparently the manual pages are not being updated at http://freebsd.org/cgi/man.cgi. Anyway, if you have ports-mgmt/portmaster installed you'll have your local copy of the manual page viewable with man portmaster.
 
Hello all!

I have installed portmaster, and ran # portmaster -r pixman. Some packages were installed, whose Perl, but /sunpoet/pciids-20131123.tar.xz was not found, too bad, it stops the other updates... :(

I get a message with:
Code:
===> You can restart from the point of failure with this command line:
portmaster <flags> x11-servers/xorg-server
followed by many other ports (packages), what I have to do now? Does it mean that many ports are not updated yet?

Anyway I still get the same message with startx: libpixman-1.so.9/file] not found. Maybe the most simple would consist in updating the all system with portmaster?
 
paradise said:
Some packages were installed, whose Perl, but /sunpoet/pciids-20131123.tar.xz was not found, too bad, it stops the other updates... :(
Update your ports tree, then re-try the portmaster(8) command from the point of failure. I show http://pci-ids.ucw.cz/ as the master site for misc/pciids, which means your Makefile is out-dated.
 
trh411 said:
paradise said:
Some packages were installed, whose Perl, but /sunpoet/pciids-20131123.tar.xz was not found, too bad, it stops the other updates... :(
Update your ports tree, then re-try the portmaster(8) command from the point of failure. I show http://pci-ids.ucw.cz/ as the master site for misc/pciids, which means your Makefile is out-dated.

This is what it shows for me when I run make -C /usr/ports/misc/pciids -V MASTER_SITES:

Code:
http://ftp.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/sunpoet/ ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/sunpoet/ ftp://ftp.se.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/sunpoet/ ftp://ftp.uk.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/sunpoet/ ftp://ftp.ru.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/sunpoet/ ftp://ftp.jp.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/sunpoet/ ftp://ftp.tw.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/sunpoet/ ftp://ftp.cn.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/sunpoet/

However, the older than 2014 files seem to have been removed from those sites.

@paradise, as noted above, update your ports tree. What you now have seems to be from the time of the release of 10.0 or even older judging by the file names (pciids-20131123.tar.xz). You're supposed to keep up with updates to the ports tree by using one of the update methods given in the FreeBSD Handbook:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html
 
Last edited by a moderator:
Thank you all.

Alright, let'go, I'll update the ports with portsnap tonight, I'll use the same commands as for the first upgrade:

Code:
# portsnap fetch
# portsnap extract
# portsnap fetch
# portsnap update
Or only

Code:
# portsnap fetch
# portsnap update
?
 
portsnap fetch update should be sufficient to bring your tree current. Note that you can combine the fetch and update sub-commands in a single command for simplicity.
 
Hello !

So I ran :

Code:
# portsnap fetch update

I have rebooted, and I still get the same messages when i try to launch startx : serverauth does not exist, and libpixman-1.so.9 not found.

So I ran

Code:
# portmaster -r pixman

But the 'make' is blocked like on last time:

Code:
make: ... warning: Couldn't read shell's ouput for "usr/local/bin/X -version 2>&1

Maybe the best should consist in reinstalling FreeBSD ? :OO
 
paradise said:
Maybe the best should consist in reinstalling FreeBSD ? :OO
After the re-install of FreeBSD-10.0, if you plan on building from source, remember to run portsnap fetch update before you build any ports. This would not apply if you plan on using packages.
 
Back
Top