Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Oct 2007 18:40:52 +0100
From:      "Neil Munro" <neilmunro@gmail.com>
To:        freebsd-x11@freebsd.org
Subject:   Xorg upgrade to 7.2 always failing
Message-ID:  <da8be25a0710221040m4c674597j96b8ae9e30195eb5@mail.gmail.com>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
I am new to freebsd, i have been using Linux for a number of years now, and
being the chairman of the opensource society at uni i am always trying to
increase my knowledge. So any help would be appreciated.

I am trying to upgrade to modular X, so i can get all the fancy 3D desktop
graphics i am used to, so i followed the instructions in /usr/ports/UPDATING
for upgrading from 6.9 to 7.2, i have also tried building from ports neither
of which has worked.

Attached are the script files /usr/ports/UPDATING told me to record.


Thanks
Neil Munro

[-- Attachment #2 --]
Script started on Mon Oct 22 18:06:23 2007
[niadh@Aurora ~]$ BATCH=yes
[niadh@Aurora ~]$ portupgrade = -f -o ports-mgmt- /portupgrade-devel portupgrade
cd: can't cd to /usr/ports/sysutils/portupgrade
undefined method `each' for nil:NilClass
/usr/local/sbin/portupgrade:559: [BUG] Segmentation fault
ruby 1.8.5 (2006-08-25) [i386-freebsd6]

Abort trap: 6 (core dumped)
[niadh@Aurora ~]$ sudo pkg_aa dd -r portupgrade
Password:
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.2-release/Latest/portupgrade.tbz... Done.
pkg_add: package 'portupgrade-2.1.3.3_1,2' or its older version already installed
[niadh@Aurora ~]$ sudo pkg_add -r portupgrade-                            cd /usr       echo Sk  k Skipping portupgrade-devel install, see if it will work 

without it
Skipping portupgrade-devel install, see if it will work without it
[niadh@Aurora ~]$ cd /usr/ports && make fetchinxe  dex
fetch: /usr/ports/INDEX-6.bz2: open(): Permission denied
*** Error code 1

Stop in /usr/ports.
[niadh@Aurora /usr/ports]$ cd /usr/ports && make fetchindex
[niadh@Aurora /usr/ports]$ [1@s[1@u[1@d[1@o[1@ 
fetch: /usr/ports/INDEX-6.bz2: open(): Permission denied
*** Error code 1

Stop in /usr/ports.
[niadh@Aurora /usr/ports]$ sudo cd /usr/ports && make fetchindexcd /usr/ports && [1@ [1@s[1@u[1@d[1@o

/usr/ports/INDEX-6.bz2                          0% of 1119 kB    0  Bps
/usr/ports/INDEX-6.bz2                          0% of 1119 kB 7984  Bps
/usr/ports/INDEX-6.bz2                          1% of 1119 kB 8044  Bps
/usr/ports/INDEX-6.bz2                          2% of 1119 kB 9250  Bps
/usr/ports/INDEX-6.bz2                          3% of 1119 kB   11 kBps
/usr/ports/INDEX-6.bz2                          5% of 1119 kB   13 kBps
/usr/ports/INDEX-6.bz2                          7% of 1119 kB   14 kBps
/usr/ports/INDEX-6.bz2                          9% of 1119 kB   15 kBps
/usr/ports/INDEX-6.bz2                         11% of 1119 kB   16 kBps
/usr/ports/INDEX-6.bz2                         13% of 1119 kB   17 kBps
/usr/ports/INDEX-6.bz2                         16% of 1119 kB   18 kBps 00m50s
/usr/ports/INDEX-6.bz2                         19% of 1119 kB   20 kBps 00m44s
/usr/ports/INDEX-6.bz2                         22% of 1119 kB   21 kBps 00m41s
/usr/ports/INDEX-6.bz2                         27% of 1119 kB   24 kBps 00m34s
/usr/ports/INDEX-6.bz2                         31% of 1119 kB   25 kBps 00m31s
/usr/ports/INDEX-6.bz2                         36% of 1119 kB   27 kBps 00m26s
/usr/ports/INDEX-6.bz2                         41% of 1119 kB   29 kBps 00m22s
/usr/ports/INDEX-6.bz2                         46% of 1119 kB   30 kBps 00m19s
/usr/ports/INDEX-6.bz2                         51% of 1119 kB   31 kBps 00m16s
/usr/ports/INDEX-6.bz2                         55% of 1119 kB   32 kBps 00m15s
/usr/ports/INDEX-6.bz2                         61% of 1119 kB   34 kBps 00m12s
/usr/ports/INDEX-6.bz2                         66% of 1119 kB   36 kBps 00m10s
/usr/ports/INDEX-6.bz2                         70% of 1119 kB   36 kBps 00m09s
/usr/ports/INDEX-6.bz2                         74% of 1119 kB   36 kBps 00m07s
/usr/ports/INDEX-6.bz2                         79% of 1119 kB   37 kBps 00m06s
/usr/ports/INDEX-6.bz2                         84% of 1119 kB   38 kBps 00m04s
/usr/ports/INDEX-6.bz2                         90% of 1119 kB   38 kBps 00m02s
/usr/ports/INDEX-6.bz2                         97% of 1119 kB   40 kBps 00m00s
/usr/ports/INDEX-6.bz2                        100% of 1119 kB   40 kBps 00m00s
[niadh@Aurora /usr/ports]$ export XORG_UPGRADE=yes
[niadh@Aurora /usr/ports]$ portupgrade [1@s[1@u[1@d[1@o[1@ portupgrade -Rf libXft
cd: can't cd to /usr/ports/sysutils/portupgrade
cd: can't cd to /usr/ports/sysutils/portupgrade
[Updating the portsdb <format:bdb_btree> in /usr/ports ... - 17698 port entries found .........1000.........2000.........3000.........4000.........5000.........6000.........7000.........8000.........9000.........10000.........11000.........12000.........13000.........14000.........15000.........16000.........17000...... ..... done]
[missing key: categories] [Updating the portsdb <format:bdb_btree> in /usr/ports ... - 17698 port entries found .........1000.........2000.........3000.........4000.........5000.........6000.........7000.........8000.........9000.........10000.........11000.........12000.........13000.........14000.........15000.........16000.........17000...... ..... done]
missing key: categories: Cannot read the portsdb!
/usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:567:in `open_db': database file error (PortsDB::DBError)
	from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:736:in `port'
	from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:924:in `all_depends_list'
	from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:915:in `tsort_build'
	from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:907:in `each'
	from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:907:in `tsort_build'
	from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:929:in `sort_build'
	from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:933:in `sort_build!'
	from /usr/local/sbin/portupgrade:694:in `main'
	from /usr/local/lib/ruby/1.8/optparse.rb:755:in `initialize'
	from /usr/local/sbin/portupgrade:210:in `new'
	from /usr/local/sbin/portupgrade:210:in `main'
	from /usr/local/sbin/portupgrade:1981
[niadh@Aurora /usr/ports]$ exit
exit

Script done on Mon Oct 22 18:11:55 2007

[-- Attachment #3 --]
Script started on Mon Oct 22 18:30:57 2007
[niadh@Aurora ~]$ unae me -a
FreeBSD Aurora.home 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 11:05:30 UTC 2007     root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP  i386
[niadh@Aurora ~]$ ls -a   l /var/db/pkg
total 5250
drwxr-xr-x  2 root  wheel      512 Oct 22 15:20 bash-3.1.17
drwxr-xr-x  2 root  wheel      512 Oct 22 15:51 bitstream-vera-1.10_2
drwxr-xr-x  2 root  wheel      512 Oct 22 15:16 cvsup-16.1h_2
drwxr-xr-x  2 root  wheel      512 Oct 22 15:19 db41-4.1.25_3
drwxr-xr-x  2 root  wheel      512 Oct 22 15:02 dri-6.4.1,2
drwxr-xr-x  2 root  wheel      512 Oct 22 15:49 expat-2.0.0_1
drwxr-xr-x  2 root  wheel      512 Oct 22 15:49 fontconfig-2.3.2_6,1
drwxr-xr-x  2 root  wheel      512 Oct 22 15:49 freetype2-2.2.1_1
drwxr-xr-x  2 root  wheel      512 Oct 22 15:20 gettext-0.14.5_2
drwxr-xr-x  2 root  wheel      512 Oct 22 18:11 imake-6.9.0
drwxr-xr-x  2 root  wheel      512 Oct 22 15:17 ispell-3.2.06_15
drwxr-xr-x  2 root  wheel      512 Oct 22 15:49 libXft-2.1.7_1
drwxr-xr-x  2 root  wheel      512 Oct 22 15:49 libdrm-2.0.2
drwxr-xr-x  2 root  wheel      512 Oct 22 15:20 libiconv-1.9.2_2
drwxr-xr-x  2 root  wheel      512 Oct 22 15:52 linux_base-fc-4_9
drwxr-xr-x  2 root  wheel      512 Oct 22 15:50 perl-5.8.8
drwxr-xr-x  2 root  wheel      512 Oct 22 15:17 pico-4.64
drwxr-xr-x  2 root  wheel      512 Oct 22 15:49 pkg-config-0.21
-rw-r--r--  1 root  wheel  5269504 Oct 22 18:11 pkgdb.db
drwxr-xr-x  2 root  wheel      512 Oct 22 15:50 png-1.2.12_1
drwxr-xr-x  2 root  wheel      512 Oct 22 18:11 portupgrade-2.1.3.3_1,2
drwxr-xr-x  2 root  wheel      512 Oct 22 15:19 ruby-1.8.5_3,1
drwxr-xr-x  2 root  wheel      512 Oct 22 15:19 ruby18-bdb-0.5.9_2
drwxr-xr-x  2 root  wheel      512 Oct 22 15:15 sudo-1.6.8.12_1
drwxr-xr-x  2 root  wheel      512 Oct 22 15:02 xorg-6.9.0
drwxr-xr-x  2 root  wheel      512 Oct 22 18:11 xorg-clients-6.9.0_3
drwxr-xr-x  2 root  wheel      512 Oct 22 18:11 xorg-documents-6.9.0
drwxr-xr-x  2 root  wheel      512 Oct 22 15:02 xorg-fonts-100dpi-6.9.0_1
drwxr-xr-x  2 root  wheel      512 Oct 22 15:02 xorg-fonts-75dpi-6.9.0_1
drwxr-xr-x  2 root  wheel      512 Oct 22 15:02 xorg-fonts-cyrillic-6.9.0_1
drwxr-xr-x  2 root  wheel      512 Oct 22 18:11 xorg-fonts-encodings-6.9.0_1
drwxr-xr-x  2 root  wheel      512 Oct 22 15:02 xorg-fonts-miscbitmaps-6.9.0_1
drwxr-xr-x  2 root  wheel      512 Oct 22 15:02 xorg-fonts-truetype-6.9.0
drwxr-xr-x  2 root  wheel      512 Oct 22 15:02 xorg-fonts-type1-6.9.0
drwxr-xr-x  2 root  wheel      512 Oct 22 18:11 xorg-fontserver-6.9.0_1
drwxr-xr-x  2 root  wheel      512 Oct 22 15:49 xorg-libraries-6.9.0
drwxr-xr-x  2 root  wheel      512 Oct 22 15:02 xorg-manpages-6.9.0
drwxr-xr-x  2 root  wheel      512 Oct 22 15:02 xorg-nestserver-6.9.0_1
drwxr-xr-x  2 root  wheel      512 Oct 22 15:02 xorg-printserver-6.9.0_2
drwxr-xr-x  2 root  wheel      512 Oct 22 15:02 xorg-server-6.9.0_5
drwxr-xr-x  2 root  wheel      512 Oct 22 15:02 xorg-vfbserver-6.9.0_2
drwxr-xr-x  2 root  wheel      512 Oct 22 15:50 xterm-220
[niadh@Aurora ~]$ exit
exit

Script done on Mon Oct 22 18:32:40 2007

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?da8be25a0710221040m4c674597j96b8ae9e30195eb5>