ubuntu16¿¡¼­ apt °ü·Ã ¿¡·¯ ¹®ÀÇ µå¸³´Ï´Ù.

   Á¶È¸ 1344   Ãßõ 0    

http://ÀÚ (772)

apt(apt-get)을 사용하는데 아래과 같이 계속 libapt-pkg5.0 관련해서 에러가 납니다.

지금은 apt 로 패키지들이 아무것도 설치가 되고 있지 않는 상황이구요.

우분투16 iso 파일을 마운트 해서 

/mnt/iso/poo/main/a/apt/ 안에 있는 파일들을 재설치하면 모두 설치되는듯 한데...중간에 뭔가 모를 에러가 나면서 설치까지 됩니다. ㅡㅡ;;;;

apt 명령어가 실행되긴 하는데.....정작 패키지 설치는 되지 않습니다.

무언가 제대로 꼬인것 같은데...우분투를 재 설치할수도 없고....upgrade 명령어는 실행시킬수 없는 환경인데...

방법이 있을까요???

libapt-pkg5.0 관련 버전 문제인것도 같은데.....

이거야 원.......

혹시 apt 를 다시 설치하는 또다른 방법이 있을지 궁금합니다.

------------------------------------------------------------------------------------------------

root@xxxxxxx-a15:/mnt/is0/pool/main/a/apt$ 1s

apt-transport-https_1.2.32ubuntu0.1_amd64.deb apt 1.2.32ubuntuo.1 amass. deb apt-utils 1.2.32ubuntu0.1 amd64. deb libapt-inst2.0 1.2.32ubuntuO. 1 and64 .deb

root@xxxxxxx-a15:/mnt/iso/pool/main/a/apt#apt (apt 자체가 없는 모두 삭제되어 있는 상태 확인)

-su: /us/bin/apt: No such file or directory 

root@root@xxxxxxx-a15:/mnt/iso/pool/main/a/apt# dpkg --force-all -i apt-utils 1.2.32ubuntu0. 1 amd64. deb (apt 관련 재설치)

Selecting previously unselected package apt-utils.

(Reading database.. 82555 files and directories currently installed.)

Preparing to unpack apt-utils 1.2.32mbuntu0.1 and64 .deb

Unpacking apt-utils (1.2.32ubuntud.1)

dpkg: apt-utils: dependency problems, but configuring anyway as you requested: apt-utils depends on apt (= 1.2.32ubuntu0.1) : however:

Package apt is not installed.

apt-utils depends on libapt-inst2.0 (>= 1.0.5): however:

Package libapt-inst2.0 is not installed.

2022-10-25

Setting up apt-utils (1.2.32ubuntuD.1)

Processing triggers for man-db (2.7.5-1)

root@root@xxxxxxx-a15: /mnt/130/pool/main/a/apt# dpkg --force-all -i apt 1.2.32ubuntuD.1 amd64 . deb

Selecting previously unselected package apt.

(Reading database. 82594 files and directories currently installed.)

Preparing to unpack apt 1.2.32ubuntuD. 1 amd64. deb

Unpacking apt (1.2.32mbuntud.1)

Setting up apt (1.2.32mbuntuD. 1)

Processing triggers for libc-bin (2.31-Dubuntu9, 9)

Processing triggers for man-db (2.7.5-1)

---------------------------------------------------------------------------------------------

root@xxxxxx-a15:/mnt/is0/pool/main/a/apt$ apt --reinstall install telnet

Reading package lists... Done Building dependency tree

Reading state information... Done You might want to run 'apt-get -r install: to correct these:

The following packages have unmet dependencies:

dpkg :, Breaks: libapt-pkg5.0 (<< 1.7~b) but 1.2,32ubuntu 0.1 is to be installed

E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution). 


root@xxxxxx-a15:/mnt/130/pool/main/a/apt# apt-get -r install

Reading package lists... Done Building dependency tree

Reading state information..

. Done

Correcting dependencies... Done The following packages will be REMOVED:

apt apt-transport-https apt-utils libapt-inst2.0 libapt-pkgs.o

MARNING: The following essential packages will be removed.

This should NOT be done unless you know exactly what you are doing!

apt libapt-plg5.0 (due to apt)

O upgraded, O newly installed, 5 to remove and 169 not upgraded.

After this operation, , 7866 KB disk space will be freed.

You are about to do something potentially harmful

To continue type in the phrase

.

.

.


송호성
ªÀº±Û Àϼö·Ï ½ÅÁßÇÏ°Ô.
     
Àϸ®ÄÉ 2022-10
°¨»çÇÕ´Ï´Ù.
°¡À̵å´ë·Î Çغ¸°í
Ȥ½Ã³ª Çؼ­ ÅÚ³Ý ÆÐÅ°Áö ¼³Ä¡ ½ÃµµÇغ¸´Ï ÀÌ¹Ì ¼³Ä¡µÇ¾î ÀÖ´Ù´Â ¸Þ¼¼Áö¿Í ÇÔ²²....(ÀÌ°Å¾ß ¹«½ÃÇصµ µÉ°Í °°°í....)

The following packages have unmet dependencies:

dpkg :, Breaks: libapt-pkg5.0 (<< 1.7~b) but 1.2,32ubuntu 0.1 is to be installed

E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

ÀÌ·± ¸Þ¼¼Áö°¡ °è¼Ó ³ª¿À³×¿ä....¤Ð¤Ð
          


QnA
Á¦¸ñPage 412/5678
2014-05   4940437   Á¤ÀºÁØ1
2015-12   1477316   ¹é¸Þ°¡
2003-02   11396   ÀÌ»ó¸ñ
2013-11   11395   ûÃá
2009-08   11395   ¹Ú
2003-04   11395   ±è±Ô¿ø
2015-07   11395   ÆíÇѼ¼»ó
2002-12   11394   ±è¿øȸ
2011-08   11394   Â÷Æò¼®
2002-10   11394   Ãֵ濬
2003-04   11393   ¼­¿ë¿î
2003-05   11393   ÀÌ»óÇö
2013-04   11393   ±èȲÁß
2012-01   11393   ¼ÒǪ
2002-11   11393   ½ÅÇöÁø
2003-08   11393   ÀÌÅñÕ
2003-04   11393   ÀÌÀç¹®
2003-02   11393   ¹Ú¿µÈñ
2021-03   11392   ÀǷӰԻ츮¶ó
2003-03   11392   ÀÓÁöÈÆ
2003-02   11392   ¹Ú±ÔÇö
2002-12   11392   ¹Ú°æÈ£