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

   Á¶È¸ 1351   Ãßõ 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 4189/5680
2015-12   1481487   ¹é¸Þ°¡
2014-05   4944787   Á¤ÀºÁØ1
2018-11   2407   Åë½Åº¸¾È
2018-11   2532   inquisitive
2012-03   5261   °æ¹ÚÇѽùÎ
2016-08   5261   fulmoon
2020-01   2660   »ç¸·Æë±Ï
2015-08   5704   Àü¼³¼ÓÀǹ̡¦
2015-08   3698   ±èÁ¦¿¬
2015-08   4456   °Ü¿ï³ª¹«
2016-08   3979   ÀÌÇüµ¿
2014-04   3427   Æ÷¿ì
2017-09   3730   Æ۽̱Û
2020-02   2938   ¼ÛÁö¸¸
2015-08   3973   ±è°Ç¿ì
2014-04   6646   ȸ¿øK
2016-08   4730   H4CHI
2020-02   2771   ÇÏ´ÃÇÏ´Ã
2016-08   4727   perls
2020-02   2511   º°¿Õ
2015-08   4541   ÀÌÀ¯Á¾
2018-12   2752   ÄĸÍÁÖ´Ï