Re: [Ubuntu-zh] 我的无线网卡老是默认 连接到没有密码的无线路由上

2010-10-02 文章 tvdbukrf inuyasha
右键panel上的连接标志,点编辑连接,在无线那一项里吧你不想要的都去掉~你可以注意到你邻居的连接肯定勾上了自动连接~~

2010/9/29 sarahorse :
>  我的network-manage 每次开机都会默认连接到我楼上的那户人家,我估计他家的
> 路由也是放在我头顶的屋内,所以上下只有一墙之隔,而且的路由没有设置密码.所
> 以每次默认都连接他 家.
>
> 请问我如何修改我的默认连接?
>
> --
> ubuntu-zh mailing list
> ubuntu-zh@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
>
-- 
ubuntu-zh mailing list
ubuntu-zh@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh


Re: [Ubuntu-zh] 【Ubuntu10.10,Kernel2.6.35- 22,HD2600】fglrx中的fglrxdrm模块无 法加载,但libfglrxdrm.so是存在的

2010-10-02 文章 tvdbukrf inuyasha
这位貌似没看明白~标题已注明HD2600,老卡了~
关键是应该存在的module却被认为不存在

2010/10/2 Ray Wang :
> 不知道你的ATI显示是什么型号的,最新的 xorg-xserver-video-ati 好像只直接 5xxx系列的。
> Ubuntu 源里的fglrx 好像也只支持的不高,有可以需要你去ATI官方直接下驱动
>
> 2010/10/2 tvdbukrf inuyasha <4entertri...@gmail.com>:
>> 依旧是杯具的ATI驱动问题,虽然早就宣布解决了内核2.6.35的兼容性问题,fglrx安装过程也没啥明显错误。但始终没法启动X,log显示fglrxdrm
>> module 不存在。但网上查寻发现就是libfglrxdrm,实际是存在的。
>> 只能用慢到吐血的xserver-xorg-video-ati~本来期待RC之后能改善~但fglrx-installer包已经一个多星期没更新了。
>> 趁着10.1长假实在想把这问题解决了。望各位赐教!下面有我能考虑到的所有有用信息,比较长。
>> -
>> 首先fglrx安装有两处警告。具体如下
>> 正在设置 fglrx (2:8.780-0ubuntu2) ...
>> update-alternatives: 使用 /usr/lib/fglrx/ld.so.conf 来提供
>> /etc/ld.so.conf.d/GL.conf (gl_conf),于 自动模式 中。
>> update-alternatives: 警告: 跳过创建 /usr/lib32/libaticalcl.so 因为所关联文件
>> /usr/lib32/fglrx/libaticalcl.so (位于链接组 gl_conf)不存在。
>> update-alternatives: 警告: 跳过创建 /usr/lib32/libaticalrt.so 因为所关联文件
>> /usr/lib32/fglrx/libaticalrt.so (位于链接组 gl_conf)不存在。
>> update-initramfs: deferring update (trigger activated)
>> Loading new fglrx-8.780 DKMS files...
>> Building only for 2.6.35-22-generic
>> Building for architecture i686
>> Building initial module for 2.6.35-22-generic
>> Done.
>>
>> fglrx.ko:
>> Running module version sanity check.
>>  - Original module
>>   - No original module exists within this kernel
>>  - Installation
>>   - Installing to /lib/modules/2.6.35-22-generic/updates/dkms/
>>
>> depmod.
>>
>> DKMS: install Completed.
>> update-initramfs: deferring update (trigger activated)
>>
>> 但/usr/lib32本来就根本啥都没有,整个系统只有/var/lib/dpkg/alternatives/gl-conf里有/usr/lib32/XXX的~不懂这个,是不是依赖写错了~~
>> 倒是/usr/lib下有这两个文件。遂移植过来了事,但问题依旧。
>> 
>>
>> xorg.log中可以看出fglrxdrm
>> module显示为不存在,但实际上它就在/usr/lib/fglrx/xorg/modules/linux/libfglrxdrm.so
>> 根据网上查的确实也应该在这~
>> xorg.log出错部分:
>> [    28.401] (II) Module vgahw: vendor="X.Org Foundation"
>> [    28.401]    compiled for 1.9.0, module version = 0.1.0
>> [    28.401]    ABI class: X.Org Video Driver, version 8.0
>> [    28.401] (**) fglrx(0): Depth 24, (--) framebuffer bpp 32
>> [    28.401] (II) fglrx(0): Pixel depth = 24 bits stored in 4 bytes
>> (32 bpp pixmaps)
>> [    28.401] (==) fglrx(0): Default visual is TrueColor
>> [    28.401] (**) fglrx(0): Option "DPMS" "true"
>> [    28.401] (==) fglrx(0): RGB weight 888
>> [    28.401] (II) fglrx(0): Using 8 bits per RGB
>> [    28.401] (==) fglrx(0): Buffer Tiling is ON
>> [    28.401] (II) Loading sub module "fglrxdrm"
>> [    28.401] (II) LoadModule: "fglrxdrm"
>> [    28.402] (WW) Warning, couldn't open module fglrxdrm
>> [    28.402] (II) UnloadModule: "fglrxdrm"
>> [    28.402] (EE) fglrx: Failed to load module "fglrxdrm" (module does
>> not exist, 0)
>> [    28.402] (EE) fglrx(0): Failed to load DRM library
>> [    28.402] (EE) fglrx(0): PreInit failed
>> [    28.402] (II) fglrx(0): === [xdl_x760_atiddxPreInit] === end
>> [    28.403] SetVBEMode failed
>> [    28.403] (II) UnloadModule: "fglrx"
>> [    28.403] (II) UnloadModule: "vgahw"
>> [    28.403] (II) Unloading /usr/lib/xorg/modules/libvgahw.so
>> [    28.403] (EE) Screen(s) found, but none have a usable configuration.
>> [    28.403]
>> Fatal server error:
>> [    28.403] no screens found
>> -
>>
>> 安装完之后若使用了fglrx的xorg.conf会直接在启动时failed然后进入命令行界面。
>> 另外glxinfo,glxgears等均会出现core dumped~
>>
>> 求教有何经验?
>> 至少系统是从何得知module路径的?看看是不是写错了~
>> --
>> ubuntu-zh mailing list
>> ubuntu-zh@lists.ubuntu.com
>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
>>
>
>
>
> --
> Ray Wang
>  - Follow your dreams
> --
> ubuntu-zh mailing list
> ubuntu-zh@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
>
-- 
ubuntu-zh mailing list
ubuntu-zh@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh


