Skip navigation.
Home
Now Shipping Version 7.0

Can't install or uninstall


Posts: 29

Here is an example of the messages I get when attempting to install
anything.

root@20[joe]# apt-get install nano
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:
?? libcupsys2-dev: Depends: libcupsys2-gnutls10 (= 1.1.22-2) but 1.1.23-3
?? is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or
specify a solution).

So I try apt-get -f install, and it comes back with:

root@20[joe]# apt-get -f install
Reading Package Lists... Done
Building Dependency Tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
?? libcupsys2-dev
The following packages will be upgraded:
?? libcupsys2-dev
1 upgraded, 0 newly installed, 0 to remove and 257 not upgraded. 206 not
fully installed or removed.
Need to get 0B/85.2kB of archives.
After unpacking 12.3kB of additional disk space will be used. Do you want
to continue? [Y/n] y
(Reading database ... 80665 files and directories currently installed.)
Preparing to replace libcupsys2-dev 1.1.22-2 (using
.../libcupsys2-dev_1.1.23-3_i386.deb) ... Unpacking replacement
libcupsys2-dev ... dpkg: error processing
/var/cache/apt/archives/libcupsys2-dev_1.1.23-3_i386.deb (--unpack):
??trying to overwrite `/usr/share/man/fr/man1/cups-config.1.gz', which is
??also in package cupsys
Errors were encountered while processing:
??/var/cache/apt/archives/libcupsys2-dev_1.1.23-3_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

I renamed cups-config.1.gz but got the same message when it tried to do
another install.

The package mentioned in the message: libcupsys2-dev... is not installed,
and can't be installed, because it depends on libcupsys2-gnutls10, which
appears to be half-installed. Its status is 'install ok unpacked' instead
of 'install ok install'.

I thought I'd uninstall libcupsys2-gnutls10, prior to re-installing it,
but it can't be uninstalled; instead, several messages appear:

apt-get remove --yes libcupsys2-gnutls10 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:
?? cupsys: Depends: libcupsys2-gnutls10 (>= 1.1.20final-1) but it is not
?? going to be installed cupsys-bsd: Depends: libcupsys2-gnutls10 (>=
?? 1.1.23-1) but it is not going to be installed cupsys-client: Depends:
?? libcupsys2-gnutls10 (>= 1.1.23-1) but it is not going to be installed
?? cupsys-driver-gimpprint: Depends: libcupsys2-gnutls10 (>= 1.1.20final-1)
?? but it is not going to be installed gs-esp: Depends: libcupsys2-gnutls10
?? (>= 1.1.20final-1) but it is not going to be installed kdelibs-bin:
?? Depends: libcupsys2-gnutls10 (>= 1.1.20final-1) but it is not going to
?? be installed kdelibs4: Depends: libcupsys2-gnutls10 (>= 1.1.20final-1)
?? but it is not going to be installed libcupsimage2: Depends:
?? libcupsys2-gnutls10 (>= 1.1.23-1) but it is not going to be installed
?? libcupsys2-dev: Depends: libcupsys2-gnutls10 (= 1.1.22-2) but it is not
?? going to be installed libgnomecups1.0-1: Depends: libcupsys2-gnutls10
?? (>= 1.1.20final-1) but it is not going to be installed
?? libgnomeprint2.2-0: Depends: libcupsys2-gnutls10 (>= 1.1.20final-1) but
?? it is not going to be installed libwine-print: Depends:
?? libcupsys2-gnutls10 but it is not going to be installed samba: Depends:
?? libcupsys2-gnutls10 (>= 1.1.20final-1) but it is not going to be
?? installed scribus: Depends: libcupsys2-gnutls10 (>= 1.1.23-1) but it is
?? not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or
specify a solution). RESULT=100

This is beginning to get a bit confusing, and I was wondering if anyone
has a suggestion.

I'm not sure, but did you e

I'm not sure, but did you ever do an apt-get update? This updates your package list only and has nothing to do with an upgrade which is different. Yesterday l installed another Mepis version and l forgot to do that and l got some of the stuff you got but after l did the update it was fine. Worth a try anyway Smiling

Wayne

Thanks Wayne, that did the

Thanks Wayne, that did the trick.

I did the apt-get update without incident, and then tried apt-get install nano as a test.

It came back with the usual message about a problem and try apt-get -f install.

I did that, but this time, it went to work and downloaded and installed or updated a lot of programs, including the ones that were only half-installed.

I was then able to install (and uninstall) nano, so it looks like the package database is ok.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.