Bug 36054 - APT patches are not applied
APT patches are not applied
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: General
UCS 4.0
All Linux
: P5 normal (vote)
: UCS 4.0
Assigned To: Philipp Hahn
Arvid Requate
: interim-3
Depends on: 33836
Blocks: 36112
  Show dependency treegraph
 
Reported: 2014-10-06 13:51 CEST by Philipp Hahn
Modified: 2014-11-26 06:54 CET (History)
3 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):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Hahn univentionstaff 2014-10-06 13:51:23 CEST
The patches for APT (patches/apt/4.0-0-0-ucs/0.9.7.9+deb7u) are not applied, because they add "quilt" patches, but debian/source/format is "3.0 (native)". The patches are wrongly listed in debian/changelog, but are in fact not applied.
This breaks the update, since the (unpatched) APT still looks for debian-archive-keyring instead of univention-archive-key-ucs-4x.

# dpkg-query -W apt
apt     0.9.7.9.64.201409260909

# grep ^ARCHIVE_KEYRING /usr/bin/apt-key
ARCHIVE_KEYRING_URI=""
ARCHIVE_KEYRING=/usr/share/keyrings/debian-archive-keyring.gpg

+++ This bug was initially created as a clone of Bug #33836 +++
Our patches made for UCS 3.x must to be checked whether they need to be merged in 4.0.
Comment 1 Philipp Hahn univentionstaff 2014-10-07 08:57:19 CEST
r13824 | Bug #36054 APT: Apply patches

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

# cd /etc/apt/sources.list.d
# cp 20_ucs-online-component.list 20_ucs-online-component.list.debian
# apt-get update
...
N: Datei »20_ucs-online-component.list.debian« in Verzeichnis »/etc/apt/sources.list.d/« wird ignoriert, da sie eine ungültige Dateinamen-Erweiterung hat.
# dpkg-query -W apt
apt     0.9.7.9.64.201409260909
# aptitude install '?source-package(apt)?installed'
# apt-get update
...
# dpkg-query -W apt
apt     0.9.7.9.65.201410070833
# apt-key update
Comment 2 Arvid Requate univentionstaff 2014-10-07 12:14:40 CEST
Ok, patches have been applied during the package built. All patches look good and the described test works too. changelog not required.
Comment 3 Stefan Gohmann univentionstaff 2014-11-26 06:54:17 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".