Re: removing a package from apt-get?
* j2 <email@example.com> [030701 09:48]:
> Ok, i tried to install a .deb with dpkg -i filename.deb and ran into a problem that i was lacking flex. So i did "apt-get install flex" and then i get
> cookiemonster:/root/Download/SMS/gnokii-0.5.2# apt-get install flex
> Reading Package Lists... Done
> Building Dependency Tree... Done
> You might want to run `apt-get -f install' to correct these:
> Sorry, but the following packages have unmet dependencies:
> gnokii-smsd: Depends: libc6 (>= 2.3.1-1) but 2.2.5-11.5 is to be installed
> Depends: gnokii (= 0.5.0-1) but 0.3.5-1 is to be installed
> gnokii-smsd-mysql: Depends: libc6 (>= 2.3.1-1) but 2.2.5-11.5 is to be installed
> E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
> Now, how can i tell apt-get that i no longer wish to install those packages ( i will build them from source instead), but how to remove the gnokii-components from the list of files to be installed?
have you tried the following?
apt-get remove --purge flex gnokii-smsd gnokii-smsd-mysql
dpkg purge flex gnokii-smsd gnokii-smsd-mysql
Linux twofish 2.4.21-looxt93c #1 Thu Jun 26 15:38:09 JST 2003