Ubuntu 16.04에서 업그레이드 중 오류


10

컴퓨터에서 소프트웨어를 업그레이드하려고 할 때 sudo apt-get upgrade다음 오류가 발생합니다

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  libpam-systemd libsystemd0 libudev1 systemd systemd-sysv udev
6 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
Need to get 5,051 kB of archives.
After this operation, 62.5 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Err:1 http://de.archive.ubuntu.com/ubuntu xenial-updates/main amd64 systemd-sysv amd64 229-4ubuntu11
  404  Not Found [IP: 141.76.1.200 80]
Err:2 http://de.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libpam-systemd amd64 229-4ubuntu11
  404  Not Found [IP: 141.76.1.200 80]
Err:3 http://de.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libsystemd0 amd64 229-4ubuntu11
  404  Not Found [IP: 141.76.1.200 80]
Err:4 http://de.archive.ubuntu.com/ubuntu xenial-updates/main amd64 systemd amd64 229-4ubuntu11
  404  Not Found [IP: 141.76.1.200 80]
Err:5 http://de.archive.ubuntu.com/ubuntu xenial-updates/main amd64 udev amd64 229-4ubuntu11
  404  Not Found [IP: 141.76.1.200 80]
Err:6 http://de.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libudev1 amd64 229-4ubuntu11
  404  Not Found [IP: 141.76.1.200 80]
E: Failed to fetch http://de.archive.ubuntu.com/ubuntu/pool/main/s/systemd/systemd-sysv_229-4ubuntu11_amd64.deb  404  Not Found [IP: 141.76.1.200 80]
E: Failed to fetch http://de.archive.ubuntu.com/ubuntu/pool/main/s/systemd/libpam-systemd_229-4ubuntu11_amd64.deb  404  Not Found [IP: 141.76.1.200 80]
E: Failed to fetch http://de.archive.ubuntu.com/ubuntu/pool/main/s/systemd/libsystemd0_229-4ubuntu11_amd64.deb  404  Not Found [IP: 141.76.1.200 80]
E: Failed to fetch http://de.archive.ubuntu.com/ubuntu/pool/main/s/systemd/systemd_229-4ubuntu11_amd64.deb  404  Not Found [IP: 141.76.1.200 80]
E: Failed to fetch http://de.archive.ubuntu.com/ubuntu/pool/main/s/systemd/udev_229-4ubuntu11_amd64.deb  404  Not Found [IP: 141.76.1.200 80]
E: Failed to fetch http://de.archive.ubuntu.com/ubuntu/pool/main/s/systemd/libudev1_229-4ubuntu11_amd64.deb  404  Not Found [IP: 141.76.1.200 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

sources.list모습은

# deb cdrom:[Ubuntu 14.04.3 LTS _Trusty Tahr_ - Beta amd64 (20150805)]/ trusty main restricted    
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://de.archive.ubuntu.com/ubuntu/ xenial main restricted
deb-src http://de.archive.ubuntu.com/ubuntu/ xenial main restricted    

## Major bug fix updates produced after the final release of the
## distribution.
deb http://de.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
deb-src http://de.archive.ubuntu.com/ubuntu/ xenial-updates main restricted    

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://de.archive.ubuntu.com/ubuntu/ xenial universe
deb-src http://de.archive.ubuntu.com/ubuntu/ xenial universe
deb http://de.archive.ubuntu.com/ubuntu/ xenial-updates universe
deb-src http://de.archive.ubuntu.com/ubuntu/ xenial-updates universe    

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
## team, and may not be under a free licence. Please satisfy yourself as to 
## your rights to use the software. Also, please note that software in 
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://de.archive.ubuntu.com/ubuntu/ xenial multiverse
deb-src http://de.archive.ubuntu.com/ubuntu/ xenial multiverse
deb http://de.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
deb-src http://de.archive.ubuntu.com/ubuntu/ xenial-updates multiverse    

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://de.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
deb-src http://de.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse    

deb http://security.ubuntu.com/ubuntu xenial-security main restricted
deb-src http://security.ubuntu.com/ubuntu xenial-security main restricted
deb http://security.ubuntu.com/ubuntu xenial-security universe
deb-src http://security.ubuntu.com/ubuntu xenial-security universe
deb http://security.ubuntu.com/ubuntu xenial-security multiverse
deb-src http://security.ubuntu.com/ubuntu xenial-security multiverse    

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu trusty partner
# deb-src http://archive.canonical.com/ubuntu trusty partner    

# deb http://www.stats.bris.ac.uk/R/bin/linux/ubuntu precise/ # disabled on upgrade to xenial
# deb http://cran.rstudio.com/bin/linux/ubuntu trusty/ # disabled on upgrade to xenial    

deb http://deb.torproject.org/torproject.org xenial main
deb-src http://deb.torproject.org/torproject.org xenial main
deb [arch=armhf] http://linux-packages.resilio.com/resilio-sync/deb 
resilio-sync non-free

두 가지 권장 솔루션을 실행하려고했지만 문제를 해결하지 못했습니다. 문제를 찾으려고했지만 비슷한 것을 찾을 수 없었습니다.


/etc/apt/sources.list를 게시 할 수 있습니까?
Dr_Bunsen

패키지 파일이 아직 미러에 동기화되지 않았을 가능성이 큽니다 (파일을 전송하는 데 시간이 걸립니다). 한 시간 후에 다시 시도하십시오.
fkraiem

1
시간이 문제에 영향을 미치지 않는다고 생각합니다. 나는 일주일 전에 처음 시도했지만 여전히 위에서 설명한 문제가 있습니다.
So S

답변:


17

패키지 및 패키지의 패키지 관리자 목록이 더 이상 사용되지 않는 것 같습니다.

그런데 왜?

당신이 xenial도달하려고하는 패키지 중 하나 인을 사용 하고 있습니다.이 패키지는 libpam-systemdpkg 관리자가 여기에서 가져 오려고합니다.

http://de.archive.ubuntu.com/ubuntu/pool/main/s/systemd/libpam-systemd_229-4ubuntu11_amd64.deb

어느 서버가 404로 응답하는지, 즉 서버가 존재하지 않음을 의미합니다.

메인 리포지토리 를 확인하면 거기에도없는 것을 볼 수 있습니다.

그리고 Ubuntu 패키지libpam-systemd 에서 xenial-updates섹션 을 검색하면 . 결과는 229-4ubuntu11 에 도달하는 동안 229-4ubuntu16이 되며 다른 것은이 새 버전이 선택한 저장소에서 사용 가능하다는 것입니다. 여기 있습니다.

무엇을해야합니까?

목록을 업데이트하십시오.

sudo apt update

그것은 당신을 위해 일을해야합니다.

그러나 목록을 업데이트 한 후에도 여전히 문제가 발생하면 해당 파일을 제거한 다음 위의 명령을 다시 실행하십시오.

sudo rm /var/lib/apt/lists/*
sudo rm /var/cache/apt/*.bin

오류가 해결 된 것 같습니다. 확실하지는 않지만 sudo apt upgrade지금은 할 일이 없습니다. 도와 주셔서 감사합니다.
So S

@SoS 천만에요. 다행
이네요

필자의 경우 이것은 Amazon AWS에서 비어 있고 신선한 Ubuntu 16.04 이미지를 시작할 때 발생했습니다. 처럼 보인다 sudo apt update최신으로 가져로 실행해야합니다.
Eneko Alonso
당사 사이트를 사용함과 동시에 당사의 쿠키 정책개인정보 보호정책을 읽고 이해하였음을 인정하는 것으로 간주합니다.
Licensed under cc by-sa 3.0 with attribution required.