Re: [Ubuntu-zh] 【Ubuntu10.10,Kernel2.6.35-22 ,HD2600】fglrx中的fglrxdrm模块无法加载 ,但libfglrxdrm.so是存在的

2010-10-02 文章 Ray Wang
不知道你的ATI显示是什么型号的,最新的 xorg-xserver-video-ati 好像只直接 5xxx系列的。
Ubuntu 源里的fglrx 好像也只支持的不高,有可以需要你去ATI官方直接下驱动

2010/10/2 tvdbukrf inuyasha <4entertri...@gmail.com>:
> 依旧是杯具的ATI驱动问题,虽然早就宣布解决了内核2.6.35的兼容性问题,fglrx安装过程也没啥明显错误。但始终没法启动X,log显示fglrxdrm
> module 不存在。但网上查寻发现就是libfglrxdrm,实际是存在的。
> 只能用慢到吐血的xserver-xorg-video-ati~本来期待RC之后能改善~但fglrx-installer包已经一个多星期没更新了。
> 趁着10.1长假实在想把这问题解决了。望各位赐教!下面有我能考虑到的所有有用信息,比较长。
> -
> 首先fglrx安装有两处警告。具体如下
> 正在设置 fglrx (2:8.780-0ubuntu2) ...
> update-alternatives: 使用 /usr/lib/fglrx/ld.so.conf 来提供
> /etc/ld.so.conf.d/GL.conf (gl_conf),于 自动模式 中。
> update-alternatives: 警告: 跳过创建 /usr/lib32/libaticalcl.so 因为所关联文件
> /usr/lib32/fglrx/libaticalcl.so (位于链接组 gl_conf)不存在。
> update-alternatives: 警告: 跳过创建 /usr/lib32/libaticalrt.so 因为所关联文件
> /usr/lib32/fglrx/libaticalrt.so (位于链接组 gl_conf)不存在。
> update-initramfs: deferring update (trigger activated)
> Loading new fglrx-8.780 DKMS files...
> Building only for 2.6.35-22-generic
> Building for architecture i686
> Building initial module for 2.6.35-22-generic
> Done.
>
> fglrx.ko:
> Running module version sanity check.
>  - Original module
>   - No original module exists within this kernel
>  - Installation
>   - Installing to /lib/modules/2.6.35-22-generic/updates/dkms/
>
> depmod.
>
> DKMS: install Completed.
> update-initramfs: deferring update (trigger activated)
>
> 但/usr/lib32本来就根本啥都没有,整个系统只有/var/lib/dpkg/alternatives/gl-conf里有/usr/lib32/XXX的~不懂这个,是不是依赖写错了~~
> 倒是/usr/lib下有这两个文件。遂移植过来了事,但问题依旧。
> 
>
> xorg.log中可以看出fglrxdrm
> module显示为不存在,但实际上它就在/usr/lib/fglrx/xorg/modules/linux/libfglrxdrm.so
> 根据网上查的确实也应该在这~
> xorg.log出错部分:
> [28.401] (II) Module vgahw: vendor="X.Org Foundation"
> [28.401]compiled for 1.9.0, module version = 0.1.0
> [28.401]ABI class: X.Org Video Driver, version 8.0
> [28.401] (**) fglrx(0): Depth 24, (--) framebuffer bpp 32
> [28.401] (II) fglrx(0): Pixel depth = 24 bits stored in 4 bytes
> (32 bpp pixmaps)
> [28.401] (==) fglrx(0): Default visual is TrueColor
> [28.401] (**) fglrx(0): Option "DPMS" "true"
> [28.401] (==) fglrx(0): RGB weight 888
> [28.401] (II) fglrx(0): Using 8 bits per RGB
> [28.401] (==) fglrx(0): Buffer Tiling is ON
> [28.401] (II) Loading sub module "fglrxdrm"
> [28.401] (II) LoadModule: "fglrxdrm"
> [28.402] (WW) Warning, couldn't open module fglrxdrm
> [28.402] (II) UnloadModule: "fglrxdrm"
> [28.402] (EE) fglrx: Failed to load module "fglrxdrm" (module does
> not exist, 0)
> [28.402] (EE) fglrx(0): Failed to load DRM library
> [28.402] (EE) fglrx(0): PreInit failed
> [28.402] (II) fglrx(0): === [xdl_x760_atiddxPreInit] === end
> [28.403] SetVBEMode failed
> [28.403] (II) UnloadModule: "fglrx"
> [28.403] (II) UnloadModule: "vgahw"
> [28.403] (II) Unloading /usr/lib/xorg/modules/libvgahw.so
> [28.403] (EE) Screen(s) found, but none have a usable configuration.
> [28.403]
> Fatal server error:
> [28.403] no screens found
> -
>
> 安装完之后若使用了fglrx的xorg.conf会直接在启动时failed然后进入命令行界面。
> 另外glxinfo,glxgears等均会出现core dumped~
>
> 求教有何经验?
> 至少系统是从何得知module路径的?看看是不是写错了~
> --
> ubuntu-zh mailing list
> ubuntu-zh@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
>



