0

I install parrot OS and when installing a package i found this error. It is the the same when I try to install any package.

Reading package lists... Error!
W: Not using locking for read only lock file /var/lib/dpkg/lock
E: Couldn't create temporary file to work with /var/lib/apt/lists
/deb.parrotsec.org_parrot_dists_stable_InRelease - mkstemp (30: Read- only file system)
E: The package lists or status file could not be parsed or opened.

I ran dmesg to check if my drive had any errors (yes the hard drive is very old)

[ 577.990407] EXT4-fs error (device sda2): ext4_validate_block_bitmap:385: comm kworker/u8:3: bg 26: bad block bitmap checksum
[ 578.038763] EXT4-fs error (device sda2): ext4_journal_check_start:61: Detected aborted journal

I can't create folders and stuff too I was able to install and write stuff in windows easily Update- I did a quick reboot and I was able to use commands and create folders for a while but in abount 30 minutes I started getting same errors

0

looks like it's a problem with your disk (dmesg will in that case probably also show errors from the block device driver...)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.