惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
U
Unit 42
GbyAI
GbyAI
M
MIT News - Artificial intelligence
美团技术团队
罗磊的独立博客
雷峰网
雷峰网
量子位
博客园 - 【当耐特】
Last Week in AI
Last Week in AI
D
Docker
小众软件
小众软件
S
SegmentFault 最新的问题
Blog — PlanetScale
Blog — PlanetScale
阮一峰的网络日志
阮一峰的网络日志
宝玉的分享
宝玉的分享
T
Tailwind CSS Blog
WordPress大学
WordPress大学
V
V2EX
博客园_首页
腾讯CDC
The Cloudflare Blog
A
About on SuperTechFans
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC

StudyingLover's Blog

Diffusion Policy笔记 rwkv笔记 act笔记 nanovllm-block_manager opencode多智能体 nanobot-pre-train nanobot-rl nanobot-sft nanobot-checkpoint_manager nanobot-gpt nanobot-mid-train Vision Mamba (Vim)笔记 BPE演示 最后一遍学习Transformer YOLOv5 目标检测笔记 下载根服务器解析记录 Dynaseal A Backend-Controlled LLM API Key Distribution Scheme with Constrained Invocation Parameters 判断链表有环 王道25数据结构勘误 关于perplexity的open-sourcing-r1-1776 AI为什么不像人类一样进行多轮对话 新博客改造日记和功能测试 linuxqq只显示登陆背景图 数字设计和计算机体系结构(机械工业出版社)勘误(自制) Dynaseal:面向未来端侧llm agent的llm api key分发机制 A Definitive Guide to Markdown Style This post is using MDX, Where you can embed JSX and Astro components RT-Patch学习 pydantic实现的LLM ReAct fastapi 和 uvicorn 设置监听 ipv6
arch4edu搞崩了我的flutter
About the Author StudyingLover · 2023-08-20 · via StudyingLover's Blog

arch4edu搞崩了我的flutter

今天是快乐的一天,适合滚包

yay

一切安好,arch4edu说我的flutter需要更新

==> 要排除的包: (示例: "1 2 3", "1-3", "^4" 或软件库名称)
 -> 排除软件包可能会导致不完整的升级并破坏系统
==> 

没什么需要排除的,接下来就是愉快的自动安装

突然我看到了这个

image.png

警告啦,没啥好担心的啦,待会跑一下看好着没

flutter doctor                     
Found an existing Pub cache at /home/zjh/.pub-cache.
It can be repaired by running `dart pub cache repair`.
It can be reset by running `dart pub cache clean`.
Found an existing Dart Analysis Server cache at /home/zjh/.dartServer.
It can be reset by deleting /home/zjh/.dartServer.
Flutter failed to write to a file at "/opt/flutter/packages/flutter_tools/.dart_tool/version".
Please ensure that the SDK and/or project is installed in a location that has read/write
permissions for the current user.
Try running:
  sudo chown -R $(whoami) /opt/flutter/packages/flutter_tools/.dart_tool/version

好的他炸了

看着问题不大,就是读写权限的问题,的问题?鬼知道会有啥问题,我决定让arch4edu滚蛋

sudo pacman -Rns flutter把arch4edu的flutter删掉,然后去/etc/pacman.conf 删除了arch4edu镜像,再sudo pacman -Syu滚一遍包,最后yay flutter

中间会有一个问题

错误:无法提交处理 (有冲突的文件)
flutter: 文件系统中已存在 /opt/flutter/bin/cache/flutter_version_check.stamp 
发生错误,没有软件包被更新。

ok,sudo直接删就行,反正是cache

最后flutter docker

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.13.0, on Arch Linux 6.4.10-arch1-1, locale zh_CN.UTF-8)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Chrome - develop for the web
[✓] Linux toolchain - develop for Linux desktop
[✓] Android Studio (version 2022.2)
[✓] Connected device (2 available)
[✓] Network resources

 No issues found!