LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 01-18-2013, 05:13 AM   #1
kox444
Member
 
Registered: Aug 2012
Posts: 110

Rep: Reputation: Disabled
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.
 
Old 01-18-2013, 12:04 PM   #2
lykwydchykyn
Member
 
Registered: Mar 2006
Location: Tennessee, USA
Distribution: Debian, Ubuntu
Posts: 135

Rep: Reputation: 36
Quote:
Originally Posted by kox444 View Post
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?
 
Old 01-18-2013, 12:10 PM   #3
kox444
Member
 
Registered: Aug 2012
Posts: 110

Original Poster
Rep: Reputation: Disabled
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.

Last edited by kox444; 01-18-2013 at 12:13 PM.
 
Old 01-18-2013, 01:36 PM   #4
lykwydchykyn
Member
 
Registered: Mar 2006
Location: Tennessee, USA
Distribution: Debian, Ubuntu
Posts: 135

Rep: Reputation: 36
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.

Last edited by lykwydchykyn; 01-18-2013 at 01:39 PM.
 
Old 01-18-2013, 02:03 PM   #5
kox444
Member
 
Registered: Aug 2012
Posts: 110

Original Poster
Rep: Reputation: Disabled
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
 
Old 01-18-2013, 03:20 PM   #6
lykwydchykyn
Member
 
Registered: Mar 2006
Location: Tennessee, USA
Distribution: Debian, Ubuntu
Posts: 135

Rep: Reputation: 36
Try:
Code:
aptitude keep-all
 
1 members found this post helpful.
Old 01-18-2013, 05:57 PM   #7
kox444
Member
 
Registered: Aug 2012
Posts: 110

Original Poster
Rep: Reputation: Disabled
Thanks. It works.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
raw php code only after trying update to wheezy astanton Debian 3 11-05-2012 09:34 AM
[SOLVED] New wheezy install doesn't see usb right radiodee1 Debian 1 07-29-2012 07:06 AM
[SOLVED] cannot execute binary on directory mounted by nfs (Debian wheezy) Permission denied. kaz2100 Debian 4 02-16-2012 08:12 PM
gdmsetup doesn't work on wheezy with Gnome3 cccc Debian 1 11-22-2011 10:41 PM
CGI doesn't execute under apache2 wichne Linux - Server 1 05-09-2008 07:38 PM


All times are GMT -5. The time now is 08:05 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration