[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#676302: apt: apt-cdrom add couldn't be used several times



On Tue, Aug 28, 2012 at 1:06 PM, Vladimir Zamiussky <zamiussky@gmail.com> wrote:
> "apt-cdrom add" fails with error:
> E: Failed to link /var/lib/apt/cdroms.list to /var/lib/apt/cdroms.list~ -
> link (17: File exists)
>
> It seems that this fault is caused by improper "cdroms.list" backup copy
> manipulation.
>
> Manual backup file deletion (/var/lib/apt/cdroms.list~) allows to
> circumvent problem.

Which might be the reason behind the changelog entry

   * apt-pkg/cdrom.cc:
     - do not link() but rename() the cdroms.list to cdroms.list~ as a backup
       to ensure that apt-cdrom can be run multiple times (Closes: #676302)

in 0.9.7.4 which was uploaded on 6 Aug and awaits an unblock
by the release team to reach testing (#685155).


Best regards

David Kalnischkies


Reply to: