PDA

View Full Version : Installation Dependency Problems


Winded
May 16th, 2006, 12:26 AM
Hi.

Let me start off by saying I just found the Ubuntu Center website the other day and so far I'm very impressed. Keep up the good work.

That being said, I was wondering if anyone could help me with some dependency problems I'm having related to the installation. I'll just show you the output of the apt-get command:

root@stumpy:~# apt-get -fs install
Reading package lists... Done
Building dependency tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
libgd2-xpm php5-gd
Suggested packages:
libgd-tools
The following packages will be REMOVED:
libgd2-dev libgd2-noxpm libgd2-noxpm-dev ubuntucenter
The following NEW packages will be installed:
libgd2-xpm php5-gd
0 upgraded, 2 newly installed, 4 to remove and 0 not upgraded.
1 not fully installed or removed.
Remv ubuntucenter [.10]
Remv libgd2-dev [2.0.33-1.1ubuntu1]
Remv libgd2-noxpm-dev [2.0.33-1.1ubuntu1]
Remv libgd2-noxpm [2.0.33-1.1ubuntu1] [libgd2 python2.4-gd ]
Inst libgd2-xpm (2.0.33-1.1ubuntu1 Ubuntu:5.10/breezy)
Inst php5-gd (5.0.5-2ubuntu1.2 Ubuntu:5.10/breezy-security)
Conf libgd2-xpm (2.0.33-1.1ubuntu1 Ubuntu:5.10/breezy)
Conf php5-gd (5.0.5-2ubuntu1.2 Ubuntu:5.10/breezy-security)

It appears that if I actually executed this, it would uninstall the libgd2-dev packages because they appear to conflict with libgd2-xpm which is required by php5-gd. However, all of these appear to be required by Ubuntu Center.

You'll also notice that Ubuntu Center is already installed. I used the dpkg -i command to do that and it installed everything even with the dependency problems. I've already used it a little bit and it seems to be working fine without php5-gd, however, apt will not work for installing anything now because the first thing it wants to do is get rid of ubuntucenter because it sees it as being broken.

Ah, I see there's an emoticon for my situation off to the side: ](*,)

Any advice is greatly appreciated.

TTT_travis
May 16th, 2006, 08:32 AM
Hi.

Let me start off by saying I just found the Ubuntu Center website the other day and so far I'm very impressed. Keep up the good work.

That being said, I was wondering if anyone could help me with some dependency problems I'm having related to the installation. I'll just show you the output of the apt-get command:

root@stumpy:~# apt-get -fs install
Reading package lists... Done
Building dependency tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
libgd2-xpm php5-gd
Suggested packages:
libgd-tools
The following packages will be REMOVED:
libgd2-dev libgd2-noxpm libgd2-noxpm-dev ubuntucenter
The following NEW packages will be installed:
libgd2-xpm php5-gd
0 upgraded, 2 newly installed, 4 to remove and 0 not upgraded.
1 not fully installed or removed.
Remv ubuntucenter [.10]
Remv libgd2-dev [2.0.33-1.1ubuntu1]
Remv libgd2-noxpm-dev [2.0.33-1.1ubuntu1]
Remv libgd2-noxpm [2.0.33-1.1ubuntu1] [libgd2 python2.4-gd ]
Inst libgd2-xpm (2.0.33-1.1ubuntu1 Ubuntu:5.10/breezy)
Inst php5-gd (5.0.5-2ubuntu1.2 Ubuntu:5.10/breezy-security)
Conf libgd2-xpm (2.0.33-1.1ubuntu1 Ubuntu:5.10/breezy)
Conf php5-gd (5.0.5-2ubuntu1.2 Ubuntu:5.10/breezy-security)

It appears that if I actually executed this, it would uninstall the libgd2-dev packages because they appear to conflict with libgd2-xpm which is required by php5-gd. However, all of these appear to be required by Ubuntu Center.

You'll also notice that Ubuntu Center is already installed. I used the dpkg -i command to do that and it installed everything even with the dependency problems. I've already used it a little bit and it seems to be working fine without php5-gd, however, apt will not work for installing anything now because the first thing it wants to do is get rid of ubuntucenter because it sees it as being broken.

Ah, I see there's an emoticon for my situation off to the side: ](*,)

Any advice is greatly appreciated.

Yep, libgd2-dev isn't actually needed, I thought it was but its not, do the following commands.

sudo apt-get install apache2 mysql-server php5 php5-gd php5-mysql id3v2 imagemagick libgd2 php-auth

sudo dpkg --install --force-all ubuntucenter-alpha-01.deb

that should fix it for ya, this is a known bug and will be removed from the next release.

Winded
May 16th, 2006, 12:41 PM
Hi Travis.

Thanks for the response.

I tried doing apt-get -f install to fix the dependency problem which installed php5-gd and libgd2-xpm and uninstalled libgd2-noxpm, libgd2-dev, and libgd2-noxpm-dev. Are either of those other 2 packages needed; libgd2-xpm or libgd2-noxpm-dev?

Also, after doing sudo dpkg --install --force-all ubuntucenter-alpha-01.deb Ubuntu Center is installed but apt sees the package dependency problem and refuses to install anything else without first uninstalling ubuntucenter to fix the problem.

Do you think compiling this from the source would work better? I'd rather use apt to keep track of everything that's installed on the system but if it continues to see the package dependency problems, I'm not sure I can. I'm kind of surprised no one else has had this issue. Any tips on how to get around it?

Thanks for the support.

TTT_travis
May 16th, 2006, 04:38 PM
Hi Travis.

Thanks for the response.

I tried doing apt-get -f install to fix the dependency problem which installed php5-gd and libgd2-xpm and uninstalled libgd2-noxpm, libgd2-dev, and libgd2-noxpm-dev. Are either of those other 2 packages needed; libgd2-xpm or libgd2-noxpm-dev?

Also, after doing sudo dpkg --install --force-all ubuntucenter-alpha-01.deb Ubuntu Center is installed but apt sees the package dependency problem and refuses to install anything else without first uninstalling ubuntucenter to fix the problem.

Do you think compiling this from the source would work better? I'd rather use apt to keep track of everything that's installed on the system but if it continues to see the package dependency problems, I'm not sure I can. I'm kind of surprised no one else has had this issue. Any tips on how to get around it?

Thanks for the support.

Just let it remove ubuntu center and install it again, that should fix it alright

Winded
May 16th, 2006, 05:07 PM
Hmm, that's exactly what I thought I was doing but it's still giving me dependency problems.

root@stumpy:~# apt-get -fs install
Reading package lists... Done
Building dependency tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
libgd2-dev libgd2-noxpm libgd2-noxpm-dev
Suggested packages:
libgd-tools
The following packages will be REMOVED:
libgd2-xpm php5-gd ubuntucenter
The following NEW packages will be installed:
libgd2-dev libgd2-noxpm libgd2-noxpm-dev
0 upgraded, 3 newly installed, 3 to remove and 0 not upgraded.
Remv ubuntucenter [.10]
Remv php5-gd [5.0.5-2ubuntu1.2]
Remv libgd2-xpm [2.0.33-1.1ubuntu1] [libgd2 python2.4-gd ]
Inst libgd2-noxpm (2.0.33-1.1ubuntu1 Ubuntu:5.10/breezy)
Inst libgd2-noxpm-dev (2.0.33-1.1ubuntu1 Ubuntu:5.10/breezy)
Inst libgd2-dev (2.0.33-1.1ubuntu1 Ubuntu:5.10/breezy)
Conf libgd2-noxpm (2.0.33-1.1ubuntu1 Ubuntu:5.10/breezy)
Conf libgd2-noxpm-dev (2.0.33-1.1ubuntu1 Ubuntu:5.10/breezy)
Conf libgd2-dev (2.0.33-1.1ubuntu1 Ubuntu:5.10/breezy)


Ok, so I do:

root@stumpy:~# apt-get remove ubuntucenter
Reading package lists... Done
Building dependency tree... Done
The following packages will be REMOVED:
ubuntucenter
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
Need to get 0B of archives.
After unpacking 3072kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 68113 files and directories currently installed.)
Removing ubuntucenter ...

All good so far. Now


root@stumpy:~# apt-get -fs install
Reading package lists... Done
Building dependency tree... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


Perfect. So I try

dpkg --install --force-all ubuntucenter-alpha-01.deb

and receive the "install seems to have gone alright" message. Now


root@stumpy:/var/tmp# apt-get -fs install
Reading package lists... Done
Building dependency tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
libgd2-dev libgd2-noxpm libgd2-noxpm-dev
Suggested packages:
libgd-tools
The following packages will be REMOVED:
libgd2-xpm php5-gd ubuntucenter
The following NEW packages will be installed:
libgd2-dev libgd2-noxpm libgd2-noxpm-dev
0 upgraded, 3 newly installed, 3 to remove and 0 not upgraded.
Remv ubuntucenter [.10]
Remv php5-gd [5.0.5-2ubuntu1.2]
Remv libgd2-xpm [2.0.33-1.1ubuntu1] [libgd2 python2.4-gd ]
Inst libgd2-noxpm (2.0.33-1.1ubuntu1 Ubuntu:5.10/breezy)
Inst libgd2-noxpm-dev (2.0.33-1.1ubuntu1 Ubuntu:5.10/breezy)
Inst libgd2-dev (2.0.33-1.1ubuntu1 Ubuntu:5.10/breezy)
Conf libgd2-noxpm (2.0.33-1.1ubuntu1 Ubuntu:5.10/breezy)
Conf libgd2-noxpm-dev (2.0.33-1.1ubuntu1 Ubuntu:5.10/breezy)
Conf libgd2-dev (2.0.33-1.1ubuntu1 Ubuntu:5.10/breezy)


Sigh. Which means if I try to install anything through apt from now on it will uninstall ubuntu center first.

I'm really not sure what I'm doing wrong at this point. Any ideas?

Thanks.

TTT_travis
May 16th, 2006, 05:16 PM
Hmm, that's exactly what I thought I was doing but it's still giving me dependency problems.

root@stumpy:~# apt-get -fs install
Reading package lists... Done
Building dependency tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
libgd2-dev libgd2-noxpm libgd2-noxpm-dev
Suggested packages:
libgd-tools
The following packages will be REMOVED:
libgd2-xpm php5-gd ubuntucenter
The following NEW packages will be installed:
libgd2-dev libgd2-noxpm libgd2-noxpm-dev
0 upgraded, 3 newly installed, 3 to remove and 0 not upgraded.
Remv ubuntucenter [.10]
Remv php5-gd [5.0.5-2ubuntu1.2]
Remv libgd2-xpm [2.0.33-1.1ubuntu1] [libgd2 python2.4-gd ]
Inst libgd2-noxpm (2.0.33-1.1ubuntu1 Ubuntu:5.10/breezy)
Inst libgd2-noxpm-dev (2.0.33-1.1ubuntu1 Ubuntu:5.10/breezy)
Inst libgd2-dev (2.0.33-1.1ubuntu1 Ubuntu:5.10/breezy)
Conf libgd2-noxpm (2.0.33-1.1ubuntu1 Ubuntu:5.10/breezy)
Conf libgd2-noxpm-dev (2.0.33-1.1ubuntu1 Ubuntu:5.10/breezy)
Conf libgd2-dev (2.0.33-1.1ubuntu1 Ubuntu:5.10/breezy)


Ok, so I do:

root@stumpy:~# apt-get remove ubuntucenter
Reading package lists... Done
Building dependency tree... Done
The following packages will be REMOVED:
ubuntucenter
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
Need to get 0B of archives.
After unpacking 3072kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 68113 files and directories currently installed.)
Removing ubuntucenter ...

All good so far. Now


root@stumpy:~# apt-get -fs install
Reading package lists... Done
Building dependency tree... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


Perfect. So I try

dpkg --install --force-all ubuntucenter-alpha-01.deb

and receive the "install seems to have gone alright" message. Now


root@stumpy:/var/tmp# apt-get -fs install
Reading package lists... Done
Building dependency tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
libgd2-dev libgd2-noxpm libgd2-noxpm-dev
Suggested packages:
libgd-tools
The following packages will be REMOVED:
libgd2-xpm php5-gd ubuntucenter
The following NEW packages will be installed:
libgd2-dev libgd2-noxpm libgd2-noxpm-dev
0 upgraded, 3 newly installed, 3 to remove and 0 not upgraded.
Remv ubuntucenter [.10]
Remv php5-gd [5.0.5-2ubuntu1.2]
Remv libgd2-xpm [2.0.33-1.1ubuntu1] [libgd2 python2.4-gd ]
Inst libgd2-noxpm (2.0.33-1.1ubuntu1 Ubuntu:5.10/breezy)
Inst libgd2-noxpm-dev (2.0.33-1.1ubuntu1 Ubuntu:5.10/breezy)
Inst libgd2-dev (2.0.33-1.1ubuntu1 Ubuntu:5.10/breezy)
Conf libgd2-noxpm (2.0.33-1.1ubuntu1 Ubuntu:5.10/breezy)
Conf libgd2-noxpm-dev (2.0.33-1.1ubuntu1 Ubuntu:5.10/breezy)
Conf libgd2-dev (2.0.33-1.1ubuntu1 Ubuntu:5.10/breezy)


Sigh. Which means if I try to install anything through apt from now on it will uninstall ubuntu center first.

I'm really not sure what I'm doing wrong at this point. Any ideas?

Thanks.


Weird, I really don't have much knowledge of apt, maybe try asking in another part of the forum. you might try apt-get update or something too.

barrosz
May 16th, 2006, 07:44 PM
i suggest you take a look at /var/lib/dpkg/status file and check it as ok, not very clean way but hey, just until you fix it.

Winded
May 17th, 2006, 12:24 AM
I ended up editing the /var/lib/dpkg/status file and took out the libgd2-dev dependency since Travis said it wasn't required anyway. Now, everything works great. Thanks for the support. I'm still not sure what I did wrong but oh well.

sguart
June 11th, 2006, 01:09 PM
Travis,

you need to update the wiki's installation instruction to remove the libgd2-dev from the apt-get install command.

i came across ubuntu center just recently and couldn't install the thing because of the dependency problem until i came across this thread.

thanks,
sg

p.s. maybe future enhancement will make it like ORB... keep up the good work!

TTT_travis
June 11th, 2006, 02:21 PM
Yeah, I would update it but then you would have to force it to install and that gets messy, I finally have my home fileserver/webserver setup so I can continue development of whatever I am going to call this thing ;) future versions won't be bundled in deb but instead will offer an equally simple (or simpler) installation method

Travis