Ubuntu 12.04,损坏的更新管理器,phpmyadmin和许多其他东西


2

我正在将Ubuntu 12.04XFCE一起使用

我的故事有一个多星期的时间,但是从今天起,我在系统和apache2,mysql,phpmyadmin,更新管理器等方面遇到了许多奇怪的问题。

我的apache2,mysql和phpmyadmin工作正常。
故事从为SSH安装和配置系统开始。我更改了主机文件中的某些设置,以及/ home / user中的某些权限,以及其他我现在不记得的巫婆。后来我发现我的apache2,mysql和phpmyadmin根本不起作用。经过大量的搜索并尝试了许多设置之后,重新安装了软件包,我解决了apache2和mysql的问题,它们确实起作用,但是phpmyadmin仍然不起作用。

  1. 当我进入http://localhost/phpmyadmin/

Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation properly.

在撰写本文时,像往常一样通过更新管理器进行了所有可能的系统更新

  1. 重新启动后,我发现我的终端的所有快捷键都为空白!但是在他们像ctrl + shift + t,ctrl + shift + c等之前。

  2. 我的更新管理器崩溃了

could not open file /var/lib/dpkg/status - open 13 permission denied.

我没有在那里更改任何权限

  1. 普利茅斯,城市化也崩溃了。

我重新安装了它们,现在看不到有关它们的崩溃报告。我还重新安装了dbconfig-common

  1. 的互联网连接图标从顶部栏中消失,但是我可以从应用程序菜单中打开“网络连接”,并且互联网正在运行。

  2. 以上是我在xfce中所做的所有操作,但是当我切换到Unity 2D时,我看到所有窗口都没有边框

我发现我应该unity --replace这样做,但我没用

   $ unity --replace 

Checking if settings need to be migrated ...no
    Checking if internal files need to be migrated ...no
    Backend     : gconf
    Integration : true
    Profile     : unity
    Adding plugins
    Initializing core options...done
    compiz (core) - Warn: failed to receive ConfigureNotify event on 0x1e00004

    compiz (core) - Warn: failed to receive ConfigureNotify event on 0x1400002

    compiz (core) - Warn: failed to receive ConfigureNotify event on 0x1200002

    compiz (core) - Warn: failed to receive ConfigureNotify event on 0x3000004

    Initializing composite options...done
    Initializing opengl options...done
    Initializing decor options...done
    Initializing vpswitch options...done
    Initializing snap options...done
    Initializing mousepoll options...done
    Initializing resize options...done
    Initializing place options...done
    Initializing move options...done
    Initializing wall options...done
    Initializing grid options...done
    Initializing session options...done
    Initializing gnomecompat options...done
    Initializing animation options...done
    Initializing fade options...done
    Initializing unitymtgrabhandles options...done
    Initializing workarounds options...done
    Initializing scale options...done
    compiz (expo) - Warn: failed to bind image to texture
    Initializing expo options...done
    Initializing ezoom options...done

    (compiz:15150): GConf-CRITICAL **: gconf_client_add_dir: assertion `gconf_valid_key (dirname, NULL)' failed
    WARN  2012-12-22 02:56:45 unity.ibus <unknown>:0 Unable to load /var/lib/dbus/machine-id: Failed to open file '/var/lib/dbus/machine-id': Permission denied
    Initializing unityshell options...done
    compiz (core) - Warn: unhandled ConfigureNotify on 0x3200090!
    compiz (core) - Warn: this should never happen. you should probably file a bug about this.
    compiz (core) - Warn: unhandled ConfigureNotify on 0x3200093!
    compiz (core) - Warn: this should never happen. you should probably file a bug about this.
    compiz (core) - Warn: unhandled ConfigureNotify on 0x3200096!
    compiz (core) - Warn: this should never happen. you should probably file a bug about this.
    compiz (core) - Warn: unhandled ConfigureNotify on 0x3200099!
    compiz (core) - Warn: this should never happen. you should probably file a bug about this.
    ERROR 2012-12-22 02:56:46 unity.glib-gobject <unknown>:0 g_object_unref: assertion `G_IS_OBJECT (object)' failed
    Starting gtk-window-decorator
    compiz (decor) - Warn: No default decoration found, placement will not be correct
    compiz (decor) - Warn: No default decoration found, placement will not be correct

我不知道为什么这么多东西坏了,我什至不知道从哪里开始维修。我每天都在搜索谷歌。请帮忙,给点想法。

Answers:


0

最后,经过几天的搜索答案,我只是备份了重要文件并重新安装了整个系统。这是最快的解决方案。

现在,两个月后,新系统仍然运行良好。

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.