Apache에 mod_mono를 사용할 수 있도록 우분투 설치를 업그레이드하려고 합니다. 일반적인 업그레이드 명령을 시도했지만 이상한 결과가 나타났습니다. 어떤 도움이라도 대단히 감사하겠습니다.
root@cubietruck:~# lsb_release -a
No LSB modules are available.
Distributor ID: Linaro
Description: Linaro 13.09
Release: 13.09
Codename: raring
root@cubietruck:~# do-release-upgrade
Checking for a new Ubuntu release
Your Ubuntu release is not supported anymore.
For upgrade information, please visit:
http://www.ubuntu.com/releaseendoflife
Get:1 Upgrade tool signature [198 B]
Get:2 Upgrade tool [1134 kB]
Fetched 1134 kB in 0s (0 B/s)
authenticate 'saucy.tar.gz' against 'saucy.tar.gz.gpg'
extracting 'saucy.tar.gz'
Can not run the upgrade
The error message is 'No such file or directory'.
root@cubietruck:~#
파이썬-적합:
python-apt - Python interface to libapt-pkg
python-apt-common - Python interface to libapt-pkg (locales)
python-apt-dbg - Python interface to libapt-pkg (debug extension)
python-apt-dev - Python interface to libapt-pkg (development files)
python-apt-doc - Python interface to libapt-pkg (API documentation)
python-aptdaemon - Python 2 module for the server and client of aptdaemon
python-aptdaemon.gtk3widgets - Python 2 GTK+ 3 widgets to run an aptdaemon client
apt-p2p - apt helper for peer-to-peer downloads of Debian packages
python-aptdaemon-gtk - Transitional dummy package
python-aptdaemon.gtkwidgets - Python GTK+ 2 widgets to run an aptdaemon client
root@cubietruck:~# apt-get install python-apt
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libpython-stdlib libpython2.7-stdlib python python-minimal python2.7
Suggested packages:
python-doc python-tk python-apt-dbg python-gtk2 python-vte python-apt-doc
python2.7-doc
The following NEW packages will be installed:
libpython-stdlib libpython2.7-stdlib python python-apt python-minimal
python2.7
0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
Need to get 2940 kB of archives.
After this operation, 9927 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
WARNING: The following packages cannot be authenticated!
libpython2.7-stdlib libpython-stdlib python2.7 python-minimal python
python-apt
Authentication warning overridden.
Err http://ports.ubuntu.com/ubuntu-ports/ raring/main libpython2.7-stdlib armhf 2.7.4-2ubuntu3
404 Not Found [IP: 91.189.88.140 80]
Err http://ports.ubuntu.com/ubuntu-ports/ raring/main libpython-stdlib armhf 2.7.4-0ubuntu1
404 Not Found [IP: 91.189.88.140 80]
Err http://ports.ubuntu.com/ubuntu-ports/ raring/main python2.7 armhf 2.7.4-2ubuntu3
404 Not Found [IP: 91.189.88.140 80]
Err http://ports.ubuntu.com/ubuntu-ports/ raring/main python-minimal armhf 2.7.4-0ubuntu1
404 Not Found [IP: 91.189.88.140 80]
Err http://ports.ubuntu.com/ubuntu-ports/ raring/main python armhf 2.7.4-0ubuntu1
404 Not Found [IP: 91.189.88.140 80]
Err http://ports.ubuntu.com/ubuntu-ports/ raring/main python-apt armhf 0.8.8ubuntu6
404 Not Found [IP: 91.189.88.140 80]
Failed to fetch http://ports.ubuntu.com/ubuntu-ports/pool/main/p/python2.7/libpython2.7-stdlib_2.7.4-2ubuntu3_armhf.deb 404 Not Found [IP: 91.189.88.140 80]
Failed to fetch http://ports.ubuntu.com/ubuntu-ports/pool/main/p/python-defaults/libpython-stdlib_2.7.4-0ubuntu1_armhf.deb 404 Not Found [IP: 91.189.88.140 80]
Failed to fetch http://ports.ubuntu.com/ubuntu-ports/pool/main/p/python2.7/python2.7_2.7.4-2ubuntu3_armhf.deb 404 Not Found [IP: 91.189.88.140 80]
Failed to fetch http://ports.ubuntu.com/ubuntu-ports/pool/main/p/python-defaults/python-minimal_2.7.4-0ubuntu1_armhf.deb 404 Not Found [IP: 91.189.88.140 80]
Failed to fetch http://ports.ubuntu.com/ubuntu-ports/pool/main/p/python-defaults/python_2.7.4-0ubuntu1_armhf.deb 404 Not Found [IP: 91.189.88.140 80]
Failed to fetch http://ports.ubuntu.com/ubuntu-ports/pool/main/p/python-apt/python-apt_0.8.8ubuntu6_armhf.deb 404 Not Found [IP: 91.189.88.140 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
고쳐 쓰다:
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/raring/main/source/Sources 404 Not Found [IP: 91.189.88.140 80]
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/raring/universe/source/Sources 404 Not Found [IP: 91.189.88.140 80]
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/raring/main/binary-armhf/Packages 404 Not Found [IP: 91.189.88.140 80]
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/raring/universe/binary-armhf/Packages 404 Not Found [IP: 91.189.88.140 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
답변1
mount
/tmp가 noexec 마운트인 경우 출력을 붙여넣은 다음 다시 마운트해야 합니다.
sudo mount -o remount,exec /tmp
그 외에도 다음 명령을 실행해보십시오.
sudo apt-get install python-apt
이것이 문제를 해결하는지 확인하십시오.
편집하다
apt-get을 다시 작동시키려면 /etc/apt/sources.list에 다음을 추가하십시오.
deb http://old-releases.ubuntu.com/ubuntu/ raring main universe restricted multiverse
deb-src http://old-releases.ubuntu.com/ubuntu/ raring main universe restricted multiverse
deb http://old-releases.ubuntu.com/ubuntu/ raring-security main universe restricted multiverse
deb-src http://old-releases.ubuntu.com/ubuntu/ raring-security main universe restricted multiverse
deb http://old-releases.ubuntu.com/ubuntu/ raring-updates main universe restricted multiverse
deb-src http://old-releases.ubuntu.com/ubuntu/ raring-updates main universe restricted multiverse
deb http://old-releases.ubuntu.com/ubuntu/ raring-backports main restricted universe multiverse
deb-src http://old-releases.ubuntu.com/ubuntu/ raring-backports main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ raring-proposed main restricted universe multiverse
deb-src http://old-releases.ubuntu.com/ubuntu/ raring-proposed main restricted universe multiverse