Skip navigation.
Home
Now Shipping Version 7.0

Apt Not Working


Posts: 3

I am new to Mepis. After copying Mepis to USB, it booted up on USB quite fine. "apt-get update" worked. When using apt to install any package, I received the following.

root@1[apt]# apt-get install ssh-server
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 file could not be parsed or opened.
root@1[apt]#

Russell

m_pav's picture

Mepis on bootable usb is read only

The files copied to your flash drive are the same as the highly compressed files on the cd, so they are a read only copy. If it were to be writable, the whole mepis image on the flash drive would have to be re-written on the fly.

You can install mepis to a usb device and while it is possible to purchase 4Gb flash drives, you'll run out of room very quickly if you're planning to add packages. You can get 8Gb flash drives, but by the time you've paid for it, a 40Gb external 2.5" laptop hard disk in a usb2.0 case would serve you better

Mike P

--------------------
Life may not be the party we thought, but while we're here, we may as well dance.
Break M$'s shackles from your feet and free yourself with Mepis

Read only

Then I guess that MEPIS does not use UnionFS or AuFS to mount "/var" in LiveCD mode. Thanks for the heads up.

Russell

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.