DrawingProcess
드프 DrawingProcess
DrawingProcess
전체 방문자
오늘
어제
«   2025/06   »
일 월 화 수 목 금 토
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30
  • 분류 전체보기 (967)
    • Profile & Branding (25)
      • Career (18)
    • IT Trends (254)
      • Conference, Faire (Experien.. (31)
      • News (187)
      • Youtube (19)
      • TED (8)
      • Web Page (2)
      • IT: Etc... (6)
    • Contents (97)
      • Book (66)
      • Lecture (31)
    • Project Process (94)
      • Ideation (0)
      • Study Report (34)
      • Challenge & Award (22)
      • 1Day1Process (5)
      • Making (5)
      • KRC-FTC (Team TC(5031, 5048.. (10)
      • GCP (GlobalCitizenProject) (15)
    • Study: ComputerScience(CS) (72)
      • CS: Basic (9)
      • CS: Database(SQL) (5)
      • CS: Network (14)
      • CS: OperatingSystem (3)
      • CS: Linux (39)
      • CS: Etc... (2)
    • Study: Software(SW) (95)
      • SW: Language (29)
      • SW: Algorithms (1)
      • SW: DataStructure & DesignP.. (1)
      • SW: Opensource (15)
      • SW: Error Bug Fix (43)
      • SW: Etc... (6)
    • Study: Artificial Intellige.. (149)
      • AI: Research (1)
      • AI: 2D Vision(Det, Seg, Tra.. (35)
      • AI: 3D Vision (70)
      • AI: MultiModal (3)
      • AI: SLAM (0)
      • AI: Light Weight(LW) (3)
      • AI: Data Pipeline (7)
      • AI: Machine Learning(ML) (1)
    • Study: Robotics(Robot) (33)
      • Robot: ROS(Robot Operating .. (9)
      • Robot: Positioning (8)
      • Robot: Planning & Control (7)
    • Study: DeveloperTools(DevTo.. (83)
      • DevTool: Git (12)
      • DevTool: CMake (13)
      • DevTool: NoSQL(Elastic, Mon.. (25)
      • DevTool: Container (17)
      • DevTool: IDE (11)
      • DevTool: CloudComputing (4)
    • 인생을 살면서 (64)
      • 나의 취미들 (7)
      • 나의 생각들 (42)
      • 여행을 떠나자~ (10)
      • 분기별 회고 (5)

개발자 명언

“ 매주 목요일마다 당신이 항상 하던대로 신발끈을 묶으면 신발이 폭발한다고 생각해보라.
컴퓨터를 사용할 때는 이런 일이 항상 일어나는데도 아무도 불평할 생각을 안 한다. ”

- Jef Raskin

맥의 아버지 - 애플컴퓨터의 매킨토시 프로젝트를 주도

인기 글

최근 글

최근 댓글

티스토리

hELLO · Designed By 정상우.
DrawingProcess

드프 DrawingProcess

Study: Software(SW)/SW: Error Bug Fix

[Error Fix] Solved 'W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/source.list*'

2023. 5. 31. 08:08
반응형

# Problem

when I want to run 'sudo apt-get update', I get the following messages:

$ sudo apt-get update
Citire liste de pachete... 0%
Citire liste de pachete... Terminat
Se construiește arborele de dependență       
Se citesc informațiile de stare... Terminat
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list:5
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list:5
...

# Solution

main, universe, multiverse, restricted are different components of the Sections portion in a sources.list entry and can not be duplicated for a given entry (same Type (e.g. deb), URI (e.g. http://archive.ubuntu.com/ubuntu/).

In your /etc/apt/sources.list, you have duplicate components (main, restricted, universe) in lines 2 and 5:

deb http://archive.ubuntu.com/ubuntu focal main universe
deb http://archive.ubuntu.com/ubuntu focal main universe restricted multiverse

As line 5 is a superset of line 2, you can remove line 2 using your favorite editor or use sed:

$ sudo sed -i '2d' /etc/apt/sources.list

Or comment out the 2nd line:

$ sudo sed -i '2 s/^/# /' /etc/apt/sources.list

# Reference

[StackExchange] How to fix error W: Target Packages (main/binary-amd64/Packages) is configured multiple times in my sources.list file?: https://askubuntu.com/questions/760746/how-to-fix-error-w-target-packages-main-binary-amd64-packages-is-configured-m

반응형
저작자표시 비영리 변경금지 (새창열림)

'Study: Software(SW) > SW: Error Bug Fix' 카테고리의 다른 글

[Error fix] Solved 'systemctl status docker Active: failed (Result: start-limit-hit)'  (0) 2023.07.26
[Error fix] Solved 'error: update_ref failed for ref': Troubleshooting most remote branch to local branch relationships(feat. local branch clean-up, git branch)  (0) 2023.07.03
[Problem Fix] 윈도우 환경변수 재부팅 안하고 적용하기  (0) 2023.05.22
[Error fix] ros2 명령어가 실행되지 않는 문제... (설치 문제 아님)  (0) 2023.05.21
[Error fix] fatal error: 'uWS/uWS.h' file not found 오류 해결 (feat. uWebSockets)  (0) 2023.05.15
    'Study: Software(SW)/SW: Error Bug Fix' 카테고리의 다른 글
    • [Error fix] Solved 'systemctl status docker Active: failed (Result: start-limit-hit)'
    • [Error fix] Solved 'error: update_ref failed for ref': Troubleshooting most remote branch to local branch relationships(feat. local branch clean-up, git branch)
    • [Problem Fix] 윈도우 환경변수 재부팅 안하고 적용하기
    • [Error fix] ros2 명령어가 실행되지 않는 문제... (설치 문제 아님)
    DrawingProcess
    DrawingProcess
    과정을 그리자!

    티스토리툴바