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: |
Quote:
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? |
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. |
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 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. |
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 |
Try:
Code:
aptitude keep-all |
Thanks. It works.
|
All times are GMT -5. The time now is 10:24 AM. |