Installing youtube-dl on ubuntu minimal brings in far too many extraneous dependencies
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
youtube-dl (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Ubuntu 18.04 Bionic
Ubuntu 18.10 Cosmic
Expected results:
sudo apt-get install youtube-dl will install a reasonable number of dependencies for a terminal-based application on a minimal ubuntu installation.
Actual results:
sudo apt-get install youtube-dl suggests a number of extraneous dependencies.
There should be no need for adwaita-icon-theme, qt5-gtk-
See:
hayden@t470s:~$ sudo apt-get install youtube-dl
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
adwaita-
fontconfig-config fonts-dejavu-core gcc-7-base geoclue-2.0 glib-networking glib-networking
glib-
hicolor-
libasyncns0 libatk-bridge2.0-0 libatk1.0-0 libatk1.0-data libatspi2.0-0 libauthen-sasl-perl libavahi-client3
libavahi-
libavfilter6 libavformat57 libavresample3 libavutil55 libbdplus0 libbluray2 libbrotli1 libbs2b0 libcaca0
libcairo-gobject2 libcairo2 libcdio-cdda2 libcdio-paranoia2 libcdio17 libcdparanoia0 libchromaprint1 libcolord2
libcroco3 libcrystalhd3 libcups2 libdaemon0 libdata-dump-perl libdatrie1 libdc1394-22 libdconf1
libdouble-
libegl-mesa0 libegl1 libencode-
libfile-
libfontconfig1 libfontenc1 libgbm1 libgdk-pixbuf2.0-0 libgdk-
libgl1 libgl1-mesa-dri libgl1-mesa-glx libglapi-mesa libglvnd0 libglx-mesa0 libglx0 libgme0 libgomp1 libgraphite2-3
libgsm1 libgstreamer-
libharfbuzz0b libhtml-form-perl libhtml-format-perl libhtml-parser-perl libhtml-tagset-perl libhtml-tree-perl
libhttp-
libice6 libiec61883-0 libinput-bin libinput10 libio-html-perl libio-socket-
libisl19 libjack-jackd2-0 libjansson4 libjbig0 libjpeg-turbo8 libjpeg8 libjson-glib-1.0-0 libjson-
liblcms2-2 libldb1 libllvm6.0 liblua5.2-0 liblwp-
libmbim-glib4 libmbim-proxy libmm-glib0 libmp3lame0 libmpc3 libmpg123-0 libmtdev1 libmysofa0 libnet-dbus-perl
libnet-http-perl libnet-
libopenal-data libopenal1 libopenjp2-7 libopenmpt0 libopus0 liborc-0.4-0 libpango-1.0-0 libpangocairo-1.0-0
libpangoft2-1.0-0 libpciaccess0 libpcsclite1 libpgm-5.2-0 libpixman-1-0 libpostproc54 libproxy1v5 libpulse0
libpython2.7 libpython2.
libqt5network5 libqt5positioning5 libqt5printsupport5 libqt5qml5 libqt5quick5 libqt5sensors5 libqt5svg5
libqt5webchannel5 libqt5webkit5 libqt5widgets5 libraw1394-11 librest-0.7-0 librsvg2-2 librsvg2-common librubberband2
libsamplerate0 libsdl2-2.0-0 libsensors4 libshine3 libsm6 libsmbclient libsnappy1v5 libsndfile1 libsndio6.1
libsodium23 libsoup-gnome2.4-1 libsoup2.4-1 libsoxr0 libspeex1 libssh-gcrypt-4 libswresample2 libswscale4 libtalloc2
libtdb1 libtevent0 libthai-data libthai0 libtheora0 libtie-ixhash-perl libtiff5 libtimedate-perl libtry-tiny-perl
libtwolame0 libuchardet0 liburi-perl libva-drm2 libva-wayland2 libva-x11-2 libva2 libvdpau1 libvisual-0.4-0
libvorbis0a libvorbisenc2 libvorbisfile3 libvpx5 libwacom-bin libwacom-common libwacom2 libwavpack1
libwayland-
libwww-perl libwww-
libxcb-dri3-0 libxcb-glx0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-present0 libxcb-randr0
libxcb-
libxcb-xinerama0 libxcb-xkb1 libxcomposite1 libxcursor1 libxdamage1 libxfixes3 libxft2 libxi6 libxinerama1
libxkbcommon-
libxrandr2 libxrender1 libxshmfence1 libxss1 libxt6 libxtst6 libxv1 libxvidcore4 libxxf86dga1 libxxf86vm1 libzmq5
libzvbi-common libzvbi0 mesa-va-drivers mesa-vdpau-drivers modemmanager mpv perl-openssl-
python-talloc python3-pyxattr qt5-gtk-
usb-modeswitch usb-modeswitch-data va-driver-all vdpau-driver-all wpasupplicant x11-common x11-utils
x11-xserver-utils xdg-utils
Suggested packages:
avahi-autoipd cpp-doc gcc-7-locales ffmpeg-doc gvfs i965-va-
libdigest-
libfftw3-dev libvisual-
| zeroconf libportaudio2 opus-tools pcscd pulseaudio qt5-image-
libraw1394-doc librsvg2-bin lm-sensors sndiod speex libauthen-ntlm-perl libunicode-
xml-twig-tools python3-pyxattr-dbg python-pyxattr-doc comgt wvdial libvdpau-va-gl1 nvidia-vdpau-driver
nvidia-
The following NEW packages will be installed:
adwaita-
fontconfig-config fonts-dejavu-core gcc-7-base geoclue-2.0 glib-networking glib-networking
glib-
hicolor-
libasyncns0 libatk-bridge2.0-0 libatk1.0-0 libatk1.0-data libatspi2.0-0 libauthen-sasl-perl libavahi-client3
libavahi-
libavfilter6 libavformat57 libavresample3 libavutil55 libbdplus0 libbluray2 libbrotli1 libbs2b0 libcaca0
libcairo-gobject2 libcairo2 libcdio-cdda2 libcdio-paranoia2 libcdio17 libcdparanoia0 libchromaprint1 libcolord2
libcroco3 libcrystalhd3 libcups2 libdaemon0 libdata-dump-perl libdatrie1 libdc1394-22 libdconf1
libdouble-
libegl-mesa0 libegl1 libencode-
libfile-
libfontconfig1 libfontenc1 libgbm1 libgdk-pixbuf2.0-0 libgdk-
libgl1 libgl1-mesa-dri libgl1-mesa-glx libglapi-mesa libglvnd0 libglx-mesa0 libglx0 libgme0 libgomp1 libgraphite2-3
libgsm1 libgstreamer-
libharfbuzz0b libhtml-form-perl libhtml-format-perl libhtml-parser-perl libhtml-tagset-perl libhtml-tree-perl
libhttp-
libice6 libiec61883-0 libinput-bin libinput10 libio-html-perl libio-socket-
libisl19 libjack-jackd2-0 libjansson4 libjbig0 libjpeg-turbo8 libjpeg8 libjson-glib-1.0-0 libjson-
liblcms2-2 libldb1 libllvm6.0 liblua5.2-0 liblwp-
libmbim-glib4 libmbim-proxy libmm-glib0 libmp3lame0 libmpc3 libmpg123-0 libmtdev1 libmysofa0 libnet-dbus-perl
libnet-http-perl libnet-
libopenal-data libopenal1 libopenjp2-7 libopenmpt0 libopus0 liborc-0.4-0 libpango-1.0-0 libpangocairo-1.0-0
libpangoft2-1.0-0 libpciaccess0 libpcsclite1 libpgm-5.2-0 libpixman-1-0 libpostproc54 libproxy1v5 libpulse0
libpython2.7 libpython2.
libqt5network5 libqt5positioning5 libqt5printsupport5 libqt5qml5 libqt5quick5 libqt5sensors5 libqt5svg5
libqt5webchannel5 libqt5webkit5 libqt5widgets5 libraw1394-11 librest-0.7-0 librsvg2-2 librsvg2-common librubberband2
libsamplerate0 libsdl2-2.0-0 libsensors4 libshine3 libsm6 libsmbclient libsnappy1v5 libsndfile1 libsndio6.1
libsodium23 libsoup-gnome2.4-1 libsoup2.4-1 libsoxr0 libspeex1 libssh-gcrypt-4 libswresample2 libswscale4 libtalloc2
libtdb1 libtevent0 libthai-data libthai0 libtheora0 libtie-ixhash-perl libtiff5 libtimedate-perl libtry-tiny-perl
libtwolame0 libuchardet0 liburi-perl libva-drm2 libva-wayland2 libva-x11-2 libva2 libvdpau1 libvisual-0.4-0
libvorbis0a libvorbisenc2 libvorbisfile3 libvpx5 libwacom-bin libwacom-common libwacom2 libwavpack1
libwayland-
libwww-perl libwww-
libxcb-dri3-0 libxcb-glx0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-present0 libxcb-randr0
libxcb-
libxcb-xinerama0 libxcb-xkb1 libxcomposite1 libxcursor1 libxdamage1 libxfixes3 libxft2 libxi6 libxinerama1
libxkbcommon-
libxrandr2 libxrender1 libxshmfence1 libxss1 libxt6 libxtst6 libxv1 libxvidcore4 libxxf86dga1 libxxf86vm1 libzmq5
libzvbi-common libzvbi0 mesa-va-drivers mesa-vdpau-drivers modemmanager mpv perl-openssl-
python-talloc python3-pyxattr qt5-gtk-
usb-modeswitch usb-modeswitch-data va-driver-all vdpau-driver-all wpasupplicant x11-common x11-utils
x11-xserver-utils xdg-utils youtube-dl
0 upgraded, 326 newly installed, 0 to remove and 0 not upgraded.
Need to get 123 MB of archives.
After this operation, 623 MB of additional disk space will be used.
Do you want to continue? [Y/n]
tags: | added: bionic cosmic |
I can confirm this behaviour on Ubuntu 18.04.1, minimal installation. When I tried to install Lollypop music player from PPA (https:/ /launchpad. net/~gnumdk/ +archive/ ubuntu/ lollypop) I got this
The following additional packages will be installed: totemplparser- 1.0 i965-va-driver libaacs0 libass9 libavcodec57 conversion1 libdvdnav4 libdvdread4 libflite1 libgme0 webencodings qt5-gtk- platformtheme qttranslations5 -l10n rtmpdump
ffmpeg gir1.2-
libavdevice57 libavfilter6 libavformat57 libavresample3 libavutil55
libbdplus0 libbluray2 libbrotli1 libbs2b0 libchromaprint1 libcrystalhd3
libdc1394-22 libdouble-
libgsm1 liblua5.2-0 libmysofa0 libnorm1 libopenal-data libopenal1
libopenjp2-7 libopenmpt0 libpgm-5.2-0 libpostproc54 libqt5core5a libqt5dbus5
libqt5gui5 libqt5network5 libqt5positioning5 libqt5printsupport5 libqt5qml5
libqt5quick5 libqt5sensors5 libqt5svg5 libqt5webchannel5 libqt5webkit5
libqt5widgets5 librubberband2 libsdl2-2.0-0 libshine3 libsnappy1v5
libsndio6.1 libsoxr0 libssh-gcrypt-4 libswresample2 libswscale4 libuchardet0
libva-drm2 libva-wayland2 libva-x11-2 libva2 libvdpau1 libwoff1 libx264-152
libx265-146 libxcb-xinerama0 libxvidcore4 libzmq5 libzvbi-common libzvbi0
lollypop-portal mesa-va-drivers mesa-vdpau-drivers mpv phantomjs python3-bs4
python3-html5lib python3-lxml python3-pylast python3-pyxattr
python3-
va-driver-all vdpau-driver-all youtube-dl
Almost all (or maybe even all) dependencies here are because of the youtube-dl package. Ultimately I did a workaround by installing Lollypop without recommended dependencies (youtube-dl being of them). I'm not sure how I can I display a dependency tree, I suspect that pulling the ffmpeg package is one of the reason. Though why all these QT5 deps are here I have not idea.