LinuxQuestions.org
Help answer threads with 0 replies.
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 04-05-2017, 08:52 PM   #1
kcredden
Member
 
Registered: Jul 2006
Posts: 38

Rep: Reputation: 0
Synaptic erases entire OS instead of one program


Yes you read that right. This isn't the first time it's happened. It's happened enough that only by imaging the system will I remove software anymore.

Anyway I'm also asking:

1) Why does it do this? I want to erase one program (say firefox), click just on firefox, then let it go. I see in the terminal that it's erasing everything, XFCE, mousepad, emacs, etc.

It's not every single time but it's happened too many times before. Thank god for imagigers.

2) Has anyone else had this headache? is there a way of fixing synaptic to keep the nuke option off?
 
Old 04-05-2017, 09:22 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 15,785
Blog Entries: 27

Rep: Reputation: 4632Reputation: 4632Reputation: 4632Reputation: 4632Reputation: 4632Reputation: 4632Reputation: 4632Reputation: 4632Reputation: 4632Reputation: 4632Reputation: 4632
I have never encountered such a thing in about 10 years of using Debian and Debian-based distros. (I've generally had a least one Debian/Debian-based distro going during that time.)

I would start by taking a look in the log files /var/log/apt. Maybe they will offer some clues. If you find something questionable, post it here, being sure to surround it with code tags, which become available when you click the "Go Advanced" button beneath the "Compose Post" windows
 
Old 04-05-2017, 11:26 PM   #3
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163
Hi:

I find the issue your having with Synaptic to be bizarre.
Sorry to hear that happened.

Like frankbell I've never had a headache as such in 7 years:-

The only thing I can think of why Synaptic would hose other programs is because it's either not up to date, has a bug or is badly mis-configured somehow.

When I want to remove pkg's or software on my Debian based system I generally put it to bed as 'root' with:

Code:
apt-get remove --purge <name of application>
Quote:
Is there a way of fixing synaptic to keep the nuke option off?
I'd try removing Synaptic and re-installing it.

Are you sure it's Synaptic and not APT? (just making sure it's not APT broken or misconfigured)

-:::-Try launching Synaptic via the cmd-line and see if the terminal throws any errors.-:::-

What is the output of:
Code:
cat /etc/os-release
?
 
Old 04-05-2017, 11:33 PM   #4
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163
https://www.ostechnix.com/3921-2/
 
Old 04-05-2017, 11:59 PM   #5
curtdodds
LQ Newbie
 
Registered: Jul 2003
Location: So. Calif
Distribution: gentoo,RH, mandrake, debian, slackware, lfs, and more.
Posts: 25

Rep: Reputation: 6
I've been using debian and derivatives for ~16 years, never seen or heard of your problem !

My first guess was that your were using a version of Mint. They are the only distro I know of
that modifies the synaptic code, to disable selecting all upgrades, for example.
I figured their devs messed up, but your post says debian?

Synaptic is my favorite tools for software on any distro.
When I have selected changes (upgrades, removals, new install etc), I then click on "Apply".
Then I am presented with a "Summary" popup. Do you get that?
and, do you check the list is only what you selected, before clicking approval?
 
1 members found this post helpful.
Old 04-06-2017, 09:14 AM   #6
un1x
Member
 
Registered: Oct 2015
Posts: 645

Rep: Reputation: Disabled
^
1 members found this post helpful...
 
Old 04-06-2017, 01:55 PM   #7
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 13,195
Blog Entries: 9

Rep: Reputation: 3614Reputation: 3614Reputation: 3614Reputation: 3614Reputation: 3614Reputation: 3614Reputation: 3614Reputation: 3614Reputation: 3614Reputation: 3614Reputation: 3614
please show us the output.
without any much needed further and more definite information about the problem, all i can suspect is this:
FRANKENDEBIAN.
 
Old 04-06-2017, 11:15 PM   #8
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 15,785
Blog Entries: 27

Rep: Reputation: 4632Reputation: 4632Reputation: 4632Reputation: 4632Reputation: 4632Reputation: 4632Reputation: 4632Reputation: 4632Reputation: 4632Reputation: 4632Reputation: 4632
I used Mint for six or seven years on various boxes and still never encountered anything like this.

Another thought is to try using apt-get or aptitude and look for any error messages.

Here's a tutorial on troubleshooting the package manager. It's written for Ubuntu, but can easily be adapted to other Debian/Debian-based distros: http://support.system76.com/articles/package-manager/
 
Old 04-07-2017, 04:24 AM   #9
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4866Reputation: 4866Reputation: 4866Reputation: 4866Reputation: 4866Reputation: 4866Reputation: 4866Reputation: 4866Reputation: 4866Reputation: 4866Reputation: 4866
There is one specific circumstance where this can happen: The package you want to remove is a dependency of a meta-package.
Meta-packages are used in APT based distros to install groups of programs, since APT has no concept of package groups. They contain no actual programs, but just have dependencies that are pulled in, when installing the package.
Now, when you remove one of the dependencies and it can not be satisfied in another way the Synaptic will also remove the meta-package that has that dependency, and in turn all other dependencies of the meta-package are marked as orphans and will also be automatically removed, since that seems to be for unknown reasons the default behavior of Synaptic (and aptitude, IIRC).
This is why I always use apt-get on APT based distros instead, which will mark the other dependencies as orphans, but doesn't remove them unless told to do so (autoremove command of apt-get or --autoremove option), so that you have the chance to fix the package states.
 
1 members found this post helpful.
Old 04-07-2017, 05:08 AM   #10
descendant_command
Senior Member
 
Registered: Mar 2012
Posts: 1,714

Rep: Reputation: 553Reputation: 553Reputation: 553Reputation: 553Reputation: 553Reputation: 553
http://forums.debian.net/viewtopic.php?f=16&t=104157
 
Old 04-07-2017, 06:18 AM   #11
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Yawnstown, Ohio
Distribution: Mojave
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
The only time I've seen this happen, is when the user doesn't fully evaluate the Pending Confirmation Dialogs.

Objects in mirror are closer than they appear.

No OS either? Troll much?
 
Old 04-07-2017, 09:08 AM   #12
un1x
Member
 
Registered: Oct 2015
Posts: 645

Rep: Reputation: Disabled


Quote:
Troll much?
 
Old 04-07-2017, 02:14 PM   #13
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163
Quote:
Originally Posted by TobiSGD View Post
There is one specific circumstance where this can happen: The package you want to remove is a dependency of a meta-package.
Meta-packages are used in APT based distros to install groups of programs, since APT has no concept of package groups. They contain no actual programs, but just have dependencies that are pulled in, when installing the package.
Now, when you remove one of the dependencies and it can not be satisfied in another way the Synaptic will also remove the meta-package that has that dependency, and in turn all other dependencies of the meta-package are marked as orphans and will also be automatically removed, since that seems to be for unknown reasons the default behavior of Synaptic (and aptitude, IIRC).
This is why I always use apt-get on APT based distros instead, which will mark the other dependencies as orphans, but doesn't remove them unless told to do so (autoremove command of apt-get or --autoremove option), so that you have the chance to fix the package states.
Makes perfect sense-

Thanks for bringing this into the light:-
 
  


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
[SOLVED] Can't uninstall a program using synaptic manager. mferarri Linux - Software 3 02-04-2014 01:08 AM
Make entire python program a function? snowman81 Programming 8 01-12-2009 08:11 PM
Using Synaptic to Uninstall a program limeylew Linux - Desktop 1 10-04-2006 03:24 PM
Does SUSE have synaptic like program? bond00 SUSE / openSUSE 3 08-26-2005 05:17 AM
is there a linux program that downloads an entire website? lemuel Linux - Software 10 01-06-2005 03:10 AM

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

All times are GMT -5. The time now is 10:21 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration