LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 07-24-2013, 08:20 PM   #1
Habitual
Senior Member
 
Registered: Jan 2011
Distribution: Undecided
Posts: 3,149
Blog Entries: 4

Rep: Reputation: 760Reputation: 760Reputation: 760Reputation: 760Reputation: 760Reputation: 760Reputation: 760
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.
 
Old 07-24-2013, 08:36 PM   #2
flokofcgulls
Member
 
Registered: Apr 2013
Posts: 79

Rep: Reputation: Disabled
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.
 
Old 07-24-2013, 09:45 PM   #3
frankbell
Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Mageia, Mint
Posts: 7,567

Rep: Reputation: 1433Reputation: 1433Reputation: 1433Reputation: 1433Reputation: 1433Reputation: 1433Reputation: 1433Reputation: 1433Reputation: 1433Reputation: 1433
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.
 
Old 07-24-2013, 11:36 PM   #4
kabamaru
Member
 
Registered: Dec 2011
Location: Greece
Distribution: Slackware
Posts: 276

Rep: Reputation: 133Reputation: 133
Have you tried

Code:
slackpkg install calligra
slackpkg remove calligra
?
 
1 members found this post helpful.
Old 07-25-2013, 05:23 AM   #5
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 1,811

Rep: Reputation: 816Reputation: 816Reputation: 816Reputation: 816Reputation: 816Reputation: 816Reputation: 816
Quote:
Originally Posted by Habitual View Post
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 View Post
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?
 
Old 07-25-2013, 05:25 AM   #6
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 1,811

Rep: Reputation: 816Reputation: 816Reputation: 816Reputation: 816Reputation: 816Reputation: 816Reputation: 816
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.
 
Old 07-25-2013, 06:47 AM   #7
Habitual
Senior Member
 
Registered: Jan 2011
Distribution: Undecided
Posts: 3,149
Blog Entries: 4

Original Poster
Rep: Reputation: 760Reputation: 760Reputation: 760Reputation: 760Reputation: 760Reputation: 760Reputation: 760
Quote:
Originally Posted by frankbell View Post
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!
 
Old 07-25-2013, 07:03 AM   #8
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 1,811

Rep: Reputation: 816Reputation: 816Reputation: 816Reputation: 816Reputation: 816Reputation: 816Reputation: 816
after the final 'removepkg calligra' is it still present?
 
Old 07-25-2013, 07:45 AM   #9
Habitual
Senior Member
 
Registered: Jan 2011
Distribution: Undecided
Posts: 3,149
Blog Entries: 4

Original Poster
Rep: Reputation: 760Reputation: 760Reputation: 760Reputation: 760Reputation: 760Reputation: 760Reputation: 760
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.
 
Old 07-25-2013, 07:50 AM   #10
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 1,811

Rep: Reputation: 816Reputation: 816Reputation: 816Reputation: 816Reputation: 816Reputation: 816Reputation: 816
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!
 
Old 07-25-2013, 07:58 AM   #11
Habitual
Senior Member
 
Registered: Jan 2011
Distribution: Undecided
Posts: 3,149
Blog Entries: 4

Original Poster
Rep: Reputation: 760Reputation: 760Reputation: 760Reputation: 760Reputation: 760Reputation: 760Reputation: 760
Quote:
Originally Posted by ruario View Post
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!
 
Old 07-25-2013, 10:21 AM   #12
kabamaru
Member
 
Registered: Dec 2011
Location: Greece
Distribution: Slackware
Posts: 276

Rep: Reputation: 133Reputation: 133
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.
 
Old 07-25-2013, 02:54 PM   #13
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 1,811

Rep: Reputation: 816Reputation: 816Reputation: 816Reputation: 816Reputation: 816Reputation: 816Reputation: 816
Quote:
Originally Posted by Habitual View Post
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 View Post
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.
 
Old 07-25-2013, 03:24 PM   #14
Habitual
Senior Member
 
Registered: Jan 2011
Distribution: Undecided
Posts: 3,149
Blog Entries: 4

Original Poster
Rep: Reputation: 760Reputation: 760Reputation: 760Reputation: 760Reputation: 760Reputation: 760Reputation: 760
Quote:
Originally Posted by kabamaru View Post
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?
 
Old 07-25-2013, 04:28 PM   #15
kabamaru
Member
 
Registered: Dec 2011
Location: Greece
Distribution: Slackware
Posts: 276

Rep: Reputation: 133Reputation: 133
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.

Last edited by kabamaru; 07-25-2013 at 04:32 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
trying to remove/uninstall doodle steelheat Linux - Newbie 2 11-08-2008 05:19 PM
How can I remove/uninstall KPdf from Slackware 11.0? m07hm4n Linux - Software 6 04-10-2007 08:36 AM
Uninstall or Remove Folder? sall Linux - General 4 08-07-2005 11:35 AM
Cannot Remove | Uninstall Gnome mudelf Linux - Software 1 11-19-2003 08:45 AM
How do I remove/uninstall old libpcap? JasonW Linux - Networking 3 02-12-2003 07:06 AM


All times are GMT -5. The time now is 09:47 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration