Raspbian에서 apt-get 업데이트를 사용하는 중 경고

Raspbian에서 apt-get 업데이트를 사용하는 중 경고

나는 내 파이에 Plex를 설치하려고 시도했지만 실패했습니다(컴퓨터 초보자). 몇 번 시도했는데 드디어 얻은 것 같아요. 이제 업데이트로 이동하면 다음 경고가 표시됩니다.

root@raspberry:~# apt-get update

Hit:1 http://security.debian.org stretch/updates InRelease

Hit:2 http://archive.raspberrypi.org/debian stretch InRelease

Ign:3 http://ftp.debian.org/debian stretch InRelease

Hit:4 http://ftp.debian.org/debian stretch-updates InRelease

Hit:5 http://ftp.debian.org/debian stretch Release

Hit:6 https://dev2day.de/pms stretch InRelease

Reading package lists... Done

W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:10 and /etc/apt/sources.list.d/pms.list:1

W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:10 and /etc/apt/sources.list.d/pms.list:1

W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:10 and /etc/apt/sources.list.d/pms.list:1

W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:10 and /etc/apt/sources.list.d/pms.list:1

W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:10 and /etc/apt/sources.list.d/pms.list:1

W: Target Translations (main/i18n/Translation-en_US.UTF-8) is configured multiple times in /etc/apt/sources.list:10 and /etc/apt/sources.list.d/pms.list:1

N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://dev2day.de/pms stretch InRelease' doesn't support architecture 'i386'

N: Skipping acquire of configured file 'main/binary-amd64/Packages' as repository 'https://dev2day.de/pms stretch InRelease' doesn't support architecture 'amd64'

W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:10 and /etc/apt/sources.list.d/pms.list:1

W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:10 and /etc/apt/sources.list.d/pms.list:1

W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:10 and /etc/apt/sources.list.d/pms.list:1

W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:10 and /etc/apt/sources.list.d/pms.list:1

W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:10 and /etc/apt/sources.list.d/pms.list:1

W: Target Translations (main/i18n/Translation-en_US.UTF-8) is configured multiple times in /etc/apt/sources.list:10 and /etc/apt/sources.list.d/pms.list:1

pi@raspberry:~ $ sudo nano /etc/apt/sources.list


deb http://ftp.debian.org/debian/ stretch main contrib non-free  
deb http://security.debian.org/ stretch/updates main contrib non-free  
deb http://ftp.debian.org/debian/ stretch-updates main contrib non-free 



"# Uncomment lines below then 'apt-get update' to enable 'apt-get source'"

"#deb-src http://ftp.debian.org/debian/ stretch main contrib non-free"

"#deb-src http://security.debian.org/ stretch/updates main contrib non-free"

"#deb-src http://ftp.debian.org/debian/ stretch-updates main contrib non-free"

"deb https://dev2day.de/pms/ stretch main"

pi@raspberry:~ $ sudo nano /etc/apt/sources.list.d/pms.list


deb https://dev2day.de/pms/ stretch main

pi@raspberry:~ $ sudo apt-get update

Get:1 http://security.debian.org stretch/updates InRelease [94.3 kB]

Ign:2 http://ftp.debian.org/debian stretch InRelease

Hit:3 https://dev2day.de/pms stretch InRelease

Get:4 http://ftp.debian.org/debian stretch-updates InRelease [91.0 kB]

Hit:5 http://ftp.debian.org/debian stretch Release

Get:7 http://archive.raspberrypi.org/debian stretch InRelease [25.4 kB]

7초 안에 211kB를 가져옴(27.5kB/s)

Reading package lists... Done

N: Skipping acquire of configured file 'main/binary-amd64/Packages' as repository 'https://dev2day.de/pms stretch InRelease' doesn't support architecture 'amd64'

N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://dev2day.de/pms stretch InRelease' doesn't support architecture 'i386'

답변1

/etc/apt/sources.list10번째 줄과 /etc/apt/sources.list.d/pms.list1번째 줄 에 중복된 항목이 있습니다 .

질문을 편집하고 10번 줄( sudo -H gedit /etc/apt/sources.list)과 전체 pms.list 파일( cat /etc/apt/sources.list.d/pms.list)을 보여주시면 제가 찾아보겠습니다.

업데이트 #1:

편집하다 /etc/apt/sources.list...

그리고 다음을 변경하세요.

"deb https://dev2day.de/pms/ stretch main"

에게:

"#deb https://dev2day.de/pms/ stretch main"

업데이트 #2:

편집하다 /etc/apt/sources.list.d/pms.list...

그리고 다음을 변경하세요.

deb https://dev2day.de/pms/ stretch main

에게:

deb [arch=armhf] https://dev2day.de/pms/ stretch main

업데이트 #3:

sudo dpkg --add-architecture armhf

관련 정보