LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Remove/uninstall Calligra* in slackware14 x86_64 (https://www.linuxquestions.org/questions/slackware-14/remove-uninstall-calligra%2A-in-slackware14-x86_64-a-4175470819/)

Habitual 07-24-2013 08:20 PM

Remove/uninstall Calligra* in slackware14 x86_64
 
I can't get rid of it.

Code:

slackpkg search Calligra
and
Code:

ls -1 /var/log/packages/ | grep -Ei "CalliGRA|kde"
kde-baseapps-4.8.5-x86_64-1
kde-runtime-4.8.5-x86_64-1
kde-wallpapers-4.8.5-noarch-1
kde-workspace-4.8.5-x86_64-1
kdeadmin-4.8.5-x86_64-1
kdeartwork-4.8.5-x86_64-1
kdegames-4.8.5-x86_64-1
kdegraphics-mobipocket-4.8.5-x86_64-1
kdegraphics-strigi-analyzer-4.8.5-x86_64-1
kdegraphics-thumbnailers-4.8.5-x86_64-1
kdelibs-4.8.5-x86_64-1
kdemultimedia-4.8.5-x86_64-1
kdenetwork-4.8.5-x86_64-1
kdepim-4.8.5-x86_64-1
kdepim-runtime-4.8.5-x86_64-1
kdepimlibs-4.8.5-x86_64-1
kdeplasma-addons-4.8.5-x86_64-1
kdesdk-4.8.5-x86_64-1
kdetoys-4.8.5-x86_64-1
kdevelop-4.3.1-x86_64-1
kdevelop-pg-qt-1.0.0-x86_64-1
kdevplatform-1.3.1-x86_64-1
kdewebdev-4.8.5-x86_64-1
libkdeedu-4.8.5-x86_64-1
perlkde-4.8.5-x86_64-1
polkit-kde-agent-1-9d74ae3_20120104git-x86_64-1
polkit-kde-kcmodules-1-001bdf7_20120111git-x86_64-1
pykde4-4.8.5-x86_64-1
smokekde-4.8.5-x86_64-1
wicd-kde-0.3.0_bcf27d8-x86_64-1

Yet, it sits there in Office taunting me.

I checked /etc/xfce/xdg/menus/xfce-applications.menu and that just has an entry for
/usr/share/desktop-directories/xfce-office.directory

I poked around there and nothing conclusive, finally I ran
Code:

/usr/bin/calligrasheets -v   
Qt: 4.8.2
KDE Development Platform: 4.8.5 (4.8.5)
Calligra Sheets: 2.4.3

How can I nuke Calligra to orbit?

Thanks.

flokofcgulls 07-24-2013 08:36 PM

It might be a case issue, try this:
Code:

slackpkg search calligra
I just checked on my system, and I get the results expected with a lowercase 'c' at the beginning of the word Calligra.

From that point, you should be able to use removepkg to uninstall the ones you don't want.

frankbell 07-24-2013 09:45 PM

I don't want to sound like a smart-aleck, but why do you want to uninstall it? Updates will keep wanting to put it back.

Maybe I'm lazy, but I wouldn't think it was worth the effort.

kabamaru 07-24-2013 11:36 PM

Have you tried

Code:

slackpkg install calligra
slackpkg remove calligra

?

ruario 07-25-2013 05:23 AM

Quote:

Originally Posted by Habitual (Post 4996267)
I poked around there and nothing conclusive, finally I ran
Code:

/usr/bin/calligrasheets -v   
Qt: 4.8.2
KDE Development Platform: 4.8.5 (4.8.5)
Calligra Sheets: 2.4.3


Try:

Code:

grep -F usr/bin/calligrasheets /var/log/packages/*
On my system this returns: /var/log/packages/calligra-2.4.3-x86_64-4:usr/bin/calligrasheets. Does yours print the same?

Quote:

Originally Posted by Habitual (Post 4996267)
How can I nuke Calligra to orbit?

Assuming you get the same response as me:

Code:

# removepkg calligra
If it returns some other package name then you can remove that package instead (check first the package contains nothing else you might need). If no result is returned then Calligra would appear to exist outside of the Slackware packaging system. Which poses the question, how did it get their? Have you been compiling your own KDE?

ruario 07-25-2013 05:25 AM

Also +1 to kabamaru's suggestion. This would reinstall Calligra and then wipe it, even if it was previously installed outside of the packaging system.

Habitual 07-25-2013 06:47 AM

Quote:

Originally Posted by frankbell (Post 4996309)
I don't want to sound like a smart-aleck, but why do you want to uninstall it? Updates will keep wanting to put it back.

I can blacklist it. :)

frankbell: I never think your the smart-aleck-y type. "Why" is a perfectly valid question IMO. :)
and I can blacklist it. I don't use it so I want to lose it (LibreOffice here).

Maybe I can 'hide' it from the menu...

Code:

slackpkg search calligra
grep -F usr/bin/calligrasheets /var/log/packages/*
slackpkg install calligra
slackpkg remove calligra
slackpkg install calligra
slackpkg install Calligra
removepkg calligra

(This is what I meant by 'poked around' btw...)

All negative.

Thanks to everyone!

ruario 07-25-2013 07:03 AM

after the final 'removepkg calligra' is it still present?

Habitual 07-25-2013 07:45 AM

Gone like last year's lawn
 
Here's how I removed calligra
I thought I read here (somewhere) about this being included with kde...so I checked my /etc/slackpkg/mirrors files and saw
ftp://ftp.cc.swin.edu.au/slackware/slackware64-14.0/ is what I chose, so I navigated there with my browser and checked FILE_LIST.TXT. Verified 2 files present:
Code:

-rw-r--r--  1 root root      562 2012-08-07 20:07 ./kde/calligra-2.4.3-x86_64-4.txt
-rw-r--r--  1 root root  48702512 2012-08-07 20:07 ./kde/calligra-2.4.3-x86_64-4.txz


wget ftp://ftp.cc.swin.edu.au/slackware/slackware64-14.0/slackware64/kde/calligra-2.4.3-x86_64-4.txz
installpkg calligra-2.4.3-x86_64-4.txz
removepkg calligra

Done.

Slackware is the Bomb!

Thanks everyone who pitched in with their suggestions.
Now we know.

ruario 07-25-2013 07:50 AM

FWIW, that is pretty much exactly what kabamaru said. He suggested using slackpkg but the effect is the same as slackpkg just downloads calligra and calls installpkg to install it, then when you uninstall via slackpkg it calls removepkg.

Anyway, whatever you got there in the end. That is the main thing! :)

Habitual 07-25-2013 07:58 AM

Quote:

Originally Posted by ruario (Post 4996519)
FWIW, that is pretty much exactly what kabamaru said. He suggested using slackpkg but the effect is the same as slackpkg just downloads calligra and calls installpkg to install it, then when you uninstall via slackpkg it calls removepkg.

Anyway, whatever you got there in the end. That is the main thing! :)

but slackpkg doesn't 'find' it... can't install (in the 'usual' manner) what it doesn't find.
Code:

slackpkg search calligra
slackpkg search calligra-2.4.3
= No package name matches the pattern.

Nice to know that portions of a Meta-Package can now be removed. :)

as long as the end result is the same, I'm cool with that. :)

Thanks!

kabamaru 07-25-2013 10:21 AM

Your slackpkg search calligra output doesn't look good though. I would do a

Code:

grep calligra /var/lib/slackpkg/pkglist
and maybe trying switching to a different mirror, adding the gpg, running update etc. Maybe your slackpkg update produces gpg errors and you're missing other packages too.

I'd also try
Code:

wc -l /var/lib/slackpkg/pkglist
which returns 1283 on my machine.

ruario 07-25-2013 02:54 PM

Quote:

Originally Posted by Habitual (Post 4996523)
but slackpkg doesn't 'find' it... can't install (in the 'usual' manner) what it doesn't find.

Then you probably have blacklisted calligra, the whole kde group or have a blacklist entry that matches in some other way. This will prevent slackpkg from finding it, even for removal.

Quote:

Originally Posted by Habitual (Post 4996523)
Nice to know that portions of a Meta-Package can now be removed. :)

calligra is a complete package in its own right, not a portion of any other package.

Habitual 07-25-2013 03:24 PM

Quote:

Originally Posted by kabamaru (Post 4996588)
Code:

wc -l /var/lib/slackpkg/pkglist
which returns 1283 on my machine.

same here.

and
Code:

grep calligra /var/lib/slackpkg/pkglist
shows
Code:

slackware64 calligra 2.4.3 x86_64 4 calligra-2.4.3-x86_64-4 ./slackware64/kde txz
slackware64 calligra-l10n-ca 2.4.3 noarch 1 calligra-l10n-ca-2.4.3-noarch-1 ./slackware64/kdei txz
slackware64 calligra-l10n-ca@valencia 2.4.3 noarch 1 calligra-l10n-ca@valencia-2.4.3-noarch-1 ./slackware64/kdei txz
slackware64 calligra-l10n-cs 2.4.3 noarch 1 calligra-l10n-cs-2.4.3-noarch-1 ./slackware64/kdei txz
slackware64 calligra-l10n-da 2.4.3 noarch 1 calligra-l10n-da-2.4.3-noarch-1 ./slackware64/kdei txz
slackware64 calligra-l10n-de 2.4.3 noarch 1 calligra-l10n-de-2.4.3-noarch-1 ./slackware64/kdei txz
slackware64 calligra-l10n-el 2.4.3 noarch 1 calligra-l10n-el-2.4.3-noarch-1 ./slackware64/kdei txz
slackware64 calligra-l10n-en_GB 2.4.3 noarch 1 calligra-l10n-en_GB-2.4.3-noarch-1 ./slackware64/kdei txz
slackware64 calligra-l10n-es 2.4.3 noarch 1 calligra-l10n-es-2.4.3-noarch-1 ./slackware64/kdei txz
slackware64 calligra-l10n-et 2.4.3 noarch 1 calligra-l10n-et-2.4.3-noarch-1 ./slackware64/kdei txz
slackware64 calligra-l10n-fi 2.4.3 noarch 1 calligra-l10n-fi-2.4.3-noarch-1 ./slackware64/kdei txz
slackware64 calligra-l10n-fr 2.4.3 noarch 1 calligra-l10n-fr-2.4.3-noarch-1 ./slackware64/kdei txz
slackware64 calligra-l10n-hu 2.4.3 noarch 1 calligra-l10n-hu-2.4.3-noarch-1 ./slackware64/kdei txz
slackware64 calligra-l10n-it 2.4.3 noarch 1 calligra-l10n-it-2.4.3-noarch-1 ./slackware64/kdei txz
slackware64 calligra-l10n-kk 2.4.3 noarch 1 calligra-l10n-kk-2.4.3-noarch-1 ./slackware64/kdei txz
slackware64 calligra-l10n-nb 2.4.3 noarch 1 calligra-l10n-nb-2.4.3-noarch-1 ./slackware64/kdei txz
slackware64 calligra-l10n-nds 2.4.3 noarch 1 calligra-l10n-nds-2.4.3-noarch-1 ./slackware64/kdei txz
slackware64 calligra-l10n-nl 2.4.3 noarch 1 calligra-l10n-nl-2.4.3-noarch-1 ./slackware64/kdei txz
slackware64 calligra-l10n-pl 2.4.3 noarch 1 calligra-l10n-pl-2.4.3-noarch-1 ./slackware64/kdei txz
slackware64 calligra-l10n-pt 2.4.3 noarch 1 calligra-l10n-pt-2.4.3-noarch-1 ./slackware64/kdei txz
slackware64 calligra-l10n-pt_BR 2.4.3 noarch 1 calligra-l10n-pt_BR-2.4.3-noarch-1 ./slackware64/kdei txz
slackware64 calligra-l10n-ru 2.4.3 noarch 1 calligra-l10n-ru-2.4.3-noarch-1 ./slackware64/kdei txz
slackware64 calligra-l10n-sk 2.4.3 noarch 1 calligra-l10n-sk-2.4.3-noarch-1 ./slackware64/kdei txz
slackware64 calligra-l10n-sv 2.4.3 noarch 1 calligra-l10n-sv-2.4.3-noarch-1 ./slackware64/kdei txz
slackware64 calligra-l10n-uk 2.4.3 noarch 1 calligra-l10n-uk-2.4.3-noarch-1 ./slackware64/kdei txz
slackware64 calligra-l10n-zh_CN 2.4.3 noarch 1 calligra-l10n-zh_CN-2.4.3-noarch-1 ./slackware64/kdei txz
slackware64 calligra-l10n-zh_TW 2.4.3 noarch 1 calligra-l10n-zh_TW-2.4.3-noarch-1 ./slackware64/kdei txz

Are you suggesting something deeper may be at issue here?

kabamaru 07-25-2013 04:28 PM

Well, at least we could test if there are other packages that slackpkg cannot find. Run this as root; it will report only the packages that couldn't be found. Normally it will only list the ones you have blacklisted (official packages):

Code:

cat /var/lib/slackpkg/pkglist | cut -d' ' -f6 | sed 's/+/[+]/g' | while read line; do if slackpkg search $line | grep 'No package name matches the pattern' &>/dev/null; then echo $line; fi; done
example output:
Code:

xf86-video-nouveau-blacklist-noarch-1
aaa_elflibs-14.0-x86_64-4
xf86-video-nouveau-git_20120323_efd7a52-x86_64-1
xf86-video-nouveau-1.0.2-x86_64-1

PS. Do note this might take a couple of minutes.

frankbell 07-25-2013 06:40 PM

I made my comment because I tried removing akonadi once, because nothing that it indexes matters to me. The updates kept trying to put it back.

I finally decided to just pretend that it doesn't exist, since I don't use the KDE desktop nor any of the applications the akonadi indexes for (though I use a lot of KDE applications). (Akonadi and the constant nagging from kwallet are the reaons I don't use Kmail, though it's a perfectly adequate mail client.)

Habitual 07-26-2013 07:19 AM

Quote:

Originally Posted by kabamaru (Post 4996772)
...Run this as root; it will report only the packages that couldn't be found. Normally it will only list the ones you have blacklisted (official packages):

Code:

cat /var/lib/slackpkg/pkglist | cut -d' ' -f6 | sed 's/+/[+]/g' | while read line; do if slackpkg search $line | grep 'No package name matches the pattern' &>/dev/null; then echo $line; fi; done

output is:
Code:

mozilla-firefox-17.0.7esr-x86_64-1_slack14.0
mozilla-thunderbird-17.0.7-x86_64-1_slack14.0
aaa_elflibs-14.0-x86_64-4
calligra-2.4.3-x86_64-4
calligra-l10n-ca-2.4.3-noarch-1
calligra-l10n-ca@valencia-2.4.3-noarch-1
calligra-l10n-cs-2.4.3-noarch-1
calligra-l10n-da-2.4.3-noarch-1
calligra-l10n-de-2.4.3-noarch-1
calligra-l10n-el-2.4.3-noarch-1
calligra-l10n-en_GB-2.4.3-noarch-1
calligra-l10n-es-2.4.3-noarch-1
calligra-l10n-et-2.4.3-noarch-1
calligra-l10n-fi-2.4.3-noarch-1
calligra-l10n-fr-2.4.3-noarch-1
calligra-l10n-hu-2.4.3-noarch-1
calligra-l10n-it-2.4.3-noarch-1
calligra-l10n-kk-2.4.3-noarch-1
calligra-l10n-nb-2.4.3-noarch-1
calligra-l10n-nds-2.4.3-noarch-1
calligra-l10n-nl-2.4.3-noarch-1
calligra-l10n-pl-2.4.3-noarch-1
calligra-l10n-pt-2.4.3-noarch-1
calligra-l10n-pt_BR-2.4.3-noarch-1
calligra-l10n-ru-2.4.3-noarch-1
calligra-l10n-sk-2.4.3-noarch-1
calligra-l10n-sv-2.4.3-noarch-1
calligra-l10n-uk-2.4.3-noarch-1
calligra-l10n-zh_CN-2.4.3-noarch-1
calligra-l10n-zh_TW-2.4.3-noarch-1
mozilla-firefox-15.0.1-x86_64-1
mozilla-thunderbird-15.0.1-x86_64-1

blacklist contents:
Code:

aaa_elflibs
calligra
mozilla-thunderbird
mozilla-firefox


[0-9]+_SBo
[0-9]+alien

Thanks!

Habitual 07-26-2013 07:28 AM

Quote:

Originally Posted by kabamaru (Post 4996588)
...maybe trying switching to a different mirror

Perhaps I could.

Quote:

Originally Posted by frankbell (Post 4996828)
I made my comment because I tried removing akonadi once, because nothing that it indexes matters to me. The updates kept trying to put it back.

I finally decided to just pretend that it doesn't exist, since I don't use the KDE desktop nor any of the applications the akonadi indexes for (though I use a lot of KDE applications). (Akonadi and the constant nagging from kwallet are the reaons I don't use Kmail, though it's a perfectly adequate mail client.)

Your reasons are probably similar to mine. I use very few KDE programs, Mahjongg for the Wifey is about it.

It's all Good!

Thanks to both of you.

ruario 07-26-2013 08:46 AM

Quote:

Originally Posted by Habitual (Post 4997164)
blacklist contents:
Code:

aaa_elflibs
calligra
mozilla-thunderbird
mozilla-firefox


[0-9]+_SBo
[0-9]+alien


If calligra was blacklisted before you tried to run the slackpkg commands to install and remove it, then that is why it failed.

kabamaru 07-26-2013 09:02 AM

Quote:

Originally Posted by Habitual (Post 4997172)
Perhaps I could.

No point to change the mirror. As ruario said, this was all due to the fact you had calligra blacklisted, so slackpkg was ignoring it. Btw if you don't use slackpkg install-new, I don't see the point having it blacklisted. Anyway, I'm glad you got this sorted out ;-)


All times are GMT -5. The time now is 04:26 PM.