-- 
Ray Wang
  - Follow your dreams
-- 
ubuntu-zh mailing list
ubuntu-zh@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh


Re: [Ubuntu-zh] Fwd: [SLL:10435] 老式台式机器 安装哪个ubuntu版本比较好

2010-10-02 文章 Ray Wang
上网本,建议你试试 Ubuntu Netbook Edtion 10.10 Maverick  版本。

2010/10/2 Rhys :
> 还真是Linux(Ubuntu?)世界的悲哀。我去年买的一台上网本,就没有安装过windows,以为linux会快一些。而实际使用ubuntu的效果,在速度方面也是可以接受而已,谈不上快了。还要忍受office文档交流的不协调。
>
> 对于我这样的,虽然比较懂计算机,但是从使用上来说,这是一个办公者,写写文档,上上网,偶尔借助一下命令行完成一些事情(完全是因为有些任务图形界面程序功能不够完善)。lp一直在抱怨没有安装一个Windows就是不让她用的..
>
> 2010/10/1 wwq0327 :
>> 我办公室里的电脑就是这样的,256的内存,还和显存共享。
>>
>> 安装上Ubuntu后基本是没法用。
> --
> ubuntu-zh mailing list
> ubuntu-zh@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
>



-- 
Ray Wang
  - Follow your dreams
-- 
ubuntu-zh mailing list
ubuntu-zh@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh


Re: [Ubuntu-zh] 在 Ubuntu 下构建 Debian 打包环境

2010-10-02 文章 Zhengpeng Hou
2010/10/2 LI Daobing 

> 这个环境比 schroot 干净, 所以不必再加一层 pbuilder 了。
>
schroot的好处是可以配合 Xephyr一同使用, cowbuilder其实速度并不会比pbuilder+tmpfs快很多

>
> 2010/10/2 Zhengpeng Hou :
> > 我从来都是用schroot + pbuilder + Xephyr
> > 的,一般我机器上总会有好几个chroot和pbuilder,程序的测试直接用Xephyr跑.
> >
> > 2010/10/2 LI Daobing 
> >
> >> From: http://www.cnblogs.com/lidaobing/archive/2010/10/02/1841349.html
> >> 0. 原因
> >> 尽管你是在 Ubuntu 下工作,但由于种种原因,你还是需要给 Debian
> >> 做打包工作,如果你不想你做的包因为一些简单的错误被退回,比如无法在 Debian 下编译,没有处理好 lintian 警告,那么最好在
> >> Ubuntu 下给 Debian 打包的环境,步骤如下所示:
> >>
> >> 1. 安装 approx
> >> 打包时经常需要反复下载一些包, 如果你的网速不够快,建议安装 approx 透明代理, 可以缓存大部分包。安装方法: "sudo
> >> apt-get install approx", 然后修改配置文件 /etc/approx/approx.conf 为
> >> ubuntu http://cn.archive.ubuntu.com/ubuntu
> >> debian http://mirrors.163.com/debian
> >>
> >> 2. 修改 /etc/apt/sources.list, 修改为如下的内容
> >> deb http://127.0.0.1:/ubuntu lucid main restricted universe
> multiverse
> >> deb http://127.0.0.1:/ubuntu lucid-security main restricted
> >> universe multiverse
> >> deb http://127.0.0.1:/ubuntu lucid-updates main restricted
> >> universe multiverse
> >>
> >> 3. 安装工具包, 运行 "sudo apt-get install ubuntu-dev-tools cowbuilder"
> >>
> >> 4. 准备 cowbuilder-sid
> >> $ sudo cp /usr/bin/pbuilder-dist /usr/bin/cowbuilder-sid
> >> $ sudo sed -ie 's,
> >> ftp://ftp.debian.org/debian,http://127.0.0.1:/debian,'
> >> /usr/bin/cowbuilder-sid
> >>
> >> 5. 准备开发环境
> >> $ sudo mkdir /var/cache/pbuilder-dist/sid_result
> >> $ cowbuilder-sid create
> >>
> >> 6. 开始开发
> >> $ dget http://ftp.debian.org/debian/pool/main/h/hello/hello_2.6-1.dsc
> >> $ dpkg-source -x hello_2.6-1.dsc
> >> $ cd hello-2.6
> >> $ # 修改 debian 包,版本改为 2.6-2
> >> $ debuild -S -sa
> >> $ cd ..
> >> $ cowbuilder-sid hello_2.6-2.dsc # 使用 sid 环境进行编译
> >>
> >> 7. 检查
> >> 7.1 安装最新版的 lintian
> >> Ubuntu 自带的 lintian 版本不够新,需要从 Debian 安装最新版本
> >> $ # 到 http://ftp.us.debian.org/debian/pool/main/l/lintian/ 下载最新版本的
> lintian
> >> $ wget
> >>
> http://ftp.us.debian.org/debian/pool/main/l/lintian/lintian_2.4.3_all.deb
> >> $ sudo dpkg -i lintian_2.4.3_all.deb
> >> $ sudo apt-get -f install
> >>
> >> 7.2 对包做最后的检查
> >> $ cd /var/cache/pbuilder-dist/sid_result
> >> $ lintian -i hello_2.6-2_amd64.changes
> >> $ #如果上一步出现错误,则继续修正
> >> $ debsign hello_2.6-2_amd64.changes #签名
> >>
> >> 8. 上传
> >> 根据 http://mentors.debian.net/cgi-bin/maintainer-intro 的介绍准备好
> >> mentors.debian.net 的上传的环境, 然后用如下的命令上传
> >> $ dput mentors hello_2.6-2_amd64.changes
> >>
> >> 9. 召唤 Debian Developer (DD)
> >> 到 mentors.debian.net, 登录后可以找到一份模板邮件, 把模板邮件中的内容填好,然后发到
> >> debian-ment...@lists.debian.org
> >> 如果你有相熟的 DD, 也可以直接发信给他让他帮忙检查。
> >>
> >> --
> >> Best Regards
> >> LI Daobing
> >> --
> >> ubuntu-zh mailing list
> >> ubuntu-zh@lists.ubuntu.com
> >> https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
> >>
> > -- 下一部分 --
> > 一个HTML附件被移除...
> > URL:
> https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20101002/a0339a86/attachment.htm
> > --
> > ubuntu-zh mailing list
> > ubuntu-zh@lists.ubuntu.com
> > https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
> >
>
>
>
> --
> Best Regards
> LI Daobing
>
-- 下一部分 --
一个HTML附件被移除...
URL: 
https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20101002/5af43a85/attachment.htm
 
-- 
ubuntu-zh mailing list
ubuntu-zh@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh


Re: [Ubuntu-zh] 关于fluxbox

2010-10-02 文章 Rhys
是一个系统监视器呀,不爱……

2010/10/2 Thomas Iverson :
> conky
-- 
ubuntu-zh mailing list
ubuntu-zh@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh


Re: [Ubuntu-zh] 关于fluxbox

2010-10-02 文章 Rhys
谢谢,pidgin有些特性是empathy缺少的。例如IRC支持就不如pidgin.
顺便说一下,我关闭了一个插件,好像不退出了。libnotify(大概是这个名字吧)。

有类似于windows xp左下角的开始菜单的东西吗?这样,我老婆可能还会比我原来用的netbook
edition的界面更顺手一些。反正她就是上上网,看看图。只给他放几个程序菜单进去就好。


2010/10/2 Thomas Iverson :
> conky
> 另外,pidgin好像现在用的很少了,我一直在用empathy
-- 
ubuntu-zh mailing list
ubuntu-zh@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh


Re: [Ubuntu-zh] 在 Ubuntu 下构建 Debian 打包环 境

2010-10-02 文章 LI Daobing
这个环境比 schroot 干净, 所以不必再加一层 pbuilder 了。

2010/10/2 Zhengpeng Hou :
> 我从来都是用schroot + pbuilder + Xephyr
> 的,一般我机器上总会有好几个chroot和pbuilder,程序的测试直接用Xephyr跑.
>
> 2010/10/2 LI Daobing 
>
>> From: http://www.cnblogs.com/lidaobing/archive/2010/10/02/1841349.html
>> 0. 原因
>> 尽管你是在 Ubuntu 下工作,但由于种种原因,你还是需要给 Debian
>> 做打包工作,如果你不想你做的包因为一些简单的错误被退回,比如无法在 Debian 下编译,没有处理好 lintian 警告,那么最好在
>> Ubuntu 下给 Debian 打包的环境,步骤如下所示:
>>
>> 1. 安装 approx
>> 打包时经常需要反复下载一些包, 如果你的网速不够快,建议安装 approx 透明代理, 可以缓存大部分包。安装方法: "sudo
>> apt-get install approx", 然后修改配置文件 /etc/approx/approx.conf 为
>> ubuntu http://cn.archive.ubuntu.com/ubuntu
>> debian http://mirrors.163.com/debian
>>
>> 2. 修改 /etc/apt/sources.list, 修改为如下的内容
>> deb http://127.0.0.1:/ubuntu lucid main restricted universe multiverse
>> deb http://127.0.0.1:/ubuntu lucid-security main restricted
>> universe multiverse
>> deb http://127.0.0.1:/ubuntu lucid-updates main restricted
>> universe multiverse
>>
>> 3. 安装工具包, 运行 "sudo apt-get install ubuntu-dev-tools cowbuilder"
>>
>> 4. 准备 cowbuilder-sid
>> $ sudo cp /usr/bin/pbuilder-dist /usr/bin/cowbuilder-sid
>> $ sudo sed -ie 's,
>> ftp://ftp.debian.org/debian,http://127.0.0.1:/debian,'
>> /usr/bin/cowbuilder-sid
>>
>> 5. 准备开发环境
>> $ sudo mkdir /var/cache/pbuilder-dist/sid_result
>> $ cowbuilder-sid create
>>
>> 6. 开始开发
>> $ dget http://ftp.debian.org/debian/pool/main/h/hello/hello_2.6-1.dsc
>> $ dpkg-source -x hello_2.6-1.dsc
>> $ cd hello-2.6
>> $ # 修改 debian 包,版本改为 2.6-2
>> $ debuild -S -sa
>> $ cd ..
>> $ cowbuilder-sid hello_2.6-2.dsc # 使用 sid 环境进行编译
>>
>> 7. 检查
>> 7.1 安装最新版的 lintian
>> Ubuntu 自带的 lintian 版本不够新,需要从 Debian 安装最新版本
>> $ # 到 http://ftp.us.debian.org/debian/pool/main/l/lintian/ 下载最新版本的 lintian
>> $ wget
>> http://ftp.us.debian.org/debian/pool/main/l/lintian/lintian_2.4.3_all.deb
>> $ sudo dpkg -i lintian_2.4.3_all.deb
>> $ sudo apt-get -f install
>>
>> 7.2 对包做最后的检查
>> $ cd /var/cache/pbuilder-dist/sid_result
>> $ lintian -i hello_2.6-2_amd64.changes
>> $ #如果上一步出现错误,则继续修正
>> $ debsign hello_2.6-2_amd64.changes #签名
>>
>> 8. 上传
>> 根据 http://mentors.debian.net/cgi-bin/maintainer-intro 的介绍准备好
>> mentors.debian.net 的上传的环境, 然后用如下的命令上传
>> $ dput mentors hello_2.6-2_amd64.changes
>>
>> 9. 召唤 Debian Developer (DD)
>> 到 mentors.debian.net, 登录后可以找到一份模板邮件, 把模板邮件中的内容填好,然后发到
>> debian-ment...@lists.debian.org
>> 如果你有相熟的 DD, 也可以直接发信给他让他帮忙检查。
>>
>> --
>> Best Regards
>> LI Daobing
>> --
>> ubuntu-zh mailing list
>> ubuntu-zh@lists.ubuntu.com
>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
>>
> -- 下一部分 --
> 一个HTML附件被移除...
> URL: 
> https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20101002/a0339a86/attachment.htm
> --
> ubuntu-zh mailing list
> ubuntu-zh@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
>



-- 
Best Regards
LI Daobing
-- 
ubuntu-zh mailing list
ubuntu-zh@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh


Re: [Ubuntu-zh] 在 Ubuntu 下构建 Debian 打包环境

2010-10-02 文章 Zhengpeng Hou
我从来都是用schroot + pbuilder + Xephyr
的,一般我机器上总会有好几个chroot和pbuilder,程序的测试直接用Xephyr跑.

2010/10/2 LI Daobing 

> From: http://www.cnblogs.com/lidaobing/archive/2010/10/02/1841349.html
> 0. 原因
> 尽管你是在 Ubuntu 下工作,但由于种种原因,你还是需要给 Debian
> 做打包工作,如果你不想你做的包因为一些简单的错误被退回,比如无法在 Debian 下编译,没有处理好 lintian 警告,那么最好在
> Ubuntu 下给 Debian 打包的环境,步骤如下所示:
>
> 1. 安装 approx
> 打包时经常需要反复下载一些包, 如果你的网速不够快,建议安装 approx 透明代理, 可以缓存大部分包。安装方法: "sudo
> apt-get install approx", 然后修改配置文件 /etc/approx/approx.conf 为
> ubuntu http://cn.archive.ubuntu.com/ubuntu
> debian http://mirrors.163.com/debian
>
> 2. 修改 /etc/apt/sources.list, 修改为如下的内容
> deb http://127.0.0.1:/ubuntu lucid main restricted universe multiverse
> deb http://127.0.0.1:/ubuntu lucid-security main restricted
> universe multiverse
> deb http://127.0.0.1:/ubuntu lucid-updates main restricted
> universe multiverse
>
> 3. 安装工具包, 运行 "sudo apt-get install ubuntu-dev-tools cowbuilder"
>
> 4. 准备 cowbuilder-sid
> $ sudo cp /usr/bin/pbuilder-dist /usr/bin/cowbuilder-sid
> $ sudo sed -ie 's,
> ftp://ftp.debian.org/debian,http://127.0.0.1:/debian,'
> /usr/bin/cowbuilder-sid
>
> 5. 准备开发环境
> $ sudo mkdir /var/cache/pbuilder-dist/sid_result
> $ cowbuilder-sid create
>
> 6. 开始开发
> $ dget http://ftp.debian.org/debian/pool/main/h/hello/hello_2.6-1.dsc
> $ dpkg-source -x hello_2.6-1.dsc
> $ cd hello-2.6
> $ # 修改 debian 包,版本改为 2.6-2
> $ debuild -S -sa
> $ cd ..
> $ cowbuilder-sid hello_2.6-2.dsc # 使用 sid 环境进行编译
>
> 7. 检查
> 7.1 安装最新版的 lintian
> Ubuntu 自带的 lintian 版本不够新,需要从 Debian 安装最新版本
> $ # 到 http://ftp.us.debian.org/debian/pool/main/l/lintian/ 下载最新版本的 lintian
> $ wget
> http://ftp.us.debian.org/debian/pool/main/l/lintian/lintian_2.4.3_all.deb
> $ sudo dpkg -i lintian_2.4.3_all.deb
> $ sudo apt-get -f install
>
> 7.2 对包做最后的检查
> $ cd /var/cache/pbuilder-dist/sid_result
> $ lintian -i hello_2.6-2_amd64.changes
> $ #如果上一步出现错误,则继续修正
> $ debsign hello_2.6-2_amd64.changes #签名
>
> 8. 上传
> 根据 http://mentors.debian.net/cgi-bin/maintainer-intro 的介绍准备好
> mentors.debian.net 的上传的环境, 然后用如下的命令上传
> $ dput mentors hello_2.6-2_amd64.changes
>
> 9. 召唤 Debian Developer (DD)
> 到 mentors.debian.net, 登录后可以找到一份模板邮件, 把模板邮件中的内容填好,然后发到
> debian-ment...@lists.debian.org
> 如果你有相熟的 DD, 也可以直接发信给他让他帮忙检查。
>
> --
> Best Regards
> LI Daobing
> --
> ubuntu-zh mailing list
> ubuntu-zh@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
>
-- 下一部分 --
一个HTML附件被移除...
URL: 
https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20101002/a0339a86/attachment.htm
 
