-----BEGIN PGP SIGNED MESSAGE-----
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
apt-pinning:
$ 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
/home/lina/fglrx-driver-debian-package

$ 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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJN91z4AAoJEN7RcJcJCZJiTFsIAKia6ERiNMIaCjHZk0Yt5ovv
9f3r9i5vnWT2mdsCAzPqYBMz0QI+KWQ1Eaa7LaV7cpRyVJUAGnKlb7hCA9I8UUhg
uhbT/6r+/Ci55LtU99Yd+R/7MgBPb1RSwr5oYKQ/MEwdoVhk18aNFhKA3tR+8xMP
NGzj3rnaJqzss/6v7gE+j/tTH4PK3A7zOV1slONSIgsU+iF/mRcMBOgJnHcTgHM5
46e9u8ZuQtO+lg03m0iDRGBcV/C58O9AR9bovyj691um2kK1sIKD0gQEvQaO92hL
bdjDyT1jA1WfF0/xHI39YZZCfJglctJsutrkRSKkKquMLuD0aBSQzaiO0xx9KsI=
=bOFO
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4df75cfb.2010...@gmail.com

Reply via email to