EDIT: 06/11/09 With the apparent renaming of the CUPS packages in Karmic, you may need to do the following:
Open a terminal window and navigate to the directory your deb folders are in... perform the following operations:
Code:
dpkg-deb -x cnijfilter-common_2.80-1_i386.deb common
dpkg-deb --control cnijfilter-common_2.80-1_i386.deb
Now change into the DEBIAN/ directory...
Code:
cd DEBIAN/
gedit control
In gedit, find the following line...
Code:
Depends: libc6 (>= 2.3.4-1), libcupsys2 (>= 1.2.1), libpopt0 (>= 1.7)
and change it to...
Code:
Depends: libc6 (>= 2.3.4-1), libcups2 (>= 1.2.1), libpopt0 (>= 1.7)
Now we move the entire DEBIAN/ directory into common...
Code:
cd ..
mv DEBIAN/ common/
Now rebuild the package...
Code:
dpkg -b common cnijfilter-common_2.80-1_i386.deb
Now remove the common directory (
delete it manually or rm in the terminal if you know what you're doing...)...
Re-do the steps again but for the
cnijfilter-mp520series_2.80-1_i386.deb...
Code:
dpkg-deb -x cnijfilter-mp520series_2.80-1_i386.deb common
dpkg-deb --control cnijfilter-mp520series_2.80-1_i386.deb
Now change into the DEBIAN/ directory...
Code:
cd DEBIAN/
gedit control
In gedit, find the following lines...
Code:
Depends: libatk1.0-0 (>= 1.9.0), libc6 (>= 2.3.4-1), libcairo2 (>= 1.0.2-2), libcupsys2 (>= 1.2.1), libfontconfig1 (>= 2.3.0), libglib2.0-0 (>= 2.10.0), libgtk2.0-0 (>= 2.8.0), libpango1.0-0 (>= 1.12.3), libpng12-0 (>= 1.2.8rel), libpopt0 (>= 1.7), libtiff4, libx11-6, libxcursor1 (>> 1.1.2), libxext6, libxfixes3, libxi6, libxinerama1, libxml2 (>= 2.6.24), libxrandr2, libxrender1, cnijfilter-common (>= 2.80)
and change it to...
Code:
Depends: libatk1.0-0 (>= 1.9.0), libc6 (>= 2.3.4-1), libcairo2 (>= 1.0.2-2), libcups2 (>= 1.2.1), libfontconfig1 (>= 2.3.0), libglib2.0-0 (>= 2.10.0), libgtk2.0-0 (>= 2.8.0), libpango1.0-0 (>= 1.12.3), libpng12-0 (>= 1.2.8rel), libpopt0 (>= 1.7), libtiff4, libx11-6, libxcursor1 (>> 1.1.2), libxext6, libxfixes3, libxi6, libxinerama1, libxml2 (>= 2.6.24), libxrandr2, libxrender1, cnijfilter-common (>= 2.80)
Now we move the entire DEBIAN/ directory into common...
Code:
cd ..
mv DEBIAN/ common/
Now rebuild the package...
Code:
dpkg -b common cnijfilter-mp520series_2.80-1_i386.deb
The addition above was tested in a virtual machine and worked fine
Thanks go out to
Edgar Ilaga from this thread [
http://ubuntuforums.org/showthread.php?t=1305248 ]
We can now continue with the rest of the guide...
Bookmarks