每当我尝试更新 12.04 时,我都会收到“包操作失败“消息。我无法更新我的系统。在“细节“部分内容如下:
installArchives() failed:
Extracting templates from packages: 30%% Extracting templates from packages: 61%%
Extracting templates from packages: 91%% Extracting templates from packages: 100%%
Preconfiguring packages ...
Extracting templates from packages: 30%%
Extracting templates from packages: 61%%
Extracting templates from packages: 91%%
Extracting templates from packages: 100%%
Preconfiguring packages ...
Extracting templates from packages: 30%%
Extracting templates from packages: 61%%
Extracting templates from packages: 91%%
Extracting templates from packages: 100%%
Preconfiguring packages ...
Extracting templates from packages: 30%%
Extracting templates from packages: 61%%
Extracting templates from packages: 91%%
Extracting templates from packages: 100%%
Preconfiguring packages ...
dpkg: error: parsing file '/var/lib/dpkg/available' near line 42150 package 'x11-apps': blank line in value of field 'Description' Error in function:
答案1
sudo rm -r /var/lib/dpkg/info/pppconfig*
sudo dpkg --remove --force-remove-reinstreq pppconfig
sudo apt-get clean
sudo apt-get update
sudo apt-get install pppconfig