如何取回我删除的包裹?

如何取回我删除的包裹?

有人问我,在我在 Github 上报告的一个问题,删除几个包并在没有它们的情况下进行测试。我确信隐​​含的要求是要我安全地做到这一点!

无论如何,我删除了这些包裹(在本例中为libicu52libssl1.0.0),并计划稍后将它们取回。事实证明,这两个包分别是 和 的依赖项,libpsl0它们spotify-client也已被删除。正如您所预料的那样,重新安装每一个都没有按计划进行:

$ sudo apt install libicu52
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package libicu52 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libicu52' has no installation candidate

libssl1.0.0和 依赖的包也是如此libpsl0

如果我尝试安装依赖的包spotify-client,我会看到以下内容:

$ sudo apt install spotify-client
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 spotify-client : Depends: libssl1.0.0 but it is not installable
                  Recommends: libavcodec54 but it is not installable or
                              libavcodec-extra-54 but it is not installable
                  Recommends: libavformat54 but it is not installable
E: Unable to correct problems, you have held broken packages.

你可以从我的文章末尾看到结果dpkg.log

2017-12-05 23:30:49 startup packages remove
2017-12-05 23:30:49 status installed libpsl0:amd64 0.5.1-1
2017-12-05 23:30:49 remove libpsl0:amd64 0.5.1-1 <none>
2017-12-05 23:30:49 status half-configured libpsl0:amd64 0.5.1-1
2017-12-05 23:30:49 status half-installed libpsl0:amd64 0.5.1-1
2017-12-05 23:30:49 status config-files libpsl0:amd64 0.5.1-1
2017-12-05 23:30:49 status config-files libpsl0:amd64 0.5.1-1
2017-12-05 23:30:49 status installed libicu52:amd64 52.1-8+deb8u5
2017-12-05 23:30:49 remove libicu52:amd64 52.1-8+deb8u5 <none>
2017-12-05 23:30:49 status half-configured libicu52:amd64 52.1-8+deb8u5
2017-12-05 23:30:49 status half-installed libicu52:amd64 52.1-8+deb8u5
2017-12-05 23:30:49 status config-files libicu52:amd64 52.1-8+deb8u5
2017-12-05 23:30:49 status config-files libicu52:amd64 52.1-8+deb8u5
2017-12-05 23:30:49 startup packages configure
2017-12-05 23:31:01 startup packages remove
2017-12-05 23:31:01 status installed spotify-client:amd64 1:1.0.64.407.g9bd02c2d-26
2017-12-05 23:31:01 remove spotify-client:amd64 1:1.0.64.407.g9bd02c2d-26 <none>
2017-12-05 23:31:01 status half-configured spotify-client:amd64 1:1.0.64.407.g9bd02c2d-26
2017-12-05 23:31:01 status half-installed spotify-client:amd64 1:1.0.64.407.g9bd02c2d-26
2017-12-05 23:31:01 status config-files spotify-client:amd64 1:1.0.64.407.g9bd02c2d-26
2017-12-05 23:31:01 status config-files spotify-client:amd64 1:1.0.64.407.g9bd02c2d-26
2017-12-05 23:31:01 status config-files spotify-client:amd64 1:1.0.64.407.g9bd02c2d-26
2017-12-05 23:31:01 status not-installed spotify-client:amd64 <none>
2017-12-05 23:31:01 status installed libssl1.0.0:amd64 1.0.1t-1+deb8u7
2017-12-05 23:31:01 remove libssl1.0.0:amd64 1.0.1t-1+deb8u7 <none>
2017-12-05 23:31:01 status half-configured libssl1.0.0:amd64 1.0.1t-1+deb8u7
2017-12-05 23:31:01 status half-installed libssl1.0.0:amd64 1.0.1t-1+deb8u7
2017-12-05 23:31:01 status config-files libssl1.0.0:amd64 1.0.1t-1+deb8u7
2017-12-05 23:31:01 status config-files libssl1.0.0:amd64 1.0.1t-1+deb8u7
2017-12-05 23:31:02 startup packages configure

我应该担心吗?我应该尝试取回我的包裹吗?我该怎么办呢?

相关内容