北大侠客行MUD论坛

 找回密码
 注册
搜索
热搜: 新手 wiki 升级
查看: 5813|回复: 24

公司要个文件服务器,装ubuntu,好麻烦

[复制链接]
发表于 2012-11-14 12:48:44 | 显示全部楼层 |阅读模式
公司要个文件服务器,装ubuntu,好麻烦

我装的是服务器版本,已经装好了
现在装桌面,升级速度好慢啊!

北大侠客行MUD,中国最好的MUD
北大侠客行Mud(pkuxkx.com),最好的中文Mud游戏!
 楼主| 发表于 2012-11-14 12:53:06 | 显示全部楼层

速度好慢啊,有没有熟悉的大神,给我说说,怎么才能加快?

换源么?

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
北大侠客行Mud(pkuxkx.com),最好的中文Mud游戏!
 楼主| 发表于 2012-11-14 13:17:02 | 显示全部楼层
晕死,更换源,不能安装了




root@SZH-FSS:~# sudo apt-get install ubuntu-desktop
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
ubuntu-desktop : Depends: acpi-support but it is not going to be installed
                  Depends: alacarte but it is not going to be installed
                  Depends: cupsys but it is not going to be installed
                  Depends: cupsys-driver-gutenprint but it is not going to be installed
                  Depends: doc-base but it is not going to be installed
                  Depends: eog but it is not going to be installed
                  Depends: evince but it is not going to be installed
                  Depends: fast-user-switch-applet but it is not going to be installed
                  Depends: file-roller but it is not going to be installed
                  Depends: foomatic-db-engine but it is not going to be installed
                  Depends: gcalctool but it is not going to be installed
                  Depends: gconf-editor but it is not going to be installed
                  Depends: gdebi but it is not going to be installed
                  Depends: gdm but it is not going to be installed
                  Depends: gedit but it is not going to be installed
                  Depends: ghostscript-x but it is not going to be installed
                  Depends: gimp-python but it is not going to be installed
                  Depends: gnome-app-install but it is not going to be installed
                  Depends: gnome-applets but it is not going to be installed
                  Depends: gnome-control-center but it is not going to be installed
                  Depends: gnome-icon-theme but it is not going to be installed
                  Depends: gnome-media but it is not going to be installed
                  Depends: gnome-menus but it is not going to be installed
                  Depends: gnome-netstatus-applet but it is not going to be installed
                  Depends: gnome-nettool but it is not going to be installed
                  Depends: gnome-panel but it is not going to be installed
                  Depends: gnome-pilot-conduits but it is not going to be installed
                  Depends: gnome-power-manager but it is not going to be installed
                  Depends: gnome-session but it is not going to be installed
                  Depends: gnome-spell but it is not going to be installed
                  Depends: gnome-system-monitor but it is not going to be installed
                  Depends: gnome-system-tools but it is not going to be installed
                  Depends: gnome-terminal but it is not going to be installed
                  Depends: gnome-themes but it is not going to be installed
                  Depends: gnome-utils but it is not going to be installed
                  Depends: gnome-volume-manager but it is not going to be installed
                  Depends: gstreamer0.10-alsa but it is not going to be installed
                  Depends: gstreamer0.10-plugins-base-apps but it is not going to be installed
                  Depends: gstreamer0.10-pulseaudio but it is not going to be installed
                  Depends: gtk2-engines but it is not going to be installed
                  Depends: gtk2-engines-pixbuf but it is not going to be installed
                  Depends: gucharmap but it is not going to be installed
                  Depends: hal but it is not going to be installed
                  Depends: hwtest-gtk but it is not going to be installed
                  Depends: language-selector but it is not going to be installed
                  Depends: libgnome2-perl but it is not going to be installed
                  Depends: libgnomevfs2-bin but it is not going to be installed
                  Depends: libgnomevfs2-extra but it is not going to be installed
                  Depends: metacity but it is not going to be installed
                  Depends: nautilus but it is not going to be installed
                  Depends: nautilus-cd-burner but it is not going to be installed
                  Depends: nautilus-sendto but it is not going to be installed
                  Depends: notification-daemon but it is not going to be installed
                  Depends: pnm2ppa but it is not going to be installed
                  Depends: powermanagement-interface but it is not going to be installed
                  Depends: rss-glx but it is not going to be installed
                  Depends: screensaver-default-images but it is not going to be installed
                  Depends: seahorse but it is not going to be installed
                  Depends: smbclient but it is not going to be installed
                  Depends: software-properties-gtk but it is not going to be installed
                  Depends: ssh-askpass-gnome but it is not going to be installed
                  Depends: synaptic but it is not going to be installed
                  Depends: system-config-printer-gnome but it is not going to be installed
                  Depends: tangerine-icon-theme but it is not going to be installed
                  Depends: tsclient but it is not going to be installed
                  Depends: ttf-bitstream-vera but it is not going to be installed
                  Depends: ttf-dejavu-core but it is not going to be installed
                  Depends: ttf-freefont but it is not going to be installed
                  Depends: ubuntu-artwork but it is not going to be installed
                  Depends: update-manager but it is not going to be installed
                  Depends: update-notifier but it is not going to be installed
                  Depends: usplash but it is not going to be installed
                  Depends: usplash-theme-ubuntu but it is not going to be installed
                  Depends: x-ttcidfont-conf but it is not going to be installed
                  Depends: xdg-user-dirs-gtk but it is not going to be installed
                  Depends: xorg but it is not going to be installed
                  Depends: xscreensaver-data but it is not going to be installed
                  Depends: xscreensaver-gl but it is not going to be installed
                  Depends: xterm but it is not going to be installed
                  Depends: yelp but it is not going to be installed
                  Depends: zenity but it is not going to be installed
                  Recommends: apport-gtk but it is not going to be installed
                  Recommends: bluez-cups but it is not going to be installed
                  Recommends: bluez-gnome but it is not going to be installed
                  Recommends: bluez-utils but it is not going to be installed
                  Recommends: brasero but it is not going to be installed
                  Recommends: brltty-x11 but it is not going to be installed
                  Recommends: bug-buddy but it is not going to be installed
                  Recommends: compiz but it is not going to be installed
                  Recommends: contact-lookup-applet but it is not going to be installed
                  Recommends: cups-pdf but it is not going to be installed
                  Recommends: deskbar-applet but it is not going to be installed
                  Recommends: displayconfig-gtk but it is not going to be installed
                  Recommends: ekiga but it is not going to be installed
                  Recommends: evolution but it is not going to be installed
                  Recommends: evolution-exchange but it is not going to be installed
                  Recommends: evolution-plugins but it is not going to be installed
                  Recommends: evolution-webcal but it is not going to be installed
                  Recommends: f-spot but it is not going to be installed
                  Recommends: firefox but it is not going to be installed
                  Recommends: firefox-gnome-support but it is not going to be installed
                  Recommends: foomatic-db-hpijs but it is not going to be installed
                  Recommends: gimp but it is not going to be installed
                  Recommends: gimp-gnomevfs but it is not going to be installed
                  Recommends: gnome-accessibility-themes but it is not going to be installed
                  Recommends: gnome-games but it is not going to be installed
                  Recommends: gnome-mag but it is not going to be installed
                  Recommends: gnome-orca but it is not going to be installed
                  Recommends: gnome-screensaver but it is not going to be installed
                  Recommends: gnome-user-guide but it is not going to be installed
                  Recommends: hal-cups-utils but it is not going to be installed
                  Recommends: hplip but it is not going to be installed
                  Recommends: jockey-gtk but it is not going to be installed
                  Recommends: libdeskbar-tracker but it is not going to be installed
                  Recommends: mousetweaks but it is not going to be installed
                  Recommends: nautilus-share but it is not going to be installed
                  Recommends: network-manager-gnome but it is not going to be installed
                  Recommends: onboard but it is not going to be installed
                  Recommends: openoffice.org-calc but it is not going to be installed
                  Recommends: openoffice.org-gnome but it is not going to be installed
                  Recommends: openoffice.org-impress but it is not going to be installed
                  Recommends: openoffice.org-writer but it is not going to be installed
                  Recommends: pidgin but it is not going to be installed
                  Recommends: pidgin-otr but it is not going to be installed
                  Recommends: pulseaudio-module-gconf but it is not going to be installed
                  Recommends: pulseaudio-module-hal but it is not going to be installed
                  Recommends: rhythmbox but it is not going to be installed
                  Recommends: scim but it is not going to be installed
                  Recommends: scim-bridge-agent but it is not going to be installed
                  Recommends: scim-bridge-client-gtk but it is not going to be installed
                  Recommends: scim-gtk2-immodule but it is not going to be installed
                  Recommends: sound-juicer but it is not going to be installed
                  Recommends: splix but it is not going to be installed
                  Recommends: tomboy but it is not going to be installed
                  Recommends: totem but it is not going to be installed
                  Recommends: totem-mozilla but it is not going to be installed
                  Recommends: tracker but it is not going to be installed
                  Recommends: tracker-search-tool but it is not going to be installed
                  Recommends: transmission-gtk but it is not going to be installed
                  Recommends: ttf-arabeyes but it is not going to be installed
                  Recommends: ttf-arphic-uming but it is not going to be installed
                  Recommends: ttf-indic-fonts-core but it is not going to be installed
                  Recommends: ttf-kochi-gothic
                  Recommends: ttf-kochi-mincho
                  Recommends: ttf-lao but it is not going to be installed
                  Recommends: ttf-malayalam-fonts but it is not going to be installed
                  Recommends: ttf-thai-tlwg but it is not going to be installed
                  Recommends: ttf-unfonts-core but it is not going to be installed
                  Recommends: ubufox but it is not going to be installed
                  Recommends: ubuntu-docs but it is not going to be installed
                  Recommends: vinagre but it is not going to be installed
                  Recommends: vino but it is not going to be installed
                  Recommends: xsane but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
