打开synaptic以后,ubuntu-tweak安装软件包异常处理问题

Bug #384046 reported by Dig Ge
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Tweak
Fix Released
High
Ding Zhou

Bug Description

重现步骤
1、打开 synaptic;
2、打开 ubuntu-tweak,进行需要安装软件包的操作,比如 ubuntu-tweak-》系统-》文件管理器-》勾选 “Nautilus的打开终端功能”,并点击应用;
3、点击“关闭”按钮,
期待结果: 出现失败对话框,或者返回主界面,取消 “Nautilus的打开终端功能”的勾选
实际结果: 弹出“更新成功”提示,在主界面上勾选了 “Nautilus的打开终端功能”

Revision history for this message
Ding Zhou (tualatrix) wrote :

这个问题很早就存在了,apt的返回存在问题,待我参考其他工程的源码再修复之

Changed in ubuntu-tweak:
assignee: nobody → TualatriX (tualatrix)
importance: Undecided → High
milestone: none → 0.4.7.2
status: New → Confirmed
Revision history for this message
Dig Ge (dig-ge-cn) wrote :

昨天弄了半夜,研究用python读文件的加锁状态,修改完代码后,发现报告没有权限,又用ls -l看了下lock文件(/root/.synaptic/lock, /var/lib/dpkg/lock)的owner和group都是root,权限是640,普通用户连读的权限都没有,工夫白费了

Revision history for this message
Ding Zhou (tualatrix) wrote :

我已经修正这个问题了,只有检测软件包状态来判断这个。
你可以在这里取得测试的软件包:https://launchpad.net/~ubuntu-tweak-testing/+archive/ppa

Changed in ubuntu-tweak:
status: Confirmed → Fix Committed
Ding Zhou (tualatrix)
Changed in ubuntu-tweak:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.