FS#68231 - [dpkg] Miss vendor file in /etc/dpkg/origins

Attached to Project: Community Packages
Opened by peeweep (peeweep) - Tuesday, 13 October 2020, 08:42 GMT
Last edited by Anatol Pomozov (anatolik) - Wednesday, 14 October 2020, 02:03 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Anatol Pomozov (anatolik)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Miss vendor file in /etc/dpkg/origins, we can set a /etc/dpkg/origins/default or /etc/dpkg/origins/archlinux. /etc/dpkg/origins has a default value in ubuntu and debian.

Steps to reproduce:

[/tmp]$ dget http://deb.debian.org/debian/pool/main/s/sensible-utils/sensible-utils_0.0.13.dsc
dget: retrieving http://deb.debian.org/debian/pool/main/s/sensible-utils/sensible-utils_0.0.13.dsc
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1688 100 1688 0 0 5552 0 --:--:-- --:--:-- --:--:-- 5552
dget: using existing sensible-utils_0.0.13.tar.xz
dpkg-vendor: error: vendor default doesn't exist in /etc/dpkg/origins
dscverify: can't find any system keyrings
[/tmp]$ dpkg-vendor --is archlinux
dpkg-vendor: error: vendor default doesn't exist in /etc/dpkg/origins

How to fix:

[/tmp]$ cat archlinux
Vendor: ArchLinux
Vendor-URL: https://www.archlinux.org/
Bugs: https://bugs.archlinux.org/
[/tmp]$ sudo install -Dm644 archlinux /etc/dpkg/origins/archlinux -v
install: creating directory '/etc/dpkg/origins'
'archlinux' -> '/etc/dpkg/origins/archlinux'
[/tmp]$ sudo ln -sf /etc/dpkg/origins/archlinux /etc/dpkg/origins/default -v
'/etc/dpkg/origins/default' -> '/etc/dpkg/origins/archlinux'
[/tmp]$ dpkg-vendor --is archlinux
[/tmp]$
This task depends upon

Closed by  Anatol Pomozov (anatolik)
Wednesday, 14 October 2020, 02:03 GMT
Reason for closing:  Implemented
Additional comments about closing:  dpkg-1.20.5-2
Comment by Anatol Pomozov (anatolik) - Tuesday, 13 October 2020, 16:29 GMT
Thank you for the report. The default origin has been added in dpkg-1.20.5-2. Please take a look and let me know if you see any issues.
Comment by peeweep (peeweep) - Wednesday, 14 October 2020, 01:18 GMT
Thank you Anatol, it work for me now.

Loading...