Debian

Debian 9 更新時出現“N:跳過獲取已配置文件…”

  • February 25, 2020

我最近在更新時收到以下消息。這

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

您已執行以下命令(錯誤):

sudo dpkg --add-architecture cupswrapperhl2270dw

它不是一個有效的架構,您需要將其刪除:

sudo dpkg --remove-architecture cupswrapperhl2270dw

然後執行:

sudo apt update

Debian:多架構

引用自:https://unix.stackexchange.com/questions/568454