在 Ubuntu 18.04 上安装 gparted

在 Ubuntu 18.04 上安装 gparted

如何在 Ubuntu 18.04 上安装 gparted?每种方法都证明返回相同的不成功结果。

1)通过终端。

sudo apt install gparted

结果:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  libatkmm-1.6-1v5 libcairomm-1.0-1v5 libglibmm-2.4-1v5 libgtkmm-2.4-1v5
  libpangomm-1.4-1v5 libsigc++-2.0-0v5
Suggested packages:
  xfsprogs reiserfsprogs reiser4progs jfsutils kpartx dmraid gpart
The following NEW packages will be installed:
  gparted libatkmm-1.6-1v5 libcairomm-1.0-1v5 libglibmm-2.4-1v5
  libgtkmm-2.4-1v5 libpangomm-1.4-1v5 libsigc++-2.0-0v5
0 upgraded, 7 newly installed, 0 to remove and 126 not upgraded.
Need to get 1,798 kB of archives.
After this operation, 10.0 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Err:1 http://in.archive.ubuntu.com/ubuntu bionic/main amd64 libsigc++-2.0-0v5 amd64 2.10.0-2
  502  Connection timed out [IP: 2001:67c:1560:8001::14 80]
Err:2 http://in.archive.ubuntu.com/ubuntu bionic/main amd64 libglibmm-2.4-1v5 amd64 2.56.0-1
  502  Connection timed out [IP: 2001:67c:1560:8001::14 80]
Err:3 http://in.archive.ubuntu.com/ubuntu bionic/main amd64 libatkmm-1.6-1v5 amd64 2.24.2-3
  502  Connection timed out [IP: 2001:67c:1560:8001::14 80]
Err:4 http://in.archive.ubuntu.com/ubuntu bionic/main amd64 libcairomm-1.0-1v5 amd64 1.12.2-3
  502  Connection timed out [IP: 2001:67c:1560:8001::14 80]
Err:5 http://in.archive.ubuntu.com/ubuntu bionic/main amd64 libpangomm-1.4-1v5 amd64 2.40.1-4
  502  Connection timed out [IP: 2001:67c:1560:8001::14 80]
Err:6 http://in.archive.ubuntu.com/ubuntu bionic/main amd64 libgtkmm-2.4-1v5 amd64 1:2.24.5-2
  502  Connection timed out [IP: 2001:67c:1560:8001::14 80]
Err:7 http://in.archive.ubuntu.com/ubuntu bionic/main amd64 gparted amd64 0.30.0-3ubuntu1
  502  Connection timed out [IP: 2001:67c:1560:8001::14 80]
E: Failed to fetch http://in.archive.ubuntu.com/ubuntu/pool/main/libs/libsigc++-2.0/libsigc++-2.0-0v5_2.10.0-2_amd64.deb  502  Connection timed out [IP: 2001:67c:1560:8001::14 80]
E: Failed to fetch http://in.archive.ubuntu.com/ubuntu/pool/main/g/glibmm2.4/libglibmm-2.4-1v5_2.56.0-1_amd64.deb  502  Connection timed out [IP: 2001:67c:1560:8001::14 80]
E: Failed to fetch http://in.archive.ubuntu.com/ubuntu/pool/main/a/atkmm1.6/libatkmm-1.6-1v5_2.24.2-3_amd64.deb  502  Connection timed out [IP: 2001:67c:1560:8001::14 80]
E: Failed to fetch http://in.archive.ubuntu.com/ubuntu/pool/main/c/cairomm/libcairomm-1.0-1v5_1.12.2-3_amd64.deb  502  Connection timed out [IP: 2001:67c:1560:8001::14 80]
E: Failed to fetch http://in.archive.ubuntu.com/ubuntu/pool/main/p/pangomm/libpangomm-1.4-1v5_2.40.1-4_amd64.deb  502  Connection timed out [IP: 2001:67c:1560:8001::14 80]
E: Failed to fetch http://in.archive.ubuntu.com/ubuntu/pool/main/g/gtkmm2.4/libgtkmm-2.4-1v5_2.24.5-2_amd64.deb  502  Connection timed out [IP: 2001:67c:1560:8001::14 80]
E: Failed to fetch http://in.archive.ubuntu.com/ubuntu/pool/main/g/gparted/gparted_0.30.0-3ubuntu1_amd64.deb  502  Connection timed out [IP: 2001:67c:1560:8001::14 80]

2)通过 Ubuntu 软件中心

在此处输入图片描述

3)下载.deb。

在此处输入图片描述

关于如何纠正这个问题并继续安装,您有什么想法吗?

答案1

打开终端并输入以下命令

  1. sudo apt-get update- 更新存储库和包
  2. sudo apt-get install gparted- 安装 gparted
  3. sudo dpkg -l gparted- 检查并确认安装
  4. sudo gparted - 打开 gparted

您已完成 :-)

答案2

  1. 下载 Gparted 作为 ISO 文件
  2. 将其刻录到 USB 闪存盘中
  3. 将 USB 闪存插入计算机
  4. 使用您已制作的可启动 USB 启动计算机
  5. 像 live 一样使用 Gparted 应用

还有祝你好运

相关内容