bluefireteam / audioplayers

A Flutter package to play multiple audio files simultaneously (Android/iOS/web/Linux/Windows/macOS)
https://pub.dartlang.org/packages/audioplayers
MIT License
1.97k stars 842 forks source link

Using this plugin on Ubuntu 22.04: apt-get libgstreamer-plugins-base1.0-dev will entirely remove my gnome desktop environment!! #1124

Closed eggfly closed 2 years ago

eggfly commented 2 years ago
$ sudo apt install libgstreamer-plugins-base1.0-dev 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  acl apg aptdaemon-data apturl-common bluez-obexd bolt busybox-initramfs colord-data desktop-file-utils fdisk gdisk genisoimage
  gir1.2-accountsservice-1.0 gir1.2-adw-1 gir1.2-dbusmenu-glib-0.4 gir1.2-dee-1.0 gir1.2-gck-1 gir1.2-gcr-3 gir1.2-gdm-1.0 gir1.2-geoclue-2.0
  gir1.2-gnomebluetooth-3.0 gir1.2-goa-1.0 gir1.2-graphene-1.0 gir1.2-gtk-4.0 gir1.2-gweather-3.0 gir1.2-javascriptcoregtk-4.0 gir1.2-json-1.0
  gir1.2-mutter-10 gir1.2-nm-1.0 gir1.2-nma-1.0 gir1.2-rb-3.0 gir1.2-rsvg-2.0 gir1.2-snapd-1 gir1.2-soup-2.4 gir1.2-udisks-2.0 gir1.2-unity-7.0
  gir1.2-upowerglib-1.0 gir1.2-vte-2.91 gir1.2-webkit2-4.0 gkbd-capplet gnome-bluetooth-3-common gnome-bluetooth-common gnome-control-center-faces
  gnome-online-accounts gnome-session-common gnome-settings-daemon-common gnome-shell-common gstreamer1.0-pipewire gvfs-common gvfs-libs hplip-data
  initramfs-tools-bin klibc-utils libatasmart4 libblockdev-crypto2 libblockdev-fs2 libblockdev-loop2 libblockdev-part-err2 libblockdev-part2
  libblockdev-swap2 libblockdev-utils2 libblockdev2 libbluetooth3 libcolord-gtk1 libcolorhug2 libcue2 libdmapsharing-3.0-2 libfdisk1 libflashrom1
  libfprint-2-2 libfreerdp-server2-2 libftdi1-2 libfwupd2 libfwupdplugin5 libgcab-1.0-0 libgdm1 libgif7 libgnome-autoar-0-0
  libgnome-bluetooth-3.0-13 libgnome-bluetooth13 libgnomekbd-common libgnomekbd8 libgoa-backend-1.0-1 libgpod-common libgpod4 libgsf-1-114
  libgsf-1-common libgsound0 libgssdp-1.2-0 libgupnp-1.2-1 libgupnp-av-1.0-3 libgupnp-dlna-2.0-4 libhpmud0 libieee1284-3 libimagequant0
  libimobiledevice6 libjcat1 libklibc liblirc-client0 libmbim-glib4 libmbim-proxy libmtp-common libmtp-runtime libmtp9 libmutter-10-0 libndp0
  libnfs13 libnm0 libnma-common libnma0 libnvidia-cfg1-510 libparted-fs-resize0 libpkcs11-helper1 libplist3 libplymouth5 libpulse-mainloop-glib0
  libqmi-glib5 libqmi-proxy libraqm0 librhythmbox-core10 librygel-core-2.6-2 librygel-db-2.6-2 librygel-renderer-2.6-2 librygel-server-2.6-2
  libsane-common libsane-hpaio libsbc1 libsgutils2-2 libsmbios-c2 libsnmp-base libsnmp40 libsysmetrics1 libteamdctl0 libudisks2-0 libusbmuxd6
  libvncserver1 libvolume-key1 libxatracker2 libxcb-res0 libxcb-xv0 libxcvt0 libxfont2 libxklavier16 libxvmc1 linux-sound-base
  mobile-broadband-provider-info mutter mutter-common nautilus-data openvpn power-profiles-daemon ppp pptp-linux printer-driver-hpcups
  printer-driver-postscript-hp python3-click python3-colorama python3-dateutil python3-defer python3-macaroonbakery python3-mako python3-markupsafe
  python3-olefile python3-pil python3-protobuf python3-pymacaroons python3-renderpm python3-reportlab python3-reportlab-accel python3-rfc3339
  python3-software-properties python3-tz python3-xkit rhythmbox-data rygel sane-airscan switcheroo-control tracker tracker-extract tracker-miner-fs
  ubuntu-advantage-desktop-daemon unattended-upgrades usbmuxd x11-apps x11-session-utils x11-xkb-utils xbitmaps xcvt xfonts-base xfonts-scalable
  xinit xinput xserver-common xserver-xephyr xserver-xorg-legacy xwayland
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  libdrm-dev libgbm-dev libgudev-1.0-dev liborc-0.4-dev liborc-0.4-dev-bin libpciaccess-dev libudev-dev libudev1 libudev1:i386 libx11-xcb-dev
Suggested packages:
  liborc-0.4-doc