-- 
ubuntu-zh mailing list
ubuntu-zh@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh


Re: [Ubuntu-zh] 关于fluxbox

2010-10-02 文章 Thomas Iverson
2010/10/2 Rhys 

> 我看前前面谁的介绍,安装了fluxbox,用得还是比较惬意。只是pidgin会segment
> fault后退出。在gnome中pidgin就不会。配合上快捷键的设定,运行常用程序就没有什么了。
>
> 关于这个东西(fluxbox),还有什么好用的小工具能给我介绍一下吗?安装了一个docker,不会用~~桌面上空空的……好像有点不习惯
>

conky
另外,pidgin好像现在用的很少了,我一直在用empathy

-- 
ghosTM55
Shanghai Linux User Group

Keep It Simple Stupid
http://www.ghosTunix.org
http://twitter.com/ghosTM55
-- 下一部分 --
一个HTML附件被移除...
URL: 
https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20101002/d673ea79/attachment.htm
 
-- 
ubuntu-zh mailing list
ubuntu-zh@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh


[Ubuntu-zh] 在 Ubuntu 下构建 Debian 打包环 境

2010-10-02 文章 LI Daobing
From: http://www.cnblogs.com/lidaobing/archive/2010/10/02/1841349.html
0. 原因
尽管你是在 Ubuntu 下工作,但由于种种原因,你还是需要给 Debian
做打包工作,如果你不想你做的包因为一些简单的错误被退回,比如无法在 Debian 下编译,没有处理好 lintian 警告,那么最好在
Ubuntu 下给 Debian 打包的环境,步骤如下所示:

1. 安装 approx
打包时经常需要反复下载一些包, 如果你的网速不够快,建议安装 approx 透明代理, 可以缓存大部分包。安装方法: "sudo
apt-get install approx", 然后修改配置文件 /etc/approx/approx.conf 为
ubuntu http://cn.archive.ubuntu.com/ubuntu
debian http://mirrors.163.com/debian

2. 修改 /etc/apt/sources.list, 修改为如下的内容
deb http://127.0.0.1:/ubuntu lucid main restricted universe multiverse
deb http://127.0.0.1:/ubuntu lucid-security main restricted
universe multiverse
deb http://127.0.0.1:/ubuntu lucid-updates main restricted
universe multiverse

3. 安装工具包, 运行 "sudo apt-get install ubuntu-dev-tools cowbuilder"

4. 准备 cowbuilder-sid
$ sudo cp /usr/bin/pbuilder-dist /usr/bin/cowbuilder-sid
$ sudo sed -ie 's,ftp://ftp.debian.org/debian,http://127.0.0.1:/debian,'
/usr/bin/cowbuilder-sid

5. 准备开发环境
$ sudo mkdir /var/cache/pbuilder-dist/sid_result
$ cowbuilder-sid create

6. 开始开发
$ dget http://ftp.debian.org/debian/pool/main/h/hello/hello_2.6-1.dsc
$ dpkg-source -x hello_2.6-1.dsc
$ cd hello-2.6
$ # 修改 debian 包,版本改为 2.6-2
$ debuild -S -sa
$ cd ..
$ cowbuilder-sid hello_2.6-2.dsc # 使用 sid 环境进行编译

7. 检查
7.1 安装最新版的 lintian
Ubuntu 自带的 lintian 版本不够新,需要从 Debian 安装最新版本
$ # 到 http://ftp.us.debian.org/debian/pool/main/l/lintian/ 下载最新版本的 lintian
$ wget http://ftp.us.debian.org/debian/pool/main/l/lintian/lintian_2.4.3_all.deb
$ sudo dpkg -i lintian_2.4.3_all.deb
$ sudo apt-get -f install

7.2 对包做最后的检查
$ cd /var/cache/pbuilder-dist/sid_result
$ lintian -i hello_2.6-2_amd64.changes
$ #如果上一步出现错误,则继续修正
$ debsign hello_2.6-2_amd64.changes #签名

8. 上传
根据 http://mentors.debian.net/cgi-bin/maintainer-intro 的介绍准备好
mentors.debian.net 的上传的环境, 然后用如下的命令上传
$ dput mentors hello_2.6-2_amd64.changes

9. 召唤 Debian Developer (DD)
到 mentors.debian.net, 登录后可以找到一份模板邮件, 把模板邮件中的内容填好,然后发到
debian-ment...@lists.debian.org
如果你有相熟的 DD, 也可以直接发信给他让他帮忙检查。

-- 
Best Regards
LI Daobing
-- 
ubuntu-zh mailing list
ubuntu-zh@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh


[Ubuntu-zh] 关于fluxbox

2010-10-02 文章 Rhys
我看前前面谁的介绍,安装了fluxbox,用得还是比较惬意。只是pidgin会segment
fault后退出。在gnome中pidgin就不会。配合上快捷键的设定,运行常用程序就没有什么了。

关于这个东西(fluxbox),还有什么好用的小工具能给我介绍一下吗?安装了一个docker,不会用~~桌面上空空的……好像有点不习惯
-- 
ubuntu-zh mailing list
ubuntu-zh@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh


Re: [Ubuntu-zh] 笔记本创建无线网络热 点的问题

2010-10-02 文章 jack . feng . 冯国瑞
这事是想复杂了,就是WINdows的管理员,共享网络这种操作也就是应急,还不说win 个人版的10个连接限制


2010/9/30 Snowtown Cheung 

> 本来在windows7下可以轻松搞定的,我们通常是主机用有线宽带上网,然后开一个无线网络热点共享给同学连。
>
> 另外无线网络的话,是只能连接一个的,也就是你用无线上网的话,无法再同时共享给别人了。
>
> 你说的两个接口那个我不懂啊
>
>
>
>
> 2010/9/30 Rhys 
>
> > 2010/9/28 Snowtown Cheung :
> > > 打算在10.04.1下创建个无线网络共享给别人用。
> > > 但是用network-manager创建无线网络后,同学运行win7的电脑显示着连接了,但却不能上网。
> > >
> > > 请问这是怎么回事?
> > >
> > >
> >
> > 不能上网是正常的吧,这只是建立一个对等网。我刚试过,有别的问题,本机连接上自己创建的对等网后,无法切换回原来能上网的无线网了。你有这样的情况吗?
> >
> >
> >
> 另外,如果你需要共享上网,至少需要两个接口吧(哪怕是虚拟的),一个接口用上上外网,一个接口用来创建对等网,然后中间做一下子什么proxy或者router啦,细节我不清楚。
> > --
> > ubuntu-zh mailing list
> > ubuntu-zh@lists.ubuntu.com
> > https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
> >
>
>
>
> --
> snowtown86
> -- 下一部分 --
> 一个HTML附件被移除...
> URL:
> https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20100930/b9f0f24b/attachment.htm
> --
> ubuntu-zh mailing list
> ubuntu-zh@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
>
-- 下一部分 --
一个HTML附件被移除...
URL: 
https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20101002/4dc933a4/attachment.htm
 
-- 
ubuntu-zh mailing list
ubuntu-zh@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh


[Ubuntu-zh] 【Ubuntu10.10,Kernel2.6.35- 22,HD2600】fglrx中的fglrxdrm模块无 法加载,但libfglrxdrm.so是存在的

2010-10-02 文章 tvdbukrf inuyasha
依旧是杯具的ATI驱动问题,虽然早就宣布解决了内核2.6.35的兼容性问题,fglrx安装过程也没啥明显错误。但始终没法启动X,log显示fglrxdrm
module 不存在。但网上查寻发现就是libfglrxdrm,实际是存在的。
只能用慢到吐血的xserver-xorg-video-ati~本来期待RC之后能改善~但fglrx-installer包已经一个多星期没更新了。
趁着10.1长假实在想把这问题解决了。望各位赐教!下面有我能考虑到的所有有用信息,比较长。
-
首先fglrx安装有两处警告。具体如下
正在设置 fglrx (2:8.780-0ubuntu2) ...
update-alternatives: 使用 /usr/lib/fglrx/ld.so.conf 来提供
/etc/ld.so.conf.d/GL.conf (gl_conf),于 自动模式 中。
update-alternatives: 警告: 跳过创建 /usr/lib32/libaticalcl.so 因为所关联文件
/usr/lib32/fglrx/libaticalcl.so (位于链接组 gl_conf)不存在。
update-alternatives: 警告: 跳过创建 /usr/lib32/libaticalrt.so 因为所关联文件
/usr/lib32/fglrx/libaticalrt.so (位于链接组 gl_conf)不存在。
update-initramfs: deferring update (trigger activated)
Loading new fglrx-8.780 DKMS files...
Building only for 2.6.35-22-generic
Building for architecture i686
Building initial module for 2.6.35-22-generic
Done.

fglrx.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/2.6.35-22-generic/updates/dkms/

depmod.

DKMS: install Completed.
update-initramfs: deferring update (trigger activated)

但/usr/lib32本来就根本啥都没有,整个系统只有/var/lib/dpkg/alternatives/gl-conf里有/usr/lib32/XXX的~不懂这个,是不是依赖写错了~~
倒是/usr/lib下有这两个文件。遂移植过来了事,但问题依旧。


