#766014 apt: autoclean aborts on dangling symbolic links

Package:
apt
Source:
apt
Description:
commandline package manager
Submitter:
Arthur Marsh
Date:
2014-10-21 17:51:14 UTC
Severity:
normal
#766014#5
Date:
2014-10-20 07:38:19 UTC
From:
To:
Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?

Unknown, but tens of gigabytes of files accumulated in /var/cache/apt/archives

apt-cache autoclean would abort on dangling symlinks, leaving obsolete .deb
files in the cache.

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

I repeatedly ran cleanlinks and then apt-cache autoclean to remove
dangling symlinks and obsolete .deb files from the cache.

   * What was the outcome of this action?
   * What outcome did you expect instead?

apt-cache autoclean (and its aptitude equivalent) should remove dangling
symlinks rather than aborting when it encounters them.

*** End of the template - remove these template lines ***

#766014#10
Date:
2014-10-20 21:55:32 UTC
From:
To:
Am 20.10.2014 23:42 schrieb "Arthur Marsh" <arthur.marsh@internode.on.net>:
appropriate ***
/var/cache/apt/archives
.deb

How did you even get symlinks in there?

#766014#15
Date:
2014-10-20 22:32:22 UTC
From:
To:
Julian Andres Klode wrote, on 21/10/14 08:25:

I have no idea.

Arthur.

#766014#20
Date:
2014-10-21 17:47:13 UTC
From:
To:
Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

After cleaning up all dangling symbolic links in /var/cache/apt/archives I
checked for remaining symbolic links, which all seemed to be created in September 2013. I've removed them and will see if any re-appear.

*** End of the template - remove these template lines ***