-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
添加第三方软件,安装软件后,upgrade报错。 #2252
Comments
删除了你添加的无效的第三方源。 系统常用操作可以问gpt,armbian使用方法和ubuntu/debian完全一样 |
你好,请问APT源需要换哪个版本的?我发现armbian源更换后update依旧使用默认源 |
我的显示版本号为noble但是我并未从清华等软件源发现有版本号为noble的 |
https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/dists/ 怎么会没有呢,使用 |
当前尽量不要使用noble版本,还没正式发布呢 麻烦贴一下你的/etc/apt/source.list文件以及/etc/apt/source.list.d/目录下的全部文件内容
依赖地狱了,会搞的话就一个个单独下强行装去fix,不会就直接重刷jammy版吧 |
root@N1:/etc/apt# ll deb-src http://mirrors.aliyun.com/ubuntu-ports noble main restricted universe multiversedeb http://mirrors.aliyun.com/ubuntu-ports noble-security main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu-ports noble-security main restricted universe multiversedeb http://mirrors.aliyun.com/ubuntu-ports noble-updates main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu-ports noble-updates main restricted universe multiversedeb http://mirrors.aliyun.com/ubuntu-ports noble-backports main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu-ports noble-backports main restricted universe multiverseroot@N1:/etc/apt# cd sources.list.d/ |
删除第三方源,没有作用。 |
|
没用的,他提issue的时候就用过了,这几个包依赖版本是写死了的 我感觉他这像是noble版preinstall的包比仓库里的新? |
先别用noble,这个还是测试版。 |
好的 |
最新版解决了这个问题了 |
Device Information | 设备信息
我家云
Armbian Version | 系统版本
Linux armbian 6.1.82-ophub #1 SMP Fri Mar 15 22:39:04 EDT 2024 aarch64 aarch64 aarch64 GNU/Linux
Describe the bug | 问题描述
1、切换阿里源
2、添加sudo add-apt-repository ppa:mamarley/tvheadend-git
3、update和upgrade后,安装apt install tvheadend
4、tvheadend
5、再次update和upgrade后报错
root@armbian:/etc/apt/sources.list.d# apt-get update
Hit:1 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports noble InRelease
Hit:2 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports noble-security InRelease
Hit:3 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports noble-updates InRelease
Hit:4 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports noble-backports InRelease
Hit:5 http://mirrors.ustc.edu.cn/armbian noble InRelease
Reading package lists... Done
N: Ignoring file 'mamarley-ubuntu-tvheadend-git-noble.sources.1' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
root@armbian:/etc/apt/sources.list.d# apt-get upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
libpam-systemd : Depends: systemd (= 255.4-1ubuntu7) but 255.2-3ubuntu2 is installed
systemd : Depends: libsystemd-shared (= 255.2-3ubuntu2) but 255.4-1ubuntu7 is installed
Depends: libsystemd0 (= 255.2-3ubuntu2) but 255.4-1ubuntu7 is installed
systemd-resolved : Depends: systemd (= 255.4-1ubuntu7) but 255.2-3ubuntu2 is installed
systemd-sysv : Depends: systemd (= 255.4-1ubuntu7) but 255.2-3ubuntu2 is installed
udev : Depends: libudev1 (= 255.2-3ubuntu2) but 255.4-1ubuntu7 is installed
N: Ignoring file 'mamarley-ubuntu-tvheadend-git-noble.sources.1' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
6、使用apt --fix-broken install报错
dpkg: error processing archive /var/cache/apt/archives/udev_255.4-1ubuntu7_arm64.deb (--unpack):
new udev package pre-installation script subprocess returned error exit status 1
Setting file flags is only supported on regular files and directories, cannot set on '/var/log/journal'.
Setting file flags is only supported on regular files and directories, cannot set on '/var/log/journal'.
Errors were encountered while processing:
/var/cache/apt/archives/systemd_255.4-1ubuntu7_arm64.deb
/var/cache/apt/archives/udev_255.4-1ubuntu7_arm64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
7、请大佬们指点一下。
The text was updated successfully, but these errors were encountered: