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

Re: xorg upgrade error



Tim wrote:
> Andrew Nelson wrote:
> 
> 
>> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=365282
>>
>> I was able to fix this problem by getting the deb source, applying the
>> patch and building the deb and finally installing the newly build deb.
>>
>> //andy
>>
> I've downloaded the source and applied the patch, but I have no idea how to
> make a deb from this patched source. 
> How do I make a package from this source tree? 
> 

http://www.debian.org/doc/manuals/apt-howto/ch-sourcehandling.en.html


Here's what I did --

compdeandy% cd /usr/src/apt
compdeandy% mkdir xorg-cruft
compdeandy% cd xorg-cruft
compdeandy% ls
compdeandy% apt-get source xserver-xorg
Reading package lists... Done
Building dependency tree... Done
Need to get 740kB of source archives.
Get:1 http://ftp.us.debian.org unstable/main xorg 1:7.0.15 (dsc) [907B]
Get:2 http://ftp.us.debian.org unstable/main xorg 1:7.0.15 (tar) [739kB]
Fetched 740kB in 9s (82.0kB/s)
gpg: Signature made Thu Apr 27 23:30:17 2006 CDT using DSA key ID D63469DF
gpg: Can't check signature: public key not found
dpkg-source: extracting xorg in xorg-7.0.15
dpkg-source: unpacking xorg_7.0.15.tar.gz
compdeandy% wget
'http://bugs.debian.org/cgi-bin/bugreport.cgi/xserver-xorg-1%253A7.0.15-preinst-fix-swb.patch?bug=365282;msg=10;att=1'
-O xserver-xorg-1:7.0.15-preinst-fix-swb.patch
--09:19:19--
http://bugs.debian.org/cgi-bin/bugreport.cgi/xserver-xorg-1%253A7.0.15-preinst-fix-swb.patch?bug=365282;msg=10;att=1
           => `xserver-xorg-1:7.0.15-preinst-fix-swb.patch'
Resolving bugs.debian.org... 140.211.166.43
Connecting to bugs.debian.org|140.211.166.43|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/x-patch]

    [ <=>                                 ] 795           --.--K/s

09:19:21 (94.25 KB/s) - `xserver-xorg-1:7.0.15-preinst-fix-swb.patch' saved [795]

compdeandy% cd xorg-7.0.15/debian
compdeandy% patch -p0 < ../../xserver-xorg-1:7.0.15-preinst-fix-swb.patch
patching file xserver-xorg.config.in
compdeandy% cd ..
compdeandy% dpkg-buildpackage -rfakeroot -uc -b
dpkg-buildpackage: source package is xorg
dpkg-buildpackage: source version is 1:7.0.15
dpkg-buildpackage: source changed by David Nusinow <dnusinow@debian.org>
dpkg-buildpackage: host architecture i386
.
.
.
compdeandy% cd ..
compdeandy% ls
libglu1-xorg-dev_7.0.15_all.deb
libglu1-xorg_7.0.15_all.deb
x-window-system-core_7.0.15_all.deb
x-window-system_7.0.15_all.deb
x11-common_7.0.15_i386.deb
xlibmesa-dri_7.0.15_all.deb
xlibmesa-gl-dev_7.0.15_all.deb
xlibmesa-gl_7.0.15_all.deb
xlibs-data_7.0.15_all.deb
xlibs-static-dev_7.0.15_all.deb
xorg-7.0.15
xorg-dev_7.0.15_all.deb
xorg_7.0.15.dsc
xorg_7.0.15.tar.gz
xorg_7.0.15_all.deb
xorg_7.0.15_i386.changes
xserver-xfree86_7.0.15_all.deb
xserver-xorg-1:7.0.15-preinst-fix-swb.patch
xserver-xorg-input-all_7.0.15_i386.deb
xserver-xorg-video-all_7.0.15_i386.deb
xserver-xorg_7.0.15_all.deb
compdeandy%



I don't remember what debs I installed but you definately need
"xserver-xorg_7.0.15_all.deb".

Hope this helps

//andy





//andy





Reply to: