Oops Sorry that workaround should have been...
<quote>
if [ -d "/var/cache/apt/archives" ]; then echo "/var/cache/apt/archives 
exists"; else mkdir /var/cache/apt/archives; fi || die "Command failed: mkdir 
/var/cache/apt/archives"
</quote>

note the -d & quotes added to the test... if [ -d "/var/cache/apt/archives" ];
Without this it will always return true and never create the directory even 
when it doesn't exist.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1054903

Title:
  update-manager says "Not enough free disk space" but there is enough
  space

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1054903/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to