[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Can apt-get install or remove openoffice



On Mon, 2003-05-26 at 22:16, J F wrote:
> Thanks in advance,
> I can't remove  it or install it, see 2 command below:
> 
> 
> root@a1700xp:/etc/apt# apt-get remove openoffice.org
> Reading Package Lists... Done
> Building Dependency Tree... Done
> Package openoffice.org 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-bin: Depends: openoffice.org (>= 1.0.2-pre1.0.3) but it 
> is not going to be installed
>   openoffice.org-debian-files: Depends: openoffice.org (>= 
> 1.0.2-pre1.0.3) but it is not going to be installed
>   openoffice.org-l10n-en: Depends: openoffice.org (>= 1.0.2-pre1.0.3) 
> but it is not going to be installed
> E: Unmet dependencies. Try 'apt-get -f install' with no packages (or 
> specify a solution).
> root@a1700xp:/etc/apt#
> 
> 
If apt says it 'is not going to be installed, it may mean that your
setup may not configured to get the version it needs.
eg. if your setup is for 'stable' and it needs a package from 'testing'
or 'unstable', this could happen. Sometimes I say 'apt-get install
pkg/unstable' to fix this. But you have to decide if you want unstable
pacakges.

> root@a1700xp:/etc/apt# apt-get -f install
> Reading Package Lists... Done
> Building Dependency Tree... Done
> Correcting dependencies... Done
> The following extra packages will be installed:
>   openoffice.org
> Suggested packages:
>   openoffice.org-help ooqstart-gnome gs
> The following NEW packages will be installed:
>   openoffice.org
> 0 packages upgraded, 1 newly installed, 0 to remove and 133 not upgraded.
> 6 packages not fully installed or removed.
> Need to get 0B/10.9MB of archives.
> After unpacking 32.4MB of additional disk space will be used.
> Do you want to continue? [Y/n]
> (Reading database ... 110934 files and directories currently installed.)
> Unpacking openoffice.org (from .../openoffice.org_1.0.3-2_all.deb) ...
> dpkg: error processing 
> /var/cache/apt/archives/openoffice.org_1.0.3-2_all.deb (--unpack):
>  trying to overwrite 
> `/usr/share/icons/locolor/16x16/apps/001_star_butterfly.xpm', which is 
> also in package openoffice-de-en
> dpkg-deb: subprocess paste killed by signal (Broken pipe)
> Errors were encountered while processing:
>  /var/cache/apt/archives/openoffice.org_1.0.3-2_all.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)
-- 
It seems you have the required packages in your cache. (Need to get
0/10.9MB) But there is an error 'overwriting' a file. I manually deleted
a  file before like this:
rm /usr/share/icons/locolor/16x16/apps/001_star_butterfly.xpm
but there may be better way to do this. (maybe purge?)
-K
Kevin Mark <kmark@pipeline.com>

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: