Package Details: flutter-artifacts-dart-google-bin 3.38.1-3

Git Clone URL: https://aur.archlinux.org/flutter.git (read-only, click to copy)
Package Base: flutter
Description: Flutter SDK component - Dart SDK
Upstream URL: https://flutter.dev
Keywords: android fuchsia ios mobile sdk
Licenses: custom, BSD, CCPL
Groups: flutter
Conflicts: dart
Provides: dart
Submitter: flipflop97
Maintainer: WithTheBraid
Last Packager: WithTheBraid
Votes: 151
Popularity: 0.62
First Submitted: 2017-06-05 21:03 (UTC)
Last Updated: 2025-11-23 12:41 (UTC)

Required by (13)

Sources (43)

Pinned Comments

WithTheBraid commented on 2025-11-11 10:15 (UTC)

This package is deprecated in favor of aur/flutter which now contains all required artifacts on its own. This PKGBUILD will be kept as is in order to ensure seamless builds of old Flutter version in future.

Latest Comments

« First ‹ Previous 1 .. 17 18 19 20 21 22 23 24 25 26 27 Next › Last »

hossamdash commented on 2021-01-12 11:50 (UTC) (edited on 2021-01-12 11:53 (UTC) by hossamdash)

so i have installed this package but was facing two issues: Although i had the dart package installed on my system -which this package depends on-, both installing this package for the first time and each flutter doctor -v command results in the redownload of the dark-sdk which is inside /opt/flutter/bin/cache disregarding both the existing dark-sdk in the cache and the standalone dart package installed on my system. to solve this i did two things, i uninstalled the standalone dart sdk and then added a line to the build files of this package right after the chmod -R g+w /opt/flutter line. this line is chmod g+s /opt/flutter makes any files created within the /opt/flutter path inherit the group flutterusers which stops flutter doctor from redownloading the dart-sdk.

francescortiz commented on 2020-12-31 10:06 (UTC)

I think that flutter is designed to be self-upgraded. Hence in the end I decided to clone flutter repo instead of using AUR.

midhun commented on 2020-12-31 03:22 (UTC)

Getting failed to commit transaction error.

Using the --overwrite /opt/flutter/packages/flutter_tools/.packages option solves the issue, but the question is, is it fine to overwrite?

bkb commented on 2020-12-30 13:31 (UTC) (edited on 2020-12-31 09:48 (UTC) by bkb)

same

resolved with


$ mv /opt/flutter/packages/flutter_tools/.packages /opt/flutter/packages/flutter_tools/.packages.old

But I experience a LOT of

warning: directory permissions differ on $
filesystem: 775  package: 755

I experienced basic packages missing on my projects (incorrect URI), idk if it's related but I was able to correct that with flutter pub/packages get and a lot of restart/reloads

francescortiz commented on 2020-12-27 22:54 (UTC)

I get the followeing:

error: failed to commit transaction (conflicting files) flutter: /opt/flutter/packages/flutter_tools/.packages exists in filesystem Errors occurred, no packages were upgraded.

frealgagu commented on 2020-12-05 22:36 (UTC)

I maintain the latest built package at:

https://github.com/frealgagu/archlinux.flutter/releases/

midhun commented on 2020-10-16 07:32 (UTC) (edited on 2020-12-28 08:20 (UTC) by midhun)

(solved) I cannot get to update flutter. having conflict error. Is it because I did >flutter upgrade ?

error: failed to commit transaction (conflicting files) flutter: /opt/flutter/.github/ISSUE_TEMPLATE/1_activation.md exists in filesystem flutter: /opt/flutter/.github/ISSUE_TEMPLATE/2_bug.md exists in filesystem flutter: /opt/flutter/.github/ISSUE_TEMPLATE/3_feature_request.md exists in filesystem flutter: /opt/flutter/.github/ISSUE_TEMPLATE/4_performance_others.md exists in filesystem flutter: /opt/flutter/.github/ISSUE_TEMPLATE/5_performance_speed.md exists in filesystem flutter: /opt/flutter/.github/ISSUE_TEMPLATE/6_infrastructure.md exists in filesystem flutter: /opt/flutter/.github/ISSUE_TEMPLATE/config.yml exists in filesystem flutter: /opt/flutter/dev/benchmarks/complex_layout/ios/Flutter/Debug.xcconfig exists in filesystem flutter: /opt/flutter/dev/benchmarks/complex_layout/ios/Flutter/Release.xcconfig exists in filesystem flutter: /opt/flutter/dev/benchmarks/complex_layout/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings exists in filesystem ...

EDIT: OK just delete the directory and a clean install solves the issue.

bkb commented on 2020-09-04 09:47 (UTC) (edited on 2020-09-04 09:51 (UTC) by bkb)

yay -S flutter-group-pacman-hook
chgrp -R flutterusers /opt/flutter
chmod g+w /opt/flutter
sudo usermod -a -G flutterusers $USER

Is not enough to execute flutter as non-root, someone getted it to work here?

flutter 
        create $PROJECT
        doctor

Failed to open or create the artifact cache lockfile: "FileSystemException: Cannot open file, path = '/opt/flutter/bin/cache/lockfile' (OS Error: Permission denied, errno = 13)"
Please ensure you have permissions to create or open /opt/flutter/bin/cache/lockfile
Failed to open or create the lockfile

FirstAirBender commented on 2020-08-06 18:38 (UTC)

@solstice, you can use this pacman hook to achieve the same thing:

https://aur.archlinux.org/packages/flutter-group-pacman-hook/

solsticedhiver commented on 2020-07-15 11:34 (UTC)

You forgot to add a post_upgrade() in .install:

chgrp -R flutterusers /opt/flutter
chmod g+w /opt/flutter

Otherwise, an upgrade will cause problem