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

   Á¶È¸ 1358   Ãßõ 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 5489/5682
2014-05   4951812   Á¤ÀºÁØ1
2015-12   1488448   ¹é¸Þ°¡
2023-07   1360   ¿µ»êȸ»ó
2022-10   1360   ÂùÀÌ
2022-08   1360   hdsniper
2022-08   1360   ¸Ó¸®°¨ÀÚ
2022-12   1359   Rainwalk
04-10   1359   Rich
02-06   1359   Á¦°¥±âõ
2023-11   1359   yummy
04-02   1359   Software1995
2022-06   1359   ¶¥ºÎÀÚ
2023-03   1359   inquisitive
2023-08   1359   Landa
2022-10   1359   Àϸ®ÄÉ
2023-09   1359   ¹Ì¸£¸£
2022-05   1359   ±è¿µ±â
2023-10   1359   ±èȲÁß
07-18   1359   ºñÀÍÁ¶
2023-02   1358   ½Ã°ñ³ëÀÎ
2022-10   1358   ¼­¿ïI±èµ¿¼ö
2022-05   1358   °ËÀºÄá