Packages לא תקינים?

avivfl

New member
Packages לא תקינים?

אני מנסה להציץ לתוך פאקגיום מסויים בעזרת הפקודה dpkg ומקבל הודעה מוזרה,
למשל אני מקליד את הפקודה
dpkg - l cron

ומקבל

Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-============-============-=================================
ii cron 3.0pl1-124ub i386 process scheduling daemon


ניסיתי

dpkg - r cron

על מנת להסיר את החבילה ולהתקין אותה שוב ואני מקבל


ubuntu-standard depends on cron.
lsb-core depends on cron; however:
Package cron is to be removed.

dpkg: error processing cron (--remove):
dependency problems - not removing
Errors were encountered while processing:
cron

אשמח לעזרה תודה.
 

אiהד

New member
יש חבילות שאי אפשר למחוק

חבילות יותר מדי בסיסיות שאי אפשר בלעדיהן.
בגלל שubuntu-standard היא חבילה כזו והיא תלויה בcron אתה לא יכול למחוק את cron סתם כך.
אתה יכול למחוק אותה עם --force-depends (ואז הוא לא ינסה למחוק את ubuntu-standard).

אם אתה רוצה להתקין את החבילה מחדש - אתה יכול לנסות עם
sudo apt-get --reinstall install cron

אם יש בעיות עם החבילה, ברוב המקרים הגדרה שלה מחדש תספיק
sudo dpkg-reconfigure cron
 

avivfl

New member
עדכון

עשיתי את זה ולצערי זה לא עזר, עדיין מופיע לי
 
למעלה