ubuntu-software-center functionality depends on /var/cache directory

Bug #1257124 reported by N1ck 7h0m4d4k15 on 2013-12-03
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)
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,noatime,mode=1777 0 0

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://www.pathname.com/fhs/2.2/fhs-5.5.html
[2] - http://askubuntu.com/questions/107858/moved-logs-to-ram-tmpfs-and-now-got-this-problem

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: software-center 5.2.9
ProcVersionSignature: Ubuntu 3.11.0-130.200~pok-generic 3.11.6
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
PackageArchitecture: all
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)

N1ck 7h0m4d4k15 (nicktux) wrote :
N1ck 7h0m4d4k15 (nicktux) wrote :

This is after I tried to create manually the folders /var/cache/software-center and /var/cache/software-center/xapian

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in software-center (Ubuntu):
status: New → Confirmed
dobey (dobey) on 2015-12-18
no longer affects: software-center
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers