Update Ubuntu VPS returns error

Collapse

Unconfigured Ad Widget

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • Ryaan J.
    Senior Member
    • Apr 2022
    • 174

    Update Ubuntu VPS returns error



    Please, somebody help. I just purchased this VPS and installed Ubuntu-16 on it. I logged in as the root user and issued an apt-get update, but I got the error below. What could be wrong?

    W: Problem unlinking the file /var/cache/apt/pkgcache.bin - RemoveCaches (30: Read-only file system) W: Problem unlinking the file /var/cache/apt/srcpkgcache.bin - RemoveCaches (30: Read-only file system) W: Not using locking for read only lock file /var/lib/dpkg/lock
  • Clay Page
    Senior Member
    • Sep 2022
    • 127

    #2
    Advice: Ubuntu-16 - It’s no longer supported. Strongly consider upgrading to Ubuntu 20.04 or 22.04 if this is a new VPS.​

    You can try this if u are running still on Ubuntu 16:

    Reboot the server (safest first step)

    Sometimes the filesystem went read-only temporarily due to a glitch. Try:

    reboot

    After rebooting, run:

    mount | grep ' / '

    If it shows rw (read/write), you're good and can try: apt update.​

    Comment

    VPS Hosting
    Working...
    X