First, I have downloaded the current version on Zesty and applied the debdiff to it. This worked perfectly, but when trying to build, the patches in debian/patches/series do not apply.
What did I do wrong?
Here is the console output:
till@till-x1carbon:~/ubuntu/system-config-printer/zesty$ apt-get source system-config-printerter
Reading package lists... Done
E: Unable to find a source package for system-config-printerter
till@till-x1carbon:~/ubuntu/system-config-printer/zesty$ apt-get source system-config-printer
Reading package lists... Done
Need to get 2,021 kB of source archives.
Get:1 http://us.archive.ubuntu.com/ubuntu yakkety/main system-config-printer 1.5.7+20160812-0ubuntu1 (dsc) [1,747 B]
Get:2 http://us.archive.ubuntu.com/ubuntu yakkety/main system-config-printer 1.5.7+20160812-0ubuntu1 (tar) [1,953 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu yakkety/main system-config-printer 1.5.7+20160812-0ubuntu1 (diff) [66.2 kB]
Fetched 2,021 kB in 1s (1,446 kB/s)
gpgv: Signature made Fri 12 Aug 2016 02:02:29 PM BRT
gpgv: using DSA key
gpgv: Can't check signature: No public key
dpkg-source: warning: failed to verify signature on ./system-config-printer_1.5.7+20160812-0ubuntu1.dsc
dpkg-source: info: extracting system-config-printer in system-config-printer-1.5.7+20160812
dpkg-source: info: unpacking system-config-printer_1.5.7+20160812.orig.tar.gz
dpkg-source: info: applying system-config-printer_1.5.7+20160812-0ubuntu1.diff.gz
till@till-x1carbon:~/ubuntu/system-config-printer/zesty$ wget https://launchpadlibrarian.net/294725065/diff-from-current-ubuntu.debdiff
--2016-11-24 17:00:44-- https://launchpadlibrarian.net/294725065/diff-from-current-ubuntu.debdiff
Resolving launchpadlibrarian.net (launchpadlibrarian.net)... 91.189.89.229, 91.189.89.228
Connecting to launchpadlibrarian.net (launchpadlibrarian.net)|91.189.89.229|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 262114 (256K) [text/plain]
Saving to: ‘diff-from-current-ubuntu.debdiff’
diff-from-current-u 100%[===================>] 255.97K 155KB/s in 1.6s
Now at patch 03_install_layout.patch
till@till-x1carbon:~/ubuntu/system-config-printer/zesty/system-config-printer-1.5.7+20160812$ quilt push
Applying patch 0006-use-paper-size-default-in-etc-papersize.patch
patching file cupshelpers/cupshelpers.py
Now at patch 0006-use-paper-size-default-in-etc-papersize.patch
till@till-x1carbon:~/ubuntu/system-config-printer/zesty/system-config-printer-1.5.7+20160812$ quilt push
Applying patch 0007-fix-pk-package-name.patch
patching file newprinter.py
Hunk #1 FAILED at 1068.
1 out of 1 hunk FAILED -- rejects in file newprinter.py
Patch 0007-fix-pk-package-name.patch does not apply (enforce with -f)
till@till-x1carbon:~/ubuntu/system-config-printer/zesty/system-config-printer-1.5.7+20160812$
Jeremy, thank you for the debdiff.
I tried to apply it, but it does not build.
First, I have downloaded the current version on Zesty and applied the debdiff to it. This worked perfectly, but when trying to build, the patches in debian/ patches/ series do not apply.
What did I do wrong?
Here is the console output:
till@till- x1carbon: ~/ubuntu/ system- config- printer/ zesty$ apt-get source system- config- printerter config- printerter x1carbon: ~/ubuntu/ system- config- printer/ zesty$ apt-get source system- config- printer us.archive. ubuntu. com/ubuntu yakkety/main system- config- printer 1.5.7+20160812- 0ubuntu1 (dsc) [1,747 B] us.archive. ubuntu. com/ubuntu yakkety/main system- config- printer 1.5.7+20160812- 0ubuntu1 (tar) [1,953 kB] us.archive. ubuntu. com/ubuntu yakkety/main system- config- printer 1.5.7+20160812- 0ubuntu1 (diff) [66.2 kB] config- printer_ 1.5.7+20160812- 0ubuntu1. dsc config- printer in system- config- printer- 1.5.7+20160812 config- printer_ 1.5.7+20160812. orig.tar. gz config- printer_ 1.5.7+20160812- 0ubuntu1. diff.gz x1carbon: ~/ubuntu/ system- config- printer/ zesty$ wget https:/ /launchpadlibra rian.net/ 294725065/ diff-from- current- ubuntu. debdiff /launchpadlibra rian.net/ 294725065/ diff-from- current- ubuntu. debdiff ian.net (launchpadlibra rian.net) ... 91.189.89.229, 91.189.89.228 ian.net (launchpadlibra rian.net) |91.189. 89.229| :443... connected. current- ubuntu. debdiff’
Reading package lists... Done
E: Unable to find a source package for system-
till@till-
Reading package lists... Done
Need to get 2,021 kB of source archives.
Get:1 http://
Get:2 http://
Get:3 http://
Fetched 2,021 kB in 1s (1,446 kB/s)
gpgv: Signature made Fri 12 Aug 2016 02:02:29 PM BRT
gpgv: using DSA key
gpgv: Can't check signature: No public key
dpkg-source: warning: failed to verify signature on ./system-
dpkg-source: info: extracting system-
dpkg-source: info: unpacking system-
dpkg-source: info: applying system-
till@till-
--2016-11-24 17:00:44-- https:/
Resolving launchpadlibrar
Connecting to launchpadlibrar
HTTP request sent, awaiting response... 200 OK
Length: 262114 (256K) [text/plain]
Saving to: ‘diff-from-
diff-from-current-u 100%[== ======= ======= ===>] 255.97K 155KB/s in 1.6s
2016-11-24 17:00:47 (155 KB/s) - ‘diff-from- current- ubuntu. debdiff’ saved [262114/262114]
till@till- x1carbon: ~/ubuntu/ system- config- printer/ zesty$ cd system- config- printer- 1.5.7+20160812/ x1carbon: ~/ubuntu/ system- config- printer/ zesty/system- config- printer- 1.5.7+20160812$ patch -p0 < ../diff- from-current- ubuntu. debdiff README. Debian changelog. rej patches/ 0006-use- paper-size- default- in-etc- papersize. patch patches/ 0007-fix- pk-package- name.patch patches/ 0008-fix- device- sorting. patch patches/ 0009-fix- udev-add- printer- shbang. patch patches/ 03_install_ layout. patch patches/ 05_menu_ entries. patch patches/ 23_applet- also-do- not-autostart- on-unity- and-gnome. patch patches/ 40_do-not- show-media- col-option. patch patches/ series python3- cupshelpers. install source/ format system- config- printer- common. install system- config- printer- common. maintscript system- config- printer- gnome.install system- config- printer- gnome.manpages system- config- printer- gnome.preinst system- config- printer- udev.install system- config- printer. install upstream/ signing- key.asc x1carbon: ~/ubuntu/ system- config- printer/ zesty/system- config- printer- 1.5.7+20160812$ quilt push layout. patch
till@till-
patching file debian/
patching file debian/changelog
Hunk #1 FAILED at 1.
Hunk #2 succeeded at 3820 (offset -7 lines).
1 out of 2 hunks FAILED -- saving rejects to file debian/
patching file debian/compat
patching file debian/control
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file debian/control.rej
patching file debian/control.in
patching file debian/copyright
patching file debian/
patching file debian/
patching file debian/
patching file debian/
patching file debian/
patching file debian/
patching file debian/
patching file debian/
patching file debian/
patching file debian/
patching file debian/pyversions
patching file debian/rules
patching file debian/
patching file debian/
patching file debian/
patching file debian/
patching file debian/
patching file debian/
patching file debian/
patching file debian/
patching file debian/
patching file debian/watch
till@till-
Applying patch 03_install_
patching file Makefile.am
Hunk #1 succeeded at 63 (offset 5 lines).
patching file Makefile.in
Hunk #1 succeeded at 1963 (offset 1 line).
Now at patch 03_install_ layout. patch x1carbon: ~/ubuntu/ system- config- printer/ zesty/system- config- printer- 1.5.7+20160812$ quilt push paper-size- default- in-etc- papersize. patch cupshelpers. py
till@till-
Applying patch 0006-use-
patching file cupshelpers/
Now at patch 0006-use- paper-size- default- in-etc- papersize. patch x1carbon: ~/ubuntu/ system- config- printer/ zesty/system- config- printer- 1.5.7+20160812$ quilt push pk-package- name.patch pk-package- name.patch does not apply (enforce with -f) x1carbon: ~/ubuntu/ system- config- printer/ zesty/system- config- printer- 1.5.7+20160812$
till@till-
Applying patch 0007-fix-
patching file newprinter.py
Hunk #1 FAILED at 1068.
1 out of 1 hunk FAILED -- rejects in file newprinter.py
Patch 0007-fix-
till@till-