Rogue Cmake package held by Synaptic

New to Debian (Or Linux in general)? Ask your questions here!

Rogue Cmake package held by Synaptic

Postby Dollxd » 2018-07-04 10:49

I'm not sure how this happened, but I have a package that I installed which seems to be causing problems for Synaptic. I can't download, upgrade, or even remove packages. I keep getting an error about a package that I installed from source and I can't figure out how it would have anything to do with the packages Synaptic thinks need to have it upgraded or uninstalled. This started when I realized my computer has no sound and I tried to reinstall pulseaudio in Synaptic. Synaptic tried to uninstall all the dependencies for pulseaudio and everything I have selectively installed over the last 4 months. This package, appimagelauncher somehow got caught up in the process and now Synaptic is stuck. Apt and Aptitude aren't very happy either.

I don't remember where I got the source code. I think I got it from a blog a while back. I tried Github, but it wasn't available at the time for some reason. Of course I didn't save anything so I could re-create the package at a later date, so I'm not sure how to uninstall this thing manually. Make uninstall didn't seem to do anything.

I'm thinking the only way I can fix it is to overwrite it, but is this solution likely to satisfy Synaptic? If I overwrite it I should theoretically be able to uninstall it manually at that point. Does anybody have any suggestions or other solutions? Thanks.
User avatar
Dollxd
 
Posts: 4
Joined: 2016-01-10 02:33

Re: Rogue Cmake package held by Synaptic

Postby arzgi » 2018-07-04 12:10

You propably mean this https://github.com/TheAssassin/AppImageLauncher

Description has instructions, how to remove AppImageLauncher. If that will not correct your package managament, I guess only option left is to reinstall debian.

I would not install any package outside debian-repos, specially if it 'integrates deeply in the system'. You have now seen what can go wrong.

XFCE only requires clicking icon and selecting 'Mark executable'. I've used this for my own scripts.
arzgi
 
Posts: 389
Joined: 2008-02-21 17:03
Location: Finland

Re: Rogue Cmake package held by Synaptic

Postby GarryRicketson » 2018-07-04 12:37

Before installing random software on Debian, people should read this:
https://wiki.debian.org/DontBreakDebian

As all ready suggested, if the instructions in the link posted by arzgi don't work,
reinstall Debian, and in the future think twice before installing these kind of things.
User avatar
GarryRicketson
 
Posts: 5161
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Rogue Cmake package held by Synaptic

Postby Dollxd » 2018-07-04 20:04

Thanks GarryRicketson. I had actually missed the uninstall instructions from arzgi. I'll have a look. I have a couple of ways I should be able to go about this without having to reinstall Debian. This was one of those cases where I had become accustomed to using something and it wasn't available any more, so I found something similar that would restore the functionality of my desktop to what I was used to. It was a matter of workflow at the time. Once I get this removed I will likely install the .deb package from Github, but in the future I will be using Checkinstall instead of Cmake to install things like this so I can uninstall them as .deb packages. Much easier.

I have to say I would much rather break Debian and find out how to fix it than deal with Windows any day. I used a friend's computer yesterday. What a nightmare. I can't believe I used to do tech support for machines with that mess on them. Thanks again. :wink:
Last edited by Dollxd on 2018-07-04 20:27, edited 1 time in total.
User avatar
Dollxd
 
Posts: 4
Joined: 2016-01-10 02:33

Re: Rogue Cmake package held by Synaptic

Postby Wheelerof4te » 2018-07-04 20:21

Part of what makes Debian reliable and amazing is it's package management system, along with it's many packages in the main repo. Almost all software is expected to be installed from that repo, and even packages that come from external sources have to be in .deb format. Deviate from that convenience, and you will end up breaking something, as you have already experienced.

Even in the GNULinux/Unix world, there are some deviations. Program that you have compiled from source could have been cleanly installed in some other distros. But, in the case of those distros, you lose out on the mentioned convenience.

For AppImages, you can make a separate directories and keep them there. That way, you can at least know where each one is. Tab-completion helps immensely.
User avatar
Wheelerof4te
 
Posts: 1134
Joined: 2015-08-30 20:14

Re: Rogue Cmake package held by Synaptic

Postby sunrat » 2018-07-04 23:58

The easiest way to recover from system breakage caused by doing dangerous things is to restore the system backup you made before doing said dangerous things. You did make a full system backup didn't you?
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!
User avatar
sunrat
 
Posts: 2461
Joined: 2006-08-29 09:12
Location: Melbourne, Australia

Re: Rogue Cmake package held by Synaptic

Postby arzgi » 2018-07-05 10:33

sunrat wrote:The easiest way to recover from system breakage caused by doing dangerous things is to restore the system backup you made before doing said dangerous things. You did make a full system backup didn't you?


+1 for backups, about full backups, not so sure.

If you have broadband connection, whis is almost a norm nowadays, might be faster and easier to do network install. Naturally /home has to be backed up, and /etc, specially if you have edited configs.
arzgi
 
Posts: 389
Joined: 2008-02-21 17:03
Location: Finland

Re: Rogue Cmake package held by Synaptic

Postby debiman » 2018-07-05 10:51

Dollxd wrote:Make uninstall didn't seem to do anything.

so you still have the makefile?
in that case, have a look at it and see what it installed and where, and rm that.
simple.

another option:
Code: Select all
find / -iname '*appimagelauncher'*

and if that doesn't find everything:
Code: Select all
cd /; grep -ri appimagelauncher
(this will search inside files. it will take a while)

for both commands better to be root.
User avatar
debiman
 
Posts: 3008
Joined: 2013-03-12 07:18

Re: Rogue Cmake package held by Synaptic

Postby stevepusser » 2018-07-05 17:30

We have a lot users swear by Timeshift for quick system backups and restores over on the MX Linux forums, but then again, you either have to port it over yourself or use a third-party repo since Debian hasn't packaged it...

You'd back up if your daddy taught you good...https://www.youtube.com/watch?v=qIoG4PlEPtY
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Quod Libet 4.2.0, Pale Moon 28.1.0, wine-staging 3.19, GIMP 2.10.8, Liquorix kernel 4.18-21, CopyQ 3.7.0
User avatar
stevepusser
 
Posts: 10119
Joined: 2009-10-06 05:53

Re: Rogue Cmake package held by Synaptic

Postby pcalvert » 2018-07-05 19:23

To prevent this kind of situation from happening again, you could (and probably should) use GNU Stow.

Here's how to install it:
Code: Select all
aptitude install stow

And here's some more info:
Get rid of stowaway packages with GNU Stow
How to use GNU Stow to manage programs installed from source and dotfiles

Phil
“Property is the fruit of labor; property is desirable; it is a positive good
in the world. That some should be rich shows that others may become
rich, and hence is just encouragement to industry and enterprise.”
— Abraham Lincoln
pcalvert
 
Posts: 1802
Joined: 2006-04-21 11:19
Location: Sol Sector


Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 10 guests

fashionable