北大侠客行Mud(pkuxkx.com),最好的中文Mud游戏!
发表于 2012-11-14 13:27:56 | 显示全部楼层
本帖最后由 redcoat 于 2012-11-14 01:29 PM 编辑

可以选一个快点的镜像源。
一般163的源就能满速。
  1. $ pwd
  2. /home/username
  3. $ wget http://mirrors.163.com/sources.list.hardy(intrepid)  #根据你的版本号
  4. $ sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak
  5. $ sudo cp sources.list.hardy(intrepid) /etc/atp/sources.list
  6. $ sudo apt-get update
复制代码



或者自动选择最快的源,用apt-spy,步骤如下:
  1. 安装 apt-spy
  2. sudo apt-get install apt-spy
  3. 测试源
  4. apt-spy -d stable -a asia -t 5
复制代码


命令行中的-d选项指定发行版本,如stable、testing、unstable。-a选项指定安装源服务器的区域,如asia、 Europe、North-America等。这些区域信息保存在/etc/apt-spy.conf文档中,如果要测试所有服务器,还可用ALL关健字 代替具体的区域。-t选项指定连接超时阀值,阀值以秒为单位,设置较小的阀值能有效提高测试速度,忽略慢速服务器。

测试完成后,apt- spy会自动更新你的sources.list文件。apt-spy在更新你的sources.list前会备份一次sources.list文件,把原 来的sources.list复制为sources.list.bak。但每运行一次apt-spy命令它都会生成一个新的 sources.list.bak文件,把旧的sources.list.bak覆盖掉。所以在使用apt-spy命令前最好先备份好原来的 sources.list文件。
北大侠客行Mud(pkuxkx.com),最好的中文Mud游戏!
发表于 2012-11-14 13:36:20 | 显示全部楼层
晕死,更换源,不能安装了
root@SZH-FSS:~# sudo apt-get install ubuntu-desktop
Reading packa ...
jizong 发表于 2012-11-14 01:17 PM

  1. su
  2. apt-get clean all
  3. apt-get update
  4. apt-get install ubuntu-desktop
复制代码



提示apt-get autoremove再执行
  1. apt-get autoremove
复制代码
即可.
北大侠客行Mud(pkuxkx.com),最好的中文Mud游戏!
 楼主| 发表于 2012-11-14 13:39:25 | 显示全部楼层
root@SZH-FSS:~# ver
Sorry, command-not-found has crashed! Please file a bug report at:
https://bugs.launchpad.net/command-not-found/+filebug
Please include the following information with the report:

command-not-found version: 0.3
Python version: 3.2.3 final 0
Distributor ID: Ubuntu
Description:    Ubuntu 12.10
Release:        12.10
Codename:       quantal


我该选择哪个呢?

apt-spy我安装的时候,找不到呢
北大侠客行Mud(pkuxkx.com),最好的中文Mud游戏!
 楼主| 发表于 2012-11-14 13:40:27 | 显示全部楼层
感谢红衣了~~哈哈哈,我就知道,MUD论坛里边有linux高手
北大侠客行Mud(pkuxkx.com),最好的中文Mud游戏!
 楼主| 发表于 2012-11-14 14:01:51 | 显示全部楼层
问题还是有的啊,我返回到最初的了

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
北大侠客行Mud(pkuxkx.com),最好的中文Mud游戏!
发表于 2012-11-14 14:10:19 | 显示全部楼层
本帖最后由 redcoat 于 2012-11-14 02:11 PM 编辑

源没有换掉,还是cn.archive.ubuntu.com的源。
手动换源试试:

  1. $ wget http://mirrors.163.com/sources.list.hardy(intrepid)  #根据你的版本号
  2. $ sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak
  3. $ sudo cp sources.list.hardy(intrepid) /etc/atp/sources.list
  4. $ sudo apt-get update
复制代码



版本号用uname -a查看。
北大侠客行Mud(pkuxkx.com),最好的中文Mud游戏!
 楼主| 发表于 2012-11-14 14:17:01 | 显示全部楼层
红衣,为什么报错呢?


E: Unable to correct problems, you have held broken packages.
北大侠客行Mud(pkuxkx.com),最好的中文Mud游戏!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|北大侠客行MUD ( 京ICP备16065414号-1 )

GMT+8, 2024-11-28 04:13 PM , Processed in 0.012731 second(s), 15 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表