มีปัญหาใช้ apt-get install แล้วทีนี้ ไปลบไฟล์บางไฟล์ทิ้ง พอ apt-get remove แล้วมันก็เริ่มเอ๋อ

มีปัญหาใช้ apt-get install แล้วทีนี้ ไปลบไฟล์บางไฟล์ทิ้ง พอ apt-get remove แล้วมันก็เริ่มเอ๋อ

คือไม่สามรถใช้ apt-get install package เดิมที่มีปัญหานี้ได้อย่างสมบูรณอีกเลย

เราควรแก้ไขอย่างไรดีีครับถึงจะล้างออกให้หมดแล้วกลับมาใช้ได้ปกตอ

Re: มีปัญหาใช้ apt-get install แล้วทีนี้ ไปลบไฟล์บางไฟล์ทิ้ง พอ

/etc/dbconfig-common/ เผลอเลอไปลบโฟลเดอนี้ทิ้งอ่ะครับทำไงดี

Re: มีปัญหาใช้ apt-get install แล้วทีนี้ ไปลบไฟล์บางไฟล์ทิ้ง พอ

ติดตั้ง dbconfig-common ซ้ำก่อนครับ

# apt-get install dbconfig-common --reinstall

จากนั้น.. แพกเกจไหนที่ใช้ dbconfig-common ในการ config database (เช่นพวก CMS ทั้งหลาย) ก็ต้อง reconfigure ใหม่ (ด้วย dpkg-reconfigure) ครับ

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <pre> <blockquote> <img> <h3> <h4> <h5>
  • Lines and paragraphs break automatically.
  • E-Mail addresses are hidden with reCAPTCHA Mailhide.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.