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

   Á¶È¸ 1353   Ãßõ 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 4190/5680
2015-12   1482918   ¹é¸Þ°¡
2014-05   4946246   Á¤ÀºÁØ1
2018-12   3383   ÇູÇϼ¼
10-03   313   starname
2012-04   6071   ±èÀ±»ó
2017-09   3704   Àü»êoa
2023-02   1490   ¿ä¸¦·¹ÀÌ
2012-05   5854   GoodWolf
2019-01   6570   ¾²·¹±â´ÜÀå
2021-06   1862   À̳ªÀ±1996
2017-09   3767   º¸½½ºñ³»¸®¡¦
2014-05   3291   ¹èÁؼ®
2021-06   3226   ÇãÀα¸¸¶Æ¾
2014-05   6878   ÇÞ»ìÀDZâ¾ï
10-29   263   ÀüÀÏÀå
2021-06   1976   °í¾ç½Ã
2012-06   6630   ¿µ¿øÇÑÇõ½Å
2020-03   2059   ÃÊÄÚ¼ÛÀÌ
2021-06   5233   ÁöÁ¸ÄÄÇ»ÅÍ
11-04   180   ¸í¶û
2015-09   5202   ¸Þ°¡³¯¹é
2009-04   12917   ¹Úµ¿¼·