Git Product home page Git Product logo

Comments (4)

rabbit-dayi avatar rabbit-dayi commented on June 2, 2024 1

用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 ...

from lede.

dingshaohua-com avatar dingshaohua-com commented on June 2, 2024

=====通过安装的=====
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个。

from lede.

wbz93815 avatar wbz93815 commented on June 2, 2024

我也遇到了这个错误。话说有人知道这个包upx-ucl是干啥的吗?

from lede.

whatawhiz avatar whatawhiz commented on June 2, 2024

debian12的问题
1 mkisofs会换成 genisoimage
2 python2.7 不在apt库里
3 upx-ucl 也是
这三个包没法安装

from lede.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.