How to cleanout any traces of a a broken package.[Solved]

Message
Author
User avatar
Ironfighter
Posts: 299
Joined: Tue May 07, 2019 4:45 am

How to cleanout any traces of a a broken package.[Solved]

#1 Post by Ironfighter »

I recently installed QCAD on my system. The package worked fine when I first installed it.
I use a laptop and a second larger screen and was able to drag the Open QCAD window from my laptop on to my second screen.
However an upgrade was available (so as I had paid for the professional version) I downloaded and ran the install from a shell script after making it executable.
Unfortunately that was a big mistake. The package is now locked in full screen on my laptop and when I try to drag it to my larger screen the programme crashes.
I still have the installer for the previous version so I deleted the upgrade from my home/xxxxx/opt folder, removed the desktop icon and ran Stacer to clean up any debris.
Nevertheless since running the shell scrip for the older version I am stuck with the same display problems (which I didn'y have previously). Perhaps there is a bit of debris still on my laptop that is causing the problem?

Can someone advise me the best way to clean up any debris that may be on my system please.

Code: Select all

System:    Host: <filter> Kernel: 4.19.0-6-amd64 x86_64 bits: 64 compiler: gcc v: 8.3.0 
           parameters: BOOT_IMAGE=/boot/vmlinuz-4.19.0-6-amd64 
           root=UUID=ba0d8bf0-63e8-4306-9a6a-8e8a9cd8ed8f ro quiet splash 
           Desktop: Xfce 4.14.2 tk: Gtk 3.24.5 info: xfce4-panel wm: xfwm4 dm: LightDM 1.26.0 
           Distro: MX-19.2_x64 patito feo February 15  2020 base: Debian GNU/Linux 10 (buster) 
Machine:   Type: Laptop System: LENOVO product: 20C6A010AU v: ThinkPad Edge E540 
           serial: <filter> Chassis: type: 10 serial: <filter> 
           Mobo: LENOVO model: 20C6A010AU v: 0B98405 STD serial: <filter> UEFI: LENOVO 
           v: J9ETA2WW (2.28 ) date: 06/20/2018 
Battery:   ID-1: BAT0 charge: 39.9 Wh condition: 40.0/56.2 Wh (71%) volts: 12.4/11.2 
           model: SMP LNV-45N1 type: Li-ion serial: <filter> status: Not charging 
CPU:       Topology: Dual Core model: Intel Core i3-4000M bits: 64 type: MT MCP arch: Haswell 
           family: 6 model-id: 3C (60) stepping: 3 microcode: 28 L2 cache: 3072 KiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 19154 
           Speed: 2394 MHz min/max: 800/2400 MHz Core speeds (MHz): 1: 2394 2: 2395 3: 2395 
           4: 2395 
           Vulnerabilities: Type: itlb_multihit status: KVM: Split huge pages 
           Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable 
           Type: mds mitigation: Clear CPU buffers; SMT vulnerable 
           Type: meltdown mitigation: PTI 
           Type: spec_store_bypass 
           mitigation: Speculative Store Bypass disabled via prctl and seccomp 
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization 
           Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional, IBRS_FW, 
           STIBP: conditional, RSB filling 
           Type: tsx_async_abort status: Not affected 
Graphics:  Device-1: Intel 4th Gen Core Processor Integrated Graphics vendor: Lenovo 
           driver: i915 v: kernel bus ID: 00:02.0 chip ID: 8086:0416 
           Display: x11 server: X.Org 1.20.4 driver: intel 
           resolution: 1366x768~60Hz, 1920x1080~60Hz 
           OpenGL: renderer: Mesa DRI Intel Haswell Mobile v: 4.5 Mesa 18.3.6 compat-v: 3.0 
           direct render: Yes 
Audio:     Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor HD Audio vendor: Lenovo 
           driver: snd_hda_intel v: kernel bus ID: 00:03.0 chip ID: 8086:0c0c 
           Device-2: Intel 8 Series/C220 Series High Definition Audio vendor: Lenovo 
           driver: snd_hda_intel v: kernel bus ID: 00:1b.0 chip ID: 8086:8c20 
           Sound Server: ALSA v: k4.19.0-6-amd64 
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Lenovo 
           driver: r8169 v: kernel port: 3000 bus ID: 03:00.0 chip ID: 10ec:8168 
           IF: eth0 state: down mac: <filter> 
           Device-2: Intel Wireless 7260 driver: iwlwifi v: kernel port: 3000 bus ID: 04:00.0 
           chip ID: 8086:08b2 
           IF: wlan0 state: up mac: <filter> 
Drives:    Local Storage: total: 465.76 GiB used: 220.32 GiB (47.3%) 
           ID-1: /dev/sda vendor: HGST (Hitachi) model: HTS725050A7E630 size: 465.76 GiB 
           block size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s rotation: 7200 rpm 
           serial: <filter> rev: B550 scheme: GPT 
Partition: ID-1: / raw size: 464.53 GiB size: 456.24 GiB (98.21%) used: 220.27 GiB (48.3%) 
           fs: ext4 dev: /dev/sda7 
Sensors:   System Temperatures: cpu: 49.0 C mobo: N/A 
           Fan Speeds (RPM): cpu: 0 
Repos:     No active apt repos in: /etc/apt/sources.list 
           Active apt repos in: /etc/apt/sources.list.d/balena-etcher.list 
           1: deb https://deb.etcher.io stable etcher
           Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list 
           1: deb http://deb.debian.org/debian buster-updates main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/debian.list 
           1: deb http://deb.debian.org/debian buster main contrib non-free
           2: deb http://deb.debian.org/debian-security buster/updates main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/google-chrome.list 
           1: deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
           Active apt repos in: /etc/apt/sources.list.d/google-earth-pro.list 
           1: deb [arch=amd64] http://dl.google.com/linux/earth/deb/ stable main
           Active apt repos in: /etc/apt/sources.list.d/megasync.list 
           1: deb https://mega.nz/linux/MEGAsync/Debian_10.0/ ./
           Active apt repos in: /etc/apt/sources.list.d/mono-official-stable.list 
           1: deb https://download.mono-project.com/repo/debian stable-buster main
           Active apt repos in: /etc/apt/sources.list.d/mx.list 
           1: deb http://mx.mirror.ausnetservers.net.au/packages/mx/repo/ buster main non-free
           No active apt repos in: /etc/apt/sources.list.d/various.list 
           Active apt repos in: /etc/apt/sources.list.d/winehq.list 
           1: deb https://dl.winehq.org/wine-builds/debian/ buster main
Info:      Processes: 228 Uptime: 5m Memory: 7.68 GiB used: 1.07 GiB (13.9%) Init: SysVinit 
           v: 2.93 runlevel: 5 default: 5 Compilers: gcc: 8.3.0 alt: 8 Shell: quick-system-in 
           running in: quick-system-in inxi: 3.0.36 
Last edited by Ironfighter on Wed Sep 09, 2020 1:40 am, edited 1 time in total.
"To achieve the greatest result, seek the quintessential"
General Shi Jue, late president of the Tai Chi Chuan Society of the Republic of China

Huckleberry Finn

Re: How to cleanout any traces of a a broken package.

#2 Post by Huckleberry Finn »

Code: Select all

sudo apt purge qcad -y
or even

Code: Select all

sudo apt purge *qcad* -y
Also have a look at (from Menu) "Session and Startup" => Autostart Apps tab if there's still something there, if yes, remove/uncheck ..

You can use MX Cleanup after them .. For deeper cleaning: "Bleachbit" . (If still needed).

User avatar
Ironfighter
Posts: 299
Joined: Tue May 07, 2019 4:45 am

Re: How to cleanout any traces of a a broken package.

#3 Post by Ironfighter »

Huckleberry Finn wrote: Tue Sep 08, 2020 6:32 am

Code: Select all

sudo apt purge qcad -y
or even

Code: Select all

sudo apt purge *qcad* -y
Also have a look at (from Menu) "Session and Startup" => Autostart Apps tab if there's still something there, if yes, remove/uncheck ..

You can use MX Cleanup after them .. For deeper cleaning: "Bleachbit" . (If still needed).
Thank you very much Huckleberry Finn
"To achieve the greatest result, seek the quintessential"
General Shi Jue, late president of the Tai Chi Chuan Society of the Republic of China

yoel
Posts: 14
Joined: Sat Jan 25, 2020 7:37 pm

Re: How to cleanout any traces of a a broken package.[Solved]

#4 Post by yoel »

To clean the system I use BleachBit (I use as root).

To clean orphaned files, install Deborphan from MX Package install
When it is installed, go to Terminal and type deborphan and that will display orphaned files.

Then type
sudo orphaner

This will open a program in Terminal, it has a blue background. It will allow you to delete orphaned files.


Cleaning unnecessary files with Synaptic
In Synaptic go to Status>Installed (Local or obsolete) and 50% of the packages that you find in there can be deleted.

Also go to Custom filters>Broken You can delete broken packages that you find in this section.


Finding files hard to delete
I installed Angrysearch. It creates a database or list of every single file in your system.
You then search for the file that you want to delete and when you find it you can delete it manually.
You may need root acces to the folders for this. Make sure you only delete the relevant file as you could damage the system.

linuxforever
Posts: 81
Joined: Fri Sep 25, 2020 11:04 am

Re: How to cleanout any traces of a a broken package.[Solved]

#5 Post by linuxforever »

"Cleaning unnecessary files with Synaptic
In Synaptic go to Status>Installed (Local or obsolete) and 50% of the packages that you find in there can be deleted."

How do you know which ones can be deleted...?

Post Reply

Return to “Software / Configuration”