when i type
"app-get remove gimp"(or any other packet)
it gives me this mesage
W:Not using locking for read only lock file /var/lib/dpkg/lock
E:Unable to write to /var/cache/apt
E:the package lists or status files could not be parsed or opened
i read this and figured that i dont have permishion to write to it(even though i am root) so i chmod all the extentions to be 777. when i did this it told me
chmod:changing perissions of `apt':read-only file system
i have been following the tutoreal on this site perfictly and it didnt tell me how th fix this. did i miss a step or dous anyone know how to fix this
thanks for the help

Microsoft Windows 11 Pro 64bit - New Sealed – Flash USB 1 PC
$49.99
Zero Trace Pen: All-in-one Tor Network Anonymous Drive + Cryptocurrency Wallet
$147.00
128GB USB 14-in-1 MacOS bootable Installer repair recovery tech support service
$39.99
FLASHFORGE AD5X Upgraded Multi-Color 3D Printer CoreXY High-Speed Auto Refill US
$349.00
Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot
$285.90
USB Type-A Flash Drive Metal Memory Stick High Speed USB Drive 128GB 256GB 512GB
$8.47
LOT 10x SanDisk 32GB ULTRA USB 3.0 flash drive SDCZ48-032G 32 GB read 100 MB/s
$39.80
1TB Kingston DataTraveler Max DTMAX/1TB USB Type-C Flash Drive
$86.95
USB 3.0 Flash Drive 128GB Thumb Drive USB Drive Data Storage Jump Drive Lot
$85.80
Apple MFi Flash Drive Memory Storage Photo Stick for iPhone iPad Lightning USB C
$37.99