The following packages will be REMOVED:
  alsa-base aptdaemon apturl bluez brltty colord dbus-user-session fprintd fwupd gdm3 gnome-bluetooth gnome-control-center gnome-disk-utility
  gnome-initial-setup gnome-power-manager gnome-remote-desktop gnome-session-bin gnome-settings-daemon gnome-shell
  gnome-shell-extension-appindicator gnome-shell-extension-desktop-icons-ng gnome-shell-extension-ubuntu-dock gstreamer1.0-packagekit gvfs
  gvfs-backends gvfs-daemons gvfs-fuse hplip initramfs-tools initramfs-tools-core language-selector-gnome libpam-fprintd libpam-systemd libsane1
  libtss2-esys-3.0.2-0 libtss2-mu0 libtss2-sys1 libtss2-tcti-cmd0 libtss2-tcti-device0 libtss2-tcti-mssim0 libtss2-tcti-swtpm0 libu2f-udev
  media-player-info nautilus nautilus-share network-manager network-manager-config-connectivity-ubuntu network-manager-gnome network-manager-openvpn
  network-manager-openvpn-gnome network-manager-pptp network-manager-pptp-gnome packagekit pkexec plymouth plymouth-label plymouth-theme-spinner
  plymouth-theme-ubuntu-text policykit-1 polkitd pulseaudio-module-bluetooth python3-aptdaemon python3-aptdaemon.gtk3widgets rhythmbox
  rhythmbox-plugin-alternative-toolbar rhythmbox-plugins sane-utils simple-scan snapd software-properties-common software-properties-gtk
  systemd-oomd systemd-timesyncd tpm-udev ubuntu-desktop ubuntu-desktop-minimal ubuntu-drivers-common ubuntu-release-upgrader-gtk ubuntu-session
  udev udisks2 update-manager update-notifier upower usb-creator-common usb-creator-gtk xorg xserver-xorg xserver-xorg-core xserver-xorg-input-all
  xserver-xorg-input-libinput xserver-xorg-input-wacom xserver-xorg-video-all xserver-xorg-video-amdgpu xserver-xorg-video-ati
  xserver-xorg-video-fbdev xserver-xorg-video-intel xserver-xorg-video-nouveau xserver-xorg-video-nvidia-510 xserver-xorg-video-qxl
  xserver-xorg-video-radeon xserver-xorg-video-vesa xserver-xorg-video-vmware
The following NEW packages will be installed:
  libdrm-dev libgbm-dev libgstreamer-plugins-base1.0-dev libgudev-1.0-dev liborc-0.4-dev liborc-0.4-dev-bin libpciaccess-dev libudev-dev
  libx11-xcb-dev
The following packages will be upgraded:
  libudev1 libudev1:i386
2 upgraded, 9 newly installed, 103 to remove and 17 not upgraded.
Need to get 0 B/1,262 kB of archives.
After this operation, 191 MB disk space will be freed.
eggfly commented 2 years ago

On Ubuntu 18.04 that is OK:

sudo apt-get install libgstreamer-plugins-base1.0-dev 
正在读取软件包列表... 完成
正在分析软件包的依赖关系树       
正在读取状态信息... 完成       
将会同时安装下列软件:
  autoconf automake autopoint autotools-dev build-essential debhelper dh-autoreconf dh-strip-nondeterminism dpkg-dev fakeroot g++ g++-7 gcc gcc-7 libalgorithm-diff-perl libalgorithm-diff-xs-perl
  libalgorithm-merge-perl libarchive-cpio-perl libasan4 libatomic1 libc-dev-bin libc6 libc6-dbg libc6-dev libcilkrts5 libdrm-dev libegl1-mesa-dev libfakeroot libfile-stripnondeterminism-perl libgcc-7-dev
  libgl1-mesa-dev libgles1 libgles2-mesa-dev libglib2.0-0 libglib2.0-bin libglib2.0-dev libglib2.0-dev-bin libglvnd-core-dev libglvnd-dev libgstreamer1.0-dev libitm1 liblsan0 libltdl-dev libmail-sendmail-perl libmpx2
  libopengl0 liborc-0.4-dev liborc-0.4-dev-bin libpcre16-3 libpcre3-dev libpcre32-3 libpcrecpp0v5 libpthread-stubs0-dev libquadmath0 libsigsegv2 libstdc++-7-dev libsys-hostname-long-perl libtool libtsan0 libubsan0
  libwayland-bin libwayland-dev libx11-dev libx11-doc libx11-xcb-dev libxau-dev libxcb-dri2-0-dev libxcb-dri3-dev libxcb-glx0-dev libxcb-present-dev libxcb-randr0-dev libxcb-render0-dev libxcb-shape0-dev
  libxcb-sync-dev libxcb-xfixes0-dev libxcb1-dev libxdamage-dev libxdmcp-dev libxext-dev libxfixes-dev libxshmfence-dev libxxf86vm-dev linux-libc-dev m4 make manpages-dev mesa-common-dev pkg-config po-debconf
  python3-distutils python3-lib2to3 x11proto-core-dev x11proto-damage-dev x11proto-dev x11proto-fixes-dev x11proto-xext-dev x11proto-xf86vidmode-dev xorg-sgml-doctools xtrans-dev zlib1g zlib1g-dev
