ubuntu-software-center functionality depends on /var/cache directory
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
software-center (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
This is fresh install of Ubuntu 12.04.3 LTS. Fully updated.
I recently moved the /var/cache directory to tmpfs for my own reasons. According to FHS [1] the /var/cache contents should be deletable. Also according to an accepted answer on askubuntu.com [2] there should be no problem on deleting the contents of /var/cache directory.
Reproduce:
Move /var/cache to tmpfs via /etc/fstab by adding the following line
tmpfs /var/cache tmpfs defaults,
reboot your system and try to open ubuntu software center.
What I expected to happen:
ubuntu software center recreates the folders/files that are needed in order to function correctly (i.e. like apt does).
[1] - http://
[2] - http://
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: software-center 5.2.9
ProcVersionSign
Uname: Linux 3.11.0-130-generic x86_64
ApportVersion: 2.0.1-0ubuntu17.6
Architecture: amd64
Date: Tue Dec 3 02:08:53 2013
MarkForUpload: True
PackageArchitec
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: software-center
UpgradeStatus: No upgrade log present (probably fresh install)
no longer affects: | software-center |
This is after I tried to create manually the folders /var/cache/ software- center and /var/cache/ software- center/ xapian