Welcome!

The kernel problem with recent updates has been solved. Find the solution here

Important information
-- Required MX 15/16 Repository Changes
-- Information on torrent hosting changes
-- Information on MX15/16 GPG Keys
-- Spectre and Meltdown vulnerabilities

News
-- Introducing our new Website
-- MX Linux on social media: here

Current releases
-- MX-18.3 Point Release release info here
-- Migration Information to MX-18 here
-- antiX-17.4.1 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

(solved) Deborphan wants to remove important packages

Post Reply
User avatar
zorzi
Forum Regular
Forum Regular
Posts: 230
Joined: Fri Apr 20, 2018 7:41 pm

(solved) Deborphan wants to remove important packages

#1

Post by zorzi » Sun Sep 09, 2018 1:42 pm

Hello,

When I lauch deborphan:

Code: Select all

$ deborphan
freeglut3:amd64
qt5-style-plugins:amd64
ttf-freefont:all
thunderbird-l10n-xpi-fr:all
iptraf:all
libreoffice-pdfimport:all
Most of this packages look important. How can I fix this ?

Thanks.
Last edited by zorzi on Tue Sep 11, 2018 3:25 am, edited 1 time in total.
Desktop: HP Pavilion a6435 (Athlon64 2x 2,6Ghz, Radeon R7-240, Ram 4 Go, HD 500 Go) / MX Linux 17

User avatar
Stevo
Forum Veteran
Forum Veteran
Posts: 19549
Joined: Fri Dec 15, 2006 8:07 pm

Re: Deborphan wants to remove important packages

#2

Post by Stevo » Sun Sep 09, 2018 3:42 pm

One way to to mark them as manually installed instead of automatically in Synaptic. You can also do that on the command line with apt-mark. "man apt-mark" for more info.

User avatar
timkb4cq
Forum Veteran
Forum Veteran
Posts: 5051
Joined: Wed Jul 12, 2006 4:05 pm

Re: Deborphan wants to remove important packages

#3

Post by timkb4cq » Sun Sep 09, 2018 4:20 pm

Ttf-freefont & iptraf are both transitional packages i.e. Packages that install another package when the the package name has been changed for the new version. Deborphan is correct that those are safely removable.
MSI 970A-G43 MB, AMD FX-6300 (six core), 16GB RAM, GeForce 730, Samsung 850 EVO 250GB SSD, Seagate Barracuda XT 3TB

User avatar
zorzi
Forum Regular
Forum Regular
Posts: 230
Joined: Fri Apr 20, 2018 7:41 pm

Re: Deborphan wants to remove important packages

#4

Post by zorzi » Sun Sep 09, 2018 5:22 pm

Thanks for answering.

@Stevo: "apt-mark manual" does not solve my problem. Nor uninstalling and reinstalling packages...
Desktop: HP Pavilion a6435 (Athlon64 2x 2,6Ghz, Radeon R7-240, Ram 4 Go, HD 500 Go) / MX Linux 17

User avatar
fehlix
Forum Veteran
Forum Veteran
Posts: 4256
Joined: Wed Apr 11, 2018 5:09 pm

Re: Deborphan wants to remove important packages

#5

Post by fehlix » Sun Sep 09, 2018 5:49 pm

zorzi wrote:
Sun Sep 09, 2018 1:42 pm
Hello,

When I lauch deborphan:

Code: Select all

$ deborphan
freeglut3:amd64
qt5-style-plugins:amd64
ttf-freefont:all
thunderbird-l10n-xpi-fr:all
iptraf:all
libreoffice-pdfimport:all
Most of this packages look important. How can I fix this ?

Thanks.
Not sure what you are going to achieve.
The manual states:

Code: Select all

$ man deborphan | grep -A7 DESCRIPTION
DESCRIPTION
       deborphan  finds  packages that have no packages depending on them. The default operation
       is to search only within the libs and oldlibs sections to hunt down unused libraries.

       If it is invoked with an optional list of packages, only the dependencies on those  pack‐
       ages  will be checked. The results are printed to stdout as if the option --show-deps had
       been given. Searching for specific packages will show the package, regardless of its pri‐
       ority. It is possible to specify -, to read a list of packages
If you are looking for packages not needed anymore try autoremove,
e.g. here in simulation mode

Code: Select all

sudo apt-get -s autoremove
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

User avatar
zorzi
Forum Regular
Forum Regular
Posts: 230
Joined: Fri Apr 20, 2018 7:41 pm

Re: Deborphan wants to remove important packages

#6

Post by zorzi » Mon Sep 10, 2018 2:39 am

fehlix wrote:
Sun Sep 09, 2018 5:49 pm
zorzi wrote:
Sun Sep 09, 2018 1:42 pm
Hello,

When I lauch deborphan:

Code: Select all

$ deborphan
freeglut3:amd64
qt5-style-plugins:amd64
ttf-freefont:all
thunderbird-l10n-xpi-fr:all
iptraf:all
libreoffice-pdfimport:all
Most of this packages look important. How can I fix this ?

Thanks.
Not sure what you are going to achieve.
The manual states:

Code: Select all

$ man deborphan | grep -A7 DESCRIPTION
DESCRIPTION
       deborphan  finds  packages that have no packages depending on them. The default operation
       is to search only within the libs and oldlibs sections to hunt down unused libraries.

       If it is invoked with an optional list of packages, only the dependencies on those  pack‐
       ages  will be checked. The results are printed to stdout as if the option --show-deps had
       been given. Searching for specific packages will show the package, regardless of its pri‐
       ority. It is possible to specify -, to read a list of packages
If you are looking for packages not needed anymore try autoremove,
e.g. here in simulation mode

Code: Select all

sudo apt-get -s autoremove
Hi Fehlix,

In theory, and most of the time, orphan packages are unused and shall be removed. Thats's why I do not understand Deborphan rules this time.
Desktop: HP Pavilion a6435 (Athlon64 2x 2,6Ghz, Radeon R7-240, Ram 4 Go, HD 500 Go) / MX Linux 17

User avatar
zorzi
Forum Regular
Forum Regular
Posts: 230
Joined: Fri Apr 20, 2018 7:41 pm

Re: Deborphan wants to remove important packages

#7

Post by zorzi » Tue Sep 11, 2018 3:24 am

I've found command I was looking for:

Code: Select all

deborphan --add-keep <package name>
Thanks to everybody.
Desktop: HP Pavilion a6435 (Athlon64 2x 2,6Ghz, Radeon R7-240, Ram 4 Go, HD 500 Go) / MX Linux 17

Post Reply

Return to “Software / Configuration”