Ubuntu 安装任何软件的保存 依赖问题


软件中心自动修复后的报错:


 installArchives() failed: (Reading database ... 
dpkg: warning: files list file for package 'deepin-music-player' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libdc1394-22:amd64' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libswscale2:amd64' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libattica0.4:amd64' missing; assuming package has no files currently installed
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
dpkg: unrecoverable fatal error, aborting:
 files list file for package `x11-common' contains empty filename
Error in function: 
dpkg: dependency problems prevent configuration of update-manager:
 update-manager depends on update-manager-core (= 1:0.196.13); however:
  Version of update-manager-core on system is 1:0.196.12.

dpkg: error processing package update-manager (--configure):
 dependency problems - leaving unconfigured
Setting up rsyslog (7.4.4-1ubuntu2.6) ...
The user `syslog' is already a member of `adm'.
mkdir /var/lib/systemd: File exists at /usr/bin/deb-systemd-helper line 153.
Skipping profile in /etc/apparmor.d/disable: usr.sbin.rsyslogd
rsyslog stop/waiting
rsyslog start/running, process 27423
Setting up update-notifier-common (0.154.1ubuntu1) ...
ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/andale32.exe
ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/arial32.exe
ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/arialb32.exe
ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/comic32.exe
ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/courie32.exe
ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/georgi32.exe
ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/impact32.exe
ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/times32.exe
ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/trebuc32.exe
ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/verdan32.exe
ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/webdin32.exe
user did not accept the  license
The fonts are NOT installed.
Please run 'dpkg-reconfigure ttf-mscorefonts-installer' to perform the installation again
flashplugin-installer: downloading http://archive.canonical.com/pool/partner/a/adobe-flashplugin/adobe-flashplugin_20150512.1.orig.tar.gz
Installing from local file /tmp/tmpXysQDk.gz
Flash Plugin installed.
Traceback (most recent call last):
  File "/usr/lib/update-notifier/package-data-downloader", line 51, in create_or_update_stampfile
    with open(file, 'w'):
IOError: [Errno 20] Not a directory: '/var/lib/update-notifier/package-data-downloads/flashplugin-installer'
Traceback (most recent call last):
  File "/usr/lib/update-notifier/package-data-downloader", line 256, in process_download_requests
    create_or_update_stampfile(stampfile)
  File "/usr/lib/update-notifier/package-data-downloader", line 57, in create_or_update_stampfile
    os.utime(file, None)
OSError: [Errno 20] Not a directory: '/var/lib/update-notifier/package-data-downloads/flashplugin-installer'
Traceback (most recent call last):
  File "/usr/lib/update-notifier/package-data-downloader", line 78, in mark_hook_failed
    with open(failure_file, 'w'):
IOError: [Errno 20] Not a directory: '/var/lib/update-notifier/package-data-downloads/ttf-mscorefonts-installer.permanent-failure'
Traceback (most recent call last):
  File "/usr/lib/update-notifier/package-data-downloader", line 140, in trigger_update_notifier
    output_file = open(NOTIFIER_PERMANENT_FILE, 'w')
IOError: [Errno 20] Not a directory: '/var/lib/update-notifier/user.d/data-downloads-failed-permanently'
dpkg: error processing package update-notifier-common (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up grub-efi-amd64 (2.02~beta2-9ubuntu1.2) ...
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-3.13.0-53-generic
Found initrd image: /boot/initrd.img-3.13.0-53-generic
Found linux image: /boot/vmlinuz-3.13.0-49-generic
Found initrd image: /boot/initrd.img-3.13.0-49-generic
Found Deepin 2014.3 (2014.3) on /dev/sda4
Found Arch on /dev/sdb2
Adding boot menu entry for EFI firmware configuration
done
Setting up grub-efi-amd64-signed (1.34.3+2.02~beta2-9ubuntu1.2) ...
dpkg: dependency problems prevent configuration of flashplugin-installer:
 flashplugin-installer depends on update-notifier-common (>= 0.119ubuntu2); however:
  Package update-notifier-common is not configured yet.

dpkg: error processing package flashplugin-installer (--configure):
 dependency problems - leaving unconfigured

 **终端安装软件报错:**


You might want to run 'apt-get -f install' to correct these: The following packages have unmet dependencies: update-manager : Depends: update-manager-core (= 1:0.196.13) but 1:0.196.12 is to be installed update-manager-core : Depends: python3-update-manager (= 1:0.196.12) but 1:0.196.13 is to be installed E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

ubuntu14.04 apt-get

傲傲傲傲傲哥 9 years, 10 months ago

以报错信息为关键字,可以搜索出N多条有用的信息和解决办法来。 为什么不先去搜索呢?


 flashplugin-installer depends on update-notifier-common (>= 0.119ubuntu2); however:
  Package update-notifier-common is not configured yet.

写的很明白了啊 :)

nrndm answered 9 years, 10 months ago

把这些依赖的软件都卸载掉,然后重新安装

ablib answered 9 years, 10 months ago

Your Answer