建议安装:
  autoconf-archive gnu-standards autoconf-doc dh-make dwz debian-keyring g++-multilib g++-7-multilib gcc-7-doc libstdc++6-7-dbg gcc-multilib flex bison gcc-doc gcc-7-multilib gcc-7-locales libgcc1-dbg libgomp1-dbg
  libitm1-dbg libatomic1-dbg libasan4-dbg liblsan0-dbg libtsan0-dbg libubsan0-dbg libcilkrts5-dbg libmpx2-dbg libquadmath0-dbg glibc-doc libglib2.0-doc gstreamer1.0-doc libtool-doc liborc-0.4-doc libstdc++-7-doc
  gfortran | fortran95-compiler gcj-jdk libwayland-doc libxcb-doc libxext-doc m4-doc make-doc libmail-box-perl
下列【新】软件包将被安装:
  autoconf automake autopoint autotools-dev build-essential debhelper dh-autoreconf dh-strip-nondeterminism dpkg-dev fakeroot g++ g++-7 gcc gcc-7 libalgorithm-diff-perl libalgorithm-diff-xs-perl
  libalgorithm-merge-perl libarchive-cpio-perl libasan4 libatomic1 libc-dev-bin libc6-dev libcilkrts5 libdrm-dev libegl1-mesa-dev libfakeroot libfile-stripnondeterminism-perl libgcc-7-dev libgl1-mesa-dev libgles1
  libgles2-mesa-dev libglib2.0-dev libglib2.0-dev-bin libglvnd-core-dev libglvnd-dev libgstreamer-plugins-base1.0-dev libgstreamer1.0-dev libitm1 liblsan0 libltdl-dev libmail-sendmail-perl libmpx2 libopengl0
  liborc-0.4-dev liborc-0.4-dev-bin libpcre16-3 libpcre3-dev libpcre32-3 libpcrecpp0v5 libpthread-stubs0-dev libquadmath0 libsigsegv2 libstdc++-7-dev libsys-hostname-long-perl libtool libtsan0 libubsan0
  libwayland-bin libwayland-dev libx11-dev libx11-doc libx11-xcb-dev libxau-dev libxcb-dri2-0-dev libxcb-dri3-dev libxcb-glx0-dev libxcb-present-dev libxcb-randr0-dev libxcb-render0-dev libxcb-shape0-dev
  libxcb-sync-dev libxcb-xfixes0-dev libxcb1-dev libxdamage-dev libxdmcp-dev libxext-dev libxfixes-dev libxshmfence-dev libxxf86vm-dev linux-libc-dev m4 make manpages-dev mesa-common-dev pkg-config po-debconf
  python3-distutils python3-lib2to3 x11proto-core-dev x11proto-damage-dev x11proto-dev x11proto-fixes-dev x11proto-xext-dev x11proto-xf86vidmode-dev xorg-sgml-doctools xtrans-dev zlib1g-dev
下列软件包将被升级:
  libc6 libc6-dbg libglib2.0-0 libglib2.0-bin zlib1g
Gustl22 commented 2 years ago

I tried it on Ubuntu 22.04 and didn't get any of this:

sudo apt install -y libgstreamer-plugins-base1.0-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
  libgstreamer-plugins-base1.0-dev
0 upgraded, 1 newly installed, 0 to remove and 8 not upgraded.
Need to get 433 kB of archives.
After this operation, 5.996 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu jammy/main amd64 libgstreamer-plugins-base1.0-dev amd64 1.20.1-1 [433 kB]
Fetched 433 kB in 1s (558 kB/s)                           
Selecting previously unselected package libgstreamer-plugins-base1.0-dev:amd64.
(Reading database ... 284286 files and directories currently installed.)
Preparing to unpack .../libgstreamer-plugins-base1.0-dev_1.20.1-1_amd64.deb ...
Unpacking libgstreamer-plugins-base1.0-dev:amd64 (1.20.1-1) ...
Setting up libgstreamer-plugins-base1.0-dev:amd64 (1.20.1-1) ...

You are sure that you didn't update something beforehand or replaced the desktop with some other packages? What output do you get on 22.04 when uninstalling libgstreamer-plugins-base1.0-dev and installing an existing package, to double-check that's a problem of libgstreamer-plugins-base1.0-dev.

And even if so, I think here's not the right place to post the issue, as it's clearly system related and has nothing to do with this package on itself. There's nothing that audioplayers team can do about it. Contact the developers directly if you're absolutely sure about your observation: https://gitlab.freedesktop.org/gstreamer/gstreamer

Gustl22 commented 2 years ago

@eggfly can you close? As it turns out not to be the fault of audioplayers...