Open dingshaohua-com opened 9 months ago
=====通过安装的===== ack antlr3 asciidoc autoconf automake autopoint binutils bison bzip2 ccache cmake cpio device-tree-compiler fastjar flex gawk gettext git gperf haveged help2man intltool uglifyjs upx-ucl unzip wget curl xxd xmlto
=====安装报错的===== 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 \ build-essential
gcc-multilib g++-multilib libc6-dev-i386 libelf-dev libfuse-dev libglib2.0-dev libgmp3-dev vim zlib1g-dev
apt-get remove: 卸载软件 apt-get purge: 卸载软件和配置文件 apt-get autoremove: 移除没有使用的依赖 apt-get clean: 删除/var/cache/apt/archives/下的所有deb包 apt-get autoclean: 删除/var/cache/apt/archives/下的过期deb包
curl依赖冲突问题? apt install -y curl Reading package lists... Done Building dependency tree... Done Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:
The following packages have unmet dependencies: curl : Depends: libcurl4 (= 7.64.0-4+deb10u2) but 7.88.1-10+deb12u5~bpo11+1 is to be installed E: Unable to correct problems, you have held broken packages.
执行 apt purge libcurl4 后,重新安装
vim安装失败 root@debian:~# apt install vim -y Reading package lists... Done Building dependency tree... Done Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:
The following packages have unmet dependencies: ncurses-base : Breaks: vim-common (< 2:9.0.1000-2) but 2:8.1.0875-5+deb10u2 is to be installed E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
apt purge vim-common apt update apt upgrade apt install vim
gcc-multilib安装失败 root@debian:~# apt install -y gcc-multilib Reading package lists... Done Building dependency tree... Done Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:
The following packages have unmet dependencies: gcc-multilib : Depends: cpp (= 4:8.3.0-1) but 4:12.2.0-3 is to be installed Depends: gcc (= 4:8.3.0-1) but it is not going to be installed Depends: gcc-8-multilib (>= 8.3.0-1~) but it is not going to be installed E: Unable to correct problems, you have held broken packages.
服了啊 全是依赖报错,解决一个新出来10个。
用docker吧
apt install docker-compose -y
docker run --name tmper_docker -itd -v /home/ubuntu/openwrt_workdir:/app ubuntu:22.04 bash
docker attach tmper_docker
apt install update
apt install sudo
chmod +777 /app
apt install -y ack antlr3 asciidoc auto ....and
adduser XXX
su XXX
cd /app
./scripts/feed ...
make ...
我也遇到了这个错误。话说有人知道这个包upx-ucl是干啥的吗?
debian12的问题 1 mkisofs会换成 genisoimage 2 python2.7 不在apt库里 3 upx-ucl 也是 这三个包没法安装
详细叙述
重复 issue
具体型号
debian12
详细日志