LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-20-2019, 10:21 AM   #1
OlgaM
Member
 
Registered: Mar 2019
Distribution: Debian Bullseye
Posts: 65

Rep: Reputation: Disabled
Removing geoclue killes Debian


Good day for all forum members!
I tried to completely remove geoclue from Debian Buster. In /var/lib/dpkg/status i remove libgeoclue, gir1.2- geoclue, geoclue from all dependences. Then purge all packages. It killed my system. Is there a way to completely remove this service from Debian and save my system?
Yours sincerely, Olga
Any suggestions are welcome. Thank you in advance!

Last edited by OlgaM; 06-20-2019 at 12:58 PM. Reason: New details
 
Old 06-21-2019, 12:48 AM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Hi,

I don't see why uninstalling that package would impact your system in any catastrophic way. What exactly do you mean by
Quote:
It killed my system.
What problems are you experiencing?

Evo2.
 
Old 06-21-2019, 11:59 AM   #3
OlgaM
Member
 
Registered: Mar 2019
Distribution: Debian Bullseye
Posts: 65

Original Poster
Rep: Reputation: Disabled
Evo2, thank you for answer!
I deleted geoclue-2.0, gir1.2-geoclue and system worked in normal way.
But after removing libgeoclue package (apt purge libgeoclue-2-0):

libgeoclue-2.so.0 (link to x/application sharedlib)
libgeoclue-2.so.0.0.0 (link to x/application sharedlib)
Geoclue-2.0 typelib

i got a black screen with blinking cursor in the left top corner during reboot.

I don't understand what the reason, because there wasn't any errors during removing libgeoclue package.
I think maybe it happen because i removed link to shared object, not the real object or it can be Gnome bug.

How i can understand the reason why libgeoclue package causing this bug?

Thank you for any advice! I spent much time learning Debian and would like to save this distro.

Last edited by OlgaM; 06-21-2019 at 12:00 PM. Reason: New details
 
Old 06-21-2019, 01:47 PM   #4
zeebra
Senior Member
 
Registered: Dec 2011
Distribution: Slackware
Posts: 1,833
Blog Entries: 17

Rep: Reputation: 640Reputation: 640Reputation: 640Reputation: 640Reputation: 640Reputation: 640
Quote:
Originally Posted by OlgaM View Post
Evo2, thank you for answer!
I deleted geoclue-2.0, gir1.2-geoclue and system worked in normal way.
But after removing libgeoclue package (apt purge libgeoclue-2-0):

libgeoclue-2.so.0 (link to x/application sharedlib)
libgeoclue-2.so.0.0.0 (link to x/application sharedlib)
Geoclue-2.0 typelib

i got a black screen with blinking cursor in the left top corner during reboot.

I don't understand what the reason, because there wasn't any errors during removing libgeoclue package.
I think maybe it happen because i removed link to shared object, not the real object or it can be Gnome bug.

How i can understand the reason why libgeoclue package causing this bug?

Thank you for any advice! I spent much time learning Debian and would like to save this distro.
Try to boot in single user mode. The issue is probably not "real", rather probably created by systemd creating some dependency it does not really need.

If you get grub, then simply type 1 behind your boot parameters. Should work. Next if it boots you probably need to check the logs etc of the previous boot failure.
 
3 members found this post helpful.
Old 06-21-2019, 01:47 PM   #5
zeebra
Senior Member
 
Registered: Dec 2011
Distribution: Slackware
Posts: 1,833
Blog Entries: 17

Rep: Reputation: 640Reputation: 640Reputation: 640Reputation: 640Reputation: 640Reputation: 640
Quote:
Originally Posted by OlgaM View Post
Evo2, thank you for answer!
I deleted geoclue-2.0, gir1.2-geoclue and system worked in normal way.
But after removing libgeoclue package (apt purge libgeoclue-2-0):

libgeoclue-2.so.0 (link to x/application sharedlib)
libgeoclue-2.so.0.0.0 (link to x/application sharedlib)
Geoclue-2.0 typelib

i got a black screen with blinking cursor in the left top corner during reboot.

I don't understand what the reason, because there wasn't any errors during removing libgeoclue package.
I think maybe it happen because i removed link to shared object, not the real object or it can be Gnome bug.

How i can understand the reason why libgeoclue package causing this bug?

Thank you for any advice! I spent much time learning Debian and would like to save this distro.
Try to boot in single user mode. The issue is probably not "real", rather probably created by systemd creating some dependency it does not really need.

If you get grub, then simply type 1 behind your boot parameters. Should work. Next if it boots you probably need to check the logs etc of the previous boot failure.
 
3 members found this post helpful.
Old 06-24-2019, 07:35 AM   #6
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
how did you "remove" geoclue?
did you use apt or apt-get for this?
something like:
Code:
apt remove geoclue
or how exactly?
 
Old 06-24-2019, 08:22 AM   #7
OlgaM
Member
 
Registered: Mar 2019
Distribution: Debian Bullseye
Posts: 65

Original Poster
Rep: Reputation: Disabled
Smile Removing Gnome solved the problem

I want to thank all forum members, who posted replies, especially zeebra

Last edited by OlgaM; 06-24-2019 at 08:30 AM. Reason: new details
 
Old 06-24-2019, 08:28 AM   #8
OlgaM
Member
 
Registered: Mar 2019
Distribution: Debian Bullseye
Posts: 65

Original Poster
Rep: Reputation: Disabled
Removing Gnome solved the problem

Quote:
Originally Posted by zeebra View Post
Try to boot in single user mode. The issue is probably not "real", rather probably created by systemd creating some dependency it does not really need.

If you get grub, then simply type 1 behind your boot parameters. Should work. Next if it boots you probably need to check the logs etc of the previous boot failure.
You was right, it's not a real bug. The reason was Gnome dependencies. I made clean install of Debian without standart system utiles and choose XFCE instead of Gnome. After that i deleted geoip package and now i don't see any geoclue files. My system now has less files and looks clean and fast.
 
1 members found this post helpful.
Old 06-24-2019, 08:32 AM   #9
OlgaM
Member
 
Registered: Mar 2019
Distribution: Debian Bullseye
Posts: 65

Original Poster
Rep: Reputation: Disabled
Removing Gnome solved the problem

Quote:
Originally Posted by ondoho View Post
how did you "remove" geoclue?
did you use apt or apt-get for this?
something like:
Code:
apt remove geoclue
or how exactly?
I used purge

Code:
apt purge geoclue
Code:
apt clean
Code:
systemctl daemon-reload
Code:
systemctl reset-failed
 
Old 06-24-2019, 04:10 PM   #10
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
So removing GNOME solved the problem?
How did you remove that?
Please share your solution, then mark your thread SOLVED.
 
Old 06-28-2019, 02:53 PM   #11
OlgaM
Member
 
Registered: Mar 2019
Distribution: Debian Bullseye
Posts: 65

Original Poster
Rep: Reputation: Disabled
I understood, that there is no way to complitelly delete geoclue in Gnome because of dependencies. I removed geoclue package but couldn't remove libgeoclue and Geoclue.typelib (it caused Gnome crash). So i decided to make fresh install with XFCE (without print server and standart system utilities) and removed geoip package. But i am not 100% shure that there is no some D-bus services with similar functionality
 
Old 06-28-2019, 02:56 PM   #12
OlgaM
Member
 
Registered: Mar 2019
Distribution: Debian Bullseye
Posts: 65

Original Poster
Rep: Reputation: Disabled
hope, problem solved

Last edited by OlgaM; 06-28-2019 at 02:59 PM.
 
Old 06-28-2019, 03:46 PM   #13
zeebra
Senior Member
 
Registered: Dec 2011
Distribution: Slackware
Posts: 1,833
Blog Entries: 17

Rep: Reputation: 640Reputation: 640Reputation: 640Reputation: 640Reputation: 640Reputation: 640
Quote:
Originally Posted by OlgaM View Post
I understood, that there is no way to complitelly delete geoclue in Gnome because of dependencies. I removed geoclue package but couldn't remove libgeoclue and Geoclue.typelib (it caused Gnome crash). So i decided to make fresh install with XFCE (without print server and standart system utilities) and removed geoip package. But i am not 100% shure that there is no some D-bus services with similar functionality
That's a very unecessary and ugly dependency and good enough reason to drop Gnome alltogether if it forces the whole desktop to depend on such a service/program. In KDE there are some packages that are nice to remove, but it is more modular, so only in an example, a few programs of KDE depend on it and will break, not the whole desktop. KDE is also not perfect and does have some annoying dependencies that breaks the whole desktop. Lighter desktops does not have this issue normally.
 
Old 06-29-2019, 01:48 AM   #14
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
^ yes I looked at this yesterday and realised that it's much more than just a database of IP-country pairs (have a look at 'man geoclue'). Uninstalled now, thankfully nothing on my machine depends on it (even though I'm using some gnome components).
 
  


Reply

Tags
debian stretch, geolocation



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
Redshift problems - unable to get location from provider - geoclue problems louierev07 Linux - Newbie 3 07-28-2016 04:59 AM
Arch Linux - Building webkitgtk2 without geoclue Amarildo Linux - Software 5 01-25-2016 12:17 PM
Disabling privacy-invasive Zeitgeist, Geoclue, Whoopsie (and NTPD) ihavequestions Linux - General 5 02-18-2014 02:05 PM
LXer: Henri Bergius on Akademy, MidGard, Open Collaboration Services and GeoClue LXer Syndicated Linux News 0 07-24-2010 12:20 AM
Static libraries vs shared Libraries catallergy Linux - Newbie 2 03-16-2010 01:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:19 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration