lede icon indicating copy to clipboard operation
lede copied to clipboard

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

Open chiyu521 opened this issue 1 year ago • 11 comments

详细叙述

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

  • [X] 没有类似的 issue

具体型号

Ubuntu 24.04.1 LTS

详细日志

chiyu521 avatar Oct 02 '24 02:10 chiyu521

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

ghost avatar Oct 02 '24 02:10 ghost

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

chiyu521 avatar Oct 02 '24 02:10 chiyu521

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

ghost avatar Oct 02 '24 03:10 ghost

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

官网有22.04版本啊

hzmax0416 avatar Oct 02 '24 08:10 hzmax0416

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

XuHuapeng001 avatar Oct 02 '24 11:10 XuHuapeng001

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

hcym avatar Oct 02 '24 12:10 hcym

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

xingshu1990 avatar Oct 04 '24 01:10 xingshu1990

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

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

fireflyddt avatar Oct 05 '24 02:10 fireflyddt

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

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

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

xingshu1990 avatar Oct 05 '24 02:10 xingshu1990

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

l4326769 avatar Oct 05 '24 14:10 l4326769

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

qingtian110 avatar Oct 05 '24 20:10 qingtian110

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

hcym avatar Oct 27 '24 09:10 hcym

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

hgq5 avatar Oct 28 '24 01:10 hgq5

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

Michaol avatar Nov 29 '24 12:11 Michaol

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"

evenwangcn avatar Dec 09 '24 14:12 evenwangcn

debain12,ubuntu24.04都正常编译

d975xbx avatar Dec 10 '24 00:12 d975xbx

现在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

liwenjie119 avatar Dec 21 '24 01:12 liwenjie119

Github CI is failing under Ubuntu 24 runner image

vincejv avatar Jan 03 '25 10:01 vincejv

这问题都关闭了,为啥还继续讨论??

hgq5 avatar Jan 03 '25 10:01 hgq5

建议直接Docker,省时省力,环境统一

xm0625 avatar Jan 26 '25 08:01 xm0625