Code:
[B]cd[/B] to [I]/path[/I] [B]dpkg --force-all -i[/B] [I]package_name[/I].[B]deb[/B]
cd [I]to path[/I] mkdir tmp dpkg-deb -x [I]packagename[/I].deb tmp/ dpkg-deb -e [I]packagename[/I].deb tmp/DEBIAN nano tmp/DEBIAN/control
Package: libkdepim4 Source: kdepim [B]Version: 4:4.9.0-0ubuntu2~precise1~ppa2[/B]
Package: libkdepim4 Source: kdepim [B]Version: 4:4.9.0-0ubuntu2~precise1~ppa[/B]1
dpkg -b tmp/ libkdepim4.deb
[B]Depends[/B]: kdepim-runtime, kdepimlibs-kio-plugins, libakonadi-contact4 (>= 4:4.9.0), libakonadi-kde4 (>= 4:4.9.0), libakonadi-kmime4 (>= 4:4.9.0), libc6 (>= 2.14), libgcc1 (>= 1:4.1.1), libgpgme++2 (>= 4:4.9.0), libkabc4 (>= 4:4.9.0), libkdecore5 (>= 4:4.9.0a), libkdepim4 (= 4:4.9.0-0ubuntu2~precise1~ppa2), libkdeui5 (>= 4:4.9.0a), libkio5 (>= 4:4.9.0a), libkleo4 (= 4:4.9.0-0ubuntu2~precise1~ppa2), libkmime4 (>= 4:4.9.0), libkpimidentities4 (>= 4:4.9.0), libkpimtextedit4 (>= 4:4.9.0), libkpimutils4 (>= 4:4.9.0), libmailtransport4 (>= 4:4.9.0), libmessagecore4 (= 4:4.9.0-0ubuntu2~precise1~ppa2), libmessageviewer4 (= 4:4.9.0-0ubuntu2~precise1~ppa2), libqt4-network (>= 4:4.5.3), libqtcore4 (>= 4:4.7.0~beta1), libqtgui4 (>= 4:4.6.1), libstdc++6 (>= 4.1.1), libtemplateparser4 (= 4:4.9.0-0ubuntu2~precise1~ppa2)
Depends: kdepim-runtime
dpkg -P --force-all libmessagecomposer4 dpkg --clear-avail
apt-cache policy libmessagecomposer4
dpkg -P --force-all libmessagecomposer4 dpkg --clear-avail
cd [I]to path[/I] mkdir tmp dpkg-deb -x [I]packagename[/I].deb tmp/ dpkg-deb -e [I]packagename[/I].deb tmp/DEBIAN nano tmp/DEBIAN/control
Package: libkdepim4 Source: kdepim [B]Version: 4:4.9.0-0ubuntu2~precise1~ppa2[/B]
Package: libkdepim4 Source: kdepim [B]Version: 4:4.9.0-0ubuntu2~precise1~ppa[/B]1
[B]Depends[/B]: kdepim-runtime, kdepimlibs-kio-plugins, libakonadi-contact4 (>= 4:4.9.0), libakonadi-kde4 (>= 4:4.9.0), libakonadi-kmime4 (>= 4:4.9.0), libc6 (>= 2.14), libgcc1 (>= 1:4.1.1), libgpgme++2 (>= 4:4.9.0), libkabc4 (>= 4:4.9.0), libkdecore5 (>= 4:4.9.0a), libkdepim4 (= 4:4.9.0-0ubuntu2~precise1~ppa2), libkdeui5 (>= 4:4.9.0a), libkio5 (>= 4:4.9.0a), libkleo4 (= 4:4.9.0-0ubuntu2~precise1~ppa2), libkmime4 (>= 4:4.9.0), libkpimidentities4 (>= 4:4.9.0), libkpimtextedit4 (>= 4:4.9.0), libkpimutils4 (>= 4:4.9.0), libmailtransport4 (>= 4:4.9.0), libmessagecore4 (= 4:4.9.0-0ubuntu2~precise1~ppa2), libmessageviewer4 (= 4:4.9.0-0ubuntu2~precise1~ppa2), libqt4-network (>= 4:4.5.3), libqtcore4 (>= 4:4.7.0~beta1), libqtgui4 (>= 4:4.6.1), libstdc++6 (>= 4.1.1), libtemplateparser4 (= 4:4.9.0-0ubuntu2~precise1~ppa2)
Depends: kdepim-runtime
dpkg -b tmp/ libmessagecomposer4.deb
Comment