سلام به همه دوستان
چند وقتی است که در اوبونتو در نوار اعلان خطایی به من نمایش داده میشود و قادر به نصب برنامه جدید نیستم
برنامه Synaptic نیز بعد از دریافت رمز کاربر روت این پیام خطا را نمایش می دهد و برنامه بسته میشود:
E: The package unattended-upgrades needs to be reinstalled, but I can't find an archive for it
E: Internal error opening cache (1). Please report
در سایت ها جستجو کردم و بعد از دستورات زیر این پیام ها را دریافت می کنم:
sudo apt install -f
E: The package unattended-upgrades needs to be reinstalled, but I can't find an archive for it.
sudo apt autoremove
E: The package unattended-upgrades needs to be reinstalled, but I can't find an archive for it.
sudo dpkg -C
The following packages are in a mess due to serious problems during
installation. They must be reinstalled for them (and any packages
that depend on them) to function properly:
unattended-upgrades automatic installation of security upgrades
sudo apt-get clean
W: Problem unlinking the file apt-fast - Clean (21: Is a directory)
sudo dpkg --configure -a
dpkg: error processing package unattended-upgrades (--configure):
package is in a very bad inconsistent state; you should
reinstall it before attempting configuration
Errors were encountered while processing:
unattended-upgrades
sudo apt-get -f install
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
با این دستورات نیز مشکل برطرف نشد:
sudo rm /var/lib/apt/lists/lock
sudo rm /var/cache/apt/archives/lock
از اوبونتو 17.04 استفاده می کنم و سیستم آپدیت است ، لطفا در صورت امکان عزیزانی که این مشکل را حل کرده اند ، راهنمایی بفرمایند.