9/7/2023 0 Comments $ sudo apt update![]() More drastic remove the package if it is possible. You will get a prompt to confirm the download and installation. There was an old bug because the package squid-deb-proxy-client does not clean up all its changes, solved so:Īcquire::http::ProxyAutoDetect "/usr/share/squid-deb-proxy-client/apt-avahi-discover" sudo apt update The update command is almost always followed by the upgrade command which downloads the updates: sudo apt upgrade Once you pass the upgrade command, APT will begin downloading the software. You can find additional hints in related answer as this one. PS> If you have succeed, remember to delete the backup copy that you don't need anymore, but not the sources.list.000 it can always be useful! Storage area for state information for each package resource specified in sources.list(5) Configuration Item: Dir::State::Lists. Configuration Item: Dir::State::Lists (partial will be implicitly appended) Storage area for state information in transit. Configuration Item: Dir::Cache::Archives (partial will be implicitly appended) ![]() Ketika Anda menginstal paket dari command-line, itu tidak, dan Anda harus selalu melakukannya sendiri kecuali Anda telah melakukannya baru-baru ini. Storage area for package files in transit. Ketika Anda menginstal paket dengan antarmuka GUI (Manajer Pembaruan, Pusat Perangkat Lunak, atau Manajer Paket Synaptic), pekerjaan sudo apt-get update dilakukan secara otomatis. ![]() Configuration Item: Dir::Etc::PreferencesParts. Configuration Item: Dir::Etc::SourceParts.įile fragments for the version preferences. It's possible you need to clean by hand some of the following directories (you can always backup them and only after delete the files inside) :įile fragments for locations to fetch packages from. backup your /var/lib/apt/lists directory with sudo cp -r -p -i /var/lib/apt/lists $/temp_apt_lists and after sudo rm -R /var/lib/apt/lists/*.try again sudo apt-get update and if it fails.eventually you can check if you have a source lists file with https rather than http, but apt-transport-https is not installed (see the comment).sudo cp -i /etc/apt/sources.list /etc/apt/sources.list.000) you can paste that instead of your present list. You can create a minimal set of repositories from Ubuntu Sources List Generator site and after that you backup the If they are too many your system can hang in the attempt to build all the dependencies tree. Shrink to a normal (not huge) number of repositories the list of /etc/apt/sources.list. It updates the package cache and checks for broken dependencies. ![]() If not you can decide to empty it sudo rm /var/lib/apt/lists/partial/* eventually you may need sudo rm -f /var/lib/apt/lists/partial/* Look inside /var/lib/apt/lists/partial/ it should be empty. It removes everything but the lock file from /var/cache/apt/archives/ Sudo apt-get clean ( Update) on recent versions it will clear out the local repository of retrieved package files. In the order (each step is more deep, so stop as you find a solution): You can try to check the cache and to clean the cache directory. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |