LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   apache2 doesn't execute code + 638MB for autoremove - wheezy (https://www.linuxquestions.org/questions/debian-26/apache2-doesnt-execute-code-638mb-for-autoremove-wheezy-4175446161/)

kox444 01-18-2013 05:13 AM

apache2 doesn't execute code + 638MB for autoremove - wheezy
 
Looks like Debian is not that stable anymore. I installed Wheezy yesterday. Apache2 worked ok. Then I installed vlc player and realized I don't really need it because the standard movie player is just ok and there aren't any errors with sound. After that I had something with apache to autoremove. Having some trust I thought they aren't really needed and removed it. I didn't run apache since yesterday. I don't know if it's linked but I removed postgresql today. And autoremoved some components of this db server. Now I purged everything that starts with apache2. And reinstalled it. Apache still doesn't execute code. The other problem is after that I have 633MB to autoremove!!
Code:

The following packages will be REMOVED:
  analog ant ant-optional at-spi2-core baobab ca-certificates-java caribou
  caribou-antler dconf-tools default-jre default-jre-headless empathy
  empathy-common fonts-cantarell fonts-lyx fonts-opensymbol fonts-sil-gentium
  fonts-sil-gentium-basic gcalctool gdm3 gir1.2-atspi-2.0 gnome-backgrounds
  gnome-dictionary gnome-disk-utility gnome-font-viewer
  gnome-icon-theme-extras gnome-packagekit gnome-packagekit-data
  gnome-screenshot gnome-search-tool gnome-system-log gucharmap hyphen-en-us
  icedtea-6-jre-cacao icedtea-6-jre-jamvm icedtea-netx icedtea-netx-common
  java-common libatk-adaptor libatk-adaptor-data libatk-bridge2.0-0
  libatk-wrapper-java libatk-wrapper-java-jni libatspi2.0-0 libavahi-ui-gtk3-0
  libcaribou-gtk-module libcaribou-gtk3-module libcmis-0.2-0 libcolamd2.7.1
  libcommons-collections3-java libcommons-compress-java libdb-je-java
  libexttextcat-data libexttextcat0 libgail-common libgdict-1.0-6
  libgdict-common libgdu-gtk0 libgeocode-glib0 libgraphite2-2.0.0
  libgtk-vnc-2.0-0 libgvnc-1.0-0 libhsqldb-java libhyphen0 libicu4j-java
  libjaxp1.3-java libjline-java libjtidy-java liblucene2-java libmagick++5
  libmythes-1.2-0 libplot2c2 libpstoedit0c2a libregexp-java libreoffice
  libreoffice-base libreoffice-base-core libreoffice-calc libreoffice-common
  libreoffice-core libreoffice-draw libreoffice-emailmerge
  libreoffice-evolution libreoffice-filter-binfilter
  libreoffice-filter-mobiledev libreoffice-gnome libreoffice-gtk
  libreoffice-help-en-us libreoffice-impress libreoffice-java-common
  libreoffice-math libreoffice-report-builder-bin libreoffice-style-galaxy
  libreoffice-style-tango libreoffice-writer libservlet2.5-java
  libtelepathy-farstream2 libunique-3.0-0 libvisio-0.0-0 libwpd-0.9-9
  libwpg-0.2-2 libwps-0.2-2 libxalan2-java libxerces2-java
  libxml-commons-external-java libxml-commons-resolver1.1-java libxz-java
  lp-solve mobile-broadband-provider-info mythes-en-us nautilus-sendto-empathy
  network-manager-gnome openjdk-6-jre openjdk-6-jre-headless openjdk-6-jre-lib
  pstoedit python-pyatspi python-pyatspi2 python-uno rdesktop
  sound-theme-freedesktop telepathy-gabble telepathy-logger telepathy-salut
  ttf-liberation ttf-sil-

How can I fix this mess? If I can't I say goodbay to Wheezy. Also I have strange problem with sound. When I play music and some other beep from another application plays, the sound from the music player goes way up for the moment of the notification beep.

lykwydchykyn 01-18-2013 12:04 PM

Quote:

Originally Posted by kox444 (Post 4872780)
Looks like Debian is not that stable anymore. I installed Wheezy yesterday.

Wheezy is still testing; of course it's not stable. If you want stable install Squeeze.

When you have huge amounts of packages in autoremove, it usually means they were installed by a meta-package, and the meta-package got removed.

Are you using aptitude or apt-get?

kox444 01-18-2013 12:10 PM

I forgot to install php5. Apache2 is now working.
I know, I almost had a similar problem in Squeeze but before removing the part of meta package I noticed that all Gnome will be to remove, so I didn't remove it. Today I haven't noticed. I'm using apt. I've removed apache2 to reinstall it and after that the problem occurred. Or maybe it occurs because I removed postgresql who knows. Now is there a way to repair it?
I thought Wheezy got stable already. Maybe apt-get install gnome would work. I would get 300MB of unnessecary packages though.

lykwydchykyn 01-18-2013 01:36 PM

First, I'd recommend using aptitude on Debian. The reason being:

- It's designated as the official APT front-end according to the release notes, so it's going to get the best support
- Tasksel (the last bit of the OS install, where you pick what you want installed) uses aptitude as a back-end, so using apt-get will mix back-ends. This almost inevitably creates problems like the one you're having, because aptitude and apt-get use different systems to track some of these dependency issues.

I'd fire up aptitude, do a search (that's the / key) for "~g", which will find all the auto-removeable packages. Use the "n" key to scroll through them, and hit "m" when you've highlighted one you want to keep (this will mark it "manually installed", so that it doesn't get auto removed).

If you want to be lazy and not go through all those packages one by one, you can do this:

Code:

aptitude unmarkauto ~g
(as root, naturally).


Wheezy is frozen, which means there won't be any major package updates between now and when it goes stable; however, there are still many release-critical bugs that need to be fixed before release.

kox444 01-18-2013 02:03 PM

I ran aptitude unmarkauto ~g and

0 packages upgraded, 0 newly installed, 132 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 633 MB will be freed.
Do you want to continue? [Y/n/?] n

So this is going to delete my apps just like autoremove

lykwydchykyn 01-18-2013 03:20 PM

Try:
Code:

aptitude keep-all

kox444 01-18-2013 05:57 PM

Thanks. It works.


All times are GMT -5. The time now is 10:24 AM.