-
-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Description
Hi, there!
I develope flutter application on ubuntu, I want to use local_notifier, but when I run the following command :
sudo apt-get install libnotify-dev
I got the error:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libgdk-pixbuf2.0-dev : Depends: libgdk-pixbuf2.0-0 (= 2.40.0+dfsg-3ubuntu0.4) but it is not going to be installed
Depends: libgdk-pixbuf2.0-bin (= 2.40.0+dfsg-3ubuntu0.4)
Depends: gir1.2-gdkpixbuf-2.0 (= 2.40.0+dfsg-3ubuntu0.4) but 2.42.6+dfsg-1build2 is to be installed
Depends: libglib2.0-dev (>= 2.37.6) but it is not going to be installed
Depends: libx11-dev but it is not going to be installed
Depends: libpng-dev (>= 1.6) but it is not going to be installed
Depends: libpng-dev (< 1.7) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Any suggestion to me?
maybe following info is useful:
xxx@yyy:~$ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.3.3, on Ubuntu 21.10 5.13.0-19-generic, locale en_US.UTF-8)
[!] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
! Some Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses
[✗] Chrome - develop for the web (Cannot find Chrome executable at google-chrome)
! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.
[✓] Linux toolchain - develop for Linux desktop
[✓] Android Studio (version 2021.2)
[✓] Android Studio
[✓] VS Code (version 1.71.0)
[✓] Connected device (1 available)
HTTP Host availability check is taking a long time...[☠] HTTP Host Availability (the doctor check crashed)
✗ Due to an error, the doctor check did not complete. If the error message below is not helpful, please let us know about this issue at
https://github.com/flutter/flutter/issues.
✗ Exception: HTTP Host Availability exceeded maximum allowed duration of 0:10:00.000000
! Doctor found issues in 3 categories.
Metadata
Metadata
Assignees
Labels
No labels