You are not logged in.
I'm having issues installing flutter packages: https://aur.archlinux.org/pkgbase/flutter.
First, I built them using makepkg without any problems:
$ git clone https://aur.archlinux.org/flutter.git
$ cd flutter && makepkg
$ cd ..
$ git clone https://aur.archlinux.org/flutter-artifacts-google-bin.git
$ cd flutter-artifacts-google-bin && makepkg
Then, I started installing them one by one with pacman:
$ cd ../flutter
$ sudo pacman -U flutter-common-3.29.0-3-x86_64.pkg.tar.zst
$ sudo pacman -U flutter-tool-3.29.0-3-x86_64.pkg.tar.zst
$ sudo pacman -U flutter-devel-3.29.0-3-x86_64.pkg.tar.zst
When I tried to install flutter-devel it raised a file conflict error (likely with flutter-tool package):
...
flutter-devel: /usr/lib/flutter/packages/flutter_tools/templates/xcode/ios/custom_application_bundle/README.md already exists in filesystem
flutter-devel: /usr/lib/flutter/packages/flutter_tools/templates/xcode/ios/custom_application_bundle/Runner.xcodeproj.tmpl/project.pbxproj already exists in filesystem
flutter-devel: /usr/lib/flutter/packages/flutter_tools/templates/xcode/ios/custom_application_bundle/Runner.xcodeproj.tmpl/project.xcworkspace/contents.xcworkspacedata already exists in filesystem
flutter-devel: /usr/lib/flutter/packages/flutter_tools/templates/xcode/ios/custom_application_bundle/Runner.xcodeproj.tmpl/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist already exists in filesystem
flutter-devel: /usr/lib/flutter/packages/flutter_tools/templates/xcode/ios/custom_application_bundle/Runner.xcodeproj.tmpl/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings already exists in filesystem
flutter-devel: /usr/lib/flutter/packages/flutter_tools/templates/xcode/ios/custom_application_bundle/Runner.xcodeproj.tmpl/xcshareddata/xcschemes/Runner.xcscheme.tmpl already exists in filesystem
flutter-devel: /usr/lib/flutter/packages/flutter_tools/templates/xcode/ios/custom_application_bundle/Runner.xcworkspace.tmpl/contents.xcworkspacedata already exists in filesystem
flutter-devel: /usr/lib/flutter/packages/flutter_tools/templates/xcode/ios/custom_application_bundle/Runner.xcworkspace.tmpl/xcshareddata/IDEWorkspaceChecks.plist already exists in filesystem
flutter-devel: /usr/lib/flutter/packages/flutter_tools/templates/xcode/ios/custom_application_bundle/Runner.xcworkspace.tmpl/xcshareddata/WorkspaceSettings.xcsettings already exists in filesystem
Errors occurred, no packages were upgraded
I already commented the issue at the AUR package page: https://aur.archlinux.org/packages/flut … nt-1013364.
Thank you in advance.
EDIT: I deleted the folder /usr/lib/flutter/packages/flutter_tools/templates and it worked:
$ sudo rm -rf /usr/lib/flutter/packages/flutter_tools/templates
$ sudo pacman -U flutter-devel-3.29.0-3-x86_64.pkg.tar.zst
Last edited by ian-melo (2025-02-27 18:17:00)
Offline