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

   Á¶È¸ 1346   Ãßõ 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 190/5678
2014-05   4940686   Á¤ÀºÁØ1
2015-12   1477557   ¹é¸Þ°¡
2022-07   1339   ÈòÅгʺθ®
2022-03   1339   Âî·Ï
2022-08   1339   »õ³»±â
2023-06   1339   À̼±È£
2022-02   1339   º´¸ÀÆù
2022-12   1340   Rainwalk
2023-06   1340   Çã¾î
04-03   1340   ¾Ë¼ö¾ø´ÂÈû
04-02   1340   Software1995
2021-12   1340   Á¤ÀǼ®
2023-11   1340   Àü¼³¼ÓÀǹ̡¦
02-10   1340   Rich
2022-02   1340   L2½ºÀ§Ä¡
2022-03   1340   Åë½Åº¸¾È
2023-11   1340   ±è¼ö¾Æ¹«
2022-03   1340   ¿µ»êȸ»ó
2023-06   1340   ±¸½ÊÆò
2022-03   1340   ÄĹÚ
2023-01   1340   ´«ºÎ½Å¾Æħ
2023-05   1340   ¹¹µçÆȾƿä