- distribution version: 10 (buster)
- kernel version: 4.19.57-v7+
Basically, I haven't done anything on this Pi except download a 3.5in touchscreen driver.
Then I created a static IP address
Then (from ssh
) I attempted to run sudo apt-get update
, which resulted in:
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/dists/buster/InRelease rename failed, Structure needs cleaning (/var/lib/apt/lists/partial/raspbian.raspberrypi.org_raspbian_dists_buster_InRelease -> ...etc
as well as as:
E: Failed to fetch store:/var/lib/apt/lists/partialraspbian.raspberrypi.org_raspbian_dists_buster_main_binary-armhf_Packages.xz rename failed, Structure needs cleaning (/var/lib/apt/lists/partial/raspbian.raspberrypi.org_raspbian_dists_buster_main_binary-armhf_Packages -> ...etc
plus a couple other very similar failed to fetch
errors.
Finally:
E: some index files failed to download. They have been ignored, or old ones used.
and when I run sudo apt-get upgrade
, I get:
E: could not open lock file /var/lib/dpkg/lock-frontend- open (117: structure needs cleaning
E: Unable to acquire the pdkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?
I've tried running sudo apt-get clean
& sudo apt-get autoclean
to no avail. What's going on and what do I need to do to be able simply get these commands to run?