xorg.log中可以看出fglrxdrm
module显示为不存在,但实际上它就在/usr/lib/fglrx/xorg/modules/linux/libfglrxdrm.so
根据网上查的确实也应该在这~
xorg.log出错部分:
[28.401] (II) Module vgahw: vendor="X.Org Foundation"
[28.401]compiled for 1.9.0, module version = 0.1.0
[28.401]ABI class: X.Org Video Driver, version 8.0
[28.401] (**) fglrx(0): Depth 24, (--) framebuffer bpp 32
[28.401] (II) fglrx(0): Pixel depth = 24 bits stored in 4 bytes
(32 bpp pixmaps)
[28.401] (==) fglrx(0): Default visual is TrueColor
[28.401] (**) fglrx(0): Option "DPMS" "true"
[28.401] (==) fglrx(0): RGB weight 888
[28.401] (II) fglrx(0): Using 8 bits per RGB
[28.401] (==) fglrx(0): Buffer Tiling is ON
[28.401] (II) Loading sub module "fglrxdrm"
[28.401] (II) LoadModule: "fglrxdrm"
[28.402] (WW) Warning, couldn't open module fglrxdrm
[28.402] (II) UnloadModule: "fglrxdrm"
[28.402] (EE) fglrx: Failed to load module "fglrxdrm" (module does
not exist, 0)
[28.402] (EE) fglrx(0): Failed to load DRM library
[28.402] (EE) fglrx(0): PreInit failed
[28.402] (II) fglrx(0): === [xdl_x760_atiddxPreInit] === end
[28.403] SetVBEMode failed
[28.403] (II) UnloadModule: "fglrx"
[28.403] (II) UnloadModule: "vgahw"
[28.403] (II) Unloading /usr/lib/xorg/modules/libvgahw.so
[28.403] (EE) Screen(s) found, but none have a usable configuration.
[28.403]
Fatal server error:
[28.403] no screens found
-

安装完之后若使用了fglrx的xorg.conf会直接在启动时failed然后进入命令行界面。
另外glxinfo,glxgears等均会出现core dumped~

求教有何经验?
至少系统是从何得知module路径的?看看是不是写错了~
-- 
ubuntu-zh mailing list
ubuntu-zh@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh


Re: [Ubuntu-zh] Fwd: [SLL:10435] 老式台式 机器安装哪个ubuntu版本比较好

2010-10-02 文章 tvdbukrf inuyasha
以轻量为目的的linux发行版不少,但ubuntu绝对不是选择~也许老一点的好些,现在的ubuntu对硬件要求还是不低的~

其实我觉得puppy linux挺够用的~

2010/10/1 wwq0327 :
> 于 2010/9/30 8:12, sarahorse 写道:
>>    我觉得吧,事情往往就是这么变复杂的.人家也许只是想在一台老电脑上装个系统
>> 去使用,现在我们的建议其实已经给他的目标带来了障碍.
>>
>> 就好比他想划船过河.我们现在却是在告诉她用什么船好,甚至干脆让他自己造船好
>> 了(比如lfs).结果反而让他感到无所适从,最后可能让他放弃渡 河.
>>
>> 什么系统,能让他使用就可以了.如果他喜欢,他会去细细琢磨的.
>>
>> 如来常说:‘/汝等比 丘/,/知 我说法/,/如筏喻者/,/法尚应舍/,/何况非法/!'
>>
> 谢谢大家热忱的帮助,无论如何,都表示感谢。
>
> 有时候我感觉,在一台老式一点的机子上,XP比Ubuntu速度都会快一点,这种情况
> 我办公室里的电脑就是这样的,256的内存,还和显存共享。
>
> 安装上Ubuntu后基本是没法用。我们学校里的学生机好像还要好点,但能不能用上
> Ubuntu,我还真的是没有信心。另外,以前我提到过台湾的兄弟搞过个无盘之类的
> 软件,但那个我没实验成功!好像叫做是BRDL软件的。
>
>
>> 于 2010年09月30日 04:15, Andy Ho 写道:
>>
>>> 建议手工搭建无盘archlinux+flux
>>> ——
>>> Douban<'http://www.douban.com/people/Sixand/'>
>>> Twitter<'http://sixand.twitter.com'>
>>> Profile<'http://www.google.com/profiles/Sixand'>
>>>
>>>
>>>
>>> 在 2010年9月30日 上午12:08,Ray Wang写道:
>>>
>>>
 你好,可以看看 Fluxbuntu Linux,
 fluxbuntu.org/

 如果有什么问题,欢迎来此讨论。
 很高兴能看到教师开始关注自由软件,这是个好的现象和开始 :)

 2010/9/29 Thomas Iverson:

> 2010/9/29 sarahorse
>
>
>> 可以安装ubuntu的,我的一个IBM560x,才233Mhzcpu,64M内存,8M显存,没问题,你
>> 只装字符界面,然后利用网络装 fvwm
>>
>>
> 如果只是安装字符界面,那不如debian businesscard安装
> 然后装个openbox之类的wm好了
>
> --
> ghosTM55
> Shanghai Linux User Group
>
> Keep It Simple Stupid
> http://www.ghosTunix.org
> http://twitter.com/ghosTM55
> -- 下一部分 --
> 一个HTML附件被移除...
> URL:
>
 https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20100929/38c48351/attachment.htm

> --
> ubuntu-zh mailing list
> ubuntu-zh@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
>
>

 --
 Ray Wang
    - Follow your dreams
 --
 ubuntu-zh mailing list
 ubuntu-zh@lists.ubuntu.com
 https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh


>>> -- 下一部分 --
>>> 一个HTML附件被移除...
>>> URL: 
>>> https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20100930/92669116/attachment.htm
>>>
>> -- 下一部分 --
>> 一个HTML附件被移除...
>> URL: 
>> https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20100930/d5ee2295/attachment.htm
>>
>
>
> --
> 微博:http://t.sina.com.cn/wyatt
> Blog: http://wyattwanglife.appspot.com
>
>
> --
> ubuntu-zh mailing list
> ubuntu-zh@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
>
-- 
ubuntu-zh mailing list
ubuntu-zh@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh