Pantheonデスクトップをアンインストールしようとしています。スターグロブを使用して、「pantheon-」で始まる名前のすべてのパッケージをアンインストールします。
rolf@DRGMC01:~$ Sudo apt-get remove pantheon-*
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package pantheon-debian-repos_0.4-0+pantheon+stretch+loki1_all.deb
E: Couldn't find any package by glob 'pantheon-debian-repos_0.4-0+pantheon+stretch+loki1_all.deb'
E: Couldn't find any package by regex 'pantheon-debian-repos_0.4-0+pantheon+stretch+loki1_all.deb'
では、不足しているパッケージをインストールしましょう。
rolf@DRGMC01:~$ Sudo apt-get install pantheon-debian-repos
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
pantheon-debian-repos
0 upgraded, 1 newly installed, 0 to remove and 16 not upgraded.
Need to get 3,682 B of archives.
After this operation, 19.5 kB of additional disk space will be used.
Get:1 http://gandalfn.ovh/debian stretch-loki/main AMD64 pantheon-debian-repos all 0.4-0+pantheon+stretch+loki1 [3,682 B]
Fetched 3,682 B in 0s (12.2 kB/s)
Selecting previously unselected package pantheon-debian-repos.
(Reading database ... 180511 files and directories currently installed.)
Preparing to unpack .../pantheon-debian-repos_0.4-0+pantheon+stretch+loki1_all.deb ...
Unpacking pantheon-debian-repos (0.4-0+pantheon+stretch+loki1) ...
Setting up pantheon-debian-repos (0.4-0+pantheon+stretch+loki1) ...
Importing pantheon-debian keyring
Warning: apt-key should not be used in scripts (called from postinst maintainerscript of the package pantheon-debian-repos)
OK
多分今?
rolf@DRGMC01:~$ Sudo apt-get remove pantheon-* --ignore-missing
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package pantheon-debian-repos_0.4-0+pantheon+stretch+loki1_all.deb
E: Couldn't find any package by glob 'pantheon-debian-repos_0.4-0+pantheon+stretch+loki1_all.deb'
E: Couldn't find any package by regex 'pantheon-debian-repos_0.4-0+pantheon+stretch+loki1_all.deb'
いいえ、本当にインストールされていますか?
rolf@DRGMC01:~$ dpkg -l |grep '^ii panth'
ii pantheon-agent-polkit 0.1.4-0+pantheon+stretch+loki1+r1 AMD64 Polkit authorization designed for Pantheon
ii pantheon-debian-repos 0.4-0+pantheon+stretch+loki1 all Pantheon Debian Repository configuration
ii pantheon-dpms-helper 1:0.4.3.1+bzr235-0+pantheon+stretch+loki2 all script and settings for X DPMS
ii pantheon-mail 1.0.6-0+pantheon+stretch+loki1+r1 AMD64 Email client
etc.
ここで何が起こっているのですか?
現在のディレクトリにpantheon-debian-repos_0.4-0+pantheon+stretch+loki1_all.deb
があるように見え、pantheon-*
はシェルによってこれに展開されます。
必要なものは次のとおりです。
Sudo apt-get remove 'pantheon-*'
または:
Sudo apt-get remove "pantheon-*"