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

Re: Apt-Get Troubels



On Wed, Aug 03, 2005 at 11:59:59PM -0400, David R. Litwin wrote:
> Well, actually, I'm not sure that it is Apt-get. Here is the message:
> 
> # apt-get -V upgrade
> Reading Package Lists... Done
> Building Dependency Tree... Done
> You might want to run 'apt-get -f install' to correct these.
> The following packages have unmet dependencies:
>   kdeaddons: Depends: konq-plugins (>= 4:3.3.2-4) but it is not installed
>   kdeedu: Depends: kdeedu-data (>= 4:3.3.2-3) but it is not installed
> E: Unmet dependencies. Try using -f.
> 
> So, I executed this manoeuvre:
> 
> # apt-get -f install
> Reading Package Lists... Done
> Building Dependency Tree... Done
> Correcting dependencies... Done
> The following extra packages will be installed:
>   kdeedu-data konq-plugins
> Suggested packages:
>   kdeaddons-doc-html
> The following NEW packages will be installed:
>   kdeedu-data konq-plugins
> 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
> 4 not fully installed or removed.
> Need to get 0B/838kB of archives.
> After unpacking 2908kB of additional disk space will be used.
> Do you want to continue? [Y/n]
> (Reading database ... 90838 files and directories currently installed.)
> Unpacking kdeedu-data (from .../kdeedu-data_4%3a3.3.2-3_all.deb) ...
> dpkg: error processing
> /var/cache/apt/archives/kdeedu-data_4%3a3.3.2-3_all.deb (--unpack):
>   trying to overwrite
> `/usr/share/icons/crystalsvg/16x16/apps/edu_languages.png', which is
> also in package kdebase-data

Hi David,
error #1: 2 packages have the same file
fix 1: only install 1 or the other
fix 2: assume this is an error and ask the new package to overwrite the
old and suffer the consequences

> Unpacking konq-plugins (from .../konq-plugins_4%3a3.3.2-4_i386.deb) ...
> dpkg: error processing
> /var/cache/apt/archives/konq-plugins_4%3a3.3.2-4_i386.deb (--unpack):
>   trying to overwrite
> `/usr/share/mimelnk/application/x-webarchive.desktop', which is also
> in package kdelibs-data

error #2: see above

> Errors were encountered while processing:
>   /var/cache/apt/archives/kdeedu-data_4%3a3.3.2-3_all.deb
>   /var/cache/apt/archives/konq-plugins_4%3a3.3.2-4_i386.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> 
> My sources.lst:
> 
> # See sources.list(5) for more information
>   deb http://http.us.debian.org/debian stable main contrib non-free
>   #deb http://http.us.debian.org/debian testing main contrib non-free
>   #deb http://http.us.debian.org/debian unstable main contrib non-free
>   deb http://security.debian.org stable/updates main contrib non-free
>   
>   deb http://pkg-kde.alioth.debian.org/kde-3.4.1/ ./
> 
> Yes, I downloaded KDE 3.4.1 from Alioth. But, it worked for me once
> quite nicely. Presently, I do not know what the problem is.
> 
> I thank ye much in advance, for my Apt-Get simply will na work with
> this Problem.

yup, just as I suspected. the alioth packages are experimental. Some
times they work 100% with standard debian (unstable,testing,stable),
sometimes they do not. The alioth packages have 'bugs' as they do not
conform to Debian policy. if 2 package have the same file, they should
'conflict' in someway. The solution to the above problems is to use 'dpkg
--force-overwrite' but since the alioth package are not 100 ok, the
result may or may not work. Odds are they it will be ok. But I would
sugeest emailing the pkg-kde.alioth.debian.org folks and telling them
about this and making a bug report if possible.
Cheers,
Kev

-- 
counter.li.org #238656 -- goto counter.li.org and be counted!
      `$'         $'         
       $          $                      _
 ,d$$$g$  ,d$$$b. $,d$$$b`$' g$$$$$b $,d$$b
,$P'  `$ ,$P' `Y$ $$'  `$ $  "'   `$ $$' `$
$$     $ $$ggggg$ $     $ $ ,$P""  $ $    $
`$g. ,$$ `$$._ _. $ _,g$P $ `$b. ,$$ $    $
 `Y$$P'$. `Y$$$$P $$$P"' ,$. `Y$$P'$ $.  ,$.

Attachment: signature.asc
Description: Digital signature


Reply to: