[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ATI driver

Hash: SHA1

Haha, you almost got it.

The short version:

apt-get -t unstable source fglrx-driver

But you need the deb-src line in your sources.list. See my previous
message. Also please forget about dch for now, we need to do something
else first. My mistake!

We are going to do this in parallel, ok? First I do a step, then I write
a message and you do it. That way you'll learn the process, and we'll
make sure there are no mistakes in my instructions.

The long version:
- -----------------

a) First we tell apt about sid:
$ sudo vim /etc/apt/sources.list
deb http://ftp.it.debian.org/debian/ sid main contrib non-free
deb-src http://ftp.it.debian.org/debian/ sid main contrib non-free
[ESC]:wq (This tells vim to save and exit)

b) Next we run apt-get update:
$ sudo apt-get update

c) Now we forbid normal installation from sid, using a mechanism called
$ sudo vim /etc/apt/preferences.d/90-sid.pref
Explanation: Forbid sid.
Package: *
Pin: release n=sid
Pin-Priority: -1
[ESC]:wq ( = save and exit )

d) Now we install the sources from sid.
$ cd && \
  mkdir fglrx-driver-debian-package && \
  cd fglrx-driver-debian-package

$ pwd

$ apt-get -t unstable source fglrx-driver
[... long wait ...]
dpkg-source: info: extracting fglrx-driver in fglrx-driver-11-4
dpkg-source: info: unpacking fglrx-driver_11-4.orig.tar.bz2
dpkg-source: info: unpacking fglrx-driver_11-4-2.debian.tar.gz
dpkg-source: info: applying 01-CONFIG_X86_XEN.diff
dpkg-source: info: applying 02-dkms-arch_compat.diff
dpkg-source: info: applying 03-authatieventsd.sh.diff
dpkg-source: info: applying 05-fix-global-kernel-lock.diff
dpkg-source: info: applying 06-no-smp-lock.diff
dpkg-source: info: applying 07-2.6.39-support.diff

$ ls
fglrx-driver-11-4                  fglrx-driver_11-4-2.dsc
fglrx-driver_11-4-2.debian.tar.gz  fglrx-driver_11-4.orig.tar.bz2

$ ls fglrx-driver-11-4/debian/
acpi                                fglrx-driver.postinst
amdcccle.1                          fglrx-driver.postrm
amdcccle.desktop                    fglrx-driver.preinst
amdcccle.xpm                        fglrx-driver.templates
changelog                           fglrx-glx-ia32.install
compat                              fglrx-glx-ia32.lintian-overrides
configuration                       fglrx-glx-ia32.postinst
control                             fglrx-glx-ia32.postrm
copyright                           fglrx-glx-ia32.preinst
dkms                                fglrx-glx.install
fglrx-atieventsd.default            fglrx-glx.lintian-overrides
fglrx-atieventsd.docs               fglrx-glx.postinst
fglrx-atieventsd.init               fglrx-glx.postrm
fglrx-atieventsd.install            fglrx-glx.preinst
fglrx-atieventsd.lintian-overrides  fglrx-modules-dkms.install
fglrx-atieventsd.manpages           fglrx-modules-dkms.lintian-overrides
fglrx-atieventsd.preinst            fglrx-modules-dkms.postinst
fglrx-atieventsd.README.selinux     fglrx-modules-dkms.prerm
fglrx-control.install               man
fglrx-control.lintian-overrides     NEWS
fglrx-control.manpages              patches
fglrx-control.menu                  po
fglrx-driver.config                 README.Debian
fglrx-driver.default                README.hacking
fglrx-driver.doc-base               reportbug
fglrx-driver.docs                   rules
fglrx-driver.install                shlibs.local
fglrx-driver.links                  source
fglrx-driver.lintian-overrides      source.lintian-overrides
fglrx-driver.manpages               watch

- -----------------

That's it!!! Now we are ready for the next step.

- -- 
Best regards,
    Panayiotis Karabassis
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/


Reply to: