Can't install Gnome

Forum rules
Before you post please read this

Can't install Gnome

Postby chronosoft on Wed Apr 02, 2008 7:47 pm

Hi there guys ;), I've had some problems trying to install gnome on XFCE CE... for some reason or another most things get downloaded + installed correctly... but apt-get can't seem to install
capplets-data_1%3a2.20.1-0ubuntu1_all.deb
gnome-control-center_1%3a2.20.1-0ubuntu1_i386.deb
gnome-utils_2.20.0.1-0ubuntu1_i386.deb

log:
The following extra packages will be installed:
capplets-data gnome-control-center gnome-utils
Suggested packages:
esound-clients
The following NEW packages will be installed:
capplets-data gnome-control-center gnome-utils
0 upgraded, 3 newly installed, 0 to remove and 2 not upgraded.
104 not fully installed or removed.
Need to get 0B/6346kB of archives.
After unpacking 26.5MB of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 135491 files and directories currently installed.)
Unpacking capplets-data (from .../capplets-data_1%3a2.20.1-0ubuntu1_all.deb) ...
dpkg: error processing /var/cache/apt/archives/capplets-data_1%3a2.20.1-0ubuntu1_all.deb (--unpack):
trying to overwrite `/usr/share/applications/gnome-network-preferences.desktop', which is also in package gnome-network-preferences
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Unpacking gnome-control-center (from .../gnome-control-center_1%3a2.20.1-0ubuntu1_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/gnome-control-center_1%3a2.20.1-0ubuntu1_i386.deb (--unpack):
trying to overwrite `/usr/bin/gnome-network-preferences', which is also in package gnome-network-preferences
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Unpacking gnome-utils (from .../gnome-utils_2.20.0.1-0ubuntu1_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/gnome-utils_2.20.0.1-0ubuntu1_i386.deb (--unpack):
trying to overwrite `/usr/share/applications/gnome-screenshot.desktop', which is also in package gnome-screenshot
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/capplets-data_1%3a2.20.1-0ubuntu1_all.deb
/var/cache/apt/archives/gnome-control-center_1%3a2.20.1-0ubuntu1_i386.deb
/var/cache/apt/archives/gnome-utils_2.20.0.1-0ubuntu1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

I've tried deleting the problem deb's from the /var/cache but to no avail

Thanks.
chronosoft
Level 1
Level 1
 
Posts: 1
Joined: Wed Apr 02, 2008 7:31 pm

Linux Mint is funded by ads and donations.
 

Re: Can't install Gnome

Postby Husse on Thu Apr 03, 2008 8:04 am

I think you have to run
Code: Select all
apt clean

and then remove the two .bin files in /var/cache/apt
You may also have to run
Code: Select all
sudo dpkg --configure -a

These are general solutions
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19710
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: Can't install Gnome

Postby merlwiz79 on Thu Apr 03, 2008 2:11 pm

You have to remove 2 packages.
Code: Select all
sudo apt-get remove gnome-network-preferences gnome-screenshot

Then try
Code: Select all
sudo apt-get install -f

I believe that should work but if it doesn't try
Code: Select all
sudo dpkg --configure -a
User avatar
merlwiz79
Level 11
Level 11
 
Posts: 3637
Joined: Wed Apr 04, 2007 1:50 pm
Location: Here again :)

Re: Can't install Gnome

Postby Husse on Fri Apr 04, 2008 7:10 am

Thanks merlwiz
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19710
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: Can't install Gnome

Postby jcallough on Tue Feb 10, 2009 6:23 pm

This was a big help to a very similar problem I was facing.

Thanks a lot as soon as I did:

sudo apt-get remove <package names where error code 1 was happening>

Everything was perfect! Thanks again!
jcallough
 


Return to XFCE

Who is online

Users browsing this forum: Google Adsense [Bot], Toimu and 0 guests