我目前正在使用 Linux Mint 17,并且遇到了 VLC 的错误,其症状是大量僵尸进程sh
,逐渐减慢我的 PC 速度(使调度程序膨胀?)
为此我决定升级VLC,希望新版本能够消除这个bug。就在那时,我了解到我的 VLC 版本 2.0.8 几乎就是 Mint 17 (2.1.4) 的默认版本。这很奇怪,因为我不记得摆弄过包管理器。
更糟糕的是,当我继续尝试升级时,apt 不会看到任何新版本。尝试 videolan 更不稳定的 PPA 并重新安装软件包后,出现相同的行为。
我能做些什么 ?
以下是我的内容/etc/apt/sources.list.d
:
tail -n +1 /etc/apt/sources.list.d/*
==> /etc/apt/sources.list.d/djcj-vlc-stable-saucy.list <==
deb http://ppa.launchpad.net/djcj/vlc-stable/ubuntu saucy main
deb-src http://ppa.launchpad.net/djcj/vlc-stable/ubuntu saucy main
==> /etc/apt/sources.list.d/getdeb.list <==
# deb http://archive.getdeb.net/ubuntu/ saucy-getdeb apps
==> /etc/apt/sources.list.d/mc3man-trusty-media-saucy.list <==
==> /etc/apt/sources.list.d/n-muench-vlc-saucy.list <==
==> /etc/apt/sources.list.d/official-package-repositories.list <==
# Do not edit this file manually, use Software Sources instead.
#id:linuxmint_main
deb http://packages.linuxmint.com/ petra main upstream import
#id:linuxmint_extra
deb http://extra.linuxmint.com/ petra main
deb http://archive.ubuntu.com/ubuntu/ saucy main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ saucy-updates main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ saucy-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu/ saucy partner
==> /etc/apt/sources.list.d/ubuntu-toolchain-r-test-saucy.list <==
==> /etc/apt/sources.list.d/ubuntu-x-swat-x-updates-saucy.list <==
==> /etc/apt/sources.list.d/videolan-master-daily-saucy.list <==
deb http://ppa.launchpad.net/videolan/master-daily/ubuntu/ saucy main
deb-src http://ppa.launchpad.net/videolan/master-daily/ubuntu/ saucy main
==> /etc/apt/sources.list.d/videolan-stable-daily-saucy.list <==
deb http://ppa.launchpad.net/videolan/stable-daily/ubuntu saucy main
deb-src http://ppa.launchpad.net/videolan/stable-daily/ubuntu saucy main
==> /etc/apt/sources.list.d/xorg-edgers-ppa-saucy.list <==
deb http://ppa.launchpad.net/xorg-edgers/ppa/ubuntu/ saucy main
deb-src http://ppa.launchpad.net/xorg-edgers/ppa/ubuntu/ saucy main
答案1
删除/etc/apt/sources.list.d/
除以下之外的所有条目
getdeb.list
official-package-repositories.list
我的 Linux Mint 17 VM 客户端系统上只有这两个(virtualbox.list
除了我的主机上的)。例如,您可以将这些文件移走,而不是立即删除它们:
sudo mkdir /root/tmp_sources
sudo mv /etc/apt/sources.list.d/*saucy* /root/tmp_sources
ls /etc/apt/sources.list.d/
之后做:
apt-get update
apt-get purge vlc
apt-get install vlc