LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   apt-get dist-upgrade (https://www.linuxquestions.org/questions/linux-newbie-8/apt-get-dist-upgrade-52167/)

Toasti 03-28-2003 05:27 AM

apt-get dist-upgrade
 
perhaps the wrong forum, but i'll try it anyway.

I'm trying to get my dist upgraded. after a few secs i get this error-messages
Code:

Get:1 http://ftp2.de.debian.org testing/main kde3libs3 4:2.2.2-13
Fetched 6617kB in 0s (10.9MB/s)
(Reading database ... 97135 files an directories currently installed.)
Unpacking kdelibs3 (from .../kdelibs3_4%3a2.2.2-13_i386.deb)
dpkg: error processing /var/cache/apt/archives/kdelibs3_4%3a2.2.2-13_i386.deb (--unpack):
 trying to overwrite `/usr/lib/libartsdsp_st.so', which is also in package libarts1-dev
Errors were encountered while processing:
 /var/cache/apt/archives/kdelibs3_4%3a2.2.2-13_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

does anybody know what to do???

chambsr 03-28-2003 06:50 AM

unless you are writing software that uses libarts1-dev I'd do a

dpkg -r libarts1-dev

that would remove that package, and allow you to do the dist-upgrade. after which, if i needed the development files (generally just the headers or ".h" files that get included in your code) to recompile my custom application that uses that lib, i'd reinstall it with

apt-get install libarts1_dev

the problem comes from the order that dpkg wants to do the upgrade. i'm sure that libarts1-dev_4%3a2.2.2-13_i386.deb doesn't have libartsdsp_st.so in it anymore, so if dpkg upgraded it before kde3libs you wouldn't have the problem.

of course i actually prefer dselect for this kind of thing, and the easiest way there is to do multiple (I)nstalls. when the first one fails doing the kde3libs part it does the libarts1_dev part in that pass. then when you do the second (I)nstall when it gets to kde3libs there's no conflict and it just works.


All times are GMT -5. The time now is 12:04 PM.