LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   cannot uninstall software from slackware 14.0 (http://www.linuxquestions.org/questions/slackware-14/cannot-uninstall-software-from-slackware-14-0-a-4175438929/)

tautvilas 11-27-2012 10:27 AM

cannot uninstall software from slackware 14.0
 
Hi, I would like to uninstall thunderbird, kmail, kde blogger tool and more. These programs do not appear as packages in
Code:

pkgtool
neither I can delete them typing i.e
Code:

removepkg thunderbird
in /usr directory.
How can I do it?

Thanks

Cultist 11-27-2012 10:34 AM

thunderbird's package name is mozilla-thunderbird, so you'll have to removepkg using that. KDE's blogging tool is called Blogilo (if I recall correctly), so if you have it you might need to uninstall using that package name. The others I'm not sure about.

tautvilas 11-27-2012 10:47 AM

Quote:

Originally Posted by Cultist (Post 4838041)
thunderbird's package name is mozilla-thunderbird, so you'll have to removepkg using that. KDE's blogging tool is called Blogilo (if I recall correctly), so if you have it you might need to uninstall using that package name. The others I'm not sure about.

No, mozilla-thunderbird nor Blogilo are not the correct names to remove these programs.

Cultist 11-27-2012 10:50 AM

Quote:

Originally Posted by tautvilas (Post 4838051)
No, mozilla-thunderbird nor Blogilo are not the correct names to remove these programs.

I just did a test with mozilla-thunderbird:

Code:

root@nova01:~# removepkg mozilla-thunderbird

Removing package /var/log/packages/mozilla-thunderbird-17.0-x86_64-1_slack14.0...
Removing files:

not sure why yours wouldn't work. Did you build a custom package yourself?

tautvilas 11-27-2012 11:00 AM

No, I did not. I installed slackware 14.0 and that is where mozilla-thunderbird comes. That's weird

TommyC7 11-27-2012 11:08 AM

Packages aren't in /usr, they're in /var/log/packages. The package name in /var/log/packages/ is what you "removepkg."

tautvilas 11-27-2012 11:11 AM

Quote:

Originally Posted by TommyC7 (Post 4838066)
Packages aren't in /usr, they're in /var/log/packages. The package name in /var/log/packages/ is what you "removepkg."

I know that. That is precisely the problem. There is no package called *thunderbird* in /var/log/packages.
Btw, I said if you type removepkg in /usr, you can remove a package the same way as you do it from pkgtool.

Didier Spaier 11-27-2012 11:29 AM

If a Slackware package is installed with a Slackware tool it should show in /var/log/packages.

So, are you sure that thunderbird is (still) installed?.

To check, type as a regular user (not as root):
Code:

whereis thunderbird
And:
Code:

ls -l /usr/bin/thunderbird
Please post the output of both commands.

PS Or maybe you inadvertently removed (part of) /var/log/packages? This the only other possibility I can think of, right now.

PS2 If you made a full Slackware 14 installation (but the KDEI series) following command should return a little less than 1070:
Code:

ls -1 /var/log/packages | wc -l

tautvilas 11-27-2012 12:56 PM

Quote:

Originally Posted by Didier Spaier (Post 4838089)
If a Slackware package is installed with a Slackware tool it should show in /var/log/packages.

So, are you sure that thunderbird is (still) installed?.

To check, type as a regular user (not as root):
Code:

whereis thunderbird
And:
Code:

ls -l /usr/bin/thunderbird
Please post the output of both commands.

PS Or maybe you inadvertently removed (part of) /var/log/packages? This the only other possibility I can think of, right now.

PS2 If you made a full Slackware 14 installation (but the KDEI series) following command should return a little less than 1070:
Code:

ls -1 /var/log/packages | wc -l

Code:

whereis thunderbird
returns
Code:

thunderbird: /usr/bin/thunderbird /usr/X11R6/bin/thunderbird /usr/bin/X11/thunderbird /usr/X11/bin/thunderbird
Code:

ls -l /usr/bin/thunderbird
returns
Code:

lrwxrwxrwx 1 root root 41 Nov 25 23:19 /usr/bin/thunderbird -> /usr/lib64/thunderbird-15.0.1/thunderbird
Thunderbird is not partially removed etc.

Didier Spaier 11-27-2012 01:20 PM

Then what is the output of
Code:

wc -1 /var/log/packages | wc -l
Anyhow, if there is no /var/log/packages/thunderbird* in /var/log/packages, either something went wrong during installation or that file was removed.

In that case the database /var/log/packages should be rebuilt, otherwise Slackware tools for packages management won't work.

tautvilas 11-27-2012 01:30 PM

It returns 1130. I removed packages I dont use using removepkg and installed multilib packages to be able to use skype and virtual-box.

Didier Spaier 11-27-2012 01:45 PM

Then only a few packages are in concern. Good. Try this for these:
Code:

upgradepkg --install-new --reinstall <package>
removekg <package>

After that the package should be successfully removed.


All times are GMT -5. The time now is 07:03 AM.