_________________i don't have hard drives. i just keep 30 chinese teenagers in my basement and force them to memorize numbers (bash.org)

start2usefrsidux

Post subject: Re: RE: remove iceweasel Posted: 21.09.2010, 00:06

Joined: 2010-09-12
Posts: 26

Status: Offline

BelaLugosi wrote:

But at first, please tell us how did you try to remove iceweasel? And "who" is it, who asked you to replace iceweasel with iceape?

I just wanna remove iceweasel, that's all.
And the damn terminal, that's who, insisted that another browser would be installed despite I already had rekonq.

So I installed chromium and successfully removed iceweasel. And then terminal asked me to install iceweasel in order to remove chromium

Code:

apt-get purge chromium-browser
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
iceweasel libmozjs2d libstartup-notification0 libxcb-event1 xulrunner-1.9.1
Suggested packages:
ttf-lyx latex-xft-fonts xfonts-mathml ttf-mathematica4.1 xprint mozplugger libcanberra0
The following packages will be REMOVED:
chromium-browser*
The following NEW packages will be installed:
iceweasel libmozjs2d libstartup-notification0 libxcb-event1 xulrunner-1.9.1
0 upgraded, 5 newly installed, 1 to remove and 33 not upgraded.
Need to get 29.7kB/8,842kB of archives.
After this operation, 8,012kB disk space will be freed.
Do you want to continue [Y/n]? n
Abort.

Follow ur helps:

Code:

dpkg-reconfigure www-browser
Package `www-browser' is not installed and no info is available.
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
/usr/sbin/dpkg-reconfigure: www-browser is not installed

Code:

dpkg-reconfigure x-www-browser
Package `x-www-browser' is not installed and no info is available.
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
/usr/sbin/dpkg-reconfigure: x-www-browser is not installed

Code:

update-alternatives --config x-www-browser
There are 2 choices for the alternative x-www-browser (providing /usr/bin/x-www-browser).

Press enter to keep the current choice[*], or type selection number: 2
update-alternatives: using /usr/bin/rekonq to provide /usr/bin/x-www-browser (x-www-browser) in manual mode.

But I'm still unable to remove chromium.
More help please.

DonKult

Post subject: RE: Re: RE: remove iceweasel Posted: 21.09.2010, 01:44

Team Member

Joined: 2010-09-02
Posts: 485

Status: Offline

First, what you experience here is that apt-get wants to help you rather then annoy the hell out of you:
You request to remove a browser and a package you have installed needs a browser, so what APT does is installing another browser to satisfy the need the package has so you can keep the package installed.

Why doesn't APT notice that rekonq is a browser you might ask. Thats easy: The package which wants a browser to be installed does request a browser in the wrong way. rekonq says that it is a www-browser (Provides line in the apt-cache show output) and the other browsers like iceweasel, chromium and such are doing this too. The later two also say that they are gnome-www-browsers. Thats done so that an other package like gnome-desktop-environment can depend on a browser which fits well into the gnome desktop - rekonq will not do this obviously and is therefore not a gnome-www-browser. So you either has a package installed which wants a gnome-www-browser or more likely which has a wrong dependency setup in a way that it depends on iceweasel or chromium or whatever instead of depending on www-browser.