Update manager failed

Asked by William Pritchard

I get following after following on screen advice following brokenpackage.
The package system is broken

If you are using third party repositories then disable them, since they are a common source of problems.
Now run the following command in a terminal: apt-get install -f

Sub-process /usr/bin/dpkg returned an error code (1)
please advise.
William

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu update-manager Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Warren Hill (warren-hill) said :
#1

Open up a terminal (CTRL+ALT+T)

enter the following command. Post all results back here. Should give at least one of us a clue whats gone wrong

Also Make and model of computer

lsb_release -a; uname -a; sudo apt-get update; sudo apt-get upgrade

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#2

also ca you give the output of:

ls /etc/apt/sources.list.d/*

Thanks

Revision history for this message
William Pritchard (wdnp2) said :
#3

Hi Warren,
Problem related to Libre office. My computer is a home built Asus e35m1-m motherboard dual core amd zacate e-350 processor and amd radeon hd 6310 graphics processor.
Output requested below
william@Asusdesktop:~$ lsb_release -a; uname -a; sudo apt-get update; sudo apt-get upgrade
No LSB modules are available.
Distributor ID:    Ubuntu
Description:    Ubuntu 12.04.1 LTS
Release:    12.04
Codename:    precise
Linux Asusdesktop 3.2.0-27-generic #43-Ubuntu SMP Fri Jul 6 14:46:35 UTC 2012 i686 athlon i386 GNU/Linux
[sudo] password for william:
Ign http://archive.canonical.com precise InRelease
Ign http://gb.archive.ubuntu.com precise InRelease
Ign http://gb.archive.ubuntu.com precise-updates InRelease
Ign http://security.ubuntu.com precise-security InRelease
Hit http://archive.canonical.com precise Release.gpg
Hit http://gb.archive.ubuntu.com precise Release.gpg
Hit http://security.ubuntu.com precise-security Release.gpg
Get:1 http://gb.archive.ubuntu.com precise-updates Release.gpg [198 B]
Hit http://archive.canonical.com precise Release
Hit http://security.ubuntu.com precise-security Release
Hit http://gb.archive.ubuntu.com precise Release
Get:2 http://gb.archive.ubuntu.com precise-updates Release [49.6 kB]
Hit http://archive.canonical.com precise/partner i386 Packages
Hit http://security.ubuntu.com precise-security/main Sources
Ign http://archive.canonical.com precise/partner TranslationIndex
Hit http://security.ubuntu.com precise-security/universe Sources
Hit http://security.ubuntu.com precise-security/main i386 Packages
Hit http://security.ubuntu.com precise-security/universe i386 Packages
Hit http://security.ubuntu.com precise-security/main TranslationIndex
Hit http://security.ubuntu.com precise-security/universe TranslationIndex
Hit http://gb.archive.ubuntu.com precise/main Sources
Hit http://gb.archive.ubuntu.com precise/universe Sources
Hit http://gb.archive.ubuntu.com precise/main i386 Packages
Hit http://gb.archive.ubuntu.com precise/universe i386 Packages
Hit http://gb.archive.ubuntu.com precise/main TranslationIndex
Hit http://gb.archive.ubuntu.com precise/universe TranslationIndex
Hit http://security.ubuntu.com precise-security/main Translation-en
Get:3 http://gb.archive.ubuntu.com precise-updates/main Sources [160 kB]
Hit http://security.ubuntu.com precise-security/universe Translation-en
Get:4 http://gb.archive.ubuntu.com precise-updates/universe Sources [50.4 kB]
Ign http://archive.canonical.com precise/partner Translation-en_GB
Ign http://archive.canonical.com precise/partner Translation-en
Get:5 http://gb.archive.ubuntu.com precise-updates/main i386 Packages [382 kB]
Get:6 http://gb.archive.ubuntu.com precise-updates/universe i386 Packages [127 kB]
Hit http://gb.archive.ubuntu.com precise-updates/main TranslationIndex
Hit http://gb.archive.ubuntu.com precise-updates/universe TranslationIndex
Hit http://gb.archive.ubuntu.com precise/main Translation-en_GB
Hit http://gb.archive.ubuntu.com precise/main Translation-en
Hit http://gb.archive.ubuntu.com precise/universe Translation-en_GB
Hit http://gb.archive.ubuntu.com precise/universe Translation-en
Hit http://gb.archive.ubuntu.com precise-updates/main Translation-en_GB
Hit http://gb.archive.ubuntu.com precise-updates/main Translation-en
Hit http://gb.archive.ubuntu.com precise-updates/universe Translation-en_GB
Hit http://gb.archive.ubuntu.com precise-updates/universe Translation-en
Fetched 769 kB in 2s (347 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run ‘apt-get -f install’ to correct these.
The following packages have unmet dependencies.
 libreoffice-base-core : Depends: libreoffice-core (= 1:3.5.4-0ubuntu1.1) but 1:3.5.4-0ubuntu1 is installed
 libreoffice-calc : Depends: libreoffice-core (= 1:3.5.4-0ubuntu1.1) but 1:3.5.4-0ubuntu1 is installed
 libreoffice-draw : Depends: libreoffice-core (= 1:3.5.4-0ubuntu1.1) but 1:3.5.4-0ubuntu1 is installed
 libreoffice-gnome : Depends: libreoffice-core (= 1:3.5.4-0ubuntu1.1) but 1:3.5.4-0ubuntu1 is installed
 libreoffice-gtk : Depends: libreoffice-core (= 1:3.5.4-0ubuntu1.1) but 1:3.5.4-0ubuntu1 is installed
 libreoffice-impress : Depends: libreoffice-core (= 1:3.5.4-0ubuntu1.1) but 1:3.5.4-0ubuntu1 is installed
 libreoffice-math : Depends: libreoffice-core (= 1:3.5.4-0ubuntu1.1) but 1:3.5.4-0ubuntu1 is installed
 libreoffice-writer : Depends: libreoffice-core (= 1:3.5.4-0ubuntu1.1) but 1:3.5.4-0ubuntu1 is installed
 python-uno : Depends: libreoffice-core (= 1:3.5.4-0ubuntu1.1) but 1:3.5.4-0ubuntu1 is installed
E: Unmet dependencies. Try using -f.
william@Asusdesktop:~$

-

Revision history for this message
William Pritchard (wdnp2) said :
#4

Hi Actionparsnip,
See below.William
william@Asusdesktop:~$ ls /etc/apt/sources.list.d/*
/etc/apt/sources.list.d/playonlinux.list
/etc/apt/sources.list.d/playonlinux.list.distUpgrade
/etc/apt/sources.list.d/playonlinux.list.save
/etc/apt/sources.list.d/yannubuntu-boot-repair-lucid.list
/etc/apt/sources.list.d/yannubuntu-boot-repair-lucid.list.distUpgrade
/etc/apt/sources.list.d/yannubuntu-boot-repair-lucid.list.save
william@Asusdesktop:~$

-

Revision history for this message
Warren Hill (warren-hill) said :
#5

try

sudo apt-get install libreoffice-core; sudo apt-get upgrade

If that does not work paste all results back here together with the answer to Andrews question

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#6

Can you give the output of:

apt-cache policy libreoffice-base-core libreoffice-core

Thanks

Revision history for this message
William Pritchard (wdnp2) said :
#7

Hi Warren,
Did not work here is output,William
william@Asusdesktop:~$ sudo apt-get install libreoffice-core; sudo apt-get upgrade
[sudo] password for william:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libunity6 libdee-1.0-1
Use 'apt-get autoremove' to remove them.
The following packages will be upgraded:
  libreoffice-core
1 upgraded, 0 newly installed, 0 to remove and 77 not upgraded.
9 not fully installed or removed.
Need to get 0 B/37.4 MB of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 565112 files and directories currently installed.)
Preparing to replace libreoffice-core 1:3.5.4-0ubuntu1 (using .../libreoffice-core_1%3a3.5.4-0ubuntu1.1_i386.deb) ...
rmdir: failed to remove `/var/lib/libreoffice/basis3.4/program/': No such file or directory
rmdir: failed to remove `/var/lib/libreoffice/basis3.4': No such file or directory
Unpacking replacement libreoffice-core ...
dpkg-deb (subprocess): failed to read on buffer copy for failed to write to pipe in copy: Input/output error
dpkg-deb (subprocess): data: internal bzip2 read error 'UNEXPECTED_EOF'
dpkg-deb: error: subprocess <decompress> returned error exit status 2
dpkg: error processing /var/cache/apt/archives/libreoffice-core_1%3a3.5.4-0ubuntu1.1_i386.deb (--unpack):
 short read on buffer copy for backend dpkg-deb during `./usr/lib/libreoffice/program/libchartcontrollerlo.so'
Processing triggers for desktop-file-utils ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for gnome-menus ...
Errors were encountered while processing:
 /var/cache/apt/archives/libreoffice-core_1%3a3.5.4-0ubuntu1.1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run ‘apt-get -f install’ to correct these.
The following packages have unmet dependencies.
 libreoffice-base-core : Depends: libreoffice-core (= 1:3.5.4-0ubuntu1.1) but 1:3.5.4-0ubuntu1 is installed
 libreoffice-calc : Depends: libreoffice-core (= 1:3.5.4-0ubuntu1.1) but 1:3.5.4-0ubuntu1 is installed
 libreoffice-draw : Depends: libreoffice-core (= 1:3.5.4-0ubuntu1.1) but 1:3.5.4-0ubuntu1 is installed
 libreoffice-gnome : Depends: libreoffice-core (= 1:3.5.4-0ubuntu1.1) but 1:3.5.4-0ubuntu1 is installed
 libreoffice-gtk : Depends: libreoffice-core (= 1:3.5.4-0ubuntu1.1) but 1:3.5.4-0ubuntu1 is installed
 libreoffice-impress : Depends: libreoffice-core (= 1:3.5.4-0ubuntu1.1) but 1:3.5.4-0ubuntu1 is installed
 libreoffice-math : Depends: libreoffice-core (= 1:3.5.4-0ubuntu1.1) but 1:3.5.4-0ubuntu1 is installed
 libreoffice-writer : Depends: libreoffice-core (= 1:3.5.4-0ubuntu1.1) but 1:3.5.4-0ubuntu1 is installed
 python-uno : Depends: libreoffice-core (= 1:3.5.4-0ubuntu1.1) but 1:3.5.4-0ubuntu1 is installed
E: Unmet dependencies. Try using -f.
william@Asusdesktop:~$

Revision history for this message
William Pritchard (wdnp2) said :
#8

Hi AP,
Here is output.William
william@Asusdesktop:~$ apt-cache policy  libreoffice-base-core libreoffice-core

libreoffice-base-core:
  Installed: 1:3.5.4-0ubuntu1.1
  Candidate: 1:3.5.4-0ubuntu1.1
  Version table:
 *** 1:3.5.4-0ubuntu1.1 0
        500 http://gb.archive.ubuntu.com/ubuntu/ precise-updates/main i386 Packages
        500 http://security.ubuntu.com/ubuntu/ precise-security/main i386 Packages
        100 /var/lib/dpkg/status
     1:3.5.2-2ubuntu1 0
        500 http://gb.archive.ubuntu.com/ubuntu/ precise/main i386 Packages
libreoffice-core:
  Installed:
 1:3.5.4-0ubuntu1
  Candidate: 1:3.5.4-0ubuntu1.1
  Version table:
     1:3.5.4-0ubuntu1.1 0
        500 http://gb.archive.ubuntu.com/ubuntu/ precise-updates/main i386 Packages
        500 http://security.ubuntu.com/ubuntu/ precise-security/main i386 Packages
 *** 1:3.5.4-0ubuntu1 0
        100 /var/lib/dpkg/status
     1:3.5.2-2ubuntu1 0
        500 http://gb.archive.ubuntu.com/ubuntu/ precise/main i386 Packages
william@Asusdesktop:~$
william@Asusdesktop:~$

I got the following diagnostic from update manager
The following packages have unmet dependencies:

libreoffice-base-core: Depends: libreoffice-core (= 1:3.5.4-0ubuntu1.1) but 1:3.5.4-0ubuntu1 is installed
                       Depends: libgcc1 (>= 1:4.1.1) but 1:4.6.3-1ubuntu5 is installed
libreoffice-calc: Depends: libreoffice-core (= 1:3.5.4-0ubuntu1.1) but 1:3.5.4-0ubuntu1 is installed
                  Depends: libreoffice-base-core (= 1:3.5.4-0ubuntu1.1) but 1:3.5.4-0ubuntu1.1 is installed
                  Depends: libgcc1 (>= 1:4.1.1) but 1:4.6.3-1ubuntu5 is installed
libreoffice-draw: Depends: libreoffice-core (= 1:3.5.4-0ubuntu1.1) but 1:3.5.4-0ubuntu1 is installed
                  Depends: libgcc1 (>= 1:4.1.1) but 1:4.6.3-1ubuntu5 is installed
libreoffice-gnome: Depends: libreoffice-core (= 1:3.5.4-0ubuntu1.1) but 1:3.5.4-0ubuntu1 is installed
                   Depends: libgcc1 (>= 1:4.1.1) but 1:4.6.3-1ubuntu5 is installed
libreoffice-gtk: Depends: libreoffice-core (= 1:3.5.4-0ubuntu1.1) but 1:3.5.4-0ubuntu1 is installed
                 Depends: libgcc1 (>= 1:4.1.1) but 1:4.6.3-1ubuntu5 is installed
libreoffice-impress: Depends: libreoffice-core (= 1:3.5.4-0ubuntu1.1) but 1:3.5.4-0ubuntu1 is installed
                     Depends: libreoffice-draw (= 1:3.5.4-0ubuntu1.1) but 1:3.5.4-0ubuntu1.1 is installed
                     Depends: libgcc1 (>= 1:4.1.1) but 1:4.6.3-1ubuntu5 is installed
libreoffice-math: Depends: libreoffice-core (= 1:3.5.4-0ubuntu1.1) but 1:3.5.4-0ubuntu1 is installed
                  Depends: libgcc1 (>= 1:4.1.1) but 1:4.6.3-1ubuntu5 is installed
libreoffice-writer: Depends: libreoffice-core (= 1:3.5.4-0ubuntu1.1) but 1:3.5.4-0ubuntu1 is installed
                    Depends: libreoffice-base-core (= 1:3.5.4-0ubuntu1.1) but 1:3.5.4-0ubuntu1.1 is installed
                    Depends: libgcc1 (>= 1:4.1.1) but 1:4.6.3-1ubuntu5 is installed
python-uno: Depends: libreoffice-core (= 1:3.5.4-0ubuntu1.1) but 1:3.5.4-0ubuntu1 is installed
            Depends: python (< 2.8) but 2.7.3-0ubuntu2 is installed
            Depends: libgcc1 (>= 1:4.1.1) but 1:4.6.3-1ubuntu5 is installed

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#9

Try:

sudo apt-get clean
sudo apt-get --purge remove libreoffice*
sudo apt-get update
sudo apt-get install libreoffice

Should help

Revision history for this message
William Pritchard (wdnp2) said :
#10

Hi AP,
Not working I'm afraid. Output below.
William
william@Asusdesktop:~$ sudo apt-get clean
[sudo] password for william:
william@Asusdesktop:~$ sudo apt-get --purge remove libreoffice*
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libreoffice-l10n-3.5' for regex 'libreoffice*'
Note, selecting 'libreoffice-presenter-console' for regex 'libreoffice*'
Note, selecting 'libreoffice-l10n-pt-br' for regex 'libreoffice*'
Note, selecting 'libreoffice-presentation-minimizer' for regex 'libreoffice*'
Note, selecting 'libreoffice-spellcheck-fi' for regex 'libreoffice*'
Note, selecting 'libreoffice-dmaths' for regex 'libreoffice*'
Note, selecting 'libreoffice-help-pt-br' for regex 'libreoffice*'
Note, selecting
 'libreoffice-base' for regex 'libreoffice*'
Note, selecting 'libreoffice-spellcheck-tr' for regex 'libreoffice*'
Note, selecting 'libreoffice-dev-doc' for regex 'libreoffice*'
Note, selecting 'libreoffice-style-andromeda' for regex 'libreoffice*'
Note, selecting 'libreoffice-zemberek' for regex 'libreoffice*'
Note, selecting 'libreoffice-calc' for regex 'libreoffice*'
Note, selecting 'libreoffice.org-writer' for regex 'libreoffice*'
Note, selecting 'mozilla-libreoffice' for regex 'libreoffice*'
Note, selecting 'libreoffice-gnome' for regex 'libreoffice*'
Note, selecting 'libreoffice-help-af' for regex 'libreoffice*'
Note, selecting 'libreoffice-help-be' for regex 'libreoffice*'
Note, selecting 'libreoffice-style' for regex 'libreoffice*'
Note, selecting 'libreoffice-help-ca' for regex 'libreoffice*'
Note, selecting 'libreoffice-help-bg' for regex 'libreoffice*'
Note, selecting 'libreoffice-help-da' for regex
 'libreoffice*'
Note, selecting 'libreoffice-help-ar' for regex 'libreoffice*'
Note, selecting 'libreoffice-help-bn' for regex 'libreoffice*'
Note, selecting 'libreoffice-help-as' for regex 'libreoffice*'
Note, selecting 'libreoffice-help-de' for regex 'libreoffice*'
Note, selecting 'libreoffice-help-br' for regex 'libreoffice*'
Note, selecting 'libreoffice-help-bs' for regex 'libreoffice*'
Note, selecting 'libreoffice-help-fa' for regex 'libreoffice*'
Note, selecting 'libreoffice-help-cs' for regex 'libreoffice*'
Note, selecting 'libreoffice-help-ga' for regex 'libreoffice*'
Note, selecting 'libreoffice-help-el' for regex 'libreoffice*'
Note, selecting 'libreoffice-help-fi' for regex 'libreoffice*'
Note, selecting 'libreoffice-help-eo' for regex 'libreoffice*'
Note, selecting 'libreoffice-help-cy' for regex 'libreoffice*'
Note, selecting 'libreoffice-help-es' for regex 'libreoffice*'
Note, selecting
 'libreoffice-help-he' for regex 'libreoffice*'
Note, selecting 'libreoffice-help-et' for regex 'libreoffice*'
Note, selecting 'libreoffice-help-eu' for regex 'libreoffice*'
Note, selecting 'libreoffice-help-dz' for regex 'libreoffice*'
Note, selecting 'libreoffice-help-gl' for regex 'libreoffice*'
Note, selecting 'libreoffice-help-fr' for regex 'libreoffice*'
Note, selecting 'libreoffice-help-id' for regex 'libreoffice*'
Note, selecting 'libreoffice-help-hi' for regex 'libreoffice*'
Note, selecting 'libreoffice-help-ja' for regex 'libreoffice*'
Note, selecting 'libreoffice-help-ka' for regex 'libreoffice*'
Note, selecting 'libreoffice-help-gu' for regex 'libreoffice*'
Note, selecting 'docvert-libreoffice' for regex 'libreoffice*'
Note, selecting 'libreoffice-help-hr' for regex 'libreoffice*'
Note, selecting 'libreoffice-help-hu' for regex 'libreoffice*'
Note, selecting 'libreoffice-help-is' for regex
 'libreoffice*'
Note, selecting 'libreoffice-help-it' for regex 'libreoffice*'
Note, selecting 'libreoffice-help-km' for regex 'libreoffice*'
Note, selecting 'libreoffice-help-ko' for regex 'libreoffice*'
Note, selecting 'libreoffice-help-nb' for regex 'libreoffice*'
Note, selecting 'libreoffice-help-ne' for regex 'libreoffice*'
Note, selecting 'libreoffice-help-mk' for regex 'libreoffice*'
Note, selecting 'libreoffice-help-ku' for regex 'libreoffice*'
Note, selecting 'libreoffice-help-ml' for regex 'libreoffice*'
Note, selecting 'libreoffice-help-oc' for regex 'libreoffice*'
Note, selecting 'libreoffice-help-mn' for regex 'libreoffice*'
Note, selecting 'libreoffice-help-lt' for regex 'libreoffice*'
Note, selecting 'libreoffice-help-lv' for regex 'libreoffice*'
Note, selecting 'libreoffice-help-nl' for regex 'libreoffice*'
Note, selecting 'libreoffice-help-mr' for regex 'libreoffice*'
Note, selecting
 'libreoffice-help-nn' for regex 'libreoffice*'
Note, selecting 'libreoffice-help-nr' for regex 'libreoffice*'
Note, selecting 'libreoffice-help-om' for regex 'libreoffice*'
Note, selecting 'libreoffice-help-pl' for regex 'libreoffice*'
Note, selecting 'libreoffice-help-or' for regex 'libreoffice*'
Note, selecting 'libreoffice-help-pt' for regex 'libreoffice*'
Note, selecting 'libreoffice-help-ta' for regex 'libreoffice*'
Note, selecting 'libreoffice-help-si' for regex 'libreoffice*'
Note, selecting 'libreoffice-script-provider-bsh' for regex 'libreoffice*'
Note, selecting 'libreoffice-help-te' for regex 'libreoffice*'
Note, selecting 'libreoffice-help-ro' for regex 'libreoffice*'
Note, selecting 'libreoffice-help-sk' for regex 'libreoffice*'
Note, selecting 'libreoffice-help-tg' for regex 'libreoffice*'
Note, selecting 'libreoffice-help-sl' for regex 'libreoffice*'
Note, selecting 'libreoffice-help-th' for regex
 'libreoffice*'
Note, selecting 'libreoffice-help-ru' for regex 'libreoffice*'
Note, selecting 'libreoffice-help-ug' for regex 'libreoffice*'
Note, selecting 'libreoffice-officebean' for regex 'libreoffice*'
Note, selecting 'libreoffice-help-sr' for regex 'libreoffice*'
Note, selecting 'libreoffice-help-rw' for regex 'libreoffice*'
Note, selecting 'libreoffice-help-tn' for regex 'libreoffice*'
Note, selecting 'libreoffice-help-ss' for regex 'libreoffice*'
Note, selecting 'libreoffice-help-ve' for regex 'libreoffice*'
Note, selecting 'libreoffice-help-st' for regex 'libreoffice*'
Note, selecting 'libreoffice-help-uk' for regex 'libreoffice*'
Note, selecting 'libreoffice-help-sv' for regex 'libreoffice*'
Note, selecting 'libreoffice-help-tr' for regex 'libreoffice*'
Note, selecting 'libreoffice-help-vi' for regex 'libreoffice*'
Note, selecting 'libreoffice-help-ts' for regex 'libreoffice*'
Note, selecting
 'libreoffice-emailmerge' for regex 'libreoffice*'
Note, selecting 'libreoffice-gtk-gnome' for regex 'libreoffice*'
Note, selecting 'libreoffice-help-xh' for regex 'libreoffice*'
Note, selecting 'libreoffice-l10n-zh-cn' for regex 'libreoffice*'
Note, selecting 'libreoffice-help-uz' for regex 'libreoffice*'
Note, selecting 'libreoffice-help-zu' for regex 'libreoffice*'
Note, selecting 'libreoffice.org-calc' for regex 'libreoffice*'
Note, selecting 'libreoffice-core' for regex 'libreoffice*'
Note, selecting 'libreoffice-evolution' for regex 'libreoffice*'
Note, selecting 'libreoffice-pdfimport' for regex 'libreoffice*'
Note, selecting 'libreoffice-l10n-zh-tw' for regex 'libreoffice*'
Note, selecting 'libreoffice-help-zh-cn' for regex 'libreoffice*'
Note, selecting 'libreoffice-help-ast' for regex 'libreoffice*'
Note, selecting 'libreoffice-style-hicontrast' for regex 'libreoffice*'
Note, selecting
 'libreoffice-writer' for regex 'libreoffice*'
Note, selecting 'libreoffice-style-oxygen' for regex 'libreoffice*'
Note, selecting 'libreoffice-filter-mobiledev' for regex 'libreoffice*'
Note, selecting 'libreoffice-draw' for regex 'libreoffice*'
Note, selecting 'libreoffice-help-zh-tw' for regex 'libreoffice*'
Note, selecting 'libreoffice-l10n-en-gb' for regex 'libreoffice*'
Note, selecting 'libreoffice-filter-binfilter' for regex 'libreoffice*'
Note, selecting 'libreoffice-l10n-en-us' for regex 'libreoffice*'
Note, selecting 'libreoffice-l10n-en-za' for regex 'libreoffice*'
Note, selecting 'libreoffice-help-en-gb' for regex 'libreoffice*'
Note, selecting 'libreoffice-base-core' for regex 'libreoffice*'
Note, selecting 'libreoffice-ogltrans' for regex 'libreoffice*'
Note, selecting 'libreoffice-help-en-us' for regex 'libreoffice*'
Note, selecting 'libreoffice-help-en-za' for regex 'libreoffice*'
Note, selecting
 'libreoffice-help-nso' for regex 'libreoffice*'
Note, selecting 'libreoffice-l10n-af' for regex 'libreoffice*'
Note, selecting 'libreoffice-l10n-be' for regex 'libreoffice*'
Note, selecting 'libreoffice-l10n-ca' for regex 'libreoffice*'
Note, selecting 'libreoffice-l10n-bg' for regex 'libreoffice*'
Note, selecting 'libreoffice-l10n-da' for regex 'libreoffice*'
Note, selecting 'libreoffice-l10n-ar' for regex 'libreoffice*'
Note, selecting 'libreoffice-style-human' for regex 'libreoffice*'
Note, selecting 'libreoffice-l10n-bn' for regex 'libreoffice*'
Note, selecting 'libreoffice-l10n-as' for regex 'libreoffice*'
Note, selecting 'libreoffice-l10n-de' for regex 'libreoffice*'
Note, selecting 'libreoffice-l10n-br' for regex 'libreoffice*'
Note, selecting 'libreoffice-l10n-bs' for regex 'libreoffice*'
Note, selecting 'libreoffice-l10n-fa' for regex 'libreoffice*'
Note, selecting 'libreoffice-l10n-cs' for regex
 'libreoffice*'
Note, selecting 'libreoffice-l10n-ga' for regex 'libreoffice*'
Note, selecting 'libreoffice-l10n-el' for regex 'libreoffice*'
Note, selecting 'libreoffice-style-industrial' for regex 'libreoffice*'
Note, selecting 'libreoffice-hyphenation-fi' for regex 'libreoffice*'
Note, selecting 'libreoffice-l10n-fi' for regex 'libreoffice*'
Note, selecting 'libreoffice-l10n-eo' for regex 'libreoffice*'
Note, selecting 'libreoffice-l10n-cy' for regex 'libreoffice*'
Note, selecting 'libreoffice-l10n-es' for regex 'libreoffice*'
Note, selecting 'libreoffice-l10n-he' for regex 'libreoffice*'
Note, selecting 'libreoffice-l10n-et' for regex 'libreoffice*'
Note, selecting 'libreoffice-l10n-eu' for regex 'libreoffice*'
Note, selecting 'libreoffice-l10n-dz' for regex 'libreoffice*'
Note, selecting 'libreoffice-l10n-gl' for regex 'libreoffice*'
Note, selecting 'libreoffice-l10n-fr' for regex 'libreoffice*'
Note,
 selecting 'libreoffice-l10n-id' for regex 'libreoffice*'
Note, selecting 'libreoffice-l10n-hi' for regex 'libreoffice*'
Note, selecting 'libreoffice-l10n-ja' for regex 'libreoffice*'
Note, selecting 'libreoffice-l10n-ka' for regex 'libreoffice*'
Note, selecting 'libreoffice-l10n-gu' for regex 'libreoffice*'
Note, selecting 'libreoffice-l10n-hr' for regex 'libreoffice*'
Note, selecting 'libreoffice-l10n-in' for regex 'libreoffice*'
Note, selecting 'libreoffice-l10n-hu' for regex 'libreoffice*'
Note, selecting 'libreoffice-l10n-is' for regex 'libreoffice*'
Note, selecting 'libreoffice-l10n-it' for regex 'libreoffice*'
Note, selecting 'libreoffice-l10n-km' for regex 'libreoffice*'
Note, selecting 'libreoffice-l10n-ko' for regex 'libreoffice*'
Note, selecting 'libreoffice-l10n-nb' for regex 'libreoffice*'
Note, selecting 'libreoffice-l10n-ne' for regex 'libreoffice*'
Note, selecting 'libreoffice-l10n-mk' for regex
 'libreoffice*'
Note, selecting 'libreoffice-l10n-ku' for regex 'libreoffice*'
Note, selecting 'libreoffice-l10n-ml' for regex 'libreoffice*'
Note, selecting 'libreoffice-l10n-oc' for regex 'libreoffice*'
Note, selecting 'libreoffice-l10n-mn' for regex 'libreoffice*'
Note, selecting 'libreoffice-l10n-lt' for regex 'libreoffice*'
Note, selecting 'libreoffice-l10n-lv' for regex 'libreoffice*'
Note, selecting 'libreoffice-l10n-nl' for regex 'libreoffice*'
Note, selecting 'libreoffice-l10n-mr' for regex 'libreoffice*'
Note, selecting 'libreoffice-l10n-nn' for regex 'libreoffice*'
Note, selecting 'libreoffice-l10n-nr' for regex 'libreoffice*'
Note, selecting 'libreoffice-l10n-om' for regex 'libreoffice*'
Note, selecting 'libreoffice-l10n-pl' for regex 'libreoffice*'
Note, selecting 'libreoffice-l10n-or' for regex 'libreoffice*'
Note, selecting 'libreoffice-l10n-pt' for regex 'libreoffice*'
Note, selecting
 'libreoffice-l10n-ta' for regex 'libreoffice*'
Note, selecting 'libreoffice-l10n-si' for regex 'libreoffice*'
Note, selecting 'libreoffice-l10n-ro' for regex 'libreoffice*'
Note, selecting 'libreoffice-l10n-te' for regex 'libreoffice*'
Note, selecting 'libreoffice-l10n-sk' for regex 'libreoffice*'
Note, selecting 'libreoffice-l10n-tg' for regex 'libreoffice*'
Note, selecting 'libreoffice-l10n-sl' for regex 'libreoffice*'
Note, selecting 'libreoffice-l10n-th' for regex 'libreoffice*'
Note, selecting 'libreoffice-l10n-ru' for regex 'libreoffice*'
Note, selecting 'libreoffice-l10n-ug' for regex 'libreoffice*'
Note, selecting 'libreoffice-l10n-sr' for regex 'libreoffice*'
Note, selecting 'libreoffice-l10n-rw' for regex 'libreoffice*'
Note, selecting 'libreoffice-l10n-tn' for regex 'libreoffice*'
Note, selecting 'libreoffice-l10n-ss' for regex 'libreoffice*'
Note, selecting 'libreoffice-l10n-ve' for regex
 'libreoffice*'
Note, selecting 'libreoffice-l10n-st' for regex 'libreoffice*'
Note, selecting 'libreoffice-l10n-uk' for regex 'libreoffice*'
Note, selecting 'libreoffice-l10n-sv' for regex 'libreoffice*'
Note, selecting 'libreoffice-hyphenation-tr' for regex 'libreoffice*'
Note, selecting 'libreoffice-l10n-tr' for regex 'libreoffice*'
Note, selecting 'libreoffice-l10n-vi' for regex 'libreoffice*'
Note, selecting 'libreoffice-l10n-ts' for regex 'libreoffice*'
Note, selecting 'libreoffice-gtk3' for regex 'libreoffice*'
Note, selecting 'libreoffice-l10n-xh' for regex 'libreoffice*'
Note, selecting 'libreoffice-l10n-za' for regex 'libreoffice*'
Note, selecting 'libreoffice-l10n-uz' for regex 'libreoffice*'
Note, selecting 'libreoffice-filter-so52' for regex 'libreoffice*'
Note, selecting 'libreoffice-l10n-zu' for regex 'libreoffice*'
Note, selecting 'libreoffice-style-crystal' for regex 'libreoffice*'
Note,
 selecting 'libreoffice-help-3.5' for regex 'libreoffice*'
Note, selecting 'libreoffice-writer2latex' for regex 'libreoffice*'
Note, selecting 'libreoffice-script-provider-python' for regex 'libreoffice*'
Note, selecting 'libreoffice-writer2xhtml' for regex 'libreoffice*'
Note, selecting 'libreoffice-impress' for regex 'libreoffice*'
Note, selecting 'libreoffice-nlpsolver' for regex 'libreoffice*'
Note, selecting 'libreoffice-dtd-officedocument1.0' for regex 'libreoffice*'
Note, selecting 'libreoffice-java-common' for regex 'libreoffice*'
Note, selecting 'libreoffice-mysql-connector' for regex 'libreoffice*'
Note, selecting 'openclipart-libreoffice' for regex 'libreoffice*'
Note, selecting 'libreoffice-math' for regex 'libreoffice*'
Note, selecting 'libreoffice-l10n-ast' for regex 'libreoffice*'
Note, selecting 'libreoffice' for regex 'libreoffice*'
Note, selecting 'libreoffice-style-galaxy' for regex
 'libreoffice*'
Note, selecting 'libreoffice-sdbc-postgresql' for regex 'libreoffice*'
Note, selecting 'libreoffice-script-provider-js' for regex 'libreoffice*'
Note, selecting 'libreoffice-common' for regex 'libreoffice*'
Note, selecting 'libreoffice-dbg' for regex 'libreoffice*'
Note, selecting 'libreoffice-dev' for regex 'libreoffice*'
Note, selecting 'libreoffice-voikko' for regex 'libreoffice*'
Note, selecting 'libreoffice-gcj' for regex 'libreoffice*'
Note, selecting 'libreoffice-l10n-nso' for regex 'libreoffice*'
Note, selecting 'libreoffice-l10n-pa-in' for regex 'libreoffice*'
Note, selecting 'libreoffice-style-tango' for regex 'libreoffice*'
Note, selecting 'libreoffice-kab' for regex 'libreoffice*'
Note, selecting 'libreoffice-gtk' for regex 'libreoffice*'
Note, selecting 'libreoffice-wiki-publisher' for regex 'libreoffice*'
Note, selecting 'libreoffice-kde' for regex 'libreoffice*'
Note, selecting
 'libreoffice-help-pa-in' for regex 'libreoffice*'
Note, selecting 'libreoffice-style-default' for regex 'libreoffice*'
Note, selecting 'libreoffice-style-human' instead of 'libreoffice-style-default'
Note, selecting 'libreoffice-common' instead of 'libreoffice-l10n-en-us'
Note, selecting 'libreoffice-core' instead of 'libreoffice-bundled'
Note, selecting 'openoffice.org-dtd-officedocument1.0' instead of 'libreoffice-dtd-officedocument1.0'
Note, selecting 'libreoffice-gnome' instead of 'libreoffice-gtk-gnome'
Note, selecting 'libreoffice-voikko' instead of 'libreoffice-spellcheck-fi'
Note, selecting 'libreoffice-zemberek' instead of 'libreoffice-spellcheck-tr'
Note, selecting 'libreoffice-voikko' instead of 'libreoffice-hyphenation-fi'
Note, selecting 'libreoffice-zemberek' instead of 'libreoffice-hyphenation-tr'
Package libreoffice-nlpsolver is not installed, so not removed
Package libreoffice-voikko is not installed,
 so not removed
Package docvert-libreoffice is not installed, so not removed
Package libreoffice-dmaths is not installed, so not removed
Package libreoffice-writer2latex is not installed, so not removed
Package libreoffice-writer2xhtml is not installed, so not removed
Package libreoffice-zemberek is not installed, so not removed
Package openclipart-libreoffice is not installed, so not removed
Package libreoffice is not installed, so not removed
Package libreoffice-base is not installed, so not removed
Package libreoffice-dbg is not installed, so not removed
Package libreoffice-dev is not installed, so not removed
Package libreoffice-dev-doc is not installed, so not removed
Package libreoffice-evolution is not installed, so not removed
Package libreoffice-filter-binfilter is not installed, so not removed
Package libreoffice-filter-mobiledev is not installed, so not removed
Package libreoffice-help-ca is not
 installed, so not removed
Package libreoffice-help-cs is not installed, so not removed
Package libreoffice-help-da is not installed, so not removed
Package libreoffice-help-de is not installed, so not removed
Package libreoffice-help-dz is not installed, so not removed
Package libreoffice-help-el is not installed, so not removed
Package libreoffice-help-es is not installed, so not removed
Package libreoffice-help-et is not installed, so not removed
Package libreoffice-help-eu is not installed, so not removed
Package libreoffice-help-fi is not installed, so not removed
Package libreoffice-help-fr is not installed, so not removed
Package libreoffice-help-gl is not installed, so not removed
Package libreoffice-help-hi is not installed, so not removed
Package libreoffice-help-hu is not installed, so not removed
Package libreoffice-help-it is not installed, so not removed
Package libreoffice-help-ja is not
 installed, so not removed
Package libreoffice-help-km is not installed, so not removed
Package libreoffice-help-ko is not installed, so not removed
Package libreoffice-help-nl is not installed, so not removed
Package libreoffice-help-om is not installed, so not removed
Package libreoffice-help-pl is not installed, so not removed
Package libreoffice-help-pt is not installed, so not removed
Package libreoffice-help-pt-br is not installed, so not removed
Package libreoffice-help-ru is not installed, so not removed
Package libreoffice-help-sk is not installed, so not removed
Package libreoffice-help-sl is not installed, so not removed
Package libreoffice-help-sv is not installed, so not removed
Package libreoffice-help-zh-cn is not installed, so not removed
Package libreoffice-help-zh-tw is not installed, so not removed
Package libreoffice-java-common is not installed, so not removed
Package libreoffice-kde is
 not installed, so not removed
Package libreoffice-l10n-af is not installed, so not removed
Package libreoffice-l10n-ar is not installed, so not removed
Package libreoffice-l10n-as is not installed, so not removed
Package libreoffice-l10n-ast is not installed, so not removed
Package libreoffice-l10n-be is not installed, so not removed
Package libreoffice-l10n-bg is not installed, so not removed
Package libreoffice-l10n-bn is not installed, so not removed
Package libreoffice-l10n-br is not installed, so not removed
Package libreoffice-l10n-bs is not installed, so not removed
Package libreoffice-l10n-ca is not installed, so not removed
Package libreoffice-l10n-cs is not installed, so not removed
Package libreoffice-l10n-cy is not installed, so not removed
Package libreoffice-l10n-da is not installed, so not removed
Package libreoffice-l10n-de is not installed, so not removed
Package libreoffice-l10n-dz is not
 installed, so not removed
Package libreoffice-l10n-el is not installed, so not removed
Package libreoffice-l10n-eo is not installed, so not removed
Package libreoffice-l10n-es is not installed, so not removed
Package libreoffice-l10n-et is not installed, so not removed
Package libreoffice-l10n-eu is not installed, so not removed
Package libreoffice-l10n-fa is not installed, so not removed
Package libreoffice-l10n-fi is not installed, so not removed
Package libreoffice-l10n-fr is not installed, so not removed
Package libreoffice-l10n-ga is not installed, so not removed
Package libreoffice-l10n-gl is not installed, so not removed
Package libreoffice-l10n-gu is not installed, so not removed
Package libreoffice-l10n-he is not installed, so not removed
Package libreoffice-l10n-hi is not installed, so not removed
Package libreoffice-l10n-hr is not installed, so not removed
Package libreoffice-l10n-hu is not
 installed, so not removed
Package libreoffice-l10n-id is not installed, so not removed
Package libreoffice-l10n-in is not installed, so not removed
Package libreoffice-l10n-is is not installed, so not removed
Package libreoffice-l10n-it is not installed, so not removed
Package libreoffice-l10n-ja is not installed, so not removed
Package libreoffice-l10n-ka is not installed, so not removed
Package libreoffice-l10n-km is not installed, so not removed
Package libreoffice-l10n-ko is not installed, so not removed
Package libreoffice-l10n-ku is not installed, so not removed
Package libreoffice-l10n-lt is not installed, so not removed
Package libreoffice-l10n-lv is not installed, so not removed
Package libreoffice-l10n-mk is not installed, so not removed
Package libreoffice-l10n-ml is not installed, so not removed
Package libreoffice-l10n-mn is not installed, so not removed
Package libreoffice-l10n-mr is not
 installed, so not removed
Package libreoffice-l10n-nb is not installed, so not removed
Package libreoffice-l10n-ne is not installed, so not removed
Package libreoffice-l10n-nl is not installed, so not removed
Package libreoffice-l10n-nn is not installed, so not removed
Package libreoffice-l10n-nr is not installed, so not removed
Package libreoffice-l10n-nso is not installed, so not removed
Package libreoffice-l10n-oc is not installed, so not removed
Package libreoffice-l10n-om is not installed, so not removed
Package libreoffice-l10n-or is not installed, so not removed
Package libreoffice-l10n-pa-in is not installed, so not removed
Package libreoffice-l10n-pl is not installed, so not removed
Package libreoffice-l10n-pt is not installed, so not removed
Package libreoffice-l10n-pt-br is not installed, so not removed
Package libreoffice-l10n-ro is not installed, so not removed
Package libreoffice-l10n-ru is not
 installed, so not removed
Package libreoffice-l10n-rw is not installed, so not removed
Package libreoffice-l10n-si is not installed, so not removed
Package libreoffice-l10n-sk is not installed, so not removed
Package libreoffice-l10n-sl is not installed, so not removed
Package libreoffice-l10n-sr is not installed, so not removed
Package libreoffice-l10n-ss is not installed, so not removed
Package libreoffice-l10n-st is not installed, so not removed
Package libreoffice-l10n-sv is not installed, so not removed
Package libreoffice-l10n-ta is not installed, so not removed
Package libreoffice-l10n-te is not installed, so not removed
Package libreoffice-l10n-tg is not installed, so not removed
Package libreoffice-l10n-th is not installed, so not removed
Package libreoffice-l10n-tn is not installed, so not removed
Package libreoffice-l10n-tr is not installed, so not removed
Package libreoffice-l10n-ts is not
 installed, so not removed
Package libreoffice-l10n-ug is not installed, so not removed
Package libreoffice-l10n-uk is not installed, so not removed
Package libreoffice-l10n-uz is not installed, so not removed
Package libreoffice-l10n-ve is not installed, so not removed
Package libreoffice-l10n-vi is not installed, so not removed
Package libreoffice-l10n-xh is not installed, so not removed
Package libreoffice-l10n-za is not installed, so not removed
Package libreoffice-l10n-zh-cn is not installed, so not removed
Package libreoffice-l10n-zh-tw is not installed, so not removed
Package libreoffice-l10n-zu is not installed, so not removed
Package libreoffice-officebean is not installed, so not removed
Package libreoffice-style-oxygen is not installed, so not removed
Package libreoffice-gtk3 is not installed, so not removed
Package libreoffice-mysql-connector is not installed, so not removed
Package
 libreoffice-ogltrans is not installed, so not removed
Package libreoffice-pdfimport is not installed, so not removed
Package libreoffice-presentation-minimizer is not installed, so not removed
Package libreoffice-presenter-console is not installed, so not removed
Package libreoffice-script-provider-bsh is not installed, so not removed
Package libreoffice-script-provider-js is not installed, so not removed
Package libreoffice-sdbc-postgresql is not installed, so not removed
Package libreoffice-style-crystal is not installed, so not removed
Package libreoffice-style-galaxy is not installed, so not removed
Package libreoffice-style-hicontrast is not installed, so not removed
Package libreoffice-wiki-publisher is not installed, so not removed
Package mozilla-libreoffice is not installed, so not removed
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet
 dependencies.
 openoffice.org-calc : Depends: libreoffice-calc but it is not going to be installed
 openoffice.org-common : Depends: libreoffice-common (>= 1:3.3.0~rc4-2) but it is not going to be installed
 openoffice.org-draw : Depends: libreoffice-draw but it is not going to be installed
 openoffice.org-emailmerge : Depends: libreoffice-emailmerge but it is not going to be installed
 openoffice.org-gnome : Depends: libreoffice-gnome but it is not going to be installed
 openoffice.org-gtk : Depends: libreoffice-gtk but it is not going to be installed
 openoffice.org-help-en-gb : Depends: libreoffice-help-en-gb but it is not going to be installed
 openoffice.org-help-en-us : Depends: libreoffice-help-en-us but it is not going to be installed
 openoffice.org-impress : Depends: libreoffice-impress but it is not going to be installed
 openoffice.org-l10n-en-za : Depends:
 libreoffice-l10n-en-za but it is not going to be installed
 openoffice.org-math : Depends: libreoffice-math but it is not going to be installed
 openoffice.org-writer : Depends: libreoffice-writer but it is not going to be installed
 python-uno : Depends: libreoffice-core (= 1:3.5.4-0ubuntu1.1) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
william@Asusdesktop:~$ sudo apt-get update
Ign http://archive.canonical.com precise InRelease
Ign http://security.ubuntu.com precise-security InRelease
Ign http://gb.archive.ubuntu.com precise InRelease
Ign http://gb.archive.ubuntu.com precise-updates InRelease
Hit http://archive.canonical.com precise Release.gpg
Get:1 http://security.ubuntu.com precise-security Release.gpg [198 B]
Hit http://gb.archive.ubuntu.com precise
 Release.gpg
Hit http://archive.canonical.com precise Release
Get:2 http://gb.archive.ubuntu.com precise-updates Release.gpg [198 B]
Get:3 http://security.ubuntu.com precise-security Release [49.6 kB]
Hit http://gb.archive.ubuntu.com precise Release
Get:4 http://gb.archive.ubuntu.com precise-updates Release [49.6 kB]
Hit http://archive.canonical.com precise/partner i386
 Packages
Get:5 http://security.ubuntu.com precise-security/main Sources [42.8 kB]
Ign http://archive.canonical.com precise/partner TranslationIndex
Get:6 http://security.ubuntu.com precise-security/universe Sources [12.6 kB]
Get:7 http://security.ubuntu.com precise-security/main i386 Packages [165 kB]
Hit http://gb.archive.ubuntu.com precise/main Sources
Hit http://gb.archive.ubuntu.com precise/universe Sources
Hit http://gb.archive.ubuntu.com precise/main i386
 Packages
Hit http://gb.archive.ubuntu.com precise/universe i386 Packages
Hit http://gb.archive.ubuntu.com precise/main TranslationIndex
Hit http://gb.archive.ubuntu.com precise/universe TranslationIndex
Get:8 http://gb.archive.ubuntu.com precise-updates/main Sources [162 kB]
Get:9 http://security.ubuntu.com precise-security/universe i386 Packages [42.2 kB]
Hit http://security.ubuntu.com precise-security/main TranslationIndex
Hit http://security.ubuntu.com
 precise-security/universe TranslationIndex
Ign http://archive.canonical.com precise/partner Translation-en_GB
Hit http://security.ubuntu.com precise-security/main Translation-en
Get:10 http://gb.archive.ubuntu.com precise-updates/universe Sources [50.8 kB]
Ign http://archive.canonical.com precise/partner Translation-en
Hit http://security.ubuntu.com precise-security/universe Translation-en
Get:11 http://gb.archive.ubuntu.com precise-updates/main i386 Packages [386 kB]
Get:12 http://gb.archive.ubuntu.com precise-updates/universe i386 Packages [129 kB]
Hit http://gb.archive.ubuntu.com precise-updates/main TranslationIndex
Hit
 http://gb.archive.ubuntu.com precise-updates/universe TranslationIndex
Hit http://gb.archive.ubuntu.com precise/main Translation-en_GB
Hit http://gb.archive.ubuntu.com precise/main Translation-en
Hit http://gb.archive.ubuntu.com precise/universe Translation-en_GB
Hit http://gb.archive.ubuntu.com precise/universe Translation-en
Hit http://gb.archive.ubuntu.com precise-updates/main Translation-en_GB
Hit http://gb.archive.ubuntu.com precise-updates/main Translation-en
Hit http://gb.archive.ubuntu.com precise-updates/universe Translation-en_GB
Hit http://gb.archive.ubuntu.com precise-updates/universe Translation-en
Fetched 1,091 kB in 2s (445 kB/s)
Reading package lists... Done
william@Asusdesktop:~$ sudo apt-get install libreoffice
Reading package lists... Done
Building dependency tree

Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies.
 libreoffice : Depends: libreoffice-core (= 1:3.5.4-0ubuntu1.1) but 1:3.5.4-0ubuntu1 is to be installed
               Depends: libreoffice-base but it is not going to be installed
               Depends: ttf-dejavu but it is not going to be installed
               Depends: ttf-sil-gentium-basic
               Depends: libreoffice-filter-mobiledev but it is not going to be installed
               Depends: libreoffice-java-common (>=
 1:3.5.4~) but it is not going to be installed
 libreoffice-base-core : Depends: libreoffice-core (= 1:3.5.4-0ubuntu1.1) but 1:3.5.4-0ubuntu1 is to be installed
 libreoffice-calc : Depends: libreoffice-core (= 1:3.5.4-0ubuntu1.1) but 1:3.5.4-0ubuntu1 is to be installed
 libreoffice-draw : Depends: libreoffice-core (= 1:3.5.4-0ubuntu1.1) but 1:3.5.4-0ubuntu1 is to be installed
 libreoffice-gnome : Depends: libreoffice-core (= 1:3.5.4-0ubuntu1.1) but 1:3.5.4-0ubuntu1 is to be installed
 libreoffice-gtk : Depends: libreoffice-core (= 1:3.5.4-0ubuntu1.1) but 1:3.5.4-0ubuntu1 is to be installed
 libreoffice-impress : Depends: libreoffice-core (= 1:3.5.4-0ubuntu1.1) but 1:3.5.4-0ubuntu1 is to be installed
 libreoffice-math : Depends: libreoffice-core (= 1:3.5.4-0ubuntu1.1) but 1:3.5.4-0ubuntu1 is to be installed
 libreoffice-writer : Depends: libreoffice-core (= 1:3.5.4-0ubuntu1.1) but
 1:3.5.4-0ubuntu1 is to be installed
 python-uno : Depends: libreoffice-core (= 1:3.5.4-0ubuntu1.1) but 1:3.5.4-0ubuntu1 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
william@Asusdesktop:~$

Revision history for this message
Manfred Hampl (m-hampl) said :
#11

I think the crucial part in the log file is the following:

Unpacking replacement libreoffice-core ...
dpkg-deb (subprocess): failed to read on buffer copy for failed to write to pipe in copy: Input/output error
dpkg-deb (subprocess): data: internal bzip2 read error 'UNEXPECTED_EOF'
dpkg-deb: error: subprocess <decompress> returned error exit status 2
dpkg: error processing /var/cache/apt/archives/libreoffice-core_1%3a3.5.4-0ubuntu1.1_i386.deb (--unpack):
 short read on buffer copy for backend dpkg-deb during `./usr/lib/libreoffice/program/libchartcontrollerlo.so'

Apparently there is/was a problem with the libreoffice-core 1:3.5.4-0ubuntu1.1 deb file.

Try the following:

sudo rm /var/cache/apt/archives/libreoffice-core_1%3a3.5.4-0ubuntu1.1_i386.deb
sudo apt-get install --reinstall libreoffice-core

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#12

sudo dpkg --force-all -i /var/cache/apt/archives/libreoffice-core_1%3a3.5.4-0ubuntu1.1_i386.deb
sudo apt-get -f install

I also suggest you run:

ubuntu-bug libreoffice-core

To report the issue to the devs as there are overlaps in the packages and apt-get doesn't like that

Revision history for this message
William Pritchard (wdnp2) said :
#13

Hi Manfred,
It worked. Many thanks.Output below.
William
PS I checked the hard disk (1TB samsung HD103S1) and it failed self test with 13 bad sectors!!This is all fairly new gear! Perhaps this is the reason for the problem.

william@Asusdesktop:~$ sudo rm /var/cache/apt/archives/libreoffice-core_1%3a3.5.4-0ubuntu1.1_i386.deb
[sudo] password for william:
rm: cannot remove `/var/cache/apt/archives/libreoffice-core_1%3a3.5.4-0ubuntu1.1_i386.deb': No such file or directory
william@Asusdesktop:~$ sudo apt-get install --reinstall libreoffice-core
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libunity6 libdee-1.0-1
Use 'apt-get autoremove' to remove them.
The following packages will be upgraded:
  libreoffice-core
1 upgraded, 0 newly installed, 0 to
 remove and 88 not upgraded.
9 not fully installed or removed.
Need to get 37.4 MB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://gb.archive.ubuntu.com/ubuntu/ precise-updates/main libreoffice-core i386 1:3.5.4-0ubuntu1.1 [37.4 MB]
Fetched 37.4 MB in 29s (1,284 kB/s)
(Reading database ... 565112 files and directories currently installed.)
Preparing to replace libreoffice-core 1:3.5.4-0ubuntu1 (using .../libreoffice-core_1%3a3.5.4-0ubuntu1.1_i386.deb) ...
rmdir: failed to remove `/var/lib/libreoffice/basis3.4/program/': No such file or directory
rmdir: failed to remove `/var/lib/libreoffice/basis3.4': No such file or
 directory
Unpacking replacement libreoffice-core ...
Processing triggers for desktop-file-utils ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for gnome-menus ...
Setting up libreoffice-core (1:3.5.4-0ubuntu1.1) ...
Setting up libreoffice-base-core (1:3.5.4-0ubuntu1.1) ...
Setting up libreoffice-calc (1:3.5.4-0ubuntu1.1) ...
Setting up libreoffice-draw (1:3.5.4-0ubuntu1.1) ...
Setting up libreoffice-gtk (1:3.5.4-0ubuntu1.1) ...
Setting up libreoffice-gnome (1:3.5.4-0ubuntu1.1) ...
Setting up libreoffice-impress (1:3.5.4-0ubuntu1.1) ...
Setting up libreoffice-math (1:3.5.4-0ubuntu1.1) ...
Setting up libreoffice-writer (1:3.5.4-0ubuntu1.1) ...
Setting up python-uno (1:3.5.4-0ubuntu1.1) ...
Processing triggers for menu ...
Processing triggers for libreoffice-common ...
william@Asusdesktop:~$

Revision history for this message
William Pritchard (wdnp2) said :
#14

Hi AP,
See reply to Manfred. I did not try your suggestion as I do not want to upset the applecart.
Many thanks for your advice and help.
William

Revision history for this message
Launchpad Janitor (janitor) said :
#15

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Warren Hill (warren-hill) said :
#17

Your last post does not belong here -- SPAM

Can you help with this problem?

Provide an answer of your own, or ask William Pritchard for more information if necessary.

To post a message you must log in.