web-dev-qa-db-ja.com

パッケージには満たされていない依存関係があります

昨日、16.04を18.04にアップグレードする通知を受け取りました。

その過程で、依存関係が満たされていないパッケージがいくつかあると述べました。

実施後Sudo apt-get -f install、私は次の問題を取得しました。

[UPDATED] apt-get updateの結果

soo@laptop-soo:~$ Sudo apt-get update
Ign:1 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:2 http://dl.google.com/linux/chrome/deb stable Release                     
Ign:4 http://linux.dropbox.com/ubuntu xenial InRelease                         
Hit:5 http://ppa.launchpad.net/notepadqq-team/notepadqq/ubuntu xenial InRelease
Hit:6 http://my.archive.ubuntu.com/ubuntu xenial InRelease                     
Get:7 http://security.ubuntu.com/ubuntu xenial-security InRelease [109 kB]     
Hit:8 http://packages.ros.org/ros/ubuntu xenial InRelease                      
Hit:9 http://linux.dropbox.com/ubuntu xenial Release                           
Get:10 http://my.archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]   
Hit:12 http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu xenial InRelease
Get:13 http://my.archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB] 
Fetched 325 kB in 2s (159 kB/s)    
Reading package lists... Done

[更新]結果apt-get -f installhttps://Pastebin.ubuntu.com/p/YjWgzT9dmG/

[更新]結果Sudo apt-get dist-upgradehttps://Pastebin.ubuntu.com/p/33H4Rpfsm3/ =

[更新] apt-cacheポリシーpython3

soo@laptop-soo:~$ apt-cache policy python3
python3:
  Installed: (none)
  Candidate: 3.5.1-3
  Version table:
     3.5.1-3 500
        500 http://my.archive.ubuntu.com/ubuntu xenial/main i386 Packages

[更新:Sudo aptitude safe-upgrade]

soo@laptop-soo:~$ Sudo aptitude safe-upgrade
Resolving dependencies...                
Unable to resolve dependencies for the upgrade: no solution found.
Unable to safely resolve dependencies, try running with --full-resolver.

[更新:Sudo aptitude safe-upgrade --full-resolver]https://Pastebin.ubuntu.com/p/9DYmHHTxs6 / この出力に対して+(インストールを意味する)と返信すると、次のメッセージが表示され、何もするのは非常に危険なようです。

The following ESSENTIAL packages will be BROKEN by this action:
 apt : Depends: gpgv but it is not going to be installed. or
                gpgv2 but it is not going to be installed.
       Depends: gnupg but it is not going to be installed. or
                gnupg2 but it is not going to be installed.
 dpkg : Conflicts: dpkg:AMD64 but 1.18.4ubuntu1.5 is installed.
 dpkg:AMD64 : Conflicts: dpkg but 1.18.4ubuntu1.5 is to be installed.
 tar : Conflicts: tar:AMD64 but 1.28-2.1ubuntu0.1 is installed.
 tar:AMD64 : Conflicts: tar but 1.28-2.1ubuntu0.1 is to be installed.

WARNING: Performing this action will probably cause your system to break!
         Do NOT continue unless you know EXACTLY what you are doing!
To continue, type the phrase "I am aware that this is a very bad idea":

この画像は私のソフトウェアとアップデートの設定を示しています

ご清聴ありがとうございました。ご迷惑をおかけして申し訳ありません:)

4
soo kin wah

廃止された Point Cloud Library PPA を削除することから始めます

Sudo add-apt-repository -r ppa:v-launchpad-jochen-sprickerhof-de/pcl
Sudo apt-get update

インストールされているすべてのアプリケーションのリストをホームフォルダーに保存します。

dpkg --get-selections > ~/dpkg_selections.txt
dpkg -l > ~/dpkg_l.txt

既存の問題を修正してから復元します。


Aptitudeで試すことができます:

Sudo apt-get install aptitude
Sudo aptitude safe-upgrade

ただし、システムが深刻に破損しているため、問題が解決しない場合があるため、段階的に修正する必要があります。何かのようなもの:

Sudo aptitude reinstall ubuntu-minimal
Sudo aptitude reinstall ubuntu-standard
Sudo aptitude reinstall ubuntu-system-service

Sudo apt-get install -f
Sudo apt-get dist-upgrade

等々。

2
N0rbert