質問編集履歴
2
その後
test
CHANGED
File without changes
|
test
CHANGED
@@ -3,3 +3,17 @@
|
|
3
3
|
```
|
4
4
|
sudo: apt: command not found
|
5
5
|
```
|
6
|
+
|
7
|
+
消したというのは,
|
8
|
+
```
|
9
|
+
sudo rm -rf /usr/bin/apt
|
10
|
+
```
|
11
|
+
をしたということです.
|
12
|
+
|
13
|
+
その後,
|
14
|
+
https://teratail.com/questions/181418
|
15
|
+
を参考にaptをインストールすると,
|
16
|
+
```
|
17
|
+
apt: error while loading shared libraries: libapt-pkg.so.5.0: cannot open shared object file: No such file or directory
|
18
|
+
```
|
19
|
+
というエラーが出ています
|
1
参考コマンドを追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -1 +1,5 @@
|
|
1
1
|
Ubuntu22.10で,rootにaptがなく(消してしまった),インストールしたいのですが,方法がわかりません.
|
2
|
+
|
3
|
+
```
|
4
|
+
sudo: apt: command not found
|
5
|
+
```
|