Ok, I got those error messages because I ran the command inside the folder with the fglrx*.deb files...
So, after removing all fglrx* packages from the system I ran:
sudo ./amd-driver-installer-catalyst-12.10-x86.x86_64.run --buildpkg
sudo dpkg -i fglrx*.deb
It looks like it worked...
micha@atlas:~/catalyst$ sudo dpkg -i fglrx*.deb
Selecting previously unselected package fglrx.
(Reading database ... 177273 files and directories currently installed.)
Unpacking fglrx (from fglrx_8.982-0ubuntu1_amd64.deb) ...
Selecting previously unselected package fglrx-amdcccle.
Unpacking fglrx-amdcccle (from fglrx-amdcccle_8.982-0ubuntu1_amd64.deb) ...
Selecting previously unselected package fglrx-dev.
Unpacking fglrx-dev (from fglrx-dev_8.982-0ubuntu1_amd64.deb) ...
Setting up fglrx (2:8.982-0ubuntu1) ...
update-alternatives: using /usr/lib/fglrx/ld.so.conf to provide /etc/ld.so.conf.d/x86_64-linux-gnu_GL.conf (x86_64-linux-gnu_gl_conf) in auto mode.
update-alternatives: warning: skip creation of /etc/OpenCL/vendors/amdocl32.icd because associated file /usr/lib/fglrx/etc/OpenCL/vendors/amdocl32.icd (of link group x86_64-linux-gnu_gl_conf) doesn't exist.
update-alternatives: warning: forcing reinstallation of alternative /usr/lib/fglrx/ld.so.conf because link group x86_64-linux-gnu_gl_conf is broken.
update-alternatives: warning: skip creation of /etc/OpenCL/vendors/amdocl32.icd because associated file /usr/lib/fglrx/etc/OpenCL/vendors/amdocl32.icd (of link group x86_64-linux-gnu_gl_conf) doesn't exist.
update-alternatives: using /usr/lib/fglrx/alt_ld.so.conf to provide /etc/ld.so.conf.d/i386-linux-gnu_GL.conf (i386-linux-gnu_gl_conf) in auto mode.
update-initramfs: deferring update (trigger activated)
Loading new fglrx-8.982 DKMS files...
First Installation: checking all kernels...
Building only for 3.2.0-32-generic
Building for architecture x86_64
Building initial module for 3.2.0-32-generic
Done.
fglrx:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/3.2.0-32-generic/updates/dkms/
depmod....
DKMS: install completed.
update-initramfs: deferring update (trigger activated)
Processing triggers for ureadahead ...
Setting up fglrx-amdcccle (2:8.982-0ubuntu1) ...
Setting up fglrx-dev (2:8.982-0ubuntu1) ...
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-3.2.0-32-generic
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
But the system now doesn't boot anymore. And as I currently have no physical access to it - it will stay offline for some time.
Please don't tell other people it's safe to upgrade fglrx in the future If you get a blank screen when booting then fglrx is broken.
You will need to log into the recovery console. Then remount your filesystem as writable.
sudo mount -o remount,rw 'PATH TO YOUR FILESYSTEM'
Then remove fglrx.
sudo sh /usr/share/ati/fglrx-uninstall.sh
sudo apt-get remove --purge fglrx fglrx_* fglrx-amdcccle* fglrx-dev*
You should now get a login screen after rebooting and then you can reinstall fglrx.
Hope this help.
EDIT: Just saw that you're trying to access your box remotely. I'm not sure if fglrx can break SSH (I guess the box is freezing when fglrx try to load). If you don't get a login screen then previous post can still help.