尝试在 Ubuntu 12.04 64 位中执行更新时出现以下错误:
installArchives() failed: Preconfiguring packages ...
Preconfiguring packages ...
Preconfiguring packages ...
Preconfiguring packages ...
dpkg: error: parsing file '/var/lib/dpkg/available' near line 40128 package 'foomatic-db-compressed-ppds':
`Suggests' field, invalid package name `printer5driver-?2300w': character `?' not allowed (only letters, digits and characters `-+._')
关于如何解决这个问题有什么想法吗?
答案1
您的文件似乎/var/lib/dpkg/available
已损坏。因此请删除或移动当前文件并从备份中创建新文件。
sudo mv /var/lib/dpkg/available ~/Desktop
sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available