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

apt-get install: x11-common vs xfree86-common: "trying to overwrite /etc/X11/Xsession"



we haven't figured out how to get past this apt-get snag:

# apt-get install x11-common
Reading package lists... Done
Building dependency tree... Done
Suggested packages:
  x-window-system-core x-window-system
The following NEW packages will be installed:
  x11-common
0 upgraded, 1 newly installed, 0 to remove and 22 not upgraded.
18 not fully installed or removed.
Need to get 0B/1124kB of archives.
After unpacking 1647kB of additional disk space will be used.
Preconfiguring packages ...
(Reading database ... 42848 files and directories currently installed.)
Unpacking x11-common (from .../x11-common_6.9.0.dfsg.1-4_all.deb) ...
dpkg: error processing
/var/cache/apt/archives/x11-common_6.9.0.dfsg.1-4_all.deb (--unpack):
 trying to overwrite `/etc/X11/Xsession', which is also in package
xfree86-common
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/x11-common_6.9.0.dfsg.1-4_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

# apt-get install xfree86-common
Reading package lists... Done
Building dependency tree... Done
xfree86-common is already the newest version.
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
  libx11-6: Depends: x11-common (> 4.3.0) but it is not going to be installed
  xfree86-common: Depends: x11-common but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or
specify a solution).

# apt-get -f install
Reading package lists... Done
Building dependency tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
  x11-common
Suggested packages:
  x-window-system-core x-window-system
The following NEW packages will be installed:
  x11-common
0 upgraded, 1 newly installed, 0 to remove and 22 not upgraded.
18 not fully installed or removed.
Need to get 0B/1124kB of archives.
After unpacking 1647kB of additional disk space will be used.
Do you want to continue [Y/n]?
Preconfiguring packages ...
(Reading database ... 42848 files and directories currently installed.)
Unpacking x11-common (from .../x11-common_6.9.0.dfsg.1-4_all.deb) ...
dpkg: error processing
/var/cache/apt/archives/x11-common_6.9.0.dfsg.1-4_all.deb (--unpack):
 trying to overwrite `/etc/X11/Xsession', which is also in package
xfree86-common
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/x11-common_6.9.0.dfsg.1-4_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

ideas?

--
will trillich
"Their iz ate errers in these sentance."



Reply to: