Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am trying to install gnome package in a Debian Lenny.
Installation ends like this:
Code:
Preconfiguring packages ...
(Reading database ... 53823 files and directories currently installed.)
Preparing to replace debianutils 2.8.4 (using .../debianutils_2.30_i386.deb) ...
Unpacking replacement debianutils ...
dpkg: error processing /var/cache/apt/archives/debianutils_2.30_i386.deb (--unpack):
trying to overwrite `/usr/sbin/add-shell', which is also in package passwd
Errors were encountered while processing:
/var/cache/apt/archives/debianutils_2.30_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done
Reading task descriptions... Done
it will automatically download the package again and retry the installation.
Interesting Debian refers to that package as essential.. how is it not installed already ? Are you upgrading from a different version or something maybe ? http://packages.debian.org/lenny/debianutils
# aptitude show debianutils
Package: debianutils
Essential: yes
State: installed
Automatically installed: yes
Version: 2.8.4
Priority: required
Section: utils
Maintainer: Clint Adams <schizo@debian.org>
Uncompressed Size: 233k
PreDepends: libc6 (>= 2.3.2.ds1-4), coreutils (>= 4.5.8-1)
Conflicts: manpages-fr (<= 0.9.3-1)
Replaces: miscutils, cron (<= 3.0pl1-31), tetex-bin (< 1.0.6-1.1), manpages-fr (<= 0.9.3-1)
Description: Miscellaneous utilities specific to Debian
This package provides a number of small utilities which are used primarily by the installation scripts of Debian packages, although you may use them
directly.
The specific utilities included are: installkernel mkboot mktemp run-parts savelog sensible-browser sensible-editor sensible-pager tempfile which.
Code:
# aptitude show gnome
Package: gnome
New: yes
State: not installed
Version: 1:2.22.2~5
Priority: optional
Section: gnome
Maintainer: Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>
Uncompressed Size: 20.5k
Depends: gnome-desktop-environment (= 1:2.22.2~5), gdm-themes, gnome-themes-extras, gnome-games (>= 1:2.22.2), libpam-gnome-keyring (>= 2.22.2),
gstreamer0.10-plugins-ugly (>= 0.10.8), gstreamer0.10-ffmpeg (>= 0.10.4), rhythmbox (>= 0.11.5), synaptic (>= 0.62), system-config-printer (>=
1.0.0), totem-mozilla, swfdec-mozilla, epiphany-extensions, evolution-plugins (>= 2.22.2), evolution-exchange (>= 2.22.2), evolution-webcal (>=
2.21.92), gnome-spell (>= 1.0.4), serpentine, gnome-app-install, transmission-gtk, bluez-gnome, gnome-vfs-obexftp, arj, p7zip, avahi-daemon
Recommends: gnome-games-extra-data (>= 2.22.0), gnome-office (= 1:2.22.2~5), tomboy (>= 0.10.2), update-notifier, empathy | pidgin, gparted, tsclient,
network-manager-gnome, hal-cups-utils, gthumb, liferea | blam, menu-xdg, gdebi, hardinfo
Suggests: gnome-dbg, openoffice.org-gnome, openoffice.org-evolution
Conflicts: gnome-cups-manager
Description: The GNOME Desktop Environment, with extra components
This is the GNOME Desktop environment, an intuitive and attractive desktop, with extra components.
This package depends on the standard distribution of the GNOME desktop environment, plus a complete range of plugins and other applications integrating with
GNOME and Debian, providing the best possible environment to date.
Don't know why it is trying to downgrade debianutils
deb ftp://ftp.br.debian.org/debian/ stable main contrib non-free
deb-src http://ftp.br.debian.org/debian/ stable main contrib non-free
deb http://security.debian.org/ stable/updates main contrib
deb-src http://security.debian.org/ stable/updates main contrib
even if I try to remove debianutils, aptitude asks me to upgrade it first
Code:
# aptitude remove debianutils
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
The following packages are BROKEN:
bsdmainutils console-common cron dbus dialog fdutils fetchmail gzip
iceweasel less mysql-client-5.0 proftpd-basic x11-common
The following packages will be REMOVED:
debianutils
0 packages upgraded, 0 newly installed, 1 to remove and 285 not upgraded.
Need to get 0B of archives. After unpacking 233kB will be freed.
The following packages have unmet dependencies:
mysql-client-5.0: Depends: debianutils (>= 1.6) but it is not installable
fetchmail: Depends: debianutils (>= 1.7) but it is not installable
dbus: Depends: debianutils (>= 1.22.0) but it is not installable
iceweasel: Depends: debianutils (>= 1.16) but it is not installable
cron: Depends: debianutils (>= 1.7) but it is not installable
bsdmainutils: Depends: debianutils (>= 1.8) but it is not installable
console-common: Depends: debianutils (>= 1.13) but it is not installable
proftpd-basic: Depends: debianutils (>= 1.21.0) but it is not installable
x11-common: Depends: debianutils (>= 1.13) but it is not installable
dialog: Depends: debianutils (>= 1.6) but it is not installable
fdutils: Depends: debianutils (>= 1.7) but it is not installable
gzip: Depends: debianutils (>= 1.6) but it is not installable
less: Depends: debianutils (>= 1.8) but it is not installable
The following actions will resolve these dependencies:
Upgrade the following packages:
debianutils [2.8.4 (now) -> 2.30 (stable)]
Score is 90064
Accept this solution? [Y/n/q/?]
debianutils 2.8.4 was from sarge, did you go from Sarge directly to lenny as an upgrade , skipping etch ? If so you are NOT supposed to do that.. Upgrades are testing from the previous stable version.. not from two versions back.
yeah...
i'm afraid i did that.
but earlier today i fixed this problem by changing sources.list to etch. then installed debianutils, then changed back to lenny.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.