On Thu, 24 Jan 2002, Dave Sherohman wrote:

> > Any suggestions?
> 
> 1) apt-get -f install
> 
> 2) dpkg --force-help

Hey Dave,

I've tried both of these, but no joy. I've been trying to get my
'apt-get upgrade' to work and this is what I'm getting:

copland:/home/wilson# apt-get upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
You might want to run `apt-get -f install' to correct these.
Sorry, but the following packages have unmet dependencies:
  konqueror: Depends: kdebase-libs (= 4:2.2.2-13) but 4:2.2.0.20010822-1
is installed
  xemacs21-bin: Depends: xemacs21-support (= 21.4.5-1) but 21.4.6-7 is
installed                Depends: xemacs21 (= 21.4.5-1)
  xemacs21-mule: Depends: xemacs21-bin (= 21.4.6-7) but 21.4.5-1 is
installed
E: Unmet dependencies. Try using -f.
copland:/home/wilson# apt-get -f install
Reading Package Lists... Done
Building Dependency Tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
  kdebase-libs xemacs21-bin
2 packages upgraded, 0 newly installed, 0 to remove and 391  not
upgraded.
5 packages not fully installed or removed.
Need to get 0B/2197kB of archives. After unpacking 360kB will be used.
Do you want to continue? [Y/n]
(Reading database ... 97451 files and directories currently installed.)
Preparing to replace kdebase-libs 4:2.2.0.20010822-1 (using
.../kdebase-libs_4%3a2.2.2-13_i386.deb) ...
Unpacking replacement kdebase-libs ...
dpkg: error processing
/var/cache/apt/archives/kdebase-libs_4%3a2.2.2-13_i386.deb (--unpack):
 trying to overwrite `/usr/share/applnk/Settings/Sound/arts.desktop',
which is also in package kdebase
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Preparing to replace xemacs21-bin 21.4.5-1 (using
.../xemacs21-bin_21.4.6-7_i386.deb) ...
update-alternatives: unable to make /usr/man/man1/editor.1.gz.dpkg-tmp a
symlink to /etc/alternatives/editor.1.gz: No such file or directory
dpkg: warning - old pre-removal script returned error exit status 2
dpkg - trying script from the new package instead ...
update-alternatives: unable to make /usr/man/man1/editor.1.gz.dpkg-tmp a
symlink to /etc/alternatives/editor.1.gz: No such file or directory
dpkg: error processing
/var/cache/apt/archives/xemacs21-bin_21.4.6-7_i386.deb (--unpack):
 subprocess new pre-removal script returned error exit status 2
update-alternatives: unable to make /usr/man/man1/editor.1.gz.dpkg-tmp a
symlink to /etc/alternatives/editor.1.gz: No such file or directory
dpkg: error while cleaning up:
 subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
 /var/cache/apt/archives/kdebase-libs_4%3a2.2.2-13_i386.deb
 /var/cache/apt/archives/xemacs21-bin_21.4.6-7_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

It looks like there's a problem with the install/removal scripts. Am I
reading this correctly. I've never had to dig into a deb before so I'm
not sure.

-Tim

--
Tim Wilson      |   Visit Sibley online:   | Check out:
Henry Sibley HS |  http://www.isd197.org   | http://www.zope.com
W. St. Paul, MN |                          | http://slashdot.org
wilson at visi.com |  <dtml-var pithy_quote>  | http://linux.com