Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

新装的Ubuntu 24.04.1 LTS 无法安装环境 #12513

Closed
1 task done
chiyu521 opened this issue Oct 2, 2024 · 17 comments
Closed
1 task done

新装的Ubuntu 24.04.1 LTS 无法安装环境 #12513

chiyu521 opened this issue Oct 2, 2024 · 17 comments

Comments

@chiyu521
Copy link

chiyu521 commented Oct 2, 2024

详细叙述

chiyu@chiyu-Home:~$ sudo apt install -y ack antlr3 asciidoc autoconf automake autopoint binutils bison build-essential
bzip2 ccache cmake cpio curl device-tree-compiler fastjar flex gawk gettext gcc-multilib g++-multilib
git gperf haveged help2man intltool libc6-dev-i386 libelf-dev libfuse-dev libglib2.0-dev libgmp3-dev
libltdl-dev libmpc-dev libmpfr-dev libncurses5-dev libncursesw5-dev libpython3-dev libreadline-dev
libssl-dev libtool lrzsz mkisofs msmtp ninja-build p7zip p7zip-full patch pkgconf python2.7 python3
python3-pyelftools python3-setuptools qemu-utils rsync scons squashfs-tools subversion swig texinfo
uglifyjs upx-ucl unzip vim wget xmlto xxd zlib1g-dev
正在读取软件包列表... 完成
正在分析软件包的依赖关系树... 完成
正在读取状态信息... 完成
注意,选中 'libncurses-dev' 而非 'libncurses5-dev'
注意,选中 'libncurses-dev' 而非 'libncursesw5-dev'
注意,选中 'genisoimage' 而非 'mkisofs'
E: 无法定位软件包 python2.7
E: 无法按照 glob ‘python2.7’ 找到任何软件包

重复 issue

  • 没有类似的 issue

具体型号

Ubuntu 24.04.1 LTS

详细日志

@oppen321
Copy link

oppen321 commented Oct 2, 2024

不是写了推荐用debian11和ubuntu22.04吗

@chiyu521
Copy link
Author

chiyu521 commented Oct 2, 2024

官网最低是23.10 本来想重装系统 顺便换最新的了

@oppen321
Copy link

oppen321 commented Oct 2, 2024

你可以去这里https://cdimage.debian.org/cdimage/archive 下载debian11的镜像

@hzmax0416
Copy link

官网最低是23.10 本来想重装系统 顺便换最新的了

官网有22.04版本啊

@XuHuapeng001
Copy link

碰到过一样的问题,把出错/找不到的软件包从命令行删掉不安装就可以了,最终编译没有问题。

@hcym
Copy link

hcym commented Oct 2, 2024

刚刚也是全新的,少几个出错的没什么问题
编译的插件多的话还是用22稳妥

@xingshu1990
Copy link

xingshu1990 commented Oct 4, 2024

国庆期间刚用vbox+ubuntu22.04编译了树莓派3B+的 基于LEDE的openwrt固件,虽然编译出来后的挂载点可能还有问题。

@fireflyddt
Copy link

官网最低是23.10 本来想重装系统 顺便换最新的了

国内的话 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-releases/ 清华源 可以千兆满速下载

@xingshu1990
Copy link

官网最低是23.10 本来想重装系统 顺便换最新的了

国内的话 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-releases/ 清华源 可以千兆满速下载

ubuntu丢给迅雷,满速下载。
相对于ubuntu来说,编译过程中的dl库的下载才叫折磨,除非没有洁癖,事先下载DL库。

@l4326769
Copy link

l4326769 commented Oct 5, 2024

不装插件的话debian11的编译器够用,装插件的话还是ubuntu2204吧,debian12有三个包装不上

@qingtian110
Copy link

ubuntu 24.04: https://github.com/sbwml/actions/blob/openwrt-build-setup/action.yml#L12

@hcym
Copy link

hcym commented Oct 27, 2024

我也退到2204.5,不然clan13搞不定,不能编译daed呆鹅

@hgq5
Copy link

hgq5 commented Oct 28, 2024

我用的就是24.04.01版本,并未有你的这个情况,不同的地方是我直接安装24.04.01,还有就是安装时选的时最小安装方式,并不是升级上来的。

@coolsnowwolf coolsnowwolf pinned this issue Nov 20, 2024
@Michaol
Copy link

Michaol commented Nov 29, 2024

24.04编译只需要以下这些包:build-essential clang flex bison g++ gawk gcc-multilib g++-multilib gettext git libncurses5-dev libssl-dev python3-setuptools rsync swig unzip zlib1g-dev file wget

@evenwangcn
Copy link

ubuntu 24.04: https://github.com/sbwml/actions/blob/openwrt-build-setup/action.yml#L12

CI的话,添加以下这行添加缺失的源
sudo bash -c "curl -skL https://raw.githubusercontent.com/sbwml/actions/openwrt-build-setup/sources-24.04.list > /etc/apt/sources.list"

@d975xbx
Copy link

d975xbx commented Dec 10, 2024

debain12,ubuntu24.04都正常编译

@liwenjie119
Copy link
Contributor

现在action应该是更新到24.04了吧?安装依赖会报错tex-common
Building format(s) --all.
This may take some time...
fmtutil failed. Output has been stored in
/tmp/fmtutil.QHcamtV1
Please include this file if you report a bug.

dpkg: error processing package tex-common (--configure):
installed tex-common package post-installation script subprocess returned error exit status 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests