我意外地waha-system-adjustments all.deb
从 Sourceforge 安装了它,这改变了我的 Synaptic 源。我无法摆脱它,也无法更新或升级,我该怎么办?
dom@dom:~$ cat /proc/version
Linux version 3.8.0-35-generic (buildd@allspice) (gcc version 4.7.3 (Ubuntu/Linaro 4.7.3-1ubuntu1) ) #50-Ubuntu SMP Tue Dec 3 01:25:33 UTC 2013
dom@dom:~$ cat /etc/lsb-release
DISTRIB_ID=WahaLinux
DISTRIB_RELEASE=7.2
DISTRIB_CODENAME=sarab
DISTRIB_DESCRIPTION="Waha Linux 7.2 Sarab"
dom@dom:~$ sudo apt-get update
[sudo] password for dom:
Get:1 http://sf.net sarab Release.gpg [490 B]
Hit http://sf.net sarab Release
答案1
我检查了软件包,但没有安装,它得到了所有的红标记。它毫无顾忌地替换了几乎所有 Debian 发行版最重要的文件。以下是主要问题:
cat debian/postinst
#!/bin/sh
set -e
if [ -d /usr/share/waha/adjustments/ ]; then
cp -R /usr/share/waha/adjustments/* /
fi
exit 0
它表示所有文件都/usr/share/waha/adjustments/
未经事先检查就被复制到文件系统的根目录,并且无法安全地删除它们。最好的选择就是备份所有内容并重新安装系统。
被替换的文件列表无需事先确认:
/lib/live/config.sh
/usr/lib/pymodules/python2.7/UpdateManager/DistSpecific/WahaLinux
/usr/lib/pymodules/python2.7/UpdateManager/DistSpecific/WahaLinux/__init__.py
/usr/lib/pymodules/python2.7/UpdateManager/DistSpecific/WahaLinux/changelog.py
/usr/share/locale/ar/LC_MESSAGES/add-ar-keyboard.mo
/usr/share/locale/ar/LC_MESSAGES/check-live-installer.mo
/usr/share/software-center/softwarecenter/distro/WahaLinux.py
/usr/share/waha/check-live-installer
/usr/share/waha/add-ar-keyboard
/usr/share/icons/debian-installer-launcher.png
/usr/share/icons/gnome ## several logos and svg files
/usr/share/images/desktop-base
/usr/share/images/desktop-base/joy-wallpaper_1920x1200.svg
/usr/share/images/desktop-base/joy-wallpaper_1280x1024.svg
/usr/share/images/desktop-base/joy-inksplat-wallpaper_1920x1080.svg
/usr/share/images/desktop-base/joy-wallpaper_1600x1200.svg
/usr/share/images/desktop-base/login-background.svg
/usr/share/images/desktop-base/joy-grub.png
/usr/share/images/desktop-base/joy-wallpaper_1920x1080.svg
/usr/share/applications/libreoffice-impress.desktop
/usr/share/applications/libreoffice-xsltfilter.desktop
/usr/share/applications/uninstaller.desktop
/usr/share/applications/libreoffice-calc.desktop
/usr/share/applications/debian-installer-launcher.desktop
/usr/share/applications/gnome-terminal.desktop
/usr/share/applications/libreoffice-startcenter.desktop
/usr/share/applications/libreoffice-math.desktop
/usr/share/applications/libreoffice-base.desktop
/usr/share/applications/mimeapps.list
/usr/share/applications/wine-winetricks.desktop
/usr/share/applications/mimeinfo.cache
/usr/share/applications/wine.desktop
/usr/share/applications/libreoffice-writer.desktop
/usr/share/applications/libreoffice-draw.desktop
/usr/share/applications/wine-browsedrive.desktop
/usr/share/applications/supertux.desktop
/usr/share/applications/winecfg.desktop
/usr/share/applications/show-desktop.desktop
/usr/share/pyshared/UpdateManager/DistSpecific/WahaLinux
/usr/share/pyshared/UpdateManager/DistSpecific/WahaLinux/__init__.py
/usr/share/pyshared/UpdateManager/DistSpecific/WahaLinux/changelog.py
/usr/share/gnome-shell/extensions/[email protected]/schemas/org.gnome.shell.extensions.dash-to-dock.gschema.xml
/usr/share/gnome-shell/extensions/[email protected]/schemas/gschemas.compiled
/usr/share/gnome-shell/extensions/[email protected]/prefs.js
/usr/share/gnome-shell/extensions/[email protected]/extension.js
/usr/share/gnome-shell/extensions/[email protected]/myDash.js
/usr/share/gnome-shell/extensions/[email protected]/convenience.js
/usr/share/gnome-shell/extensions/[email protected]/stylesheet.css
/usr/share/gnome-shell/extensions/[email protected]/intellihide.js
/usr/share/gnome-shell/extensions/[email protected]/dockedDash.js
/usr/share/gnome-shell/extensions/[email protected]/metadata.json
/usr/share/python-apt
/usr/share/python-apt/templates
/usr/share/python-apt/templates/WahaLinux.info
/usr/share/python-apt/templates/WahaLinux.mirrors
/etc/skel/ #most of the skel files
/etc/apt/sources.list ## Important
/etc/apt/sources.list~
/etc/apt/sources.list.d
/etc/apt/sources.list.d/wheezy-backports.list
/etc/apt/sources.list.d/sarab.list
/etc/apt/sources.list.d/iceweasel-release.list
/etc/apt/preferences.d
/etc/apt/preferences.d/wheezy-backports
/etc/samba
/etc/samba/smb.conf
/etc/gdm3
/etc/gdm3/greeter.gsettings
/etc/alternatives
/etc/alternatives/start-here-48.png
/etc/alternatives/start-here.svg
/etc/alternatives/start-here-22.png
/etc/alternatives/start-here-256.png
/etc/alternatives/start-here-24.png
/etc/alternatives/start-here-32.png
/etc/alternatives/start-here-16.png
/etc/network
/etc/network/interfaces
/etc/modprobe.d
/etc/modprobe.d/alsa-base.conf
/etc/adduser.conf
/etc/lsb-release
/etc/NetworkManager
/etc/NetworkManager/NetworkManager.conf
/etc/issue
/etc/xdg
/etc/xdg/autostart
/etc/xdg/autostart/tracker-miner-fs.desktop
/etc/xdg/autostart/tracker-store.desktop
/etc/issue.net