Debian 9 更新时我收到“N:正在跳过配置文件的获取...”

Debian 9 更新时我收到“N:正在跳过配置文件的获取...”

我最近在更新时收到以下消息。这

N: Skipping acquire of configured file...

与我有关。我环顾四周,看看是否有解决方案,但找不到任何东西。

hl2270dw是我成功使用的兄弟打印机。任何消除这种情况的信息都值得赞赏。

[doy@sandbar ~]$ sudo apt update
[sudo] password for doy: 
Hit:1 https://download.virtualbox.org/virtualbox/debian stretch InRelease
Hit:2 https://repo.windscribe.com/debian stretch InRelease
Ign:3 http://ftp.us.debian.org/debian stretch InRelease
Hit:4 http://ftp.us.debian.org/debian stretch-updates InRelease
Hit:5 http://ftp.us.debian.org/debian stretch Release
Hit:7 http://security.debian.org/debian-security stretch/updates InRelease
Reading package lists... Done
Building dependency tree       
Reading state information... Done
All packages are up to date.
N: Skipping acquire of configured file 'main/binary-cupswrapperhl2270dw/Packages' as repository 'https://repo.windscribe.com/debian stretch InRelease' doesn't support architecture 'cupswrapperhl2270dw'
N: Skipping acquire of configured file 'main/binary-cupswrapperhl2270dw/Packages' as repository 'http://ftp.us.debian.org/debian stretch-updates InRelease' doesn't support architecture 'cupswrapperhl2270dw'
N: Skipping acquire of configured file 'contrib/binary-cupswrapperhl2270dw/Packages' as repository 'http://ftp.us.debian.org/debian stretch-updates InRelease' doesn't support architecture 'cupswrapperhl2270dw'
N: Skipping acquire of configured file 'main/binary-cupswrapperhl2270dw/Packages' as repository 'http://ftp.us.debian.org/debian stretch InRelease' doesn't support architecture 'cupswrapperhl2270dw'
N: Skipping acquire of configured file 'contrib/binary-cupswrapperhl2270dw/Packages' as repository 'http://ftp.us.debian.org/debian stretch InRelease' doesn't support architecture 'cupswrapperhl2270dw'
N: Skipping acquire of configured file 'main/binary-cupswrapperhl2270dw/Packages' as repository 'http://security.debian.org/debian-security stretch/updates InRelease' doesn't support architecture 'cupswrapperhl2270dw'
N: Skipping acquire of configured file 'contrib/binary-cupswrapperhl2270dw/Packages' as repository 'http://security.debian.org/debian-security stretch/updates InRelease' doesn't support architecture 'cupswrapperhl2270dw'

编辑(20200220):

[doy@sandbar ~]$ sudo dpkg --print-foreign-architectures
cupswrapperhl2270dw


[doy@sandbar ~]$ cat /etc/apt/sources.list 
# 

# deb cdrom:[Debian GNU/Linux 9.5.0 _Stretch_ - Official amd64 NETINST 20180714-10:25]/ stretch main

# deb cdrom:[Debian GNU/Linux 9.5.0 _Stretch_ - Official amd64 NETINST 20180714-10:25]/ stretch main

deb http://ftp.us.debian.org/debian/ stretch main contrib
deb-src http://ftp.us.debian.org/debian/ stretch main contrib

deb http://security.debian.org/debian-security stretch/updates main contrib
deb-src http://security.debian.org/debian-security stretch/updates main contrib

# stretch-updates, previously known as 'volatile'
deb http://ftp.us.debian.org/debian/ stretch-updates main contrib
deb-src http://ftp.us.debian.org/debian/ stretch-updates main contrib


[doy@sandbar ~]$ cat /etc/apt/sources.list.d/*
# deb http://download.virtualbox.org/virtualbox/debian stretch contrib
deb [arch=amd64] https://download.virtualbox.org/virtualbox/debian stretch contrib
#deb http://download.virtualbox.org/virtualbox/debian stretch contrib
deb [arch=amd64] https://download.virtualbox.org/virtualbox/debian stretch contrib
deb https://repo.windscribe.com/debian stretch main
deb https://repo.windscribe.com/debian stretch main

答案1

您执行了以下命令(错误地):

sudo dpkg --add-architecture cupswrapperhl2270dw

它不是一个有效的架构,您需要将其删除:

sudo dpkg --remove-architecture cupswrapperhl2270dw

然后运行:

sudo apt update

Debian:多架构

相关内容