2
我跑Linux Mint的下列命令12麗莎:無法安裝混帳
1). sudo rm -rf /var/lib/apt/lists/* -vf
2). sudo apt-get update
3). sudo apt-get install git
我正在運行3.也就是說,安裝的git以下錯誤:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package git
我的/ etc/apt/sources.list文件包含以下內容:
deb http://packages.linuxmint.com/ lisa main upstream import
deb http://archive.ubuntu.com/ubuntu/ oneiric main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ oneiric-updates main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ oneiric-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu/ oneiric partner
deb http://packages.medibuntu.org/ oneiric free non-free
# deb http://archive.getdeb.net/ubuntu oneiric-getdeb apps
# deb http://archive.getdeb.net/ubuntu oneiric-getdeb games
sudo apt-get upgrade顯示以下內容:
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
@vidit是什麼sudo易於得到升級做安裝git的? –
忽視評論,這是無用的。 – vidit
我認爲它是'git-core',所以一起應該是:'apt-get install git-core' – fedorqui