<div dir="ltr"><div><div><div><div><div><div><div>hi ryan,<br><br></div>thank you for you replying email,<br></div>i already try to delete that file, but still can't fix with apt-get install -f and apt-get update.<br><br></div>could you please give me, specify step to repair my pkg-config.<br></div>this my capture error.<br><br><img src="cid:ii_jgjh0ghy0_1630c9df4ab95c2f" width="434" height="70"><br>​<br></div>see, a  change default name pkg-confi<wbr>g-hook-config to <i>backup.config<br><br></i></div>regards,<br><br></div>parlin<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Apr 28, 2018 at 8:20 PM, Ryan Gonzalez <span dir="ltr"><<a href="mailto:rymg19@gmail.com" target="_blank">rymg19@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">This literally has absolutely nothing to do with systemd.<br>
<br>
That being said, try deleting /etc/dpkg/dpkg.cfg.d/pkg-confi<wbr>g-hook-config and then upgrading pkg-config.<br>
<br>
--<br>
Ryan (ライアン)<br>
Yoko Shimomura, ryo (supercell/EGOIST), Hiroyuki Sawano >> everyone else<br>
<a href="https://refi64.com/" rel="noreferrer" target="_blank">https://refi64.com/</a><span class=""><br>
<br>
<br>
<br>
On April 28, 2018 4:42:08 AM Parlin Tampubolon <<a href="mailto:parlintampubolon@gmail.com" target="_blank">parlintampubolon@gmail.com</a>> wrote:<br>
<br>
</span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
Hi,<br>
Please help,<br>
I'm linuxmint user (linuxmint 18), I always have error when to install some<br>
app/tools. the error said,my Pkg-config error. and the impact is my<br>
computer, can't install anything, even i use apt-get update, will back to<br>
the error dpk-config. I use synaptic,aptitude, but still cant install<br>
application what i want to install.<br>
<br>
how to repair my pkg-config.i find this error on google with search key<br>
"Can't locate Dpkg/Arch.pm", but cant find the solution.<br>
please help me, what should i do to repair this error.<br>
<br></span>
*linux-Vost # apt-get install -f*<br>
*Reading package lists... Done*<br>
*Building dependency tree       *<br>
*Reading state information... Done*<br>
*Correcting dependencies... Done*<br>
*The following additional packages will be installed:*<br>
*  libperl5.22 perl-modules-5.22*<br>
*Recommended packages:*<br>
*  perl*<br>
*The following packages will be REMOVED:*<br>
*  dpkg-dev pkg-config*<br>
*The following packages will be upgraded:*<br>
*  libperl5.22 perl-modules-5.22*<br>
*2 upgraded, 0 newly installed, 2 to remove and 429 not upgraded.*<br>
*27 not fully installed or removed.*<br>
*Need to get 0 B/6.048 kB of archives.*<br>
*After this operation, 2.139 kB disk space will be freed.*<br>
*Do you want to continue? [Y/n] Y*<br>
*(Reading database ... 246320 files and directories currently installed.)*<br>
*Removing pkg-config (0.29.1-0ubuntu1) ...*<br>
*Can't locate Dpkg/Arch.pm in @INC (you may need to install the Dpkg::Arch<span class=""><br>
module) (@INC contains: /etc/perl<br>
/usr/local/lib/x86_64-linux-gn<wbr>u/perl/5.26.2 /usr/local/share/perl/5.26.2<br>
/usr/lib/x86_64-linux-gnu/perl<wbr>5/5.26 /usr/share/perl5<br>
/usr/lib/x86_64-linux-gnu/perl<wbr>/5.26 /usr/share/perl/5.26<br>
/usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl<wbr>-base) at<br></span>
/usr/share/pkg-config-dpkghook line 14.*<br>
*BEGIN failed--compilation aborted at /usr/share/pkg-config-dpkghook line<br>
14.*<br>
*dpkg: error processing package pkg-config (--remove):*<br>
* installed pkg-config package pre-removal script subprocess returned error<br>
exit status 2*<br>
*dpkg: dpkg-dev: dependency problems, but removing anyway as you requested:*<br>
* pkg-config depends on dpkg-dev.*<br>
<br>
*Removing dpkg-dev (1.19.0.5) ...*<br>
*Errors were encountered while processing:*<br>
* pkg-config*<br>
*E: Sub-process /usr/bin/dpkg returned an error code (1)*<br>
<br>
<br>
thank you.<br>
<br>
regards,<br>
<br>
parlin<br>
<br>
<br>
<br>
----------<br>
______________________________<wbr>_________________<br>
systemd-devel mailing list<br>
<a href="mailto:systemd-devel@lists.freedesktop.org" target="_blank">systemd-devel@lists.freedeskto<wbr>p.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/systemd-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/systemd-devel</a><br>
</blockquote>
<br>
<br>
</blockquote></div><br></div>