Bug 36112 - installation fails with "Fehlschlag beim Holen von copy:/var/lib/apt/lists/partial/Debian%20GNU_Linux" ...
Summary: installation fails with "Fehlschlag beim Holen von copy:/var/lib/apt/lists/pa...
Status: CLOSED FIXED
Alias: None
Product: UCS
Classification: Unclassified
Component: UCS Installer - DVD
Version: UCS 4.0
Hardware: Other Linux
: P5 normal
Target Milestone: UCS 4.0
Assignee: Philipp Hahn
QA Contact: Drees Dormann
URL:
Keywords: interim-3
Depends on: 36054
Blocks:
  Show dependency treegraph
 
Reported: 2014-10-09 18:17 CEST by Florian Best
Modified: 2014-11-26 06:55 CET (History)
2 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Customer ID:
Max CVSS v3 score:


Attachments
strace apt-get update (261.77 KB, text/plain)
2014-10-09 18:17 CEST, Florian Best
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Best univentionstaff 2014-10-09 18:17:39 CEST
Created attachment 6154 [details]
strace apt-get update

The installation failed reproducible with the current DVD (ucs_4.0-0-20141009-155552-dvd-amd64.iso).
Comment 1 Stefan Gohmann univentionstaff 2014-10-09 18:21:00 CEST
Please have a look. We got a similar feedback: Ticket #2014100921000221
Comment 2 Philipp Hahn univentionstaff 2014-10-10 14:25:41 CEST
This is caused by the patches being applied to APT since Bug #36054 got fixed.
The broken patch is <svn+ssh://billy.knut.univention.de/var/svn/patches/apt/4.0-0-0-ucs/0.9.7.9+deb7u2/30_CVE-2014-0487_regression.patch>:
+   if (FileName == DestFile)
+      Erase = true;
+   else
+      Local = true;
+

This causes the Package file to be deleted since the name of the package file is URI-escaped, while it is not on the DVD.
Comment 3 Philipp Hahn univentionstaff 2014-10-10 15:42:48 CEST
Import latest version from Debian-Wheezy as it contains required security updates:
# repo_admin.py -U -r 4.0-0-0 -d wheezy -p apt # 0.9.7.9+deb7u6

r13834 |  #36112 APT: New upstream version
 30_CVE-2014-0487_regression.patch has been removed as it is applied upstream with additional patches after that fixing the apt-cdrom issue.

Package: apt
Version: 0.9.7.9.66.201410101439
Branch: ucs_4.0-0

No changelog entry as APT was updated for Debian-Wheezy anyway.

ucs_4.0-0-20141010-150123-dvd-amd64.iso
ucs_4.0-0-20141010-150202-dvd-i386.iso
Comment 4 Drees Dormann univentionstaff 2014-11-03 15:27:48 CET
installer is working as expected with latest dvd
Comment 5 Stefan Gohmann univentionstaff 2014-11-26 06:55:02 CET
UCS 4.0-0 has been released:
 http://docs.univention.de/release-notes-4.0-0-en.html
 http://docs.univention.de/release-notes-4.0-0-de.html

If this error occurs again, please use "Clone This Bug".