Results 1 to 5 of 5

Thread: system upgrade error

  1. #1
    Join Date
    Aug 2011
    Beans
    95
    Distro
    Ubuntu 12.04 Precise Pangolin

    Question system upgrade error

    Hey guys,

    I recently tried to upgrade my ubuntu home server but I got this error code

    bstrizzy@nova:~$ sudo apt-get upgrade
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    You might want to run `apt-get -f install' to correct these.
    The following packages have unmet dependencies:
    phpmyadmin: Depends: libapache2-mod-php5 but it is not installed or
    php5-cgi but it is not installed or
    php5 but it is not installed
    Depends: php5-mysql but it is not installed or
    php5-mysqli but it is not installable
    Depends: php5-mcrypt but it is not installed
    Recommends: apache2 or
    lighttpd but it is not installed or
    httpd
    Recommends: php5-gd but it is not installed
    Recommends: mysql-client
    E: Unmet dependencies. Try using -f.
    bstrizzy@nova:~$

    I also tried removing my lamp stack to start it over by using this code

    bstrizzy@nova:~$ sudo apt-get --purge remove apache2 apache2-mpm-prefork apache2-utils apache2.2-common libapache2-mod-php5 libapr1 libaprutil1 libdbd-mysql-perl libdbi-perl libmysqlclient15off libnet-daemon-perl libplrpc-perl libpq5 mysql-client-5.0 mysql-common mysql-server mysql-server-5.0 php5-common php5-mysql

  2. #2
    Join Date
    Mar 2010
    Location
    USA
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: system upgrade error

    Could you please do this and post the results listed in that newly created file?
    Code:
    dpkg --get-selections > installed-software
    Please post those results by using Code tags... You can do that easily by being in post "advanced mode," highlighting that file's text, then pressing the "#" icon in the post edit toolbar. that will add the code tags to the beginning and end of that highlighted text.

    The way I do this is from a connected desktop, open a terminal session and sh into my server. Then I can cat the file and cut and paste what is in it into my posts or bug reports... of course you could always upload it from the server using a text-based browser (I sometimes do that), but not as easy or as fast...
    Last edited by MAFoElffen; February 5th, 2013 at 01:48 AM.

    "Concurrent coexistence of Windows, Linux and UNIX..." || Ubuntu user # 33563, Linux user # 533637
    Sticky: Graphics Resolution | UbuntuForums 'system-info' Script | Posting Guidelines | Code Tags

  3. #3
    Join Date
    Aug 2011
    Beans
    95
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: system upgrade error

    Quote Originally Posted by MAFoElffen View Post
    Could you please do this and post the results listed in that newly created file?
    Code:
    dpkg --get-selections > installed-software
    Please post those results by using Code tags... You can do that easily by being in post "advanced mode," highlighting that file's text, then pressing the "#" icon in the post edit toolbar. that will add the code tags to the beginning and end of that highlighted text.

    The way I do this is from a connected desktop, open a terminal session and sh into my server. Then I can cat the file and cut and paste what is in it into my posts or bug reports... of course you could always upload it from the server using a text-based browser (I sometimes do that), but not as easy or as fast...
    see attached
    Attached Files Attached Files
    Last edited by BStrizzy; February 5th, 2013 at 08:17 PM. Reason: forgot attachment

  4. #4
    Join Date
    Mar 2010
    Location
    USA
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: system upgrade error

    linux-image-2.6.32-45-generic-pae
    What version of Server are you running?

    ... Also, what server services are you actually "using?"

    Did you try using aptitude to resolve and update the Lamp Packages? You could use it to dryrun it to see what packages it suggests to update... and if you have the dependencies installed to do that. That way you can use it as a diagnostics tool to see what the effect "would" be, without making the actual update changes.

    You could also use aptitude to "reinstall" the LAMP packages, if needed.

    I find that when I just start removing lower level packages, I end up orphaning the upper level packages that depend on them.

    Claritiy- You are just doing update/upgrade right? Not a release upgrade?
    Last edited by MAFoElffen; February 5th, 2013 at 08:46 PM.

    "Concurrent coexistence of Windows, Linux and UNIX..." || Ubuntu user # 33563, Linux user # 533637
    Sticky: Graphics Resolution | UbuntuForums 'system-info' Script | Posting Guidelines | Code Tags

  5. #5
    Join Date
    Aug 2011
    Beans
    95
    Distro
    Ubuntu 12.04 Precise Pangolin

    Talking Re: system upgrade error

    Quote Originally Posted by MAFoElffen View Post
    What version of Server are you running?

    ... Also, what server services are you "using?"

    Did you try using aptitude to resolve and update the Lamp Packages? You could use it to dryrun it to see what packages it suggests to update... and if you have the dependencies installed to do that. That way you can use it as a diagnostics tool to see what the effect "would" be, without making the actual update changes.

    You could also use aptitude to "reinstall" the LAMP packages, if needed.

    I find that when I just start removing lower level packages, I end up orphaning the upper level packages that depend on them.

    Claritiy- You are just doing update/upgrade right? Not a release upgrade?
    I am running 10.04 ubuntu server edition, and I was using media tomb which is pretty much my only service I use, but ever since I purged lamp that was gone too.

    I am also trying to just update/upgrade not release upgrade. see attached again.

    I think I solved my problem though. I just re installed LAMP and removed phpmyadmin before actually removing the LAMP stack its self =)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •