Dependency and Autoremove Issues

If none of the more specific forums is the right place to ask

Re: Dependency and Autoremove Issues

Postby sunrat » 2018-02-13 21:14

The actual term is "metapackages".

I'm still curious how installing transmission pulled in 47 packages. I just ran simulated install and got 6 packages. A look at /var/log/apt/history.log would be illuminating.
Code: Select all
$ apt install -s transmission
NOTE: This is only a simulation!
...
The following NEW packages will be installed:
  libminiupnpc10 libnatpmp1 minissdpd transmission transmission-common transmission-gtk
“ 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: 2145
Joined: 2006-08-29 09:12
Location: Melbourne, Australia

Re: Dependency and Autoremove Issues

Postby Wheelerof4te » 2018-02-14 12:35

transmission is a meta-package. It is there to make installation of Transmission torrent client easier, by pulling all needed dependencies. Same with gnome meta-package, libreoffice meta-package etc.
Sometimes pulled packages can be used by other programs, so they stay. Example, removing gnome meta-package will just remove that and few other packages. It won't wipe out GNOME DE.
Note that transmission clent doesn't need 47 packages in GNOME.
User avatar
Wheelerof4te
 
Posts: 656
Joined: 2015-08-30 20:14

Re: Dependency and Autoremove Issues

Postby Wheelerof4te » 2018-02-16 11:43

If that was some kind of virus page, let us pray for your well being.
DONT. DO. THAT.
corbett wrote:check more about it to click here
User avatar
Wheelerof4te
 
Posts: 656
Joined: 2015-08-30 20:14

Re: Dependency and Autoremove Issues

Postby Caitlin » 2018-02-18 17:07

Every time you install a package by name, up to hundreds of other packages gets installed with it.

When a package is developed, the programmer builds it, generally, with the latest and greatest versions of the libraries. This means even if you have all the libraries already on your system, they will automatically be upgraded when the package you chose is installed, even if it would have worked with the versions you already had.

Another problem is when one package draws on some functionality from something else, and that something else is stated specifically rather than generically. I may have the details wrong, but somewhere deep in KWrite a beep is generated if something goes wrong, and to produce that beep means the entire VLC music system has to be installed also, along with phonon, which VLC needs. The programmer liked VLC, so everybody's going to have VLC whether they want it or not.

Still another problem is recommended packages -- where one package is enhanced by some other package being there, even though that other package is not strictly required. This one is easy to fix; I specify --no-install-recommends with every apt-get.

If you try to get rid of this "crapware", as I call it, it then wants to deinstall the package you originally wanted. This is a problem, and is one of the major headaches of the apt system design.

You can de-install single packages with dpkg -force-depends but this really isn't a solution. If anybody has any suggestions as how to best remove crapware, let me know.

The bottom line is that those 1400 packages can't be uninstalled because they are considered to be installed and in use in your system.

Caitlin
Caitlin
 
Posts: 251
Joined: 2012-05-24 07:32

Re: Dependency and Autoremove Issues

Postby Head_on_a_Stick » 2018-02-18 18:15

@Caitlin, have you considered Slackware? :mrgreen:
"Men are born ignorant, not stupid. They are made stupid by education." — Bertrand Russell
User avatar
Head_on_a_Stick
 
Posts: 7189
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Dependency and Autoremove Issues

Postby dilberts_left_nut » 2018-02-18 18:34

AdrianTM wrote:There's no hacker in my grandma...
User avatar
dilberts_left_nut
 
Posts: 4771
Joined: 2009-10-05 07:54
Location: enzed

Re: Dependency and Autoremove Issues

Postby sunrat » 2018-02-18 23:45

@Caitlin - It would be interesting to see what packages were installed with transmission. Please open /var/log/apt/history.log and copy/paste ( in code tags) the section where you installed transmission.
“ 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: 2145
Joined: 2006-08-29 09:12
Location: Melbourne, Australia

Re: Dependency and Autoremove Issues

Postby HuangLao » 2018-02-19 00:05

Head_on_a_Stick wrote:@Caitlin, have you considered Slackware? :mrgreen:


LMAO...If its the Caitlin that I think it is, that ship sailed a long time ago for her.
User avatar
HuangLao
 
Posts: 373
Joined: 2015-01-27 01:31

Previous

Return to General Questions

Who is online

Users browsing this forum: No registered users and 5 guests

fashionable